Got so many errors while fresh install on ubuntu 18.04

Output
errors occured because many of packages/libraries on ubuntu have not been installed

Expected Result
successful install without error

Command
phpbrew --debug install --stdout 7.3 as 7.3-dev +default +intl --

Platform
OS: Ubuntu 18.04
Running PHP: 7.3
Installing PHP: 7.3
After a lot of searching, this is the list of installation that i have to do
sudo apt install libssl-dev
sudo apt install libxml2-dev
sudo apt install libbz2-dev
sudo apt install libmcrypt-dev
sudo apt install libxslt-dev
sudo apt install libcurl4-openssl-dev
sudo apt install libcurl4-gnutls-dev
sudo apt install libreadline-dev
sudo apt install libzip-dev

sorry, i just read the requirement recently
but i still found that i have to install lcov, which is not available in requirement yet
next, i have no error

The extension dependencies are listed on the Requirements page on wiki. Please feel free to add missing extension or dependencies.


Updated the ECS image for EC2 and fargate

Added and updated the ECS image from the old repo.

invalid PR


homework

syntax is correct, something however, isn't working with the mongod connecting to the server.
I tried killing it , and re running. Have the server, mongo and sudo mongod up in my terminal and still not working..
postman does work with just the localhost:300..

got it!!!


Flow response garbled code(流式响应中文乱码问题)

When I call streaming API in Chinese, the response data is garbled in Chinese and the response chunk is as follows:
{"choices":[{"index":0,"message":{"content":"���"}}],"created":1681986084,"id":"chatcmpl-77LhkakJ6N1GF90F2X8aYYB8O6cKv","model":"gpt-3.5-turbo-0301","object":"chat.completion.chunk"}
I saw ResponseBodyCallback class related code, whether should do adjust 58 of the lines in the code, changed to:
reader = new BufferedReader(new InputStreamReader(in, Charset.forName("UTF-8")));

see https://github.com/TheoKanning/openai-java/pull/265

This should be fixed in the next release :+1:


setZoom & getZoom

How can I use zoom function? I am adding custom zoom buttons and I would like to call map.setZoom function when users click my custom zoom button.
var map = new google.maps.Map(document.getElementById('google-container'), map_options);
map.setZoom(map.getZoom()+1)
Thanks.

zoom: function zoom(map, _zoom) {
map.setZoom(_zoom);
}
setZoom is called when you pass a number to zoom props.
    <GoogleMap       zoom={props.zoom}     >

Please refer to Getting Help section in the README.

@shanimal #630 seems to have an answer

@paul-at
The repo of this project is unmaintained more than a year, and we had build new version https://www.npmjs.com/package/@react-google-maps/api
We had rewrite it to TypeScript, and updating it frequently: https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api
You can enjoy autocomplete.
You can see our docs: https://react-google-maps-api-docs.netlify.com/
Also a lot of examples: https://react-google-maps-api-gatsby-demo.netlify.com/ https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api-gatsby-example/src/examples
The bundle size is much smaller: https://bundlephobia.com/result?p=<EMAIL_ADDRESS>Enjoy!


Expose clonedNode in onSortStart

This lets you access the clonedNode variable in the onSortStart callback, which is useful for manually applying styles to the item being moved, as discussed in #175.
I also added an example in the storybook. Delete the onSortStart in my story and see the difference, it goes from:

to

If you'd rather not have the story, I can delete it, leaving behind literally a one line PR :)

Anything I can do to move this along?


This documentation is not clear even for an AWS pro

Page: /setup/install/providers/aws/
Feedback:
It's very difficult to understand these concepts (managed and managing accounts) without any example from the real life. How these concepts map on AWS accounts, AWS resources, IAM accounts etc?
Could you share an example or some test case?
Thanks!

@edwinavalos and @anshrma
Anything I can do to help out with this doc? I have no AWS knowledge, but I'm happy to help you out in any way I can.

@dorbin, thank you very much for your reply.
Could you explain how managed and managing accounts (as the concepts of the Spinnaker's AWS module) map to AWS-accounts?
Then could you describe some use-cases with creating and using managed/managing AWS accounts in Spinnaker and share Clouddriver configuration examples for these use-cases?
Some working examples could really help!
The configuration example we can find in the GitHub repo of the AWS provider is not sufficient at all and doesn't explain the page - there's only one AWS account described in the clouudriver's config.
Thank you in advance!

Well I found this https://www.spinnaker.io/setup/install/providers/aws/aws-ecs/ and I'll try to play around this document but some working config example would really help

To clarify my case is:

An AWS-account
Spinnaker installed on an EC2-instance (debianlocal) in this AWS-account
An ECS-cluster with a managed service in the same AWS-account
My task is to update the ECS-service by the Spinnaker when a new image tag is pushed to the ECR repo (in the same AWS account)


ExternalDNS doesn't/should re-read updated Secrets

Eg: If I replace my google credentials Secret, this translates to an updated file mounted inside the external-dns pod, but external-dns won't re-read the contents unless it is explicitly killed+restarted.  This has led to some confusing debugging sessions.
I would expect ExternalDNS to somehow check the modified times on any input files, and re-read the contents, or just blindly re-read them periodically.

I believe that https://github.com/bitnami/kube-prod-runtime/pull/413 fixes this issue.

For the record, the mentioned PR/fix was merged into BKPR releases 1.2 and 1.3 (and will be available in any other new release).


How to set WebRTC from the Kameleo API?

What would be the proper code syntax form to set the WebRTC for a profile from the Kameleo API?
Also, could your provide some example code?

Here is an example that you can use to set the WebRTC for a profile through the API:
create_profile_request = BuilderForCreateProfile() \
    .for_base_profile(base_profiles[0].id) \
    .set_web_rtc('manual', {
        'privateIp': '<IP_ADDRESS>',
        'publicIp': '123.456.78.90'
    }) \
    .build()
profile = client.create_profile(body=create_profile_request)

These answers are provided from the Kameleo Set WebRTC from API article.


Implement working "hello world" Task + TaskRun

Expected Behavior
A user should be able to create a "hello world" Task that just echoes "hello world" and run it as many times as they like in their k8s cluster by creating TaskRuns.
Requirements:

Test coverage (unit tests + if possible integration tests, may be blocked by #16 )
Docs that explain how to run this Task, with examples
Docs that explain how to debug this (i.e. where to look if it goes wrong)

Actual Behavior
It is possible to get something like this working with Build only, but currently our TaskRun controller does nothing.
Steps to Reproduce the Problem

Deploy the Pipeline CRD + related CRDs to your cluster (note: should be docs on how to do this post kubebuilder)
Create a task like this:

apiVersion: pipeline.knative.dev/v1beta1
kind: Task
metadata:
  name: helloworld-task
  namespace: default
spec:
    buildSpec:
        steps:
            - name: helloworld
              image: busybox
              args: ['echo', 'hello', 'build']

Create a task run like this:

apiVersion: pipeline.knative.dev/v1beta1
kind: TaskRun
metadata:
  name: helloworld-task-run-0
spec:
    taskRef:
        name: helloworldTask
    trigger:
        triggerRef:
            type: manual

Look at the logs from the running container (Note the best docs we have on this at the moment are some of the steps in the Build quick start) - these should contain "hello world"
Observe that the status of the TaskRun has been updated appropriately, e.g. see this example which contains:

Outcomes of individual steps
Started, Completed, and Successful conditions

in the example above, in step (3) should the name of TaskRef be helloworldTask as indicated by the name defined for the task in step (2)
or is that name coming from somewhere else?

in the example above, in step (3) should the name of TaskRef be helloworldTask as indicated by the name defined for the task in step (2)
or is that name coming from somewhere else?

Oh whoops, so in step (3) I think the name should be helloworld-task since that's what the Task is called. Thanks for catching that @pivotal-nader-ziada ! I've updated it, let me know if it still doesn't seem right.

fixed with #86


Switch Bastion controller to controller-runtime and introduce common indexers

How to categorize this PR?

/area dev-productivity scalability
/kind enhancement
What this PR does / why we need it:
Refactor the Bastion controller to controller-runtime.
Also, introduce a new pkg/api/indexer package which hosts functions for adding field indexes to the controller-runtime cache.
The package is commonly used by controller-manager, gardenlet and integration tests, so that we can add indexes in symmetry and without duplication.
Partly co-authored by @timebertt.
Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener/issues/4251
Special notes for your reviewer:
Generally, we want to follow this cookbook while refactoring existing controllers:

Add documentation
Add integration test based on envtest
Switch controller to controller-runtime

Release note:

NONE

/assign
I will review this PR and also address the open suggestions, while @rfranzke is absent.

I have finished my review and pushed a few more commits addressing the open suggestions.
@oliver-goetz @plkokanov PTAL?

@oliver-goetz @plkokanov thanks for your feedback, PTAL :)

/lgtm on my side

/lgtm

/approve

/milestone v1.52


ci: test against go v1.16 + golangci-lint v1.37.1

Pull Request Test Coverage Report for Build 587212308

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

Totals

Change from base Build 564597309:
0.0%

Covered Lines:
6860

Relevant Lines:
6874

💛  - Coveralls


Improved cache.tests.FileBasedCacheTests.test_touch to avoid flakiness due to slow file system access.

I've noticed a recurrent failure in Jenkins' runs where the test_touch for the filesystem cache backend fails (intermittently but often enough that it bothers me). My understanding is that this is caused by the cache expiration happening faster than the test execution, specifically the code:
        self.assertIs(cache.touch("expire1", timeout=4), True)
        time.sleep(2)
        self.assertIs(cache.has_key("expire1"), True)

is flaky in that cache.has_key returns False if the expiration happened faster than the 2 second sleeping plus the file opening, de-pickling and checking for its contents.
This proposal mocks time for this particular test and backend to manually control time and thus ensuring deterministic runs.

This looks plausible. Do you have an example of a fewof the failing test runs for reference?
I'm also wondering if this might be something around test testcase classes being ran in parrallel and sharing the cache or some kinda race condition (as the line before has a smaller timeout, maybe it didn't update).

