Added multi turn sample for typescript

Added multi turn sample for typescript.

Partially fixes: https://github.com/microsoft/BotBuilder-Samples/issues/1681

closing as these commits are in #2111


Components flicker during server side render for nextjs

Problem description
Components flicker during server side render for nextjs
Steps to reproduce

Clone or download repo v1.0.0-beta.8
cd to examples/nextjs
npm install
npm build
npm start

Versions

Material-UI: v1.0.0-beta.8
React: 15.6.1
Browser: Version 59.0.3071.115 (Official Build) (64-bit)

The create-react-app version works without issues.

 The issue should have been fixed in #7977

I confirm, I have just tried. It's all good.

I am experiencing the same issue, with latest nextj, how is it solve, sorry is not so clear for me.

Hi,
go to: https://github.com/mui-org/material-ui/tree/master/examples/nextjs
copy the code from:
/pages/_app.js
/pages/_document.js
/src/getPageContext.js
and make it work with your structure.
That worked with me. Good luck.

This behavior still persists only on windows, with the example of nextjs

The behvaiour still persists

@samipshah100 Make sure you are using v5 and have correctly reproduced the example we host.

@oliviertassinari Oh I am using v 4.11.1 . Just realized the example https://github.com/mui-org/material-ui/tree/master/examples/nextjs is using v5
will try again. thanks.

This issue still persists as of now.

Hello, pls this issue still persists with version 5.3.1

Still facing this issue with version 5.8.0, cloned nextjs example repo and it's flickering

Same, cloned the repo and didn't change anything. It flickers when deployed

Still facing this issue with version 5.8.3, cloned nextjs example repo and it's flickering

try use "next": "12.1.5", work for me

"next": "canary" in package.json fixes this.


Yatin: Watch pabrikproduksitas.com

Yatin requests the watch of the watch_keyword pabrikproduksitas\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

pabrikproduksitas\.com has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


proposal_matcher problem

❓ Questions and Help

This code: matched_idxs = self.proposal_matcher(match_quality_matrix) lead to the bug, but i don't know how to get the Matcher self.proposal_matcher = proposal_matcher in the init.
how to fix it, and could u let me know what book or document have the infomation of class init in python.

I find the matcher,
maskrcnn_benchmark.modeling.matcher.Matcher
I will study that to solve the problem.


Show links between notes in graph view

Is your feature request related to a problem? Please describe.
I think it would be awesome to either have a separate "structural" graph view where edges are links (as opposed to the hierarchical one), or to combine the two into one unified graph view (e.g. by displaying links as dashed edges and hierarchy with solid edges).
Describe the solution you'd like
See above.
Describe alternatives you've considered
(N/A)
Additional context
(N/A)

Thanks for the feature request. This is on our roadmap. We'll be looking to work on this probably closer to the end of November

Question where would I need to look in the code for this?
Since it is something that interests me at well I would like to take a look at it and see if I could give it a try to improve the graph.

Moving to backlog - didn't get done in November and the graph view can get unwieldly if we start adding note-note links. @flammehawk  - did you take a look at this already and have an idea of how we could still keep the hierarchy going + add in note-note links?

Currently still writing on that RFC for the Graph View over all and yes these would be part of that.

The RFC is Live


More web tests

Codecov Report

Merging #10335 (1020bbf) into main (ca8090c) will increase coverage by 0%.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           main   #10335   +/-   ##
=====================================
  Coverage    63%      64%
=====================================
  Files       204      204
  Lines      9295     9295
  Branches   1505     1505
=====================================
+ Hits       5934     5960   +26
+ Misses     2893     2865   -28
- Partials    468      470    +2

Impacted Files
Coverage Δ

src/platform/common/cancellation.ts
62% <0%> (-6%)
:arrow_down:

src/platform/errors/errorHandler.ts
62% <0%> (-1%)
:arrow_down:

.../platform/common/process/pythonEnvironment.node.ts
88% <0%> (+1%)
:arrow_up:

src/platform/api/pythonApi.ts
69% <0%> (+2%)
:arrow_up:

...ommon/process/environmentActivationService.node.ts
69% <0%> (+4%)
:arrow_up:

src/platform/common/platform/fileSystem.ts
86% <0%> (+5%)
:arrow_up:

src/platform/common/process/condaService.node.ts
71% <0%> (+5%)
:arrow_up:


⚠ Bofrost.be has degraded performance

In 968ea3a, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1534 ms

Resolved: Bofrost.be performance has improved in 008fcdb.


This is a test implementation of the bug fix package:flutter/src/rendering/mouse_tracker.dart ': Failed assertion: line 205 pos 12: '!_debugDuringDeviceUpdate': is not true.

This is a test implementation of the bug fix package:flutter/src/rendering/mouse_tracker.dart ': Failed assertion: line 205 pos 12: '!_debugDuringDeviceUpdate': is not true.
Things remain the same as in pull request #137939
Sorry for the delay in posting the pull request!
Bug before the solution:

Bug after the solution:

This bug happens a lot in some cases, specifically on Windows and Mac.
The bug consists of when any action is performed with the Navigator, the application simply crashes without being able to exchange any important information or save it somewhere.
Preventing usability in production environments and harming UX
The assert(!_debugDuringDeviceUpdate); and post a comment to not run it and prevent this bug from occurring.

Thanks for the contribution. However, I am not sure I understand what this is? it is in the tests directory, but it doesn't seem to include any tests or testWidgets?
https://main-api.flutter.dev/flutter/flutter_test/test.html
https://main-api.flutter.dev/flutter/flutter_test/testWidgets.html

Hello @HeroRickyGAMES, thanks for the contribution. However, it is not clear to me what this is supposed to accomplish and since there was no follow-up to the previous question I am going to close this. Feel free to reopen if you can clarify.


Modular definition of schemas (extensibility)

Hi, I'm actively working with apollo and loving the experience. I just want to contribute with an opinion on a possible improvement of schema handling. What I feel that is a drawback of the current approach is the monolithic definion of Apollo schema, which does not provide extensibility through packages. It is quite difficult to produce modules or import packages that add on top of current functionality (this authentication packages, different modules in economic systems and more).
What would be great is to have the possibility to define functionality per domain element, where each domain element would export the list of:
schema
resolvers
queries
queryResolvers
mutations
mutationResolvers

With a current approach it is possible to define only schema and resolvers and import it into Apollo, queries and mutations got left behind. I got this working in my apollo-mantra project but it's a rather silly solution which heavily depends on my custom functionality and makes no sense to share it. Would you consider implementing something like this in core?

Hey @tomitrescak, thanks for your feedback. Since we split out the schema generation to graphql-tools, I think it would be more appropriate to open this issue there, so I will close it here.


Using the classes of the API in my class

Hello
Thanks for your good job.
I have a question maybe not related to the API directly.
How can I use these classes:
use unreal4u\TelegramAPI\Telegram\Types\KeyboardButton;
use unreal4u\TelegramAPI\Telegram\Types\ReplyKeyboardMarkup;
In my function KeywordCommand:
class Commands {
.......
	public function KeywordCommand() {
	$this->sendMessage->chat_id = $this->chatId;
	$this->sendMessage->text = "text";
	$this->sendMessage->parse_mode = 'HTML';
	$sendMessage->reply_markup = new ReplyKeyboardMarkup();
	$keyboardButton = new KeyboardButton();
	$keyboardButton->text = 'text';
	$sendMessage->reply_markup->keyboard[0][] = $keyboardButton;
	$sendMessage->reply_markup->resize_keyboard = true;
	$this->tgLog->performApiRequest($this->sendMessage);
	$this->loop->run();
	}
	}
?

Hi!
There is an example over here which will produce the following output. You can take that as an entry point to further customize it to your needs :)
So in your example, I would do something like:
public function KeywordCommand() {
    $this->sendMessage->chat_id = $this->chatId;
    $this->sendMessage->text = "text";
    $this->sendMessage->parse_mode = 'HTML';
    $sendMessage->reply_markup = new ReplyKeyboardMarkup();

    $keyboardButton = new KeyboardButton();
    $keyboardButton->text = 'text';
    $sendMessage->reply_markup->keyboard[0][] = $keyboardButton;

    $sendMessage->reply_markup->resize_keyboard = true;

    $this->tgLog->performApiRequest($this->sendMessage);
    $promise = $tgLog->performApiRequest($sendMessage);

    $promise->then(
        function ($response) {
            echo '<pre>';
            var_dump($response);
            echo '</pre>';
        },
        function (\Exception $exception) {
            // Onoes, an exception occurred...
            echo 'Exception ' . get_class($exception) . ' caught, message: ' . $exception->getMessage();
        }
    );
    $this->loop->run();
}

Greetings.

My problem is the function is in the class 'Commands'.
So my question is How to get 'ReplyKeyboardMarkup();' or 'KeyboardButton();' which are in the 'Commands' class ?
Thank you

Oh that warning comes up when you don't declare the object first...
I'll need to see some more code and warnings, because it could be a variety of stuff that goes wrong: are you using composer? Are you importing the libraries? Are you initializing your class? etc...
Greetings.

Yes
Yes
I'm not sure.

My codes:
<?php
require "/root/vendor/autoload.php";
use \React\EventLoop\Factory;
use \unreal4u\TelegramAPI\HttpClientRequestHandler;
use \unreal4u\TelegramAPI\TgLog;
use \unreal4u\TelegramAPI\Telegram\Methods\SendMessage;
use \unreal4u\TelegramAPI\Telegram\Methods\DeleteMessage;
use unreal4u\TelegramAPI\Telegram\Types\KeyboardButton;
use unreal4u\TelegramAPI\Telegram\Types\ReplyKeyboardMarkup;
require __DIR__ . '/settings.php';

$loop = Factory::create();
$handler = new HttpClientRequestHandler($loop);
$tgLog = new TgLog(BOT_TOKEN, $handler);

$updates = json_decode(file_get_contents('php://input'), true);
$sendMessage = new SendMessage();
$deleteMessage = new DeleteMessage();

