UI Texture 9 slice

Follow up to #10588

Enable Texture slicing for the following UI nodes:

ImageBundle
ButtonBundle

I also added a collection of fantazy-ui-borders from Kenney's assets, with the appropriate license (CC).
If it's a problem I can use the same textures as the sprite_slice example
Work done
Added the ImageScaleMode component to the targetted bundles, most of the logic is directly reused from bevy_sprite.
The only additional internal component is the UI specific ComputedSlices, which does the same thing as its spritee equivalent but adapted to UI code.
Again the slicing is not compatible with TextureAtlas, it's something I need to tackle more deeply in the future
HotFix
I noticed that TextureSlicer::compute_slices could infinitely loop if the border was larger that the image half extents, I added an explicit panic instead

@alice-i-cecile I think this should go to 0.13 as long as the sprite slices, the UI feature is probably even more useful than the sprite counterpart

I agree: the UI equivalent is heavily awaited and I'd like to be able to land both at once.

@alice-i-cecile What about the new textures ? Do you think keeping them makes sense or should I only keep the one in use ?

I like the new textures a lot: I think they clearly demonstrate the value in a more appropriate way.

I like the new textures a lot: I think they clearly demonstrate the value in a more appropriate way.

Great, but I added the whole pack in the assets folder, so we might want to remove the unused ones from the version control

Yeah, let's strip it down to only the ones that we use. We can always add more later if we find a use in other examples.

Working on giving this a review, I noticed some left over unused system set ordering which seems like it was changed here https://github.com/bevyengine/bevy/pull/5103#discussion_r1480569178 in the Texture Atlas rework.

could you also add the assets you're adding to https://github.com/bevyengine/bevy/blob/main/CREDITS.md with their direct link and their license?

it's a CC0 license so the license file is not strictly needed, it could be removed.

I see there is a note to support flipping, but it seems like there is an issue with the default orientation.

It was tricky but I fixed the flipped issue and added flipping support for sliced textures

@alice-i-cecile D you know why the CI fails on check-bans ? What can I do to fix this ?

@alice-i-cecile Do you know why the CI fails on check-bans ? What can I do to fix this ?