This looks plausible. Do you have an example of a few of the failing test runs for reference? I'm also wondering if this might be something around test testcase classes being ran in parrallel and sharing the cache or some kinda race condition (as the line before has a smaller timeout, maybe it didn't update).

Thank you @sarahboyce! I haven't stored examples of previous test failures, so I'll monitor the runs and try to gather recent examples.
Regarding whether this is an issue because of the run in parallel, I'm inclined to think is not, because I can describe a scenario where this test, using the actual time, is flaky even when run in isolation. Considering the test is as follows:

    492     def test_touch(self):
    493         # cache.touch() updates the timeout.
    494         cache.set("expire1", "very quickly", timeout=1)
    495         self.assertIs(cache.touch("expire1", timeout=4), True)
    496         time.sleep(2)
    497         self.assertIs(cache.has_key("expire1"), True)
    498         time.sleep(3)
    499         self.assertIs(cache.has_key("expire1"), False)
    500         # cache.touch() works without the timeout argument.
    501         cache.set("expire1", "very quickly", timeout=1)
    502         self.assertIs(cache.touch("expire1"), True)
    503         time.sleep(2)
    504         self.assertIs(cache.has_key("expire1"), True)
    505
    506         self.assertIs(cache.touch("nonexistent"), False)

and considering that the FileBasedCacheTests uses the file-based cache which does file disk reading and writing, if the completion of the cache.touch call plus the actual sleeping for 2 seconds plus the checking of the key "expire1" takes more than 4 seconds, cache.has_key("expire1") will return False. This can be forced when using the ManualTickingTime and having the sleep implementation taking longer than the seconds provided, simulating a slow file writing in touch and a slow file reading in has_key.
I hope the above makes sense!


N35: Quoridor-rs

Part of #1065 (Newsletter 35)

Thanks for review! I requested another PR.

Closing in favour of #1082.


Remove instructions for configuring .NET Core scripting

fixes https://github.com/dotnet/docs/issues/25062
This is no longer necessary, since .NET Core scripting is the default.

Thank you @cartermp !


Replace all occurrences of % character in hook commands.

Fixes #2174

% character replaced only on the first occurance in each of .bowerrc scripts

lgtm!

Thanks @BenMann


Fixing typo in anchor corner

I think theres a small typo in this

Good catch. Thanks!

Thanks @puopg


Support Hosted "Combined Sessions" Endpoint

Support the /data/hosted/combined_sessions endpoint.
This endpoint lists sessions that can be joined as a driver or spectator, and also includes non-league pending sessions for the user.

Implemented in #109


Add sync example

Adds a simple example for using Irmin.Sync and the client to sync a store using the client-server connection. @dinakajoy and I spent a bit of time today trying to work it out so thought it might be worthwhile throwing an example into the repository.

Looks good, thanks!


[Bug fix] Validates that IP address content is non empty

Description
Fixes bug where charm would crash when IP address content was empty.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that validate the behaviour of the software
[ ] I validated that new and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have bumped the version of the library

Is this pr still valid after removing the http_server? @gruyaume

Not required anymore, closing


feat: l10n infrastructure

Summary
Support #189 with vscode-l10n.
Added a pseudoLocalize script.
Note that it only applies to client directory. server is already localized with SAS tooling.
Testing

Checkout branch code
npm install, npm run pseudoLocalize, vsce package
Install the vsix
Install Pseudo Language Language Pack extension
Run Configure Display Language command and switch to the Pseudo Language. (It requires restart)
See UI text provided by the extension are pseudo translated.

Things called with l10n.t should conform to the format of similar items specified in package.nls.json
const Messages = ... should probably only reference keys in package.nls.json. Otherwise, we end up doing something like l10n.t(l10n.t('Message'))

Hi @scottdover,
The package.nls.json file is only for strings in package.json, not source code.
l10n.t directly wrap English message, not "key". @vscode/l10n-dev script scans the source code for strings that wrapped by l10n.t and generate pseudo translations into l10n/bundle.l10n.qps-ploc.json file. Please refer to vscode-l10n documentation for details.
So wrapping l10n.t around Messages is needed for static scanning. Then another l10n.t is used for argument replacement. So it has to be nested l10n.t call. It's not a problem.

Hi @scottdover, any additional questions or concerns or do you think it can be approved? Thanks.

@Zhirong2022 is out of office this week, so I work this PR testing for her.

AC test criteria:
Make sure UI text provided by the extension are pseudo translated in below elements:

Contextmenu
Popup message
Tooltip
SAS Setting syntax help
Command Palette
UI string on SAS content pane
Result tab page title
Verify 1 to 7 in OS: Windows, Mac and Linux

I tested SAS Extension with the the branch code build. All the AC test criteria has been tested and accepted. No regression issue was found. So testing has been completed.

I could see the pseudo langauge support in the latest main branch build. So I verify it accordingly.


CM-183: Blazor WebAssembly Error Boundaries

Looks alright. One little issue to fix, and apply the changes from the review.


ACA transfer not work

native token transfer with balances.transfer, not currencies.transfer.

we do use currencies.transfer to transfer native token.


Layer shape for unknown input size

At the moment, I try to implement an UNet model with a variable input size. Hence, the input_shape of my model is (None, None, 3) (for RGB images with TF backend). The UNet pools a specific layer, processes the downsampled result before it gets upsampled to meet the original size. Next, the original layer and the upsampled layer are concatenated. Here is a pseudocode summary of these operations:
# shape of original layer v: (a, b)
w = MaxPooling2D()(v)  # shape of layer w: (a/2, b/2)
x = Conv2D(padding='same')(w)  # shape of layer x: (a/2, b/2)
y = UpSampling2D()(x)  # shape of layer y: ((a/2)*2, (b/2)*2)
z = Concatenate()([v, y])  # shape of layer z: ((a/2)*2, (b/2)*2)

While this works perfectly fine when both (a, b) are even, I run into problems for an odd shape of v. In such a case, v and y have dissimilar shapes and can't be concatenated. I solved this problem by cropping the layers in case of odd input sizes:
w = MaxPooling2D(padding='same')(v)
x = Conv2D(padding='same')(w)
y = UpSampling2D()(x)
# For w.input_shape = (None, a, b), we crop y by
#    1 row if a is odd, and
#    1 column if b is odd
bottom_crop = 0 if w.input_shape[1] % 2 == 0 else 1
right_crop  = 0 if w.input_shape[2] % 2 == 0 else 1
y2 = Cropping2D(((0, bottom_crop), (0, right_crop)))(y)
z = Concatenate()([v, y2])

Now, this works perfectly fine for all input shapes. But here we come back to my original goal. I want to build this model for a variable (thus unknown) input size. The above code throws an error because w.input_shape[1] is None and thus if w.input_shape[1] % 2 == 0 won't work.
Has anyone an idea how I could handle this problem? Is there anyway to determine the crop only during runtime?

I believe there is no possible solution for this due to the way Tensorflow/Keras builds the model. :(


test testing incorrect function for mutation

forIn and mapValues are testing other functions for mutation in their last tests

Fixed in 0.65.1


Clarify "alias" token value

Does the value of an Alias Token reference the id or the name of another token?
The examples aren't clear, because the cta-background alias in the example uses "{primary-red}", which is both the id and the name of the referenced Token entity.

Thanks for the question @CITguy. The extension looks for the name, and if it can't find it, it will look for the ID.


GH-42042: [Java] Update Unit Tests for Compressions Module

Rationale for this change
Update package from JUnit 4(org.junit) to JUnit 5(org.junit.jupiter).

What changes are included in this PR?

[x]  Replacing org.junit with org.junit.jupiter.api.
[x] Updating Assertions.assertXXX to assertXXX using static imports
[x] Updating annotations such as @After.

@After -> @AfterEach

[x] Doing self review

Are these changes tested?
Yes, existing tests have passed.

Are there any user-facing changes?
No.

GitHub Issue: #42042

cc @lidavidm PR LGTM,  Could please take a look?


Maybe username/password configuration does not work?

Hello. I am trying to write an Azure Function which subscribes to some topics on a MQTT broker, but I am not able to complete the authentication...
I mean: I am using a connection string like:
"MqttConnection": "Server=my.server.com;Username=12345;Password=mypassword"
but if I attach the debugger to the MQTT broker (based on MQTTnet) is see that both username and password in the MqttServer's authentication validator are always null (and so the MQTT broker validator implementation refuses the connection).
Am I forgetting something?
If I modify the broker implementation for accepting any username/password (even null) then everything else works perfectly fine... so I am close to the success, but still missing the authentication part... can anybody help? Thanks.

This format works for me
"MqttConnection": "Server=somemqtt.azurecontainer.io;Tls=false;Username=user1;Password=usepwd;"

A code sample
 /// <summary>
        /// Mqtt triggered by messages received on specific topic.
        /// </summary>
        /// <param name="message">Mqtt message received that triggered the function.</param>
        /// <param name="outMessage">Mqtt reponse output message.</param>
        /// <param name="logger">Logger used to log activity.</param>
        [FunctionName("OnMqtt")]
        public void OnMqttFunction(
        [MqttTrigger("system/device/+/state")] IMqttMessage message,
        [Mqtt] out IMqttMessage outMessage,
        ILogger logger)
        {
            var body = message?.GetMessage();
            var bodyString = Encoding.UTF8.GetString(body);
            logger?.LogInformation($"{DateTime.Now:g} Message for topic {message?.Topic}: {bodyString}");
            outMessage = new MqttMessage(this.configuration.TopicBroadcastAllOut, body, MqttQualityOfServiceLevel.AtLeastOnce, true);
        }

Thank you justoke: probably there was something wrong in the deployment of my function to Azure... now I rebuilt everything and re-deployed to Azure from scratch and everything works fine!
Anyway thank you for your time and kind support! Awesome.


Callback from the Callback ;-)

I would like to monitor how many successful / failed logins happens in my application.
I don't see any way of getting a callback on successful / failed logins?
How would I go about doing that?

Please use the mailing list for questions: https://groups.google.com/forum/?fromgroups#!forum/pac4j-users


frida does not work in dopamine 2.0.6.

frida does not work in dopamine 2.0.6.
Frida ver : 16.2.1
Iphone X 15.2
Please fix it.

Can't reproduce, works fine on my end.