class Commands {
// some other codes and functions
public function KeywordCommand() {
$this->sendMessage->chat_id = $this->chatId;
$this->sendMessage->text = "text";
$this->sendMessage->parse_mode = 'HTML';
$sendMessage->reply_markup = new ReplyKeyboardMarkup();
$keyboardButton = new KeyboardButton();
$keyboardButton->text = 'text';
$sendMessage->reply_markup->keyboard[0][] = $keyboardButton;
$sendMessage->reply_markup->resize_keyboard = true;
$this->tgLog->performApiRequest($this->sendMessage);
$this->loop->run();
}
}

Everything works fine. Just I don't know how to get for example KeyboardButton(); in a function which is in a class.

If you have a use statement, it will import the class automatically for you (technically it won't do that, but for simplicity, let's assume that), and it doesn't matter where in the same file you actually call the class up.
What do you do to run this code and in which file:line do you get the warning? What does your constructor look like and where do you initialize stuff like $this->sendMessage and $this->loop ?
By initializing your class, I mean that you'll have to have something around these lines in your code:
$commands = new Commands();
$commands->setLoop($loop);
$commands->setSendMessageObject($sendMessage);

$commands->KeywordCommand();

Greetings.

Sorry I had sent the error wrong.
The error is this:
PHP Fatal error:  Uncaught Error: Class 'ReplyKeyboardMarkup' not found in
For this line:
$sendMessage->reply_markup = new ReplyKeyboardMarkup();

Solved
I used this:
\unreal4u\TelegramAPI\Telegram\Types\ReplyKeyboardMarkup();
Also I forgot to put $this-> at the begining.
Thank you @unreal4u

You're welcome! Closing this one


Client and Notify passing data to each other

Hi, just a question: I have (essentially) a version of your BLE_Notify code on an ESP32 talking to another ESP32 with a version of BLE_Client (master/slave type thing).
I wanted the master to send data of a certain type (ie a struct), and the slave to send data back in response of another type (another struct).
In the main loop of client I was going to use:
struct CLIENT_DATA {
    long t;
};
CLIENT_DATA clientdata;

uint8_t bs[sizeof(clientdata)];
memcpy(bs, &clientdata, sizeof(clientdata));

pRemoteCharacteristic->writeValue(bs, sizeof(bs));