you can't, and it's not blocking for merging (it doesn't have the "required" tag)

Yup, what I'm unhappy about is that any change to an image asset will go through all image (2d or UI) entities, even when you're not using 9 slice at all

Honestly we can just remove those systems, the slices won't refresh if you change the image asset directly but users can be responsible to trigger change detection

I think 9-slice enabled ui elements and sprites should not be part of the existing bundles but in new bundles, or a "add this component ImageScaleMode to any entity with an image and it will be sliced/scaled/tiled, otherwise it will be just scaled and nothing fancy will happen"

Since the sprite slicing was not released yet we can remove the scale mode from the sprite and UI bundles, note that in UI it was only added to bundles with a UI image

I would like that. Do you think we should duplicate all bundles with an added ImageScaleMode component? Or have it as a free standing component, and show in the examples and doc "add this component and stuff happens"? @alice-i-cecile, do you have an opinion?

I feel we might be adding too many bundles that are basically the same as others with one extra component.
For example the sprite sheet bundle is strictly identical to the sprite bundle with one extra component. So maybe we could have some "basic" bundles and explain the possible additional behaviour through extra components? This would be fixed by optional components in bundles too I think


Add async driver for facades.Queue

Add a default async driver for facades.Queue

remove to #153, close it.


add src param so rpm build works

gradle bigtop-utils-rpm task fails with:
Copy  to /opt/bigtop/build/bigtop-utils/tar/bigtop-utils-1.1.0-SNAPSHOT.tar.gz
:bigtop-utils-tar FAILED
FAILURE: Build failed with an exception.

Where:
Script '/opt/bigtop/packages.gradle' line: 250

@aelent Please point out corresponding JIRA issue to reviewers. If the JIRA does not exist, file a appropriate one first. https://issues.apache.org/jira/browse/BIGTOP
Thanks!

@youngwookim Created https://issues.apache.org/jira/browse/BIGTOP-2068
Thanks


Add stm32u031 serie

Add soc and kconfig
Provide support dtsi files
Add board support for nucleo_u031r8
Run basics samples like  helloworld,  blinky and button

Question on the stm32u031.dtsi introduction: Should it then be included by already present stm32u08..dtsi ?

good point, indeed, given the architecture of the two series' socs, we can include it in stm32u083rc.


No license mentioned in Readme.md

I was browsing your repositories (thanks for Hecs!) and noticed this library. It could prove useful (need to evaluate it first and look for alternatives) but would need a suitable license like MIT to use it for my commercial game.
Could you please clarify if there is an open license in your Readme.md file?
Thanks very much for your open source work
-Tom

Thanks for your interest! This project isn't in a useful state at the moment, as you might guess from the dust, and I don't intend to return to it in the near future. I'll address this issue when I get back to it. Feel free to use the code here under the terms of any of Apache 2/MIT/Zlib at your choice if you really want, but I think for now the only really interesting thing in the repo is the design discussion in the README.

Thanks Ralith!
I didn't notice the dust. Fair enough! There's always far more good ideas (like this project) than there is time!

I've now banged this into reasonable shape and documented the licensing. Still no promises about maintenance, but it may at least be an interesting reference.


Search through name and keywords also

Caches and searches through a feature's name (the JSON key) and keywords. This allows the user to search for things like flexbox which currently returns nothing (since the title is "Flexible Box Layout Module").
While adding this, noticed two things:

It didn't seem that $extras and $extras2 had a real purpose that directly calling $w->result wouldn't handle. Replaced these with direct calls.
All the direct calls to $w->result seemed repetitive, so created a helper function.

Happy to remove these from this PR if you disagree, but I think it cleans things up. Haven't used PHP in a decade, so hope this is idiomatic.

Thanks for the PR!


please add examples/documentation to src/lib.rs

Please add two examples to src/lib.rs, showing how to use TryFrom<&[u8]> for Voucher.
These should form documentation, and should get referenced from README.md (to be created)

examples/docs are now at https://animagus-minerva.github.io/voucher/doc/minerva_voucher/index.html
Thanks!


Researcher page updates

Added Q/A about where to find BAM/SAM/FASTQ/etc. files in researcher.md.
Added some more pointers to Tapestry to search for data directly there instead of first pointing them to untap in researcher.md
Added pointer to contact form in researcher.md for further questions (points to the PersonalGenomes.org contact form).
Minor formatting and spelling changes all around (including the participant.md file).

Added a Q/A about the .json extension (also mentioned the GET-Evidence report)
Took out line about receiving unaligned reads from CGI
Added in CC0 license (redundant but good to have here as well)

Thank you Abram, that is just fantastic and will be super helpful going
forward.
Celia
On Mon, Dec 7, 2015 at 11:18 AM, Abram Connelly<EMAIL_ADDRESS>wrote:

Added a Q/A about the .json extension (also mentioned the
GET-Evidence report)
Took out line about receiving unaligned reads from CGI
Added in CC0 license (redundant but good to have here as well)

—
Reply to this email directly or view it on GitHub
https://github.com/PGPHarvard/FAQ/pull/8#issuecomment-162629608.

I believe have merged these changes into the wiki, notably I changed the support email to the PGP Harvard form instead of personalgenomes.org contact form (seems more appropriate)? Thanks all!


Add files via upload

add School of Medicine in English

@huhengbo Please provide us with:

the university official website URL, if different from the domain you are submitting
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university
an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.

@huhengbo You might miss my previous comment. Please reply.

@huhengbo I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the abovementioned issue. Thank you for the understanding!


Escaping – inverted condition

Hello,
first of all thank you for all the great work.
I've been working with slate-md-serializer last few days and I've came across something I find little strange. From my point of view markdown special characters should be escaped once used in the code block or code mark, yet the code here works exactly opposite.
https://github.com/tommoor/slate-md-serializer/blob/b58ccde277fd9bbf370ef7a3dec7de636a708aa7/src/renderer.js#L217
It resolves to true (meaning do escape) in case the leaf is not wrapped in code block and is not wrapped mark.
Am I right or am I missing something?
Thanks

You're correct, but it's purposefully like that – the boundaries of the code block itself is enough information to not have to escape all of the characters within it. Whereas a * character appearing in a sentence for example needs to be explicitly escaped so that it isn't considered a markdown emphasis.


Add NSProgress passed to progres block to another progress

Can somebody give an example of using an NSProgress object passed to a progress block in conjunction with a parent progress?
For example, I'm sending POST requests with code similar to this:
[sessionManager POST:path parameters:parameters progress:^(NSProgress *uploadProgress) {
    // ??
} success:successBlock failure:failureBlock]

As far as I understand, AFNetworking creates NSProgress objects without a parent:
https://github.com/AFNetworking/AFNetworking/blob/27652fe03ee23baabf9a271527c998508f98fdb5/AFNetworking/AFURLSessionManager.m#L135
https://github.com/AFNetworking/AFNetworking/blob/27652fe03ee23baabf9a271527c998508f98fdb5/AFNetworking/AFURLSessionManager.m#L138
but there is no API to add a progress as a child to another progress in iOS < 9.0, so how do you actually combine multiple progresses returned by AFNetworking under one parent progress?

I'm trying to do this in an alternative way but I'm having a little bit of trouble getting it to work.
My app is sending several HTTP requests in batch using AFHTTPSessionManager, and I'm trying to display the overall progress of these requests. There is class wrapping AFHTTPSessionManager that has a sendRequest: method that looks roughly like this:
- (AnyPromise *)sendRequest:(APIRequest *)request {
    __block NSProgress *progress = [NSProgress progressWithTotalUnitCount:1
                                                                   parent:[NSProgress currentProgress]
                                                         pendingUnitCount:0];

    return [AnyPromise promiseWithResolverBlock:^(PMKResolver resolve) {
        id progressBlock = nil;
        id successBlock = ^(NSURLSessionDataTask *task, id responseObject) {
            [self resolveResponse:responseObject withResolver:resolve];
            progress.completedUnitCount = 1;
        };
        id failureBlock = ^(NSURLSessionDataTask *task, NSError *error) {
            [self resolveError:error withResolver:resolve];
            progress.completedUnitCount = 1;
        };

        [self.sessionManager POST:request.path
                       parameters:request.parameters
                         progress:progressBlock
                          success:successBlock
                          failure:failureBlock];
    }];
}

As you may have noticed I'm using PromiseKit here but that should affect the matter as I disabled its handling of NSProgress so it won't interfere by creating its own progresses.
The parent progress object (the one I'm using for UI) is created like this:
NSProgress *fetchProgress = [NSProgress progressWithTotalUnitCount:1];
[fetchProgress becomeCurrentWithPendingUnitCount:1];

followed by multiple calls to my sendRequest: method above (those requests are later collapsed into a single promise with PMKWhen).
Problem:
For some odd reason, after the first requests is finished, completedUnitCount of the root progress is immediately set to 1 despite other child progresses being still not completed. I could observe this in the debugger console:
<NSProgress: 0x7f9819df76b0> : Parent: 0x0 / Fraction completed: 1.0000 / Completed: 1 of 1
  <NSProgress: 0x7f9819dede70> : Parent: 0x7f9819df76b0 / Fraction completed: 1.0000 / Completed: 1 of 1
  <NSProgress: 0x7f9819e0acc0> : Parent: 0x7f9819df76b0 / Fraction completed: 0.0000 / Completed: 0 of 1
  <NSProgress: 0x7f9819e0cf60> : Parent: 0x7f9819df76b0 / Fraction completed: 0.0000 / Completed: 0 of 1
  <NSProgress: 0x7f9819e77dd0> : Parent: 0x7f9819df76b0 / Fraction completed: 0.0000 / Completed: 0 of 1
  <NSProgress: 0x7f9819faf340> : Parent: 0x7f9819df76b0 / Fraction completed: 0.0000 / Completed: 0 of 1
  <NSProgress: 0x7f981c037330> : Parent: 0x7f9819df76b0 / Fraction completed: 0.0000 / Completed: 0 of 1
  <NSProgress: 0x7f9819faf950> : Parent: 0x7f9819df76b0 / Fraction completed: 0.0000 / Completed: 0 of 1
  <NSProgress: 0x7f9819e84db0> : Parent: 0x7f9819df76b0 / Fraction completed: 0.0000 / Completed: 0 of 1
  <NSProgress: 0x7f9819e10660> : Parent: 0x7f9819df76b0 / Fraction completed: 0.0000 / Completed: 0 of 1

and this is kind of puzzling me right now. I've never used NSProgress before, so I think I might be missing something.
Am I doing it wrong?


Saving EMA also saves online model?

It looks like if you call state_dict on the EMA model to save it, you get both the online_model as well as the ema_model weights. When saving to disk, this effectively doubles the size of the EMA file. Does the online_model need to be saved alongside the moving average weights?
In addition, when reconstructing and loading the EMA class with load_state_dict, the online_model weights (which points to a separate model outside of the EMA class) will be overwritten with what's saved in the EMA. This is probably fine if you always save and load both EMA and live weights at the same time, but may cause issues if somebody saves and loads the EMA class separately from the live model.
(For context, I'm looking at code using this repository from your muse-maskgit-pytorch repository. Maybe usage of EMA elsewhere expects the behavior I described?)

@Netruk44 oh hey Daniel! this is a very good point
do you want to try setting this to False and see if that solves your issue?

Thanks for addressing it! Unfortunately I'm not sure I can test this change for a while. I don't really have a use for this library currently, I only stumbled on it when I was checking out the muse-maskgit-pytorch repository, which was (and I assume still is) in early development and wasn't quite working yet. I haven't really looked at it since my training attempt, which is when I noticed and created this issue.
I can circle back around to training another muse model eventually so I can test this change out, but it probably won't be for a few weeks at least. I'm in the middle of training a different model, so my one and only GPU is occupied 😛.
Looking at the change, it seems like it'll do the trick. We could probably just call this issue closed, I can open another issue if I find another problem.

haha sounds good, yea just reopen once you end up trying it!


about the KL divergence

Hi, thanks for the awesome works!
I met a problem when caculating the KL divergence of molecular bond angles between training and testing sets. As I noticed that you caculated the KL divergence of the bond angles and dihedral angles with the test set. May I ask you to kindly provide the corresponding codes?

Thanks for your interest in our work. We uploaded evaluation/ring_angle_diheral.ipynb in our last update. It contained the codes about the calculation of KL divergence and the calculation of bond angles and dihedral angles. You can refer to that file and see whether it can solve your problem.

Thanks for your reply!
My confusion is, when caculating KL between P and Q, we always need two discrete probability distributions p_i and q_i. Now I have the dihedral angles, but how can I convert them into discrete probability distributions? As shown in the following, it seems that the scipy api only takes two discrete probability distributions as input.

We can discretize the continuous angle values into binned values, just like calculating the empirical distributions. For example, using one degree as the bin width can transfer the angle space into a discrete space with 180 classes.

Thanks very much！！！


Is react-native-webview broken for expo 51.x ?

Bug description:
Not able to render webview page.
Got blank page instead

To Reproduce:

npx create-expo-app@latest
cd dir
npm run reset-project
npx expo install react-native-webview
edit app/index.tsx
import { StyleSheet, Text, View } from "react-native";
import WebView from "react-native-webview";
const styles = StyleSheet.create({
  container: {
    // flex: 1,
    // height: 10,
    // marginTop: 10,
  },
});
export default function Index() {
  return (
    <View
      style={{
        flex: 1,
        justifyContent: "center",
        alignItems: "center",
      }}
    >

      <WebView style={styles.container} originWhitelist={["*"]} source={{ uri: 'https://reactnative.dev/' }} />
      <Text>Edit app/index.tsx to edit this screen.</Text>

    </View>
  );
}

npx expo run:ios
ios simulator render this

Expected behavior:

Screenshots/Videos:

Environment:

OS: mac
OS version: 14.6.1
react-native version: 0.74.5,   EXPO : 51.0.28
react-native-webview version: 13.8.6

it works after remove all the  component
import { StyleSheet, Text, View } from "react-native";
import WebView from "react-native-webview";
const styles = StyleSheet.create({
  container: {
  },
});
export default function Index() {
  return (

      <WebView
        source={{ uri: 'https://infinite.red' }}
        style={{ marginTop: 20 }}
      />

  );
}

Removing the parent component works, but it is not a workable situation. Even a single wrapping  causes the webview to be invisible. I think this ticket should be re-opened and investigated.


Update index.html

Signed-off-by: Aryan Srivastava<EMAIL_ADDRESS>

@mcollina sorry, what does igtm mean?

let's get this merged ;)

@mcollina beginner :)


Discover targets when building in users Copr repo

It's pretty cumbersome for users who are using their own Copr repositories to keep the list of chroots in sync with the target lists in the jobs.
This could be improved if the service could be configured to set the targets for jobs based on what chroots are enabled in the user provided Copr repo.
Something like:
jobs:
- job: copr_build
  trigger: release
  owner: "@cockpit"
  project: "cockpit-preview"
  targets: copr_chroots

Or going further: targets could become optional when a user provided Copr repo is used, with the default behaviour to get the list from the Copr repo.
(The example above uses the metadata-less config variant, which is not yet released.)

Is this what you meant, @martinpitt?

Or going further: targets could become optional when a user provided Copr repo is used

Right, that would be my intuition. Right now it is required, and thus one needs to keep the copr config and all 5 repos that use it in perfect sync.
I ran into this today in our releases, the first time that packit did these: https://github.com/cockpit-project/cockpit-ostree/runs/6386292898 ("Submit of the build failed: Only owners and admins may update their projects"). Apparently packit tried to reconfigure our copr for the build targets mentioned in packit.yaml, and failed because it is a "builder". It never asked for admin privs, and I wouldn't be that comfortable with handing them out to a bot.
I manually synced the copr's build targets with the list in packit.yaml, and then it worked. My main worry is how to maintain that in the future -- for each new fedora/c9s release we'd need to update all packit.yml files in lockstep and configure the COPR in the same way.
If possible, it'd be much nicer to just drop targets: for a custom COPR, and just let the creator of the COPR maintain the target list there.
Thank you!

Dropping it with the check for custom repository makes more sense and IMO might be easier to implement

Part of this was done in packit/packit#1694. I have a smallish issue with triggering the Copr build via /packit test

@mfocko:
I wanted to test this today on my forked project. I dropped the copr targets list and added an extra debug commit that diverts the COPR from the official cockpit one to my own one.
However, nothing at all happens with packit -- usually I get some packit job statuses on the tagged release commit, but I only see the upstream release (which worked). At the first attempt I got an automated comment from packit about configuring allowed github repos in COPR, which I did -- both in my martinpitt/test-fixes and the official cockpit one. Then I force-pushed and re-attempted the release, and silence. There was no issue filed, no job started, and https://dashboard.packit.dev/jobs does not have anything about martinpitt/cockpit-ostree either.
Is there some infrastructure outage, or something wrong with my packit.yaml that doesn't get reported anywhere?
Thank you!

https://github.com/martinpitt/cockpit-ostree/commit/c348b726062122996dfcc80bda88277689c37af9 was the last "test release" commit that I did on the same project, 4 months ago. That commit has rpm-build packit statuses. However, these may have been for the propose_downstream job, which I deleted now in my debug commit as this really isn't something for Fedora. So strictly speaking I did not see a copr_build github status back then either. But where are these logged, if not on https://dashboard.packit.dev/jobs ?

@martinpitt sorry about the trouble, I have a guess it's related to the deployment, I will check and fix it

@martinpitt it should be fixed already, @majamassarini rebuilt and imported image with the correct version of Packit :)

@mfocko : Niiice! I re-did the test release, and this time I see the workflow runs from copr/packit, the packit dashboard page, and the build in my COPR. That has the correct targets, so all is well now. So now, only the documentation needs to be updated.
Yay, now off to cleaning this up for our real projects :tada:
Thanks a lot! This really makes maintenance a lot easier on our side.


allow starting the workflow with existing read alignments (sorted BAM/CRAM files)

There are situations where users want to change e.g. featureCounts options, or bring in already prepared read alignments (sorted BAMs) so in such cases it would benefit to have the option to skip the HISAT2/STAR alignment step and proceed with the given alignments as "input" for the other steps in the pipeline.
I am aware this would involve skipping any steps that depend on the FASTQ files (which means not (re)generating the rse_tx object, and not including any fastqc metrics in colData etc.). However, there are ways to generate the rse_tx object from the BAM files (I can help with implementing that option)
It seems that the BIOCMap workflow was in part split into 2 nextflow scripts for a similar reason, if I am not mistaken. A similar interim/simpler solution might the way to address this request initially - create an alternate workflow besides main.nf that would work on BAM (or CRAM) files and run only the steps related to the read alignment data (featureCounts etc.), (with an option to built rse_tx from the provided alignment data).

I can help with most of the shell and R code necessary to implement this alternate workflow (as I already have some non-user-friendly scripts doing that), but I would need some help with the nextflow code/implementation.

BiocMAP was split at "the same point" mostly on the thought that GPUs (used for alignment) might not be available on the same machines where massive CPU/memory resources (used for post-alignment steps) was available. I'm a bit concerned that there are too many ways a user might want to partially run SPEAQeasy (e.g. run transcript quantification again but not alignment, only call variants, etc), and this would be only one specific solution (and unfortunately Nextflow doesn't support this type of partial-running functionality without modifying/adding a lot of code). That said, if starting from aligned files is a repeated use case you're seeing, I can help out.

Thank you Nick - perhaps the easiest approach at this point would be to help me put together a cut-down version of main.nf that can take as input the BAM files (different samples.manifest? or just point to a directory with the sorted BAM files?) and then run only the branches of the workflow that depend on those alignments (we could even add another input to be the colData needed to (re) build rse_gene and rse_exon I suppose).
I can take care of the R scripts there (like create_count_objects.R) to make them ignore the transcript assays if they are not available etc. but the nextflow part itself was the problem for me - my limited experience with nextflow (and time constraints) prevented me from attempting this by myself.