Frida not working for me.
Spawn and attach both not working.


64Bit MSI is not 64Bit

When deploying an MSI through a GPO you have a couple of options for ensuring that the right architecture is deployed to the right machines. The core of this is that the MSI needs to say that it is a 32/64 bit installer.
The only option in a GPO for an MSI is Make this 32-bit X86 application to Win64 machines.
Because the generated MSI from electron-packager is 32bit no matter what I can't stop the 64Bit installer from installing on 32 Bit machines.
I could use WMI filters but it means having 2 GPOs.
Is this a Squirrel problem or an electron-packager issue?

@Arcath electron-packager does not generate MSI files?  Perhaps you meant to raise this on https://github.com/electron/windows-installer?

I did yes! Sorry about that. I made my build script ages ago and haven't touched it since.


Add Model Surgery HOWTO

This HOWTO is from a Colab by @levskaya.

Codecov Report

Merging #1059 (3077e13) into master (b35b60f) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1059   +/-   ##
=======================================
  Coverage   82.02%   82.02%
=======================================
  Files          63       63
  Lines        5112     5112
=======================================
  Hits         4193     4193
  Misses        919      919

Impacted Files
Coverage Δ

flax/__init__.py
100.00% <ø> (ø)

flax/nn/__init__.py
100.00% <ø> (ø)

flax/nn/base.py
92.47% <100.00%> (+0.01%)
:arrow_up:

flax/version.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5223d0...3077e13. Read the comment docs.

This is a great HOWTO, @marcvanzee. I have proposed a few minor suggestions to improve it a little but feel free to ignore them. Thank you

Thanks a lot for your comments! I incorporated them.

Thanks @marcvanzee This is awesome


Support JSR-330

I can see 2 things of interest:

@Qualifier - currently implemented with Tagging. I find the JSR meta-annotation to be less intrusive than the Tagging mechanic. That alone has an added value IMO.
Provider - currently implemented with call-by-name.

Although these features wouldn't be immensely useful as they already have scala-ish equivalents, they could be useful when integrating with java libraries.
What do you think? Would it be useful? doable?

Note about runtime dependencies: let's suppose that we move Tagging away from the macros (#49), and you decide to go for the JSR-330 annotation style, then you could just limit your runtime classpath to javax.inject.jar (2KB).

Tagging has the advantage over @Qualifier as it creates a *distinct type`. That is, you cannot use an instance tagged with the incorrect tag because of Scala's typing rules. I'd like to keep the macro a replacement for hand-writing the constructor calls, where the manual process of finding an instance is in the same way unambiguous as the automatic one. With annotations, you could end up with a couple of instances eligible for using at a given place (using normal typing rules).
Not sure about provider - do you mean using defs for defining dependencies?

As opposed to
class Person(@FirstName firstName: String, @LastName lastName: String)

 // scala & java
new Person("john", "doe")

Again, it's just a matter of giving choice and widening integration possibilities.

Not sure about provider

Take a look at these:

https://github.com/google/guice/wiki/ProviderBindings
https://github.com/google/guice/wiki/InjectingProviders

As for @Qualifier, while I prefer to keep things type-safe and wouldn't use this approach myself, I don't see a reason why macwire couldn't special-case such annotations and use them to narrow down the values to be used for a specific parameter. I don't think a new dependency would be needed, just checking the fully qualified name of the annotation as a string should be enough.
Providers - well these are dependencies defined using a def instaead of a val/lazy val, no?


Start scanning ports automatically when pressing on scanned device

Start scanning ports automatically when pressing on scanned device
When clicking on a device from scan for devices list I would expect that it will start scanning ports for me.
But I need to press Scan each time.
Another thing (maybe it is just me) I would love to see details only about the device, without all the options to scan google.com etc.
Show me all the information that it can give me about the device, ports mac address host name mDNS response time, perhaps option to ping again and option to traceroute.
Dedicated page for the device that I have clicked on.

I'm not sure about the "whether it should start a port scan automatically" because on port scan screen there are plenty of options. First question arises which scan you want to perform. Range? Popular? Custom? Single?
For detail page of device. I was thinking to put something like this in the context popup menu on the host scan list trailing button.

The same scan that it is doing by default when the user press scan.
I think this is not the place for popup menu as it have a lot of information and option to go to other pages and change ports scan settings for example

https://github.com/osociety/vernet/pull/128/files
Work is still pending for building device detail page.

Opened this sub issue to track further development - https://github.com/osociety/vernet/issues/158


Error

Message: Could not be compiled
Error: META was not found

which file did u tried to import


Post-processing redownloads and different options

When --no-post-overwrites option is set (of course with --extract-audio), the video/audio source is still downloaded when there is already an extracted audio file (its extension could be guessed by --audio-format). That would make sense only if --keep-video option is set.
When there is --no-post-overwrites, source file is not deleted for some reason (independently of --keep-video).

Try:
youtube-dl --no-post-overwrites --extract-audio --audio-format mp3 URL
# 2 files are created (mp3 and source), 1 mp3 expected - demonstrates second problem
rm SOURCE-FILE
youtube-dl --no-post-overwrites --extract-audio --audio-format mp3 URL
# source file is redownloaded (problem 1) and not deleted again

Also, is -w option actually doing anything?

I downloaded half a playlist of 100 videos with --extract-audio before computer restarted. Is there anyway I can download the rest of the playlist without redownloading those I already have?

I wish this were fixed. I'm downloading a channel that has 100s of audio files, and it doesn't know to not redownload it.

--download-archive.


Date & time UI & UX

hey @avinash201199
can i work on the date and time UI & UX ? I can make it more attractive and cooler.
would please assign me to this work ??

hey @avinash201199
As per your  information  i deleted that repo and fork it again ..
would you please reassign me this task ..??
I want to work on it. Actually already done . There is merge conflict i think  , So i want to make a new pull request .

hey @avinash201199
As per your  information  i deleted that repo and fork it again ..
would you please reassign me this task ..??
I want to work on it. Actually already done . There is merge conflict i think  , So i want to make a new pull request .


Position user interface and simulation dummies in rust

Position user interface + wired into rust with rust simulating an update with dummies (upon an event from the orderbook).
This does not include closing the position yet.

This shows the change of the position after 10 seconds, simulating the lifecycle to some extent:

We fetch the position initially
We subscribe to notifications for the position handler from the orderbook event in run
We subscribe to notifications for position updates for the flutter event subscriber
We simulate an orderbook event after 10 seconds
We "handle" the event in the position handler and send out a different dummy position
The position is updated in the UI :)

note: I don't know why the color green is broken in the gif 😅

This is how the close button is currently implemented; we can iterate on that if it's too hidden:

bors r+


Access files inside default slot

Is there a way to:

make entrie body dropzone (listen to dragenter, dragleave, etc)
place files inside default slot

@sourenaraya,

I personally would not recommend making your document a drop target, but you could set up your own event listeners and proxy everything off to vue-transmit. It's a bit of a tedious process, as you have to also set up proper tear down unless your component will never be destroyed.

// somewhere in the component that sets up vue-transmit{
{
  data() {
  	return {
  		myListeners: [],
  	}
  },
  mounted() {
  	let vt = this.$refs.vueTransmit
  	let body = document.body
  	// Higher Order Function to wrap a listener and call
  	// e.preventDefault() & e.stopPropagation(), then call the handler.
  	let ePreventStop = fn => {
  		return e => e.preventDefault(), e.stopPropagation(), fn(e)
  	}
  	let evt = "dragend"
  	let fn = vt.handleDragEnd
  	let rmListener = (eventName, handler) => () => body.removeEventListener(eventName, handler)

  	body.addEventListener(evt, fn)
  	this.myListeners.push(rmListener(evt, fn))
  	evt = "dragenter"
  	fn = ePreventStop(vt.handleDragEnter)
  	body.addEventListener(evt, fn)
  	this.myListeners.push(rmListener(evt, fn))
  	evt = "dragover"
  	fn = ePreventStop(vt.handleDragOver)
  	body.addEventListener(evt, fn)
  	this.myListeners.push(rmListener(evt, fn))
  	evt = "dragleave"
  	fn = vt.handleDragLeave
  	body.addEventListener(evt, fn)
  	this.myListeners.push(rmListener(evt, fn))
  	evt = "drop"
  	fn = ePreventStop(vt.handleDrop)
  	body.addEventListener(evt, fn)
  	this.myListeners.push(rmListener(evt, fn))
  },

  destroy() {
  	let rm
  	while ((rm = this.myListeners.shift())) {
  		rm()
  	}
  },
}

If you need to access files inside the default slot, you could always listen for the added-file event and then push a reference to that VTransmitFile object into an array on your component data. Then you'll have access to the files inside the default slot as they are added.

Thanks!
Fun fact (about accessing files outside files slot): last image wont get dataUrl (until another one added) if progress-bar not rendered.

Everything is done async, so unless there's a bug, you're likely reading the dataurl before it's created. Listen for the thumbnail event and pluck them off then. Keep in mind too that the canvas api can't generate thumbnails for all image types (tiff files namely, but also files exceeding a size limit).
Let me know if you can't get that to work because I would consider it a bug otherwise.

Tried to reproduce this behaviour on codepen, but everything works fine.  ¯_(ツ)_/¯
https://codepen.io/anon/pen/jYONBW copy-paste from the docs
https://codepen.io/anon/pen/OzJLgK files outside files slot
https://codepen.io/anon/pen/LeYPeB no progress bar

Well that's interesting... I would say try adding a debugger, but that usually leads to a rather frustrating and unsolicited exploration of vue internals mixed with transpiler indirection. I think I'm right there with you 🤷♂

I believe this is resolved. Feel free to reopen with more questions!


InlayHints makes cursor move left and right position wrong

Use vim

It should target 3, but actually target m
Disable vim

I think z.array(|schema:z.string()) change to z.array(schema:|z.string())
VSCode version: 1.83.1
MacOS 14.0.0
vim extension version: v1.26.1

Would be nice to cover this case

/duplicate


Mark some cops as unsafe

This PR marks Style/DataInheritance as unsafe autocorrect, Style/OpenStructUse as unsafe, and Security/CompoundHash as unsafe.
This PR adds a project spec as the below and marks Style/DataInheritance as unsafe autocorrect:
$ bundle exec rspec spec/project_spec.rb
(snip)

Failures:

  1) RuboCop Project default configuration file does not detect missing `Safe: false` and `SafeAutoCorrect: false`
     Failure/Error:
       expect(unsafe).to(
         be(true),
         "`#{cop_name}` cop should be set `Safe: false` or `SafeAutoCorrect: false` " \
         'because `@safety` YARD tag exists.'
       )

       `Style/DataInheritance` cop should be set `Safe: false` or `SafeAutoCorrect: false` because `@safety` YARD tag exists.
     # ./spec/project_spec.rb:155:in `block (4 levels) in <top (required)>'
     # ./spec/project_spec.rb:151:in `each'
     # ./spec/project_spec.rb:151:in `block (3 levels) in <top (required)>'

