SafeAreaView only shown at bottom

Description
The SafeAreaView (red coloured) works well on all screens except this one, even though I am using the same styling everywhere. It is supposed to be shown at the top and bottom both. Here it is only shown at the bottom and not at the top. In this case, it is being hidden by the View (in pink).
I am afraid this could be because of how I navigate to this screen from the previous one. The navigation looks like:
How can I fix the SafeAreaView at the top? Why is it being overlapped by the View?
React Native version:
3.0.4
Steps To Reproduce
My react-native screen looks somewhat like this:
export const JourneyResultScreen: React.FunctionComponent = () => {
  return (
    <SafeAreaView style={styles.safeAreaViewContainer}>
      <View style={styles.container}>
        <Text>HELO</Text>
      </View>
    </SafeAreaView>
  );
};

const styles = StyleSheet.create({
  safeAreaViewContainer: { flex: 1, backgroundColor: 'red'},
  container: {  flex: 1, backgroundColor: 'pink'},
});

App.tsx:
                <NavigationStack.Screen
                  name="Journey"
                  component={JourneyScreenNavigation}
                  options={{
                    headerShown: false,
                    ...TransitionPresets.FadeFromBottomAndroid,
                  }}
                />

const NavigationStack = createStackNavigator();
const config = {
  animation: 'spring',
  config: {
    stiffness: 1000,
    damping: 500,
    mass: 3,
    overshootClamping: true,
    restDisplacementThreshold: 0.01,
    restSpeedThreshold: 0.01,
  },
};
...
export const JourneyScreenNavigation: React.FC = () => {
  return (
    <NavigationStack.Navigator initialRouteName="Journey" mode="modal">
      <NavigationStack.Screen
        name="Journey"
        component={JourneySearchScreen}
        options={{ headerShown: false }}
      />
      <NavigationStack.Screen
        name="JourneyMap"
        component={JourneyResultScreen}
        options={{
          headerShown: false,
          gestureEnabled: false,
          cardStyleInterpolator:
            CardStyleInterpolators.forFadeFromBottomAndroid,
        }}
      />
      <NavigationStack.Screen
        name="TripsNavigation"
        component={AvailableTripsNavigation}
        options={{
          gestureEnabled: false,
          headerShown: false,
          cardStyleInterpolator:
            CardStyleInterpolators.forFadeFromBottomAndroid,
        }}
      />
    </NavigationStack.Navigator>
  );
};

Expected Results
SafeAreaView should be visible on top and bottom both.
Snack, code example, screenshot, or link to a repository:

Hi @johnneuland could you provide a Snack that demonstrates this without react-navigation? My hunch is that react-navigation handles safe area views differently.

Hi @johnneuland could you provide a Snack that demonstrates this without react-navigation? My hunch is that react-navigation handles safe area views differently.

If I create a separate screen, then this issue doesn't exist. Generally, on other screens too, the SafeAreaView works fine.

This might be a bug with react-navigation could you a file an issue with them?


land optimized build system

Problem
Some contributors have expressed dissatisfaction with the current build system in terms of build performance & productivity and have proposed alternatives. There are two alternatives already available as open PRs: cmake [1] and GN [2].
It is unlikely that directly maintaining support for 3 build systems (automake, cmake, GN) will be cost effective, although it may be viable to convert between formats (albeit with a loss of fidelity).
We should discuss the pros/cons and make a decision as to how to proceed.
[1] https://github.com/project-chip/connectedhomeip/pull/1281
[2] https://github.com/project-chip/connectedhomeip/pull/1205