Response 403

Using the method 'getAccountById' I get the following error:
Response code is 403.
Can you guys help me please?

Seems like you've reached API Rate Limits https://www.instagram.com/developer/limits/


Closing a Dropdown from outside

Hola,
We need to close a dropdown when something happens in another component of the page. I've seen that Dropdown has a public method called close(), but actually I'd like to be able to close the Dropdown through props, and I'm missing something like isDroppedDown. Is close the supported way of achieving this, or am I missing something?
-Pablo

Hi! Well, this is not actually possible at the moment. It's true that there is an instance method to close the Dropdown but it is there for convenience and just internal usage. If you want to use it anyway you can access the decorated component instance or to use findDOMNode and call the method but the best is to create a new property. So here is the thing:
The Dropdown is a component that most people would use without the need of keeping the active state out of it. For this reason I think it's convenient to keep the behavior in an internal state but it should be possible to keep it out as well. The most immediate solution coming to my mind is to add an active property synchronizing the state. Still you need to know out of the component when the state changes so also we should add a function property like onActiveChange. This way it would be possible to choose between delegating state control or implement it outside.
What do you think? Should be just extract the state?

Closed in favor of #1169. We are going to sync an active prop with the internal state so you can pass your custom and close the dropdown from outside


Can't activate module. Max system version of 4, but my version is 4.0.0

As the title says. I can't activate the module because it says system versions don't match, but they should be equivalent?

fixed in https://github.com/geoidesic/foundryvtt-actor-studio/releases/tag/1.5.2


Sync link with file on client system

Let us imagine we have SyncTextFile that can be changed in deep. We want to sync its changes to our file-system and sync changes of the client file to deep

Duplicate of https://github.com/deep-foundation/deep-packages/issues/31


Offer SQL formatting

SQL code will be formatted on page load, and can additionally be formatted by clicking the "Format SQL" button. Closes #136

This is a really nice implementation. I particularly like how you have the button as hidden until JavaScript runs and makes it visible.
https://github.com/simonw/datasette/pull/592/files#diff-0932659dded7aa3ce2d4c7badb187a9cR6-R8


snapToAlignment and snapToInterval don't seem to do anything

Issue Description
When trying to implement a ScrollView on iOS where childrens' widths are smaller than the parent, the paginated scrolling does not seem to work.
Steps to Reproduce / Code Snippets
import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View,
  ScrollView,
  Dimensions
} from 'react-native';

const styles = StyleSheet.create({
	slide: {
		margin: 10,
		backgroundColor: '#eee'
	}
});

class App extends Component {

  render() {

	const { width, height } = Dimensions.get('window');
	const smallerWidth = parseInt(width * .75, 10);

	return (
		<ScrollView
			horizontal
			pagingEnabled
			showsHorizontalScrollIndicator={false}
			snapToAlignment={'center'}
			snapToInterval={smallerWidth}
		>
			<View style={[styles.slide, { width: smallerWidth }]}><Text>One</Text></View>
			<View style={[styles.slide, { width: smallerWidth }]}><Text>Two</Text></View>
			<View style={[styles.slide, { width: smallerWidth }]}><Text>Three</Text></View>
			<View style={[styles.slide, { width: smallerWidth }]}><Text>Four</Text></View>
			<View style={[styles.slide, { width: smallerWidth }]}><Text>Five</Text></View>
			<View style={[styles.slide, { width: smallerWidth }]}><Text>Six</Text></View>
		</ScrollView>
	);

  }

}

AppRegistry.registerComponent('App', () => App);

Expected Results
The children should snap to proper length with smaller width when scrolling?
Additional Information

React Native version: 0.34.1
Platform(s) (iOS, Android, or both?): iOS
Operating System (macOS, Linux, or Windows?): macOS

it is not work on Android, on IOS only)

@antoxi4 that's why I said iOS in Additional Information

@ivanakimov if you want what ScrollView will work like ViewPagerAndroid use this code
<ScrollView
 style={{ width: screenWidth }}}
 horizontal={true}
 onMomentumScrollEnd={this.handleHorizontalScroll}
 pagingEnabled={true}
 scrollsToTop={false}
 scrollEventThrottle={100}
 automaticallyAdjustContentInsets={false}
 directionalLockEnabled={true}
 showsHorizontalScrollIndicator={false}
 showsVerticalScrollIndicator={false}
 >
  <View style={[styles.slide, { width: screenWidth }]}><Text>One</Text></View>
  <View style={[styles.slide, { width: screenWidth }]}><Text>Two</Text></View>
  <View style={[styles.slide, { width: screenWidth }]}><Text>Three</Text></View>
  <View style={[styles.slide, { width: screenWidth }]}><Text>Four</Text></View>
  <View style={[styles.slide, { width: screenWidth }]}><Text>Five</Text></View>
  <View style={[styles.slide, { width: screenWidth }]}><Text>Six</Text></View>
</ScrollView>

@antoxi4 I'm not exactly sure what that would give... How would that help? This is what it looks like:

@ivanakimov Heh)) ScrollView width must be the same as that of the inner View.

I think it's a bug somewhere in RN. I'm still hoping I did something wrong, as the basic example I gave above should work. I'm going over the docs to see if I've misread something, but in the meantime would be nice if someone from the core would comment.

@ivanakimov  I gave you a working example of my code. I can do a quick clean example for You)

@antoxi4 Thank you for the example. Perhaps I'm missing something. If you've got the solution for a centered 75% slide (where the other 2 slides are showing a little bit on the sides), I'd love to see your clean example!

@ivanakimov Keep the code) https://github.com/antoxi4/ScrollViewAlign

This is perfect @antoxi4, thank you :)

@ivanakimov i made some fixes.)) Enjoy)

@antoxi4 I'm guessing there is no way to restrict it to scroll to only the next slide if you scroll hard enough? (most of the time it scrolls 2 or 3 slides...)

@ivanakimov you can set decelerationRate={'fast'} it will be srolled better)

Welp, you're full of answers @antoxi4. Many thanks, all works as expected!


Is there a limit on the size of each data source being backed up

Maximum size of Data Source which can be backed up in Windows Server 2008 R2 / Windows 7 is mentioned as 1700 GB as of August 2015. Is this limit for Windows Server 2008 R2 operating system still valid?

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

ID: efe1b860-8d24-1742-4f20-c3e75cacbba3
Version Independent ID: 2ac226c0-df97-f729-fe09-3d51d61b9083
Content: Azure Backup FAQ | Microsoft Docs
Content Source: articles/backup/backup-azure-backup-faq.md
Service: backup
GitHub Login: @markgalioto
Microsoft Alias: markgal;arunak;trinadhk;sogup;

@KumaresanLakshmanan Thank you for the valuable feedback,we are investigating the issue.

@KumaresanLakshmanan the article of reference can be found here , I will assign it to the author to see if there were any updates for the 1700 GB for Server 2008 R2.

@KumaresanLakshmanan , Thank you for your question. On Windows Server 2008 R2/Windows 7, the maximum size data source that can be backed up, is 1700 GB.

#please-close


Authorize GitHub App permission error

Before opening, please confirm:

[ ] I have checked to see if my question is addressed in the FAQ.
[ ] I have searched for duplicate or closed issues.
[ ] I have read the guide for submitting bug reports.
[ ] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d1sj4cr45c2t8p
Region
us-east-1
Amplify Hosting feature
No response
Describe the bug
Got an error when i try to Migrate to Amplify GitHub App.
Error message : "We do not have permission to access this repository. Please update your permissions and try again."
Github permissions looks correctly set for the repo.
I tried to delete the deploy keys and webhooks but it's not working. And now i can't deploy anymore with the previous OAuth access. So I'm stuck.
Expected behavior
When i click on reconnect the repo, i can migrate to Amplify Github App. The permissions are enough to create deploy keys and webhooks and i can re-connect my repo and deploy my app.
Reproduction steps

Click on the "Start migration" button.
Error shown

Click on the "update repository permissions"

All permissions are set for the repo. Can't go further.

Build Settings
No response
Additional information
No response

Hi @hloriana no it's not.

experiencing the same error on us-west-1, I changed the repo name after connecting it, uninstalled, and reconnected my repo again, at the "App settings: General" it still shows with the old URL even after uninstalling the app and reinstalling with max permissions, not sure if related.
the prod build fails with "There was an issue connecting to your repo provider, click "Reconnect repository" in General Settings, and then try your build again." when I follow the advice I encounter the same error as reported.
I do use GitHub organization and the permissions are set on it.

hi @hloriana. Any updates ?

@spazou @ilia-luk if the source repository link is different from what is shown in app -> settings -> general -> source repository url please follow these steps:

Update the repository url via the cli by running this command: aws amplify update-app --app-id --repository-id <value> —access-token <value>
Reconnect repository should be successful

Hi @hloriana I'm having the same issue. But I'm having trouble running your command. I found the app-id but where can I get the value for --repository-id and --access-token?  And is it actually --access-token and not -access-token ?
I get the error Unknown options: --repository-id no matter what I put as the value.

Having the same problem, no matter what I do I can't reconnect the repository and it won't trigger any builds.
Are there any updates on this issue? Kind of a breaking bug if I can't deploy any of my apps...

I had to delete the app and recreate it again in order to avoid the problem 🤷 And yes this resulted in significant downtime.

Any updates on this?
Having same problem, have same questions with repository id and access token.

the way I solved this was to delete the branches (essentially deleting front end hosting app) and creating a new one, then it recreates with proper github url and still connects to existing back end environment

Solved this by manually deleting the connected branch from the previous repo. Then I was able to see the new authorized repo with its branches.

Hello, similar problem here.
I get that message : There was an issue connecting to your repo provider, click "Reconnect repository" in General Settings, and then try your build again.

Connected another branch, it worked and but started to have the same problem when rebuild.

Hello, same issue here. The problem occured after the connected GitHub repo was transfered to an organisation account.

Just a quick follow up : we build our app everyday at midnight and the day after we had the problem, it started working again. It kind of got fixed without any changes by us. So the problem lasted a 1 day overall.

I got this to work with the following command, and it successfully reconnected (using the aws cli help commands was helpful):
aws amplify update-app --app-id <app id from amplify> --repository <url eg-https://github.com/MY_ORG/MY_REPO --access-token <GITHUB_PERSONAL_ACCESS_TOKEN>
The Github token can be created at https://github.com/settings/tokens (I gave it all permissions temporarily whilst I ran the command and then revoked the token)

Just bringing this issue up again,
We lost connection to our repository when moving it to our organization.
I have tried using @samputer's solution above but keep getting the following error:
Error parsing parameter '--repository': Unable to retrieve https://github.com/**********/**********.git: received non 200 status code of 301
Any assistance here will be helpful.

I managed to fix this, here is what I did and what I was doing wrong:
Using this command is correct: aws amplify update-app --app-id <app id from amplify> --repository <url eg-https://github.com/MY_ORG/MY_REPO --access-token <GITHUB_PERSONAL_ACCESS_TOKEN>
However: it only worked for me after doing the following:

