On click, not click release?

Hi. Is there's an option to make effect when I click, not when I release click?

Hi, do you mean on mouse down?
Now actually the event listener is on click.
If you are referring to trigger the ripple on mouse down we could look to achieve this by doing the event listener customizable.
Cheers.

Yes, mouse down.
You mean this:
        el.addEventListener('click', (event) => {
            rippler(event, el, binding.value);
        });

I guess if there could be options that I can customize is better then digging into the node_modules

Also whould be nice to set time, your demo is too slow.

Hi again. Thanks for the suggestion! Will do.

Hi,
We've just released a new version of the package (v1.0.6)
Now you can set the event handler by modifier.
E.g.
<th v-ripple.mousedown>

Cool and thanks, will check out in the evening. :+1:

Great,
By the way, you can also set the transition time as modifier too.
<th v-ripple.mousedown.400>

Closing the issue now.

@Edujugon just checked, everything working like a charm! Great plugin. Works with SSR/Nuxt. Thank you! And will waiting of more great packages :+1:

@kodekrendel Cool, happy to know it worked :)
Yeah, we are launching more packages soon.


Use NoProfile argument for PowerShell processes

The -NoProfile parameter in PowerShell is used to prevent the loading of user profile scripts when starting the PowerShell environment.

@hanfangAmazon ... added the NoProfile parameter ... Version 5.17.15 just published


Flood

Telegram bot is flooding
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!
ijohnny.xyz, [14.11.17 18:21]
Could not find a matching account!
Try /list to get a list of available accounts!

What did you write the bot? What's in the log at the server? Did restarting the bot fix it? Newest version?

I wrote /list . da. do. Where can i find config? Restarting bot didnt help. Last version

In the config/ folder. Could you please upload the config.json (change username/password to something random if you want) to pastebin.com and post the link?


Registering commands after updating plugins

Found this while helping @antgonza debugging de qp-qiime2 plugin tests. In short, the database gets reseted when the tests are run, the plugins then get activated but their commands are not registered. This makes the qiime2 plugin fail because it needs the qtp-diversity plugin to be installed and registered.

Changes Unknown when pulling b6c93dd23977c97a9fa6a62d21fdd294b8adf424 on josenavas:ordered-register into ** on biocore:analysis-refactor**.


Pronunciation-Assesment

Hello @glharper,
def pronunciation_assessment_from_microphone():
""""performs one-shot pronunciation assessment asynchronously with input from microphone."""
# Creates an instance of a speech config with specified subscription key and service region.
# Replace with your own subscription key and service region (e.g., "westus").
# Note: The pronunciation assessment feature is currently only available on en-US language.
config = speechsdk.SpeechConfig(subscription="", region="")

# The pronunciation assessment service has a longer default end silence timeout (5 seconds) than normal STT
# as the pronunciation assessment is widely used in education scenario where kids have longer break in reading.
# You can adjust the end silence timeout based on your real scenario.
config.set_property(speechsdk.PropertyId.SpeechServiceConnection_EndSilenceTimeoutMs, "3000")

reference_text = ""
# create pronunciation assessment config, set grading system, granularity and if enable miscue based on your requirement.
pronunciation_config = speechsdk.PronunciationAssessmentConfig(reference_text=reference_text,
                                                               grading_system=speechsdk.PronunciationAssessmentGradingSystem.HundredMark,
                                                               granularity=speechsdk.PronunciationAssessmentGranularity.Phoneme,
                                                               enable_miscue=True)

recognizer = speechsdk.SpeechRecognizer(speech_config=config)
while True:
    # Receives reference text from console input.
    print('Enter reference text you want to assess, or enter empty text to exit.')
    print('> ')

    try:
        st.text_input(reference_text = input())
        if reference_text == "":
            print('Entered empty text to exit')
            sys.exit(0)
    except EOFError:
        break

    pronunciation_config.reference_text = reference_text
    pronunciation_config.apply_to(recognizer)

    # Starts recognizing.
    print('Read out "{}" for pronunciation assessment ...'.format(reference_text))

    # Note: Since recognize_once() returns only a single utterance, it is suitable only for single
    # shot evaluation.
    # For long-running multi-utterance pronunciation evaluation, use start_continuous_recognition() instead.
    result = recognizer.recognize_once_async().get()

    # Check the result
    if result.reason == speechsdk.ResultReason.RecognizedSpeech:
        print('Recognized: {}'.format(result.text))
        print('  Pronunciation Assessment Result:')

        pronunciation_result = speechsdk.PronunciationAssessmentResult(result)
        st.write(print('    Accuracy score: {}, Pronunciation score: {}, Completeness score : {}, FluencyScore: {}'.format(
            pronunciation_result.accuracy_score, pronunciation_result.pronunciation_score,
            pronunciation_result.completeness_score, pronunciation_result.fluency_score
        )))
        print('  Word-level details:')
        for idx, word in enumerate(pronunciation_result.words):
            print('    {}: word: {}, accuracy score: {}, error type: {};'.format(
                idx + 1, word.word, word.accuracy_score, word.error_type
            ))
    elif result.reason == speechsdk.ResultReason.NoMatch:
        print("No speech could be recognized")
    elif result.reason == speechsdk.ResultReason.Canceled:
        cancellation_details = result.cancellation_details
        print("Speech Recognition canceled: {}".format(cancellation_details.reason))
        if cancellation_details.reason == speechsdk.CancellationReason.Error:
            print("Error details: {}".format(cancellation_details.error_details))

pronunciation_assessment_from_microphone()
While running this code.
The output is print in terminal.
How to print the terminal output in streamlit webapp?

By default you can use st.write() in Streamlit apps to display any data you would print to terminal with print(). Like result.text, word.word or others in this case. Please see Streamlit examples and documentation, this is not Speech SDK specific. For multi-threaded operation and passing data via queues, see https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/1200#issuecomment-893969823 for some simple examples.


Admin account → My Clients design

Colors of buttons under Client Actions perhaps should be the same, as the various colors (especially green and red) can be misleading.
Positioning of objects under "My Clients" header is confusing. For example, Signup Worker button doesn't really have anything to do with "My Clients". Shouldn't Signup Worker be on Admin Panel page?
Can objects under "My Clients" header be organized more neatly?
Drop down menu should hide and apply selection to page (perhaps reload page if needed) after making choice under # Items per page.
Side note: spacing between page header and top menu bar should be consistent between My Clients and Admin Panel pages.

hi David I think these concerns have been addressed with the Figma designs we have, they're just not reflected on our site yet. feel free to look over our Figma files and follow up or close this issue if you think we're all good :)

yes agreed! thanks :)


WASM compatibility: std::time

The very minimal use of std::time in Ascent unfortunately panics on WASM.
Possible fixes include either a feature flag to gate use of std::time (this is only slightly complicated by run_timeout), or using an alternative library which provides a WASM-safe implementation such as https://github.com/sebcrozet/instant.
Just a thought. If you would prefer a PR for one or the other of these options, let me know. Thanks!

Let me take a look at this. The crate looks small enough that I'm comfortable adding it as a dependency.

@robert-chiniquy I've followed your suggestion and used the instant crate to get around std::time not working on WASM. If you could take a look and let me know if it works for your wasm environment, I'd appreciate it.

This works great for me, thank you!


Usage of ValidatorIndex inside Bolt Sidecar

Our current API definitions for constraints contain the validatorIndex of the validator that is opted-in to Bolt and has signed that specific preconfirmation request.
This means that we have to deal with this when generating the constraints, which happens inside Bolt sidecar.
Right now, this value is set to 0 always here: https://github.com/chainbound/bolt/pull/53/files#diff-709413e7867c3101338b843ff608b31b209deb676433b25160302d6819deafffR124
This issue is to keep track of this dangling data point and to brainstorm solutions. Some questions:

should bolt sidecar work with >1 validators connected? if so, how do we figure out which validator to sign commitments with
are there DDoS attacks that benefit from knowing the validatorIndex bound to some bolt sidecar?