Finished in 0.25698 seconds (files took 1.13 seconds to load)
1 example, 1 failure

Failed examples:

rspec ./spec/project_spec.rb:136 # RuboCop Project default configuration file does not detect missing `Safe: false` and `SafeAutoCorrect: false`

Style/OpenStructUse and Security/CompoundHash are also the same.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!


last_login not set via POST /api/v1/authorization/token/

If I request a token via POST /api/v1/authorization/token/ (which is a login in my case), the last_login field of the User model will not be updated or set in the first place. Is this intended?

I think this has been an issue since #53 , would love to see it fixed or set as well

Weird. It's not working for me.

Weird. It's not working for me.

Ah. OK, it is not really related to djoser in my case. This helped. Nevermind!

Ah. OK, it is not really related to djoser in my case. This helped. Nevermind!


chore(ci): add environment sweeper

We just had a CI failure because of an Environment (link) left behind by a previous failed run.
This adds a sweeper for Environments: removing any Environment beginning with test.

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

Project coverage is 78.50%. Comparing base (f3ddd9c) to head (7adc721).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #522      +/-   ##
==========================================
- Coverage   78.57%   78.50%   -0.08%
==========================================
  Files          73       73
  Lines        5606     5606
==========================================
- Hits         4405     4401       -4
- Misses        910      914       +4
  Partials      291      291

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


Screen for checking out specific table ticket.

Complete in https://github.com/jayzamazing/Restaurant-POS/commit/3e964a0e759e8cd099bf1e271823300699040ce2.


请问怎样禁止应用更新完毕后重启呢

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

这是默认行为，暂不支持可选配置。
更新完默认重启体验应该更好吧？

好的，谢谢，目前已解决，我尝试在EAU.download回调里面加了return false。
我在应用更新完后需要退出应用，用其它批处理命令重新启动app.exe以便给process传参，故整了个本地服务来调用.bat文件重启。


iOS  spxerr_mic_error

when   [speechRecognizer startContinuousRecognition]
faile   spxerr_mic_error

This means there is a problem getting audio from the microphone. Can you give some more information, i.e., is your code running on device or on simulator, which version of the SDK are you using, what audio hardware is being used? Thanks!

also - how is this related to issue  #291 ?
is this the same code sample?

resolve

how did you resolve this?

Before use sdk  return on the microphone  [[AVAudioSession sharedInstance] setActive:YES error:&activeError         current effective treatment methods


⚠ Bofrost.at has degraded performance

In 7d5823f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1954 ms

Resolved: Bofrost.at performance has improved in 2ef332e after 11 minutes.


#30 Bowerized library

Bowerized library to address
https://github.com/PawelDecowski/jquery-creditcardvalidator/issues/30
(!)Please, after merging PR, create version tag 0.0.1

This is implemented in just released 1.0.


F-Droid

It would be awesome to make your app available at F-Droid.

Ticket at F-droid
F-droid's Developer docs

bump https://github.com/seht/volumenotification/releases/tag/1.1.1-beta2


OptionParser doesn't parse anything

I just updated to 1.3 from 1.1 and it looks like somewhere in between the OptionParser has stopped working entirely. The following code never evaluates the -t/--test option, but the Received arguments: message prints with the expected array of arguments.
require "option_parser"

puts "Received arguments: #{ARGV}"

OptionParser.parse(ARGV) do |parser|
  parser.on "-t", "--test", "Test option parser" do
    puts "Got argument `-t`/`--test`."
    exit 0
  end

  puts "No matching argument `-t`/`--test` found."
  exit 1
end

On Ubuntu 21.10, Crystal version:
Crystal 1.3.0 [a3ee70ca0] (2022-01-06)

LLVM: 10.0.0
Default target: x86_64-unknown-linux-gnu

I'm pretty sure this is expected. The .parse method executes, comes across the #on method, which essentially registers it as a callback and does not execute immediately. It then goes past that and prints the No matching argument message and subsequently exits. If you remove the exit 1 you can see it prints all three messages if you provide that option.
It's also the same behavior going back to 1.1.1: https://play.crystal-lang.org/#/r/ckmg versus https://play.crystal-lang.org/#/r/ckmh. So if your code isn't working, then there must be something else going on.

Shoot, my mistake. I was a little curious as to how something like this could've gotten past development anyway.


Color functionality added for display of dict and list objects

This addresses the issues #223 and #226

The build fails after adding the pprint functionality for #226

The build keeps failing because of the pprint functionality that has been added.
I will look into this.

Removed the indent of pprint to make it consistent with the tests.

It'd be good if you can merge the two commits @UjjwalAyyangar

Cool! Thanks a lot for working on this. I should have looked better into pprint, what we'd really want for dict and list is to display them in YAML's block format. For lists, this is:
- one
- two
- three

and for dictionaries, this is:
key1: value1
key2: value2
key3: value3

@ankan17 no worries on having to combine commits, github squashes commits automatically:

looks awesome, shining colors 😄 thanks a lot for working on this!


Fix link to babien.co

Oh! Hey hey 👋! Long time no see!! Hope you're doing well nowadays.
Thanks for this quick and easy fix!


Enable ec2_vpc to create vpc's with DNS resolution and hostname

Currently we don't do anything around enable dns, making it difficult to create a new vpc and use it immediately.

+1

I submitted https://github.com/puppetlabs/puppetlabs-aws/pull/421

#421 has been merged.  Closing.


Revert "CLOUD-46419 environment variables are stored in yml"

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1931/


Preserve link status on reinstall/upgrade.

This means if a user has manually brew unlink or brew link --forced something then that status will be preserved after they brew upgrade or brew reinstall that formula.
This generally should make things that are keg-only by default easier to swallow.

could you tell me where in the filesystem this information is stored?
just trying to understand more of homebrew
thanks

ls -l $(brew --prefix)/var/homebrew/linked

thanks for the quick response
so you just create a symlink for the formula into this directory and then check back on demand?

@MikeMcQuaid This has a typo -- install_dependency
linked_keg = Keg.new(df.linked_keg.resolved_path)
keg_was_linked = keg.linked?
linked_keg.unlink

Undefined variable keg.

@ianthehenry Thanks! What command did you hit that running?

@ianthehenry Fixed in 9d55446cd, thanks again.

@MikeMcQuaid That was fast! Both brew install and brew upgrade were failing when the command required installing/upgrading a dependency. (Found it trying to upgrade cairo, which required upgrading libpng). My very-short-term workaround was just installing each dependency manually.


Jaimes giraf

adding GIRAF to the main repo. I have an updated README to include later.

updated README was released


Improve Voice activation mechanism

Hi @nicogbg, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;


Multiple arguments in supense mode leads to infinite rendering

Way to reproduce
https://codesandbox.io/s/serene-kalam-nzkft
Code
import ReactDOM from "react-dom";
import React, { Suspense, useMemo } from "react";
import useSWR from "swr";

async function fetcher() {
  return { name: "useSWR" };
}
function Profile({ id }) {
  const state = useMemo(() => ({ id }), [id]);
  const { data } = useSWR(["/api/user", state, 3], fetcher, { suspense: true });
  return
hello, {data.name}
;
}

function App() {
  return (
    <Suspense fallback={
loading...
}>
      <Profile id={1} />
    </Suspense>
  );
}

const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);

I had the same issue, but I thought I was doing something wrong with useMemo.

I think this is a react issue. Each time react tries to render the suspense children, hooks like useMemo useEffect are totally new.
It's not strange, since "Suspense for Data Fetching" is marked as an "Experimental"  feature, and is classified as a "CONCURRENT MODE (EXPERIMENTAL)" feature.
Maybe it's to early for us to try "Suspense for Data Fetching".

For now,  using JSON.stringify might  works  😂
const _useSWR = require('swr');

function useSWR(key, fn, config) {
  let newKey = key;
  let fetcher = fn;

  // fix https://github.com/zeit/swr/issues/200
  if (Array.isArray(key)) {
    newKey = [key[0], JSON.stringify(key.slice(1))];
    fetcher = (key, args) => fn(key, ...JSON.parse(args));
  }

  return _useSWR(newKey, fetcher, config);
}

Yeah, we've updated the Multiple Arguments section in the README. We don't recommend to use useMemo to memorize query arguments now. You should really do this
const { data } = useSWR(["/api/user", id, 3], fetcher, { suspense: true });

instead of stringify it. 😆

Each time react tries to render the suspense children, hooks like useMemo useEffect are totally new.

Although this is indeed the cause, it might not be a "bug" because in React's docs https://reactjs.org/docs/hooks-reference.html#usememo:

You may rely on useMemo as a performance optimization, not as a semantic guarantee

There's no guarantee that it will always be memorized.

Isn't this the expected behaviour?
The process is something like this:

Components starts rendering, fiber (F1) gets created
Value (V1) gets memoized into associated fiber (F1)
swr gets called and suspends
React discards fiber F1 with it's state and subsequently V1 gets lost
Promise gets resolved
Components starts rendering again, and new fiber (F2) gets created
Value (V2) gets memoized into new fiber (F2)
swr gets called, sees that V1 !== V2 and suspends

I believe this is not a bug, but a desired behaviour from react, since saving and restoring state associated with a component that threw is obviously unsafe