GN description (I'll leave it to others to comment on their own proposals):
GN is a relative newcomer and is used mainly by Google client projects. It has simpler
syntax than the other candidates, powerful toolchain management, and introspection tools. Custom actions are supported using python scripts.
GN has pluggable IDE support (--ide=json --json-ide-script). Some projects
(skia, webrtc) use this to generate inputs for other non-IDE build systems (existing in
various stages of completeness for cmake, soong, and bazel). Therefore
GN has path to accomodate cmake projects even without directly maintaining
full cmake build files (the reverse path is less clear; custom cmake generators
appear to require patching cmake). It may also be useful for accomodating
dialects of cmake (e.g. Zephyr). I have successfully built & tested CHIP with cmake
using skia's GN to cmake converter on the GN PR, although the tool clearly needs
more work to be really usable.
Another nice to have is builtin include checking, which diagnoses
circular dependencies currently present between CHIP layers.


Page navigation is not working in embedded powerbi reports

Added the below setting configuration to PowerBIEmbed component
settings: {
filterPaneEnabled: false,
navContentPaneEnabled: true,
layoutType: layoutType: models.LayoutType.MobilePortrait
}
Still not able to see Navigation pane in mobile view/actual mobile device.

This is one of the Limitation for Mobile Layout in Embedded. Refer to Embeddeding Report in Mobile Layout.
As mentioned, you can use setPage and implement your own NavigationPane. Feel Free to Reach out for any other issues while implementing custom Pane.


What's wrong with this code？

https://www.cnblogs.com/yushuo/p/9406906.html
Using Twitter's Snowflake to generator unique id,but there is a serious repetition

What's wrong with this code

Oh, boy, where do I start...
Well: first of all it's not my code. I don't see why I'm supposed to debug someone else's code. But then again, I go by a tariff of €120,- p/hr and then I'm glad to pour over your code.
Second: It's all in Chinese. I can read the code fine but the comments are, literally, Chinese to me. So that makes it... challenging.
Third: It's not posted in the issue / on github but on some external site. So even if I were to give you a free code review, the link will most probably be gone in a while and then the only person who profited from all my hard (free) work would be you. All knowledge I might have shared with you wouldn't make sense without the code I was referring to and so my shared knowledge would be lost and worthless.
Fourth: It's not even related to IdGen but much more closer to Twitter's original snowflake project. I don't see why you don't approach the original authors but me?
Fifth: You don't describe the problem. "What's wrong with this code" is not a problem description. It's like taking your car to the garage and asking a mechanic what's wrong with it. How is he/she supposed to know? Unless you're missing a wheel or there's black smoke billowing out the hood, how is he ever supposed to find the broken cigarette lighter you're referring to but not telling him about?
Sixth: Assuming you're referring to this "serious repetition" (image taken from between all the chinese text):

What repetition? I haven't checked the numbers but, from eyeballing it, it lookls exactly what's supposed to look like? If you're expecting "random numbers" then your assumption is wrong. "Snowflake ID's" are supposed to be sortable; it's literally in the first line of the [README](https://github.com/RobThree/IdGen/blob/6f26d44df8287282b40a06530acf2dfaa2a9fe9f/README.md):

In certain situations you need a low-latency uncoordinated, (roughly) time ordered, compact and highly available Id generation system.

You can read all about how a "Snowflake ID" is generated in the How it works part of that same README. The "repetition" is exactly what's supposed to happen because of many reasons, but one being it's much friendlier on your indexes, as opposed to ("random") UUID's / GUID's. Which is the entire reason why this project (and Twitter's Snowflake used to) exists. So I have no clue, whatsoever, on why you're asking me about this "repetition" unless you're not understanding how this is supposed to work, which in turn makes me wonder why you're using IdGen / Twitter's Snowflake in the first place.
Lasty: I don't see any effort you might have taken to troubleshoot / debug the problem yourself. You appear to have simply googled "Snowflake", come across this project, and dumped your question here in my lap expecting me to debug / troubleshoot your code, which is mostly unreadable to me, for free. Not gonna happen. The very least you could have done was include your own findings or steps you have taken to troubleshoot your problem, or, in this case, maybe even explain your understanding of the algorithm and explain why you think the 'repetition' was bad. And then I would've pointed you to the README which very clearly explains the algorithm and would've explained to you where that "repetition" came from and that it's supposed to have some "repetition" in order for it to be (roughly) orderable.
Maybe try codereview.stackexchange.com next time.


Add 100+ partitions on spectrum

According to AWS docs there is a 100 limit for the number of partitions you can add per alter table statement on an external table. If you try to insert more than 100 partitions you will get an error Error when calling external catalog API: Exception in curl callback....
I do not see redshift__refresh_external_table  deals with this limitation at all, but maybe I am missing something.
Happy to help if hand is needed here 👍

@dcereijodo Based on the docs, the limit applies to the number of partitions that can be added in a single alter table statement. This isn't an issue for the current implementation of redshift__refresh_external_table, which adds each partition in a separate alter table statement.
What could be really smart is to add partitions in batches of 100, which would run faster (and likely scale better) than the current implementation.

You are right this is not an issue with the current implementation. The partitions generation part of the macro is a bit tricky and I did not get that part at first.
I've anyways submitted a PR to add partitions in batches. I hope it helps.


Service Request by Donrie on data download issues

[ ] Qualtrics Service Request Form was received from User
[ ] e-mail acknowledging that User's Qualtrics Service Request Form was sent
[ ] Problem NOT RESOLVED
[ ] Problem PARTIALLY RESOLVED
[ ] Problem FULLY RESOLVED and Issue is Closed
[ ] Qualtrics Post-Service Request Survey was sent to User

Use comments feature (below) to document:

A clear and concise description of the solution.

A clear and concise description of any alternative solutions or features you've considered.

Any additional context, such as screenshots about the problem.

Hi Jeff,
Dr. Lounsbury and I have figured out what was the source of displacement for the Erie County smart strategy data download problem.
It appears that the inverted commas/ double quotes were cause the problem to begin with.
As such we will advise the county coalition members to avoid doing this with smart strategies in future.
Regards
Dr. Lounsbury and Donrie


Fix #152, Allow to add song to the next or the last in current playlist

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 11 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1023

Relevant Lines:
1023

💛  - Coveralls


rowsMin is missing in InputBase typings

rowsMin is missing in InputBase typings: https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/InputBase/InputBase.d.ts

Here is a pull request: https://github.com/mui-org/material-ui/pull/18922


feat: breadcrumbs components

https://autoricardo.atlassian.net/browse/DM-704
Motivation and context
Add breadcrumbs component that are going to be used on PDP. I went with the approach of the wrapper component in terms that we are going to pass NextLink component and it would wrap our link components.
One of the options is to do this kind of implementation on the next js project itself, or pass array of children to breadcrumbs component, but not sure how are we going to handle style and display in that case.
Anyway any feedback is more then welcome for this one.
Tests are in progress...
After

Mobile:

How to test
Run components package project and go to Navigation/Breadcrumbs

@lkappeler
Oh, first time seeing that design...I got this design for the breadcrumbs tho https://www.figma.com/file/QYphttx4oaLD2Sd2L50meg/AS24-Detail?node-id=2821%3A134703
Will check that out

@lkappeler we clarified with Enrique and Sergiu - the implemented design is intended to be used and will replace the default chakra variant visible in figma.

@GutierrezGo wanna take another look?

I'm clarifying wether we need 3rd chevron variant and the color not in the tokens with Enrique

Color clarified - grey.600 is correct

I didn't think about that but it makes perfect sense. Let's make storybook easier to use

I didn't think about that but it makes perfect sense. Let's make storybook easier to use

I will create a PR checking the whole tree in all the categories/stories and adjust them. Thank you!


Change download links to webarchive since lulucloud.mywire.org is down

I have to think about it.
I've down the server myself as a lot of people seem to use this without licences which I'm totally against.
Thanks for the proposal anyway

Yeah that's a problem
One of the solutions might be just forcing the user to provide photoshop files themselves

Yeah that's a problem One of the solutions might be just forcing the user to provide photoshop files themselves

That's what I'm looking for... I don't really have time but I know that wine has progressed a lot and doesn't require my patched version of Photoshop.
I may update the scripts but the issue with that is that sometimes the 21.0.1 works but the 21.0.2 doesn't and it's sometime really hard to find a specific version on the adobe creative cloud app...
Honestly there are no easy solutions...

These links are really slow try Qiwi they seem to be a good place

I will like to do a PR referring to this link for downloading the file, is that ok with you? @ryzendew

https://qiwi.gg/file/kMnq2220-AdobePhotoshop2021 here ya go i will host for now

you should consider making a torrent so it can be stored for a long time since in a year or so this link will probably not work

https://qiwi.gg/file/kMnq2220-AdobePhotoshop2021 here ya go i will host for now

ah. I love being flashed with images in my living room with my family sitting next to me.. Thanks Qiwi!!

https://qiwi.gg/file/kMnq2220-AdobePhotoshop2021 here ya go i will host for now

ah. I love being flashed with images in my living room with my family sitting next to me.. Thanks Qiwi!!

always have an adblocker installed. Ublock Origin is the best one. But yeah thats another reason why moving the link to Archive.org would be best

https://qiwi.gg/file/kMnq2220-AdobePhotoshop2021 here ya go i will host for now

ah. I love being flashed with images in my living room with my family sitting next to me.. Thanks Qiwi!!

always have an adblocker installed. Ublock Origin is the best one. But yeah thats another reason why moving the link to Archive.org would be best

Bro, I have Ublock Origin

https://qiwi.gg/file/kMnq2220-AdobePhotoshop2021 here ya go i will host for now

ah. I love being flashed with images in my living room with my family sitting next to me.. Thanks Qiwi!!

always have an adblocker installed. Ublock Origin is the best one. But yeah thats another reason why moving the link to Archive.org would be best

Bro, I have Ublock Origin

I just checked and I don't see any ads with Ublock Origin. Update your browser and extensions and ensure your block lists are up to date.

Im closing this pr because like MiMillieuh said he closed the original server that hosted the files because a lot of people were using it for piracy.

Where is the 2022 image? @MiMillieuh @ryzendew, tnx in advance.


LSM/Scan: Fix missing intersection results bug

Summary
Fix a correctness bug in which some queries erroneously end a scan too early, truncating the results.
This bug can affect any scan which intersects multiple secondary index trees.
That is, depending on what filters are included, it can be hit by get_account_balances, get_account_transfer, query_accounts, and query_transfers.
This bug is deterministic -- when one replica hits this bug, all of them will, regardless of how their IO is reordered.
(So even with this bug, the checkpoint won't diverge due to distinct client replies.)
Bug
A scan may intersect many ScanTrees together.
The intersection is implemented with zig-zag merge join.
When any of the intersected ScanTrees races ahead, the merge algorithm informs the lagging trees about the leading key (ScanTree.probe()).
This lets those other trees skip past ranges of keys that it now knows will definitely not intersect.
Suppose that ScanTree.probe() is called, which increases the ScanTree's key_min (ascending) or decreases the key_max (descending).
Then this calls ScanTreeLevel.probe() for each level:
pub fn probe(self: *ScanTreeLevel, probe_key: Key) void {
    switch (self.values) {
        .fetching => {},
        .buffered => |buffer| {

If ScanTreeLevel.probe() has values already buffered in memory...
            const slice: []const Value = ScanTree.probe_values(
                self.scan.direction,
                buffer,
                probe_key,
            );

            if (slice.len == 0) {
                // ...
                self.move_next();

...and none of the buffered values intersect with the new shrunk range, then we need to get a new value block, so it calls ScanTreeLevel.move_next().
fn move_next(self: *ScanTreeLevel) void {
    switch (self.state) {
        .loading_manifest => self.move_next_manifest_table(null),
        .loading_index => unreachable,
        .iterating => |*iterating| {
            if (iterating.values == .none or
                iterating.values.iterator.empty())
            {

If we are all out of value blocks for the current table, then we need a new table:
                const key_exclusive_next = iterating.key_exclusive_next;
                if (self.scan.key_min <= key_exclusive_next and
                    key_exclusive_next <= self.scan.key_max)
                {
                    // Load the next `table_info`.
                    self.state = .loading_manifest;
                    self.values = .fetching;
                    self.move_next_manifest_table(key_exclusive_next); // <---
                } else {
                    // The next `table_info` is out of the key range, so it's finished.
                    self.state = .{ .finished = .{} };
                    self.values = .finished;
                }

In the code above, key_exclusive_next tracks the table_info.key_max (ascending) or table_info.key_min (descending) of the most recent table we iterated, to ensure that we don't scan the same table twice.
Typically the condition would check whether we are done iterating tables for this level, because the extreme key of the most recent iterated table lies outside of our target range (scan.key_kin/scan.key_max).
But because the target range has shrunk, our exclusive key may now lie outside of that range from the wrong end, causing the ScanTreeLevel to incorrectly consider itself finished.
Fix
Separate the conditions:

The key_exclusive_next is out of bounds because we iterated all the tables we need to iterate: Stop scanning (same as before).
The key_exclusive_next is out of bounds because our target range shrunk: Keep scanning, but ignore the key_exclusive_next.

Testing
Why didn't we find this bug sooner?
There are four fuzzers that perform scans: vopr, fuzz_lsm_scan, fuzz_lsm_forest, and fuzz_lsm_tree:

fuzz_lsm_tree only scans a single tree, so it wouldn't ever hit this bug.
fuzz_lsm_forest also only scans a single tree -- it never intersects across multiple trees.
vopr and fuzz_lsm_scan do intersect multiple trees, but they generate objects according to templates based on the queries they plan to run. Because of the common prefix for the query's target fields, the objects matching each query are consecutive in each index, so it never needs to "zig-zag". (See below for more detail.)

Also, coverage checking of fuzzing could help find issues like these earlier.
(We track coverage in the devhub, though since we only get coverage for a single seed per fuzzer, it underestimates fuzzer coverage.)

Why didn't the VOPR find this bug?
The generated queries intersect across multiple trees, but never in such a way that ScanTreeLevel.probe() is called.
The workload pre-generates its queries at startup:
for (query_intersections, 1..) |*query_intersection, index| {
    query_intersection.* = .{
        .user_data_64 = @intcast(index * 1_000_000),
        .user_data_32 = @intcast(index * 1_000),
        .code         = @intcast(index), // It will be used to recover the index.
    };
}

Each object is generated to match exactly one of these disjoint queries:
const query_intersection_index = self.random.uintLessThanBiased(usize, self.auditor.query_intersections.len);
const query_intersection = self.auditor.query_intersections[query_intersection_index];

transfer.* = .{
    ...
    .user_data_64 = query_intersection.user_data_64,
    .user_data_32 = query_intersection.user_data_32,
    .code         = query_intersection.code,
    ...
};

The query_intersection counts how many (created) objects match its filter:
const query_intersection_index = transfer.code - 1;
const query_intersection = &self.query_intersections[query_intersection_index];
assert(transfer.user_data_64 == query_intersection.user_data_64);
assert(transfer.user_data_32 == query_intersection.user_data_32);
assert(transfer.code == query_intersection.code);
query_intersection.transfers.count += 1;
if (query_intersection.transfers.timestamp_min == 0) {
    query_intersection.transfers.timestamp_min = transfer_timestamp;
}
query_intersection.transfers.timestamp_max = transfer_timestamp;

But the queries generated are such that user_data_64 / 1e6 == user_data_u32 / 1e3 == code, which means that the objects matching a given query are consecutive in each of those three indexes, so the merge-join never needs to discard values on probe.

Why didn't the scan-fuzzer find this bug?
ScanTreeLevel.probe() does get called, but never such that ScanTreeLevel.move_next_manifest_table() gets called.
Similar to the VOPR, the fuzzer carefully chooses the prefix of generated objects based on what query they should match.
So the matching objects of each query are consecutive in the respective indices.
It inserts "noise" objects that don't match any query, but they use std.math.maxInt(u32) as a prefix, so they don't interleave with the consecutive runs of target values.

Improvements
The scan fuzzer has been rewritten (see https://github.com/tigerbeetle/tigerbeetle/commit/73f13ee2d092fe6998c315b0c4ae5fbc2983154a) and can now easily find this bug.
Additionally, greatly increase the number of queries run and the number of objects inserted per test run.

I'm leaving auto-merge disabled to give this a chance to bake in the CFO for the weekend.

I think this example is so great that it must be converted to a code comment instead 😃

Updated! I included it in the same commit is that fix.

There's one failing seed in the last commit, but I couldn't reproduce it (still it's worth checking).

It is a cfo false positive -- the seed passes locally on the same commit.
There were also several failures on an earlier commit prior to shrinking events_max due to hitting the cfo timeout (i.e. the fuzzer took longer than 30 minutes to run). But those seeds pass locally as well, if run without a timeout.


Add setBitmap(Bitmap)

I'm implementing a solution with this that requires modifying a signature saved from a previous session. Is there an easy way to do this? Thanks!

Upon further inspection it looks like it is already there, but for some reason I'm unable to use it.


INTLY-1064 - managing users

@maleck13  one comment still unresolved, see preview at https://github.com/integr8ly/user-documentation/blob/INTLY-1064/docs/content/gs-adding-users-proc.adoc

updated comment otherwise looks good


AnimationNodeTransition gives no error message when you give it a String instead of an int

Godot version
4.0 beta7
System information
Manjaro Linux using i3, Vulkan
Issue description
This cropped up while I was doing an MRP for another bug, about methods at the last frame of animations not being called depending on the animation duration, when using AnimationTree with AnimationNodeStateMachine. (https://github.com/godotengine/godot/issues/64644)
@TokageItLab asked if I could test using AnimationTree but not the StateMachine node, and I tried it both with AnimationNodeOneShot and AnimationNodeTransition, but I couldn't make the AnimationNodeTransition work at all.
The problem was that I had renamed my "states" in the AnimationNodeTransition and I was seeing a nice, human readable list both on the AnimationTree editor as well as in the inspector:

And so I was trying to set _anim_tree["parameters/Transition/current"] to a string. When That didn't work I though "Oh silly me, we have StringName now!" and tried that as well, with no success. This also didn't print any errors, it just didn't work. Later @TokageItLab helped me out explaining I should be using  int instead and suggested I open an usability issue for it, which I'm finally doing.
Going a bit more on my process thought before Tokage helped me out, I guess I did miss out that the actual properties in the AnimationNodeTransition inspector had their indexes out there:

But what I actually searched for was some kind of documentation, and there was no tooltip for the property on the AnimationTree (not sure it is possible to add tooltips on those) for me to see the expected type:

And no hints to how to use it on AnimationNodeTransition Doc page

And neither in the linked tutorial for AnimationTree that is referencered in that page, which in regards to this Transition Node is just a couple of sentences and basically the same thing you can read in the AnimationNodeTransition Doc page, there is no example and no mention that you should actually look for the current  property added to the AnimationTree.

I think updating the Docs would probably be enough to solve this, but maybe these would also help:

current property on AnimationTree actually accepted Strings or StringName
if it's possible, add some helpful tooltip to the current property
Add some error for when current  is receiving anything other than an int

I think any of the above would have naturally steered me in the right direction, adding the error being the easiest one probably? I didn't know if this should be reported as a bug or a proposal as it feels more like an enhancement request rather then a bug, so I ended up writing it here.
Steps to reproduce
Just create a new scene with one AnimationPlayer with any animation, one AnimationTree, and create an AnimationNodeTransition in it. Add your animation to it and try to set the current  property in the AnimationTree through code, but try giving it the name "state 0" (or whatever you've renamed it to) instead of the int 0.
It will not work but also not give any error
Minimal reproduction project
N/A

Could you double check with beta 9? The other issue that seemed similar to this one appears to have been fixed :)

@anvilfolk I'm very sorry, I've only seen your comment today, must have let the email notification slip past me.
Just tested it with beta12, still silent error when executing, it accepts the string value and even prints it, which is the first part of the print bellow, where I hardcoded every transition to the string "reset" and you can see it on every other print line:

The bottom part of the print is an error line that appears on the editor whenever I try to assign a string to the AnimationNodeTransition current property:

I guess it's not silent anymore but it's also not very readable? I mean, I know what I'm doing purposefully wrong here and still can't understand anything of what this error message is trying to tell me.
It also  doesn't point to any line on my script but to a cpp error, so unless I have the Output panel open while typing and see it appear there at the moment I type, I'll never know what line on my code triggered it.
So I don't know, doesn't seem like its fixed yet.

@TokageItLab

See also #71418

Is there an easy way to download artifacts generated by the PR? I'm cloning it now to build it and test, but was wondering if there was an easier way?

Unfortunately, I don't see any. A large organization may have built custom Godot to share with their own group, but basically you have to clone and build it.

No problem! It's at 90% of the build process now!

You can download CI artifacts: https://docs.godotengine.org/en/stable/community/contributing/testing_pull_requests.html

You can download CI artifacts: https://docs.godotengine.org/en/stable/community/contributing/testing_pull_requests.html

Oooh! Thats awesome, thanks!

@TokageItLab
Just finished updating the script and testing it with #71418 and I have good news and weird news.
About having an useful error msg, it's a success I think! The error message I got was:

Still doesn't point to the gdscript file, but it is much more readable and with the new properties for AnimationNodeTransition I think it's easier to not make mistakes or understand this error message in context.
But, whenever I select the AnimationPlayer Node in the Scene tab, it crashes with this error:
================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta.custom_build (9685429dced6279eeb368369a0f1bf3359f9d6ba)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /usr/lib/libc.so.6(+0x38a00) [0x7f08de1a3a00] (??:0)
[2] /mnt/WORK_SSD/Godot/source_togake/bin/godot.linuxbsd.editor.x86_64(+0x4aeae44) [0x5627447d3e44] (??:0)
[3] /mnt/WORK_SSD/Godot/source_togake/bin/godot.linuxbsd.editor.x86_64(+0x26c9449) [0x5627423b2449] (??:0)
[4] /mnt/WORK_SSD/Godot/source_togake/bin/godot.linuxbsd.editor.x86_64(+0x4acc9c4) [0x5627447b59c4] (??:0)
[5] /mnt/WORK_SSD/Godot/source_togake/bin/godot.linuxbsd.editor.x86_64(+0x2b6bc17) [0x562742854c17] (??:0)
[6] /mnt/WORK_SSD/Godot/source_togake/bin/godot.linuxbsd.editor.x86_64(+0x4ac8779) [0x5627447b1779] (??:0)
[7] /mnt/WORK_SSD/Godot/source_togake/bin/godot.linuxbsd.editor.x86_64(+0x4ac8abc) [0x5627447b1abc] (??:0)
[8] /mnt/WORK_SSD/Godot/source_togake/bin/godot.linuxbsd.editor.x86_64(+0x2c06ebf) [0x5627428efebf] (??:0)
[9] /mnt/WORK_SSD/Godot/source_togake/bin/godot.linuxbsd.editor.x86_64(+0xb08ac4) [0x5627407f1ac4] (??:0)
[10] /mnt/WORK_SSD/Godot/source_togake/bin/godot.linuxbsd.editor.x86_64(+0xab0a51) [0x562740799a51] (??:0)
[11] /mnt/WORK_SSD/Godot/source_togake/bin/godot.linuxbsd.editor.x86_64(+0xaa2ea9) [0x56274078bea9] (??:0)
[12] /usr/lib/libc.so.6(+0x23290) [0x7f08de18e290] (??:0)
[13] /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f08de18e34a] (??:0)
[14] /mnt/WORK_SSD/Godot/source_togake/bin/godot.linuxbsd.editor.x86_64(+0xaaed45) [0x562740797d45] (??:0)
-- END OF BACKTRACE --
================================================================

The above is when I test with the version I compiled from source, with the version I downloaded from here:  https://nightly.link/TokageItLab/godot/workflows/linux_builds/restart-anim-tree everything is the same except it crashes silently when I select the AnimationPlayer node.
I've updated the repository I was using for the method tracks MRP: https://github.com/eh-jogos/godot4_method_track_bugs
@akien-mga I am signed in to github but I could not see the artifacts button as described in the documentation page

I was only able to download the artifact using the nightly.link method described in the documentation. I don't know maybe something changed in github or having a github account is not enough and I have to be a contributor to see the link?
Also, should I report any of these two problems (the crash, the difference with the documentation) in separate issues?

@eh-jogos It may caused by https://github.com/godotengine/godot/pull/69357. See https://github.com/godotengine/godot/issues/69848#issuecomment-1345247960.

I am signed in to github but I could not see the artifacts button as described in the documentation page

Yeah it seems like the UI changed. Now you need to click on the "Linux builds" section in the left panel, and then scroll all the way down:

oh wow, should have scrolled just a bit more! Thanks!

@eh-jogos Probably that crash is caused by #69357. See #69848 (comment).

 I fixed that in december in the main project I'm working on and completely forgot to do that in this MRP when I was updating it today! Testing it again after fixing the tracks and it worked fine!


[Map] AS-INC2006

Does not have bot support

Hash: c67bb81511e4aad58d43841efdc42ee2a56d3fa6
Current name: AS-Holocorp

Thanks for all the reports on these, updated as suggested.


test tier

We have dev and prod but lack a test tier. The previous push for this hit a firm dead end. But this is worth another renewed push, with tempered expectations, probably coordinated with Alicia, probably via an RFC.

JIRA ticket submitted to devops

This is done, e.g.m https://beta-owi.usgs.gov/vizlab/climate-change-walleye-bass


httpie: 2.6.0 -> 3.0.1

Motivation for this change
Upgrade httpie to latest release 3.0.1
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[x] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

2 packages failed to build:

http-prompt
httpie

Posting logs from the failures:
error: builder for '/nix/store/sgg1s2xr356i78r344qcqk4namwqcqvj-httpie-3.0.1.drv' failed with exit code 1;
       last 10 log lines:
       > =============================== warnings summary ===============================
       > tests/test_encoding.py: 12 warnings
       > tests/test_stream.py: 8 warnings
       >   /nix/store/zvn7pcxxhxpyd3394qjc5l7l2di9gprx-python3.9-responses-0.16.0/lib/python3.9/site-packages/responses/__init__.py:396: DeprecationWarning: stream argument is deprecated. Use stream parameter in request directly
       >     warn(
       >
       > -- Docs: https://docs.pytest.org/en/stable/warnings.html
       > =========================== short test summary info ============================
       > FAILED tests/test_plugins_cli.py::test_plugins_upgrade - AssertionError: asse...
       > = 1 failed, 865 passed, 4 skipped, 9 deselected, 1 xfailed, 20 warnings in 64.05s (0:01:04) =
       For full logs, run 'nix log /nix/store/sgg1s2xr356i78r344qcqk4namwqcqvj-httpie-3.0.1.drv'.
error: 1 dependencies of derivation '/nix/store/6ydl6shcxdh83l3cyhdiv1f2x52ib59b-http-prompt-1.0.0.drv' failed to build
error: 2 dependencies of derivation '/nix/store/nyn5mxlz91pzvfr8h9j9sinpgq82sw5b-review-shell.drv' failed to build

Link to currently reviewing PR:
https://github.com/NixOS/nixpkgs/pull/156466

2 packages failed to build:
http-prompt httpie

error: build log of '/nix/store/6ydl6shcxdh83l3cyhdiv1f2x52ib59b-http-prompt-1.0.0.drv' is not available
error: build log of '/nix/store/ihb3bf0rsnk737q2c38xnjxw2za48mgw-http-prompt-1.0.0' is not available

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

2 packages built:

http-prompt
httpie

Looks like a flaky test upstream, which is why the first build failed for me. A re-run fixed it. I'm not sure if/how to mark a package as "possibly has flaky test" but that seems like a useful signal for packages that depend on a test-suite that could have flaky tests.

Just disable/ignore the test.

Also there is 3.0.2 out.

I will open a new PR to go to 3.0.2


Throw curl exception only if API called

Hey,
It's much safer to throw Exception only if API is called. In current implementation, if you have autoloader load Client.php file, you will get an exception even if CURL is not needed (file included, but API is not used). It could be quite dangerous.

Thanks! Will merge shortly.

Another PR solves this issue in a more elegant way, by specifying  curl-extension as dependency for this library on composer .
This PR can be closed and merge only https://github.com/onesky/api-library-php5/pull/12


crmf_lib.c: Make sure Edwards signature for POPO is called without digest

This replaces #18195.
Fixes #18184

I could approve this one however did you consider doing it at ossl_cmp_certreq_new() instead? I still feel like this should be done as early as possible in the call stack.

I could approve this one however did you consider doing it at ossl_cmp_certreq_new() instead? I still feel like this should be done as early as possible in the call stack.

Good point to take this into consideration - I had not thought about this possibility so far.
I'd say create_popo_signature() is the right place because only here it is clear that the digest is going to be used for (self-)signature with the pkey.
When calling OSSL_CRMF_MSG_create_popo() from cmp_msg.c, this is not yet clear,
and (at least in the future) the digest might also be used for something else.
Nevertheless, these thoughts reminded me to update the doc of OSSL_CRMF_MSG_create_popo().

On this occasion also fixing a glitch in OSSL_CRMF_MSG_set0_validity.pod.

This pull request is ready to merge

Squashed and merged to master and 3.0 -
thanks to all involved in discussing the topic.


ToT to Edep general converter

Add ToT to Edep converter with a kind of lookup table.
Some tests are added but not full list.
This PR should be accepted after JPetCachedFunction PR from j-pet-framework core.

Please retest this.

Found 1 violations:
Reporter: root-6-cppcheck
Rule: unusedFunction
Severity: INFO
File: /var/jenkins_home/workspace/j-pet-framework-examples-PRs-root-6/LargeBarrelAnalysis/ToTConverter.cpp L20
The function 'getConverter' is never used.

Found 1 violations:
Reporter: root-5-cppcheck
Rule: unusedFunction
Severity: INFO
File: /var/jenkins_home/workspace/j-pet-framework-examples-PRs-root-5/LargeBarrelAnalysis/ToTConverter.cpp L20
The function 'getConverter' is never used.

Found 1 violations:
Reporter: root-6-cppcheck
Rule: unusedFunction
Severity: INFO
File: /var/jenkins_home/workspace/j-pet-framework-examples-PRs-root-6/LargeBarrelAnalysis/ToTConverter.cpp L20
The function 'getConverter' is never used.

Found 1 violations:
Reporter: root-5-cppcheck
Rule: unusedFunction
Severity: INFO
File: /var/jenkins_home/workspace/j-pet-framework-examples-PRs-root-5/LargeBarrelAnalysis/ToTConverter.cpp L20
The function 'getConverter' is never used.

Found 1 violations:
Reporter: root-6-cppcheck
Rule: unusedFunction
Severity: INFO
File: /var/jenkins_home/workspace/j-pet-framework-examples-PRs-root-6/LargeBarrelAnalysis/ToTConverter.cpp L20
The function 'getConverter' is never used.

Found 1 violations:
Reporter: root-5-cppcheck
Rule: unusedFunction
Severity: INFO
File: /var/jenkins_home/workspace/j-pet-framework-examples-PRs-root-5/LargeBarrelAnalysis/ToTConverter.cpp L20
The function 'getConverter' is never used.


Autocomplete shouldn't propagate KeyboardEvents

Bug, feature request, or proposal:
Bug or Feature Request
What is the expected behavior?
If I listen on keyup/keydown on an input with autocomplete there should be some way for me to filter out the key events originating from interacting with the autocomplete panel. I think it should just not propagate them at all.
What is the current behavior?
When you select an item from the dropdown by clicking enter a KeyboardEvent is fired on the input element (not the MatOption or the panel) so there's no way of knowing whether the user pressed enter to autofill the input field or not.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-dikpb5?embed=1&file=app/autocomplete-simple-example.ts
What is the use-case or motivation for changing an existing behavior?
Use case is a standalone search input in a toolbar that's not contained by a form. On keypress Enter it should perform the search except when enter is pressed on the autocomplete.

That's because focus never actually leaves the input, which means that the events will originate from it. You should be able to use the MatAutocompleteTrigger.panelClosingActions to figure out when an option has been selected.

@jelbourn Yes it does! For keyup it doesn't because both MatAutocompleteTrigger.panelOpen and MatAutocomplete.isOpen are false but switching to keydown they return true.


manager: add empirical list of contactless readers

simple .isContactless(String name) based on common readers (incl different names with different drivers), and https://ccid.apdu.fr/ccid/features.html

Fixed in 003c7c0


Implement the Natural Questions evaluation

From the GPT-3 paper

In this section we measure GPT-3’s ability to answer questions about broad factual knowledge. Due to the immense amount of possible queries, this task has normally been approached by using an information retrieval system to find relevant text in combination with a model which learns to generate an answer given the question and the retrieved text. Since this setting allows a system to search for and condition on text which potentially contains the answer it is denoted “open-book”. [RRS20] recently demonstrated that a large language model can perform surprisingly well directly answering the questions without conditioning on auxilliary information. They denote this more restrictive evaluation setting as “closed-book”. Their work suggests that even higher-capacity models could perform even better and we test this hypothesis with GPT-3. We evaluate GPT-3 on the 3 datasets in [RRS20]: Natural Questions [KPR+19], WebQuestions [BCFL13], and TriviaQA [JCWZ17], using the same splits. Note that in addition to all results being in the closed-book setting, our use of few-shot, one-shot, and zero-shot evaluations represent an even stricter setting than previous closed-book QA work: in addition to external content not being allowed, fine-tuning on the Q&A dataset itself is also not permitted.

[X] Data processing code implemented
[ ] Evaluation implemented

The evaluation code should be modeled after the interface in lm_eval/base.py and the example of the BoolQ task in lm_eval/tasks/suerglue.py

Note: HuggingFace includes this in its datasets package.
https://huggingface.co/datasets/natural_questions

Warning: This dataset is super big.

Warning: This dataset is super big.

 Why are we not training on this.

Ah, dev set is only 1G. But we should add train set to the pile.

We would need to dedupe this with Wikipedia, since the bulk of it is just the HTML of Wikipedia pages.

I can claim this

I can claim this

I can claim this

Assigned!

I can claim this

Assigned!

would love to take this on if help on implementing the evaluation is still needed?

would love to take this on if help on implementing the evaluation is still needed?

Yes this would be quite helpful. Thanks!

I think Natural Questions is implemented already?  https://github.com/EleutherAI/lm-evaluation-harness/blob/master/lm_eval/tasks/naturalqs.py

@haileyschoelkopf Some methods are not implemented, they raise NotImplementedError

I wonder what the progress of NQ eval is and if any help is needed?

@memray I am under the impression that is hasn't been implemented and help is need.

+1

+1

Closed by #789 which implements the NaturalQs dataset split used by Llama and (possibly, unconfirmed) used by PaLM and more!


build: switch babel to swc

Replace babel with swc.

SWC is 20x faster than Babel on a single thread and 70x faster on four cores.

we want no babel! yay! 🎉 drinks on me when this is merged.

yolo!


Add translation and scaling for 3D image layers

This PR adds translation and scaling to 3D layers:

Translation is supported for all axes using numeric input fields with a step size of 1.0 and a range of -inf to inf.
Scaling supports one input that scales on all axes with a step size of 0.1.

I have set 0.00001 = 1e-5 as minimum scaling factor both for the input transformation as well as when recovering the scaling factor from the active layer. This should prevent any division-by-zero errors and ensure that rotation matrices are always valid.
The transformation order is the default order that is represented by the affine transformation matrix and how that is interpreted by napari. (I might want to add the capability to the order configurable in the future.)

Apart from the changes above I have renamed Rotation[Model|Widget|Component] to Transformation[Model|Widget|Component] to reflect the general transformation capabilities.
The TransformationModel.reset() resets the whole transformation in one go without emitting value changes in between.

I have tested the changes by running the sample script in src/napari_manual_transforms/_widget.py and doing changes interactively.

I have tested the changes by running the sample script in src/napari_manual_transforms/_widget.py and doing changes interactively.

that's fine with me, since there really isn't much of a test suite in this repo yet anyway.  but, if you do have time, and an idea about what you might test, you could add a test here (optional)

Hi, thanks for your great feedback!
Just wanted to say that I have not forgotten about this PR and will work on it as soon as I have the time for it (hopefully within the next ~2 weeks).
I will try to find a way to implement at least some tests for my changes and also update the screenshot for the README as well, which I had forgotten before.

Updated the code and included some tests for the transformation model class (mainly regarding the translation/scale stuff that I have added).
When creating a new screenshot, I have also noticed that the input rotations that I re-created from the current screenshot do not result in the exact same rotation as the screenshot shows. I have checked against current main, same behavior there, but double-checking might be good here.
The resample-button that I have missed before only respects rotation for now -- disregarding any translation and scaling. Should this also be included within this PR? Otherwise I could add another PR when I have some more time for it.


Question: Same Batchsize on different TPU sizes

I want to train an Electra language model with TF 1.15 on a TPU. I use the Same hyperparameters as the paper but use a TPUv3-8 instead of TPUv3-16 they used. Does it make a difference when the batch of 256 gets split into 8 instead of 16 parts?
I think on a GPU it is no difference but on a TPU I think they calculate the gradient on each core and then average it. So in my example I have 8 gradient vectors instead of 16.
Thanks
Philip

Be careful because the batch size affect the performance of BERT-like models including ELECTRA . Please refer to RoBERTA paper to understand why batch size affect the performance . RoBERTA increases the batch size from 256 which was used in BERT model to 8K and they gain +5-7% in F1 score in SQuAD dataset.

Ok thanks. Closing this.


Design a tutorial for quizzes

Hey team! Please add your planning poker estimate with ZenHub @isabellamoak @vstevens14


Fix json file not exist error

Hi, I found the error reason. By the doc https://actionsflow.github.io/docs/workflow/#ontriggerconfigexportoutputs
if we use exportOutputs, we should bind the host files to docker container.
Now it's ok!

Cool, thanks a lot! Should this change go into the actionsflow repo as well? Or in to the example from which I cloned my repo?

I'm afraid not, cause puppeteer is only used in Reddit trigger, and exportOutputs is not commonly used, so using: local is very slow than the default config.
so, I think for most use cases, the default config is just fine.

You set the rss.yml to active: false which disables it. I still get the same error with the reddit-stocks.yml.

I see https://github.com/Industrial/configuration-actionsflow/actions/runs/1628718450 is work well, can you give the  action log link?

I'm not running these actions on github, but locally with docker.
I've added https://github.com/Industrial/configuration-actionsflow/blob/main/bin/start which starts it with docker.
This is what happens when I run the command:
Actionsflow CLI version: 1.12.0

[00:30:08] INFO actionsflow: Start server at http://localhost:3000
[00:30:08] INFO actionsflow: Listen webhook endpoint at http://localhost:3000/webhook/
[00:30:08] INFO actionsflow: Start cron tasks
[00:30:08] INFO actionsflow: Clean the dest folder dist/.cron/1640651408383
[00:30:08] INFO actionsflow: There are 3 immediate tasks, 0 delay tasks
[00:30:09] INFO actionsflow: Run 3 immediate tasks finished, wait for 0 delay tasks to finish...
[00:30:09] INFO actionsflow: All tasks finished, wait for building...
[00:30:09] INFO actionsflow: No new updates found at trigger [reddit] of workflow [reddit-news.yml], skip it.
[00:30:09] INFO actionsflow: No new updates found at trigger [rss] of workflow [rss.yml], skip it.
[00:30:09] INFO actionsflow: Actionsflow build finished with the following errors:
[00:30:09] INFO actionsflow: When running trigger [reddit] of workflow file [reddit-stocks.yml]:  Error: Failed to launch the browser process!
/usr/local/lib/node_modules/actionsflow/node_modules/puppeteer/.local-chromium/linux-901912/chrome-linux/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

    at onClose (/usr/local/lib/node_modules/actionsflow/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:203:20)
    at Interface.<anonymous> (/usr/local/lib/node_modules/actionsflow/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193:68)
    at Interface.emit (events.js:388:22)
    at Interface.close (readline.js:429:8)
    at Socket.onend (readline.js:202:10)
    at Socket.emit (events.js:388:22)
    at endReadableNT (internal/streams/readable.js:1336:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
UNHANDLED REJECTION TriggersError: Multiple Errors when running triggers
    at build (/usr/local/lib/node_modules/actionsflow/dist/src/build.js:242:15)
    at async runWorkflows (/usr/local/lib/node_modules/actionsflow/dist/src/run-workflows.js:18:5)
    at async /usr/local/lib/node_modules/actionsflow/dist/src/cron.js:13:13 {
  errors: [
    {
      error: Error: Failed to launch the browser process!
      /usr/local/lib/node_modules/actionsflow/node_modules/puppeteer/.local-chromium/linux-901912/chrome-linux/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory

      TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

          at onClose (/usr/local/lib/node_modules/actionsflow/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:203:20)
          at Interface.<anonymous> (/usr/local/lib/node_modules/actionsflow/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193:68)
          at Interface.emit (events.js:388:22)
          at Interface.close (readline.js:429:8)
          at Socket.onend (readline.js:202:10)
          at Socket.emit (events.js:388:22)
          at endReadableNT (internal/streams/readable.js:1336:12)
          at processTicksAndRejections (internal/process/task_queues.js:82:21),
      trigger: [Object],
      workflow: [Object]
    }
  ]
}
^C[00:30:10] INFO actionsflow:
Stopping actionflow...

Have you npm install?
and just run npm start locally.

or npm run build and npm run act

I test it locally just now, it works fine.

My bad. It works! Thanks a lot :)


How to configure wal-g backup?

How to configure wal-g backup:

Full backup every 2 days at evening 01:01?
Delta backups every 10 minutes?

I don’t think performing Delta backups every 10 minutes makes sense, especially for large databases. Instead, we can rely on WAL archiving with the archive_timeout='600s' option (10 minutes).
As for Full backups, I typically recommend scheduling them once a week, with Delta backups performed daily. This approach balances backup frequency with resource usage while ensuring recoverability.

There are other effective DR strategies with lower RPO/RTO. To provide more precise recommendations, we would need more details about your service.
We encourage you to explore our individual support packages for tailored guidance.

As for Full backups, I typically recommend scheduling them once a week, with Delta backups performed daily. This approach balances backup frequency with resource usage while ensuring recoverability.

Thanks @vitabaks! Is this scheduling configuration is correct for once full backup a week, with daily Delta backups ?

{ option: "WALG_DELTA_MAX_STEPS", value: "{{ WALG_DELTA_MAX_STEPS | default('7') }}" }
...
wal_g_cron_jobs:

name: "WAL-G: Create daily backup"
user: "postgres"
file: /etc/cron.d/walg
minute: "0"
hour: "{{ WALG_BACKUP_HOUR | default('3') }}"
day: ""
month: ""
weekday: "0"
job: "{{ wal_g_backup_command | join('') }}"

It is not clear how to create daily Delta backups?

wal_g_cron_jobs:

name: "WAL-G: Create daily delta backup"
user: "postgres"
file: /etc/cron.d/walg_delta
minute: "0"
hour: "3"
day: ""
month: ""
weekday: "*"
job: "{{ wal_g_backup_command | join('') }} --delta"
name: "WAL-G: Create weekly full backup"
user: "postgres"
file: /etc/cron.d/walg_full
minute: "0"
hour: "3"
day: ""
month: ""
weekday: "0"
job: "{{ wal_g_backup_command | join('') }} --full"

Will this ansible config work?

wal_g_cron_jobs:

name: "WAL-G: Create daily delta backup"
user: "postgres"
file: /etc/cron.d/walg_delta
minute: "0"
hour: "1"
day: ""
month: ""
weekday: "*"
job: "{{ wal_g_backup_command | join('') }} --delta-from-name LATEST"
name: "WAL-G: Create weekly full backup"
user: "postgres"
file: /etc/cron.d/walg_full
minute: "0"
hour: "1"
day: ""
month: ""
weekday: "0"
job: "{{ wal_g_backup_command | join('') }} --full"

Will this config work if I add it to the ansible playbook?

Yes, see configuration examples: https://autobase.tech/docs/management/backup#command-line

It is not clear how to create daily Delta backups?

WAL-G automatically creates a full backup and subsequent backups as incremental, based on the configuration set by the WALG_DELTA_MAX_STEPS parameter. This parameter defines the maximum number of incremental backups allowed between full backups.

If we configure full backup once a week, then in order for delta backups to be once a day it should be 7?
"WALG_DELTA_MAX_STEPS", value: "7"

If you configure a full backup to occur once a week and want delta backups to occur daily, you should set WALG_DELTA_MAX_STEPS to 6. Here's why:

Full Backup: Happens once a week (e.g., every 7 days).
Delta Backups: Occur daily between full backups.

The WALG_DELTA_MAX_STEPS parameter defines the maximum number of incremental backups (delta) that can be created before a new full backup is forced. If you want 6 delta backups (one for each day before the next full backup), then WALG_DELTA_MAX_STEPS should be 6.

Thanks!


⚠ Bofrost.at has degraded performance

In 128fefe, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2002 ms

Resolved: Bofrost.at performance has improved in d2c691f.


refactor: remove require-all and do the imports explicitly

Description

Refactor the code to get rid of the require-all dependency. This has been done for 2 reasons:

From an arquitectural point of view, it's better to import explicitly rather than implicitly.
When using this module in a server component in a Nextjs app, the app crashes due to the require-all dependency.

Apart from this, I've taken advantage to improve the GitHub actions by pinning dependencies and using harden runner.
Related Issue

When using this module in a server component in a Nextjs app, the app crashes due to the require-all dependency.
Motivation and Context

When using this module in a server component in a Nextjs app, the app crashes due to the require-all dependency.
How Has This Been Tested?

It's just a code refactor. All the existing tests pass.
Types of changes

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

Checklist:

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

If nobody opposite to this change, I will suggest to merge it tomorrow morning and do a release :+1:

LGTM! I believe that this change is semver patch, not even minor

Agree :)

As there are no objections, I'll merge it and create a new release.


Grafana unable to send notification to microsoft teams and slack

I am running a Docker swarm v18.03.0-ce. The only issue I am facing is that Grafana is not able to connect to any webhook. I tried to connect to Microsoft teams, and to Slack. In both cases, Grafana complains that it could not send the test notification. I am doubting it has something to do with the overlay network created by the docker compose file?
Or is there a configuration that I am missing? All I did was run the docker compose and followed it to the letter.

The problem turned out to be with my machines, and not the project. I apologize


Swift 1.2 support

Replace all  as with as!

Hi,
Can you make a new PR to the branch named swift-1.2?
Xcode 6.3 is beta yet, so we should merge it into master after stable version of Xcode being released.
Thanks for your work, @nozaq!

@devxoul Sure, it's a lot more better! :)

Great :+1:


Import registerQuotaErrorCallback from core instead of core._private (#1642)

R: @jeffposnick @philipwalton
Fixes #1642

Coverage remained the same at 86.117% when pulling 8f22cea34e4fc09c92ca1b14ae44c32a8d892eb5 on salmoro:master into 685fd1b383e671c73b00fa0ba4d44364c0201de1 on GoogleChrome:master.

I signed it!
On Tue, Sep 18, 2018, 5:20 PM googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I
signed it!) and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version https://opensource.google.com/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/workbox/pull/1643#issuecomment-422411833,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATQxMHLcDXmtFbHccoX0G4IrNBEp1mbCks5ucQEzgaJpZM4WuB2q
.


Fix #268

Normally these would be considered backwards-incompatible changes, but the extension was broken anyways.


Fix typos in python directory

Splitting #43857 by top-level directories.

@Molkree  Can you please resolve conflicts? Thanks!

@gbaned, done


[INSTALL]: GitHub CLI

Package name
gh
Package version/tag
v2.28.0
Build options
None
Installation timeframe
Only needed on all supported RDHPCS systems.  Already in lmod on WCOSS2.
Other information
No response
WCOSS2

[ ] Check this box if and only if your package should be installed on WCOSS2 Cactus and Dogwood (all spack-stack packages will be installed on Acorn). If not, you may disregard the rest of the items below and submit this request.

WCOSS2: General questions
No response
WCOSS2: Installation and testing
No response
WCOSS2: Technical & security review list

[ ] The code is mature, stable, and production ready
[ ] The code is does not and cannot use the internet, and does not contain URLs (http, https, ftp, etc.) except in comments
[ ] The package does not contain prebuilt binary files that have not been approved by NCO security review
[ ] The code has no publicly disclosed cybersecurity vulnerabilities and exposures (search https://cve.mitre.org/cve/)
[ ] The code is not prohibited by DHS, DOC, NOAA, or NWS
[ ] The code comes from a trusted source. Trusted sources include other NWS, NOAA, or DOC, agencies, or other Federal agencies that operate at a FISMA high or equivalent level. Additionally, trusted sources could be third-party agencies through which there is an existing SLA on file (such as RedHat).
[ ] The code is actively maintained and supported (it continues to get updates, patches, etc.)
[ ] The code is not maintained by a private entity operating in a foreign country (if it is, make a note below)
[ ] There is sufficient documentation to support maintenance
[ ] There are no known security vulnerabilities or weaknesses
[ ] Installing and running the code does not require privileged processes/users
[ ] There are no software dependencies that are unapproved or have security concerns (if there are, make a note below)
[ ] There are no concerns related to SA, SI, and SC NIST control families

WCOSS2: Additional comments
No response

gh v2.49.2 is now in spack mainline. I'm planning a PR for gh 2.50.0 now.

global-workflow needs version 2.28 or something close

@TerrenceMcGuinness-NOAA - I'm a little confused on this issue. GitHub CLI 2.28 is a bit over 2 years old and is missing quite a few features and bug-fixes in the current release. Can global-workflow be updated to use a more recent version of the CLI?

@climbfuji The latest version of gh-cli is fine in ss-1.8.0

Thanks @aerorahul! @eap do you want to go ahead and add a recent version of gh cli?

Adding an update to track status: the gh CLI requires golang which breaks intel platforms. This has been pushed to 1.9 pending fixes for go

Adding an update to track status: the gh CLI requires golang which breaks intel platforms. This has been pushed to 1.9 pending fixes for go

Query: How does golang break intel? I mean...I've built go programs on Intel chips before.

Ohhh. Intel the compiler! I've been thinking about chips too long. Makes more sense now. :)

I'm assigning this to Steven G who should have a chance to look at it next sprint. If this is a straightforward fix as expected I'd expect this to be in for 1.9. But I'll hedge a little here and wait for Steve's assessment of points once he's had time to look at it in depth.

I took a look into this, and it looks like updating the spack.yaml works for building it.
 [...]
  packages:
    all:
      prefer: ['%gcc', '%intel']
      providers:
        gh: [go, go-bootstrap]

Which could be added by:
spack config add "packages:all:prefer:['%gcc','%intel']"
spack config add "packages:all:providers:gh:[go,go-bootstrap]"

The spack spec:
# spack spec gh
Input spec
--------------------------------
 -   gh

Concretized
--------------------------------
[+]  gh<EMAIL_ADDRESS>build_system=generic arch=linux-rocky8-icelake
[+]      ^gcc-runtime<EMAIL_ADDRESS>build_system=generic arch=linux-rocky8-icelake
[e]      ^glibc<EMAIL_ADDRESS>build_system=autotools arch=linux-rocky8-icelake
[+]      ^go<EMAIL_ADDRESS>build_system=generic arch=linux-rocky8-icelake
[e]          ^git<EMAIL_ADDRESS>build_system=autotools arch=linux-rocky8-icelake
[+]          ^go-bootstrap<EMAIL_ADDRESS>build_system=generic arch=linux-rocky8-icelake

I tested this a few times with an intel environment of spack-stack-1.8. What would be the best way to add this to the global-work?

I am confused by the line providers: gh: ... is this supposed to be providers: go: ...? There is no virtual gh package. If it is go, then this part is ok to add to configs/common/packages.yaml.
There can only be one preferred compiler. I guess the other missing piece for you probably is to add a specific requirement to always build go or go-bootstrap with gcc. See existing use cases in configs/common/packages_*.yaml. This way, you won't need gcc listed as a preferred compiler.

I was following spack documentation on a path to make it work, and this is what I gathered from that

I am confused by the line providers: gh: ... is this supposed to be providers: go: ...? There is no virtual gh package. If it is go, then this part is ok to add to configs/common/packages.yaml.

I forgot to mention that I did a spack add gh.
I was reading spack documentation on how to prefer specific compilers for packages and this is what I came up with that worked.
I'll try out specifying go and go-bootstrap to use gcc as you mention.

Providers are virtual packages that can satisfy dependencies for the virtual package with several backends.
$ spack providers
Virtual packages:
    D      blas  daal      flame       fuse  go-or-gccgo-bootstrap  ipp   lapack       libglx     lua-lang        mkl  mysql-client  pbs        qmake      sycl  unwind    xxd      zlib-api
    armci  c     elf       fortran     gl    golang                 java  libc         libifcore  luajit          mpe  onedal        pil        rpc        szip  uuid      yacc
    awk    cxx   fftw-api  fortran-rt  glu   iconv                  jpeg  libgfortran  libllvm    mariadb-client  mpi  opencl        pkgconfig  scalapack  tbb   wasi-sdk  ziglang

There is no virtual package gh. Can you share the link that told you to specify gh as provider?

Or, in other words, the line gh: [go, go-bootstrap] would mean that "either go or go-bootstrap can be used to provide and satisfy the requirements for gh" - but neither go nor go-bootstrap provide the gh cli!

You’re right! I misread the documentation from Spack on it. How it worked for me I don’t know.
So we can safely ignore my previous comment. I’ll update local package.yml to require gcc and make sure it works that way.

On Nov 15, 2024, at 10:09 AM, Dom Heinzeller @.***> wrote:
Providers are virtual packages that can satisfy dependencies for the virtual package with several backends.
$ spack providers
Virtual packages:
D      blas  daal      flame       fuse  go-or-gccgo-bootstrap  ipp   lapack       libglx     lua-lang        mkl  mysql-client  pbs        qmake      sycl  unwind    xxd      zlib-api
armci  c     elf       fortran     gl    golang                 java  libc         libifcore  luajit          mpe  onedal        pil        rpc        szip  uuid      yacc
awk    cxx   fftw-api  fortran-rt  glu   iconv                  jpeg  libgfortran  libllvm    mariadb-client  mpi  opencl        pkgconfig  scalapack  tbb   wasi-sdk  ziglang
There is no virtual package gh. Can you share the link that told you to specify gh as a virtual package?
—
Reply to this email directly, view it on GitHub https://github.com/JCSDA/spack-stack/issues/1105#issuecomment-2479458002, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEJ6FNQBHJP7NOOTPOTR3D2AYTCZAVCNFSM6AAAAABHJPLUXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZGQ2TQMBQGI.
You are receiving this because you were assigned.


feat: add local overlay

This PR is aimed as being able to create a fully functional service on a local minikube
Requires:

https://github.com/bf2fc6cc711aee1a0c2a/cos-fleet-manager/pull/121
https://github.com/bf2fc6cc711aee1a0c2a/cos-tools/pull/32

We should probably link other READMEs to this one.

Yep
FWIW, we had a discussion back in the early days with @abkieling to create a dedicated, antora based, repo for the doc


Adds basic single qubit error channels for simulation convenience

Adds the ability to apply simple 1-qubit error channels numerically to given density matrices with tests.  Useful for testing error resilience in VQE and QSE methods.

Comments should be taken care of

@babbush @jarrodmcc do we want to maintain the spacing point in general? My thought is that it's nice to have, and cheap to maintain given that we already have it - but if neither of you care at all we could just not keep doing it

In general we do care about spacing. But Jarrod is right that this is one area of the style guide where there are enough inconsistencies that I wouldn't hang up a pull request over it.

Put another way, right now I'm happy when I see people putting argument types in parenthesis. Because that is not practiced throughout OpenFermion. I try to mandate it in all PRs now though. However, whether there is a space after the arg name or not doesn't matter to me because it is picked up by sphinx just the same as far as I can tell.


Add ERC20_Pausable

This PR makes a new attempt to propose an extensibility model for Starknet contracts by abstracting ERC20_base.cairo from ERC20.cairo. It also moves Signer.py together with other utility functions into test/utils.py.
This PR proposes the notion of "base contracts" (ERC20_base.cairo, Ownable.cairo, Pausable.cairo) which:

prefix all function and storage variable names with the contract name to prevent clashing with other base contracts
do not implement any external functions
do not declare any builtin
implement initializers

Conversely, "frontend" contracts such as ERC20.cairo or ERC20_pausable.cairo:

import from base contracts
do implement external functions
need to declare any builtins required by their base contracts
implement a constructor that calls initializers

To do:

[ ] solve initialization lock details

I just wanted to add that this is also how I implemented inheritance in my smart contracts. As a developer I want to have absolute control over the external API of my contracts and this pattern makes it possible.

I like this idea overall and certainly would save me time on my projects. I looked a little into how we can make the initializer functions one call only and could only come up with a way using a stateful lock.
One idea for variables that are write once only such as name and Symbol is we can have the child class initialize these values in the constructor and maybe have the "initializer" be a read only check that these values are non-null.

I like this idea overall and certainly would save me time on my projects. I looked a little into how we can make the initializer functions one call only and could only come up with a way using a storage_var lock.
One idea for variables that are write once only such as name and Symbol is we can have the child class initialize these values in the constructor and maybe have the "initializer" be a read only check that these values are non-null.

Actually I'm leaning towards a much simple approach:

initializers should never be marked as externals
initializers can only be called from the constructor

This way you can guarantee no double initialization and no initializer exposition, and it's simple enough to reason about.


:zap: [Adjudicator] Conclude after progressing into final

Closes #13

Codecov Report

Merging #14 (85cab8a) into master (73b45de) will decrease coverage by 0.37%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   99.22%   98.85%   -0.38%
==========================================
  Files          10       10
  Lines         259      262       +3
  Branches       65       66       +1
==========================================
+ Hits          257      259       +2
- Misses          2        3       +1

Impacted Files
Coverage Δ

contracts/Adjudicator.sol
99.36% <75.00%> (-0.64%)
:arrow_down:

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 73b45de...85cab8a. Read the comment docs.

The current version is untested and includes a bug.
A channel progressed into final like this will have phase CONCLUDED but it's outcome is not pushed to the asset holder.
A better way to achieve the goal of fast conclusion after progressing into final may be to modify concludeFinal so that it does not require signatures if the state is already registered and final.


[Overview] Issues reg. local regulations

This is an overview over all issues regarding local regualtions (to keep track and avoid duplicates).

Issue
Title
Status
JIRA

#428
Regional regulation change notification
OPEN
EXPOSUREAPP-6133

#615
List RKI high risk and virus variant countries/areas
OPEN
EXPOSUREAPP-9053

This overview was last updated on 02.09.2022 (dd.mm.yyyy).

Internal Tracking ID: EXPOSUREAPP-6133

I'm discontinuing this overview, as it makes no sense to have an overview for 2 open issues reg. one topic. Thanks for your understanding!


settings: Deduplicate show and hide spinner functions.

This PR refactors the duplicated spinner logic from the dialog_widget and user_profile modules by extracting the functionality for loading indicators in a button into reusable components, defined in loading.ts.
Summary of Changes:

Extracted loading spinner logic from the following functions:

dialog_widget.show_dialog_spinner
user_profile.show_button_spinner
dialog_widget.hide_dialog_spinner
user_profile.hide_button_spinner

Introduced two new reusable components:

show_spinner for displaying the spinner
hide_spinner for hiding the spinner

This refactoring reduces redundancy and centralizes the logic for showing and hiding spinners, improving code reusability, maintainability, and making future updates easier.
Fixes: https://github.com/zulip/zulip/issues/26691
Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability (variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns:

[x] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline):

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions, and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Hey @sayamsamal,
I’ve submitted a new PR addressing issue #26691 after you assigned it to me following PR #28698. Thanks for assigning me the original issue! I’ve implemented all the changes you suggested on PR #28698. Let me know if anything else needs to be done!

Hey @alya ,can you please review my PR?

I'm not sure this does what the issue requests at all, BTW. The thing we want to deduplicate is these functions in user_profile.ts.
export function show_button_spinner($button: JQuery): void {
    const $spinner = $button.find(".modal__spinner");
    const dialog_submit_button_span_width = $button.find("span").width();
    const dialog_submit_button_span_height = $button.find("span").height();
    $button.prop("disabled", true);
    $button.find("span").hide();
    loading.make_indicator($spinner, {
        width: dialog_submit_button_span_width,
        height: dialog_submit_button_span_height,
    });
}

export function hide_button_spinner($button: JQuery): void {
    const $spinner = $button.find(".modal__spinner");
    $button.prop("disabled", false);
    $button.find("span").show();
    loading.destroy_indicator($spinner);
}

I'm not sure this does what the issue requests at all, BTW. The thing we want to deduplicate is these functions in user_profile.ts.
export function show_button_spinner($button: JQuery): void {
    const $spinner = $button.find(".modal__spinner");
    const dialog_submit_button_span_width = $button.find("span").width();
    const dialog_submit_button_span_height = $button.find("span").height();
    $button.prop("disabled", true);
    $button.find("span").hide();
    loading.make_indicator($spinner, {
        width: dialog_submit_button_span_width,
        height: dialog_submit_button_span_height,
    });
}

export function hide_button_spinner($button: JQuery): void {
    const $spinner = $button.find(".modal__spinner");
    $button.prop("disabled", false);
    $button.find("span").show();
    loading.destroy_indicator($spinner);
}

I am little bit confused that what exactly you want whether to deduplicate only these two functions named show_button_spinner and hide_button_spinner present in user_profile.ts or as alya and sahil pointed out in a conversation https://github.com/zulip/zulip/pull/27210#issuecomment-1778596121 that they also want to remove the loading.show_button_spinner and only keep the dialog_widget.show_button_spinner everywhere.

I'm not sure this does what the issue requests at all, BTW. The thing we want to deduplicate is these functions in user_profile.ts.
export function show_button_spinner($button: JQuery): void {
    const $spinner = $button.find(".modal__spinner");
    const dialog_submit_button_span_width = $button.find("span").width();
    const dialog_submit_button_span_height = $button.find("span").height();
    $button.prop("disabled", true);
    $button.find("span").hide();
    loading.make_indicator($spinner, {
        width: dialog_submit_button_span_width,
        height: dialog_submit_button_span_height,
    });
}

export function hide_button_spinner($button: JQuery): void {
    const $spinner = $button.find(".modal__spinner");
    $button.prop("disabled", false);
    $button.find("span").show();
    loading.destroy_indicator($spinner);
}

Hey @timabbott ,I am little bit confused that what exactly you want whether to deduplicate only these two functions named show_button_spinner and hide_button_spinner present in user_profile.ts or as alya and sahil pointed out in a conversation #27210 (comment) that they also want to remove the loading.show_button_spinner and only keep the dialog_widget.show_button_spinner everywhere.

Hey @tim, whenever you have a moment, could you please take a look at this? I need your guidance to complete this issue.

Hello @timabbott, I have revised my approach to address this issue, and I would greatly appreciate it if you could take a look and let me know if I’m on the right track. Additionally, I'm facing a problem with a failing test, and I have already sought guidance in CZO regarding it.
Thanks !

Hello @timabbott, I have revised my approach to address this issue, and I would greatly thankful to you if you could take a look and let me know if I’m on the right track.
Thanks!

Hey @timabbott , can you please review this one?

Thank you, @timabbott, for the detailed review. I've implemented all the required changes.
However, I have a question regarding your suggestion to rename show_spinner to show_button_spinner and add follow-up commits for using the new show_spinner where show_button_spinner is currently used.
Wouldn't it be better to create a new PR for that refactoring once this one gets merged? The next set of changes would involve modifications to the templates and some refactoring in the loading.ts file, which might make the review process cleaner if handled separately.
What are your thoughts on this approach?
Looking you for your guidance!
Thanks!

Hello @timabbott , looking for your thoughts!
Thankyou!

Hello @timabbott , waiting for your feedback to proceed further.
Thanks!

Hello @timabbott , waiting for your feedback to proceed further.
Thanks!

Hello @timabbott , waiting for your feedback to proceed further.
Thanks!

I would have preferred stacking more commits in this PR, but you can do them in a follow-up one if you like. Merged, thanks @shuklamaneesh23!

I would have preferred stacking more commits in this PR, but you can do them in a follow-up one if you like. Merged, thanks @shuklamaneesh23!

Hello @timabbott,
I have submitted a follow-up PR for the remaining work. You can check it here.
Thank you!


fix: handle absolute paths on windows

Hello, absolute paths on windows weren't being identified.
Aside from that, everything works flawlessly on windows. Amazing plugin, thank you ✨

Thanks for the PR! Glad you like the plugin :)

vim.fn.has() returns 0|1 but these are always treated as true in lua. So we should check that by vim.fn.has("win32") == 1.
It's fixed at #92.

vim.fn.has() returns 0|1 but these are always treated as true in lua. So we should check that by vim.fn.has("win32") == 1.
It's fixed at #92.

Thank you!


Decouple name from the _readField.

A note on typeArgs and fields and stuff : Protocols doesn't define typeArgs at all. Types in protocols come in three different flavors :

A full object, in which case it looks like { type: "name", someArgs: ..., someOtherArg: ... }
An array, in which case it is syntax sugar for { type: "struct", fields: the given array }
A string, which is syntax sugar for { type: "given string" }

The read function takes a buffer+cursor, a type and a context. The name isn't going to be used by the generic _readField anymore. It is currently only used to augment error types. Instead of dealing with that in _readField, it seems smarter to delegate that work to the different containers. As such, name will just be a normal argument for type struct.
This is linked to #2

now solved in https://github.com/PrismarineJS/node-minecraft-protocol/pull/221


Add support for dynamic removal of openid providers

We are using oidcc in a more dynamic nature, where customers are able to add/remove providers at will and we have to sync the list with our database. In order to do this we required a delete_openid_provider method.
I did my best to fit the code style previously in use, but my Erlang knowledge is limited. Please let me know if there is anything you would like me to change.
I added several tests, but I noticed there is not a real integration test. The actual removal of the provider is left to the existing code that deals with DOWN messages for the provider. To remove the provider, I simply shoot down the process.

It seems several of the other PR's haven't received comments and were not merged since April 9. @bwegh would you have some time to look at this or is there another maintainer?

I had already a short look today and it seems okay so far.
I have just been wondering whey you did not just use the stop function of the provider.
would be nice if you would that instead

Mmm, does the .stop method have the same effect of removing it from the list?

yes, it does

I worked around this :) Thanks for you help. Any way the other (merged) change could be in a released version some time?

just released 1.8.0 also available on hex.pm: https://hex.pm/packages/oidcc


Error on using headerRight or headerLeft prop with new createStackNavigator

If you try to use the old Navigator, the Modals, which was built with the new createStackNavigator, doesn't work anymore in this stack.

Please use functions instead of react elements as mentioned in the changelog


test suite optimisation

This PR aims at optimising the suite of tests included in umap to allow for flexible adaptations to different (Python) environments, for what concerns the optional dependencies (i.e. umap.plot and umap.parametric_umap).
In details, two main contributions have been implemented:

the whole test suites now is fully based on pytest, dropping completely nose dependency.
all tests requiring optional packages to be available for the execution are dynamically skipped if those packages are not installed in the environment (e.g. tensorflow).

These changes were motivated by the preliminary tests run using the latest RC numba version (i.e. 0.53.0rc1), and Python 3.9. Currently tensorflow does not support Python 3.9 yet - due to an incompatibility with protobuf(see Issue #44485. So the test suite now skips automatically the tests on ParametricUMAP when using Python 3.9.
Other minor changes included in the PR:

unused imports and code have been removed from code
tests for parametric umap now includes some basic assertions to test properties of the calculated embeddings (e.g. shape)
the moon_dataset has been re-used as test fixtures and extended to 200 samples
ParametricUMAP with validation uses half of the original dataset.

Hello @leriomaggio! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file umap/tests/test_composite_models.py:

Line 27:89: E501 line too long (99 > 88 characters)
Line 30:89: E501 line too long (99 > 88 characters)
Line 53:89: E501 line too long (99 > 88 characters)
Line 56:89: E501 line too long (99 > 88 characters)
Line 68:89: E501 line too long (101 > 88 characters)
Line 71:89: E501 line too long (101 > 88 characters)
Line 83:89: E501 line too long (101 > 88 characters)

Mmm... I am not exactly sure why some tests are failing here :(
Will try to replicate on my end too, with Python 3.7.
Any clue, in the meantime? It looks like some warnings are not returned / captured in test_umap_ops@test_disconnected_data

Fantastic! Glad you appreciated it! It made things really easier to test for the latest version of Python/Numba.
ICYMI: Numba Discourse
Speaking of, happy to push the same changes (as in dropping nose dependency) in pynndescent/tests as well, if you like! :)

I would love to have pynndescent free of nose at this point, so please submit the PR if you have the time.

Will do - I did check already, and it should be pretty simple to do. Will work on it this Friday and will send the PR 🙌
Thanks for merging!


Enable elder e2e tests in CI

What this PR does / why we need it:
Enable elder e2e tests in Travis.
Special notes for your reviewer:
Release note:

None

/assign k82cn

@TommyLike this change looks good.
The test case 'Try to fit unassigned task with different resource requests in one loop' is failing due to task priority.
To pass the test case we need to swap the workerPriority with masterPriority.
But i am not sure if this test was passing earlier, then there could be a bug in the kube-batch?
Why its failing:
If you see the below code the replicaset will fill the pods with onecpu across all the nodes.
And it will leave only one slot empty which is 'one cpu core', then test tries to create the job with two task one with higher prirority and the other with lower priority.
But the task with higher priority cant be scheduled since it requests Two cpu-cores there is only one cpu core only left in the cluster in some node. So it blocks the other task also resulting in both of them not getting scheduled.
https://github.com/kubernetes-sigs/kube-batch/blob/5b048be1b1d15fa03e84b6ea722733b7c87205bb/test/e2e/kube-batch/job.go#L64-L95

@TommyLike i will raise a pr with the fix for the test case failure.
But i need to confirm is that the actual/correct behaviour?
And if so how was this passing all this time?

@shivramsrivastava not sure, it's working on my local environment.

@TommyLike it fails in my local environment ( kind cluster) consistently.

=== RUN   TestE2E
Running Suite: volcano Test Suite
=================================
Random Seed:<PHONE_NUMBER>
Will run 1 of 4 specs

S
------------------------------
• Failure [87.406 seconds]
Job E2E Test
/home/root1/gopathPoseidon/src/github.com/kubernetes-sigs/kube-batch/test/e2e/kube-batch/job.go:23
  Try to fit unassigned task with different resource requests in one loop [It]
  /home/root1/gopathPoseidon/src/github.com/kubernetes-sigs/kube-batch/test/e2e/kube-batch/job.go:64

  Cluster Info:
    Nodes:

      Name: shiv-control-plane
      Allocatable:
        Pods: 110
        CPU: 4
        Memory: 16297844Ki
      Conditions:
        NetworkUnavailable=False
        MemoryPressure=False
        DiskPressure=False
        PIDPressure=False
        Ready=True
      Taints:
        node-role.kubernetes.io/master  NoSchedule

      Name: shiv-worker
      Allocatable:
        Pods: 110
        CPU: 4
        Memory: 16297844Ki
      Conditions:
        NetworkUnavailable=False
        MemoryPressure=False
        DiskPressure=False
        PIDPressure=False
        Ready=True
      Taints:

      Name: shiv-worker2
      Allocatable:
        Pods: 110
        CPU: 4
        Memory: 16297844Ki
      Conditions:
        NetworkUnavailable=False
        MemoryPressure=False
        DiskPressure=False
        PIDPressure=False
        Ready=True
      Taints:

      Name: shiv-worker3
      Allocatable:
        Pods: 110
        CPU: 4
        Memory: 16297844Ki
      Conditions:
        NetworkUnavailable=False
        MemoryPressure=False
        DiskPressure=False
        PIDPressure=False
        Ready=True
      Taints:

    Pods:
      coredns-86c58d9df4-chr2m                     kube-system    Running   shiv-control-plane
      coredns-86c58d9df4-v59wz                     kube-system    Running   shiv-control-plane
      etcd-shiv-control-plane                      kube-system    Running   shiv-control-plane
      kube-apiserver-shiv-control-plane            kube-system    Running   shiv-control-plane
      kube-controller-manager-shiv-control-plane   kube-system    Running   shiv-control-plane
      kube-proxy-d5sjb                             kube-system    Running   shiv-worker2
      kube-proxy-kq7c8                             kube-system    Running   shiv-worker
      kube-proxy-wt27b                             kube-system    Running   shiv-worker3
      kube-proxy-xwbbl                             kube-system    Running   shiv-control-plane
      kube-scheduler-shiv-control-plane            kube-system    Running   shiv-control-plane
      weave-net-42jd4                              kube-system    Running   shiv-worker2
      weave-net-9qj7r                              kube-system    Running   shiv-worker3
      weave-net-bxglq                              kube-system    Running   shiv-control-plane
      weave-net-szl8s                              kube-system    Running   shiv-worker
      multi-task-diff-resource-job-0-c97kr         test           Pending
      multi-task-diff-resource-job-1-q2hq6         test           Pending
      rs-1-c2szf                                   test           Running   shiv-worker
      rs-1-g7x6d                                   test           Running   shiv-worker2
      rs-1-k7gcm                                   test           Running   shiv-worker3
      rs-1-mq8zq                                   test           Running   shiv-worker3
      rs-1-nm88z                                   test           Running   shiv-worker2
      rs-1-rkmqw                                   test           Running   shiv-worker3
      rs-1-w5sbt                                   test           Running   shiv-worker
      rs-1-wqspw                                   test           Running   shiv-worker

  Expected error:
      <*errors.errorString | 0xc00007b700>: {
          s: "timed out waiting for the condition",
      }
      timed out waiting for the condition
  not to have occurred

  /home/root1/gopathPoseidon/src/github.com/kubernetes-sigs/kube-batch/test/e2e/kube-batch/job.go:102
------------------------------
SS

Summarizing 1 Failure:

[Fail] Job E2E Test [It] Try to fit unassigned task with different resource requests in one loop
/home/root1/gopathPoseidon/src/github.com/kubernetes-sigs/kube-batch/test/e2e/kube-batch/job.go:102

Ran 1 of 4 Specs in 87.406 seconds
FAIL! -- 0 Passed | 1 Failed | 0 Pending | 3 Skipped
--- FAIL: TestE2E (87.41s)
FAIL
FAIL	github.com/kubernetes-sigs/kube-batch/test/e2e/kube-batch	87.415s
hack/run-e2e.sh: line 15: 20922 Killed                  nohup ${KA_BIN}/kube-batch --kubeconfig ${HOME}/.kube/config --scheduler-conf=config/kube-batch-conf.yaml --logtostderr --v ${LOG_LEVEL} > scheduler.log 2>&1

It's unstable or have deeper root cause which we can't identify for now, tested it can work with my environment:
Running Suite: volcano Test Suite
=================================
Random Seed:<PHONE_NUMBER>
Will run 2 of 2 specs

this is the cluster size 12• [SLOW TEST:33.914 seconds]
Job E2E Test
/root/go_projects/src/github.com/kubernetes-sigs/kube-batch/test/e2e/kube-batch/job.go:25
  Try to fit unassigned task with different resource requests in one loop
  /root/go_projects/src/github.com/kubernetes-sigs/kube-batch/test/e2e/kube-batch/job.go:26
------------------------------
S [SKIPPING] [0.000 seconds]
Job E2E Test
/root/go_projects/src/github.com/kubernetes-sigs/kube-batch/test/e2e/kube-batch/benchmark.go:51
  [Feature:Performance] Schedule Density Job [It]
  /root/go_projects/src/github.com/kubernetes-sigs/kube-batch/test/e2e/kube-batch/benchmark.go:52

  Performance test skipped since config file not found

  /root/go_projects/src/github.com/kubernetes-sigs/kube-batch/test/e2e/kube-batch/benchmark.go:54
------------------------------

Ran 1 of 2 Specs in 33.915 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 1 Skipped
--- PASS: TestE2E (33.91s)
PASS
ok  	github.com/kubernetes-sigs/kube-batch/test/e2e/kube-batch	33.925s

@k82cn  your call.

This patch is not required anymore, due to the merge of #806


Support Union definition processing

Support for resolving references in Union cases, switchType, or defaultCase.
FG-4329

@snosenzo is this ready for review or still a draft? I guess it's only a draft because it was stacked on the other PR?


question about planned features

Hello!
I just have a quick question, this tool looks absolutely perfect for our use case, except for one thing. We'd like to run 5-8 servers with wireguard on them and if possible, have them managed from one location.
Is that something you'd considered in the past or would it even be possible with the current codebase?
Granted we could run multiple instances too but figured it'd be better to ask beforehand just in case.
Thank you!

You can already manage multiple WireGuard interfaces in one WireGuard Portal instance. If you want to manage multiple different host machines with WireGuard interfaces, this is currently not supported nor planned.


Remove dead code

Please remove commented-out code (e.g. https://github.com/zhouguiyun-uestc/ParallelFlowDirections/blob/master/include/paradem/memory.h#L12-L44) if it's not needed anymore or put it in #ifdef/#endif guards with well-documented functionality if it's needed for particular tests.

https://github.com/zhouguiyun-uestc/ParallelFlowDirections/blob/master/src/common/grid.cpp#L11-L14

https://github.com/zhouguiyun-uestc/ParallelFlowDirections/blob/master/src/common/memory.cpp#L22-L27

https://github.com/zhouguiyun-uestc/ParallelFlowDirections/blob/master/src/common/tool.cpp#L21-L22

https://github.com/zhouguiyun-uestc/ParallelFlowDirections/blob/master/src/common/tool.cpp#L62-L65

https://github.com/zhouguiyun-uestc/ParallelFlowDirections/blob/master/src/common/tool.cpp#L222-L264

Done!

Thanks! I'll mark this as closed, but another issue will be opened if there's dead code elsewhere in the code base.


4-10 second delay between constructor and NgInit()

Bug Report or Feature Request (mark with an x)
- [X ] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.3.0
node: 6.9.5
os: darwin x64
@angular/animations: 4.3.4
@angular/cdk: 2.0.0-beta.8
@angular/common: 4.3.4
@angular/compiler: 4.3.4
@angular/compiler-cli: 4.3.4
@angular/core: 4.3.4
@angular/flex-layout: 2.0.0-rc.1
@angular/forms: 4.3.4
@angular/http: 4.3.4
@angular/material: 2.0.0-beta.8
@angular/platform-browser: 4.3.4
@angular/platform-browser-dynamic: 4.3.4
@angular/platform-server: 4.3.4
@angular/router: 4.3.4
@angular/cli: 1.3.0
@ngtools/webpack: 1.6.0
Repro steps.

Production code is built using the following command -
node --max_old_space_size=8192 ./node_modules/.bin/ng build --aot --prod
Th initial load of the module happens quickly but, when navigated to a route, the constructor of the destination component is also called in a timely manner, but the ngOnInit() method is not called for another 4-10 seconds. This happens every time and with not just one but all components that are called using navigation.
The log given by the failure.

NA
Desired functionality.

I'd like to understand the reason and resolution for the delay.
Mention any other details that might be useful.

Additional information that might help is that this behavior started when I upgraded Angular from 4.0.1 to 4.3.4

Is this a problem specifically with the cli, or is this more of an Angular performance question? If it's the latter, you might want to submit this issue here instead

Apologies. I have submitted the issue here. Thanks.


Port Android's Posix.java, use it for I/O support [moved]

This is Issue 75 moved from a Google Code project.
Added on 2012-10-25T16:33:24.000Z by<EMAIL_ADDRESS>Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Medium

Implemented.