An acceptable solution for now will be to specify validator indexes via the CLI.
we should add a validator_index cli parameter that can be a comma-delimited array of numbers (e.g. called via --validator-index 2,3,4,5,9) or an array to indicate contiguous indexes (e.g. --validator-index [2,9].


Powertoys Run - Categorize Results

Apps keep getting mixed up with docs, folders, etc. Can we have an option to categorize and possibly filter from search query, like "docs: final report" or "apps: photoshop".

I would also love a way to filter results. You search something like filter:search term.
This might belong in this thread, or it might not. Happy to create a new one if need be.

We're tracking this suggestion in #3347. I'm closing this as a duplicate.


jqlite.after failing when having text nodes in browser (IE11)

I'm submitting a ...

[ x] bug report

Current behavior:

In IE11 comments nodes exists, so in case a jqlite.after is done, the nextSibling used as reference node for insertBefore could be a text node. In case of IE11 this is failing. So better is to use there index.nextElementSibling
Expected / new behavior:

 after: function(element, newElement) {
   var index = element, parent = element.parentNode;

   if (parent) {
     newElement = new JQLite(newElement);

     for (var i = 0, ii = newElement.length; i < ii; i++) {
       var node = newElement[i];
-      parent.insertBefore(node, index.nextSibling);
+      parent.insertBefore(node, index.nextElementSibling);
       index = node;
     }
   }
 },

Minimal reproduction of the problem with instructions:

AngularJS version: 1.6.6

Browser:  IE 11|

Anything else:

Can you post a demo of the issue (e.g. using CopePen, plnkr, etc)? It not clear to me what the problem is.
In any case, we can't use nextElementSibling, as this changes the behavior completely. (I wonder if jQuery does something special for IE.)

I'm going to close this issue because we haven't got any feedback. Leave a comment if you can provide new feedback.


Update DubboPlugin

Which module is your feature request related to?
Dubbo Plugin
Is your feature request related to a problem?
#4151
#4352

Applied to 1.8.0-SNAPSHOT version.


Resolve BOSH-DNS issues

On 2/2/2021 - VMWare updated bosh-dns to version 1.28.0 which included a rev of Go to 1.15
https://github.com/cloudfoundry/bosh-dns-release/releases/tag/v1.28.0
This rev of Go caused issues at CG as the default runtime bosh-dns certificate definitions where not updated. Go 1.15 started to enforce certificates requiring a SAN (Subject Alternative Name) and not just a common name as the bosh-dns certs are currently setup.
CG rolled back bosh-dns to 1.27.0 and pinned the deploy-bosh pipeline resource for bosh-deployment back to just before the bosh-dns 1.28.0 release.
Acceptance Criteria

[ ] Establish path forward on resolving being pinned back on a older bosh-dns release that CG support can maintain

Security considerations

Try to not use a GODEBUG value to bypass the error

Implementation sketch

Review the bosh-dns releases to see how VMWare corrects the issue: https://github.com/cloudfoundry/bosh-dns-release/releases/
Review the response by VMWare to our open issue on the subject: https://github.com/cloudfoundry/bosh-dns-release/issues/76

So VMWare went and updated bosh-deployment to now include SAN names for the certs: https://github.com/cloudfoundry/bosh-deployment/commit/2c4b119969cf2bac24606bde83fcf1508a196896
It mentions you can do an in-place update using update_mode: converage as listed here: https://bosh.io/docs/manifest-v2/#variables but the reference use link for the api is down and appears to be down now for a few days as noted here: https://github.com/cloudfoundry-incubator/credhub/issues/176. - not quite sure that does and I don't see an option to do it in the credhub cli
Looks like the cf-dev folks do that already - example here: https://github.com/cloudfoundry/cf-deployment/blob/eb4dc49eafa018aa87b406be7abd1a306399f450/cf-deployment.yml#L1867
So the course of action would be:

Modify one of our deploy-bosh ops files temporary (https://github.com/cloud-gov/cg-deploy-bosh/tree/master/operations)  to include the SAN changes as well as the update_mode change, push the changes, and run the pipeline for common releases to update the dns run-time config.
Deploy all bosh deployments in all environments that use bosh-dns to get the new cert changes
Pause all common releases jobs and then remove our temp changes to allow upsteam changes from bosh-deployments
Unpin the bosh-deployments and allow the new version with bosh-dns 1.28.0 and runtime changes to come in
Unpause and run common releases
Deploy all bosh deployments in all environments that use bosh-dns to get the new bosh-dns code

@ChrisMcGowan is this done? Can it be closed?

It mentions you can do an in-place update using update_mode: converage as listed here: https://bosh.io/docs/manifest-v2/#variables but the reference use link for the api is down and appears to be down now for a few days as noted here: cloudfoundry-incubator/credhub#176. - not quite sure that does and I don't see an option to do it in the credhub cli

Looks like that broken link is now fixed, so here is the CredHub reference.


Write tests for identity service

Now that the decision has been made to use restless and pytest, tests should be added for the identity service.

Finished by https://github.com/OriginProtocol/bridge-server/pull/28


BootstrapButton in BootstrapButtonGroup default check value

It seem we can't set default check value for BootstrapButton inside BootstrapButtonGroup with button mode = radio. We need to click on it first. Is there any way I can set default value for it like "android:setChecked=true"

Hi,
I made a PR #137 for this issue.
Now BootstrapButonGroup has an attribute for default checked item.
Also BootstrapButton has an attribute that selects it in ButtonGroup in "radio" mode.
Thanks!


Configurable sg index

To resolve #176
@floragunncom PTAL

Coverage remained the same at 0.0% when pulling f2faf97d093b34e7058f53d70a620b720ab4bd36 on ewolinetz:configurable_sg_index into a724749f1f75619fecf7a9c0702a68f62bea2a9f on floragunncom:master.

Merged, thx for the contribution


Improve documentation's quality

Add detailed descriptions of all methods and scenes. Keep the existing examples, maybe add new ones.

Closing as a duplicate of #299 .


Discord crashes and won't start after deletion of all BetterDiscord files and re-install of Discord

I've deleted everything to do with BetterDiscord including installation files, executables, all the /AppData in both /Local and /Roaming and cleaned the registry after all this. I've reinstalled Discord several times and restarted my computer but for some reason Discord is still looking for BetterDiscord.
Any ideas?

Error: Cannot find module 'BetterDiscord'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename
(C:\Users%%%\AppData\Local\Discord\app-0.0.301\resources\electron.asar\common...:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/moduler:20:19)
at Object.
(C:\Users%%%\AppData\Roaming\discord\0.0.301\modules\discord_desktop_core\cor...:22)
at Object.
(C:\Users%%%\AppData\Roaming\discord\0.0.301\modules\discord_desktop_core\core...:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions.js (module.js:580:10)
at Module.load (module.js:488:32)

reinstall BBD and confirm that the installation finishes successfully

OK, did that. Now, it loads but crashes soon after. I didn't reinstall without moving the .exe outside of the downloads folder the first time, so I reinstalled it again after doing so. Same issue.

Searching for Discord core in: C:\Users\philw\AppData\Roaming\Discord\0.0.301\modules\discord_desktop_core
Located core.asar in: C:\Users\philw\AppData\Roaming\Discord\0.0.301\modules\discord_desktop_core
Killing Discord Processes
Deleting old core
Extracting core.asar
Finished extracting core.asar
Injecting BandagedBD to C:\Users\philw\AppData\Roaming\Discord\0.0.301\modules\discord_desktop_core\core
Rewriting index.js
Finished injecting BandagedBD
Downloading BandagedBD package
Finished downloading BandagedBD package
Deleting old BetterDiscord
Extracting BandagedBD package
Deleting temp file C:\Users\philw\AppData\Roaming\Discord\0.0.301\modules\discord_desktop_core\BetterDiscord.zip
Verifying installation
Verifying: Discord files
Verifying BandagedBD package
Verification successful
Finished installing BandagedBD!

OK, did that. Now, it loads but crashes soon after. I didn't reinstall without moving the .exe outside of the downloads folder the first time, so I reinstalled it again after doing so. Same issue.

Searching for Discord core in: C:\Users%%%\AppData\Roaming\Discord\0.0.301\modules\discord_desktop_core
Located core.asar in: C:\Users%%%\AppData\Roaming\Discord\0.0.301\modules\discord_desktop_core
Killing Discord Processes
Killing Discord process 7732
Killing Discord process 13736
Killing Discord process 1496
Deleting old core
Extracting core.asar
Finished extracting core.asar
Injecting BandagedBD to C:\Users%%%\AppData\Roaming\Discord\0.0.301\modules\discord_desktop_core\core
Rewriting index.js
Finished injecting BandagedBD
Downloading BandagedBD package
Using channel: https://github.com/rauenzi/BetterDiscordApp/archive/stable16.zip
Downloading to: C:\Users%%%\AppData\Roaming\Discord\0.0.301\modules\discord_desktop_core\BetterDiscord.zip
Finished downloading BandagedBD package
Deleting old BetterDiscord
Extracting BandagedBD package
Renaming package dir
Deleting temp file C:\Users%%%\AppData\Roaming\Discord\0.0.301\modules\discord_desktop_core\BetterDiscord.zip
Verifying installation
Verifying: Discord files
Verifying BandagedBD package
Verification successful
Restarting Discord
Finished installing BandagedBD!

haha soon ok
thank you

Most recent update should fix your issue, go ahead and restart discord and give it a go

no bueno, sorry. still crashing.

can you try reinstalling BBD and see if that fixes your issue?

The first reinstall and restart directly after the update didn't work, but tried it again now and it seems to be working so far! Thanks!


feat: Support sending raw capability messages

should close #13005

should I update self.bytecode_hash.is_none_or(|hash| hash == KECCAK_EMPTY)? I don't see the relationship with the changes


25895/get all config scopes

#26061 Change format of output
#25895 Add command for all config paths and subset of config paths

@avstudnitz Thanks. I will check the coding style with PHPMD and PHPCS later. Had to merge this PR because it was blocking me on another task.


Argument --quiet to the reek checker

Apparently the reek checker for the ruby language in it's last version does not support the --quiet flag, and when it's present the checker doesn't work.
Maybe the reek checker could conditionally pass this flag if the reek version is lower than 2.
Edit:
I've removed the --quiet flag from the code of the checker and it works fine.

Ok, done in 372daff.
There's a deeper problem related to reek and checking versions (and I don't have any reasonable solution to it for now), but you won't run into it for the time being.  Oh well.

That's great, thanks.


Populate Crops.tsx from DB

Currently the crops on the request page are populated from a hard coded array.
Use database crops instead

@jSylvestre Should it just populate the list with everything of the given crop type, or do a search as the user types?

@sprucely Scott said just populate it with everything. Or at least, don't do it with a search api.

closed via pr #544


perf_client has limits on concurrency

I cannot max out my two GPUs using one instance of perf_client, but using multiple instances I can.
A little bit more detail:
Using perf_client with GRPC and -a, the throughput does not increase when I go beyond -t 9.
But using four instances with -t 9 simultaneously for the same model, I get much higher total throughput. This is can be verified using trtis metrics.
Is this expected behavior? I can share the precise command that I use when I am back at my desk, but I cannot share the model that I use.

Is there any particular reason that you are using the -a flag. That causes a single thread to attempt to drive the entire load and that will eventually be limited by that thread. Try running perf_client without -a and specify a larger -t value and see if that doesn't increase throughput. Also are you aware of the -d flag which allows perf_client to automatically search and create a latency vs. infer/sec curve. See the documentation for more information on that.

This is the only way I could make it work at all. I was getting timeouts without -a. I can try again next week.

I managed to get perf client with high concurrency working without the -a flag. The problem was that with high concurrency (say -t 19 or -t 36) perf_client needs some time before it starts sending data to the server. Let's call this period "warmup-phase". During this phase, perf_client maxes out several CPU cores. My guess is that perf_client generates random inputs on a per thread basis, which leads to a long wait when using models with large inputs and with high concurrency. Moreover, warmup-time seems to count towards the measurement window set with -p.
In my particular situation, I had set -p 5000, which was much too short compared to the warmup phase needed by perf_client. Better documentation would help here (and perhaps show a "please wait" message during this warmup). My model uses FP16 inputs of shape (1,800,1200,3), and inference starts after 30-40 seconds.
As to my original issue with concurrency: I can now exceed the results previously obtained with -a by using -t 19 (and setting -p to account for warm-up). But still, on a larger server with 4 GPUs, I get noticeable gains using two instances of perf_client with -t 36 each, compared to one instance with -t 72. I am not sure what the bottleneck is now.

For the warmup-phase problem we will look into removing that from the measurement window so you don't need to use a large -p value.
For large concurrency values with -a it is possible that the single thread used with -a is unable to keep up with handing the requests and responses for 72 requests.


Greetings from South Korea: requesting for /population.csv

Greetings from South Korea.
It seems like Corona Virus crisis is surging here, so I would like to make Time Series forecast with your models. Tutorials of yours is the most accessible version that I can find in Github!
But I would like to request population.csv data, if possible, to be uploaded on github.
population=pd.read_csv('/content/drive/My Drive/Colab Notebooks/Optimization Course/population.csv', sep=',', encoding='latin1')

is found to be missing, so I am trying to run the models without population.
Thank you, and thanks for sharing your work.

Hi,
Thanks for your feedback and hopefully you will get control over the crisis there soon.
I've uploaded the population.csv file.
Note that data out of China is provided per country and not per city/province, therefore population data is more general.
You can contact me for more inquiries -<EMAIL_ADDRESS>Regards.


[tool_crash] StateError: Bad state: No running isolate (inspector is not set).

Command
flutter --no-color run --machine --track-widget-creation --device-id=chrome --start-paused --dart-define=flutter.inspector.structuredErrors=true lib\main.dart

Steps to Reproduce

...
...
...

Logs
StateError: Bad state: No running isolate (inspector is not set).
#0      ChromeProxyService.inspector (package:dwds/src/services/chrome_proxy_service.dart:79:7)
#1      _waitForResumeEventToRunMain.<anonymous closure> (package:dwds/src/dwds_vm_client.dart:464:30)
#2      _rootRunUnary (dart:async/zone.dart:1430:13)
#3      _CustomZone.runUnary (dart:async/zone.dart:1324:19)
#4      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1233:7)
#5      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:366:11)
#6      _DelayedData.perform (dart:async/stream_impl.dart:542:14)
#7      _PendingEvents.handleNext (dart:async/stream_impl.dart:647:11)
#8      _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:618:7)
#9      StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:207:15)
#10     StackZoneSpecification._registerCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:114:48)
#11     _rootRun (dart:async/zone.dart:1406:47)
#12     _CustomZone.run (dart:async/zone.dart:1317:19)
#13     _CustomZone.runGuarded (dart:async/zone.dart:1225:7)
#14     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1265:23)
#15     StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:207:15)
#16     StackZoneSpecification._registerCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:114:48)
#17     _rootRun (dart:async/zone.dart:1414:13)
#18     _CustomZone.run (dart:async/zone.dart:1317:19)
#19     _CustomZone.runGuarded (dart:async/zone.dart:1225:7)
#20     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1265:23)
#21     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#22     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
#23     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#24     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)

[✓] Flutter (Channel master, 3.25.0-1.0.pre.203, on Microsoft Windows [Version 10.0.22631.4317], locale en-IN)
    • Flutter version 3.25.0-1.0.pre.203 on channel master at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3541a83a8e (7 weeks ago), 2024-08-29 22:38:29 -0400
    • Engine revision da87db6d55
    • Dart version 3.6.0 (build 3.6.0-198.0.dev)
    • DevTools version 2.39.0

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\user\AppData\Local\Android\Sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2024.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)

[✓] VS Code (version 1.94.0)
    • VS Code at C:\Users\user\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.98.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.4317]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 129.0.6668.101
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 129.0.2792.89

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
Plugins
cloud_firestore-5.4.0
cloud_firestore_web-4.2.0
file_picker-8.0.7
firebase_core-3.4.0
firebase_core_web-2.17.5
firebase_storage-12.2.0
firebase_storage_web-3.9.13
flutter_plugin_android_lifecycle-2.0.22