@shuding First off, this library is amazing. I understand that your advice is to use strings, numbers, etc. as the arguments for the key array.
That said, I think there are instances where one of the items in the key array can't be a primitive value. For example, when making a Firestore query, my library does something like this:
const path = 'users'
const where = ['name', '==', props.name]

useSWR([path, where], firestoreHandler)

This is an oversimplified example of course, but I think there will inevitably be cases like this, where you need to pass an array or dictionary as one of the items in the key array.
Since useMemo doesn't provide semantic guarantee, as you mentioned, I'm relying on useMemoOne instead. Does this seem like it would work as a general solution? At the very least, do you think it's safe to use if suspense is false?
Thanks so much!

🎉 Added support for key serialization in #1429 and released as 1.1.0-beta.0, you don't need useMemo anymore:
const { data } = useSWR(["/api/user", { id }, 3], fetcher);

🤯


MudTable: attach empty EventCallback when OnRowMouseEnter/OnRowMouseLeave is not set

Description
This is a fix for #8014.
It optimizes event handling of OnRowMouseEnter/OnRowMouseLeave to reduce SignalR messages in Blazor ServerSide.
How Has This Been Tested?
manually using Docs app + browser tools
Types of changes

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

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

@henon This is the requested PR for #8014. I had to pass an empty EventCallback instead of null, but this worked.

Looking good. Thanks!


lxc publish fails with "Failed to change ACLs .../rootfs/var/log/journal

Required information

Distribution: Mint
Distribution version: 18.1
lxc info:

config:
  images.auto_update_interval: "0"
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
api_status: stable
api_version: "1.0"
auth: trusted
public: false
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    -----END CERTIFICATE-----
  certificate_fingerprint: f00207196bf26cce530e925cc444371b073c4e2f4285b5d64ffdb1bee138ca85
  driver: lxc
  driver_version: 2.0.8
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.10.0-27-generic
  server: lxd
  server_pid: 6687
  server_version: "2.18"
  storage: dir
  storage_version: "1"

Issue description
Trying to publish an Arch Linux container fails with an ACL error. As far as I can tell, the publish command works the first time for the container, but after that, it never works again.
It appears to be at least somewhat disto-specific, since I don't get the same failure with an Ubuntu container. I haven't tried any other distros yet.
Steps to reproduce
Just run:
lxc init images:archlinux imgtest
lxc start imgtest
lxc stop imgtest
lxc publish imgtest --alias foo
lxc image delete foo
lxc publish imgtest --alias foo

The second publish command fails with this error:
error: Failed to change ACLs on /var/lib/lxd/storage-pools/default/containers/imgtest/rootfs/var/log/journal

Reproduced the issue easily enough.
Looks like a bug in the ACL handling code when rewriting the group entries.

stgraber@castiana:~$ lxc init images:archlinux imgtest
Creating imgtest
stgraber@castiana:~$ lxc start imgtest
stgraber@castiana:~$ lxc stop imgtest

stgraber@castiana:~$ sudo zfs mount castiana/lxd/containers/imgtest
stgraber@castiana:~$ sudo getfacl -n /var/lib/lxd/storage-pools/default/containers/imgtest/rootfs/var/log/journal/
getfacl: Removing leading '/' from absolute path names
# file: var/lib/lxd/storage-pools/default/containers/imgtest/rootfs/var/log/journal/
# owner: 1000000
# group: 1000190
# flags: -s-
user::rwx
group::r-x
group:1000004:r-x
group:1000010:r-x
mask::r-x
other::r-x
default:user::rwx
default:group::r-x
default:group:1000004:r-x
default:group:1000010:r-x
default:mask::r-x
default:other::r-x

stgraber@castiana:~$ lxc config set imgtest security.privileged true
stgraber@castiana:~$ lxc start imgtest

stgraber@castiana:~$ sudo getfacl -n /var/lib/lxd/storage-pools/default/containers/imgtest/rootfs/var/log/journal/
getfacl: Removing leading '/' from absolute path names
# file: var/lib/lxd/storage-pools/default/containers/imgtest/rootfs/var/log/journal/
# owner: 0
# group: 190
# flags: -s-
user::rwx
group::r-x
group:4:r-x
group:10:r-x
mask::r-x
other::r-x
default:user::rwx
default:group::r-x
default:group:4:r-x
default:group:10:r-x
default:group:1000004:r-x
default:group:1000010:r-x
default:mask::r-x
default:other::r-x

So this shows that during conversion from unprivileged to privileged, the ACL is converted but the old entry isn't cleared, which means that when converting it again, we're now dealing with an unmappable uid/gid causing the failure.

I'll take a look at the code see if I can easily figure out what we're missing.
If not, I'll need @albertodonato to take a look since he wrote that particular piece of code.


[5.6] Make sure that NSTemporaryDirectory() is included when writableTemporaryDirectory is set.

This is the 5.6 cherry-pick of #3918 and its refinement #3920.
This change makes the sandbox cover the regular "/tmp" and NSTemporaryDirectory() paths.  If environment entries are used to set other temporary directories in the subprocess, then the calling code should pass those to the writableDirectories parameter.
rdar://86150592
(cherry picked from commit 5546a97a5d48ab170b625bede6cd030ba2f1c962 and  3ba330585206c717c6e2067d0a9f24e298ffe88c)

@swift-ci please smoke test

@swift-ci please test

Self-hosted is failing because there is no 5.6 toolchain yet.

This is the 5.6 cherry-pick of #3918 and its refinement #3920.
This change makes the sandbox cover the regular "/tmp" and NSTemporaryDirectory() paths.  If environment entries are used to set other temporary directories in the subprocess, then the calling code should pass those to the writableDirectories parameter.
rdar://86150592
(cherry picked from commit 5546a97a5d48ab170b625bede6cd030ba2f1c962 and  3ba330585206c717c6e2067d0a9f24e298ffe88c)


Vendor: update library-go for ibmcloud provider

Pull in support for ibmcloud added in https://github.com/openshift/library-go/pull/1161

@JoelSpeed ptal

This will make KASO set KAS as --cloud-provider=external when deployed onto IBM. This is required for the IBM CCM integration.
/lgtm

@jonesbr17 can you please resolve the merge conflicts?

No longer needed, this was handled by https://github.com/openshift/cluster-kube-apiserver-operator/pull/1228


Adding icons to command bar items

Q
A

Bug fix?
no

New feature?
yes

New sample?
no

Related issues?
none

What's in this Pull Request?
Added the capability of having icons in the command bar items. Defining a new local custom property "iconName".
Thanks for your contribution! Sharing is caring.

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

Second commit has two intentions:
1 - Make the solution more intuitive, by moving the taxonomy service into a services folder
2 - Improve performance by caching navigation items, so we don't query taxonomy every time the onInit() method is called

Thx Rodrigo, absolutely makes sense, since you should not be hitting taxonomy service on each request. Good adjustments, appreciated.


README file

Create a README file with a description, screenshot, and link to deployed application.

README file updated


pcm.c,amy.c: Fix looping in PCM samples.

The core problem was using PCM_INDEX_FRAC_BITS when it needed to be PCM_INDEX_BITS.
But in the process of trying to figure out how it worked, I think I found a bug with hold_and_modify() continually re-asserting the msynth[osc].feedback field which was being used by pcm_note_off() to indicate when a looping sample should be allowed to play out.
Added a new test, TestPcmLoop, to verify continued correct operation.

👷♂


Inherent design problem with HandleLog function

Problem:
It is allowed by the developer to construct a Entry struct (field are public), but you supply no way to submit the entry to a handler correctly using the HandleLog function.
How?
The Entry struct requires to be finalized, which can only be obtained using the private, which is only called here: https://github.com/apex/log/blob/ff0f66940b829dc66c81dad34746d4349b83eb9e/logger.go#L146 This leaves the developer forced to use the public methods of the Logger struct, which does not support the HandleLog function
Why?
Sometimes the developer may want to have complete control of the logging (e.g. setting the log level of the entry dynamically)
Possible solutions:

Make the finalize function public
Wrap all HandleLog functions and call finalize beforehand
Add HandleLog to the Logger struct and call finalize
Create a wrapper handler which only job is to finalize the entry

You are probably more suited to find a proper solution yourself. Your thoughts?

Hmmm tough call, I feel like exposing .finalize would be a little gross, but I see what you mean. I think the part I dislike the most right now is that Entry.Logger, it would be nice if we could just pass an Entry to the handler without any reference to that

I agree. Finalizing the Entry should be transparent to the developer. But with no gab between the actual Entry and the HandleLog function, figuring out a solution is tricky. Could we possibly do without a finalize method at all? The developer will be responsible for settings the timestamp on the Entry themselves (this would of course still be handled in the higher level functions Info, Warn Error etc.)

Yeah I think that would be fine, I can't remember why I did it this way haha, maybe just a convenience thing but I'm down with that!


Incorporate Fly JSON data

The loaders are still pulling from the old prototype data.

I think its not currently pulling anything?  You might just need to fill in your file location in fly.py:
def load_genes(self):
return []

Yep! It's awaiting a Pull Request review.


Pipeline: support fine grained shuffle

What problem does this PR solve?
Issue Number: ref #6518
Problem Summary:
What is changed and how it works?

refine void buildPipelineExec(PipelineExecGroupBuilder & group_builder, Context & context, size_t concurrency); to void buildPipelineExec(PipelineExecutorStatus & exec_status, PipelineExecGroupBuilder & group_builder, Context & context, size_t concurrency); and PipelineExecGroupBuilder no longer held PipelineExecutorStatus.
Add function getFineGrainedShuffle of PhysicalPlanNode and then Pipeline will use this function to determine whether the execution mode is fine-grained or non-fine-grained.
Add FineGrainedPipelineEvent to support fine grained execution mode.

 *        ┌──non fine grained mode──┐                          ┌──fine grained mode──┐
 *                                            ┌──FineGrainedPipelineEvent◄───FineGrainedPipelineEvent
 * PlainPipelineEvent◄───PlainPipelineEvent◄──┼──FineGrainedPipelineEvent◄───FineGrainedPipelineEvent
 *                                            ├──FineGrainedPipelineEvent◄───FineGrainedPipelineEvent
 *                                            └──FineGrainedPipelineEvent◄───FineGrainedPipelineEvent

