A python error despite following all the installation instructions.

When i run panta, it returns:
Traceback (most recent call last):
File "/home/nikhil/mambaforge/envs/panta/bin/panta", line 8, in
sys.exit(main())
File "/home/nikhil/mambaforge/envs/panta/lib/python3.10/site-packages/panta/cli.py", line 413, in main
args.func(args)
AttributeError: 'Namespace' object has no attribute 'func'

Pls run panta with sub command main and add.


Facebook Bridge ID lookup solution

As Facebook made it harder to get the user ID of other users public profiles,
I found only https://lookup-id.com/ as solution to get the user ID, other sites which find the user ID, doesnt work anymore, maybe linking it in the Facebook Bridge description

Please make a PR :)


Fully Crossplatform Support with the Auto Updater

The Settings.json now includes a line for Default Linux File Names and the script can detect your OS you are on to fetch the correct copy of the TwitchExportBuilder.

No clue what happened with that commit #10


Add missing python file to CMakeLists.txt

When issuing the check-onnx-backend-nnpa or check-onnx-numerical-nnpa I get the following error:
===================================================== ERRORS ======================================================
_________________________________________ ERROR collecting Debug/test.py __________________________________________
ImportError while importing test module '/workdir/onnx-mlir/build/test/accelerators/NNPA/backend/Debug/test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
Debug/test.py:35: in <module>
    from inference_backend import (
Debug/inference_backend.py:29: in <module>
    from onnxmlir_node_tests import load_onnxmlir_node_tests
E   ModuleNotFoundError: No module named 'onnxmlir_node_tests'
------------------------------------------------- Captured stderr -------------------------------------------------
  targeting maccel: NNPA
============================================= short test summary info =============================================
 Debug/test.py
1 error in 0.57s
gmake[3]: *** [test/accelerators/NNPA/backend/CMakeFiles/check-onnx-backend-nnpa.dir/build.make:71: test/accelerators/NNPA/backend/CMakeFiles/check-onnx-backend-nnpa] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:19694: test/accelerators/NNPA/backend/CMakeFiles/check-onnx-backend-nnpa.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:19701: test/accelerators/NNPA/backend/CMakeFiles/check-onnx-backend-nnpa.dir/rule] Error 2
gmake: *** [Makefile:7199: check-onnx-backend-nnpa] Error 2

It seems when the onnxmlir_node_tests.py file was added, we forgot to add it to the NNPA CMakeList.txt file which causes the failure. Adding this allows the commands to run as expected.

Jenkins Linux amd64 Build #13054 [push] Update CMakeLists.txt (#... started at 17:33

Jenkins Linux ppc64le Build #12071 [push] Update CMakeLists.txt (#... started at 18:40

Jenkins Linux s390x Build #13078 [push] Update CMakeLists.txt (#... started at 18:33

Jenkins Linux amd64 Build #13054 [push] Update CMakeLists.txt (#... passed after 1 hr 3 min

Jenkins Linux s390x Build #13078 [push] Update CMakeLists.txt (#... passed after 1 hr 30 min

Jenkins Linux ppc64le Build #12071 [push] Update CMakeLists.txt (#... passed after 1 hr 40 min


Missing link

Add Day 6 link to navbar Training drop-down menu

Would love to work on it. However, I see that the page for the day 6 link is not available.
I tried hitting the link https://tidy-mn.github.io/R-camp-penguins/page/day6.html which is similar to other days from 1 to 5.
Can you find the link?

Not needed


[VNDB Nexus] Use VNDB link for metadata

Extension name
VNDB Nexus
Feature Description
I added all of my visual novels with the VNDB link attached to each game, it would be nice if there was an option for the metadata part of the extension to search VNDB using the link attached to each game instead of the default behavior being the name. I noticed it struggles to find a lot of them when pulling for metadata in batches. I imported about 600 visual novels and it found maybe 120.
Screenshots
No response