...and I thought that in the Master (BLE_Notify) I would do something like this:
class MyCallbacks: public BLECharacteristicCallbacks {
void onWrite(BLECharacteristic *pCharacteristic) {

	struct CLIENT_DATA {
		long t;
	};
	CLIENT_DATA clientdata;

	uint8_t *rxValue = pCharacteristic->getValue();
	memcpy(&clientdata, rxValue, sizeof(clientdata));

	Serial.printf("Received Value (t): %ld \n", clientdata.t);
};

This kind of doesn't work because "pCharacteristic->getValue();" is returning a String... not a uint8_t. Is there a better way that I have missed?
Thanks for your help in advance, much appreciated!
NB: I realise I'm kind of doing it the wrong way around (maybe should be from BLE_Notify first) but I need to get both ends sending data, perhaps in a Request/Response type pattern.

maybe a dump question ... I have some problems to get values by the noble implementation on an raspberry. I tried I manually by gatttool to see what's incoming.
On the ESP I use BLEServer with Characteristic READ and NOTIFY and looping periodically
pCharacteristic-->setValue() and pCharacteristic-->notify().
Using the gatttool on the raspberry, the BLE Server gives back two characteristic handlers:  2a and 2b. 2a the values of the my characteristic UUID , 2b seems to be the notification flag. I set 2b on 0100 and, as expected, periodically incoming 2a values "Notification handle = 0x002a value: XXXX"  . All things fine, I think.
My question is: then I set  pCharacteristic-->notify(), the BLEServer send independently the notify message to the client? Then the client received that, he can or should (?) start a read action to read (in my case) the 2a handler?

When server is sending notification then the value is already sent, no need to read it.
Of course you can have some logic that is sending notification and you want to read value. In some situations it can be desired, when you cant control MTU value. In such case notification can be only 20 bytes long (if default MTU is set), but in normal situations just receiving notifications is enough.

Oh yes, many thank!!! I was really confused - so I have to check the noble implementation and see why no data are incoming.

I would suggest to test with nRF connect on android or iPhone.

Oh yes, on mobile apps it works too. I try to generate BLE Sensors and communicate along noble/homebridge to send data into the HomeKit. Have some trouble to find out, there the value "hang on", got 0 every time, without any errors. But, that not the discussion here. Thx lot, again.


Improve request ID for custom header name

Add a kwarg to request id policy to set the header name (similar to what Java is already doing)
Add requst id policy in config, for easier setting by codegen

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-core


Empty Service Fabric Provider

I guess I have some configuration issues, but cant seem to figure out what I have done wrong.
I have added the træfik service and the endpoints seems to be working (getting a 404) when trying to go to any route.
The dashboard have a tab under Providers named "Service Fabric Provider". There is no content in the tab, so I assume it cannot find any services and/or labels?
I have also deployed a StatlessService with the current labels:
<Extension Name="Traefik">
     <Labels xmlns="http://schemas.microsoft.com/2015/03/fabact-no-schema">
         Host: example.com
         true
         true
    </Labels>
</Extension>

I assume this should have showed up in the dashboard? Any suggestions?
Seems to be able to connect to the cluster and download config if I read the log correctly.

time="2018-04-23T09:21:00Z" level=info msg="Checking service fabric config"
time="2018-04-23T09:21:00Z" level=info msg="Server configuration reloaded on :8080"
time="2018-04-23T09:21:00Z" level=info msg="Server configuration reloaded on :80"
time="2018-04-23T09:21:00Z" level=info msg="Server configuration reloaded on :443"
time="2018-04-23T09:21:10Z" level=info msg="Checking service fabric config"
time="2018-04-23T09:21:10Z" level=info msg="Skipping same configuration for provider servicefabric"

Hey @lasrol - what Traefik build version are you using and on what OS?

This is from traefik version

Version:      v1.6.0-rc6
Codename:     tetedemoine
Go version:   go1.10.1
Built:        2018-04-17_11:59:31AM
OS/Arch:      windows/amd64

And its running as a Service Fabric cluster in azure (Windows 2016 Datacenter x64)


Read parameters such as port and database location from a config file

Currently hardcoded in the source code.

@jholloc we thought it would make sense to remove the hardcoded path of port and data source location out of the code. We thought that a config file might be the best option. What do you think?

see #24 path still in config file but also needs a check if client sends an absolute path or just a name.


Adds delivery_category to RateEstimate

Adds a delivery category to RateEstimate. Can be used to add generic classification to our rate types.
@kmcphillips @jonathankwok

Simple change, makes sense. :shipit:

👍


CAD-3444 p2p-governor changes from p2p-master

p2p-governor: peer selection without gossip
p2p-governor: localRootPersProvider
p2p-governor: use ledger as a source for publicRootPeers
p2p-governor: improved tracing when ledger peers is disabled
p2p-governor: PoolStake: derive Real instance
p2p-governor: force the list of ledger peers to WHNF
p2p-governor: keep lookup results for different domains separate
p2p-governor: basic churnGovernor based on random selection only
p2p-governor: sleep between 3300s and 3900s between churns
p2p-governor: Adjust number of active peers based on fetchmode
p2p-governor: added PeerSelectionCounters and respective tracers.
p2p-governor: change LocalRootPeers.toGroups to match fromGroups, and use in Show
p2p-governor: fix a bug in the QC shrinker for the p2p governor mock environment
p2p-governor: move QC utils to their own module
p2p-governor: improve the Script shrinker
p2p-governor: Restructure the p2p governor tests a bit: split, add and reorder
p2p-governor: Slightly simplify the Arbitrary instance for PeerAddr
p2p-governor: Make the arbitraryScriptOf generator more general and use it more
p2p-governor: Generalise the LocalRootPeers instance for Arbitrary
p2p-governor: Change the PickScript to pick elements not offsets.
p2p-governor: Extend the shrinker tests: test that the shrinkers shrink!
p2p-governor: Add a "no excessive busyness" test for the p2p governor
p2p-governor: Adjust prop_governor_gossip_1hr to allow demotions
p2p-governor: Adjust prop_governor_connstatus to allow demotions
p2p-governor: Improve counterexamples for +prop_governor_connstatus
p2p-governor: Improve the mock env pick script interpretation
p2p-governor: Adjust playTimedScript to trace the initial value
p2p-governor: Add new env tracers for public roots and gossips
p2p-governor: Make gossip failure results take non-zero time
p2p-governor: Add a new signal-based abstraction for expressing properties
p2p-governor: New governor properties for making progress towards targets
p2p-governor: Add a few misc comments and TODOs
p2p-governor: Order p2p governor tests after the livelock test
p2p-governor: Update the comment on the list of properties
p2p-governor: Add review feedback
p2p-governor: Fix prop_governor_target_known_1_valid_subset
p2p-governor: Add more Signal primitives
p2p-governor: Replace one use of Signal.primitiveTransformEvents
p2p-governor: Adjust LocalRootPeers to require targets > 0
p2p-governor: Minor correction in a comment
p2p-governor: Fix the prop_governor_target_known_above property
p2p-governor: Adjust established and active target properties for local roots
p2p-governor: Add support for hitting the local root peer targets
p2p-governor: Refactored localRootPeersProvider
p2p-governor: Scale pool's stake by sqrt
p2p-governor: new root peers configuration (#3079)
p2p-governor: Refactored DNS resolution to use io-sim-classes
p2p-governor: Added dns resolution tests
p2p-governor: Process synchronous hot promotion errors
p2p-governor: add some randomness to the reconnection delay

We reviewed until commit https://github.com/input-output-hk/ouroboros-network/pull/3377/commits/afc619e7fae4129c55bfaa902a2bd9b7cf2abf2a:
p2p-governor: peer selection without gossip

@bolt12 I think I fixed this one too.  Please check the last commit.


[iOS] Difficulty to swipe between tabs

Current behaviour
Been searching over the internet but cant seem to find similar issue. I am facing the difficulty to swipe between tabs and it only happens on iOS. It's totally fine on android. Currently on iOS, it took 2 to 3 swipes for it to swipe to the next tab.

Expected behaviour
It should swipe to next tab by one swipe only.

Code sample
For Syntax Highlighting check this link

Screenshots (if applicable)

What have you tried

Your Environment

software
version

ios or android

react-native

react-native-tab-view

react-native-gesture-handler

react-native-reanimated

node

npm or yarn

I am also seeing the same issue on occasion and there doesn't appear to be a way to configure the sensitivity. For example the drawer navigator has a minSwipeDistance prop.

I did not have this issue on iOS with version 2.15.2. After upgrading to 3.0.1 this issue came to light, which makes UX horrible on iOS which means i don't want to upgrade the package.


Re-apply iptables review comments with fix

Pending FV run.

LGTM, but I'm gonna merge until the title is changed :-)

Rebased onto master and changed title.


Locally scoped theme contract

Replaces the use of Global Theme Contract with a scoped Theme Contract
This should make it easier to build and use themes.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 62.625%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1239

Relevant Lines:
1723

💛  - Coveralls

nice change


A.3.1

This issue has been extracted from the issue list on:https://ies-svn.jrc.ec.europa.eu/issues/2685
Comment
In the notes it is stated that there is some mismatch between the legal documents and the guidance document. This must be sorted out before handling the tests
Proposed Change
Sort out the mismatch between the documents and then reconsider this test.

Proposed Resolution
Currently, the part of the legislation (IR NS Annex II Part A) specifying that it must be possible to use:

operators for discovering resources through a combination of search criteria
spatial operators to allow discovering resources based on geographic location
Is not covered by an implementation requirement, and as a result, not covered by one of the test cases.

Update TG DISC section 4.4.1 with implementation requirement to include items 3 and 4 as stated in Annex B, table 11 TG DISC.
After this, a new test case should be added to test whether a combination of search criteria can be used (logical and comparison operators) to discover resources.

Unable at present to access the IR (http://eur-lex.europa.eu/legal-content/EN/ALL/?uri=CELEX:32009R0976 and searches for 976/2009 returns "The requested document does not exist"!).
I guess that if the note is true, and there is a mismatch, that should be resolved.
However, I see the note on A.3.1 as misleading - searching by attributes is distinct from spatial searches. This test, based on TG Requirement 4 & therefore section 4.4, is about searching by attributes. Many of these are covered by CSW ISO AP; the "additional" INSPIRE search attributes are covered here (by TG requirements 19-22 giving more detail than 4).
Searches involving spatial operators should be covered by the general CSW ISO AP, which ought to include a thorough check of OGC Filter Encoding (the conformance clause explicitly says so). OGC Filter Encoding includes "intersects".
Similarly, searches using operators to combine search criteria should be covered by validating against OGC Filter Encoding.

Need to check if this is true for CONSTRAINTLANGUAGE="CQL_TEXT", but it should just be a simpler text encoding of the same filter language. Or perhaps I've misunderstood OGC Filter?

Proposed resolution: delete the first paragraph of the "note".
However, it is also true (as per the second paragraph of the note), that this test case is merely an abstraction (combination) of A.3.8 and A.3.9, so it may be more useful to turn it into an abstraction i.e. state that it (& therefore requirements 4, 19-22) are satisfied by passing those two test cases.

Agreed with comments made by Peter:

Delete first paragraph of the note
Update test purpose by stating that this is an abstraction and that requirements 4, 19-22 are satisfied by passing test cases A.3.8 and A.3.9


Error: Cannot find module 'react'

I added the component through npm and I'm getting this:
Error: Cannot find module 'react'
[1]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
[1]     at Function.Module._load (internal/modules/cjs/loader.js:497:25)
[1]     at Module.require (internal/modules/cjs/loader.js:626:17)
[1]     at require (internal/modules/cjs/helpers.js:20:18)
I understand that I need to make react globally accessible but what's the best way to do this?

This always happens to me. I post a question then stumble upon what's wrong with my code right away.
I'm using a nodejs backend and a react frontend. I yarn added to dropzone to the backend code instead of the frontend...


Feature/add api resource create method

Codecov Report

Merging #15 (130e475) into main (936ac49) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #15   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           12        12
  Lines          327       326    -1
  Branches        42        42
=========================================
- Hits           327       326    -1

Impacted Files
Coverage Δ

outreach_sdk/resources/exceptions.py
100.00% <ø> (ø)

outreach_sdk/resources/resources.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 936ac49...130e475. Read the comment docs.


Roll engine e0ebaea59071..cd11d7ab315f (3 commits)

https://github.com/flutter/engine/compare/e0ebaea59071...cd11d7ab315f
git log e0ebaea59071..cd11d7ab315f --first-parent --oneline
2020-02-12<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from 7JkB7... to t4kck... (flutter/engine#16555)
2020-02-12<EMAIL_ADDRESS>Roll src/third_party/dart e4c39721c473..0299903f3e78 (31 commits) (flutter/engine#16553)
2020-02-12<EMAIL_ADDRESS>[Fuchsia] Dump syslog output after tests have run (flutter/engine#16561)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

AutoRoller is stopped; closing the active roll.


Replayer cron job on berkeley

Create this cron job after adding the SNARK ledger hash check, and debugging the ledger hash mismatch issue.

The cron job is running, but failing due to changes in berkeley
Redeploy after the upcoming berkeley release.

Done.


Calling @_unsafeInheritExecutor functions doesn't exit the current actor

Fixes a spurious warning reported by rdar://95777456.

@swift-ci please smoke test

@swift-ci please smoke test


Zoom images for mobiles devices

Description
able to zoom images sent by the bot in mobiles devices
Reason(s) for adding
some images can still be hard to see even if you click it

Browsers lets users zoom not just in image but also in the websites.


Fixed a bug in prime_number.py

Have you read the Contributing Guidelines on Pull Requests?
YES
Description
I noticed an issue with prime_number.py regarding the recursive approach. The condition to check (num==2) must be before then it is actually placed. which resulted in the wrong execution of the program.
For an input of 2, the recursive approach returned False which instead should be True.
I have also changed my profile link in CONTRIBUTORS.md file.
Checklist

[Y ] I've read the contribution guidelines.
[Y] I've checked the issue list before deciding what to submit.
[Y] I've edited the README.md and link to my code.

Related Issues or Pull Requests
None

@iamrajiv actually I am already added in CONTRIBUTOR.md for one of my merged PR, here I have just updated a link of my profile


Don’t use SEP to extract from subtracted images

SEP is really intended for science images. It won’t catch dark/negative regions (which are still differences). Look for different, statistically oriented blob-detectors.
Maybe take a leaf from PTF’s book --- train a small classifier to differentiate between weird DIA artifacts and real differences. Find what a ‘real’ diff looks like using simulations?

Turns out it is okay


No longer working

With the two latest updates, my background no longer covers everything (only covers server channel lists now). Is this a general problem now or is it just me? How can I fix it?

You could have checked previous issues there were similar ones. This is an issue with your theme, ask the author to update it.


Add akash deployment yml

Hi, after some time i made this hostable on akash. This was my deploy.yml:
The system requirements can be lowered most likely.

---
version: "2.0"

services:
  pg-0:
    image: postgres:13
    env:
      - POSTGRES_USER=someUser
      - POSTGRES_PASSWORD=somePassword
      - POSTGRES_DB=zabbix
    expose:
      - port: 5432
        to:
          - service: zabbix
          - service: web
  zabbix:
    image: zabbix/zabbix-server-pgsql:ubuntu-5.0.6
    env:
      - DB_SERVER_HOST=pg-0
      - POSTGRES_USER=someUser
      - POSTGRES_PASSWORD=somePassword
      - POSTGRES_DB=zabbix
    expose:
      - port: 10051
        as: 10051
        to:
          - service: web
      - port: 10050
        as: 10050
        to:
          - service: web
    depends_on:
      - service: pg-0
  web:
    image: zabbix/zabbix-web-nginx-pgsql:ubuntu-5.0.6
    env:
      - DB_SERVER_HOST=pg-0
      - POSTGRES_USER=someUser
      - POSTGRES_PASSWORD=somePassword
      - ZBX_SERVER_HOST=zabbix
      - POSTGRES_DB=zabbix
      - PHP_TZ=Europe/Berlin
    expose:
      - port: 8080
        as: 8080
        to:
          - global: true
    depends_on:
      - service: zabbix
      - service: pg-0
profiles:
  compute:
    pg-0:
      resources:
        cpu:
          units: 0.5
        memory:
          size: 256Mi
        storage:
          size: 1Gi
    zabbix:
      resources:
        cpu:
          units: 0.5
        memory:
          size: 512Mi
        storage:
          size: 512Mi
    web:
      resources:
        cpu:
          units: 0.5
        memory:
          size: 512Mi
        storage:
          size: 512Mi
  placement:
    dcloud:
      attributes:
        host: akash
      signedBy:
        anyOf:
          - "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
      pricing:
        pg-0:
          denom: uakt
          amount: 100
        zabbix:
          denom: uakt
          amount: 100
        web:
          denom: uakt
          amount: 100

deployment:
  pg-0:
    dcloud:
      profile: pg-0
      count: 1
  zabbix:
    dcloud:
      profile: zabbix
      count: 1
  web:
    dcloud:
      profile: web
      count: 1

Looks great! can you create a pull request?


warning: unused variable and non-snake case filename on examples

Cargo spews out ~20 different warnings on examples when building tests. It doesn't on cargo build though.

Yeah I just haven't got around to changing the names to proper snake case yet :stuck_out_tongue_winking_eye:


--show-toc is not working

i am trying to show toc but i am getting this error
❯ pdf-toc --show-toc toc file.pdf
Traceback (most recent call last):
  File "/home/aneeq/.local/bin/pdf-toc", line 33, in <module>
    sys.exit(load_entry_point('pdf-toc==1.1.3', 'console_scripts', 'pdf-toc')())
  File "/home/aneeq/.local/lib/python3.10/site-packages/src/main.py", line 169, in main
    toc = source.getToC(False)
AttributeError: 'Document' object has no attribute 'getToC'. Did you mean: 'get_oc'?

I think this is because PyMuPDF has changed the method name of Document.getToC into Document.get_toc, as the manual says.
I will release a new version of pdf-toc to fix the issue as soon as I have some spare time. For now, you can manually downgrade the PyMuPDF to an older version. PyMuPDF == 1.18.15 should be working.

When I try using PyMuPDF==1.18.15, the 'Document' object has no attribute 'getToC' error disappears, but another error occurs. Is there anything I can do with that?
Traceback (most recent call last):
  File "/opt/anaconda3/envs/sklearn_38/bin/pdf-toc", line 5, in <module>
    from src.main import main
  File "/opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/src/__init__.py", line 1, in <module>
    from .main import main
  File "/opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/src/main.py", line 6, in <module>
    import fitz
  File "/opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/fitz/__init__.py", line 10, in <module>
    from fitz.fitz import *
  File "/opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/fitz/fitz.py", line 15, in <module>
    from . import _fitz
ImportError: dlopen(/opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/fitz/_fitz.cpython-38-darwin.so, 2): Symbol not found: ____chkstk_darwin
  Referenced from: /opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/fitz/_fitz.cpython-38-darwin.so
  Expected in: /usr/lib/libSystem.B.dylib
 in /opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/fitz/_fitz.cpython-38-darwin.so

When I try using PyMuPDF==1.18.15, the 'Document' object has no attribute 'getToC' error disappears, but another error occurs. Is there anything I can do with that?
Traceback (most recent call last):
  File "/opt/anaconda3/envs/sklearn_38/bin/pdf-toc", line 5, in <module>
    from src.main import main
  File "/opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/src/__init__.py", line 1, in <module>
    from .main import main
  File "/opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/src/main.py", line 6, in <module>
    import fitz
  File "/opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/fitz/__init__.py", line 10, in <module>
    from fitz.fitz import *
  File "/opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/fitz/fitz.py", line 15, in <module>
    from . import _fitz
ImportError: dlopen(/opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/fitz/_fitz.cpython-38-darwin.so, 2): Symbol not found: ____chkstk_darwin
  Referenced from: /opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/fitz/_fitz.cpython-38-darwin.so
  Expected in: /usr/lib/libSystem.B.dylib
 in /opt/anaconda3/envs/sklearn_38/lib/python3.8/site-packages/fitz/_fitz.cpython-38-darwin.so

I am not sure what exactly happened here. It seems to be an upstream issue where PyMuPDF is not installed correctly. https://github.com/pymupdf/PyMuPDF/issues/1296 could be related. You can try to reinstall PyMuPDF or update pip before installation.
This could be specific to some older versions of PyMuPDF through. Perhaps the issue will be resolved automatically in the upcoming version of pdf-toc. Let me know if the problem persists then.

Thanks for your help, unfortunately updating pip and reinstalling PyMuPDF didn't fix the issue. Anyway, I'm watching for the upcoming version of pdf-toc. ;)

fixed in 815e20b


can't edit text form field after navigate from the screen in IOS

Steps to reproduce
After the latest update, I cannot edit the text form field when switching to another screen.
Expected results
Always edit the text in the form field.
Actual results
cannot edit the text form field when switching to another screen.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {

    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(

        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
            TextFormField(),
            const SizedBox(height: 16),
            ElevatedButton(
              onPressed: () {
                Navigator.push(context, MaterialPageRoute(builder: (context) => const MyHomePage2(title: 'Two')));
              },
              child: const Text("Navigate"),
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

class MyHomePage2 extends StatefulWidget {
  const MyHomePage2({super.key, required this.title});
  final String title;

  @override
  State<MyHomePage2> createState() => _MyHomePage2State();
}

class _MyHomePage2State extends State<MyHomePage2> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/81823248/19fec335-8bf3-41fa-9380-9757ef068f93

Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.4.1 23E224 darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.89.1)
[✓] Connected device (5 available)
[✓] Network resources

@Anas-Qasem
This is a duplicate of https://github.com/flutter/flutter/issues/148867 and per my verification, it works as expected in master so you can switch to master and re-run your scenario to confirm.
Closing as such.


Implementing strict HTTP/2 at the ambassador level

Describe the bug
We need to configure strict HTTP/2 at the ambassador level  and none of the HTTP protocol with http/1.0 and http/1.1 should pass the system but when set the below yaml it still take http/1. request

apiVersion: getambassador.io/v2
kind: TLSContext
metadata:
name: xxxxxxxxxxxx
spec:
hosts:

xxxxxxxxxxxxxxxxxx
secret: xxxxxxxxxxxxxxxxxxxxxxxxx
alpn_protocols: h2

The alpn_protocols: h2 should restrict traffic to h2 traffic.  I wonder if its an issue with the formatting here.  Attaching an example below.
apiVersion: getambassador.io/v3alpha1
kind:  TLSContext
metadata:
name:  tls
spec:
secret: ambassador-certs
hosts: ["*"]
alpn_protocols: h2


adding visual indicator to tmux statusline to tmix-modal is activated

This pull request is based on the issue I opened here. I thought others might find it useful. The bg value can also be exposed to the user if need be.

Since this is quite "hard-coded", it will probably not be merged as is. I believe that was not your intention either, but just an "example" for others that might be interested, right?

Yeah, I can refactor and make TMUX_MODAL_INDICATOR a global the end user can override.

Before you do that, I think we need to discuss if it is even possible to have something like this in the general case. How can we guarantee that it will work for all users? I'm thinking of users that already have custom status bars (e.g. https://github.com/erikw/tmux-powerline). We need to make sure that we don't mess the colors up (also to reset cleanly etc.)

Closed due to inactivity


Physical Poweroff iPhone

After ./downr1n.sh --boot, we are able to boot to iphone, When we power off iphone and restart, unable to see downgraded OS

didn't you create already a issue ?


mat-tab-nav-bar cannot show full tab

What is the expected behavior?
The tab group can show all the tab need assign in the array.
What is the current behavior?
Currently the tab group cannot show all the tab.
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://stackblitz.com/edit/angular-fkmnx7?file=app/tab-nav-bar-basic-example.ts
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular version: "@angular/cli": "7.1.1"
Material Version: "@angular/material": "7.1.1"
OS:window 10
TS:  "typescript": "3.1.6"

Duplicate of #2177


dynamic head

《Dynamic Head: Unifying Object Detection Heads with Attentions》
a novel detection head, called dynamic head, to unify scale-awareness, spatial-awareness, and task-awareness all together.
I can't reimplement it. I hope someone can do this. thanks a lot!!!!

@zkloveai The source code is open, are you interested in reproducing it in mmdet ?

yes.I only use mmdet ~ hope


[FLINK-11246][table] Fix distinct AGG visibility issue

What is the purpose of the change
This pull request Fixes the visibility issue of distinct in Table API
Brief change log
(for example:)

Remove private[flink] of DistinctAggregateFunction#distinct
Remove private[flink] of DistinctAgg#distinct

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@dianfu Thanks for the PR.
Will be merged.

@sunjincheng121 Thanks a lot for the quick review and merge. :)


Visdom server incompatible with tornado v5.0+

pip install --upgrade -e git+https://github.com/facebookresearch/visdom.git@master#egg=visdom
pip list | grep visdom  # visdom (<IP_ADDRESS>)
python -V  # Python 3.6.4 :: Anaconda, Inc.
python -m visdom.server

Traceback (most recent call last):
  File "/home/dizcza/anaconda3/envs/mcmc/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/dizcza/anaconda3/envs/mcmc/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/dizcza/PycharmProjects/MCMC_BinaryNet/src/visdom/py/visdom/server.py", line 29, in <module>
    ioloop.install()  # Needs to happen before any tornado imports!
  File "/home/dizcza/anaconda3/envs/mcmc/lib/python3.6/site-packages/zmq/eventloop/ioloop.py", line 210, in install
    assert (not ioloop.IOLoop.initialized()) or \
AttributeError: type object 'IOLoop' has no attribute 'initialized'

tornado v5.0+ fails
tornado v4.5.3 works fine

Ack I suppose tornado made a breaking change - I'll see what happened

Hi @dizcza - It appears tornado's interaction with ioloop has changed for python 3.6, can you try running the server when omitting lines 27 and 29? Tornado's ioloop now seems to be backed by asyncio in python 3, which would make this install potentially redundant or cause unexpected behavior.

Sorry for the bother, other things on my plate right now - thought you'd be able/willing to help out but I mis-assessed. I'll get to it sometime soon

Was this fixed at some point? I was going to look into fixing it, but visdom master and tornado 5.0.2 is working fine already.

Oh is it? I suppose tornado restored the original capabilities. I'll close this out. Thanks for the heads up!

If you are using tornado v5.0+, you need to upgrade pyzmq to v17.
[credits @takluyver, from https://github.com/jupyter/notebook/issues/3595]


Getting Started example notebook broken link to docs

Description
https://github.com/whylabs/whylogs/blob/mainline/python/examples/basic/Getting_Started.ipynb
links at the end for "Writing Profiles" is broken and why not link to our repo examples instead of the docs?:

Integrations
Pyspark - Use whylogs with pyspark
Writing Profiles - See different ways and locations to output your profiles

https://whylogs.readthedocs.io/en/stable/examples/integrations/Writing_Profiles.html

fixed.


Clean up code in scaling-controller.go

Please fix inconsistencies in code choices:

indentation
spacing
line breaks
etc..

More improvements...

Refactor redundant code into reusable pieces (func or pkg)
Add more comments so we don't forget what all this code does


Guidance on handling ETags

The Azure SDK guidelines aren't currently prescriptive regarding the use of ETag in APIs.  In storage libraries, ETag is alternately handled in a separate blob properties class in Azure Blob Storage, and as an entity property in Azure Storage Tables.  It would be helpful for the board to characterize when to take one approach versus the other and give further guidance about patterns for conditional operations.
There are several key questions to this issue:

Should SDKs abstract the concept of ETag from the user?
Should ETag live as a property on the logical entity it represents, or a separate object holding response headers?
Should ETag be explicitly passed to a method, or read from the logical entity?
Should ETag be settable on the logical entity so that the user can clear the value?

In the following discussion, we'll look specifically at the use of ETag in the AppConfiguration client library, several approaches that answer these questions in different ways, and make a recommendation for a solution that addresses most of our concerns.
ETag in AppConfiguration
The .NET APIs currently provide the following options for CRUD operations:

For Delete, ETag is explicitly passed as a parameter which has the benefit of alerting the caller to its use in the method.  The concerns come with the Set operation, where If-Match is set on the Request if the ETag  property on ConfigurationSetting has a value, which hides its use from callers.  It also means we must make ETag a settable property on ConfigurationSettting to enable clearing it, which can cause confusion to users creating an instance of ConfigurationSetting, where they might believe they should set this value.
Possible Approaches

ETag is not a property of ConfigurationSetting, and passed as a parameter to operations.

If ETag isn't a property of ConfigurationSetting, users must obtain ETag from the Response object and implement management of a group of ETags in order to pass them into Delete, Get and Set methods.  It might not be obvious to the user that it should be obtained from the response, and it would require many customers to implement similar logic that our library should provide.

ETag is a read-write property of ConfigurationSetting, and ConfigurationSetting is passed as a parameter to operations (not ETag)

If If-Match is set when the ConfigurationSetting's ETag property has a value, the user must learn this pattern to implement optimistic concurrency.  There is no ETag parameter in method signatures for Delete, Get or Set, so it is not explicitly called out to the user that the value is used in the method.  In order to use last writer wins semantics for these methods, ETag must be a settable property of ConfigurationSetting, which potentially leads to confusion when creating instances of ConfigurationSetting -- the implication is that the user should set it to something which is misleading, since in almost all cases this value should be obtained from the server.  Another concern with this approach is that Set and Delete will throw infrequently, so users may not realize they need to handle the exception until they get to production.

ETag is a read-only property of ConfigurationSetting, and both ConfigurationSetting and a separate ETag parameter is passed to override the ConfigurationSetting property.

Having two ETags passed to the method causes confusion about which one takes precedence.

ETag is a read-only property of ConfigurationSetting, and both ConfigurationSetting and an onlyIfMatches parameter is passed to the method.

The onlyIfMatches parameter indicates whether or not the ETag value should be added to the Request in an If-Match header.  This approach gives the user the option to make the operation conditional or not, without causing confusion with multiple ETag values available in the same method.  There is a parameter indicating that ETag will be in use which will help alert callers both to its use and the need to handle exceptions the method could throw.  ETag is not settable, so it avoids confusion when a ConfigurationSetting object is created.
Proposed API
The fourth approach addresses most of our concerns surrounding ETag.  In this approach, the CRUD operations become:

In addition, in this approach, the answers to our key questions become:

Should SDKs abstract the concept of ETag from the user?
-> No, ETag is still visible, but only its functionality is described at the method level, and the defaults use LWW semantics so user not handling optimistic concurrency won't fail sporadically.
Should ETag live as a property on the logical entity it represents, or a separate object holding response headers?
-> Property of logical entity
Should ETag be explicitly passed to a method, or read from the logical entity?
-> Read from the logical entity, applied based on parameter that defaults to last writer wins.
Should ETag be settable on the logical entity so that the user can clear the value?
-> Not settable, but applied based on method parameter.

Scheduled for 9/24

I would propose a slight alternative; instead of using a single boolean parameter name, use an enumeration to determine how the etag should be interpreted (if provided). Strawman implementation below.
class Condition(Enum):

    Unconditionally
    IfNotModified
    IfModified
    IfPresent
    IfMissing

class AzureAppConfigurationClient(object):

    def get_configuration_setting(
            self, key, label=None, *, condition: Condition=Condition.Unconditionally, etag=None, **kwargs
        ):
        pass

    def set_configuration_setting(
        self, configuration_setting, *, condition:Condition=Condition.Unconditionally, **kwargs
    ):
        pass

    def delete_configuration_setting(
        self, configuration_setting, label=None, *, condition:Condition=Condition.Unconditionally, etag=None**kwargs
    ):
        pass

    # Convenience methods
    def add_configuration_setting(self, configuration_setting, *, **kwargs):
        return self.set_configuration_setting(configuration_setting, condition=Condition.IfMissing, **kwargs)

    def update_configuration_setting(self, configuration_setting_or_name, label=None, *, value=None, tags=None, etag=None, **kwargs):
        return self.set_configuration_setting(configuration_setting, condition=Condition.IfPresent, **kwargs)

The etag is still a property on the returned model/logical entity.
For methods that accept a model instance as a parameter, use the etag from the value passed in.
For methods that take the primary key of the resource, provide a specific etag parameter.
The etag property is read-only (but you should be able to provide a value in the constructor/deserialize a previously persisted resource instance.
You cannot clear the etag property on the model instance.

Also, please note that, in the general case, not all services support If-Match/conditional headers. Which begs the question as to what the default should be (consistent across all services/unconditional or safe if the service supports it).

I like the proposal with explicit (optional enum). But I am not thrilled with get/set ETag property. Should we add an API to clear the ETag instead? Another thing I worry a bit is that some combination of the enum value and the method don't make sense, e.g. delete if missing.
Another option to consider: instead of using an enum, have dedicated method names

Add: IfMissing
Set: Unconditionally
Update: IfNotModified
Delete: Unconditionally

For Storage we've got HttpAccessConditions (review and source) that aligns more with @johanste's Condition enum than @KrzysztofCwalina's multiple methods suggestion.  That's largely because we don't have many input/output models with an ETag on them.

Here is the outcome of conversations with the arch board.
Handling Conditional Requests
We consider the broader issue of Conditional Requests in HTTP.  Generally speaking, there are two types of conditional requests.

Safe (e.g. GET)
These are typically used to save bandwidth in an "update cache" scenario, i.e. I have a cached value, only send me the data if what the service has is newer than my copy.  These return a 304 status, indicating the value was not modified, to indicate to the caller that their cached value is up to date.

Unsafe (e.g. PUT, DELETE)
These are typically used to prevent losing updates in an optimistic concurrency scenario, i.e. I've modified the cached value I'm holding, but don't update the service version unless it's the same copy I've got.  These return a 412 error status code, indicating the value was modified, to indicate to the caller that they'll need to retry their update if they want it to succeed.

We will handle these two cases differently, since 304 is essentially a success case (you have the latest value), whereas 412 is a failure case (your PUT request didn't succeed).
Return Types for Conditional Requests
Safe
For safe operations, we return Response<T> and callers must check the response status code to determine whether or not they received an updated value.  If the response was 304, it means there is no updated value in the response content, so it is an error to reference response.Value.  We will throw a ResourceModifiedException to indicate this when response.Value is returned for a 304 response.
Unsafe
For unsafe operations sent as conditional requests, we will throw a RequestFailedException to indicate that the
Method Signatures and Overloads
In order to prevent callers from unwittingly calling a method with a value that will throw, we require them to explicitly indicate that their request is conditional, by means of a parameter in the method signature.
Safe
For safe methods, the client may provide an onlyIfChanged parameter which defaults to false (unconditional).  If the caller wants to make the method conditional, they will set this value to true.
Unsafe
For unsafe methods, the client may provide an onlyIfUnchanged parameter, which defaults to false (unconditional).  If the caller wants to make the method conditional, they will set this to true.
While this is an unsafe default, it is consistent with the semantics of set in Dictionary and ConcurrentDictionary, which will overwrite whatever value is present if called.  It also means that callers opt-in to optimistic concurrency, which clarifies the need to handle exceptions that could be thrown as a result of a prior update.  We consider this an uncommon case that might not be discovered during application development, leading to crashes in production that are hard to diagnose.
Flexibility: HttpRequestOptions
In order to support all varieties of conditional requests, including IfModifiedSince and IfUnmodifiedSince, and to accommodate the possibility of services introducing conditional requests in later versions, we will provide overloads that take an HttpRequestOptions object, which currently provides properties for four of the five precondition headers, and could be extended to include the IfRange header if a service used it.
HttpRequestOptions gives us a place to add support for request scenarios we discover later.  If we add something that's universal to requests, it will be added to the type.  If we want to add something that is specific to a given operation, we can provide this functionality by inheriting from HttpRequestOptions and passing in a subtype to the base type.

Closed on the request, per arch board, in PR #646 (merged)

See Arch Board video: https://msit.microsoftstream.com/video/fa6becd2-cfb3-4561-8b62-9f27af33bcb6


Postfix add missing headers

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[X] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
[X] When the request is meant for an existing plugin, I've added its name to the title.

Is your feature request related to a problem? Please describe.
I have a device (QNAP QTS 5.0.1) sending emails and I wish for them to go to gmail via my ISP mail relay. QNAP Notification Center <IP_ADDRESS>6 does not create the Message-Id header, ISP mail relay does not add it and Gmail rejects messages without the header.
QNAP support was not helpful and only gave one unhelpful tasks to perform after another rather than take on the problem.
So I tried to set up postfix on OPNsense and have it add the missing header. But it does not add and there is no option.
Describe the solution you'd like
Add option corresponding with the always_add_missing_headers option. It'll need related local_header_rewrite_clients option to allow changing the default to permit_mynetworks.
I believe there are other broken email senders that are hard to fix.
Describe alternatives you've considered
I edited the options into the /usr/local/opnsense/service/templates/OPNsense/Postfix/main.cf template to try if it helps. It does, however it'll be void on next update.
local_header_rewrite_clients = permit_mynetworks
always_add_missing_headers = yes

Additional context
The mail relay returns delivery-status with gmail response
<***@***>: host gmail-smtp-in.l.google.com[<IP_ADDRESS>]
    said: 550-5.7.1 [<IP_ADDRESS>] Messages missing a valid messageId header
    are not 550 5.7.1 accepted.
    w6-20020a***fq.441 - gsmtp (in reply to
    end of DATA command)

I believe #4168 will fix this.


Add values for "cursor"

I made the decision to omit "alias" as it kinda conflicts with "auto"

CLA is valid!

Coverage remained the same at 100.0% when pulling ff956c8e48849c2c45482e9bcb29793079c9a8eb on add-cursor-values into 34eb35814a2e9cbca12891425cb45ff972367c8e on master.

Coverage remained the same at 100.0% when pulling ff956c8e48849c2c45482e9bcb29793079c9a8eb on add-cursor-values into 34eb35814a2e9cbca12891425cb45ff972367c8e on master.

Seems right to exclude alias.  LGTM.


German value names inside the code

Examples of this can be found here.
Context
In general, mixing languages in software-code is considered bad practice.
Suggestions
Refactor value names to english ones.

cc @maxxweb (sven)


Roll Flutter Engine from 43f727e4748a to 9bad4ed63fe2 (1 revision)

https://github.com/flutter/engine/compare/43f727e4748a...9bad4ed63fe2
2023-07-26<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 0StTjIqUxGkc3nOWT... to d6O9t74z-k2svOmvz... (flutter/engine#44030)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from 0StTjIqUxGkc to d6O9t74z-k2s
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Could you make your Plugin available for Aternos?

Hello,
I was trying to submit your Plugin in the Aternos "Plugin suggestion" section, but unfortunately Github website is not supported. I already tried to contact Aternos support for help, but they gave me this following solution. If it doesn't bother you too much, I wanted to ask you if you could upload your Plugin to one of these websites (actually I have no idea which is the appropriate website for plugins, maybe the third one):
curseforge.com
dev.bukkit.org
spigotmc.org
poggit.pmmp.io
modrinth.com
If you have already done this, could you send me the link, so that I can submit the plugin? Thank you.

Hi, I've already made it available on Modrinth at https://modrinth.com/plugin/voice-chat-interaction-paper.

I'm sorry, I didn't see it. Tank you so much!


Network retries configuration seems to not apply to pushing artifacts

See original issue on GitLab
In GitLab by [Gitlab user @tristanvb] on Nov 10, 2017, 10:48
Maybe this is also the case for pulling artifacts, haven't checked.
I did get some failures with pushing artifacts during a build session, and no retries were attempted.

In GitLab by [Gitlab user @tristanvb] on Dec 1, 2017, 10:55
This is either fixed or perhaps I misinterpreted my output, seen this working well today, so closing this one.

In GitLab by [Gitlab user @tristanvb] on Dec 1, 2017, 10:55
closed


@TODO - Apply GPU

check docker settings for tensorflow GPU - install

https://www.tensorflow.org/tutorials/using_gpu#logging_device_placement

Add checking part which it is using GPU or CPU


Style Buttons according to Figma Design standards

Style the buttons according to what is stated on Figma.

I've updated the buttons in the design system.
They now include more states (Selected, Async) and the sizes were adjusted to all be multiples by 8 px (1X) in height.


Create DAOhaus Starter App Template

Document the polyfill process. Does not effect community developers. It's a veet thang. Y'all should understand

Nice to have in a starter repo

Closing as duplicate of issue https://github.com/HausDAO/daohaus-monorepo/issues/500


At least one camper encountered reporting HTTPS "not safe" issue for accessing Medium publication

@QuincyLarson The link you posted does not work


[Nodes] Quick pass over nodes section.

Description
This PR makes a number of improvements to various pages in the node developer docs. At a high-level, it removes a bunch of incorrect and out-of-date information, and addresses a few common errors we see when onboarding new nodes. For example:

Out-of-date hardware and missing port requirements for PFNs
Incorrect descriptions for starting and deploying validators and VFNs
Old state sync documentation
Badly named sections (e.g., Run a validator should be Run a validator and VFN, Run a fullnode should be Run a PFN.
Add some warnings and improve text around key generation and identify file generation for PFN.
Update port information for node services
General language improvements and cleanups.

Once this lands, I'll continue doing some sanity checks over the rest of the node docs. There is still a lot of out-of-date and incorrect information here.
Checklist

[x] Do all Lints pass?
[x] Have you ran pnpm spellcheck?
[x] Have you ran pnpm fmt?
[x] Have you ran pnpm lint?

Thanks @sionescu!! 😄


Fix endpoints for cns pull model api calls to dnc

Reason for Change:
Endpoints for API calls to DNC when CNS is running in Managed mode are incorrect. DNC expects networks string as part of the URL.
Issue Fixed:
Fixes Issue #25350573 on ADO
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] relevant PR labels added

Notes:

Merged this instead: https://github.com/Azure/azure-container-networking/pull/2297


[ClangImporter] Check for API-note-provided attributes by source loc

...rather than by whether they're implicit. We're planning to make them explicit in apple/swift-clang#189 (prompted by a change in upstream Clang that no longer prints implicit attributes).
rdar://problem/40346997

@swift-ci Please test

Low-priority post-WWDC ping.

Rebased.
@swift-ci Please smoke test

@DougGregor Ping, since we're rebranching Clang.
@swift-ci Please smoke test


First image svg

Replaces first image on home component with provided svg.

pushed additional fixes
Co-authored By: @cfernando415


Update anidb_list.py

Fix for https://github.com/Flexget/Flexget/issues/978

Can you resync PR please? we had some issues on dev branch that caused other tests to fail


Importing sceleton from blender

Hi,
Can you give my a hind, how to get skeleton/armature from blender to UN4? I can't figure out, why can't I export and then import armature. Meshes and materials are good, but I can't play my animation.

UN4? Do you mean UE4?
You can export the blender scene to glTF binary, then check it by the 3D viewer in windows 10 or glTF viewer.
Does your glTF is available?

Sorry, yes UE4.
I did try to export again and then import to blender, but it makes all the bones to empties and there is no skeleton at all.

So I think it has problems when you export the glTF from the blender.

Thanks for your comment.

Yes, the problem is when I export it? Is there something that I should know about this?

Yes, the problem is when I export it? Is there something that I should know about this?

Yes, I think. Any other glb viewers are available?


GCP Tiered Storage org.jclouds.rest.ResourceNotFoundException - Pulsar 2.6.1

I have a heartbeat topic that receives messages on the topic persistent://public/default/canary, and I configured retention on this topic to test tiered storage in GCP. When I manually trigger offloading from the topic, I get the error java.util.concurrent.CompletionException: org.jclouds.rest.ResourceNotFoundException: Not Found, as shown below:
bin/pulsar-admin topics offload --size-threshold 10M persistent://public/default/canary

Offload triggered for persistent://public/default/canary for messages before 873151:0:-1

bin/pulsar-admin topics offload-status -w persistent://public/default/canary

Error in offload
null
Reason: Error offloading: org.apache.bookkeeper.mledger.ManagedLedgerException: java.util.concurrent.CompletionException: org.jclouds.rest.ResourceNotFoundException: Not Found

On the broker and bookie containers, I have the GCP JSON key file located at conf/auth/tiered-storage.key
In my broker.conf file, I have the GCS attributes configured as follows:
managedLedgerOffloadDriver=google-cloud-storage
gcsManagedLedgerOffloadRegion=us-west-3
gcsManagedLedgerOffloadBucket=gs://my-bucket-name
gcsManagedLedgerOffloadMaxBlockSizeInBytes=67108864
gcsManagedLedgerOffloadReadBufferSizeInBytes=1048576
gcsManagedLedgerOffloadServiceAccountKeyFile=/pulsar/conf/auth/tiered-storage.key

The tiered-storage.key file looks as follows:
{
  "type": "service_account",
  "project_id": "my-project-id",
  "private_key_id": "c8myid12345",
  "private_key": "-----BEGIN PRIVATE KEY-----\nABCDEFG...XYZ=\n-----END PRIVATE KEY-----\n",
  "client_email"<EMAIL_ADDRESS>  "client_id": "123456",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
  "token_uri": "https://oauth2.googleapis.com/token",
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
  "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/example-cert-url%40identity-example.iam.gserviceaccount.com"
}

It seems that the key file path is incorrect. However, when I tried altering the key file to contain invalid JSON, I got an error message that the JSON was invalid when I triggered a manual offload of the topic, which implies that Pulsar was able to access the key file.

FYI @david-streamlio

Could the bucket path be incorrect? Perhaps it doesn't like the prefix.

I removed the "gs://" prefix from the bucket name in broker.conf, and the issue was resolved.

@devinbost Seems we should clarify it in the document, are you interested in fix it?


Staging data expectations Sep 30th

We want to create a version of the staging data that complies with the following rules for a gentropy pipeline run.
This is a data-patching exercise with the intention to produce a clean run of the pipeline and identify further actions in the implementation of the logic:
The next are all the staging inputs:
study_index_path:
        - gs://gwas_catalog_data/study_index
        - gs://eqtl_catalogue_data/study_index
        - gs://ukb_ppp_eur_data/study_index
        - gs://finngen_data/r11/study_index
 study_locus_path:
        - gs://gwas_catalog_data/credible_set_datasets/gwas_catalog_PICSed_curated_associations
        - gs://gwas_catalog_data/credible_set_datasets/gwas_catalog_PICSed_summary_statistics
        - gs://gwas_catalog_data/credible_set_datasets/gwas_catalog_susie_summary_statistics
        - gs://eqtl_catalogue_data/credible_set_datasets/eqtl_catalogue_susie/
        - gs://ukb_ppp_eur_data/credible_set_datasets/ukb_ppp_eur_susie
        - gs://finngen_data/r11/credible_set_datasets/finngen_r11_susie

Requirements:

All StudyLocusId need to be in String format
All gwas_catalog_PICSed_curated_associations need to have in the qualityControls column the StudyLocusQualityCheck.TOP_HIT
All gwas_catalog_susie_summary_statistics, eqtl_catalogue_susie, finngen_r11_susie and ukb_ppp_eur_susie need to have the columns locusStart and locusEnd populated derived from the region column
All gwas_catalog_susie_summary_statistics and ukb_ppp_eur_susie need a new flag to be added StudyLocusQualityCheck.OUT_OF_SAMPLE_LD

@DSuveges, @addramir I don't think I'm missing anything but have a quick read through
The moment this data is ready we will want to rerun the DAG (@project-defiant)

The data has been patched!


Experimental

 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: nstoebig sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

my comment


PERF: Change asset finder to be backed by sqlite3.

Attack the startup bottleneck of creating the asset finders caches for a
large universe, which was between 1-2 seconds on development and
production machines.
Instead, allow the AssetFinder to be passed a sqlite3 file that has
already been populated and then hydrate asset objects only when an
equity is referenced for the first time.
To create aforementioned sqlite3, create an AssetFinder with an db_path
and create_table set to True. If create_table is set to False, the
prepopulated data in the sqlite file found at db_path will be used.
Default behavior is to use an in memory database.
Behavior that changes:

Fuzzy lookup now only works on one character, that character needs to be
specified at write/metadata consumption time, since the fuzzy lookup key
is created by dropping the character from each symbol.

Overwriting partially written metadata is no longer
supported. i.e. some unit tests allowed for inserting just the identifier,
and then later updating the symbol, end_date, etc.
Instead of building an upsert behavior at this time, this patch
changes the unit tests so that the data for each asset is only
inserted once.

Other notes:

populate_cache is now removed, since there is no longer a two step
process of inserting metadata and then realizing that metadata into
assets. _spawn_asset is rolled into insert_metadata, so that a call to
insert_metadata both converts the metadata and makes it available in
the data store.

:+1: from me but, full disclosure, I'm less familiar with SQLLite and practices around maintaining/using those connections. It may be worth getting another pair of eyes that are more familiar with that.


Trouble creating a minimum example

First off, thanks for you recent talk at Monitorama about Visceral and also thanks for making it available as Open Source!
I'm attempting to evaluate Visceral, but I'm having trouble finding a minimum example that gives me all the features.
The DATAFORMATS.md example emits a lot of warnings (because a "class": "normal" needs to be on the us-west-2 node and then it just sits and never displays anything:

Here's the JSON I got after copying and properly formatting the DATAFORMATS.md example:
{
  "renderer": "global",
  "name": "edge",
  "nodes": [
    {
      "renderer": "region",
      "name": "us-west-2",
      "class": "normal",
      "updated":<PHONE_NUMBER>,
      "maxVolume": 100000,
      "nodes": [
        {
          "name": "INTERNET"
        },
        {
          "name": "apiproxy-prod",
          "notices": [
            {
              "title": "Notice about something",
              "link": "http://link/to/relevant/thing",
              "severity": 1
            }
          ],
          "class": "normal",
          "metadata": {},
          "nodes": [],
          "connections": []
        }
      ],
      "connections": [
        {
          "source": "INTERNET",
          "target": "apiproxy-prod",
          "metrics": {
            "normal": 5000,
            "danger": 5,
            "warning": 0
          },
          "notices": [
            {
              "title": "Notice about something",
              "subtitle": "Subtitle",
              "link": "http://link/to/relevant/thing",
              "severity": 1
            }
          ],
          "metadata": {},
          "class": "normal"
        }
      ]
    }
  ]
}

The sample_data included in the React component works fine, but it's really, really large and very difficult to get a sense of what's there. I've managed to make my own that works, but has no particle drawing.
{
  "renderer": "global",
  "name": "edge",
  "nodes": [
    {
      "renderer": "region",
      "name": "INTERNET",
      "updated":<PHONE_NUMBER>510,
      "nodes": [
      ],
      "class": "normal"
    },
    {
      "renderer": "region",
      "name": "us-east-1",
      "class": "normal",
      "updated":<PHONE_NUMBER>805,
      "nodes": [
        {
          "name": "INTERNET",
          "class": "normal"
        },
        {
          "name": "proxy-prod",
          "metadata": {
            "streaming": true
          },
          "class": "normal"
        }
      ],
      "connections": [
        {
          "source": "INTERNET",
          "metadata": {
            "streaming": true
          },
          "metrics": {
            "danger": 0.646,
            "normal": 31.12
          },
          "class": "normal"
        },
        {
          "source": "INTERNET",
          "metadata": {
            "streaming": true
          },
          "metrics": {
            "danger": 0.582,
            "normal": 218.972
          },
          "class": "normal"
        },
        {
          "source": "INTERNET",
          "metadata": {
            "streaming": true
          },
          "metrics": {
            "normal": 11.072
          },
          "class": "normal"
        },
        {
          "source": "INTERNET",
          "target": "proxy-prod",
          "metadata": {
            "streaming": true
          },
          "metrics": {
            "danger": 116.524,
            "normal": 15598.906
          },
          "status": {
            "danger": 281.33,
            "normal": 65364.56
          },
          "class": "normal"
        }
      ]
    }
  ],
  "connections": [
    {
      "source": "INTERNET",
      "target": "us-east-1",
      "metrics": {
        "normal": 26037.626,
        "danger": 92.37
      },
      "notices": [

      ],
      "class": "normal"
    }
  ]
}

I thought perhaps not having maxVolume was the reason, but when I try and add it things just silently fail.
Can you perhaps provide or help me create a minimal configuration that demonstrates all the necessary parts to make this work? I'm happy to help, guinea pig or other wise chip in.
Thanks again!

I should add that I'm playing around with this via visceral-example by modifying sample_data.json. Happy to move this issue there is it's more appropriate!

Good catch. I have updated this repo with better maxVolume handling and proper error messaging if it is missing. I also updated the vizceral-example repo with the simple sample data structure that you pasted here (with the addition of the maxVolume property).  Please let me know if this fixes your concerns and if there is anything else I can (or should) do to make this easier to reason about.

Thanks @jrsquared! I'll review this in a bit and see if it all works, then report back.

Thanks @jrsquared for the quick action. I can confirm that the smaller file works for me once I realized I needed to change the source to use it (per your change back to the default). The default one is definitely a better demo, and the simple now provides an easier starting point. Thanks!


Fixed Filter Condition for inverse side

We encountered a problem that filters arent applied when loading 1:1 relations. This should fix the problem.

@steffenabel a test case (failing without this patch) is required in order to confirm the patch validity.


Add export statement for appGetInitialProps

Hello Zeit team,
I was looking to use App as a type definition (like #6707) but I could not find something working to get my getInitialProps typed aswell.
I think it could be cool to add and export statement on appGetInitialProps as it could be useful in this case.
It will be super cool to have your opinion on it!
Thank you!

Found a way to solve my problem without modifying next.js.
Thank you anyway ! :)


Crash on startup of the pc

Hello
On  the v0.4.5 aurora always crash on startup of the pc, but if i open its ok.
Im using win 10 x64
Sorry for my english

This is related to skype integration. Turning it off will resume startup as normal. It's fixed in the next version.
Sent from my iPhone

On Jun 22, 2016, at 09:19, Nitzowsky<EMAIL_ADDRESS>wrote:
Hello
On the v0.4.5 aurora always crash on startup of the pc, but if i open its ok
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Ignore WebSocketClient tests on Mono.

... so that it can run on travis.
The WebSocketClient takes advantage of a new behavior of HttpWebRequest in .NET 4.5. This isn't available on mono.
@BrennanConroy @muratg

Once travis passes, :ship: :it:


links: add support for direct resolving

Adds support so that if the link store is provided with a link config
links will be resolved immediately.

Incorporating this PR in https://github.com/inveniosoftware/invenio-drafts-resources/pull/59


The Effect ID is Invalid - FxPlug4 not installing correctly

Trying to import BRAW to FCPX.  FCPX gives this error upon dragging button into FCP library. I cannot see the video in FCP, only see audio.

That error basically means that for some reason the BRAW Toolbox effect hasn't been installed in Final Cut Pro correctly.
Try the steps listed here: https://brawtoolbox.io/troubleshooting/#the-effect-id-is-invalid

I followed the directions in troubleshooting. Still having the issue.  One thing I'm noticing is that the "install motion templates" button does not grey out like the others.

I do see this response in terminal:
com.latenitefilms.BRAWToolbox.Renderer(1.1)	12D6638F-A4AC-45E9-A21C-C9BBF70E4CF8	2023-03-02 02:37:44 +0000	/Applications/BRAW Toolbox.app/Contents/PlugIns/BRAW Toolbox Renderer.pluginkit

There aren't any new folders or braw references in the motion templates folder

I assume you're using latest v1.0.5 release from the Mac App Store?
Did you try running the Uninstall Tool?
https://brawtoolbox.io/uninstall/
Try uninstalling then follow these installations:
https://brawtoolbox.io/installation/

That worked!


Update the game over message

Update the game over message so people know how to play again!

I'm wondering if I have to leave a comment here as well.


[FEATURE] [AddTypeMenu] with dynamic string value

Feature description
I have IEffect and some wrapper class like CompositeEffect which contains IEffect and IProvider<int> to repeat effect execution certain times. In editor it looks like this:

And when it not expanded I see only Element 1 Composite Effect.
It would be perfect if I could see something like: Element 1 Composite Effect: Draw / Element 1 Draw (composite) / Element 1 Draw.
I think it could be down like Odin does in it's attributes, where we can specify method name to get string dynamically instead of specify const string value.

One another way would be to use additional bool useToStringAsName which would use ToString() method of instance (not affect dropdown list when selecting type)

@Antoshidza
For example, is this good enough?
[SerializeReference, SubclassSelector]
[ArrayDrawer(CustomLabel = "{LabelName}")]
public List<Item> items1 = new();

[SerializeReference, SubclassSelector]
[ArrayDrawer(CustomLabel = "{ToString()}")]
public List<Item> items2 = new();

[System.Serializable]
public class Item
{
    public string LabelName;
    public int Value;

    public override string ToString () {
        return LabelName;
    }
}

I'm talking not about customizing array drawing (which is also good way to enhance this package, but array drawing isn't a part of this package responsibilities), but about drawing selected subclass. In my example here it is "Composite Effect" which I'd rather would draw as "Draw card multiple"

Is this what you want to do?
[SerializeReference, SubclasSelector(useAsToStringAsName = true)]
public IEffect effect;

Is this what you want to do?
[SerializeReference, SubclasSelector(useAsToStringAsName = true)]
public IEffect effect;

Yep

Functionality implemented. #74
Publish a release soon, just note that we are using UNITY_2021_3_OR_NEWER.


Issue when starting and opening DB

With this simple code I have this issue.
import osxphotos
photosdb = osxphotos.PhotosDB(dbfile="/Users/.../Pictures/2020.photoslibrary/database/photos.db")
Error copying /Users/.../Pictures/2020.photoslibrary/database/photos.db to /var/folders/vf/3t083h9j1jx9mhxwwvzmpvhc0000gn/T/osxphotos_7v_3k1tb/photos.db
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/osxphotos/photosdb/photosdb.py", line 516, in _copy_db_file
copyfile(fname, dest_path)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/shutil.py", line 261, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 1] Operation not permitted: '/Users/.../Pictures/2020.photoslibrary/database/photos.db'
and in /T/ the  folder osxphotos_7v_3k1tb/photos.db is not created
and
drwx------@ 432 bvde  staff  13824 26 jul 12:30 T
nb: osxphotos work fine from the terminal (CLI)

What version of MacOS are you using?
What version of python are you using?
Is the Photos library you're opening in your home directory or is it in another users?
Do you still get the error if you call PhotosDB with no arguments (e.g. open the default database)?

photosdb = osxphotos.PhotosDB()

Have you tried running the script with sudo? sudo python3 your_script.py
Check System Preferences | Security & Privacy | Photos and System Preferences | Security & Privacy | Full Disk Access -- do you see the Terminal listed (or whichever terminal app you're using)?

Thank you for your answer.

Le 26 juil. 2020 à 15:31, Rhet Turnbull<EMAIL_ADDRESS>a écrit :
What version of MacOS are you using?
10.16.6
What version of python are you using?
3.8
Is the Photos library you're opening in your home directory or is it in another users?
Yes

BUT
I ‘ve tried running the script from ‘terminal’: python3 your_script.py and it’s WORKING !
I was using the terminal window in VScode where I have always the same error.

Do you still get the error if you call PhotosDB with no arguments (e.g. open the default database)?
photosdb = osxphotos.PhotosDB()
Have you tried running the script with sudo? sudo python3 your_script.py
Check System Preferences | Security & Privacy | Photos and System Preferences | Security & Privacy | Full Disk Access -- do you see the Terminal listed (or whichever terminal app you're using)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/RhetTbull/osxphotos/issues/195#issuecomment-663988481, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQM7EJ4E2A6YJ76YU7KL7QTR5QV27ANCNFSM4PH5PMCQ.

Ah...that makes sense.  You may need to add VSCode to "Full Disk Access" and "Developer Tools" in Security & Privacy.

Yes, you’re right.
Working in VScode now.
Thank you very much

Le 26 juil. 2020 à 17:30, Rhet Turnbull<EMAIL_ADDRESS>a écrit :
Ah...that makes sense. You may need to add VSCode to "Full Disk Access" and "Developer Tools" in Security & Privacy.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/RhetTbull/osxphotos/issues/195#issuecomment-664002423, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQM7EJ3JUB24CLA2P742GJLR5RDZ7ANCNFSM4PH5PMCQ.


Normalize the received GTP responses to lowercase

Some programs return uppercase responses (PASS, G5, etc). For maximum compatibility normalize the responses to lowercase.

Thanks @plamentotev !


[Server] Fix k8s manifest to pattern conversion logic

Notes for Reviewers
When a manifest is uploaded containing cluster-scoped resources (eg, ClusterRole, PV..), the namespace: default property is assigned, leading to the invalid design and dry-run/deployment failures.
The PR fixes the issue by assigning the namespace property only to namespaced-scoped resources by referencing the registry.
In case the introspection fails, we skip assigning the namespace property, in this case on the deployment of the design, Kubernetes will automatically assign the default namespace to valid namespaced resources.
Signed commits

[ ] Yes, I signed my commits.

// @leecalcote

Good.

When a manifest is uploaded containing cluster-scoped resources (eg, ClusterRole, PV..), the namespace: default property is assigned, leading to the invalid design and dry-run/deployment failures.
The PR fixes the issue by assigning the namespace property only to namespaced-scoped resources by referencing the registry.
In case the introspection fails, we skip assigning the namespace property,

Needs to improve to allow users to specify a namespace during the deploy modal moment, @MUzairS15

in this case on the deployment of the design, Kubernetes will automatically assign the default namespace to valid namespaced resources.


pyfn: deprecate name argument

This PR makes the second "name" argument to #[pyfn] both optional and deprecated in favour of #[pyo3(name = "...")]. This is part of #1601
This has the nice effect that now #[pyfunction] and #[pyfn(m)] take equivalent options, so I have rewritten the documentation to primarily talk about #[pyfunction], and #[pyfn] is introduced as syntax sugar.
Before:
#[pymodule]
fn rust2py(py: Python, m: &PyModule) -> PyResult<()> {

    #[pyfn(m, "sum_as_string")]
    fn sum_as_string() { }

    #[pyfn(m, "custom_name")
    fn foobar_to_rename() { }

    Ok(())
}

After:
#[pymodule]
fn rust2py(py: Python, m: &PyModule) -> PyResult<()> {

    #[pyfn(m)]
    fn sum_as_string() { }

    #[pyfn(m)]
    #[pyo3(name = "custom_name"]
    fn foobar_to_rename() { }

    Ok(())
}

If anyone's got any opinions on this, or wants to review the code, please let me know before the end of the weekend. Else I'll assume this is all fine and merge it before continuing with the rest of the items in #1601

Merging as promised! If there is any feedback on this I can always make follow-up PRs (or revert).


[Forwardport] Update docker-machine-driver-linode to v0.1.12

Forward port for : https://github.com/rancher/rancher/issues/46382

Ticket #46432 - Test Results - ✅
Verified on Rancher v2.10-5d66d49d7a72b4c439a33043007e9bb0223c8693-head:

Scenario
Test Case
Result

1.
Verify docker-machine-driver-linode version
✅

2.
Provision downstream RKE1 Linode Node driver cluster
✅

3.
Provision downstream RKE2 Linode Node driver cluster
✅

4.
Provision downstream K3s Linode Node driver cluster
✅

Scenario 1 - ✅

Fresh install of Rancher v2.10-head
Navigate to Cluster Management > Drivers > Node Drivers > Linode and select View in API
Verified - docker-machine-driver-linode points to v0.1.12; as expected

Scenario 2 - ✅

Fresh install of Rancher v2.10-head
Provision a downstream RKE1 Linode Node driver cluster
Verified - cluster successful comes up active; as expected

Scenario 3 - ✅

Fresh install of Rancher v2.10-head
Provision a downstream RKE2 Linode Node driver cluster
Verified - cluster successfully comes up active; as expected

Scenario 4 - ✅

Fresh install of Rancher v2.10-head
Provision a downstream K3s Linode Node driver cluster
Verified - cluster successfully comes up active; as expected


Fixed example config in README

sketch_export config needs each set of [options, src, dest] to be wrapped in a task object, otherwise 'src' and 'dest' get run as separate tasks. While this is fine in the code, the README is incorrect, so after spending a while going through the code to work out what was going wrong, I've decided to change the README to make it easier for users of the plugin.

Thanks - good catch!


api

abstract

See #158.

fixes

This fixes #158.

checklist

[x] Make sure you read and understood the CONTRIBUTING.md.
[x] Make sure you applied sufficient labels, milestone and assignee.
[x] Make sure all TODOs are addressed.
[x] Make sure there is sufficient documentation.
[x] Make sure there are sufficient tests.
[ ] Make sure all commits are squashed before merging.
[ ] Make sure to delete the feature branch after merging.

[Current coverage][cc-pull] is 92.28%

Merging [#159][cc-pull] into [master][cc-base-branch] will increase coverage by 3.18%

Powered by Codecov. Last updated by [1531377...4ddf50a][cc-compare]
[cc-base-branch]: https://codecov.io/gh/xh3b4sd/anna/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/xh3b4sd/anna/compare/153137764a0b3cb037e13e7d65bf1a2463c23fb7...4ddf50a03faf2a5ab8cb73608fd45f19fb6afb08
[cc-pull]: https://codecov.io/gh/xh3b4sd/anna/pull/159?src=pr

LGTM


Please are invite me to the GitHub Community Organization

Name
Fayas
Discord Username(if exists)
FayasNoushad
Additional Context
Learning more programming. And supporting Eddie Hub

Welcome @FayasNoushad 🤓

Welcome @FayasNoushad

Thank you


Deploy.sh and integration tests cannot be run from a pull request.

This PR adds some checks to make sure that some parts of the script are not called when the build is started from a pull request.

I would actually like to keep these tests running, even if the PR build fails. I don't mind reviewing PRs to this repo myself and pushing branches from forks myself to the origin in order to properly execute the full integration tests. I will close this but if you'd like to discuss this more feel free to open an issue!


Fusion TypeError in cupy._core.fusion._call_ufunc()

Fix #7098.

/test mini

/test mini

@emcastillo Failed to backport automatically.

Not cleanly cherry-picked

Blocked by https://github.com/cupy/cupy/pull/7128.


Support data subscriptions defined in the T0 machinery

Impact of the new feature
WMCore - WMAgent - T0
Is your feature request related to a problem? Please describe.
Every single workflow spec carries output data subscription information, which gets inserted into WMAgent's relational database, and then fetched and executed by the PhEDExInjector component.
Our initial plan for the Rucio migration was that, we would bypass those parameters in central production workflows (such that a generic non-custodial data placement gets done). Unfortunately this cannot be done for the T0 agent, which relies heavily on output data placement made by the agent and it exercises subscription code that isn't triggered in any other agents. Here is an example:
https://github.com/dmwm/T0/blob/master/src/python/T0/RunConfig/RunConfigAPI.py#L933
Describe the solution you'd like
A very detailed solution is still to be further discussed and specified.
However, it looks like we will have to implement the same output data placement functionality in the RucioInjector component. It will require some phedex-based attributes to be mapped to Rucio. Or maybe we could even redesign all those attributes and make them meaningful for the Rucio era.
Describe alternatives you've considered
none
Additional context
This GH issue touches the same subject, but from the central production view:
https://github.com/dmwm/WMCore/issues/9639

For the record, this is being implemented in a way that is compatible with the current schema of output data subscription (and its definition in the workflow spec).
I'm going to reopen this PR: https://github.com/dmwm/WMCore/issues/9639
which should address a new schema for output data placement, considering the functionality available in the new Data Management system, aka Rucio. Note that those changes will introduce new workflow spec attributes, potentially breaking compatibility with old workflows.