support fine grained shuffle in exchange receiver/sender.
add fullstack test for pipeline mode

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/hold

/hold cancel

/run-all-tests

/run-all-tests

/run-all-tests

/cc @windtalker @ywqzzy @yibin87 @guo-shaoge

/run-all-tests

/run-integration-test

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/rebuild

/run-integration-test

/run-integration-test

LGTM， better merge it after code freeze:)

Okay

/hold
merge after code freeze

/hold cancel

/merge


Make map-visitor location pinning an on-demand feature (and fix mobile views)

Closes #60 and #63
Changes
I've factored out the logic to mark the visitor's location to a setVisitorPin() function, which is triggered only on clicking a a new button located beneath the map.
Also the mobile view is fixed here now instead of #68 (does the same job but better).
Please, go through these steps before you submit a PR.

[ ] My Pod Leader knows I'm working on this Pull Request
[x] I've explained what the Pull Request is adding.
[x] I've explained why this is important.

Ready for review. By all means, make the button look better if possible! 😅


getting-started-guides: add CoreOS Tectonic

Are there separate CLAs for this repo vs the regular Kubernetes repo? I have successfully used this email in the past on the other repo.

It should be the same since it's the CNCF. When you went through that process, did you login using your GitHub account or one of the other paths?
This is screenshot of what I see as a confirmation w/ mine:

@chenopis I believe our CTO signed a blanket agreement for the entire company or something of that sort.

@robszumski Ok, cool, so it should have a record of your org. Did you go through the employee path on the CLA site https://identity.linuxfoundation.org/projects/cncf? I'm trying to figure out why the bot is not associating you correctly.

@chenopis No, I don't think I did. Is that required with the blanket agreement?

@robszumski Yes, you should go through the employee path on that site to link your email address w/ your organization's blanket agreement. That should do the trick.

I signed it!

@robszumski Awesome, thank you!


tile38: 1.30.0 -> 1.30.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/tidwall/tile38/releases.
meta.description for tile38 is: "Real-time Geospatial and Geofencing"
meta.homepage for tile38 is: "https://tile38.com/"
meta.changelog for tile38 is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.30.1 with grep in /nix/store/pw6a0slkriyvy3zp71vr6smmvlr21dmb-tile38-1.30.1
found 1.30.1 in filename of file in /nix/store/pw6a0slkriyvy3zp71vr6smmvlr21dmb-tile38-1.30.1

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
tile38

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/pw6a0slkriyvy3zp71vr6smmvlr21dmb-tile38-1.30.1
ls -la /nix/store/pw6a0slkriyvy3zp71vr6smmvlr21dmb-tile38-1.30.1/bin

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

1 package built:

tile38

Maintainer pings
cc @sikmir for testing.

Result of nixpkgs-review pr 207210 run on x86_64-darwin 1

1 package built:

tile38


Manifest internatialization

Is your feature request related to a problem? Please describe.
The only thing I couldn't do is internationalise manifests
Describe the solution you'd like
Google gives a nice solution here:
https://developer.chrome.com/webstore/i18n
Additional context
This will give complete i18n package for modern apps

What kind of manifest are we talking about? Chrome Extensions manifests? Are you using nuxt-i18n in a Chrome extension?
Can you link to a specific manifest specification that you are thinking about?
Also, are those fully static and can be generated at build time?
It's not clear to me what would be the role of nuxt-i18n here.

Closing due to no response.


f5-config.py still implements deprecated ec2 API

Do NOT include any confidential information, this issue will be created on a public repo
This section is completed by the issue reporter
On which version(s) do you encounter this issue?
Please provide the output to 'git describe --all' for  all deployments where you have confirmed it occurs.
What type of issue is this? Please tick the appropriate box.

[x] bug - existing functionality that does not work for you as documented
[ ] feature - new functionality that you would like to see added

What is the expected behavior?
f5-config.py would not create the f5 code to implement the ec2 api virtual servers and monitors.
What is actually happening?
f5-config.py is currently generating commands to create the ec2 api virtual servers and monitors.
See:
https://github.com/rcbops/rpc-openstack/blob/master/scripts/f5-config.py#L77
https://github.com/rcbops/rpc-openstack/blob/master/scripts/f5-config.py#L249
What were you attempting to do when you encountered this error (give as much detail as possible)?
Run LEM's f5_deploy.sh, which in turns runs f5-config.py.
Since the EC2 API no longer is implemented in OSA, the virtual servers and monitors on the LB will report as unhealthy.

How can we reproduce this issue?
Run LEM's f5_deploy.sh off the master branch, then deploy nova using the nova playbooks.
How can we verify your issue is addressed?
The f5-config.py no longer generates the commands to deploy ec2 api virtual servers and monitors.
If you are using or know of a workaround please describe the necessary steps?
Delete the f5 virtual server and monitors manually via the BIGIP UI.
What is your evaluation on the importance of this issue, and why?
prio-3. This doesn't block anything and won't cause anything else to break.
This section is completed during the issue resolution process. If you are reporting an issue, please do not modify the section below.
Which branches are impacted by this issue?
Remove branches that are not impacted.
For each pull request, update the branch line to reference it.

[ ] master

Upgrade impact. Consider the impact on moving between major, minor and patch releases.

[x] This change does not impact upgrades
[ ] This change addresses a potential upgrade impact
[ ] The upgrade impact is being tracked by another issue.

The issue tracking the upgrade impact is:
Testing impact

[ ] An issue/pull-request has been create or exists to track the testing gap, and is referenced below
[ ] This change includes additional testing
[x] This change is tested by the existing setup

Additional testing links:
Release note

[ ] This change includes a release note.
[x] This change does not require a release note.

Doc Impact
Does your change require documentation?

[ ] Yes, and I submitted an issue to Docs issues
[ ] Yes, and I contributed a documentation patch to docs-rpc
[x] No documentation required for this change

Additional documentation links (please add links if you have ticked yes):

FYI - This will need to be backported to the newton-14.0 branch before it's closed.


Ignore highscore.txt file on updates

https://stackoverflow.com/questions/14567111/git-why-txt-file-is-not-ignored

Fixed with #32


Integrated the ChangeNOW module

@ProninPS @ChangeNOW-lab : Can we talk about the APIKey?  First is should be removed from the repo.


Compile error with gcc14 mingw

../cpptrace-src/src/binary/object.cpp: In function 'std::string cpptrace::detail::get_module_name(HMODULE)':
../cpptrace-src/src/binary/object.cpp:119:51: error: 'system_error' is not a member of 'std'
  119 |                 std::fprintf(stderr, "%s\n", std::system_error(GetLastError(), std::system_category()).what());

An #include <system_error> is missing in src/binary/object.cpp`

Thanks, good catch

Will be solved by #186

Fixed on main

0.7.3 is released


Add support for request idempotency keys

As per the upstream Orb documentation at
https://docs.withorb.com/docs/orb-docs/idempotency, it's possible to
want to issue two identical requests repeatedly; adding an idempotency
key allows Orb to treat them as the same request, and not re-create
objects.
This adds support for idempotency keys to creating customer and
subscription objects.

@benesch @evanharmon the tests are not passing, and I'm not entirely clear why. It looks like they didn't pass on the last merge to main, either -- not sure how much time I want to spend debugging the tests to get this mergeable.

@benesch @evanharmon the tests are not passing, and I'm not entirely clear why. It looks like they didn't pass on the last merge to main, either -- not sure how much time I want to spend debugging the tests to get this mergeable.

It looks like the last failures from my previous merge were a different error. I don't have access to the orb test account so not sure how to debug / fix the tests locally.

No worries -- I'm working through the errors by pushing to CI right now :-)

On Apr 12, 2023, at 15:50, Evan Harmon @.***> wrote:
@benesch @evanharmon the tests are not passing, and I'm not entirely clear why. It looks like they didn't pass on the last merge to main, either -- not sure how much time I want to spend debugging the tests to get this mergeable.
It looks like the last failures from my previous merge were a different error. I don't have access to the orb test account so not sure how to debug / fix the tests locally.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Update CRI-O crio.conf.d for v1.18

For CRI-O v1.18 we are migrating configuration from
/etc/sysconfig/crio to /etc/crio/crio.conf.d/01-caasp.conf.
User custom configuration can be also uploaded from from
conf.d source directory.
Why is this PR needed?
Does it fix an issue? addresses a business case?
add a description and link to the issue if one exists.
Fixes #
Reminder: Add the "fixes bsc#XXXX" to the title of the commit so that it will
appear in the changelog.
What does this PR do?
please include a brief "management" technical overview (details are in the code)
Anything else a reviewer needs to know?
Special test cases, manual steps, links to resources or anything else that could be helpful to the reviewer.
Info for QA
This is info for QA so that they can validate this. This is mandatory if this PR fixes a bug.
If this is a new feature, a good description in "What does this PR do" may be enough.
Related info
Info that can be relevant for QA:

link to other PRs that should be merged together
link to packages that should be released together
upstream issues

Status BEFORE applying the patch
How can we reproduce the issue? How can we see this issue? Please provide the steps and the prove
this issue is not fixed.
Status AFTER applying the patch
How can we validate this issue is fixed? Please provide the steps and the prove this issue is fixed.
Docs
If docs need to be updated, please add a link to a PR to https://github.com/SUSE/doc-caasp.
At the time of creating the issue, this PR can be work in progress (set its title to [WIP]),
but the documentation needs to be finalized before the PR can be merged.
Merge restrictions
(Please do not edit this)
We are in v4-maintenance phase, so we will restrict what can be merged to prevent unexpected surprises:
What can be merged (merge criteria):
    2 approvals:
        1 developer: code is fine
        1 QA: QA is fine
    there is a PR for updating documentation (or a statement that this is not needed)

It was already merge to master in https://github.com/SUSE/skuba/pull/1061


Add separate image with gcloud cli

Add separate image for cloud CLI

@cube2222 sorry to bother you again, but I've got a better idea and refactored the thing :D can you fix the required builds again? 🥺


Add DEMs with NaNs (or synthesise them) for tests