Closing this as a duplicate of https://github.com/flutter/flutter/issues/156793
If you have a way to reproduce this, please share it in the original issue.
Thank you

Actually I dont know how to produce it, I got this error after i opened the widget inspector, after i closed it and did a hot reload then started getting some king of wiered errors for every restart it will change. Then android studio gave me a link to create the issue, and that is what you are seeing. I'll Update Each error as soon Im getting it...

AppInspector: Error calling Runtime.evaluate with params {expression: require('dart_sdk').developer._extensions.keys.toList();, returnByValue: true, contextId: 10}Error: WipError -32000 Cannot find context with specified id
Utilities: Error in unawaited Future:Error: Bad state: No running isolate (inspector is not set).
I just got it, when i try to hot reload and its flutter web

This is what i got now, But It worked nicely when i run the main.dart again, but loaded in a new window...
Performing hot restart...
Waiting for connection from debug service on Chrome...
AppInspector: Error calling Runtime.evaluate with params {expression: require('dart_sdk').developer._extensions.keys.toList();, returnByValue: true, contextId: 13}Error: WipError -32000 Cannot find context with specified id
Utilities: Error in unawaited Future:Error: Bad state: No running isolate (inspector is not set).
Restarted application in 694ms.
[Crompton, V-Guard, Bestarc , Supreme, Pidilite, Cisco, Goldmedal, Anchor, Usha, Taparia]
[Hardware, Paints, Electricals, Plumbing]
Started
Started
Started
Started
[Instance of 'OrderModel', Instance of 'OrderModel', Instance of 'OrderModel', Instance of 'OrderModel']
Finished All
A crash report has been written to C:\src\project_rj_admin_panel\flutter_02.log
This crash may already be reported. Check GitHub for similar crashes.
https://github.com/flutter/flutter/issues?q=is%3Aissue+Bad+state%3A+No+running+isolate+(inspector+is+not+set).
To report your crash to the Flutter team, first read the guide to filing a bug.
https://flutter.dev/to/report-bugs
Create a new GitHub issue by pasting this link into your browser and completing the issue template. Thank you!
https://github.com/flutter/flutter/issues/new?title=[tool_crash]+StateError%3A+Bad+state%3A+No+running+isolate+(inspector+is+not+set).&body=%23%23+Command
```sh
flutter+--no-color+run+--machine+--track-widget-creation+--device-id%3Dchrome+--start-paused+--dart-define%3Dflutter.inspector.structuredErrors%3Dtrue+lib\main.dart
```

%23%23+Steps+to+Reproduce
1.+...
2.+...
3.+...

%23%23+Logs
StateError%3A+Bad+state%3A+No+running+isolate+(inspector+is+not+set).
```console
%230++++++ChromeProxyService.inspector+(package%3Adwds%2Fsrc%2Fservices%2Fchrome_proxy_service.dart%3A79%3A7)
%231++++++_waitForResumeEventToRunMain.<anonymous+closure>+(package%3Adwds%2Fsrc%2Fdwds_vm_client.dart%3A464%3A30)
%232++++++_rootRunUnary+(dart%3Aasync%2Fzone.dart%3A1430%3A13)
%233++++++_CustomZone.runUnary+(dart%3Aasync%2Fzone.dart%3A1324%3A19)
%234++++++_CustomZone.runUnaryGuarded+(dart%3Aasync%2Fzone.dart%3A1233%3A7)
%235++++++_BufferingStreamSubscription._sendData+(dart%3Aasync%2Fstream_impl.dart%3A366%3A11)
%236++++++_DelayedData.perform+(dart%3Aasync%2Fstream_impl.dart%3A542%3A14)
%237++++++_PendingEvents.handleNext+(dart%3Aasync%2Fstream_impl.dart%3A647%3A11)
%238++++++_PendingEvents.schedule.<anonymous+closure>+(dart%3Aasync%2Fstream_impl.dart%3A618%3A7)
%239++++++StackZoneSpecification._run+(package%3Astack_trace%2Fsrc%2Fstack_zone_specification.dart%3A207%3A15)
%2310+++++StackZoneSpecification._registerCallback.<anonymous+closure>+(package%3Astack_trace%2Fsrc%2Fstack_zone_specification.dart%3A114%3A48)
%2311+++++_rootRun+(dart%3Aasync%2Fzone.dart%3A1406%3A47)
%2312+++++_CustomZone.run+(dart%3Aasync%2Fzone.dart%3A1317%3A19)
%2313+++++_CustomZone.runGuarded+(dart%3Aasync%2Fzone.dart%3A1225%3A7)
%2314+++++_CustomZone.bindCallbackGuarded.<anonymous+closure>+(dart%3Aasync%2Fzone.dart%3A1265%3A23)
%2315+++++StackZoneSpecification._run+(package%3Astack_trace%2Fsrc%2Fstack_zone_specification.dart%3A207%3A15)
%2316+++++StackZoneSpecification._registerCallback.<anonymous+closure>+(package%3Astack_trace%2Fsrc%2Fstack_zone_specification.dart%3A114%3A48)
%2317+++++_rootRun+(dart%3Aasync%2Fzone.dart%3A1414%3A13)
%2318+++++_CustomZone.run+(dart%3Aasync%2Fzone.dart%3A1317%3A19)
%2319+++++_CustomZone.runGuarded+(dart%3Aasync%2Fzone.dart%3A1225%3A7)
%2320+++++_CustomZone.bindCallbackGuarded.<anonymous+closure>+(dart%3Aasync%2Fzone.dart%3A1265%3A23)
%2321+++++_microtaskLoop+(dart%3Aasync%2Fschedule_microtask.dart%3A40%3A21)
%2322+++++_startMicrotaskLoop+(dart%3Aasync%2Fschedule_microtask.dart%3A49%3A5)
%2323+++++_runPendingImmediateCallback+(dart%3Aisolate-patch%2Fisolate_patch.dart%3A118%3A13)
%2324+++++_RawReceivePort._handleMessage+(dart%3Aisolate-patch%2Fisolate_patch.dart%3A185%3A5)
```
```console
[✓]+Flutter+(Channel+master%2C+3.25.0-1.0.pre.203%2C+on+Microsoft+Windows+[Version+10.0.22631.4317]%2C+locale+en-IN)
++++•+Flutter+version+3.25.0-1.0.pre.203+on+channel+master+at+C%3A\src\flutter
++++•+Upstream+repository+https%3A%2F%2Fgithub.com%2Fflutter%2Fflutter.git
++++•+Framework+revision+3541a83a8e+(7+weeks+ago)%2C+2024-08-29+22%3A38%3A29+-0400
++++•+Engine+revision+da87db6d55
++++•+Dart+version+3.6.0+(build+3.6.0-198.0.dev)
++++•+DevTools+version+2.39.0

[✓]+Windows+Version+(Installed+version+of+Windows+is+version+10+or+higher)

[✓]+Android+toolchain+-+develop+for+Android+devices+(Android+SDK+version+35.0.0)
++++•+Android+SDK+at+C%3A\Users\user\AppData\Local\Android\Sdk
++++•+Platform+android-35%2C+build-tools+35.0.0
++++•+Java+binary+at%3A+C%3A\Program+Files\Android\Android+Studio\jbr\bin\java
++++•+Java+version+OpenJDK+Runtime+Environment+(build+17.0.11%2B0--11852314)
++++•+All+Android+licenses+accepted.

[✓]+Chrome+-+develop+for+the+web
++++•+Chrome+at+C%3A\Program+Files+(x86)\Google\Chrome\Application\chrome.exe

[✗]+Visual+Studio+-+develop+Windows+apps
++++✗+Visual+Studio+not+installed%3B+this+is+necessary+to+develop+Windows+apps.
++++++Download+at+https%3A%2F%2Fvisualstudio.microsoft.com%2Fdownloads%2F.
++++++Please+install+the+"Desktop+development+with+C%2B%2B"+workload%2C+including+all+of+its+default+components

[✓]+Android+Studio+(version+2024.1)
++++•+Android+Studio+at+C%3A\Program+Files\Android\Android+Studio
++++•+Flutter+plugin+can+be+installed+from%3A
++++++🔨+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F9212-flutter
++++•+Dart+plugin+can+be+installed+from%3A
++++++🔨+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F6351-dart
++++•+Java+version+OpenJDK+Runtime+Environment+(build+17.0.11%2B0--11852314)

[✓]+VS+Code+(version+1.94.2)
++++•+VS+Code+at+C%3A\Users\user\AppData\Local\Programs\Microsoft+VS+Code
++++•+Flutter+extension+version+3.98.0

[✓]+Connected+device+(4+available)
++++•+SM+M215F+(mobile)+•+RZ8N60QKP8D+•+android-arm64++•+Android+12+(API+31)
++++•+Windows+(desktop)+•+windows+++++•+windows-x64++++•+Microsoft+Windows+[Version+10.0.22631.4317]
++++•+Chrome+(web)++++++•+chrome++++++•+web-javascript+•+Google+Chrome+129.0.6668.101
++++•+Edge+(web)++++++++•+edge++++++++•+web-javascript+•+Microsoft+Edge+129.0.2792.89

[✓]+Network+resources
++++•+All+expected+network+resources+are+available.

!+Doctor+found+issues+in+1+category.

```