In aws I disconnected all the branches.
I needed to active fine grained personl access tokens in GitHub, and then create a new one for my personal account.
I used the ssh repo link rather than this URL.

So my final command was:
aws amplify update-app --app-id d2bb --repository git@github.com:/App.git --access-token github_pat_11A******************************************H7
Then in the console I am able to reconnect my branches.

Any other solutions to this? I did exactly what @jessedanielsmart recommended and while it did show the reflected and updated repository url, I still get this same exact error.

I had some success by doing basically the following:

Uninstalled the Amplify integration app from my Github organization

Created a second Amplify application and pointed it at the same repo as my original Amplify app.

Since I uninstalled the GitHub App, Amplify will now reauthorize and install it again.
You'll get a notice about the repo already being in use, but you can ignore it- this won't impact any of your existing resources.

Switched to the original app and verified that the Github connection has been restored

Deleted the second Amplify app

In my GitHub repo settings, removed the webhook that the SECOND app created. If for some reason you don't have the webhook for your original Amplify app in there, you can probably get by reusing the new web hook if you update the app_id in the query string.

I managed to fix this, here is what I did and what I was doing wrong:
Using this command is correct: aws amplify update-app --app-id <app id from amplify> --repository <url eg-https://github.com/MY_ORG/MY_REPO --access-token <GITHUB_PERSONAL_ACCESS_TOKEN>
However: it only worked for me after doing the following:

In aws I disconnected all the branches.
I needed to active fine grained personl access tokens in GitHub, and then create a new one for my personal account.
I used the ssh repo link rather than this URL.

So my final command was: aws amplify update-app --app-id d2bb --repository git@github.com:/App.git --access-token github_pat_11A******************************************H7
Then in the console I am able to reconnect my branches.

Thanks million .. 😃
it works for me

Confirming I ran into this issue and updating the Amplify app using CLI command with a Token as authentication worked (at least for now) -- will see if still working in a week

same issue, Failed to fetch repositories from GitHub after authorization

Hello, same here I have an issue to migrate to Github App:
-GitHub authorization is successful

Then there the is the complete installation and when I click, it always fails with:

There was an issue setting up your repository. Please try again later.({"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/repos/webhooks#list-repository-webhooks","status":"403"})

had to use the CLI as well. it worked for me. seems to be an issue they arent prioritizing


Added 'extend_existing' to Sqla Table object

Description
What is the current behavior?
Quite often this test group fails to run in the CI:
nox -s "test-3.8(airflow='2.3')" -- --splits 12 --group 1 --cov=src --cov-report=xml --cov-branch
With:
=========================== short test summary info ============================
FAILED tests/test_example_dags.py::test_example_dag[example_snowflake_partial_table_with_append]
==== 1 failed, 29 passed, 329 deselected, 22 warnings in 294.40s (0:04:54) =====
Even if there were no changes that affected this test/our code-base, for instance:
https://github.com/astronomer/astro-sdk/pull/480
https://github.com/astronomer/astro-sdk/runs/7231300739
closes: #516
What is the new behavior?
The issue was with SQLA's reflection cache which keeps track of the tables created and maintains all the tables in a map
schema_columns[self.normalize_name(table_name)]. When this test was individually run there are no issues on local since SQLA cache is just initialized just for this test and because of which this was an intermittent issue CI. The fix is to introduce a parameter extend_existing which basically ensures the cache is not used.
Ran test multiple time to ensure this is working:
https://github.com/astronomer/astro-sdk/actions/runs/2832783413
Does this introduce a breaking change?
Nope

@utkarsharma2 isn't the root cause of the issue the fact that concurrent tests are trying to create a table with the same name (home and homes2)?
https://github.com/astronomer/astro-sdk/blob/367f94b3cbcfd48a3a1f8ce84c13fe5fcd41e08d/example_dags/example_snowflake_partial_table_with_append.py#L88
Wouldn't it be better to change the example DAG to create tables with unique names?


Create Folder With Space(s) At End Of Name

The following command creates a folder with spaces at the end of the name which is not allowed following https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions.
mkdir "c:\temp\abcde  "
The new folder can not so easily be removed. The shortname may be of help (if available on the partition). Even trying to remove the parent folder fails!
rmdir "c:\temp\abcde  "
does the job.
Looks like there is a bug in the parsing algorithm.
Regards
Reinhold

@reinhold1, did you run the mkdir "c:\temp\abcde " command in a Git Bash window? In that case, msys-2.0.dll bypasses the Win32 CreateFileW function and instead calls the Native API NtCreateFile function with \??\C:\temp\abcde , so the Win32 parsing algorithm is not involved.

No, I did not use a special window. Originally it was a buggy piece of ObjectRexx code:
...
out_dir_2 = out_dir || jahr'-'monat || ''
'mkdir "'out_dir_2'"'
...
where by a result of a typo 'jahr' and 'monat' contained two spaces. The variable 'outdir' contained 'c:\users\Reinhold\documents'. Thus the command
'mkdir "c:\users\Reinhold\documents\  -  "'
was handed over to Windows.
You can easily reproduce the problem when you enter the following command in a normal Windows command window:
mkdir "c:\temp\abc  "
This will create a folder where the name ends with two spaces.
Regards
Reinhold

Can't reproduce with cmd.exe on Windows 10 Version 1909 (OS Build 18363.185).

Hi!
I am running several Windows 10 systems and I can reproduce the behavior on each system. The following test ran on an Windows 10 Home, 1909, 18363.778:
C:\temp>mkdir "abcdefghijklm  "
C:\temp>dir
Datenträger in Laufwerk C: ist Windows
Volumeseriennummer: 7ED3-113E
Verzeichnis von C:\temp
15.05.2020  08:47              .
15.05.2020  08:47              ..
15.05.2020  08:47              abcdefghijklm
0 Datei(en),              0 Bytes
3 Verzeichnis(se), 23.821.266.944 Bytes frei
C:\temp>rmdir "abcdefghijklm  "
Das System kann die angegebene Datei nicht finden.
C:\temp>rmdir "abcdefghijklm  "
C:\temp>dir
Datenträger in Laufwerk C: ist Windows
Volumeseriennummer: 7ED3-113E
Verzeichnis von C:\temp
15.05.2020  08:47              .
15.05.2020  08:47              ..
0 Datei(en),              0 Bytes
2 Verzeichnis(se), 23.822.626.816 Bytes frei
C:\temp>
Regards
Reinhold

Ah! The backslash got removed in my append!
mkdir "abcdefghijk  "
Before the second " a backslash is necessary. The backslash does the job!

Ah, so the command mkdir "abcdefghijk \" creates a directory named "abcdefghijk " with a trailing space.
So does mkdir "abcdefghijk :$I30:$INDEX_ALLOCATION", using the directory stream name from [MS-FSCC]: NTFS Streams.
In the Naming Files, Paths, and Namespaces - Win32 apps documentation, the only mention of spaces is this:

Do not end a file or directory name with a space or a period. Although the underlying file system may support such names, the Windows shell and user interface does not. However, it is acceptable to specify a period as the first character of a name. For example, ".temp".

That seems correct to me. It does not promise that Win32 would delete trailing spaces from each path component.

Hi!
But trailing spaces are not allowed (following the link in my first append).

Anyhow, it was an interesting riddle for me.
Have a nice day!
Reinhold


Docker method throws error

I followed the instructions on README.md for Docker exactly yet when I ran docker-compose up -d I just got the following error.
ERROR: The Compose file is invalid because:
Service revcord has neither an image nor a build context specified. At least one must be provided.

Should be fixed in 23d8d8a991b2043f0a082cf0bd525ec3310aacaf
Although this issue never occurred for me in Docker Compose version v2.6.1. If it still doesn't work, try using this version.

Seems to work now so I will close this issue


fix: using an existing issuance on a unit is not working. The issuance is deleted from the project it was created on. Also, the issuance is not saved on the unit after the changes are committed.

Issuances are not supposed to be save on a unit until after committed.
Should have fixed the "issuance was removed from project" error though


surplus arm64-v8a in build.sh.

Start building.
ANDROID_PLATFORM=android-16
archs="armeabi armeabi-v7a x86 arm64-v8a"
for arch in $archs ; do
TARGET_ARCH_ABI=$arch
build
done
ANDROID_PLATFORM=android-21
archs="arm64-v8a"
for arch in $archs ; do
TARGET_ARCH_ABI=$arch
build
done

Fixed with 2c37d13940c555abb7eb9932a5ab428a99ff6db4


Create a browse page.

I will focus on this one. Will let you know @dkarnati1 if I encounter an issue.

Completed


Does capo support fixed ip？

In my case, pod may often be recreated and scheduled to the same node.
So I think if this pod uses the ip before recreated, there maybe smaller impact.
Does capo currently support or plan to fixed ip?

This is a first good issue!
In my scenario, as long as the IP addresses do not exchange, the Redis cluster can be successfully repaired by the Redis Operator, and the cluster topology will be restored to normal. The Lettuce client can reconnect successfully after dynamically refreshing the cluster topology. Therefore, we have only implemented the first step, which is to prevent IP exchange when a large number of Pods are recreated.
However, IP reservation also has its drawbacks, for example, it can waste IP addresses and additional IP addresses may be required to handle the above scenario. Fixed IP addresses are also an exploratory solution. However, once IP addresses are fixed, if Pods migrate between different nodes, the number of IP routes will increase significantly, which may put pressure on routers and result in blackhole routing problems. For more details, please refer to the README of this repository.
Fortunately, blackhole routing can also be disabled. There are still many things to do to achieve fixed IP addresses, but this is already in our plan. You are welcome to discuss it together or submit a first PR.


window.intlTelInput is not a function in angular 8 after prod build

Can you check you have intl-tel-input package installed and also added in the angular.json

I have tha same issus, i have already install intl-tel-input and imported it into angular.json
but when i ran ng test i have error window.intlTelInput is not fonction

any fixes regarding this issue ?

any fixes regarding this issue ?
Facing same issue working perfect locally but as soon as i make build throws window.intlTelInput is not a function
I am also using custom webpack to make build