Right now, the Longyearbyen test DEMs are void-free. Therefore, all the tests that pass are only guaranteed to pass with void-free examples. I've had large issues with the coreg functions and I think it is because of nans, so this should be added to further find out what's wrong with them.
I think this would be a good first step toward fixing #61.

Yes, add NaNs but also masked arrays.

Indeed!


Trending tab improvements

It's quite slow and does not show an indicator when first loading.

Does not show an indicator when first loading.

#432 should remove the need for this.

Closing in pref for 432


Open source button not working properly

It opens the link in the client instead of in the prefered browser.

Fixed


chore: use same stream options between mpchain and others

What type of PR is this?

What this PR does / why we need it
Which issue(s) this PR fixes

Fixes #
Special notes for your reviewer

Packaging chart 'deploy/charts/gpu-operator'...
Error: the lock file (Chart.lock) is out of sync with the dependencies file (Chart.yaml). Please update the dependencies

by the way, run helm dependency update and update deploy/charts/gpu-operator/Chart.lock


Not possible to implement pingora::services::Service due to Fds not being available.

Describe the bug
When trying to implement pingora::services::Service the Fds struct is not public because the transfer_fd module is private:
error[E0603]: module `transfer_fd` is private
Pingora info
Pingora version: 0.1.0
Rust version: cargo 1.76.0 (c84b36747 2024-01-18)
Operating system version: OSX 14.2.1 (23C71)
Steps to reproduce
When trying to implement the pingora::services::Service trait it is not possible due to the 2nd argument  of start_service - fds type not being pub:
struct MyService {}

#[async_trait]
impl pingora::services::Service for MyService {
    async fn start_service(
        &mut self,
        fds: Option<Arc<tokio::sync::Mutex<pingora::server::transfer_fd::Fds>>>,
        mut shutdown: pingora::server::ShutdownWatch,
    ) {
        todo!()
    }

    fn name(&self) -> &str {
        todo!()
    }
}

Expected results
The Fds or ListenFds type is public.
In pingora-core/src/server/mod.rs ListenFds is pub(crate):
52:pub(crate) type ListenFds = Arc<Mutex<Fds>>;
in pingora-core/src/server/mod.rs the transfer_fd mod is pub(crate):
19:pub(crate) mod transfer_fd;
Observed results
What actually happened?
error[E0603]: module `transfer_fd` is private

If one tries to copy the Fds struct up into their app to implement it the error is:
error[E0053]: method `start_service` has an incompatible type for trait

The struct copied is:
pub struct Fds {
    map: HashMap<String, std::os::fd::RawFd>,
}

Thanks @halzy I've patched this in #149

I see. I'm not certain that the other public functions in that module are useful in the public interface as they are part of the machinery for transfering the sockets between pingoras. 🤷 We'll see what the folks at Cloudflare want to do.

Do you have any sample code that actually uses the contents of Option<Arc<tokio::sync::Mutex<pingora::server::transfer_fd::Fds>>>. That would help me provide a better answer.

Nothing that I can share at the moment. I posted the patch that solved my issue in #146.


Support component variants

This PR adds sample data and fixture data for component variants. Also, component and screen functions are added to the exec command.

Looks good. However, Change of template test file is missing

What "change" are you referring to? 😅

Looks good. However, Change of template test file is missing

What "change" are you referring to? 😅

Looks good. However, Change of template test file is missing

What "change" are you referring to? 😅

I was referring to adding test case for component variants 😂

Looks good. However, Change of template test file is missing

What "change" are you referring to? 😅

I was referring to adding test case for component variants 😂


Add Signals

For platforms that support kqueue it uses the EVFILT_SIGNAL event
filter. On Linux it uses signalfd.
Removes mention of signalfd in OsQueue documentation.
Closes #34.

TODO:

[ ] Block signals on all platforms? On Linux it blocks the signals, but on kqueue platforms it sets the SIG_IGN (ignore) handler. Setting the ignore handling doesn't work on Linux.
[ ] Expand testing.

Continue signal on Linux doesn't work...


Tinfoil no longer available

Hi Tinfoil is no longer available but the document references it. Ref. https://azure.github.io/AppService/2020/03/16/Important-update-for-Tinfoil-security.html.

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

ID: ce94e95d-f2df-72de-66d0-56930547ee98
Version Independent ID: 8d258a24-3bd7-dd4e-db41-9cfea8d077ee
Content: Introduction to Azure security
Content Source: articles/security/fundamentals/overview.md
Service: security
Sub-service: security-fundamentals
GitHub Login: @TerryLanfear
Microsoft Alias: TomSh

#please-close This is fixed with above pr 👆🏽


Self hosting not working?

I've downloaded a zip of your repo, and I installed the gems and such. However, the formatting on my website looks horrible. I don't believe the jekyll theme is loading. How do i get it to load?

https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/


Godot File Support

Could we get support for GDScript, TSCN and TRES files? I'd be willing to make the PR.

Icon Suggestion:

@LennyPhoenix I went ahead and uploaded an asset godot-mode_icon with the Godot icon. If you can figure out the modes to use it for, by all means send a PR.
Thanks!

Ah I see you called it gdscript-mode_icon. I'll go ahead and rename it on my side & merge the PR. Thanks

Alright, sorry for the confusion with the filename :P
Cheers 👍


Why does the test does not wait for the Before hooks to complete?

What are you trying to achieve?
I am trying for perform few API requests with the Before event. But, before even it completes, the Tests starts to run. I need a response data from the Before event that I can use in the Tests. Could you please let me know the mistake that I am making?
What do you get instead?
Before even the Before event completes, the Tests starts to run. I need a response data from the Before event that I can use in the Tests

Provide console output if related. Use --verbose mode for more details.
### Please see the below output, where the order is not maintained

Test something --
Response 1 execution is complete
Response 3 execution is started
Response 2 execution is complete
Response 3 execution is complete
  √ some scenario in 3270ms
Test Complete

  OK  | 1 passed   // 4s

Provide test source code if related

 event.dispatcher.on(event.test.before, async function () {
    const {I} = inject();

    const response1 = await I.sendGetRequest('https://codecept.io/helpers/REST/');
    console.log('Response 1 execution is complete')

    const response2 = await I.sendGetRequest('https://codecept.io/helpers/REST/');
    console.log('Response 2 execution is complete')

  });
****************Tests********************
Feature('Test something');

Scenario('some scenario', async ({ I }) => {
  console.log('Response 3 execution is started')
    const response3 = await I.sendGetRequest('https://codecept.io/helpers/REST/');
    console.log('Response 3 execution is complete')
});

Details

CodeceptJS version: latest
NodeJS Version:
Operating System:
puppeteer || webdriverio || testcafe version (if related)
Configuration file:

@kobenguyent  @DavertMik Could you please help me with this?