%23%23+Flutter+Application+Metadata
**Type**%3A+app
**Version**%3A+1.0.0%2B1
**Material**%3A+true
**Android+X**%3A+false
**Module**%3A+false
**Plugin**%3A+false
**Android+package**%3A+null
**iOS+bundle+identifier**%3A+null
**Creation+channel**%3A+stable
**Creation+framework+version**%3A+80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
%23%23%23+Plugins
cloud_firestore-5.4.0
cloud_firestore_web-4.2.0
file_picker-8.0.7
firebase_core-3.4.0
firebase_core_web-2.17.5
firebase_storage-12.2.0
firebase_storage_web-3.9.13
flutter_plugin_android_lifecycle-2.0.22

&labels=tool%2Csevere%3A+crash


Add initial .gitignore

Made the mistake of commiting extra stuffs when I create the json field package earlier.
Will be great if you can tag this hacktoberfest-accepted too. Thanks!

Totally! Thank you @ziming !

Thanks @tabacitu but could you also label this PR hacktoberfest-accepted so it counts towards it? :)
I still have 2 more PRs to go
Thank you

Sure, done!


Add organization support to the config

Fix #39.
Added Organization support to the config and added a small fix for the case if there is an old config path. Don't know if code style fits your liking but here it is. Have a nice day

Thank you, I made the changes having believe that my other non-personal GPT org was preventing using it but it appears that it was not the only case, so I still have quota issues but I can confirm that it doesn't break things. And I'll also test with a paid account as soon as possible. Then I can report back here again confirming that it works as expected.


Use provider templates with all types of providers.

Currently LDAP and Active Directory providers use a template function to eliminate boilerplate from provider definitions. We should consider using templates uniformly for providers of all protocols.

This can be accomplished in conjunction with #118, which involves storing provider config in the database instead of the config file.
Hope we can get this done over the weekend, but it's a can of worms, so who knows.


The Clone button shows blank on Clone dialog

Storage Explorer Version: 1.12.0
Build: 20200201.2
Branch: master
Platform/OS: Windows 10/ Linux Ubuntu 18.04
Architecture: ia32/x64
Regression From: Previous release(1.12.0)
Steps to reproduce:

Expand one Non-ADLS Gen2 storage account -> Blob Containers.
Select one blob container and right click it -> Click 'Clone with New Name...'.
Check the Clone button on the Clone dialog.

Expect Experience:
The Clone button shows well.
Actual Experience:
The Clone button shows blank.

More Info:

This issue also reproduces for files under one file share & one file share.
This issue doesn't reproduce for one blob.

This issue has been fixed on the latest build 20200204.4. So we close it.


Javascript File Deleted After SCSS Change

Laravel Mix Version: 0.12.1
Node Version: 6.9.5
NPM Version: 3.10.10
OS: OS X 10.12