I can't make any requests, I get this error

Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Ig (file:///opt/Insomnia/resources/app.asar/bundle.js:206438:46)
    at Object.enqueueSetState (file:///opt/Insomnia/resources/app.asar/bundle.js:206340:237)
    at ResponseTimer.module.exports.F.setState (file:///opt/Insomnia/resources/app.asar/bundle.js:206188:369)
    at ResponseTimer._handleUpdateElapsedTime (file:///opt/Insomnia/resources/app.asar/bundle.js:123912:10)
    at ResponseTimer.componentDidUpdate (file:///opt/Insomnia/resources/app.asar/bundle.js:123931:10)
    at Ji (file:///opt/Insomnia/resources/app.asar/bundle.js:206420:231)
    at Sj (file:///opt/Insomnia/resources/app.asar/bundle.js:206463:229)
    at module.exports.exports.unstable_runWithPriority (file:///opt/Insomnia/resources/app.asar/bundle.js:206538:467)
    at cg (file:///opt/Insomnia/resources/app.asar/bundle.js:206330:325)
    at Jj (file:///opt/Insomnia/resources/app.asar/bundle.js:206456:370)

Expected behavior
I wait for the response from the route, tested it with other applications and it worked
Desktop (please complete the following information):

OS: Debian 10 Buster
Installation Method: Snap
App Version: 2021.3.0

With the information above it's hard to say what we do next.  Do you have any ideas on how we might reproduce this?

I have no idea how to reproduce the same error, I didn't change any settings, I was just making the requests.
On the same day I saw that my application was out of date, and I upgraded to version 2021.4.0 and the error no longer occurred.

now THERE is something I can relate to. haha.  I totally understand.  If you find this happening again or something changes please don't hesitate to ping us again.  We're here.


Update documentation "3.2.8" -> "3.2.9"

Changed: "3.2.8" to "3.2.9" in the examples, because the older version had bugs in it.

Removed: Original author pronoun, because this information is not known.

Added: Link to target project official "nicotine-plus" repo and use proper "Nicotine+" project title.

Thank you for the corrections.


Add Cursor Effects #16

Add Cursor Effect

Hey could you fix the cursor motion, it just appears to be working on the main slideshow section and not on other sections of the page, perhaps you could check the deployment of the changes to notice it. Also about and contributors secction lost their colors.

Would like to Accept PR asap hence please Tag me once you complete changes

Thanks for your Amazing Contribution this October! Added Your Contribution to the Contribution Trophy of the Month, you can Check that out here! @Adityageek


Schedule editor icons need to be more distinct

From @flynnliz
The various “person” icons are confusing. It’s hard to know at a glance in the grid which conflicts are “person who must be present” and which are “chair conflict,” and it’s even more confusing that in the session request data box on the bottom right, the “requested by” icon is the same as the chair conflict. Can these three be more distinct from each other?

The “technology overlap” chain icon shows up really faintly and it’s very tiny, so it’s easy to miss. Same with the “key participant overlap” key icon — those two are really difficult to distinguish from each other when they are so small. Can these be made larger or even just changed to something that takes up more vertical space so they’re easier to distinguish?

https://icons.getbootstrap.com/ has all the icon choices. Of course we could pull in another icon library, but that seems like overkill. Would colors help, @flynnliz?

Thanks for the link to the icon library, @larseggert ! I don't think colors would help, since the agenda editor already changes the colors for certain conflicts in the grid.
I've chosen some new icons that I think will be a little more visually distinct from each other. Can these be changed?
"Persons who must be present" : people-fill
"Session requested by" : person-circle (no change)
"Chair conflict" : circle-fill
"Technology overlap" : link-45deg
"Key Participant Conflict" : star

@flynnliz like this?


[Bug] trackBy-function error appearing on random lines

Bug Report

TSLint version: ^5.10.0
TypeScript version: 2.9.2
Running TSLint via: (pick one) CLI / Node.js API / VSCode / grunt-tslint / Atom / Visual Studio / etc

TypeScript code being linted
Bold areas are where the red is highlighting
Example 1
import { fromAuth } from<EMAIL_ADDRESS>import { authActions } from<EMAIL_ADDRESS>Example 2
*- method and passes the user entered pin **via an event
*/
@Component({
selector: 'app-**pin-shuffle',
templateUrl: ...
with tslint.json configuration:
{
    "rulesDirectory": [
        "node_modules/codelyzer",
        "node_modules/rxjs-tslint-rules/dist/rules"
    ],
    "rules": {
        "arrow-return-shorthand": true,
        "callable-types": true,
        "class-name": true,
        "comment-format": [
            true,
            "check-space"
        ],
        "component-class-suffix": true,
        "component-selector": [
            true,
            "element",
            "app",
            "kebab-case"
        ],
        "contextual-life-cycle": true,
        "curly": true,
        "decorator-not-allowed": true,
        "directive-class-suffix": true,
        "directive-selector": [
            true,
            "attribute",
            "app",
            "camelCase"
        ],
        "eofline": true,
        "forin": true,
        "import-blacklist": [
            true,
            "rxjs/Rx"
        ],
        "import-spacing": true,
        "indent": [
            true,
            "spaces"
        ],
        "interface-over-type-literal": true,
        "jsdoc-format": [
            true,
            "check-multiline-start"
        ],
        "label-position": true,
        "max-line-length": [
            true,
            {
                "limit": 140,
                "ignore-pattern": "^import {(.*?)}"
            }
        ],
        "member-access": false,
        "member-ordering": [
            true,
            {
                "order": [
                    "static-field",
                    "instance-field",
                    "static-method",
                    "instance-method"
                ]
            }
        ],
        "no-arg": true,
        "no-bitwise": true,
        "no-console": [
            true,
            "debug",
            "info",
            "time",
            "timeEnd",
            "trace"
        ],
        "no-construct": true,
        "no-debugger": true,
        "no-duplicate-super": true,
        "no-empty": false,
        "no-eval": true,
        "no-inferrable-types": [
            true,
            "ignore-params"
        ],
        "no-input-rename": true,
        "no-irregular-whitespace": true,
        "no-misused-new": true,
        "no-non-null-assertion": true,
        "no-output-on-prefix": true,
        "no-output-rename": true,
        "no-shadowed-variable": true,
        "no-string-literal": false,
        "no-string-throw": true,
        "no-switch-case-fall-through": true,
        "no-trailing-whitespace": true,
        "no-unnecessary-initializer": true,
        "no-unused-expression": true,
        "no-use-before-declare": true,
        "no-var-keyword": true,
        "object-literal-sort-keys": false,
        "one-line": [
            true,
            "check-open-brace",
            "check-catch",
            "check-else",
            "check-whitespace"
        ],
        "pipe-impure": true,
        "prefer-const": true,
        "quotemark": [
            true,
            "single"
        ],
        "radix": true,
        "rxjs-no-unsafe-takeuntil": true,
        "rxjs-no-unsafe-catch": true,
        "rxjs-no-unsafe-switchmap": {
            "options": [{
                "disallow": ["add", "create", "delete", "post", "put", "remove", "set", "update"],
                "observable": "action(s|\\$)?"
            }],
            "severity": "error"
        },
        "semicolon": [
            true,
            "always"
        ],
        "trackBy-function": true,
        "triple-equals": [
            true,
            "allow-null-check"
        ],
        "typedef-whitespace": [
            true,
            {
                "call-signature": "nospace",
                "index-signature": "nospace",
                "parameter": "nospace",
                "property-declaration": "nospace",
                "variable-declaration": "nospace"
            }
        ],
        "unified-signatures": true,
        "use-host-property-decorator": true,
        "use-input-property-decorator": true,
        "use-life-cycle-interface": true,
        "use-output-property-decorator": true,
        "use-pipe-transform-interface": true,
        "variable-name": [
            true,
            "check-format",
            "allow-leading-underscore"
        ],
        "whitespace": [
            true,
            "check-branch",
            "check-decl",
            "check-operator",
            "check-separator",
            "check-type"
        ]
    }
}

Actual behavior
Error appearing: [tslint] Missing trackBy function in ngFor directive
Is being thrown on random files, I cannot really see any reason why.
Expected behavior
There should be no errors.

Hi @michael-letcher, can you confirm if this issue exists when running tslint from the CLI? I sometimes see this issue in VSCode when it gets super slow.

@johnwiseheart This does not appear via command line. I'm running a few instances of VSCode but it is not slow in anyway and seems to be running just fine.
Is there a way to see logs of why tslint applies an error rule to a line/s of code via the debugger?

@johnwiseheart Any update on this issue? I've another coworker who's run into the same issue.

When I have seen this its generally an issue of VSCode not getting the results of the lint back fast enough, so when you change lines around quickly, lint errors can sometimes stick to the wrong line (temporarily) until everything has finished. I'm not sure if theres a great way to see why tslint applies error rules without doing some code debugging which you could do if you like. I'd be interested to know if you can replicate this issue with less rules - in which case it may well be a bug in a certain rule.

Whatever the issue was, it seems to be gone now.

I can still get it. And this is running in sourcetree. I use lint-staged, but .html file is not staged, and it still gets it.


Training set size

Hi! Do you have a list of the number of training corpora used in each model?

Not consistently. New models would have information about training data in the readme files distributed together with the model.


Request::getUri() returns parameters in wrong order

Laravel Version: 6.5
PHP Version: 7.3
Database Driver & Version:

Description:
Request::getUri() returns parameters in wrong order. This maybe because $request->getQueryString() also returns URL parameters in wrong order.
Original URL:
https://test.app/p/exit?id=00000000-0000-0000-0000-000000000000&s=c&hash=952f21e5f3a5f9338191b8f0028af89307f8bfb382bc560d8914dea83da63f3385bf4ce3c15f892dd07b5cd1fa0658fe0b51af8d22e2f59581b664

getUri() returns parameters in wrong order:
https://test.app/p/exit?hash=952f21e5f3a5f9338191b8f0028af89307f8bfb382bc560d8914dea83da63f3385bf4ce3c15f892dd07b5cd1fa0658fe0b51af8d22e2f59581b664&id=00000000-0000-0000-0000-000000000000&s=c

getQueryString() also return parameters in wrong order:
hash=952f21e5f3a5f9338191b8f0028af89307f8bfb382bc560d8914dea83da63f3385bf4ce3c15f892dd07b5cd1fa0658fe0b51af8d22e2f59581b664&id=00000000-0000-0000-0000-000000000000&s=c

Steps To Reproduce:
Pass some random params to any route and view output of $request->getUri()

The only work around is to use the following:
$paramsInRightOrder = $request->getSchemeAndHttpHost() . $request->getRequestUri();

What is you use-case?

Basically we need to rely on partner generated URLs that are secured with hash to prevent tampering. The hash value is computed from all the other parameters in correct order and appended at the end of the URL.

If you need this, you need to take it up with Symfony, where getQueryString is actually defined => \Symfony\Component\HttpFoundation\Request::getQueryString
I doubt however something will change, see the method \Symfony\Component\HttpFoundation\Request::normalizeQueryString from therein:
        parse_str($qs, $qs);
        ksort($qs);

They you have your answer already.
TL;DR: if you want to rely on URL as a cash key, normalize it first. You could even call normalizeQueryString directly, it's public

I'm afraid @mfn is right and that this either needs to be taken up with Symfony. In general the order of query string parameters shouldn't matter.
You can btw make use of signed urls for your use case: https://laravel.com/docs/6.x/urls#signed-urls


Move from FlatList to FlashList

Is your feature request related to a problem? Please describe.
To improve performance
Describe the solution you'd like
Use FlashList instead of the default FlatList

From what I know, the team already tried to use FlashList, but after some optimizations on FlatList, the performance is similar. And because FlatList is more stable, we won't do the migration for now.

Thank you!

As @mateki0 said, we've tried FlashList and - at least for now - it didn't helped at all. We will be looking at this library and may try again in the future


No solutions for some  challenges :  English / data-structures

Describe your problem and how to reproduce it:
Hello so i was checking some challenges and i found some without solutions ,
Located in english/08-coding-interview-prep/data-structures/
Add a Link to the page with the problem:
https://github.com/freeCodeCamp/freeCodeCamp/tree/master/curriculum/challenges/english/08-coding-interview-prep/data-structures
Tell us about your browser and operating system:

Browser Name:  Mozilla
Browser Version: Mozilla quantum
Operating System: windows 8

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

i would like to start working on them now :
create-a-hash-table.english.md
check-if-an-element-is-present-in-a-binary-search-tree.english.md
create-a-doubly-linked-list.english.md
invert-a-binary-tree.english.md
add-elements-at-a-specific-index-in-a-linked-list.english.md
i would be more than happy to contribute thanks

add-elements-at-a-specific-index-in-a-linked-list.english.md => DONE
check-if-an-element-is-present-in-a-binary-search-tree.english.md => DONE
going to finish the others and create on PR for all of them what do you think about that @RandellDawson

same thing with most of  challenges in arabic , do you want me to create a new issue for this i want to work on the maximum of them , moving existed solution in english to other challenges in arabic , and also translate

Hi


Add support for freebsd/arm64

Update vendor/golang.org/x/sys to 33540a1f6037 which brings in necessary freebsd/arm64 bits.

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


How can I change directory?

So I got a session open right now and when I type "dir" it shows me the directory, If I try to change it using something like cd C:\ or cd C:\ or cd .. it stays the same, how do I move around? So that I can upload/download files to and from different paths
I guess I can download from different paths still, but I can't upload wherever I want
Please reply ASAP!
-Thanks!

Hello!
You can use dir or tree command to list folders and files in paths.
And to download and upload it is necessary that you inform the full path of the file.
Example:
You can run this command to get the partitions name:
powershell.exe get-psdrive -psprovider filesystem
dir C:\Users\username
tree C:\Users\username
Screenshot

that doesnt answer my question
I want to CHANGE directory, dir and tree list what's in the directory, if i want to upload a file, I specify the full path from my end and it gets uploaded to wherever directory the payload is opened
the question is how do i CHANGE directory, so for example do cd C:\ and after I do dir it should show all the files in the C:\ directory (cause I would have changed the dir), again dir and tree don't change it

I did the test here and it's working properly.
Remembering that you need administrative permissions to write in C:\Windows
Then run the executable generated as an administrator.
Follow a screenshot of the test:

I believe then this issue has been solved, i'll close it.


openfl-next compilation fix

More information on https://github.com/fbricker/haxe-ga/issues/13

ehhh...

openfl-next is not working, we need to use openfl_next define, with underscore symbol. Anyway, I've closed the PR because it seems like the right solution is coming from here https://github.com/SharkPunch/haxe-ga/commit/e3dd61170ed8b5e59dced54eb34c4fe5f032acb0

Hi, thanks for the tip. I'll try to provide a solution for both cases using this solution :)

Hi, I've just taken this patch and added to haxe-ga. It's already on haxe-lib (haxe-ga version 0.5.0), so now haxe-ga it's compatible with both (openfl-legacy and openfl-next). Thanks!

Great! Thank you!


Linking reference to File API

I think this makes it a bit easier to know what you mean.

thanks!


about Add PROT token #6663

Hi, sfsy520 : )
Very thank you for your kindness.
We confirmed registration of our PROT info in imtoken App.
However, we found out a problem.
We can search our token by input contract address, but token name and symbol is impossible. Also, token image is not visible..
Could you please check it once?
have a nice day! :-)
Token address is 0x734bDFC240F03dF761FF012fA78Eb2e2e07515E9
have a nice day!

Hi brand1313, please check you json format and resubmit new PR.

Hi brand1313, please check you json format and resubmit new PR.


FIX Make deprecation enabled check faster

The dev environment check in CMS 4 is slow, since it checks the session before checking environment variables. We should skip that outright if deprecations are explicitly disabled.
Issue

https://github.com/silverstripe/silverstripe-admin/issues/1622

This has two approvals, I'm gonna merge.


Simplify code ids

They were initially simple, based on component count.
Because of microlayouts, they were based on random ids.
Microlayouts are refactor so ids can probably be based on component count again.
We might be able to reuse previous implementation

Closed in https://github.com/IBM/carbon-ui-builder/commit/0630d9a275f938fbab9697ca338f47d0fedfdffd


Use actual channel number for index

For the geo radiances I have found that the arrays do not get assigned correctly. If the offset is used it pushes the data to be recorded from the correct location but does not take into account channels that are skipped.
I will add making use of the actual channel number to fill that position in an array.
For example 12 channels, 1-12. No data from 1-4, 8 and 12. If offset by 4 would get [NaN.NaN,NaN,NaN,5,6,7,8,9,10,NaN,NaN]. Need to get [NaN.NaN,NaN,NaN,5,6,7,NaN,9,10,11,NaN].

@orlewis Can I check that this issue has been resolved by the accompanying PR?

Yes that is correct, so I will close.

Thanks!


PLANNER-736: Workbench: Prevent user from creating multiple @PlanningSolution data objects

Add copy constructor to ValidationMessage

Part of:
https://github.com/droolsjbpm/guvnor/pull/416
https://github.com/droolsjbpm/jbpm-wb/pull/630
https://github.com/droolsjbpm/kie-wb-common/pull/681
https://github.com/droolsjbpm/optaplanner-wb/pull/134

@manstis Wow, you're quick! Do you use any sort of bot thing? :-)

@mcimbora We're all part of The Borg.


Agnitio AngularJS-PDF POC

This is what it takes to add the following:

Swipe left and right to switch pages
Make PDF stretch to available space

Sorry.. wrong PR


Using JPEG2000 for chunk compression

I've been using chunk compressed Zarr arrays for some neuroscience image processing tasks, and it's been great so far. However, JPEG2000 might perform better than lz4 or Zstd for my images. I'd like to use Zarr to handle the image chunking with a JPEG2000 compressor, but I'm not sure if this is possible. I realize that this feature isn't as general as numcodecs would want, but I'm mostly asking what the steps would be to see if I should even try.

Hi Justin, the general approach to implementing a new compression codec is
to sub-class the numcodecs.Codec class and implement the methods encode(),
decode(), get_config(), from_config(), and also the codec_id attribute.
Docs here: http://numcodecs.readthedocs.io/en/stable/abc.html
To use the codec with zarr you need to register it with a call to
numcodecs.register_codec(cls). That just sets up the mapping from codec ID
to codec class. Docs here:
http://numcodecs.readthedocs.io/en/stable/registry.html
In terms of implementation, any of the existing codec classes is worth
looking at as an example. If you need to interface with external C code
then there's various options. The existing codecs like Zstd, LZ4 and Blosc
use Cython but there's other ways to do it.
I don't know anything about JPEG encoding but very happy to learn more if
you find it useful.
On Sat, 14 Apr 2018, 16:53 Justin Swaney<EMAIL_ADDRESS>wrote:

I've been using chunk compressed Zarr arrays for some neuroscience image
processing tasks, and it's been great so far. However, JPEG2000 might
perform better than lz4 or Zstd for my images. I'd like to use Zarr to
handle the image chunking with a JPEG2000 compressor, but I'm not sure if
this is possible. I realize that this feature isn't as general as numcodecs
would want, but I'm mostly asking what the steps would be to see if I
should even try.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zarr-developers/numcodecs/issues/73, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAq8Qq_K5se-4OPYJf_6uBTsmYRqJVoqks5tohuJgaJpZM4TVHh0
.

Adding a JPEG2000 compression filter would be great. Know others use this compression for image data as well.
FWIW we made some changes described in this comment, which should make wrapping a compressor pretty simple. Feel free to ask questions if you need any help.

@joshmoore, @jakirkham, and I looked into this for a while today.
@sofroniewn described how pyramidal-image support (cf. https://github.com/zarr-developers/zarr-specs/issues/23, https://github.com/zarr-developers/zarr-python/issues/520) is implemented in napari:

I have a zarr pyramid on s3://sofroniewn/image-data/camelyon16/ which came from https://camelyon16.grand-challenge.org/Data/ (there is a google drive with tiff if you poke around)

Each resolution-level is a sibling Dataset in a containing Zarr Group. Napari loads each resolution level as a Dask Array, and changes which resolution level it pulls chunks from based on the user's zoom level.
That process works pretty well today, and longer-term we'd like to clean up and factor that pyramiding code out of Napari (which could have a cleaner interface to it, in addition to benefitting from more general community support of pyramiding).
Napari's main pain point is that the Zarr pyramids are e.g. 60x larger on disk than the pyramidal TIFF files that they originated as. The Zarr pyramids use Zarr's default Blosc compressor codec (which is likely bad at compressing image data), while the original TIFFs likely use JPEG2000 (which is quite good), so we think adding a JEPG2000 codec to numcodecs, and having Napari use that, will solve Napari's main issue with its Zarr pyramids.
@jakirkham started prototying a JPEG2000 codec today; a nice thing is that the Codec interface receives an ndarray as input (we originally thought it only received a BytesLike, which would be hard to reconstruct image dimensions from, which JPEG2000 would need). One caveat is that filters can't be applied before the JPEG2000 codec, bc then the latter would actually just receive a BytesLike; raiseing seems appropriate in this situation.
Otherwise, we just need a good python binding to a JPEG2000 codec. imageio, imagecodecs, and glymur were looked at. There were a mix of concerns about dependencies / installation hassle as well as API semantics (we need something shaped like Buffer ⇒ BytesLike not PathLike ⇒ PathLike).
Dependency concerns could be mitigated by adding a pip qualifier (e.g. pip install numcodecs[jpeg]), and some light fork to expose in-memory access to the one of those projects could be undertaken, if necessary.

Imagecodecs includes a bytes<->numpy encoder and decoder for JPEG200 based on the OpenJPEG library. I think it should be relatively easy to take the Cython code out of imagecodecs (BSD licensed) and adapt it for numcodecs.

Thanks Christoph! 😄
Using that I wrote the following. This seems like what we would want for a first pass.
from numcodecs.abc import Codec
from numcodecs.compat import ensure_ndarray
from numcodecs.registry import register_codec

from imagecodecs import jpeg2k_encode, jpeg2k_decode

class JPEG2000(Codec):
    codec_id = "JPEG2000"

    def encode(self, buf):
        return jpeg2k_encode(ensure_ndarray(buf))

    def decode(self, buf):
        return jpeg2k_decode(ensure_ndarray(buf))

register_codec(JPEG2000)

This works for encoding. However we have an issue on decoding. Maybe there's something I'm missing above? 🙂
---------------------------------------------------------------------------
Jpeg2kError                               Traceback (most recent call last)
<ipython-input-6-7d1c93c78b4f> in <module>
----> 1 c.decode(c.encode(a))

<ipython-input-1-01776c52a8bc> in decode(self, buf)
     13
     14     def decode(self, buf):
---> 15         return jpeg2k_decode(ensure_ndarray(buf))
     16
     17

imagecodecs/_jpeg2k.pyx in imagecodecs._jpeg2k.jpeg2k_decode()

Jpeg2kError: opj_read_header failed

I didn't try to reproduce this yet, but it looks like this simple roundtrip should work if the output of ensure_ndarray(buf) can be cast to uint8_t[::1] by Cython, which appears to be the case since otherwise the detection of the codecformat would likely fail. Please try passing the buf bytes directly to  jpeg2k_decode and enable OpenJPEG error handling and warnings with verbose=3. What is the shape and dtype of the input a?

Thanks Christoph!
Yeah was wondering about that too. So had tried with and without ensure_ndarray just in case, but got the same error. Either way the data provided to jpeg2k_decode was something that could be cast to uint8_t[::1] as it was just the output of jpeg2k_encode.
Sure let me provide a clear MRE.
Sorry if I missed something, but how do we set the verbosity?

Here's an MRE showing what I'm seeing. Happy to play with this more (adding verbosity and such) as is helpful 🙂
In [1]: import numpy as np

In [2]: a = np.arange(6, dtype="u4").reshape(2, 3)

In [3]: a
Out[3]:
array([[0, 1, 2],
       [3, 4, 5]], dtype=uint32)

In [4]: from imagecodecs import jpeg2k_encode, jpeg2k_decode

In [5]: b = jpeg2k_encode(a)

In [6]: b
Out[6]: bytearray(b'\x00\x00\x00\x0cjP  \r\n\x87\n\x00\x00\x00\x14ftypjp2 \x00\x00\x00\x00jp2 \x00\x00\x00-jp2h\x00\x00\x00\x16ihdr\x00\x00\x00\x02\x00\x00\x00\x03\x00\x01\x1f\x07\x00\x00\x00\x00\x00\x0fcolr\x01\x00\x00\x00\x00\x00\x11\x00\x00\x00\x89jp2c\xffO\xffQ\x00)\x00\x00\x00\x00\x00\x03\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x1f\x01\x01\xffR\x00\x0c\x00\x00\x00\x01\x00\x00\x04\x04\x00\x01\xff\\\x00\x04@\x00\xffd\x00%\x00\x01Created by OpenJPEG version 2.3.1\xff\x90\x00\n\x00\x00\x00\x00\x00\x17\x00\x01\xff\x93\xc0\x00\x00\x00\xf8C\x0fwv\xff\xd9')

In [7]: len(b)
Out[7]: 214

In [8]: jpeg2k_decode(b)
---------------------------------------------------------------------------
Jpeg2kError                               Traceback (most recent call last)
<ipython-input-8-d3265f5af6b1> in <module>
----> 1 jpeg2k_decode(b)

imagecodecs/_jpeg2k.pyx in imagecodecs._jpeg2k.jpeg2k_decode()

Jpeg2kError: opj_read_header failed

I see: dtype=uint32. While JPEG 2000 supports 32 and 64 bit integers (up to 38 bits), OpenJPEG doesn't. I obviously never fully tested these cases, only 8 and 16 bit. You can get the OpenJPEG warnings and errors as follows:
>>> b = jpeg2k_encode(a, verbose=3)
JPEG2K info: tile number 1 / 1
>>> jpeg2k_decode(b, verbose=3)
JPEG2K info: Start to read j2k main header (85).
imagecodecs._jpeg2k.Jpeg2kError: Invalid values for comp = 0 : prec=32 (should be between 1 and 38 according to the JPEG2000 norm. OpenJpeg only supports up to 31)
Exception ignored in: 'imagecodecs._jpeg2k.j2k_error_callback'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
imagecodecs._jpeg2k.Jpeg2kError: Invalid values for comp = 0 : prec=32 (should be between 1 and 38 according to the JPEG2000 norm. OpenJpeg only supports up to 31)
imagecodecs._jpeg2k.Jpeg2kError: Marker handler function failed to read the marker segment
Exception ignored in: 'imagecodecs._jpeg2k.j2k_error_callback'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
imagecodecs._jpeg2k.Jpeg2kError: Marker handler function failed to read the marker segment
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "imagecodecs\_jpeg2k.pyx", line 390, in imagecodecs._jpeg2k.jpeg2k_decode
imagecodecs._jpeg2k.Jpeg2kError: opj_read_header failed

Not sure why OpenJPEG doesn't throw an error in jpeg2k_encode. Maybe OpenJPEG does create a valid JPEG 2000 stream, but it can't decode it...

Another thought: since this issue is about efficiently compressing image data, you might want to have a look at JPEG-LS via the CharLS library. There's also JPEG-XR (used commonly in CZI files), which also handles float32, but the jxrlib library is not so nice to work with. Imagecodes supports both, but I never benchmarked the codecs/implementations. None of formats these support 32 or 64 bit integers.

Ah ok. So this is bad usage on my part. Thanks for clarifying Christoph! Should there be an error if the user supplies an unsupported type or are there situations where this might work?
Great, thanks for the suggestions. Will check those out too. Yeah this is mostly about compression. Just trying to think what makes a reasonably generic/useful compressor here (given the different type support of these). Do you have any thoughts on this? 🙂

If this issue needs a champion, I think I can make a case for taking on this work (@jmswaney above was part of our lab). @jakirkham I'm not sure if you have a branch going that I should contribute to - if not, I'm fine with restarting. Regarding support for 32 and 64 bit integers, we also would only use 8 and 16 bits, so pragmatically, I'd vote for disallowing 32 and 64 bit integers early on in the encoding process and by trying to detect failures due to 32 and 64 bit integers in decoding and reporting them.
If that plan seems workable, I'll go ahead and start work towards the goal of a pull request.

My use case for JPEG2000 is grayscale 3D stacks of JPEG2000 planes and my plan was to JPEG2000-encode each of the planes separately (and for 4 and 5D, stack over the first dimensions and encode over the last 2 dimensions), but an alternate would be to interpret arrays with 3 axes as Y, X and color if the size of the last axis was 3 (RGB) and encode as a color image.
My gut tells me to avoid a heuristic that operates differently depending on the size of the last dimension and encode what might be a color image as three grayscale planes. This also has a side-effect of not requiring the LCMS library (see https://github.com/cgohlke/imagecodecs/tree/master/3rdparty/openjpeg in imagecodecs) which simplifies the build.
I'd appreciate any feedback.

Thanks for offering to help here Lee! 😄
Unfortunately I don't have an existing branch, but I think the code in comment ( https://github.com/zarr-developers/numcodecs/issues/73#issuecomment-592111560 ) should be a good starting point and likely pretty close to what we need here. So would see if you can get that to run and go from there. Please let us know if you have any questions 🙂

Looks like @d-v-b did some work on a JPEG codec ( https://github.com/d-v-b/zarr-jpeg ). Not sure if JPEG2000 is considered there as well

I think it's not. I started work on the codec, have had to pause it recently.

Does imagecodecs.numcodecs.register_codecs() suffice now to cover needs here?

^ @d-v-b @LeeKamentsky @joshmoore

For my own purposes the code registration api in numcodecs sufficed perfectly

@d-v-b : just to clarify, you mean numcodecs API worked for you, not imagecodecs, right?
Thinking through some of the recent conversations with @DennisHeimbigner, if we're going to lean on imagecodecs for JPEG2000 support, we may want to go about defining an ID for it in this repo a la https://github.com/zarr-developers/numcodecs/issues/278
cc: @cgohlke

Not a bad idea, but imagecodecs does already provide unambiguous numcodecs IDs for all the classes it registers - I would not suggest changing them (although adding aliases would be fine).
The current list I get in my installation:
['imagecodecs_aec',
 'imagecodecs_avif',
 'imagecodecs_bitorder',
 'imagecodecs_bitshuffle',
 'imagecodecs_blosc',
 'imagecodecs_brotli',
 'imagecodecs_bz2',
 'imagecodecs_deflate',
 'imagecodecs_delta',
 'imagecodecs_float24',
 'imagecodecs_floatpred',
 'imagecodecs_gif',
 'imagecodecs_jpeg',
 'imagecodecs_jpeg2k',
 'imagecodecs_jpegls',
 'imagecodecs_jpegxr',
 'imagecodecs_lerc',
 'imagecodecs_ljpeg',
 'imagecodecs_lz4',
 'imagecodecs_lz4f',
 'imagecodecs_lzf',
 'imagecodecs_lzma',
 'imagecodecs_lzw',
 'imagecodecs_packbits',
 'imagecodecs_png',
 'imagecodecs_snappy',
 'imagecodecs_tiff',
 'imagecodecs_webp',
 'imagecodecs_xor',
 'imagecodecs_zfp',
 'imagecodecs_zlib',
 'imagecodecs_zopfli',
 'imagecodecs_zstd']

@d-v-b : just to clarify, you mean numcodecs API worked for you, not imagecodecs, right?

Correct, I defined a jpeg compressor and registered it with the numcodecs register_codec function.
I should add that there's complexity involved in compressing 3D+ data with 2D codecs. You will almost certainly want to generate a 2D tiled version of the ND data, and compress that, but this requires codec metadata that defines the ND -> 2D transformation. I have not implemented this to my satisfaction.

Hello all!
Based on the initial investigations of @cgohlke and @jakirkham on this thread along with some of our own by @muhanadz we have released, heavily inspired by the existing work from @d-v-b, a Zarr JPEG-2000 codec using imagecodecs and by extension OpenJPEG:

https://github.com/glencoesoftware/zarr-jpeg2k
https://pypi.org/project/zarr-jpeg2k/

Any and all feedback welcome!
Similar to the discussion on d-v-b/zarr-jpeg#1, our primary motivation for the codec is the compression of interleaved RGB bright-field whole slide imaging data.

@martindurant what would one need to do add an entrypoint to use zarr-jpeg2k above?

An entrypoint needs to be registered roughly of the form:
[numcodecs.codecs]
jpeg2k = zarr_jpeg2k.zarr_jpeg2k:jpeg2k

See the imagecodecs library for an existing jpeg2000 implementation

I read further up the thread and deleted my comment...
I am a little confused. Why is there a different package for jpeg2k as a numcodecs codec, which calls imagecodecs, when imagecodecs already has one? All the codecs there can be registered with numcodecs by calling imagecodecs.numcodecs.register_codecs(). We just need a PR there to add the entrypoints, I'm sure it would be accepted. Perhaps when the conversation above happened, imagecodecs had not yet progressed as far.

All the codecs there can be registered with numcodecs by calling imagecodecs.numcodecs.register_codecs(). We just need a PR there to add the entrypoints, I'm sure it would be accepted. Perhaps when the conversation above happened, imagecodecs had not yet progressed as far.

For the time being I decided to distribute the numcodecs entry points as a separate package:
https://pypi.org/project/imagecodecs-numcodecs/#files.

That sounds reasonable, @cgohlke . Unfortunately, it doesn't have a conda package.

It looks like the work on integrating jpeg2000 was abandoned.   Is there any progress on this I'm missing?  This is the only numcodecs thread I found related to this work.

jpeg2000 is included in imagecodecs, which has numcodecs wrappers

Thanks.  I guess I missed that in the docs.  I'm trying to figure out how to use j2k as the compression scheme in a zarr file.

I believe so long as you have https://pypi.org/project/imagecodecs-numcodecs/ installed, "imagecodecs_jpeg2k" wll an available codec without further effort.


Sheets and slide : UTs

Description
Sheets UT:
SpreadSheetAppendValuesTest (Bug_id-235175584)
SpreadSheetBatchGetValuesTest(Bug_id-235175747)
SpreadSheetBatchUpdateTest(Bug_id-235175826)
SpreadSheetBatchUpdateValuesTest(Bug_id-235175827)
SpreadSheetConditionalFormattingTest(Bug_id-235175750)
SpreadSheetCreateTest(Bug_id-235175790)
SpreadSheetPivotTablesTest(Bug_id-235175753)
SpreadSheetUpdateValuesTest(Bug_id-235175754)
Slides UT:
SlidesCopyPresentationTest(Bug_id-235175758)
SlidesCreateBulletedTextTest(Bug_id-235175834)
SlidesCreateImage(Bug_id-235175835)
SlidesCreatePresentaionTest(Bug_id-235175837)
SlidesCreateSheetsChartTest(Bug_id-235175839)
SlidesCreateSlide(Bug_id-235175842)
SlidesCreateTextBoxWithTextTest(Bug_id-235175801)
SlidesImageMergingTest(Bug_id-235175803)
SlidesRefreshSheetsChartTest(Bug_id-235176015)
SlidesSimpleTextReplaceTest(Bug_id-235176016)
Has it been tested?

[X] Development testing done
[X] Unit or integration test implemented

Checklist

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have performed a peer-reviewed with team member(s)
[ ] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] Any dependent changes have been merged and published in downstream modules

lgtm, will merge after other PRs are fixed.


Temp basal calculation - profile_data.current_basal

Currently temp basal is calculated by:
var rate = profile_data.current_basal - (2 * insulinReq);
profile_data.current_basal should be substituted by variable - calculation of predicted (30-min) basal.
Calculation of predicted 30-min basal is essential, because temp basal could be applied on top of two different basals.
For example:
1.00 - 2.00 - basal 0,9
2.00 - 3.00 - basal 1,2
When we apply temp basal at 1:59, temp basal will be calculated by adding/substracting insulinReq from "0,9" basal in spite that 30-temp basal mainly acts over the "1,2" basal.

That would be a good idea.  I think it might require passing more info into determine-basal.js than we're doing today, though.  If you know of a good way to accomplish it, feel free to make the change on your fork and submit a pull request.  Otherwise, sounds like @loudnate has some code that accomplishes something similar in his basal calculator script (albeit for percent basals instead of absolute), so we could probably fix this by (im)porting that code as well...


feat: toggle dock bounce added for OSX alerts

Closes Issue #2463
Issue in brief
User was not able to toggle off Dock Bounce in OSX platform for badge alerts, since Flash Frame is not an OSX specific feature which was specified in the settings earlier.

Suggested Fixes/Changes

Enable Flash Frame toggle changed to Toggle Dock Bounce on alert and the description is changed accordingly
Added a constraint for Flash Frame for OSX, since Flash Frame is not an OSX specific feature

Suggested Settings window on OSX:

@jeanfbrito It'd be awesome if you could review these changes and let me know if I need to make any more changes to my PR

Nice contribution @Palanikannan1437. We will merge it soon. Please take a look on the review. Just a simple thing.

Nice contribution @Palanikannan1437. We will merge it soon. Please take a look on the review. Just a simple thing.

Hey there!! Thank you so much @jeanfbrito, I am not able to see any reviews yet on GitHub though.

This is what you meant by reviews right, or did I misunderstand you?

I forgot to publish it. Now is showing.


MONDO:0019313 "hereditary lymphedema" Clean up request

Mondo term (ID and Label):
hereditary lymphedema ;  MONDO:0019313
I started off questioning some X-refs and it seems like this term and its children need a bit of attention overall... please see comments.
Xref that should be fixed (ID and label):
OMIMPS:153100 Which OMIM states is "Phenotypic Series - PS153100; Lymphatic malformation - PS153100" does not match the concept of generic "hereditary lymphedema"
Also not sure if Orphanet:79452 belongs here, either. As it is called "Milroy disease" (syns: Hereditary lymphedema type I; Nonne-Milroy lymphedema)
and SCTID: 399889006 should go wherever this Orpha term goes (it is for "hereditary lymphedema type I")
Other comments:
Suggestions to clean up this term:
I.  Create a child term for Milroy disease (with the Orpha 79452 and SNOMED refs above)  with Syn "lymphatic malformation" and the OMIM PS153100.
--> Children for this new term include the various specific MIM numbers referenced by Orpha79452  and the PS153100
-153100 (Lymphatic malformation 1)
- 611944 (Lymphatic malformation 2)
- 613480 (Lymphatic malform. 3)
- 615907 (Lymphatic malform. 4)
- 153200 (Lymphatic malform. 5)
- 616843 (Lymphatic malform. 6)
- 617300 (Lymphatic malform. 7)
- 618773 (Lymphatic malform. 8 (Although OMIM has a "?" here in some places, but not others)
Ia .Note: many of these above OMIM-linked terms need to be updated in MONDO, as the MONDO-assigned names are now "formerly" names from OMIM. This includes hereditary lymphedema types 1A, 1B, 1C, 1D, Meige disease...
II. Should we maintain MONDO:0009535 "lymphedema, congenital recessive?"  The MIM # referenced by this term has been split (247440 MOVED TO 153100 AND 616843).  The MeSH and UMLS x-refs are still active terms, but at a minimum the OMIM Xref this term should be deleted.
@ana-rath-orphanet @ahamosh : Do you think these suggestions accurately reflect the terms from OrphaNet and OMIM? Please advise if I am not understanding these properly.

From Joanna (OMIM):
It is a bit complicated.  The original lymphedema entries were
numbered 1, 2, 3 and were designated for the age of onset.  When
families were described with mutations, there were variable ages of
onset.  Then there were clinical entities described that had lymphatic
dysplasia (and lymphedema).  More recent families studied had
lymphoscintigraphy which highlighted malformations/anomalies of the
lymph system.  Authors would then call those lymphatic dysplasia or
some such terms.  We corralled them all under a lymphatic malformation
series PS153100.  The description here is "Primary lymphedema is
caused by anatomic or functional defects in the lymphatic system,
resulting in chronic swelling of body parts."  We used this reference
in some of our decision process:
Liu, N. F.; Yan, Z. X.; Wu, X. F. : Classification of
lymphatic-system malformations in primary lymphoedema based on MR
lymphangiography. Europ. J. Vasc. Endovasc. Surg. 44: 345-349, 2012.
Some people in lymphedema families had lymphatic malformations without
lymphedema.  This is why we chose the LMPHM* umbrella.
See the NOMENCLATURE heading in 153100 for some explanation.

Hello @kanems
I'm Sabrina, a new curator who recently joined the Mondo team.
We will address your issue as soon as possible. Thank you for your patience.
If this is a high priority, please let me know and we can prioritize it. Thank you!

@kanems I think ORPHA:79452 Milroy disease is equivalent to https://omim.org/entry/153100 LYMPHATIC MALFORMATION 1; LMPHM1 (MONDO_0007919 'lymphedema, hereditary, 1A'). I will move this xref.
I'll clean up these labels too to match OMIM.
I agree 'lymphedema, congenital recessive' should be obsoleted and I created a separate ticket.


Load relationship

New pull request in reference to #2871

Thanks for this 🎉

Thanks for the great package :wink:


Adds quick info on modifiers and declaration keywords

This PR implements #2736. I just implemented the basic display part for function right now.
function FunctionName() {}
function () {}

I can rework this PR to add/remove/change the display parts.
It also add some contextual quick info on anonymous functions.

What is C#'s behavior?  Do they also give quick info on modifiers?  If not, i don't think we should be behaving differently.

@tinganho are you still looking into this?

I have been a little bit busy lately. I will update the PR in next week.
On Fri, Jun 19, 2015 at 8:18 AM, Mohamed Hegazy<EMAIL_ADDRESS>wrote:

@tinganho https://github.com/tinganho are you still looking into this?
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/TypeScript/pull/3189#issuecomment-113325134
.

--
Sincerely,
Tingan Ho
@tingan87 https://twitter.com/tingan87

@mhegazy I think I will close this PR. It's a little bit outdated.


Support setting AA method dynamically

This replaces the static anti-aliasing setting with a dynamic option in the form of two new settings (one used during pipeline creation and one used during a render):

The FullShaders collection now maintains up to 3 fine stage pipeline variants. This can be driven using a new optional RendererOptions field called preferred_antialiasing_method, which determines which fine stage pipeline variants should get  instantiated at start up.

RenderParams now requires an AaConfig which selects which fine stage variant to use.

Added a new key binding (M) to the with_winit example to dynamically cycle through all 3 AA methods.

Looks good. I agree with most of Daniel's comments, and just had some golfing to make the logic hopefully a little simpler - it feels just a bit clunky and I'm slightly worried about what will happen as the number of permutations grows. But this is definitely useful to have!
Of course, we might reduce permutations by having multiple aa methods present in the same shader, but one nice thing about this setup is that we can experiment with the effect of shared memory size (with effect on occupancy but also likely a nontrivial effect from just clearing the memory, especially as this isn't always optimized well).

I agree that this is a little clunky and it would be good to figure out a better way to specify the desired pipeline permutations. For now, this is scoped to 3 AA settings and I imagine it wouldn't be too hard to extend this to an additional "dynamic" mode if we were to explore that.


bootstrap-vue-next css not being applied

This feels pretty stupid, but I can't figure it out, ha.
I'm just trying to run the form example here https://bootstrap-vue-next.github.io/bootstrap-vue-next/docs/components/form.html
However, only the bootstrap css is being applied, the bootstrap-vue-next.css has no effect.
This is what I'm doing:

npm init vue@latest
cd to dir
npm install
npm install bootstrap bootstrap-vue-next
npm i unplugin-vue-components -D
Update vite config (copy and paste from getting started)
Update main.js with basically what is in the getting started - just add App import
Add the form example to App.vue
npm run dev

I noticed if I delete the following from main.js it has no effect, so obviously the css isn't being applied for some reason.
import 'bootstrap-vue-next/dist/bootstrap-vue-next.css'

Here is a screenshot of what loads: (you can see the spacing is all wrong)

Here is what it should look like: (from the example page)

OS: MacOS
<EMAIL_ADDRESS>/Users/davew/code/test/frontend
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS>node version: 20.12.2

I think it might just be the example not matching the margins on the buttons. Closing.


Fix filter AST lint dealing with time

The MomentContstant and DurationConstant were renamed to MomentLiteral
and DurationLiteral, respectively. Update the checks prohibiting
filtering on time and the tests to reflect that.
Also remove names of AST nodes which would not occur in a 'real' world
scenarios - they're converted by a semantic pass.

cc: @dmajda

+1