@kobenguyent  tried with Before() as well. I get the same output :(

@kobenguyent  - I think I get the problem. Looks fine with using Before(). Thank you! Closing this

@kobenguyent  - this doesn't work if I use BDD format. Could you please let me know the mistake that I am making?
const {I} = inject();

Before(async () => {

  const response1 = await I.sendGetRequest('https://codecept.io/helpers/REST/');
  console.log('Response 1 execution is complete')

  const response2 = await I.sendGetRequest('https://codecept.io/helpers/REST/');
  console.log('Response 2 execution is complete')

});

When('I send a http get request', async() => {
  console.log('Response 3 execution is started')
  const response3 = await I.sendGetRequest('https://codecept.io/helpers/REST/');
  console.log('Response 3 execution is complete')
});

Output
Test something --
Response 3 execution is started
Response 1 execution is complete
Response 3 execution is complete
Response 2 execution is complete

Thanks @kobenguyent … was able to address this using the Before() block itself… Believe it is because of the asynchronous nature of JavaScript. Another option was to add the https request to the recorder as given here https://codecept.io/hooks/#recorder … This worked if I don’t use ‘I’ object(example await I.sendGetRequest()) … It just hangs and does nothing if use the ‘I’ object.
Anyway thank you so much for your time for looking into this.


optimization for training

@sayakpaul @deep-diver
In the code example, it's mentioned that

If you're running the code, please ensure you're using a GPU with at least 24 GBs of VRAM.

So, running this code example on colab looks not possible (even with bs = 1). The official diffusers guide shows some ways to make it possible to run dreambooth on vram with less than 24. Some of the suggested techniques may be hacky to achieve in tf. Could you please inform:

do you have any future plan to support dreambooth-keras for (at least) 16GB device?
have you tried on tpu device?

Possible on Colab Pro Plus that provides access to A100. No, we don't have plans to support the two points you mentioned.


Don't pass params from the server

I'd argue that we shouldn't pass the path params from server to client, for the same reason we're no longer passing the URL -- the real version on the client is the authoritative version.
This to me is just a logical extension of #3942.
This change would fix #1533, and obviates #1871.
The motivation for this is, in Big Tech, you often find yourself in a Java monoculture. No problem though, adapter-static to the rescue. But the issue is, in general, every website will have parameterized paths and it's a little ugly using adapter-static with parameterized routes. You can do it but you have the regex-parse the URL yourself instead of relying on the pagestore provided params. This fixes that issue.
As with my previous PR from a few days ago, not super optimistic about this going in, but useful to have for reference in case anyone wants to patch it or make a fork.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Note that I started documenting various SvelteKit patterns, that I plan to reference in feature requests and PRs going forward. This particular PR would be in service of Pattern IV. See https://royalbarrel.com/notes/3

Just rebased, and also I verified that this change covers both the page store and the params which the clientside load() call would see.

OK, this is rebased today and ready for review. Let me know if there's a better way to parse the URL params rather than running it through navigation_intent.

Apologies for leaving this PR out in the sun for so long — sometimes when there's enough activity on the PR page things like this sort of get trudged into the ground until you forget to pick them up.
The original reason for passing params from the server, IIRC, is admittedly somewhat esoteric: on the NYT homepage there's a covid tracker embed generated from a SvelteKit app, nestled among everything else:

There's a variety of embeds available; the one that gets selected is based on params. If params is derived from the URL, the app gets terribly confused and nukes the embed. Passing along the params that were actually used to render the embed (while also disabling client-side navigation) allows it to work.
There are definitely more elegant ways that problem could be solved, though they'd involve either bypassing SvelteKit or adding some sort of embedded output that renders self-contained-HTML-plus-hydration code but omits the SvelteKit runtime. That said, the current approach does have some benefit: get_navigation_intent has to do work, and even if it's negligible in the grand scheme of things, avoiding work (especially at startup) is good.
So I'd love to better understand what the motivation for this is. If you're using adapter-static and the page is prerendered, the params object should also be prerendered. When are the inline params incorrect?

This is really interesting, I've never thought about rendering "embeds" just whole pages, which presumably live among the same URL structure at runtime as they do at build time. I can tell you about my use case:
We have several routes, some of which are parameterized, for example a parameterized one would be like:
routes/song/[id]/+page.svelte

Where the ID is a numeric value. This won't prerender by default so we explicitly prerender it with a placeholder value, i.e. and entry like this in the svelte config:
'/song/id'

Which means pass the string "id" as the ID. Then we do all the value specific data fetching clientside only (either in onMount or in a load that's guarded off by env values). That's not to say we might not also do some data fetching at pre-render time, but that would only be for data that's constant at least until the next production deployment.
So now in our build folder we have a /song/id.html file (or is it /song/id/index.html, not sure, recalling this from memory). Then we just rewrite all /song/\d+/ paths to serve that file. This whole setup is an alternative to using an SPA style fallback, with the advantage of each page's basic layout skeleton appears immediately before JS has hydrated.
And this all works great except that getting the "id" value has to be done manually. We have code like this that I'm again recalling from memory:
import { base } from '$app/paths';

let path = window.location.pathname;
if (base) {
  path = path.slice(base.length);
}
let m = path.match(/^\/song\/(\d+)$/);
let id = m[1];

Not too bad just adds a place we have to update if the paths every change.


Renames in README.md

Would you rename/replace these:

x25519_sign_public_key -> sign_public_key
x25519_sign -> sign
x25519_sign_open -> check
ec25519_public_key -> x25519_public_key
ed25519_public_key -> sign_public_key

I think you may be mixing the last stable version (v0.9) and the current version (master, which is to become v0.10, moving slowly towards a v1.0).  I have made heavy changes between v0.9 and v0.10, both implementation and API. I want to have a good and hopefully stable API before tagging the v1.0.
As indicated at the top of the README file, the last stable version is v0.9 at https://github.com/philanc/luazen/releases/tag/v0.9.  Get the zip file at tghis link to download a complete v0.9 tree, including test_luazen.lua and README.  The most recent rockspec is also for v0.9.
Alternatively on github, at the project home page, you may click the "Branch master" button (above the files on the left) and select tag v0.9 -- or go at https://github.com/philanc/luazen/tree/v0.9 to see the v0.9 tree.
So, to test the v0.9 version by the rockspec, use test/test_luazen.lua in the v0.9 tree.
Sorry for the confusion. I could have made it more explicit.


Minify JS and CSS as much as possible and compress images to correct screen sizes

I dont think we should worry too much about this now. if we can deal with it from cloud flare than we are sorted.


Fix temporality bug

BUGFIX: TEMPORALITY
The testdata for SYNT_BEFOLKNING_SIVSTAND has this as the last row of the csv:
00000000000006;3;1951-01-02;;
where 1951-01-02 is the latest date in the dataset.
But the expected test output had this in the metadata:
"temporalCoverageStart": "1920-01-01",
"temporalCoverageLatest": "1951-01-01" // this should be 1951-01-02

Upon changing the test data, the tests fail as expected.
The fix is a simply including the start column when finding temporalCoverageLatest.
Bumped version from 7.0.1 to 7.0.2 (PATCH)

Nice, should be consistent with 1.5 behavior now :=)


[BUG] Note review not working

Describe the bug
When i create a new note and tag it with #review, this note will show up in #review > new
Example:

Now review note as hard from command panel

3 new properties will be added to note
sr-due: 2023-12-06
sr-interval: 1
sr-ease: 230

But the note will not be shown in #review > Tommorow (assuming today is 2023-12-05)
To Reproduce
Steps to reproduce the behavior:
As above section
Expected behavior
Expected that the note will be shown in #review > Tommorow
Screenshots
If applicable, add screenshots to help explain the bug. This could be the logs in the developer console (CTRL + SHIFT + i).
Versions (please complete the following information):

OS: macOS
Obsidian version: v1.5.1]
Plugin version: v1.10.5
If on desktop, Installer version: [run this.navigator.appVersion on the developer console, e.g. 5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/0.12.3 Chrome/89.0.4389.128 Electron/12.0.6 Safari/537.36"]

"5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.4.13 Chrome/114.0.5735.289 Electron/25.8.1 Safari/537.36"

Additional context

this problem was caused by some of the notes missing or have wrong format of sr-due, sr-interval, sr-ease

What was the wrong format for the sr-due, sr-interval, sr-ease properties?

There was some version in the past caused invalid metadata and/or NaN. In my case, sr-interval is somehow be string as you can see here:

After fixing the properties of this note, all other notes are being shown correctly again. For example, I have this note, its properties are correct, but not being shown before (meaning there is no #review > Fri Mar 03 2023)
tags:
- review
aliases:
source:
review: hard
sr-due: 2023-03-03
sr-interval: 3
sr-ease: 230

After fixing the properties of the other note, this note being shown correctly

Great, thanks for the details


test: Fix SMTP test to work with maildev

We switched from exim to maildev in TED for an email server. This updates the test to use Maildev's API (via restserver) to get the emails to verify.

/ok-to-test<EMAIL_ADDRESS>

/ok-to-test<EMAIL_ADDRESS>


dev-cmd/audit: add --skip-style option.

This will allow brew style and brew audit to be run separately without providing duplicates.
Additionally, run RuboCop style rules when --strict isn't provided and remove a confusing reference to style.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Is it at all reasonable to make brew audit not run style checks at all, so we've got one source of reporting for RuboCops that is brew style?

Is it at all reasonable to make brew audit not run style checks at all, so we've got one source of reporting for RuboCops that is brew style?

I don't think so unfortunately. Contributors to Homebrew/core are used to having to run one command: brew audit. I don't want to make their workflow more complicated to make things conceptually simpler for maintainers.


Simulator tweaks

A couple of tweaks to the simulator to make debugging a bit easier.

Send logs to stderr, the stream that Rust's logs send them to
Tighten up the checking on flash writes. Note that this breaks stm32f4 at least until #41 is merged.

@mbolivar Please rebase!

@utzig I was lazy about learning Rust. I've asked @d3zd3z for the right syntax and kept the old behavior now.


Resolve ambiguous namespace

Description
Tell Composer what goes where.
Motivation and context
Don't keep the same namespace in two locations.
PSR-4 is about matching filesystem to namespace.

This is how check: https://github.com/szepeviktor/debian-server-tools/blob/06bda3d14fa8a8f97594c150cd8a42558ac5bf16/webserver/Continuous-integration-Continuous-delivery.yml#L134-L135

@cerbero90 Friendly ping 🏓

Thanks for the ping @szepeviktor, for some reason I didn't get notified about this PR 👍
My personal preference would be to keep the same namespace to facilitate the organisation and potential class overrides. Also the presence of Pest makes namespaces almost unnecessary in the test suite.
However this is a skeleton and it's meant to be a starting point for packages to adapt to your own preferences, so feel free to fork this repo and apply your own customisations :)
And thank you very much for taking the time to submit this PR ❤


Deployment steps in README is still truffle

I had a look around the repo and follow the steps in README and wonder if the deployment step in README up-to-date? the reason I am asking is that I saw we migrate from truffle to hardhat in build and test steps but deployment is still using truffle migrate. I followed the instruction but it fails locally on my machine, due to the fact that truffle doesn't support multiple version in a project when it tries to compile (using truffle) before migrating.

Thanks for fixing it


How to leverage 'less' with 'substring' to check template field?

Hi,
I'm trying to leverage the less with substring to check the minimumTlsVersion is greater than 1.1 for the Redis, but it didn't work. Could you please help me figure it out? Thanks!
My policy Rule:
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.Cache/Redis"
          },
          {
            "anyOf": [
              {
                "field": "Microsoft.Cache/Redis/minimumTlsVersion",
                "exists": false
              },
              {
                "value": "[substring(field('Microsoft.Cache/Redis/minimumTlsVersion'), 2, 1)]",
                "less": "1"
              }
            ]
          }
        ]
      },
      "then": {
        "effect": "[parameters('effect')]"
      }
    }

Redis template:
"resources": [
        {
            "type": "Microsoft.Cache/Redis",
            "apiVersion": "2020-12-01",
            "name": "[parameters('Redis_ehredis_name')]",
            "location": "East US",
            "properties": {
                "redisVersion": "4.1.14",
                "minimumTlsVersion": "1.1",
                 ...
}

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

ID: 9762f1b7-0e3a-d58f-fd99-a27ad948907b
Version Independent ID: 89e28332-184e-ba84-df1f-e7698c5e0f7c
Content: Details of the policy definition structure - Azure Policy
Content Source: articles/governance/policy/concepts/definition-structure.md
Service: azure-policy
GitHub Login: @georgewallace
Microsoft Alias: gwallace

@ethanhou99, thank you for opening this issue. We use GitHub issues as the primary channel for customer and community feedback about the Azure Documentation.
**
**
For troubleshooting and product questions, please use Mircosoft Q&A.
***
In current case, can you please answer - How do you know that the Policy definition did not work as expected?
You may also use Azure Policy extension for VS Code to evaluate the policy locally against a resource and verify its effectiveness.

@ethanhou99, I tested the policy definition using Azure Policy extension for VS Code and it works as expected.
I even tested creating a new Azure Cache for Redis from portal (which default to using TLS 1.0) and it was denied by policy.
Please note that policy assignment takes about 30 minutes to be effective, therefore you might not observe the behavior immediately. Please let me know if you have any questions.

Hi @AnuragSingh-MSFT , thanks for your support！
It's working now! It seems like my Azure Policy environment had some issues yesterday, since after I created that custom policy I waited for few hours for the Azure Policy to produce a result but I got nothing. Today I tested again and the result looks good to me.
Thanks again for your help!