Trying to get visual studio setup to test it but I think adding these lines to VNDBNexusMetadataProvider.cs in the SearchVisualNovel method should work.
        private void SearchVisualNovel(CancellationToken cancellationToken)
        {
            if (_requestOptions.IsBackgroundDownload)
            {
                var gameName = _requestOptions.GameData.Name;
                var gameLinks = _requestOptions.GameData.Links;

                if (gameLinks != null && gameLinks.Any(link => link.Name.Equals("VNDB", StringComparison.OrdinalIgnoreCase)))
                {
                    var vndbLink = gameLinks.FirstOrDefault(link => link.Name.Equals("VNDB", StringComparison.OrdinalIgnoreCase));
                    var vnID = Regex.Match(vndbLink.Url, @"v\d+");
                    gameName = vnID.Value;
                }

                var searchResults = Task.Run(async () => await GetVnSearchResultsAsync(gameName, cancellationToken))
                    .GetAwaiter()
                    .GetResult();
                var normalizedGameName = gameName.Satinize();

I imported about 600 visual novels and it found maybe 120.

There was a bug that prevented correctly matching games during background metadata import that has been fixed. Additionally, matching also now checks for aliases and alternative titles. Please try downloading metadata for a few titles that failed to find a match again to see if the issue remains.


Update active-directory-conditional-access-policy-connected-applicati…

…ons.md
Third party MDM requirements.

@spunukol : Thanks for your contribution! The author, @MarkusVi, has been notified to review your proposed change.

@GitHubber17 : Thanks for your contribution! The author, @MarkusVi, has been notified to review your proposed change.


Significant frame rate drop when using AVAssetDownloadURLSession to download an AVAsset

I have a requirement to do preloading of video in our app when a thumbnail comes into view. Prescribed way to do this is by using AVAssetDownloadURLSession.
We used this link for reference: https://developer.apple.com/library/content/documentation/AudioVideo/Conceptual/MediaPlaybackGuide/Contents/Resources/en.lproj/HTTPLiveStreaming/HTTPLiveStreaming.html
Upon implementation of this, there is a significant drop in FPS that degrades the user experience massively. If preloading is turned off, UI is always above 50FPS. As soon as we introduce this, while preloading, UI drops down 10-30FPS.
I've tried putting this into a worker and it resulted in no difference.
Please find code below that executes the preloading once called. It is in TypeScript and we are using ng2.
import { isAndroid, isIOS } from "platform";

import { usingSimulator } from "../shared/utils/using-simulator.util";
import { osVersion } from "../shared/utils/os-version.util";

export class SpotAssetManager {

    assets: SpotAssetContainer[] = [];

    private _AVAssetDownloadDelegate: any;
    private _AVAssetDownloadConfig: any;
    private _downloadSession: AVAssetDownloadURLSession;

    private constructor() {

    }

    init() {
        if (isIOS) {
            this._setupDelegate();
        }

    }

    private _setupDelegate() {
        this._AVAssetDownloadDelegate = AVAssetDownloadDelegateImpl.new();
        this._AVAssetDownloadDelegate.wrapper = this;
        this._AVAssetDownloadConfig = NSURLSessionConfiguration.backgroundSessionConfigurationWithIdentifier("downloadIdentifier");
        this._downloadSession = AVAssetDownloadURLSession.sessionWithConfigurationAssetDownloadDelegateDelegateQueue(this._AVAssetDownloadConfig, this._AVAssetDownloadDelegate, null);
    }

    public preloadAsset(asset: FeatureAssetView | TrailerAssetView, percentageToPreload: number): void {

        // Downloading files like this does not work on iOS less than 10 or the simulator.
        // Simulator check only runs if environment is NOT prod to ensure no potential issues.
        if (isIOS) {
            if (osVersion() >= 10 && !usingSimulator()) {
                this.downloadIOSFile(_asset);
            }
    }

    public downloadIOSFile(asset: FeatureAssetView | TrailerAssetView) {
        let _externalFile = this._createExternalFile(asset.src);
        let _downloadTask = AVAssetDownloadURLSession.prototype.assetDownloadTaskWithURLAssetAssetTitleAssetArtworkDataOptions.apply(this._downloadSession, [_externalFile, asset.id, null, null])
        _downloadTask.taskDescription = asset.id;
        _downloadTask.resume();
        // Asset is directly pushed to array as AVFoundation is smart enough to link up this asset and the localFile once its downloaded
        this.assets.push(new SpotAssetContainer(asset, _externalFile, SpotAssetContainerStatus.loading, 0, false));
    }

    private _createExternalFile(externalFileUrl: string): AVURLAsset {
        console.log("externalFileUrl " + externalFileUrl);
        let videoUrl: NSURL = NSURL.URLWithString(externalFileUrl);
        let externalFile = AVURLAsset.alloc().initWithURLOptions(videoUrl, null);
        return externalFile;
    }

export class AVAssetDownloadDelegateImpl extends NSObject implements AVAssetDownloadDelegate {

    wrapper;

    public static ObjCProtocols = [AVAssetDownloadDelegate] // define our native protocols

    URLSessionAssetDownloadTaskDidFinishDownloadingToURL(session: NSURLSession, assetDownloadTask: AVAssetDownloadTask, location: NSURL): void {
        console.log("Finished Downloading " + assetDownloadTask.taskDescription);
    }

    URLSessionAssetDownloadTaskDidLoadTimeRangeTotalTimeRangesLoadedTimeRangeExpectedToLoad?(session: NSURLSession, assetDownloadTask: AVAssetDownloadTask, timeRange: CMTimeRange, loadedTimeRanges: NSArray<NSValue>, timeRangeExpectedToLoad: CMTimeRange): void {

        console.log("Downloading " + assetDownloadTask.taskDescription);
    }

}

Hey @bnussey,
According to Apple documentation when you pass null to the DelegateQueue parameter of sessionWithConfigurationAssetDownloadDelegateDelegateQueue method you are using a serial queue. Serial queues are executing one task at a time, blocking the Main thread until that task is finished.
So you could try initializing an AVAssetDownloadURLSession session in the following way
AVAssetDownloadURLSession.sessionWithConfigurationAssetDownloadDelegateDelegateQueue(this._AVAssetDownloadConfig, this._AVAssetDownloadDelegate, NSOperationQueue.mainQueue);
If this does not work for you you could share a sample project that demonstrates your problem

Hey @KristinaKoeva I've uploaded a sample project here - https://www.dropbox.com/s/6yto3og7171wa9h/preload-video.zip?dl=0
If you run this on a device older than the 7, you will notice a significant frame rate drop. All the relevant code is in item/preload.ts


support inching config for basic (diy) switch

Hello @AlexxIT ,
I've added a couple of entities to basic switches in order to be able to manage their inching feature from HA without the need to go through the ewelink app.
I was able to use the 'send_command' service for the task but then it started to get boring so I've decided to add the feature in code.
Your code is awesome and I was able to grasp the essential structure in no time (I really like it: so elegant!). Flattering apart these are the main points of this PR:

added 2 config entities to (single?) switch devices which are disabled by default:

'pulse': this is a toggle to enable/disable inching
'pulseWidth': this is a NumberEntity (new platform added to your code) to manage the inching duration

tested only in local mode
I guess this PR affects all the single switch entities (but I'm not sure I've correctly 'grasped' the whole picture behind initializers)
I didn't put any check in order to see if the inching feature is available at the device level: just guessed every sonoff switch has it. If not, these entities should not harm anyway unless a user interacts with them and tries to send commands which are not supported by the device
I've used Sonoff RE5V1C as switches in my setup: they're not DIY nor they're binded to the ewelink cloud: they just sit in my private LAN and SonoffLAN is able to work them by just setting their private key in HA configuration.yaml

Thanks! As I can see, you have made an XNumber, but you do not use it.
I don't know if all SPEC_SWITCH can support it, but we will see issues about it.

Thank you @AlexxIT,
Yes, the XNumber entity is a 'leftover' since in the beginning I was trying to implement a very generic entity for any parameter name (like 'pulseWidth')
But then I've discovered setting only 'pulseWidth' was not recognized by the switch and I had to override the generic class in order to set both 'pulse' and 'pulseWidth' in a single call to the device.
The class 'XNumber' is just for reference right now.
Also, with the new NumberEntity model (supporting units conversion) in HA the actual code needs to be updated before 2022.10 (or so I don't remember the deadline right now). Tell me if you want me to work on it since I've already some experience updating my own repo (meross_lan)
As for the max_value I can't really remember (!) By the look of it it's a typing error since it should be just 3600 seconds (1 hour max inching time as per sonoff docs). I'll check with mines


⚠ Bofrost.lu has degraded performance

In 3f84736, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1078 ms

Resolved: Bofrost.lu performance has improved in ec39472 after 8 minutes.


Several Missing Packages in NPM

Many of the components are not in npm, although the readme file tells me it is.
npm i @material/mwc-slider
npm ERR! 404 Not Found: @material/mwc-slider@latest
Best regards

duplicate of #76 ?

yes, thanks duplicate of #76 .
Any updates on the roadmap, when will these components be released ?


[FEATURE] Paginate system queries in v2

Is your feature request related to a problem?
Pagination mechanism in V2 should support system queries like SHOW TABLES or DESCRIBE TABLES.
What solution would you like?
Two options here

Ignore fetch_size parameter for such queries and always return non-paginated response. V1 works so.
Cache entire result set in the cursor and return it paginated.

What alternatives have you considered?
N/A
Do you have any additional context?
N/A

I think option 1 makes sense and we can follow V1. Thanks!


Help, error about the code

hi, when i run the code with the following instruction: bash run/agent.py , i got the following error,  i dont konw why, please  help me about that! thank u
Traceback (most recent call last):
File "r2r_src/train.py", line 470, in
train_val()
File "r2r_src/train.py", line 386, in train_val
train(train_env, tok, args.iters, val_envs=val_envs)
File "r2r_src/train.py", line 132, in train
listner.train(interval, feedback=feedback_method)   # Train interval iters
File "/home/jing/selfmonitoring-agent/r2r_src/agent.py", line 820, in train
self.loss.backward()
File "/home/jing/anaconda2/envs/python3.6/lib/python3.6/site-packages/torch/tensor.py", line 195, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/home/jing/anaconda2/envs/python3.6/lib/python3.6/site-packages/torch/autograd/init.py", line 99, in backward
allow_unreachable=True)  # allow_unreachable flag
RuntimeError: Invalid index in scatterAdd at /opt/conda/conda-bld/pytorch_1579022051443/work/aten/src/TH/generic/THTensorEvenMoreMath.cpp:721

The error seems to say the same thing as "out-of-index", which does not appear before in this proj.
Could you specify the running environment (e.g., Pytorch version, CUDA version, OS system)?

The error seems to say the same thing as "out-of-index", which does not appear before in this proj.
Could you specify the running environment (e.g., Pytorch version, CUDA version, OS system)?

yes， the enviroment is below:
Pytorch version: python3.6
OS system : Ubuntu 18.04
CUDA version:  No Cuda, just on cpu for learning the code

The error seems to say the same thing as "out-of-index", which does not appear before in this proj.
Could you specify the running environment (e.g., Pytorch version, CUDA version, OS system)?

yes， the enviroment is below:
python version: python3.6
Pytorch version: 1.4.0
OS system : Ubuntu 18.04
CUDA version: No Cuda, just on cpu for learning the code

when i use the following enviroment , it also occurs the error , and i really dont know why?
python version: python3.6
pytorch version: 1.2.0
OS system: Ubuntu 16.04
CUDA version: No Cuda, just on cpu for learning the code
the error is  below:

The error seems to say the same thing as "out-of-index", which does not appear before in this proj.
Could you specify the running environment (e.g., Pytorch version, CUDA version, OS system)?

yes， the enviroment is below:
python version: python3.6
Pytorch version: 1.4.0
OS system : Ubuntu 18.04
CUDA version: No Cuda, just on cpu for learning the code
when i use the following enviroment , it also occurs the error , and i really dont know why?
python version: python3.6
pytorch version: 1.4.0
OS system: Ubuntu 16.04
CUDA version: cuda 9.2
the error is  below:

when i use another gpu, the problem sovled, thanks!


[BUG] Setting ssl_certificate_verification => false does not disable all SSL checks

Describe the bug
Not all host checks are disabled if ssl_certificate_verification => false.
To Reproduce
Steps to reproduce the behavior:

Setup Opensearch with SSL (I have mine setup in kubernetes with helm).
Create this logstash.conf config:

input {
  heartbeat {
    id => "hearbeat_alpha"
  }
}

output {
  opensearch {
    hosts => ["https://opensearch-cluster:9200"]
    index => "logstash-test-*"
    user => "${OPENSEARCH_USER}"
    password => "${OPENSEARCH_PASS}"
    ecs_compatibility => "disabled"
    action => "create"

    ssl_certificate_verification => false
  }
}

Start logstash and check the logstash logs to see:

[2022-08-14T07:53:22,009][WARN ][logstash.outputs.opensearch][main] Attempted to resurrect
connection to dead OpenSearch instance, but got an error {:url=>"https://logstash:xxxxxx@opensearch-cluster:9200/",
:exception=>LogStash::Outputs::OpenSearch::HttpClient::Pool::HostUnreachableError,
:message=>"OpenSearch Unreachable: [https://logstash:xxxxxx@opensearch-cluster:9200/]
[Manticore::ClientProtocolException] PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid
certification path to requested target"}

Expected behavior
For testing and development, ssl_certificate_verification => false should disable all checks, regardless of hostname.
Plugins
Stock opensearchproject/logstash-oss-with-opensearch-output-plugin:7.16.3 image
Screenshots
N/A, see reproduction
Host/Environment (please complete the following information):

OpenSearch: 2.2.0
Logstash with OpenSearch plugin 7.16.3
Of NOTE: manticore version 0.8.0

I verified the installed manticore version with:
docker run -it --rm opensearchproject/logstash-oss-with-opensearch-output-plugin:7.16.3 sh -c "cat Gemfile.lock | grep manticore | tail -1"
    manticore (0.8.0-java)

Additional context
I believe this is the same bug as https://github.com/logstash-plugins/logstash-output-elasticsearch/issues/1058.
This was patched in manticore:v0.8.0 but this line should be:
        ssl_options[:verify] = :disable

Here is the manticore PR that restored the legacy behavior where false would not perfom host checks, but :none or :disable would: https://github.com/cheald/manticore/pull/102/files#diff-a42ea9fd698e2bd58fef12c1b0f2ea782b903fb6badfdbcd003ed3ce5e459295R616-R620
This is the version included with opensearchproject/logstash-oss-with-opensearch-output-plugin:7.16.3
I believe this bug was resolved the same way in the elasticsearch plugin via: https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1063/files#diff-1d302f1f1e9a42e33db14f263918b6ddb5bfc848f8c80d2f610f44648f45202d

Any updates on this? i've been running into the same issue, is there a workaround for this?
[2023-08-17T22:36:54,404][WARN ][logstash.outputs.opensearch][main] Attempted to resurrect connection to dead OpenSearch instance, but got an error {:url=>"https://####-####-es-710.###.#####.###:443/", :exception=>LogStash::Outputs::OpenSearch::HttpClient::Pool::HostUnreachableError, :message=>"OpenSearch Unreachable: [https://nisar-dev-es-710.jpl.nasa.gov:443/][Manticore::ClientProtocolException] PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"

this is my logstash configuration:
opensearch {
  hosts => ["https://####-####-es-710.###.#####.###:443/"]

  index => "######"
  document_id => "######"

  ecs_compatibility => disabled

  auth_type => {
    type => "aws_iam"
    region => "us-west-2"
  }

  ssl => true
  ssl_certificate_verification => false
}

i've been toggling ssl_certificate_verification and ssl but still getting those issues
logstash-oss versions used:

logstash-7.13.2
logstash-7.16.3
logstash-8.6.1
logstash-8.9.0

Running Elasticsearch on AWS (7.10.2)

@DustinKLo AFAIK nobody is working on this - want to try to fix it? Please make sure not to copy any non-open-source code.


map temperature units to hass values

https://github.com/OpenZWave/Zwave2Mqtt/issues/357
home assistant uses °C and °F for temperature units instead of plain C and F.
Thus we need to either have zwave2mqtt convert it as part of the hass device JSON template, or handle it on home assistant side to override unit of measurement for every temperature sensor device.
This PR handles it on zwave2mqtt side.

LGTM


Wasm transform

This branch has working wasm plugins but requires a lot of cleanup:

shotover-proxy should depend on shotover-types crate instead of duplicating Message etc.
I designed the current implementation thinking we would want to be able to call into the same wasm instance concurrently, but I just noticed Transform::transform takes mut self so it doesn't seem like we can have multiple Transform::transform calls going concurrently on the same transform instance anyway.

I need to better understand how shotover handles concurrent connections and apply that to the design.

loading system - need to load a wasm file specified in config.
versioning system - call api_version and fail if doesnt return 0.
address the various TODO's

Communications between the wasm transform plugin and shotover occurs as following:

shotover serializes Messages into bincode
shotover requests a memory allocation from the plugin with the size of the bincode.
shotover writes the bincode into the allocated memory.
shotover calls run on the plugin

run deserializes the bincode into a Messages.
run passes Messages to the custom transform which does arbitrary transformations on it and then returns it
run serializes Messages back to bincode and returns the address to it. We can only return one integer so the size is stored in the first 8 bytes of the response.

shotover deserializes the bincode to Messages and stores that in the Wrapper
Continues the transform chain via call_next_transform

There are 3 different rust wasm runtimes: wasmer, wasmtime and lucet

comparison between wasmer and wasmtime: https://wiki.alopex.li/ActuallyUsingWasm
comparison between wasmer and lucet https://wasmer.io/wasmer-vs-lucet

Wasmer seems to be the best one but it is possible we find that another runtime is better suited to our needs.
Advantages for wasmer:

multiple backends: cranelift and llvm (the others only have cranelift)
cross platform (lucet only runs on linux)

Related to https://github.com/shotover/shotover-proxy/issues/120 and https://github.com/shotover/shotover-proxy/issues/108

The work in this PR could be a useful starting point for research into wasm/plugins for shotover.
Personally I would like to see a radically different approach to the one in this PR.
But even if we kept the approach mostly the same we will still need to start from scratch again given all the changes that's happened to shotover in the last 2 years, so I'll go ahead and close this and a new PR can be opened one day.


Typo "Azure CosmosDB"→"Azure Cosmos DB"

https://docs.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-data-mongodb-with-cosmos-db
https://github.com/MicrosoftDocs/azure-dev-docs/blob/master/articles/java/spring-framework/configure-spring-data-mongodb-with-cosmos-db.md
#PingMSFTDocs

@hyoshioka0128 Thanks for the typo fix; merging.


Experiments with Synthetic functions

Could you give some guide lines of the whole section? For instance, is the sparse vector "s_i,j" in this section the same as the one in the proof of Theorem 6 which is a "s-sparse vector x" ?  And why does it contain 5 pairs of weight and feature?

Which "s_i,j" are you referring to?
Based on our theorem, in order to approximate a decision tree of size s, one needs to learn a polynomial of  sparsity s^2/epsilon. In practice, we just pick 5 for every stage; but it might differ based on your application (i.e., the size of the decision tree that is approximating the hyperparameter space).

The first sentence of the 2nd paragraph in Sec. 5.4, "... in i-th stage (i = 0; 1; 2), it has 32^i sparse vectors s_i,j for j = 0, · · · , 32^i − 1."
The answer you gave above means that the Fourier coefficients alpha (in Fig. 1) have at most s^2/epsilon no zeros items and each is at least epsilon/s large (Fact 4), doesn't it?
So, if s_i,j aforementioned means the learned sparse Fourier coefficients, how come it has 32^i different vectors? Is there any reference here?

That's a good question!
So Section 5.4 is a synthetic experiment, which is minimizing an arbitrary function that was defined by ourselves. The main feature of this function is it has a hierarchical structure, so that if you find a good sparse function in the first stage, you are going to do well in later stages. But this is just one simple example, and please don't worry too much about it.
Harmonica could be used for tuning any problems, but may not be as good as other tools (e.g., spearmint) in all cases. Our paper showed that if your problem is approximately a tree, then Harmonica has nice sample complexity and approximation guarantees. That is, Harmonica will do well.
I guess your question is, in the synthetic experiment, the function is dense, not sparse, not meeting our assumptions. So we only showed that if the problem is approximately a tree, Harmonica is good; but we did not say, if the problem is not approximately a tree (e.g., synthetic experiment), Harmonica is not good. In fact, in some cases it could be good as well. Sorry for the confusion!

I get it. Thank you very much.
My another question is that if we let  f_i (line 5) in Algorithm 3 be the same setting in the paper (the expected restriction of f according to the minimizers M_i), how can we do the expectation of a neural network with different hyperparameter configurations, and then use this expected function to do another PSR (Procedure 2) for the latter stage?

That's another nice question :)
You just need to keep t configurations, and for the next stage, you first sample one of the t configurations, and then do uniform random sampling for the remaining hyperparameters. At the end of the stage, you simply run Harmonica on the remaining hyperparameters, without thinking about the t configurations.
By doing that, it's essentially the same as your idea of keeping t neural networks, but you don't need to create the actual network.

This seems that to just use the best hyperparameter would be good enough, right?

Yes, setting t=1 would be good enough, and we just want to make it more general.
I would be happy to know more details about the visit! Please send to<EMAIL_ADDRESS>


filepath for images must be relative to GMScript

this is probably not a problem idk

go fix it lol

thanks


Toasts Not Firing

Hi,
I have followed the instructions but the toasts are not firing. Please assist.
This file is included on the page before close of body tag

My resources/js/app.js

This is my tailwind.config.js. I am not sure if I did this one right?

This is my function call from a controller

Thanks

Can you try Toaster::info('Company created'); instead?

I'm not sure how to do it since there is a redirect, but I have done as below and still nothing happens.
   public function testToast() {         Toaster::info('Company created');         return redirect('/');     }

Are you sure the package is installed correctly? <x-toaster-hub /> should be placed right before the closing <body> tag, but you include that in your JavaScript scripts..?
Does the endpoint make use of the web middleware?
Have you included the app.js bundle properly?

The scripts file is a collection of my scripts and is included just before the </body> closing tag using the reference @include('inc.scripts') that is why I added <x-toaster-hub /> there
It is a standard endpoint so I am assuming it includes the web middleware
I believe I have included the app.js bundle properly with @vite(['resources/css/app.css', 'resources/js/app.js']) in the head section

Are you sure Livewire is working properly? If yes, make sure you are not double redirecting otherwise the toasts in the session get lost.
Can you also run php artisan route:list and tell me which middleware the route is actually making use of?

I have tested Livewire and it appears to be fine. I have one redirect in the function and the redirected route returns a view.
The route is using the web middleware.

I have tested Livewire and it appears to be fine. I have one redirect in the function and the redirected route returns a view.
The route is using the web middleware.

Okay. I'm afraid there's still something wrong with your setup. Can you please create a minimal reproduction repository so I can inspect what's going wrong? Thanks.

Yes please. Thank you. I just sent you an invite for the repo.

The SQL Dump is in the root folder.

Yes please. Thank you. I just sent you an invite for the repo.

I'm sorry. Can you please create a public repository which I can clone without having to join another organization?

Sure. I have made the repo public.

@temwa What browser are you using to work on your app? Safari?

I have Safari, but I am using Chrome.

You should add
@tailwind base;
@tailwind components;
@tailwind utilities;

in your app.css file... This problem has nothing to do with my library. Please be more careful next time.

I was not aware of these declarations being required. Thank you very much. I really appreciate your assistance.


[BUG] New project name notification shows actually the previous name

Describe the bug
When you create a new project, the name in the notification box is actually the previously created project's name.
To Reproduce
Steps to reproduce the behavior:

Make sure you have at least one project created. Add a new one and look at the notification box - the name is from the old one

Expected behavior
The notification box must show the name of the newly created project.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 18.04 LTS
Browser: Chrome
Version: 81.0.4044.138 (Official Build) (64-bit)

Additional context
None.

I've found this to be a system-wide issue for any action that happens via the list/table view, it uses the this.resource.name which is the first item of the table. Needs some plumbing. cc @vladimirpetrov

@vladimirpetrov please test

Fix confirmed, closing the issue.


Can I select another asynchronous, such as Workerman?

This is great and will change PHP
Can I select another asynchronous, For example Workerman or GatewayWorker ?
Could it be simpler or could it be broken down into components like Spring just scaffolding that can load other frameworks or components?For example yii2 Laravel...

This is designed as a modular framework. modules can be enabled/disabled.
Check these modules:

Apache Kafka : https://github.com/suvera/winter-modules/tree/master/winter-kafka
Redis : https://github.com/suvera/winter-modules/tree/master/winter-data-redis
Memcache : https://github.com/suvera/winter-modules/tree/master/winter-data-memcache
Distributed Task Computing Engine : https://github.com/suvera/winter-modules/tree/master/winter-dtce
S3 Like Storage: https://github.com/suvera/winter-modules/tree/master/winter-s3
InMemory databases integrated, such as Apache Ignite, Redis, Memcached, Hazelcast: https://github.com/suvera/winter-memdb
Service Discovery : https://github.com/suvera/winter-eureka

Module can be easily developed.

#[Module]
class IlluminateDatabaseModule implements WinterModule {
	// see implementation examples.
}

Enable it in application.yml
modules:
    -   module: 'dev\winterframework\s3\IlluminateDatabaseModule'
        enabled: true
        configFile: illuminate-db-config.yml

for Workerman or GatewayWorker

I don't have much knowledge on these, but I presume that they are similar to Swoole.
I have no plans at this moment, due to time constraints.  But here is the plan how it can be extended.
currently Swoole is done like this.
class WinterWebSwooleApplication extends WinterApplicationRunner implements WinterApplication {
}

in the similar lines

```phpt
class WinterWebWorkermanApplication extends WinterApplicationRunner implements WinterApplication {
}

class WinterWebGatewayWorkerApplication extends WinterApplicationRunner implements WinterApplication {
}

Swoole isn't very friendly in a development environment
Workerman Swoole has more options like the Spring container
If you need to introduce other frameworks like YII2, what should Laravel do?


FontSize not working

Environment
Windows 10 Pro, 10.0.18362.900
Steps to reproduce
Windows Terminal 1.0.1811.0 -- edit settings.json, add the line below with any quoted numbers to "defaults",
or to any profile, or both;  save settings.json; any active tabs do not change, exit and restart Windows Terminal.
"fontSize" : "24"

(line ends with or without a trailing comma , as needed; no errors reported after saving settings.json and none after restart)
Expected behavior
Font size should change as directed
Actual behavior
Always the same default font size, never changes; same result with or without specifying any "fontFace".
note: ctrl-+ and ctrl-0 always work OK

You may need to remove the " around 24!

Too easy ;)  About everything else requires quotes.
This item relates to early struggles with misleading error messages from additions to settings.json .
After the wakeup to drop quotes there's a mild surprise the parser didn't gripe about them;
might be worth enhancing the parser, possibly reducing duplicates.
fontSize works OK, thanks.

Yeah, we have a couple things coming that’ll make the parser more strict and the settings more obvious. #6590 is a pull request that unifies our JSON parsing around a couple type-checking helpers that’ll carp about things like this, and of course we have #1564 (spec: #6720) for the settings UI that’ll hopefully obviate the need for folks editing JSON.
Thanks for the feedback :)

Excellent.
After seeing an options UI with mintty and the experience editing settings.json, I'd expect a UI for WT settings
will be welcomed.  I'll add votes for options to set scrollbar color and a solid cursor!  (eg rxvt).
FWIW, consider the wide dissent against the HTML tag <blink> and when that was dropped.
Meanwhile, thanks again.

You should really make button "check config" to make user aware that his settings will not apply!
Not just silently discard erroneous config.

So, like this?
(quote from two comments above yours, from @DHowett)

Yeah, we have a couple things coming that’ll make the parser more strict and the settings more obvious. #6590 is a pull request that unifies our JSON parsing around a couple type-checking helpers that’ll carp about things like this, and of course we have #1564 (spec: #6720) for the settings UI that’ll hopefully obviate the need for folks editing JSON.


Test client failing to manage jwt security Unauthorized exceptions

Description
INFO     root:jwt_token_manager.py:273 Invalid token: Not enough segments
ERROR    connexion.middleware.exceptions:exceptions.py:107 <Unauthorized '401: Unauthorized'>
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/jwt/api_jws.py", line 257, in _load
    signing_input, crypto_segment = jwt.rsplit(b".", 1)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/packages/GWKit/gwkitmodules/jwt_token_manager.py", line 265, in check_token
    data = jwt.decode(utf8token, self.jwt_secret, algorithms=self.algorithms)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/jwt/api_jwt.py", line 210, in decode
    decoded = self.decode_complete(
              ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/jwt/api_jwt.py", line 151, in decode_complete
    decoded = api_jws.decode_complete(
              ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/jwt/api_jws.py", line 198, in decode_complete
    payload, signing_input, header, signature = self._load(jwt)
                                                ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/jwt/api_jws.py", line 260, in _load
    raise DecodeError("Not enough segments") from err
jwt.exceptions.DecodeError: Not enough segments

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.12/site-packages/connexion/middleware/swagger_ui.py", line 222, in __call__
    await self.router(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 485, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 806, in app
    await self.default(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/connexion/middleware/swagger_ui.py", line 235, in default_fn
    await self.app(original_scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/connexion/middleware/routing.py", line 154, in __call__
    await self.router(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 485, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 297, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/connexion/middleware/routing.py", line 48, in __call__
    await self.next_app(original_scope, receive, send)
  File "/usr/local/lib/python3.12/site-packages/connexion/middleware/abstract.py", line 264, in __call__
    return await operation(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/connexion/middleware/security.py", line 110, in __call__
    await self.verification_fn(request)
  File "/usr/local/lib/python3.12/site-packages/connexion/security.py", line 577, in verify_fn
    cls._raise_most_specific(errors)
  File "/usr/local/lib/python3.12/site-packages/connexion/security.py", line 621, in _raise_most_specific
    raise status_to_exc[lowest_status_code]
  File "/usr/local/lib/python3.12/site-packages/connexion/security.py", line 569, in verify_fn
    token_info = await token_info
                 ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/connexion/security.py", line 116, in wrapper
    token_info = func(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
  File "/app/main/test/integration/../../authapi.py", line 181, in decode_token
    data_from_token = gwkit.jwt_manager_instance.check_token(token)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/packages/GWKit/gwkitmodules/jwt_token_manager.py", line 274, in check_token
    raise Unauthorized(e)
werkzeug.exceptions.Unauthorized: 401 Unauthorized: Not enough segments
INFO     httpx:_client.py:1026 HTTP Request: POST http://testserver/api-isp/v1/identity/logout "HTTP/1.1 500 Internal Server Error"

Expected behaviour
During a test i expect response will be 401 as it raised
	def test_06_logout_invalid_login(self):
		response = self.client.post(self.base_url+f'/identity/logout', headers={"Authorization": "Bearer %s" % self._invalid_access_token, "Content-Type": "application/json"}, data=json.dumps({}))
		#print(str(response))
		print(str(response.json()))
		assert response.status_code == 401

Actual behaviour
INFO     httpx:_client.py:1026 HTTP Request: POST http://testserver/api-isp/v1/identity/logout "HTTP/1.1 500 Internal Server Error"
 assert response.status_code == 401
 E    assert 500 == 401
 E     +  where 500 = <Response [500 Internal Server Error]>.status_code

Steps to reproduce
Additional info:
Output of the commands:

python --version 3.12
pip show connexion | grep "^Version\:" 3.1

After changing exception type to
raise connexion.exceptions.OAuthProblem(str(e))
Now seems to be working, but is this intended?


Test for new project doesn't use packaged version of schematics

🐞 Bug report
Description
Currently the test for a new project does used the latest version of the schematics pulled from the Scully repo.
It should be using the packaged @develop version.
Also while doing this test, it should pull the @develop version over the @latest

@SanderElias I think this one can be closed now #1312 is closed?

Closing this in favor of: #1312


Missing API clearMemoryCache()

Environment

OS: Windows 10 x64
Node version (node -v): 4.4.7
package version:  ^2.2.21

According to this commit  there should be a method available to clear the page cache called clearMemoryCache().
But when I call page.clearMemoryCache() - it says  [TypeError: page.clearMemoryCache is not a function]
Is this method implemented in phantomjs-node and if so, how do we use it? If not, how do we clear the page cache?

It's not implemented. It's really easy to add it. You could use invokeMethod or add a PR to add it here.


flash_add_block: unaligned block

Hi,
We been using your stlink project in order to program STM32F4XX chips.
Recently we have upgraded the chip on our system to STM32F427VG and one curious thing started to happen. I don't now if this is a bug or something i'm doing wrong.
We are using st-util tool to be able to program the chip thru gdb. Since we changed chip, doing a load on gdb, I get the following error:
flash_add_block: unaligned block
I tried to reverse engineer the source code in order to understand why, and it doesn't make sense. This error happens when:
addr % FLASH_PAGE != 0 || length % FLASH_PAGE != 0
Addr in this case is 0x8020000 and flash page is 128k
length is about 80k which is less than 128k, so this devision doesn't give a zero remaining and it fails.
In order to continue using this tool I had removed the second condition and everything works as expect.
What I can't understand is why, because with the last chip it worked (STM32F405) and the memory layout was exactly the same.
Since I'm not sure if this is a bug or an unpredicted case, I have decided to report my experience.
Thanks for this awesome project.

Fixed in #251 .

Fixed in #251.


Newly created projects don't build on Windows

Describe the bug
I literally don't know what I'm doing wrong. I installed the newest version (2.0) of flutter_rust_bridge_codegen and then created a project. When running it, I get the error below.
Steps to reproduce

Run the project on Windows 11.
Create a project using the CLI (flutter_rust_bridge_codegen create my_app).
Try to run the project.

Logs
[   +5 ms] <- compile package:chatapp/main.dart
[   +1 ms] executing: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S C:\Users\thisi\OneDrive\Dokumente\We(e)b
Stuff\liphium\chatapp\windows -B C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64 -G Visual Studio 17 2022 -A x64 -DFLUTTER_TARGET_PLATFORM=windows-x64
[  +43 ms] -- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22631.
[ +916 ms] -- Configuring done (0.9s)
[ +309 ms] -- Generating done (0.3s)
[  +33 ms] -- Build files have been written to: C:/Users/thisi/OneDrive/Dokumente/We(e)b Stuff/liphium/chatapp/build/windows/x64
[  +15 ms] executing: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe --build C:\Users\thisi\OneDrive\Dokumente\We(e)b
Stuff\liphium\chatapp\build\windows\x64 --config Debug --target INSTALL --verbose
[ +112 ms] MSBuild version 17.6.3+07e294721 for .NET Framework
[ +194 ms] Build started 08.03.2024 14:24:46.
[ +751 ms] Project "C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\INSTALL.vcxproj" on node 1 (default targets).
[        ] Project "C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\INSTALL.vcxproj" (1) is building "C:\Users\thisi\OneDrive\Dokumente\We(e)b
Stuff\liphium\chatapp\build\windows\x64\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[  +41 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +50 ms]   Checking Build System
[  +55 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
[   +3 ms] Done Building Project "C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\ZERO_CHECK.vcxproj" (default targets).
[  +53 ms] Project "C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\INSTALL.vcxproj" (1) is building "C:\Users\thisi\OneDrive\Dokumente\We(e)b
Stuff\liphium\chatapp\build\windows\x64\ALL_BUILD.vcxproj" (3) on node 1 (default targets).
[        ] Project "C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\ALL_BUILD.vcxproj" (3) is building "C:\Users\thisi\OneDrive\Dokumente\We(e)b
Stuff\liphium\chatapp\build\windows\x64\plugins\rust_lib_chatapp\rust_lib_chatapp_cargokit.vcxproj" (4) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Touching "x64\Debug\rust_lib_chatapp_cargokit\rust_lib.BDB642FD.tlog\unsuccessfulbuild".
[   +5 ms] CustomBuild:
[        ]   "The build of 'C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\CMakeFiles\93546235075c2c518944ccf2435ad857\rust_lib_chatapp_cargokit.rule' depends
on 'C:\USERS\THISI\ONEDRIVE\DOKUMENTE\WE(E)B STUFF\LIPHIUM\CHATAPP\BUILD\WINDOWS\X64\PLUGINS\RUST_LIB_CHATAPP\DEBUG\RUST_LIB_CHATAPP.DLL' which is produced by the build of
'C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\CMakeFiles\34d09327d0e9721e135c3ae11b70bac0\rust_lib_chatapp.dll.rule'. The items cannot be built in parallel."
[  +47 ms]   Generating Debug/rust_lib_chatapp.dll, _phony_
[  +25 ms]   b was unexpected at this time.
[  +16 ms] C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(248,5): error MSB8066: Custom build for
'C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\CMakeFiles\34d09327d0e9721e135c3ae11b70bac0\rust_lib_chatapp.dll.rule;C:\Users\thisi\OneDrive\Dokumente\We(e)b
Stuff\liphium\chatapp\build\windows\x64\CMakeFiles\93546235075c2c518944ccf2435ad857\rust_lib_chatapp_cargokit.rule' exited with code 255. [C:\Users\thisi\OneDrive\Dokumente\We(e)b
Stuff\liphium\chatapp\build\windows\x64\plugins\rust_lib_chatapp\rust_lib_chatapp_cargokit.vcxproj]
[   +2 ms] Done Building Project "C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\plugins\rust_lib_chatapp\rust_lib_chatapp_cargokit.vcxproj" (default targets)
-- FAILED.
[        ] Done Building Project "C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\ALL_BUILD.vcxproj" (default targets) -- FAILED.
[        ] Done Building Project "C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\INSTALL.vcxproj" (default targets) -- FAILED.
[  +16 ms] Build FAILED.
[   +2 ms] "C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\INSTALL.vcxproj" (default target) (1) ->
[        ] "C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\ALL_BUILD.vcxproj" (default target) (3) ->
[        ] "C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\plugins\rust_lib_chatapp\rust_lib_chatapp_cargokit.vcxproj" (default target) (4) ->
[        ] (CustomBuild target) ->
[        ]   C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(248,5): error MSB8066: Custom build for
'C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\CMakeFiles\34d09327d0e9721e135c3ae11b70bac0\rust_lib_chatapp.dll.rule;C:\Users\thisi\OneDrive\Dokumente\We(e)b
Stuff\liphium\chatapp\build\windows\x64\CMakeFiles\93546235075c2c518944ccf2435ad857\rust_lib_chatapp_cargokit.rule' exited with code 255. [C:\Users\thisi\OneDrive\Dokumente\We(e)b
Stuff\liphium\chatapp\build\windows\x64\plugins\rust_lib_chatapp\rust_lib_chatapp_cargokit.vcxproj]
[        ]     0 Warning(s)
[        ]     1 Error(s)
[        ] Time Elapsed 00:00:01.07
[  +22 ms] Building Windows application... (completed in 2.730ms)
[+1288 ms] Error: Build process failed.
[        ] "flutter run" took 6.892ms.
[  +25 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:815:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1389:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:355:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:295:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:119:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:90:3)
           <asynchronous suspension>

Expected behavior
No response
Generated binding code
No response
OS
Windows
Version of flutter_rust_bridge_codegen
2.0.0-dev.27
Flutter info
[√] Flutter (Channel stable, 3.19.3, on Microsoft Windows [Version 10.0.22631.3155], locale de-DE)
    • Flutter version 3.19.3 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (16 hours ago), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1

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

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\thisi\AppData\Local\Android\sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

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

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.6.33815.320
    • Windows 10 SDK version 10.0.22000.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code (version 1.86.2)
    • VS Code at C:\Users\thisi\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.54.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3155]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 120.0.6099.227
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 121.0.2277.128

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

! Doctor found issues in 2 categories.

Version of clang++
No response
Additional context
No response

[  +16 ms] C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(248,5): error MSB8066: Custom build for
'C:\Users\thisi\OneDrive\Dokumente\We(e)b Stuff\liphium\chatapp\build\windows\x64\CMakeFiles\34d09327d0e9721e135c3ae11b70bac0\rust_lib_chatapp.dll.rule;C:\Users\thisi\OneDrive\Dokumente\We(e)b
Stuff\liphium\chatapp\build\windows\x64\CMakeFiles\93546235075c2c518944ccf2435ad857\rust_lib_chatapp_cargokit.rule' exited with code 255. [C:\Users\thisi\OneDrive\Dokumente\We(e)b
Stuff\liphium\chatapp\build\windows\x64\plugins\rust_lib_chatapp\rust_lib_chatapp_cargokit.vcxproj]

Hi, it would be great to run flutter run --verbose to see more logs. Usually this looks like a cargokit error (instead of flutter_rust_bridge core error).

The output I sent already uses flutter run --verbose, it just doesn't print very much for some reason.

A quick google for MSB8066 shows things like: https://stackoverflow.com/questions/67031371/flutter-windows-cannot-build-app-error-msb8066, https://github.com/flutter/flutter/issues/133230, etc. Could you please check whether they are related? I am also not sure whether that is a cargokit error, or a general Flutter environment/configuration error.

 Yes it is related, and I'll make sure to never put a space into my path ever again. Thanks for helping me here, though, you were a real life saver!

You are welcome and it's OK!


SAA-1412 enable offender merge updates in preprod and prod.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (1c2b1dc) 86.63% compared to head (100864e) 86.63%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #731   +/-   ##
=========================================
  Coverage     86.63%   86.63%
  Complexity     3463     3463
=========================================
  Files           358      358
  Lines         11853    11853
  Branches       1000     1000
=========================================
  Hits          10269    10269
  Misses         1111     1111
  Partials        473      473

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Move L1 pool name generation out of APCuL1

In preparation for SQLiteL1, move L1 pool auto-naming up to the L1 abstract class. Also, generate pool names that are more likely to be filename-friendly (so SQLite can name its DB after the pools).

Coverage remained the same at 100.0% when pulling 2dff7b3ef63ac2bbd92d280b38ce420c99bb905e on mv-pool-autonaming into 7a3c9243dfbad85cdf5caac600fa5593b6656cf5 on master.


More of a question.

I have used this for my Linux Mint for some time now. I was wondering is there a way to use it (the way it connects to drive and mounts it as a network drive) in Windows? I know that this isn't the place to ask, but I didn't find any definitive answer on the web.

No, I don't think so. Not yet, at least, until Microsoft implements this feature.

Thank you for the response.


change the behavior of goose create to use flag & default to 'sql'

closes #4
# ./goose create
Usage: ./goose create [args...] <migration_name>
  -type="sql": type of migration to create [sql,go]

# ./goose create foo
goose: created /home/phemmer/git/goose/db/migrations/20150522165701_foo.sql

# ./goose create -type sql foo
goose: created /home/phemmer/git/goose/db/migrations/20150522165708_foo.sql

Can we update the readme before merging.

README updated

Looks great :dancer:


Introducing Applitools for visual testing

Hello!
At times maintaining separate visual test cases becomes a tiring task so using your existing examples setup we tried coming up with something that can ease this process. Since we already had e2e tests using Appium drivers for the repository, so I chose to use Appium as the browser test harness, which Applitools has an SDK for. I started off with writing tests for some of the components so it's sort of a "smoke test" but you can add more if you'd like.

Applitools thankfully  provides an SDK  that made it trivial to write tests using Appium. So other than the things I included what you'll need to do is  create your own Applitools account . As an open source tool, this service will be offered to you free with an OSS license.
Here is the quick reference to Applitools: https://applitools.com/
To run Applitools:
Create Applitools account
Go to the menu in the top right corner and click the profile icon on the far right.

Click on "My API Key" and copy your key
Go to your terminal and paste
export APPLITOOLS_API_KEY=Your_API_Key_Here
Go to your directory and run
In your Applitools dashboard you should see the results of your tests

@cla-bot check

Hi,
Just wanted to check if there is an update on this PR? Let me know if any inputs are needed from my side.

Hi,
Awaiting a response on this PR. Let me know if any inputs are needed from my side.

Hey @tjvantoll can we get some eyes on the PR to see if it is available to merge? It looks like it currently has an issue with TravisCI. We have seen this issue with travis before; check out this comment. What can we do to help and see this merged?

@cmwhited @megsachdev Really sorry for the delay on this. We’ve been pretty busy with the 6.0 but that just went out. I’m going to ping some people today and get back with you.

@tjvantoll thank you very much! appreciate the response. let us know if we can help at all

Hey @megsachdev, thank you for detailed information and examples. I will try to fix the travis as soon as possible and proceed with the PR.

@SvetoslavTsenov Thank you so much. That would be really great.

@SvetoslavTsenov did we get a chance to look into the Travis issue? Let us know if we can help out in any way to get this PR merged.

@SvetoslavTsenov echoing @megsachdev here, any update on the Travis CI issues? We would like to get this merged if we can. Thanks!

Hey all! Thanks for the effort so far. The team's concern on this PR is that this service is not publicly available. While we can create a NativeScript account which will be free as a OS product - what should the rest of the users that want to run this application do?
Is there a way to reuse this free key across everybody that wants to work with the Groceries application?

@etabakov great question. My thoughts are that:

the use of Applitools in this case is largely to benefit y'all as maintainers of this lib as you continue to work with it to add/update features and can use Applitools to validate that work and run regression tests against this.
it is not a requirement for the app and if someone who forks the repo wants to use Applitools and setup an account, the infrastructure would be in place for them to do so.

I hope that answers your question. If not, we can discuss further.
Thanks

Our goals is to make the local setup of everything that we do as easy as possible for external contributors - so that they feel welcomed and don't have to put a lot of work in initial set up. With that said, ideal solution would be to share the key. Is this reasonable or not in your opinion?

Understood. From what we can tell, there isn't anything stopping that on your OSS account.

Understood. Sharing the key itself is not an option. You can create multiple users in your OSS account and the user can get their own API key; but I understand that can be cumbersome. Or it is an incredibly useful tool for you to utilize as maintainers as code is being changed and checked in.

@megsachdev can you resolve the conflict with the package.json file here.
@etabakov do we have an answer with the TravisCI issues?
We would really like to get this merged. Thanks.

@cmwhited @megsachdev - first of all, I want to thank you for all the effort you put into creating this PR. I appreciate your desire to contribute to NativeScript and its community.
As I explained in my previous comment - we strive to make our codebase as easy and approachable as possible by the community and this is a core principle for us. This applies for the test codebase as well. Having a dependency to a service that requires registration (even if that's free) is a wall that we don't want to put in front of the NativeScript developers. And managing the free OSS account that you generously provide for the whole community is not a practical approach.
With that said, as much as I value the effort you put together - I don't think that's a change that is acceptable.


Currently the test generates:
2024/06/22 18:34:49 Removing module.mysql_db.time_sleep.wait_for_authorization_policy from Statefile /tmp/terraform-mysql-fscloud-h3ps6g1075953361/examples/fscloud/terraform.tfstate
2024/06/22 18:34:49 Executing: terraform state rm module.mysql_db.time_sleep.wait_for_authorization_policy
TestRunFSCloudExample 2024-06-22T18:34:49Z tests.go:336: ╷
│ Error: Invalid target address
│
│ No matching objects found. To view the available instances, use "terraform
│ state list". Please modify the address to reference a specific instance.
╵

The cause is that the example called the FSCloud module (module.mysql_db) which then called the root (module.mysql_db.module.mysql_db), so for the test it needs to be fully qualified to remove it from the state file.
Release required?

[x] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

The pipeline now shows:
TestRunFSCloudExample 2024-06-28T10:43:39Z retry.go:91: terraform [output -no-color -json]
2024/06/28 10:43:39 Removing module.mysql_db.module.mysql_db.time_sleep.wait_for_authorization_policy from Statefile /tmp/terraform-mysql-fscloud-wirfjd1203411194/examples/fscloud/terraform.tfstate
2024/06/28 10:43:39 Executing: terraform state rm module.mysql_db.module.mysql_db.time_sleep.wait_for_authorization_policy
TestRunFSCloudExample 2024-06-28T10:43:39Z tests.go:336: Removed module.mysql_db.module.mysql_db.time_sleep.wait_for_authorization_policy
Successfully removed 1 resource instance(s).

:tada: This issue has been resolved in version 1.2.10 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Allow reconcile defined on parent

if a kapitan custom resource defines label kapitan.razee.io/Reconcile, apply the value to all of its children.
if the child also defines the label, the child's would take precedence.
kapitan.razee.io/Reconcile=true is still the default when nothing is specified

done in #19


FireBase Phone Number Auth on iOS-11.+

Getting 403 error (Permission_Denied)
{"error":{"code":403,"message":"Requests from this ios client application  are blocked.","errors":[{"message":"Requests from this ios client application  are blocked.","domain":"global","reason":"forbidden"}],"status":"PERMISSION_DENIED"}}
Not sure when i was checking on ios 12 its working fine and when i try same in ios 11. Am getting 403 error code.

@RajaReddyiOS can you please list what SDK version you're using? It'll help us track down any changes that may have been made.

Closing for now. Will reopen with more information.


feat: add peek for development

Fixes #1462

I've tried this and I have some problems 😕
First of all, the whole Gem::Specification.find_all_by_name("peek").first&.activated? doesn't work for me. It always returns false, even if I have it installed. Am I missing anything ? I think you can safely remove all this, and check only if we are in development mode.
Moreover, if I manually remove all this, all I get is a mere brown bar:

So it looks like the sql and the performance bar does not work for me 😕 Also, besides Mysql note that we also support PostgreSQL now 😉
Finally, I think there are other peek plugins which might be interesting: host and gc. I think you should include them too 😃

Didn't want to limit it to development mode, cause maybe someone is interested in running it in test/production. Using define? now, easier to handle :)

Thanks for this PR 👍 My main observations from it are:

We are using webpack for the assets, so try to use that instead of the regular "Rails way" of keeping assets.
I still don't see the point of peek_available?. If I run bundle, then it will be defined, so that will return true (and I need to run bundle otherwise rails will raise an exception). So it will always be available. I guess that you want developers to configure whether they want to use peek or not. For that, maybe you can use an environment variable that you have to set to true in order to use peek ?

@salzig any news on this ?

Closing, but feel free to submit a new PR once you addressed the issues we pointed out. Thanks a lot :+1:


Can't select certain action nodes

After pulling the latest commit in the master branch, all the prompt nodes, as well as condition nodes, have become unselectable.

@alanlong9278 pls have a look

Broken by #2638

@cwhitten I found a trick in DOM order:

elements declared before <svg /> are unreachable
elements declared after <svg /> are reachable

I will fix it


Odd Metadata Hash Behavior

I love how one can access the metadata from an example, but I find it has some odd behavior when treating as a hash. I ran into this when attempting to call slice on it which is a method ActiveSupports adds for extracting out a hash given a set of keys.
example.metadata.slice(:record, :match_requests_on)

This returns a new Metadata hash but it includes the :example_group key as well. Internally Rails is creating a new metadata object and appending the given keys/values to it. I'm assuming the :example_group option is added automatically when creating a new metadata hash. Any chance to change this behavior so example_group isn't added upon instantiating the metadata? Either that or provide a nice to_hash method for converting the metadata to a simple hash.

 I could make it so the :example_group key is treated the same way, but if any code asks for any of those keys before the example is running is running (which would happen in the case of on internal metadata), they'd be included in the dup'd hash.
Curious - what's the harm in having the :example_group key in there?


ChatGoogleGenerativeAI does not support the new "bind_tools" API method

Langchain core recently introduced the new API method bind_tools on the BaseChatModel class and all the internal tool handling that comes with it.
AIMessage and AIMessageChunk instances are also expected to contain the tool call instructions exclusively in "tool_calls" or "tool_call_chunk" attributes.
Google GenAI chat models do not comply with the new API yet, which makes building model agnostic, generic applications cumbersome. It would be nice if all chat models encapsulate tool calls and result handing in the same way.

added with the new release.
closing but please feel free to re-open if you observe any issues.


Bug: plan restart button only appears if there were failed VMs, so there is no way to re-migrate canceled VMs if the rest of the plan succeeded

Per @jortel, the Failed condition on a plan will only be present if at least one VM in the plan failed with errors. If a plan finishes with only succeeded and canceled VMs, that condition will not be present. We currently use that condition to determine if we should show the "Retry" button on a migration plan.
A possible fix would be to show that button if the plan has Failed || (Succeeded && the number of VMs with Succeeded is less than the total number of VMs)

Simpler logic (I guess I was tired yesterday): just check that the plan is not executing and show Restart if there are any VMs in the last migration that have not succeeded


Build size increased in release mode

When i'm adding the agora package in my react native project version 0.72.6 the build increases massively around 150MB which is too big for any application. i made sure by removing the agora package and the build size is normal without this package. any idea how we can reduce the build size in release mode with this package installed in RN app.

I am also facing the same problem. before integrating this agora my app sie is 50 mb and after integrating it goes to 300 + so i done something in build.gradle which was recommended by community issues. but still the app size is above 150 i guess.

please check https://github.com/AgoraIO-Extensions/react-native-agora/issues/604 and https://github.com/AgoraIO-Extensions/react-native-agora/issues/514

please check #604 and #514
i'm still facing the same issue. remember i'm using the react native latest architecture version 0.72.6

@areebshakeel
You can remove the unnecessary extension libraries of the Agora native sdk to reduce the APP size
https://docs.agora.io/en/video-calling/reference/downloads?platform=android#remove-unneeded-plugins
https://docs.agora.io/en/video-calling/reference/downloads?platform=ios#remove-unneeded-plugins


No such version 4.0.2 for library haxelib

Haxelib's latest haxelib.json file says version 4.0.2, but only version 3.3.0 was ever published. As a result there's no easy way to update it:
$ haxelib version
3.3.0
$ haxelib selfupdate
Warning: Command `selfupdate` is deprecated and will be removed in future. Use `haxelib --global update haxelib` instead.
$ haxelib update haxelib
haxelib is up to date
$ haxelib --global update haxelib
haxelib is up to date
$ haxelib install haxelib 4.0.2
Error: No such version 4.0.2 for library haxelib

Installing from git does work, but update really ought to be enough.

Haxelib 4.0.3 has been pushed to haxelib now: https://lib.haxe.org/p/haxelib/4.0.3/, so haxelib update will no longer downgrade haxelib.


basket_performance: allow multiple carries

just allow list rather than single carry

Category_Relations work inclusive of Basket_Performance.

Work complete.


try adding udp ports for transmission

still not getting port open signal

just for the record. it still didn't work after this, i had to restart the vpn-gateway before it recognized the additional udp port was open.


chore: add bitbox to workspace

#221
#220
#219
#218  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rphmeier and the rest of your teammates on  Graphite


Plotly date formatting for English science blogs

Where to find the issue
English language science blog figures which use dates, for example:
"Fig. 9: EDUS – Testing intention by test type (developments over time)" in https://www.coronawarn.app/en/science/2021-08-02-science-blog-3/#41-testing-intention.
This issue is also mentioned in PR https://github.com/corona-warn-app/cwa-website/pull/1979.
Describe the issue
To work around a localization issue, where the month was displayed in German on an English language page, I changed the figure locale from 'de' to 'en'. This has changed the month correctly to an English language month, but the day of the month is still followed by a dot (.) for example "15. Mar". In the display of English dates there should be no dot after the day of the month. Either nothing should be displayed or the day of the month is displayed with ordinal numbers 1st, 2nd, 3rd, 4th, etc., so "15 Mar" or "15th Mar" would be correct.
Suggested change
Implement date formatting for figures created with Plotly for the English language pages which are consistent with English language conventions.

This issue has re-appeared. I will open a new issue to track resolution.

Follow-on issue #2154 opened.


Implement Schduled GC job

add one periodicity job to daily/weekly start  GC.

PR for GC job: https://github.com/vmware/harbor/pull/5268

Close it as PR merged.


Create Cookbook Gallery

Closes #242
This adds a cookbook_gallery_generator.py script to create a gallery from Jupyter notebooks cookbook URLs.
We should refactor the code so that past references to gallery (i.e. yaml_gallery_generator.py and gallery.yaml) are more specific to the resource gallery.  -- Done

I'm not sure this is the right use case?
I though each Cookbook was a self-contained (and already rendered) JupyterBook. So we're not creating a gallery of notebooks, but rather a gallery of websites.

That can be done too.

Talks with @jukent a bit about this today, and I think that we can take advantage of our projectpythia.org domain to name all of the individual cookbooks with the same domain.  Not sure the best naming scheme, though.

I'll address this in the following order:

correct gallery namespace (make sure that works and didn't break anything before adding more code)
add navbar links to the placeholder cookbooks page in Portal and Foundations
create a small cookbooks-gallery.yaml and copy/edit the resource-gallery-generator.py into a new script that works for cookbooks
refractor code that is shared between gallery generators
Figure out the rest of the infrastructure for cookbooks (and update the yaml as needed)

When I look at compare changes i see "3 files changed", but in this PR it says "10 files changed" and includes all changes from #246 Maybe this is a glitch that will resolve itself?

I'm grabbing the thumbnail the same way I did in the resource gallery, but there must be a way to grab it from the site? Our sample yaml entry even has a heading called "thumbnail image"

You can see the gallery at: https://6283df89df11bb0c58c0d00b--projectpythia-org.netlify.app/cookbook-gallery.html
@brian-rose I'll replace the cookbook.md file and links to it with links to the cookbook-gallery page

The gallery works! We can still make some edits to appearance and functionality as we see fit in another PR.

The presentation looks great, @jukent. I will leave it to someone with better technical understanding to give an approval though.

Thanks @clyne It dismissed @brian-rose 's approval when I commited @dcamron 's suggestion.

Looking it over now, but I just wanted to say that the GitHub diff is showing a bunch of stuff that's already merged (probably because this contains commits from the other PR). Checking out the PR and doing a local git diff main is producing something much easier to review.

Yes thank you @dopplershift The actual new changes can be seen here: https://github.com/ProjectPythia/projectpythia.github.io/compare/main...jukent:cookbook_gallery?expand=1
I had branched this from the PR where I refactored the gallery_generator code because I was eager to start working before that was merged, but needed all of those changes in place. I thought that once that PR was merged, this wouldn't show those edits as well. I have had issues a few times with this and will try to only branch from main.

I had branched this from the PR where I refactored the gallery_generator code because I was eager to start working before that was merged, but needed all of those changes in place. I thought that once that PR was merged, this wouldn't show those edits as well. I have had issues a few times with this and will try to only branch from main.

Totally makes sense on your end, I would have hoped the UI would have handled it better, but alas. Given some of the things I saw in the UI, I was actually confused that this was mergeable. Regardless, thanks for the cleanup.

Looking it over now, but I just wanted to say that the GitHub diff is showing a bunch of stuff that's already merged (probably because this contains commits from the other PR). Checking out the PR and doing a local git diff main is producing something much easier to review.

@dopplershift any thoughts on why this is happening? I've seen it with other projects and sometimes its because the branch was created from something other than main, and sometimes there is no obvious explanation (a GitHub/Git glitch?)

Looking it over now, but I just wanted to say that the GitHub diff is showing a bunch of stuff that's already merged (probably because this contains commits from the other PR). Checking out the PR and doing a local git diff main is producing something much easier to review.

@dopplershift any thoughts on why this is happening? I've seen it with other projects and sometimes its because the branch was created from something other than main, and sometimes there is no obvious explanation (a GitHub/Git glitch?)

Oops. I see my question has already been answered: branching from something besides main. Any thoughts on best practices here? Should this be avoided? Is it not possible to avoid?

I think it's fine to put something up branched from elsewhere when you have a distinct set of changes that still need some other work. I think the only thing to adjust is to make sure when it's time for code review (and the other branch is merged) to merge in main/rebase on main.

@brian-rose and anyone else, is this good to merge? I'm hoping to merge it before I create the branch to add badges so that I don't have a repeat of extra files changed appearing in the PR.

@jukent I'm just spinning back up after a couple weeks' vacation, so I'm sorry if I'm missing something, but I'm wondering if we need to better describe / distinguish the purposes of "Pythia Cookbooks" and "Pythia Cookbooks Gallery"?

@ktyle As I understand it, each "Pythia Cookbook" is its own site and the "Pythia Cookbooks Gallery" is a place you can view tiles and links to all of them. Am I misunderstanding something or being inconsistent with my language in this PR?

Also my understanding. Maybe it would help to add some text description at the top of the gallery page, as I mentioned above.


Nov 9th is the next event

Motivation
We have the next event. Updating the text and registration link.

Date change for open mic


Watch!!Here* Novak Djokovic vs Taylor Fritz 2024 LIVE STREAMS ON TV CHANNEL 12 October 2024

How to Watch Novak Djokovic vs. Taylor Fritz at the 2024 Rolex Shanghai Masters: Live Stream, TV Channel
Novak Djokovic will face Taylor Fritz in the semifinals of the 2024 ATP Shanghai Rolex Masters on Saturday, October 12.
[🔴📺 GO LIVE==►► CLICK HERE TO WATCH LIVE
[🔴📺 STREAMING==►► CLICK HERE TO WATCH LIVE
Djokovic, coming off a tough three-set win over Jakub Mensik, will be looking to maintain his dominance over Fritz. Djokovic has a perfect 9-0 head-to-head record against Fritz, with the American managing to win only three sets in their previous encounters.
Fritz, who comfortably defeated David Goffin in the quarterfinals, will aim to reach his first ATP Masters 1000 final. However, overcoming Djokovic's experience and form, especially at this stage, will be a significant challenge.
The match is set to take place at the Qizhong Forest Sports City Arena in Shanghai, with Djokovic favored to advance
Novak Djokovic will meet Taylor Fritz in the Rolex Shanghai Masters semifinals on Saturday, October 12.
His most recent time out, Djokovic fell to Alexei Popyrin 4-6, 4-6, 6-2, 4-6 in the Round of 32 at the US Open on August 30, 2024. Fritz lost his most recent match on September 26, 2024 in the Round of 32 at the Rakuten Japan Open Tennis Championships to Arthur Fils 4-6, 6-3, 3-6.
ovak Djokovic vs. Taylor Fritz: live stream info & TV channel
Tournament: Rolex Shanghai Masters
Round: Semifinal
Date: Saturday, October 12
Live Stream: Watch Tennis Channel on Fubo
Court Surface: Hard
Novak Djokovic vs. Taylor Fritz matchup stats
In three tournaments on hard courts this year, Djokovic has gone 8-3 in matches.
Djokovic has an 85.2% winning percentage in service games on hard courts, and a 28.2% winning percentage in return games (150 of 176 service games, and 50 of 177 return games).
On hard courts, Djokovic has won 36.5% of break points (46 out of 126, which ranks 66th).
Djokovic was beaten in the Round of 32 of his last tournament (the US Open) 4-6, 4-6, 6-2, 4-6 by No. 28-ranked Popyrin on August 30.
Fritz has gone 17-8 through nine tournaments on hard courts this year.
In terms of serve/return winning percentages on hard courts, Fritz has won 87.3% of his games on serve, and 24.5% on return.
Fritz has converted 82 of 215 break points on hard courts (38.1%), and is 18th in break points won.
In the Round of 32 of his most recent tournament (the Rakuten Japan Open Tennis Championships) on September 26, Fritz was beaten by No. 24-ranked Fils 4-6, 6-3, 3-6.
Djokovic vs. Fritz futures odds
Tennis odds courtesy of Tipico Sportsbook. Odds updated Friday at 3:56 PM ET.
Djokovic Odds to Win the 2024 Rolex Shanghai Masters: +175
Fritz Odds to Win the 2024 Rolex Shanghai Masters: +800

vcbcfbfg
▶
➤►
📺📱 Novak Djokovic vs Taylor
📺📱 Novak Djokovic vs Taylor
📺📱 Novak Djokovic vs Taylor
▶
➤►
▶
➤►
▶
📺📱 Novak Djokovic vs Taylor F-BOll
📺📱 Novak Djokovic vs Taylor F-BOll
📺📱 Novak Djokovic vs Taylor F-BOll
➤►
▶
➤►
➤►
➤►
➤►
▶
➤►
📺📱 Novak Djokovic vs Taylor
📺📱 Novak Djokovic vs Taylor
📺📱 Novak Djokovic vs Taylor
➤►
▶
➤►
➤►
▶
➤►
➤►
▶
➤►
➤►
▶
➤►
📺📱 Novak Djokovic vs Taylor
📺📱 Novak Djokovic vs Taylor
📺📱 Novak Djokovic vs Taylor
➤►
▶
➤►
➤►
▶
➤►
➤►
▶
➤►FSDFS


how to update php version in template ?

is there a way to ypdate php versions in the template?

I had the same question and was checking this out the other day. Seems like the latest compatible version for the Ubuntu 16.04 gets installed.
If you want later versions looks like you have to add additional repos after the install.
See link for more info:
https://askubuntu.com/questions/1111922/upgrade-to-the-latest-php-version-in-ubuntu-16-04

@ChrisLopezUK  thanks
my problem is that im using VM Scalesets and updating the controller server components do not rebuild the vm image used nor sync the server configs to the vm instances. in this template only moodle files are synced from the vm contoller.
i am trying to use the most recent stable moodle version. this is the reason i need to update the php version.
:D

https://github.com/Azure/Moodle/blob/master/docs/Manage.md#updating-moodle-codesettings

I'm sorry, I misread the question. You asked about PHP version, not Moodle version. Reopening.

You can perform an in-place upgrade of PHP just as you would any other VM (ssh into individual machines and run an upgrade script). But it is often a good practice to redeploy the infra and migrate data to the new deployment.
PHP is installed at deployment time, here https://github.com/Azure/Moodle/blob/7e3c22fbfad8283f16d31ab175cdde99391f1c03/scripts/install_moodle.sh#L176
@UmakanthOS has done a little work here and may be able to provide more guidance.

thanks
does this mean i need to fork this and replace the artifacts location to my
fork ?
On Tue, Jun 2, 2020 at 12:51 AM Ross Gardler<EMAIL_ADDRESS>wrote:

You can perform an in-place upgrade of PHP just as you would any other VM
(ssh into individual machines and run an upgrade script). But it is often a
good practice to redeploy the infra and migrate data to the new deployment.
PHP is installed at deployment time, here
https://github.com/Azure/Moodle/blob/7e3c22fbfad8283f16d31ab175cdde99391f1c03/scripts/install_moodle.sh#L176
@UmakanthOS https://github.com/UmakanthOS has done a little work here
and may be able to provide more guidance.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Azure/Moodle/issues/188#issuecomment-636982146, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APUS2CAWIZLQWXTT6D4FK23RUPMBDANCNFSM4NPUNVIQ
.

--
Nelson Homer Talag
Consultant
Department of Education
+63.917.831.5668
--
*This communication may contain confidential or privileged information,
and is intended solely for the individual or entity to whom it is
originally addressed. Any disclosure, copying, dissemination, or any action
taken in reliance to it by others, other than the intended recipient, is
strictly prohibited. The opinions, conclusions, and statements expressed in
this message are those of the sender and may not necessarily reflect the
views of the Department of Education.
*

At this time, yes. We will certainly review and merge a pull request adding this to the templates should you do this work.

Sent from my phone, you know what that means - sorry

From: nelsontalag<EMAIL_ADDRESS>Sent: Wednesday, June 3, 2020 1:24:37 AM
To: Azure/Moodle<EMAIL_ADDRESS>Cc: Ross Gardler<EMAIL_ADDRESS>State change<EMAIL_ADDRESS>Subject: Re: [Azure/Moodle] how to update php version in template ? (#188)
thanks
does this mean i need to fork this and replace the artifacts location to my
fork ?
On Tue, Jun 2, 2020 at 12:51 AM Ross Gardler<EMAIL_ADDRESS>wrote:

You can perform an in-place upgrade of PHP just as you would any other VM
(ssh into individual machines and run an upgrade script). But it is often a
good practice to redeploy the infra and migrate data to the new deployment.
PHP is installed at deployment time, here
https://github.com/Azure/Moodle/blob/7e3c22fbfad8283f16d31ab175cdde99391f1c03/scripts/install_moodle.sh#L176
@UmakanthOS https://github.com/UmakanthOS has done a little work here
and may be able to provide more guidance.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Azure/Moodle/issues/188#issuecomment-636982146, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APUS2CAWIZLQWXTT6D4FK23RUPMBDANCNFSM4NPUNVIQ
.

--
Nelson Homer Talag
Consultant
Department of Education
+63.917.831.5668
--
*This communication may contain confidential or privileged information,
and is intended solely for the individual or entity to whom it is
originally addressed. Any disclosure, copying, dissemination, or any action
taken in reliance to it by others, other than the intended recipient, is
strictly prohibited. The opinions, conclusions, and statements expressed in
this message are those of the sender and may not necessarily reflect the
views of the Department of Education.
*
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FMoodle%2Fissues%2F188%23issuecomment-638043131&data=02|01|ross.gardler%40microsoft.com|979872caf22141defdfb08d807978dde|72f988bf86f141af91ab2d7cd011db47|1|0|637267694874251643&sdata=zx9iiOsqfAz9I3dbZOAiQDmxPIMR45oq55d%2FZz1PaYQ%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAB5DAE7U7BEVV6CPQ5OR7LRUYCELANCNFSM4NPUNVIQ&data=02|01|ross.gardler%40microsoft.com|979872caf22141defdfb08d807978dde|72f988bf86f141af91ab2d7cd011db47|1|0|637267694874251643&sdata=VNuziDR01bXLc5h5erY5zos6EZB0zQUCdREgbFy7fBw%3D&reserved=0.

With the Fully configurable deployment ,you have the option to select the PHP versions.supported versions are 7.2,7.3 and 7.4

thanks yes i saw the new template has the latest versions of php and moodle
On Tue, Aug 11, 2020 at 11:28 PM ummadisudhakar<EMAIL_ADDRESS>wrote:

With the Fully configurable deployment ,you have the option to select the
PHP versions.supported versions are 7.2,7.3 and 7.4
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Azure/Moodle/issues/188#issuecomment-672016707, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APUS2CEDF3MB4M2JWVW6YJ3SAFPRLANCNFSM4NPUNVIQ
.

--
Nelson Homer Talag
Consultant
Department of Education
+63.917.831.5668
--
*This communication may contain confidential or privileged information,
and is intended solely for the individual or entity to whom it is
originally addressed. Any disclosure, copying, dissemination, or any action
taken in reliance to it by others, other than the intended recipient, is
strictly prohibited. The opinions, conclusions, and statements expressed in
this message are those of the sender and may not necessarily reflect the
views of the Department of Education.
*

Closing this. Please re-open if needed.


nixos/(raspberrypi|uboot)-builder : fix cross using buildPackages

Motivation for this change
Cross compilation fix.
Things done

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

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

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

Fixed the same issue with raspberrypi-builder.nix as well.


[no-undef]: consider regression

Hey, I just upgraded to v11 and got a lot of 'no-undef' errors in my TypeScript files. I went o investigate what happened and realized that the lines that disabled the 'no-undef' rule were removed in #129.
I figured that it's because typescript-eslint's parser now allows users to specify "libs" available in the global scope, which may have lead to the conclusion this would fix the no-undef duplication error.
However, it doesn't allow users to specify external type packages. So if you any packages that declare global variables, you'll still get no-undef rules.
I decided not to PR because I think this should be evaluated by the team before, but I can definetly help if you guys agree.

I just came across this bug myself; thanks guilhermetod for bringing it up. I was very surprised that this config shipped with the no-undef rule on, since it seems to make no sense in conjunction with TypeScript (at least if you are using TypeScript's strict mode anyway, which I presume most people use).
In my use-case, I am using the somewhat-popular TypeScriptToLua transpiler, which uses type declarations to imply global variables. So I immediately had to turn off the no-undef rule.

Thanks for this reporting this. Removing no-undef was unintentional. Sorry about that. This rule has been restored, along with some other rules already checked by the TypeScript compiler. Cheers!

:tada: This issue has been resolved in version 11.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


vmwarevsphere boot2docker running docker 1.6.0 and docker-machine version 0.2.0

Hi,
i think this is related to #1020 issue. When i create a new docker-machine on a vSphere 5.5 I can not make any command to this machine.
$ docker ps
FATA[0000] Error response from daemon: client and server don't have same version (client : 1.18, server: 1.17)

Lokal versions:
$ docker -v
Docker version 1.6.0, build 4749651
$ docker-machine -v
docker-machine version 0.2.0 (8b9eaf2)

$ docker-machine ssh
                        ##        .
                  ## ## ##       ==
               ## ## ## ##      ===
           /""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ /  ===- ~~~
           \______ o          __/
             \    \        __/
              \____\______/
 _                 _   ____     _            _
| |__   ___   ___ | |_|___ \ __| | ___   ___| | _____ _ __
| '_ \ / _ \ / _ \| __| __) / _` |/ _ \ / __| |/ / _ \ '__|
| |_) | (_) | (_) | |_ / __/ (_| | (_) | (__|   <  __/ |
|_.__/ \___/ \___/ \__|_____\__,_|\___/ \___|_|\_\___|_|
Boot2Docker version 1.5.0, build vmware-support : e883254 - Fri Feb 27 18:00:02 UTC 2015
Docker version 1.5.0, build a8a31ef

I found a dirty workaround. Just Download the the Image from #1034 and rename it to /User/xxx/.docker/machine/cache/boot2docker-1.5.0-GH747.iso and remove all caches.

thanks for this! helps me until next release

Just need to provide the correct URL where the ISO must be downloaded from.
Follow example adopting vmwarefusion driver:
docker-machine create -d vmwarefusion
--vmwarefusion-boot2docker-url https://github.com/cloudnativeapps/boot2docker/releases/download/v1.6.0-vmw/boot2docker-1.6.0-vmw.iso
local-fusion