Description:
After initial compilation when changing a SCSS file in a build that contains only scss and js then when the scss is changed the JS is deleted.
Steps To Reproduce:
On OSX follow these instructions:
#Create a temp project
mkdir /tmp/jsbug
cd /tmp/jsbug
#Create a default package.json
npm init -y
npm install lavavel-mix --save-dev
cp -r node_modules/laravel-mix/setup/** ./
touch style.scss
touch app.js

Copy in the lines to the package.json like in the documentation
  "scripts": {
    "dev": "cross-env NODE_ENV=development webpack --progress --hide-modules",
    "watch": "cross-env NODE_ENV=development webpack --watch --progress --hide-modules",
    "hot": "cross-env NODE_ENV=development webpack-dev-server --inline --hot",
    "production": "cross-env NODE_ENV=production webpack --progress --hide-modules"
  }

Edit the webpack.mix.js file to contain for the jobs:
let mix = require('laravel-mix');
mix.js('app.js', 'dist/')
.sass('style.scss', 'dist/');

Now run npm run watch
Initially this will create the javascript file. Then edit the sass file. The javascript file is then deleted.
In addition an example github repo is here:
https://github.com/kevin-coyle/laravel-mix-bug
Thanks for any help that you can give.

I have the exact same problem with 0.12.1

I've got this problem as well.

Unfortunately I could not reproduce this issue.
Laravel mix : 0.12.1
npm: 3.10
node: 6.10
OS: Ubuntu x64
Here is my webpack.mix.js code -
'use strict';
const mix = require('laravel-mix');
const buildDir = 'public/';

mix.js('./resources/assets/js/app.js', buildDir + 'js/app.js')
  .extract([
    'jquery',
    'querystring',
    'lodash',
    'axios',
    'messg',
    'vue-router',
    'vue-nprogress',
    'vue-infinite-loading',
    'vue-select',
    'flatpickr',
    'vue',
    'moment',
    'fullcalendar',
    'bootstrap'
  ])
  .autoload({
    jquery: ['$', 'window.jQuery', 'jQuery'],
    vue: ['window.Vue', 'Vue'],
    axios: ['window.axios', 'axios'],
    moment: ['window.moment', 'moment'],
    messg: ['window.messg', 'messg'],
  })
  .styles(['./resources/assets/css/app.css'], buildDir + 'css/app.css')
  .sass('./resources/assets/css/vendor.scss', buildDir + 'css/vendor.css')
  .version()
  .sourceMaps(false);

I have the same problem.
When I run "npm run watch", everything works fine
However when I change scss file, only css compiles,
and the js file results on a 404 status

I've got the same issue with 0.12.1

Same issue here as well.

I've the same issue

Same issue here using Laravel Mix as a stand-alone.
npm run watch will compile css and js perfectly on startup. Then any updates to scss will remove the compiled js file and only recompile the scss file.

Having this when using as stand-alone as well.

As in #843, rolling back to 0.11.4 gets this working again for now.

Running 0.11.4 produces same issue for me. :(

I'm thinking this is already fixed in the 1.0 beta release. But just to be sure...
Is this happening within your Laravel projects? Or is it always in standalone projects that this occurs?

I haven't tried it in a Laravel project yet, just doing some front-end dev outside before i bring it into a legacy app.

Same.

Ah okay, good to know thanks.
Mix 1.0 should automatically fix this. I'll be tagging it later this week.

Haven't tried this in Laravel yet only standalone..

Did a quick test with clean install of Laravel. Working fine there.

I did update to laravel mix 1.0.3 but I'm still have the same issue

@EssamWD I doubt it. We don't delete any files in the 1.0 version. Can you run npm list --depth=0 and make sure that it says 1.0.3 for laravel-mix?

I removed the package and install it again and now everything work very well.. Thank you very much


Flatten-simple-geometry-collections

Description of changes:
GeoJSONLint complains about these types of features:

GeometryCollection with a single geometry should be avoided in favor of single part or a single object of multi-part type

This PR simplifies features containing GeometryCollections with single geometries by removing the intermediate GeometryCollection.
This simultaneously expands (GeometryCollection | Polygon) and narrows (GeometryCollection<Polygon | LineString>) the type of GeoJSON features created from isolines. We should consider the versioning implications of this.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I'll push a change with an update to the README. +1 to 1.2.0 (I agree with your reasoning).


CI prints Closing remaining open files:...test_hdf_empty_dataframe0/data.h5

example eg https://github.com/dask/dask/actions/runs/4727453904/jobs/8388080950#step:8:24759
prints: Closing remaining open files:/tmp/pytest-of-runner/pytest-0/popen-gw0/test_hdf_empty_dataframe0/data.h5...done
we're using with pd.HDFStore(...): correctly so this could be a pandas or pytables bug

I can reproduce with pure pandas with:
def test_hdf_empty_dataframe(tmp_path):
    pytest.importorskip("tables")
    # https://github.com/dask/dask/issues/8707

    df = pd.DataFrame({"A": [], "B": []}, index=[])
    df.to_hdf(tmp_path / "data.h5", format="fixed", key="df", mode="w")
    try:
        pd.read_hdf(tmp_path / "data.h5", "/df", mode="r", stop=0)
    except IndexError:
        pass

raised upstream as https://github.com/pandas-dev/pandas/issues/52781

@jrbourbeau I have a performance enhancement that side-steps the pandas bug: https://github.com/dask/dask/pull/10205


[TC-284] Strip "actionable" query strings

If an "actionable" query string is present in the incoming URL, strip it to prevent duplication of object storage in case the delivery service's setting is to consider the qstring at the edge. If it is, leaving the qstring in place will potentially cause the same object to be stored twice; one object with the "actionable" TR query parameters and one without, if there are clients that make both types of requests.
Specific query strings are ?format=json, ?trred=false, and ?fakeClientIpAddress=foo.
Author: Jeff Elsloo
JIRA Link: https://issues.apache.org/jira/browse/TC-284
Found Version: 2.0.0

In general I think this would be good, but my worry is that there might be come clients/origins out there actually using a format query parameter. trred and fakeClientIpAddress seem less likely to be used by clients/origins since those are pretty TR-specific.

#3554 would add an HTTP header for format so that you can do that instead of using the query string parameter, to help avoid that collision


"来園者" needs to be replaced with "ゲスト"

Strongly recommend to replace "来園者" with "ゲスト" , I can see "来園者" is used as a localized Japanese word of "guest" in English, however, it should be "ゲスト" which stands for guest user of Teams.

ドキュメントの詳細
⚠ このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

ID: 042d7ce6-ee22-690f-8188-ff8a4a585847
Version Independent ID: 3e5bc99c-e08e-44e0-cda3-687ed3633175
Content: Microsoft Teams へのゲスト アクセスをオンまたはオフにする
Content Source: Teams/set-up-guests.md
Service: msteams
GitHub Login: @somakbhattacharyya
Microsoft Alias: sbhatta

@hyoshioka0128 this is now fixed

The problem part has returned from Japanese to English.

@hyoshioka0128 the issue is fixed

@samanthaw Thanks.
https://docs.microsoft.com/ja-jp/microsoftteams/set-up-guests


Feature Request: Out of source build of CMake

add an option to change CMake dir, like steps:
mkdir build
cd build
cmake ..

Already done.  Works just like autotools.
mkdir build
cd build
../configure

It should be pretty reliable—I usually build Squash that way, so it's fairly well tested.


Operator ::( ) not officially documented

The ::( ) operator seems to be used in a couple of modules by now including LWP::Simple to test for SSL, lately URI and maybe Panda.  I haven't found it documented anywhere except for a very brief mention in S11.

::( ) isn't quite an operator -- rather the :: is tapping into the package name system, and the ( ) is doing a lookup. I started some docs in #224 which will hopefully clarify.

#224 has been merged, which at least starts to document this.


Training code?

Is there any plan in near future to release the training code?

I am working on it. The plan is for next month.

We released Tensorflow training code which tries to implement the paper: https://github.com/merantix/imitation-learning

Any updates on this?

If anyone found a training code that has been published, please give the link.

If anyone found a training code that has been published, please give the link.

I released this long time ago a framework to train those type of networks.
https://github.com/felipecode/coiltraine
It is in pytorch.

I released this long time ago a framework to train those type of networks.
https://github.com/felipecode/coiltraine
It is in pytorch.


Example suited Kubernetes environment unclear

On the front page we should tell those examples below are expected to run on Kubernetes version 1.x.x recommended.  To reduce the confusion when something goes wrong.

Like I just run the command below on my Kubernetes 1.4.9
$ kubectl run sise --image=mhausenblas/simpleservice:0.5.0 --port=9876

But I never get a running Pod and the RS told me that:
Error creating: pods "sise-3210265840-" is forbidden: failed quota: default-quota: must specify cpu,memory

Is it a version-related problem ? or I just misconfigured ?

I agree that it would improve the UX if this info is prominently displayed on the landing page. The setup (with the Kube version used) is described currently here: http://kubernetesbyexample.com/diy/ and only linked from the landing page. I'll address this issue when updating the entire site to 1.7.


P2P test is flaky

Description
P2P system test fails regularly with an error such as the following:
>       assert total_expected_gossip == len(results), err_msg
E       AssertionError: msg_testing: Total gossip messages in ES is not as expected
E         expected 4440, got 3983
E       assert 4440 == 3983
E         -4440
E         +3983

I had to reduce the number of test gossip messages from 100 to 75 to get the test to pass. Reducing the number of messages, or pods, or both, allows the test to pass. But it was always set to 100 messages. I also tried increasing the resources for the pods. Adding memory didn't help; adding processors caused errors from k8s.
What I see in kibana after a failed run is that usually a single pod doesn't receive enough gossip messages; all the others are okay. For most pods, the number of messages that peers send it, and the number of messages it reports receiving, are the same. For the failed pod, however, I see a pattern where it just stops printing logs for minutes at a time. Other pods continue to report sending it messages during this time, so that the number of messages sent is much greater than the number of messages reported received in the logs. Here's a recent example:

Steps To Reproduce
See #2395
Expected Behavior
The test should pass. Increasing the number of messages or pods should still work.
Environment
Please complete the following information:

OS: CI (ubuntu latest)
Node Version: 55957a811bbcdaf6eb2e215120090434d61e720f (after merging #2323)

Additional Resources
Links to recent failures:

https://github.com/spacemeshos/go-spacemesh/runs/2423571222?check_suite_focus=true
https://github.com/spacemeshos/go-spacemesh/runs/2422134431?check_suite_focus=true
https://github.com/spacemeshos/go-spacemesh/runs/2416023213?check_suite_focus=true
https://github.com/spacemeshos/go-spacemesh/runs/2413815711?check_suite_focus=true

Reopening as this is still an issue (see #2505)


please

Institution/School Name
{Guangzhou College of South China University of Technology}
Instiution/School Website
{https://www.gcu.edu.cn/}
Email Users
Please place an x between the square brackets if yes

[x] Students
[ ] Academic/Teaching Staff
[ ] Other/Support Staff
[ ] Alumni

Education Levels
Please place an x between the square brackets if yes

[ ] Post-graduate research
[ ] Graduate School
[x] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent

hg


Fix/SPI Framework documentation blank page

First attempt to fixing #9
Probable problem: (😅) The Store root file don't have any documentation.
My proposed solution:
Since the root level Store file conditionally imports the other framework, i am thinking adding a root level documentation will fix the issue of the docs landing page being empty.  I have added a short summary of the framework description for testing purposes.
🚨 But for this to work, it's necessary to update the swift-version to 5.5.
DocC archive: Stores.doccarchive.zip
NOTE: -
If this solution works, then i'll proceed to improve the rest of the documentation to ensure uniformity and at most leverage of the interesting features that DocC offers.
To test release, we might need to do a preview-release so that SPI can update the change.
@omaralbeik  let me know what you think

Nice one! lets merge this one and see if it fixes the issue


Removed HIP specific matvec logic that is duplicated from tuned_gemm.py and doesn't support bf16

Removed HIP specific matvec logic that is duplicated from tuned_gemm.py and doesn't support bf16

The TunedGemm will only use torch.linear for all input if you did not tune the gemm using gradlib.
So either we keep the code for BS=1 (removed in this PR) in the linear layer or I can move it inside the
TunedGemm.mm().

Do we need to remove LL https://github.com/ROCm/vllm/pull/23/files#diff-10518665100e65af6ee570450fbac1eed58e58e954194ca06a48673f28871fdcL36-L50 ?


[explore]SAVE ad hoc filter value in IN and NOT IN

After users select ad hoc filter values in IN and NOT IN, the values are not saved after clicking SAVE the first time. the pill is not updated and the change does not take place on chart either. Users have to go back to the modal and save again

fixed


fix: don't use .mjs file for react-native, which isn't supported by default. Fixes #1058 #1065

pre-published as<EMAIL_ADDRESS>

It looks like RN 0.72 will help with this by finally supporting exports properly, but yeah, this might be necessary to support the rest of the ecosystem until they catch up:

https://reactnative.dev/blog/2023/06/21/package-exports-support

Looking at https://facebook.github.io/metro/docs/package-exports/ , it sounds like Metro currently looks for "react-native", "browser", and "main":

https://facebook.github.io/metro/docs/package-exports/
https://github.com/facebook/metro/blob/179205b908b6ed4e458f35b852bb8304bb225652/docs/Configuration.md?plain=1#L230

I see that Immer actually does list "react-native".  The Redux packages don't, but do list "main", and in our current Redux betas, I am pointing "main" to that similar legacy-esm.js file.  So, I think we've got the same net result.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.793%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
646

Relevant Lines:
647

💛  - Coveralls


Rethink netcdf delayed saving to avoid memory problem.

Addresses #5753
This solution does not follow the pattern explained in 5753
Because, it seems, that solution is specific to cases where the arrays stacked by merge are all whole chunks (e.g. 2d fields from PP or GRIB files).
Whereas, if those component arrays are themselves divided into chunks, those chunks get ignored when a map_blocks call with drop_axis is used -- i.e. the result of that cannot be chunked across the 'missing' axes.  And in consequence, the save still ends up fetching large numbers of chunks into memory at once.
So in effect, that earlier solution does not generalise well.
Instead, I have now modified the write-proxy objects to do the fill-value checking when they are written to, and I think that fixes the memory problem.
At least, the test provided in #5753 now shows the lower memory usage, equivalent to xarray.
WIP : pushing up to check correctness against full tests
TODO :

[ ] check that this does still work when component arrays of a da.stack are themselves chunked.
[ ] provide a benchmark ?

OK this solution is not viable as it doesn't work with a distributed (i.e. process-based scheduler).
Which on reflection is no surprise !
Will post an alternative approach when I have worked one out ...


Firebase connected

Is there any way to know if firebase is connected? I would like to send set and get just if firebase is connected.
And is there any way to know the result of firebase.begin? Like an error if firebase host or authentication are incorrect.
Thanks.

The function Firebase.begin is just save the authentication credentials.
All examples provided showed the error debugging in every Firebase calls.
https://github.com/mobizt/Firebase-ESP32/tree/master/examples

Ok, thanks @mobizt.
So I just need to call .begin when I start the code, it will have the credentials saved even if the wifi is disconnected and connected again later?

As you seen, the function Firebase.begin takes the Firebase authentication credential, no WiFi begin operation involved unless you set the reconnect function which will call reconnect function of WiFiClient core library periodically.

Yes, I understood it. I am handling with wifi reconnect in another part of my code. Thanks


scaffolder: Gitlab Ci/Cd project vars publisher for scaffolding

Summary
When publishing GitLab template, some pipelines might/will require a Ci/Cd setting to be applied before the pipeline will work
Context
For a given project/template output the pipeline might require extra vars to be set before it will build
Example:
ENV vars for Security scan (password for dev/prod env version)
(yes the password should not be stored there, but it is an example)
Use case example
In a template

Outputs onto the project

When specifying "DEFAULT_VALUE" it should look in the app-config for the key

I don't know if the Gitlab variables implementation has been improved since issue was raised, but as of now you can specify variables at a group level and they are automatically inherited to all sub-groups and projects within. To my mind this reduces the need for this issue, but I obviously can't speak for everyone's Gitlab implementation.


Force update of  fbjs to get fix for #14, #1381

what is the change?:
Pin the fbjs dependency version to 0.8.15 or later.
why make this change?:
We need to get everyone updated to use the fixed version, to avoid a
scroll issue in Chrome 61+
See https://github.com/facebook/fbjs/pull/229
test plan:
Didn't test because we already are using this fix internally at FB.
issue:
fixes #1381

(If people re-npm-install they'll get the new version already.)

Sure thing~


langchain Retrieval

Issue you'd like to raise.
i have the following code:
# import
from langchain.embeddings.sentence_transformer import SentenceTransformerEmbeddings
from langchain.text_splitter import CharacterTextSplitter
from langchain.vectorstores import Chroma
from langchain.document_loaders import TextLoader
from silly import no_ssl_verification
from langchain.embeddings.huggingface import HuggingFaceEmbeddings

with no_ssl_verification():
    # load the document and split it into chunks
    loader = TextLoader("state_of_the_union.txt")
    documents = loader.load()

    # split it into chunks
    text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
    docs = text_splitter.split_documents(documents)

    # create the open-source embedding function
    embedding_function = SentenceTransformerEmbeddings(model_name="all-MiniLM-L6-v2")
    # hfemb = HuggingFaceEmbeddings()
    # load it into Chroma
    db = Chroma.from_documents(docs, embedding_function)

    # query it
    query = "What did the president say about Ketanji Brown Jackson"
    docs = db.similarity_search(query)

    # print results
    print(docs[0].page_content)

i must use retrieval mechanism. and i am using Turkish language data. please change my code
Suggestion:
No response

@4entertainment can you provide more information?


Which property?

" You would select RunObject in the PushAction property and use the RunObject Property to run the sales statistics page. In this property you could select Yes to display the same record on both pages." introduces the RunObject property and then immediately refers to "in this object". But the intended reference is to the RunPageOnRec property. Might be clearer to make this explicit: "Then in the RunPageOnRec property you could select Yes..."

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

ID: 710e08ec-39a3-0b47-3715-22b97303e730
Version Independent ID: 7b1a047a-ce32-2710-8d69-2a0b243d53ca
Content: RunPageOnRec Property - Dynamics NAV
Content Source: dynamics-nav/RunPageOnRec-Property.md
Product: dynamics-nav-2018
GitHub Login: @jswymer

Thanks for your feedback, yes that could be made clearer - this will be fixed with the next doc refresh.


Not able to read from vault via spring cloud using profiles

Hi Team,
I have one microservice which get the config from vault via spring cloud.
It works fine without any profile. I need to fetch the details from vault on based of profile.
So I created folder structure in vault like /secret/application/dev and also /secret/microservicename/dev inside this I have all configurations.
So problem is I am unable to find it on profile basis from vault.
Can you please help?
Basic configuration for spring cloud server is as below-
spring.profiles.active=vault,git spring.cloud.config.server.vault.host=localhost spring.cloud.config.server.vault.port=8900 spring.cloud.config.server.vault.order=1 spring.cloud.config.server.git.order=2 spring.cloud.config.server.git.uri=https://giturl spring.cloud.config.server.git.username=username spring.cloud.config.server.git.password=password spring.cloud.config.server.git.searchPaths=configuration,iam server.port=6565
I have started the microservice in dev profile.
Thanks

Can you please elaborate on your setup?

config from vault via spring cloud.

How does your setup look like in terms of library: Are you using Spring Vault, Spring Cloud Vault or Spring Cloud Configserver with a Vault backend?

Hi @mp911de
Thanks for your reply.
I am using spring cloud config server with vault and git as backend.
I have given application properties above.
Thanks

Thanks a lot. Then we should move this ticket to Spring Cloud Config.


Getting error while using the Java Client Library in my spring boot application for Stackdriver Logging

I am trying to use Stackdriver Logging in my spring boot project. Using the Java Client Library for Logging.
Have added the maven dependency and am trying to post data to my Stackdriver Logging console.
Dependency-
<dependency>
  <groupId>com.google.cloud</groupId>
  <artifactId>google-cloud-logging</artifactId>
  <version>1.64.0</version>
</dependency>

My Code (Rest Controller)-
@PostMapping("/enterLogging")
	public void userAccess(@RequestBody Map<String, String> myMap) throws FileNotFoundException, IOException
	{
		LoggingOptions options = LoggingOptions.newBuilder().setCredentials(ServiceAccountCredentials.fromStream(new FileInputStream("*****"))).build();
		logger.info(options.getProjectId());
		Map<String, String> innerMap = new HashMap<String, String>();
		innerMap.put("description", myMap.get("description"));
		innerMap.put("module",myMap.get("module"));
		innerMap.put("source",myMap.get("source"));
		innerMap.put("userID",myMap.get("userID"));
		logger.info("logging for stackdriver");
		try(Logging logging = options.getService()){
			LogEntry firstEntry = LogEntry.newBuilder(JsonPayload.of(innerMap))
								.setLogName("test-log")
								.setResource(MonitoredResource.newBuilder("global").addLabel("project_id",options.getProjectId()).build())
								.build();
			logging.write(Collections.singleton(firstEntry));
		}
		catch (Exception e) {
			System.out.println("Wrong entry");
		}
	}

Error Trace -
 RuntimeException while executing runnable CallbackListener{com.google.api.core.ApiFutures$1@2f47a26a} with executor MoreExecutors.directExecutor()

java.lang.RuntimeException: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@4b8d44d6[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@1d339d86[Wrapped task = io.grpc.internal.SerializingExecutor@3b638d3d]] rejected from java.util.concurrent.ScheduledThreadPoolExecutor@2664cf42[Shutting down, pool size = 2, active threads = 1, queued tasks = 0, completed tasks = 0]
	at com.google.cloud.logging.LoggingImpl$7.onFailure(LoggingImpl.java:616) ~[google-cloud-logging-1.64.0.jar:1.64.0]
	at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:68) ~[api-common-1.7.0.jar:na]
	at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1052) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:398) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1030) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:871) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:716) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:92) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:398) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1030) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:871) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:716) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.AbstractCatchingFuture.run(AbstractCatchingFuture.java:98) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:398) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1030) ~[guava-26.0-android.jar:na]
	at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:871) ~[guava-26.0-android.jar:na]

Any help or guidance??

@bilalbari you shouldnt be creating autoclosing client in a method. Either you need to create it once and use it or in worst case if you want to create and close in a method then you need to wait till operation completes in a try block. So code should look like below
    try(Logging logging = options.getService()){
      LogEntry firstEntry = LogEntry.newBuilder(JsonPayload.of(innerMap))
          .setLogName("test-log")
          .setResource(MonitoredResource.newBuilder("global").addLabel("project_id",options.getProjectId()).build())
          .build();
      logging.write(Collections.singleton(firstEntry));
      logging.flush();
    }
    catch (Exception e) {
      System.out.println("Wrong entry");
    }

@ajaaym, that makes sense.  It would make sense to keep a Logging logging = options.getService() variable rather than creating a new one for every request.  In this case, it seems like we want autoflush, or even a single RPC rather than waiting for the logger to aggregate all requests into a single RPC.
The Logging.write() wasn't meant for that situation.  Would making LoggingImpl.writeAsync() public help?  I would not put writeAsync() in the Logging interface, so that way power users have access to the method, but will realize that this isn't the standard way of using the client.

On a different note, I see this in LoggingImpl:
  public void write(Iterable<LogEntry> logEntries, WriteOption... options) {
    if (inWriteCall.get() != null) {
      return;
    }
   ...

This means that you can't cache the Logging service.

@sduskis there is a autoflush. Logging.write() is async by default unless WriteSynchronicity is set. I think what we need is another method which returns ApiFuture for every write call rather than returning void. There is similar request related to this as well #4326

@ajaaym Thanks for the help. The error is not happening now. A problem however , the call is executing but nothing is getting logged in my GCP Logging console. It shows no entry in the Stackdriver Console .
Trace -
WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/***/.m2/repository/com/google/protobuf/protobuf-java/3.6.1/protobuf-java-3.6.1.jar) to field java.nio.Buffer.address WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 2019-03-08 11:43:04.004  INFO 42018 --- [nio-8080-exec-2] c.w.a.p.f.a.l.AuditServiceDemoController : About to write 2019-03-08 11:43:05.987  INFO 42018 --- [nio-8080-exec-2] c.w.a.p.f.a.l.AuditServiceDemoController : Written 2019-03-08 11:43:06.004 DEBUG 42018 --- [nio-8080-exec-2] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json, application/json, application/*+json] 2019-03-08 11:43:06.004 DEBUG 42018 --- [nio-8080-exec-2] m.m.a.RequestResponseBodyMethodProcessor : Nothing to write: null body 2019-03-08 11:43:06.005 TRACE 42018 --- [nio-8080-exec-2] o.s.web.servlet.DispatcherServlet        : No view rendering, null ModelAndView returned. 2019-03-08 11:43:06.005 DEBUG 42018 --- [nio-8080-exec-2] o.s.web.servlet.DispatcherServlet        : Completed 200 OK, headers={}
Any help please..

@bilalbari what filter do you have in gcp logging console? can you check under global?

@ajaaym Yes, the logs are showing under global configuration . Thank you so much for the help!


gh-20: Adding pull_request_template.md with minimum guidelines

Added a preliminary md template for PR review

Only to be merged when we have conveyed on something that works and we have incorporated the feedback from this other PR


TypeAssert Error in functions taking structs

Hi,
I was trying to use this package in something I'm working on, but anytime I using the @avx macro in for-loops when the outer-most function is taking a structure instead of matrices, it gives the error: LoadError: TypeError: in typeassert, expected Symbol, got Expr.
For a simplified example to reproduce this, I wrote the following. Here d is a vector representing the diagonal indicies of a diagonal matrix. The last function is supposed to evaluate m.Wt * D where D = Matrix(Diagonal(m.d)).
using LoopVectorization

struct MatHolder{Float64}
    d    :: Vector{Float64}
    Wt   :: Matrix{Float64}
    WtD  :: Matrix{Float64}
end

function MatHolder(
    d   :: Vector{Float64},
    Wt   :: Matrix{Float64})
    l, n = size(Wt)
    WtD = Matrix{Float64}(undef, l, n)
    MatHolder(Ut, d, Wt, WtD, UtD)
end

function MatCalcWtD(m::MatHolder)
    l, n = size(m.Wt)
    @avx for j in 1:n
        for i in 1:l
            m.WtD[i, j] = m.Wt[i, j] * m.d[j]
        end
    end
end

ERROR: LoadError: TypeError: in typeassert, expected Symbol, got Expr

I was wondering if this is expected behavior? I found a workaround, having to write a function that takes matrices as input as below. It is just more convenient to be able to use the @avx directly in my functions since they contain multiple loops evaluating different things.
function WtD!(WtD::Matrix, Wt::Matrix, d::Vector)
     l, n = size(Wt)
     @avx for j in 1:n
        for i in 1:l
            WtD[i, j] = Wt[i, j] * d[j]
        end
    end
end

Thanks!

Hi, thanks for the issue.
This should be a simple fix.

julia> using LoopVectorization

julia> struct MatHolder{Float64}
           d    :: Vector{Float64}
           Wt   :: Matrix{Float64}
           WtD  :: Matrix{Float64}
       end

julia> function MatCalcWtD(m::MatHolder)
           l, n = size(m.Wt)
           @avx for j in 1:n
               for i in 1:l
                   m.WtD[i, j] = m.Wt[i, j] * m.d[j]
               end
           end
       end
MatCalcWtD (generic function with 1 method)

julia> function MatHolder(
           d   :: Vector{Float64},
           Wt   :: Matrix{Float64})
           l, n = size(Wt)
           WtD = Matrix{Float64}(undef, l, n)
           MatHolder(d, Wt, WtD)
       end
MatHolder

julia> mh = MatHolder(rand(23), rand(15,23));

julia> MatCalcWtD(mh)

julia> mh.WtD ≈ mh.Wt .* mh.d'
true

While I know you just posted a minimal example (no Ut or Utd), but I figure I'll point out anyway that for this particular loop, cache bandwidth is going to be more important for all but relatively small matrices, cache bandwidth is more important than the compute kernel. So it's definitely worth benchmarking against something simple like a broadcast for the problem sizes you're working with to make sure you're seeing a benefit.
There should be no real difference for matrices above a certain size, because you'll just be benchmarking the speed of your memory:
julia> mh = MatHolder(rand(1000), rand(1000,1000));

julia> @benchmark MatCalcWtD($mh)
BenchmarkTools.Trial:
  memory estimate:  0 bytes
  allocs estimate:  0
  --------------
  minimum time:     678.449 μs (0.00% GC)
  median time:      682.756 μs (0.00% GC)
  mean time:        682.430 μs (0.00% GC)
  maximum time:     1.032 ms (0.00% GC)
  --------------
  samples:          7320
  evals/sample:     1

julia> @benchmark $mh.WtD .= $mh.Wt .* $mh.d'
BenchmarkTools.Trial:
  memory estimate:  0 bytes
  allocs estimate:  0
  --------------
  minimum time:     687.381 μs (0.00% GC)
  median time:      692.445 μs (0.00% GC)
  mean time:        692.187 μs (0.00% GC)
  maximum time:     1.139 ms (0.00% GC)
  --------------
  samples:          7217
  evals/sample:     1

I tried a few random sizes, and found some (on my computer, from 73-95 rows, e.g. 83 below) where it performed markedly worse:
julia> mh = MatHolder(rand(77), rand(83,77));

julia> @benchmark $mh.WtD .= $mh.Wt .* $mh.d'
BenchmarkTools.Trial:
  memory estimate:  0 bytes
  allocs estimate:  0
  --------------
  minimum time:     1.437 μs (0.00% GC)
  median time:      1.463 μs (0.00% GC)
  mean time:        1.465 μs (0.00% GC)
  maximum time:     2.443 μs (0.00% GC)
  --------------
  samples:          10000
  evals/sample:     10

julia> @benchmark MatCalcWtD($mh)
BenchmarkTools.Trial:
  memory estimate:  0 bytes
  allocs estimate:  0
  --------------
  minimum time:     1.697 μs (0.00% GC)
  median time:      1.747 μs (0.00% GC)
  mean time:        1.749 μs (0.00% GC)
  maximum time:     3.568 μs (0.00% GC)
  --------------
  samples:          10000
  evals/sample:     10

And plenty at smaller sizes where it performed much better
julia> mh.WtD ≈ mh.Wt .* mh.d'
true

julia> mh = MatHolder(rand(15), rand(23,15));

julia> @benchmark MatCalcWtD($mh)
BenchmarkTools.Trial:
  memory estimate:  0 bytes
  allocs estimate:  0
  --------------
  minimum time:     51.501 ns (0.00% GC)
  median time:      52.006 ns (0.00% GC)
  mean time:        52.070 ns (0.00% GC)
  maximum time:     89.211 ns (0.00% GC)
  --------------
  samples:          10000
  evals/sample:     988

julia> @benchmark $mh.WtD .= $mh.Wt .* $mh.d'
BenchmarkTools.Trial:
  memory estimate:  0 bytes
  allocs estimate:  0
  --------------
  minimum time:     250.699 ns (0.00% GC)
  median time:      250.923 ns (0.00% GC)
  mean time:        251.186 ns (0.00% GC)
  maximum time:     294.584 ns (0.00% GC)
  --------------
  samples:          10000
  evals/sample:     365

julia> mh = MatHolder(rand(15), rand(55,15));

julia> @benchmark MatCalcWtD($mh)
BenchmarkTools.Trial:
  memory estimate:  0 bytes
  allocs estimate:  0
  --------------
  minimum time:     77.929 ns (0.00% GC)
  median time:      78.343 ns (0.00% GC)
  mean time:        78.443 ns (0.00% GC)
  maximum time:     101.662 ns (0.00% GC)
  --------------
  samples:          10000
  evals/sample:     972

julia> @benchmark $mh.WtD .= $mh.Wt .* $mh.d'
BenchmarkTools.Trial:
  memory estimate:  0 bytes
  allocs estimate:  0
  --------------
  minimum time:     306.176 ns (0.00% GC)
  median time:      308.992 ns (0.00% GC)
  mean time:        309.325 ns (0.00% GC)
  maximum time:     415.514 ns (0.00% GC)
  --------------
  samples:          10000
  evals/sample:     245

julia> mh = MatHolder(rand(55), rand(15,55));

julia> @benchmark MatCalcWtD($mh)
BenchmarkTools.Trial:
  memory estimate:  0 bytes
  allocs estimate:  0
  --------------
  minimum time:     161.742 ns (0.00% GC)
  median time:      166.761 ns (0.00% GC)
  mean time:        167.035 ns (0.00% GC)
  maximum time:     189.282 ns (0.00% GC)
  --------------
  samples:          10000
  evals/sample:     570

julia> @benchmark $mh.WtD .= $mh.Wt .* $mh.d'
BenchmarkTools.Trial:
  memory estimate:  0 bytes
  allocs estimate:  0
  --------------
  minimum time:     418.060 ns (0.00% GC)
  median time:      418.814 ns (0.00% GC)
  mean time:        419.301 ns (0.00% GC)
  maximum time:     497.261 ns (0.00% GC)
  --------------
  samples:          10000
  evals/sample:     199

Thanks a lot for addressing this so quickly, and for the explanation! Good to know to test if it's worth it based on matrix sizes.

Hi,
Thanks again for addressing the issue quickly. I started trying to use @avx in my own functions that take a struct object I declare which has multiple data structures, but noticed it created a lot of incorrect results. I attached code below to reproduce the issue I'm running into.
I wrote MatCalcWtDW (below) to calculate W' * D * W where D is a diagonal matrix from matrices in a structure, call it MatHolder. So I attempted to use @avx in a loop but it was returning incorrect results.
However, if I write a separate function WDW!that just takes the elements I will use (matrices and vectors) it works correctly. As you can see MatCalcWtDW! is essentially the same as WDW, however MatCalcWtDW! does not give an accurate result. I was wondering if this is a bug or if it is a limitation of the package, since perhaps the matrices in the MatHolder object is stored more closely together and can't be used at the same? Thanks!
using LoopVectorization, Random, LinearAlgebra

struct MatHolder{Float64}
    d       :: Vector{Float64}
    Wt      :: Matrix{Float64}
    WtD     :: Matrix{Float64}
    Wt_D_W  :: Matrix{Float64}
end

function MatHolder(
    d    :: Vector{Float64},
    Wt   :: Matrix{Float64})
    l, n = size(Wt)
    WtD = Matrix{Float64}(undef, l, n)
    Wt_D_W = Matrix{Float64}(undef, l, l)
    MatHolder(d, Wt, WtD, Wt_D_W)
end

function MatCalcWtDW!(m::MatHolder)
    l, n = size(m.Wt)
    fill!(m.Wt_D_W, 0)
    @avx for k in 1: n
        for j in 1:l
            for i in 1:l
                m.Wt_D_W[i, j] += m.Wt[i, k] * m.Wt[j, k] * m.d[k]
            end
        end
    end
end

function WDW!(Wt_D_W::Matrix, Wt::Matrix, d::Vector)
    l, n = size(Wt)
    fill!(Wt_D_W, 0)
    @avx for k in 1: n
        for j in 1:l
            for i in 1:l
                Wt_D_W[i, j] += Wt[i, k] * Wt[j, k] * d[k]
            end
        end
    end
end

Random.seed!(123)
mh = MatHolder(randn(1000), randn(5, 1000))
WtDW = similar(mh.Wt_D_W)
MatCalcWtDW!(mh)
WDW!(WtDW, mh.Wt, mh.d)

julia> wdw = mh.Wt * Matrix(Diagonal(mh.d)) * mh.Wt'
5×5 Array{Float64,2}:
  37.5873   -25.327    -26.359     -8.19119  -26.58
 -25.327     17.3326    -8.41727   26.7578   -52.7484
 -26.359     -8.41727  -69.0864    23.3111    46.3128
  -8.19119   26.7578    23.3111    35.2063   -12.3243
 -26.58     -52.7484    46.3128   -12.3243    69.5888

julia> WtDW
5×5 Array{Float64,2}:
  37.5873   -25.327    -26.359     -8.19119  -26.58
 -25.327     17.3326    -8.41727   26.7578   -52.7484
 -26.359     -8.41727  -69.0864    23.3111    46.3128
  -8.19119   26.7578    23.3111    35.2063   -12.3243
 -26.58     -52.7484    46.3128   -12.3243    69.5888

julia> mh.Wt_D_W
5×5 Array{Float64,2}:
  32.0597    -26.8068  -30.1037     8.39001    0.335627
 -26.8068     17.7005   13.2182    31.5729   -36.1437
 -30.1037     13.2182  -30.562     -8.35705    8.48335
   8.39001    31.5729   -8.35705  -27.5264    -2.64325
   0.335627  -36.1437    8.48335   -2.64325  -14.6313

Okay, that is embarrassing. My fix was, when I encounter an array m.A, to gensym a random new name for that array, and define (before the loop) random_new_name = m.A, and carry on. The problem with random_new_name is that it assumes none of the arrays in the expression alias.
So when m.Wt_D_W[i, j] += ... -> m.Wt_D_W[i, j] = m.Wt_D_W[i, j] + ... -> array1[i, j] = totally_different_array[i, j] + ..., it ended up doing some incorrect.
So the fix was just making sure it assigns consistently mangled names, rather than different ones.
julia> MatCalcWtDW!(mh)

julia> WDW!(WtDW, mh.Wt, mh.d)

julia> wdw = mh.Wt * Matrix(Diagonal(mh.d)) * mh.Wt'
5×5 Array{Float64,2}:
   0.312585   37.1978   -14.7582   71.6087   -0.851866
  37.1978     95.8296   -42.4482    7.92843  58.5385
 -14.7582    -42.4482    31.2782  -15.5189   59.0127
  71.6087      7.92843  -15.5189   31.9927    7.96041
  -0.851866   58.5385    59.0127    7.96041   9.59088

julia> WtDW
5×5 Array{Float64,2}:
   0.312585   37.1978   -14.7582   71.6087   -0.851866
  37.1978     95.8296   -42.4482    7.92843  58.5385
 -14.7582    -42.4482    31.2782  -15.5189   59.0127
  71.6087      7.92843  -15.5189   31.9927    7.96041
  -0.851866   58.5385    59.0127    7.96041   9.59088

julia> mh.Wt_D_W
5×5 Array{Float64,2}:
   0.312585   37.1978   -14.7582   71.6087   -0.851866
  37.1978     95.8296   -42.4482    7.92843  58.5385
 -14.7582    -42.4482    31.2782  -15.5189   59.0127
  71.6087      7.92843  -15.5189   31.9927    7.96041
  -0.851866   58.5385    59.0127    7.96041   9.59088

Great, thanks for fixing this so quickly again!


Actiles

Actiles is the framework for the auto-completion of commands and the selection of attachments.
Land a first version by 1.11.0

Fixed with https://github.com/enricoros/big-AGI/commit/76778c5ab76ab3fcfa07a5cb93954b35ca8aac5e


Last active inaccuracy

Have noticed that I got messages from matches in realtime and their status still says active "xx" hours ago.

Thanks, I've noticed it was inaccurate as well. May be the date parser in utils. I don't have time fix minor bugs atm as I'm busy with other projects. Pull reqs welcome.

For me it says "last active 857 days ago" for all my matches. Is this a known issue?

@khecha @frankkkiiie the api no longer displays last active and all data is wiped to show a 2014 date.

If someone could remove the date from the profile cards that'd be great.

PR: https://github.com/litdevelopers/tinder/pull/30


Add resource requests

What this PR does / why we need it: added resources requests for apps
Which issue this PR fixes (use the format fixes #<issue number>(, fixes #<issue_number>, ...) to automatically close the issue when PR gets merged): fixes #580 and #545
Public facing documentation PR (if applicable)

Special notes for reviewer:

the values for the resource requests and limits are based on what I observed on 3 prod cluster;

the remaining containers without resource requests are rook-ceph (I will fix them from the kubespray repo);

I didn't find a solution for adding resource requests to kube-proxy, kube-apiserver, kube-scheduler and kube-controller. The manifests from kubernetes do not contain this fields and cannot be added or costumized via kubeadm.

sc:

wc:

Checklist:

[x] Added relevant notes to WIP-CHANGELOG.md
[x] Proper commit message prefix on all commits
[ ] Updated the public facing documentation
Is this changeset backwards compatible for existing clusters? Applying:

[ ] is completely transparent, will not impact the workload in any way.
[ ] requires running a migration script.
[x] will create noticeable cluster degradation.
E.g. logs or metrics are not being collected or Kubernetes API server
will not be responding while upgrading.
[ ] requires draining and/or replacing nodes.
[ ] will change any APIs.
E.g. removes or changes any CK8S config options or Kubernetes APIs.
[ ] will break the cluster.
I.e. full cluster migration is required.

Chart checklist (pick exactly one):

[ ] I upgraded no Chart.
[x] I upgraded a Chart and determined that no migration steps are needed.
[ ] I upgraded a Chart and added migration steps.

Pipeline config (if applicable)
If you change some config options (e.g. add/rename variable or change the default value) you may need to update the config used by the pipeline in pipeline/config.

This looks very nice!
Are these numbers very close to the actual usage you have seen, or does this include some slack in case a cluster would need more resources for an app or the usage sometimes spikes a bit?

This looks very nice!
Are these numbers very close to the actual usage you have seen, or does this include some slack in case a cluster would need more resources for an app or the usage sometimes spikes a bit?

@OlleLarsson I added some warnings :)

This looks very nice!
Are these numbers very close to the actual usage you have seen, or does this include some slack in case a cluster would need more resources for an app or the usage sometimes spikes a bit?

@viktor-f  I updated the numbers with what I noticed on the prod clusters
requests = avg usage on the last 7 days
limits = I doubled the requests value or I put a value to cover the observed spikes


Merge pull request #1 from thisrohangupta:Blue-Green-Kubernetes-Stage-Template

Sample Kubernetes Account level Pipeline Templates - Deployments

Base components for the Pipeline Samples for Kubernetes


Feature Request: Add another csv output format

It may be nice to have another csv output like this:

Hash
Username

xxxxxxxx
admin1

xxxxxxxx
user1

yyyyyyyy
serviceadm

yyyyyyyy
printers

...
...

This allows easy sorting and filtering when importing the data to Excel.

JSON output is implemented. Post-processing and flattening by username should be easy with jq.


Added automatic conversions between Celsius and Fahrenheit.

As reported in #669, #160, #155, and #29, SmartIR climate devices export min, max, and target temperature values in the temperature units used to define the device codes, even though HA expects those values to be in the HA instance's units. This produces buggy-looking output such as this:

Note how the current temperature is 77F while the target temperature is 22F.
Although this can be worked around by creating a separate copy of the device codes with all of the values converted to Fahrenheit, that is cumbersome.
This PR proposes storing the target temperature in the HA instance's native units, and converting, rounding, and constraining it only when mapping to IR codes.
To guarantee the correct conversion, device JSON can now specify a temperatureUnit to indicate whether the values are in 'celsius' or 'fahrenheit', and every existing device JSON now defines temperatureUnit. However, the setting is optional; if missing it can reliably be detected based on the temperature range.

This would be a great quality of life feature IMO

I second that.

@vassilis-panos anything we can do to help this land? There doesn't appear to be support for fahreinheit in SmartIR


Write out the secret key from the ENV VAR before running the setup playbook

Right now we are probably using the one generated on rpm install which would be the same for each image.

Closed by https://github.com/ManageIQ/ansible-tower-pods/pull/2


part of tiling sprite getting pixelated on mobile device(webgl)

I've ran into quite weird issue with tilingSprite. the more I move the tileposition the more pixelated it gets(also this only happens on mobile devices, on pc it's fine),
example image:

(the white line is part of tile texture)

PIXI.settings.PRECISION_FRAGMENT = PIXI.PRECISION.HIGH;

Thanks, that seems to have fixed the issue.


pure-prompt: 1.15.0 -> 1.16.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/sindresorhus/pure/releases.
meta.description for pure-prompt is: "Pretty, minimal and fast ZSH prompt"
meta.homepage for pure-prompt is: "https://github.com/sindresorhus/pure"
meta.changelog for pure-prompt is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

directory tree listing: https://gist.github.com/be10f02657f7beb03de571d1eefbd298

du listing: https://gist.github.com/58954c64e51a0a0ca6fcd5d6caa1a8ed

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
pure-prompt

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0w41my77c0nzsrx7hm5gz1wxwnzlr9hb-pure-prompt-1.16.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pure-prompt https://github.com/r-ryantm/nixpkgs/archive/84733f9589df1b893f36338b8734c127190a43fc.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0w41my77c0nzsrx7hm5gz1wxwnzlr9hb-pure-prompt-1.16.0
ls -la /nix/store/0w41my77c0nzsrx7hm5gz1wxwnzlr9hb-pure-prompt-1.16.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

pure-prompt

Maintainer pings
cc @pacien @pablo1107 for testing.

@GrahamcOfBorg eval

@GrahamcOfBorg eval


log, errors: Log file management

Both the log and errors packages create log files. When the logs get really big, then what?
A middleware that creates log files should watch the size of the file (either by file size or number of entries - preferably file size) and gzip it when it gets large, and then start a new file. It could then keep only the last ~5 or so files to conserve disk space, purging the oldest ones when a new one is created.
Since log management spans multiple middlewares, it might be best for each middleware that makes logs to have a field for some sort of log management policy. Perhaps this "LogPolicy" type could be defined in the helper middleware package, which is allowed to be used by the middlewares. A LogPolicy type could define how big to allow each file to become, what to do when a file is full, how many to keep, etc. It could also have methods on it which execute these policies on a log file that gets passed in.
The default policy should probably be a conservative one that will ensure the disk does not become full. We could later build in ways to customize the policy as time permits and needs arise.

As a user.Here is some problem.
1.How to use the route?Just like the keyword location in nginx...
location /xxx {
root /xxx
}
2.When I use root and proxy as same time , the root will be failed
root /
proxy / http://xxxx

It would also be useful to have logging to stdout/stderr for the use in Docker containers.

@hunter I just realized I forgot to document this, but you can actually specify stdout or stderr as the log filename.

Excellent! Good to know :)

I forgot to update this issue, but thanks to work by @evermax this is now implemented as log rolling. See the docs for info.


Help

I have an iPod pro and i can’t compile and VS asks me to download a decoder for
the c language and it doesn’t give anything on the device
Any suggestions for solving the problem?
Version: 1.76.2
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15
Embedder: vscode.dev
Extension version: 0.30.0

vscode.dev doesn't currently support compiling C, please consider using GitHub Codespaces or Remote Tunnels if you would like to be able to compile in your browser.


First pass of deleting code only needed by the old HttpURLConnection.

There's still a lot of refactoring and cleanup possible, but this is an easy first step.

LGTM!


fix: Can't access content displayed off the screen in FluentPopover

🐛 Bug Report
It's difficult to access content in a FluentPopover that displays off the bottom of the screen.
💻 Repro or Code Sample
This problem can be seen on the popover demo page. If the page is resized so that content is displayed off the the bottom of the page, it isn't possible to scroll with middle-click scrolling or use arrow keys. Clicking on the browser scroll bar hides the popover.

The only thing I found that worked is middle clicking on the popover itself and then scrolling. This isn't intuitive.
🤔 Expected Behavior
Scrolling should work. Or perhaps the popover show display above the button if there isn't room below.
😯 Current Behavior
Can't scroll. Content in popover is hard to access.
💁 Possible Solution

🔦 Context

🌍 Your Environment

OS & Device: Windows
Browser: Chrome
.NET: .NET 8

Indeed, I think it would be interesting to add a VerticalThreshold and VerticalThreshold property, to this component, as described in AnchoredRegion. We will create a new PR for that.
This would avoid the display problem caused by the Status-bar taking up screen space and not being detected by Popover.
<FluentPopover Style="width: 300px;" VerticalThreshold="170" AnchorId="myPopoverButton" @bind-Open="_visible">
   ...
</FluentPopover>

https://github.com/microsoft/fluentui-blazor/assets/8350694/5c6fc7c9-c7ab-44be-a361-5f36159872f2
However, once the Popup is displayed on the screen, the rest of the screen cannot be moved. You must click outside the popup to close it.
To use a Popup independent of the rest of the page, there's the AnchoredRegion component, which we use for this Popover. FluentAnchoredRegion has many more configuration attributes.

Fixed with PR mentioned (by adding parameters to set threshold)