release0.3.1 : "1:13404" Two ALT alleles , but AC_Het has 3 values.

via https://www.biostars.org/p/183713/
is there an error in ftp://ftp.broadinstitute.org/pub/ExAC_release/release0.3.1/ExAC.r0.3.1.sites.vep.vcf.gz ?
for 1:13404 there are two ALT alleles,  but AC_Het(Number='A') has three values.
##INFO=<ID=AC_Het,Number=A,Type=Integer,Description="Adjusted Heterozygous Counts">
(...)
1   13404   .   G   A,T 136.58  VQSRTrancheSNP99.60to99.80  (...)AC_Het=0,1,0;

+1

This is now fixed with release 1.0 - sorry for the delay!


[HDBDD] support for NVARCHAR type

Linked to https://github.com/SAP/xsk/issues/424

Currently we support the NVARCHAR type via the String(n) type.


Support sidebars with links to anchors in the same page

Is this a bug report?
No. Feature request
Have you read the [Contributing Guidelines]
Why, yes, I have :)
Environment
N/A
Steps to Reproduce
N/A
Expected Behavior
Have a sidebar with links that don't go to different pages, but rather goes to anchors within the same page.
Actual Behavior
N/A
Reproducible Demo
N/A

I would suggest this be auto generated from the markdown content.
Something like the following
## [Favourite Dinosaurs](#)

* T-Rex
* Raptor

And display an icon like ⚓ next to any of these.

I can work on enabling this as a config option as discussed in babel/website#1582
Live demo of proposed UI: https://deploy-preview-1582--babel-new.netlify.com/docs/en/index.html
With the new option set to on, the html for the on page navigation will be generated from h2s and h3s in the markdown, and on big screens the main sidebar will switch to fixed position and the new sidebar will show up as well.
I'm thinking of making this a progressive enhancement only in browsers that @support the css "position: sticky" property instead of using polyfills.

Hi @microbouji. Thanks! We have PR https://github.com/facebook/Docusaurus/pull/349 that I would love for you to take a look at to see if it meets your standard for this feature. If so, we could use that (or make minor improvements). If not, would love to see what you come up with.

Hi @JoelMarcey! That's a nice alternative and should probably be the default as it doesn't change the layout from fixed to full width. The separate sidebar that I proposed above could then be enabled with an option for folks who have long doc pages with many subheaders. Option could look like this:
anchorsNav: false (what we have now) | "inline" (PR #349) | "separate" (my solution)

I should have a PR tomorrow and we can iterate there more. Even if you don't end up needing the separate sidebar, the function to generate links from the headers can be reused even in the other PR.

@microbouji By the way, I am loving the new Babel site. You all have done really good work.

I believe this feature is live. @microbouji correct me if I'm wrong 😄


replace crypto/sha256 with github.com/minio/sha256-simd

Is your proposal related to a problem?
Currently crypto/sha256 is mainly used for calculating hash of files we upload/download to/from the object store.
As shown from https://github.com/minio/sha256-simd, the performance is much better than crypto/sha256 in golang.
Describe the solution you'd like
Simply replace the library.
Additional context
Thanos also builds images for other arches like freebsd and ppc64le, those might not be supported.

Hi @yeya24. Does this work? https://github.com/thanos-io/thanos/pull/5738

@utukJ Thank you, I think that works.
Have you verified, does it work for all archs? For unsupported arch, does it still work like fallbacking into the stdlib.

Thanks for the feedback @yeya24 . I've fixed the import grouping you mentioned. However, I'm not sure how to verify this:

Have you verified, does it work for all archs? For unsupported arch, does it still work like fallbacking into the stdlib.

I guess you'd have to try and build an image for one of the mentioned unsupported archs:

Thanos also builds images for other arches like freebsd and ppc64le, those might not be supported.

Fixed in https://github.com/thanos-io/thanos/pull/5738


Output workbox-sw lib as part of build process

Library Affected:
workbox-build, workbox-sw
Browser & Platform:
All
Issue or Feature Request Description:
I had to "register a route" to handle pretty URLs, so I'm using injectManifest in a custom SW. Right now for my build process, I've installed workbox-sw as a node module, and just copy the prod version from the importScripts directory.
I'd prefer if workbox-build just output the workbox-sw library for me when I inject the manifest. Is there a way to do that?
function buildSw() {
  return wb.injectManifest({
    globDirectory: './_site/',
    globPatterns: ['**\/*'],
    swSrc: './src/sw.js',
    swDest: './_site/sw.js',
  }).then(() => {
    gutil.log('Build Manifest generated.');
  }).catch((error) => {
    gutil.log('Error: ' + error);
  });
}

At the moment there isn't. Open to suggestions to what you think would fit your workflow here.
This is for me, the biggest problem with workbox at the moment, getting the library file into your project and / or service worker.
I personally would like to see us encouraging CDN usage instead of pulling the file from NPM, this way you can just import the script with a known CDN and good to go.

This is also a problem with the webpack plugin (see #653)

We plan to add a helper method to copy over either all or some of the workbox files to make this easier.

The copyLibraries helper method and CDN by default should solve this.


Extract iOS audio session management into methods on IOSAudio interface

This removes direct calls to ObjectAL functions from IOSApplication and replaces it with calls to new 'activate' and 'deactivate' functions on the IOSAudio interface.
My motivation is to better support alternative IOSAudio implementations, which manage the audio session themselves. (I personally use one based on AVFoundation).

Thanks for your review and feedback. I think 'deactivate' should be called on 'willResignActive' and the function called in 'willEnterForeground' should be called differently, perhaps 'prepare'.
Other alternatives I could think of:

Setting up interface methods that are called the same as the IOS Application lifecycle methods
Not changing the interface, instead having the developer override of the functions in the Application or Delegate

I'd probably go with following the iOS lifecycle methods myself - seems the most straightforward to know when they're going to be called.


Question on APIs?

Hi, in the legacy branch we have APIs defined (well routes), but the latest branch fully removed these favouring services + routes.
Yet it is mentioned that there is "Import Consumers from remote sources (Databases, files, APIs etc.)."
Is there or was there support for Swagger/OpenAPI spec to automatically define these routes vs manually configuring them?
Thanks

Thanks I appreciate the sincere answer.
Arno
From: Panagis Tselentis<EMAIL_ADDRESS>Reply-To: pantsel/konga<EMAIL_ADDRESS>Date: Saturday, February 2, 2019 at 3:23 AM
To: pantsel/konga<EMAIL_ADDRESS>Cc: "Schulz, Arno"<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [pantsel/konga] Question on APIs? (#329)
@arno-joulehttps://github.com/arno-joule , the API entity is deprecated since Kong 0.13.x and completely removed on Kong 1.x.
Since Konga 1.4.x is only compatible with the new major version of Kong, the APIs are removed from the interface as well.
The legacy branch, is for those who, for some reason, didn't migrate to Kong 1.x yet and is compatible with Kong up to 0.14.x
The Import Consumers from remote sources is plainly a Konga only feature which allows you to import consumers to Kong from your own databases, APIs etc. This is useful when someone descides to start using Kong for the first time and wants to migrate the old infra users (consumers) to the new Kong based one. It has othing to do with Kong's API entity.
Lastly, no, at this point there is no support for Swagger/OpenAPI spec although it is something that I've thought about as well.
Cheers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/pantsel/konga/issues/329#issuecomment-459946442, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AnHo6acduXRbDKdjoPvpdpCtqShwZi4kks5vJUrzgaJpZM4aennQ.


Duplicate GlobalKey detected in widget tree.

Describe the bug
When navigating through routes I get this error
Duplicate GlobalKey detected in widget tree.

Please make sure you have a GetMaterialApp inside another GetMaterialApp. There can be only one GetMaterialApp in the tree.

Hmm pretty sure I don’t have that
Brian Schardt

On May 17, 2020, at 12:11 PM, Jonny Borges<EMAIL_ADDRESS>wrote:

Please make sure you have a GetMaterialApp inside another GetMaterialApp. There can be only one GetMaterialApp in the tree.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

This occurs when I route from one screen with a form and the keys are created on the controller to another screen and then back to the screen with the form. The controller is being created again and not disposed of properly hence the duplicate key error.
Any suggestions?

This occurs when I route from one screen with a form and the keys are created on the controller to another screen and then back to the screen with the form. The controller is being created again and not disposed of properly hence the duplicate key error.
Any suggestions?

The controller is only available when no class uses it anymore, and no class keeps it in memory. Using an init twice could cause this. Are you using GetBuilder or GetX?
If you prefer, I can take a look at these classes by email.

I get the same issue if I use Get.lazyPut to add my controllers to the state manager.  If I register just one instance using Get.put then I don't get the error.  It might be important to note that I don't use named routes, I use the code Get.to(Page());.  I see in the latest version there is a note about creating a class that extends Bindings to init a controller outside of init.  I don't know how that needs to be set up, but if we can get an example of that it might help too.
Overall, Get is awesome - thank you for this project and the time you put into it!

This occurs when I route from one screen with a form and the keys are created on the controller to another screen and then back to the screen with the form. The controller is being created again and not disposed of properly hence the duplicate key error.
Any suggestions?

It depends a lot on where you are starting the Controllers. Are they inside an init: Controller () method or are you initializing them outside? If you are using outside, it is important to remember that lazyPut is appropriate, and not Get.put, because both in init and outside, the Controller can only be created at the exact moment that a GetBuilder or GetX needs it. The logic of Get's "LazyLoad" is so tight, that the controller is created by Get.find () (there is one internally within each GetBuilder / GetX) and not in Get.lazyPut, which creates only one reference to be used in the future to create an instance that is done the moment someone searches for it.

I get the same issue if I use Get.lazyPut to add my controllers to the state manager. If I register just one instance using Get.put then I don't get the error. It might be important to note that I don't use named routes, I use the code Get.to(Page());. I see in the latest version there is a note about creating a class that extends Bindings to init a controller outside of init. I don't know how that needs to be set up, but if we can get an example of that it might help too.
Overall, Get is awesome - thank you for this project and the time you put into it!

Hi thanks.
You don't need to use named routes to use bindings, the normal route API also accepts it.
Get.to(Second(), binding: SecondBind());
class SecondBind extends Bindings {
@override
void dependencies() {
Get.lazyPut(() => ControllerX());
}
}
class Second extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('second Route'),
),
body: Center(child: GetX(
// init: ControllerX(), you don't need put this
builder: () {
print("count1 rebuild");
return Text('${.count1.value}');
},
),
)
I'm thinking of creating extensions for vscode/intellij or a CLI to automate this process, and I'm going to treat Get in "layers", where people can just put it in pubspec and use it, or they can split it into Controller/View, or if want to split responsibilities to the extreme, you can split into Controller/View/Bindings/Navigation
As Flutter works with stacks, navigation is an overlapping event, so dialogs, bottomsheets, and snack bars are part of navigation.
That way, Dev will be able to insert the dialog widget into the views folder with its Texts and buttons, he will be able to define his Navigator class in Bindings, and within the navigator class, he will be able to call Get.to/Get.dialog /Get.bottomsheet, with the View folder widget. From the Controller folder, he can call nav.openMainDialog; and open a dialog that is declared in Navigator, but that the UI is in View folder. This will allow the complete separation of View, Business logic, dependency injection and navigation logic, but for the Dev who just wants to program, without worrying about it all, he can create his project normally, and separate the responsibilities according to gain know-how for that.

I cannot reproduce this in version 2.10.0.
If you face a problem, you can create another issue, or reopen this one.
Closing it.

hello i have this issue too.
basically i have 2 screens each with their own controllers and every one of the controllers contains a GlobalKey<FormState> that is used by their respective view (both of them have their own Form widget that uses the controller's key)
and as described by @brianschardt , this happens when you navigate back and forth from one widget to another

hello i have this issue too.
basically i have 2 screens each with their own controllers and every one of the controllers contains a GlobalKey<FormState> that is used by their respective view (both of them have their own Form widget that uses the controller's key)
and as described by @brianschardt , this happens when you navigate back and forth from one widget to another

Estou com o mesmo problema do @xEyad.

Estou com o mesmo problema do @xEyad.

Abra uma nova issue e coloque um código mínimo para que possamos reproduzir o problema e conseguir ajudá-lo.

All Possible solution added [Solved] Duplicate GlobalKey detected in widget tree

This occurs when I route from one screen with a form and the keys are created on the controller to another screen and then back to the screen with the form. The controller is being created again and not disposed of properly hence the duplicate key error.
Any suggestions?

It depends a lot on where you are starting the Controllers. Are they inside an init: Controller () method or are you initializing them outside? If you are using outside, it is important to remember that lazyPut is appropriate, and not Get.put, because both in init and outside, the Controller can only be created at the exact moment that a GetBuilder or GetX needs it. The logic of Get's "LazyLoad" is so tight, that the controller is created by Get.find () (there is one internally within each GetBuilder / GetX) and not in Get.lazyPut, which creates only one reference to be used in the future to create an instance that is done the moment someone searches for it.

What if we put our key inside Controller?
I put  GlobalKey<ScaffoldState> scaffoldKey = GlobalKey<ScaffoldState>(); inside Controllers and use it there.
the problem occurs when  a page pushed for the Second Time Like this
 Page1 => Page2 => Page3 => Page4 =>Page2 when i move to Page2 for the Second time I got the Duplicate Error.
any idea how to fix it?

This occurs when I route from one screen with a form and the keys are created on the controller to another screen and then back to the screen with the form. The controller is being created again and not disposed of properly hence the duplicate key error.
Any suggestions?

It depends a lot on where you are starting the Controllers. Are they inside an init: Controller () method or are you initializing them outside? If you are using outside, it is important to remember that lazyPut is appropriate, and not Get.put, because both in init and outside, the Controller can only be created at the exact moment that a GetBuilder or GetX needs it. The logic of Get's "LazyLoad" is so tight, that the controller is created by Get.find () (there is one internally within each GetBuilder / GetX) and not in Get.lazyPut, which creates only one reference to be used in the future to create an instance that is done the moment someone searches for it.

What if we put our key inside Controller?
I put  GlobalKey<ScaffoldState> scaffoldKey = GlobalKey<ScaffoldState>(); inside Controllers and use it there.
the problem occurs when a page pushed for the Second Time Like this
 Page1 => Page2 => Page3 => Page4 =>Page2 when i move to Page2 for the Second time I got the Duplicate Error.
any idea how to fix it?

I am facing the same issue
did you solved it?

Come on guys , no fix yet ? .. what do the guys at GetX are doing ?

I would recommend to stay away from using GetX package , there are so many issues.
i have encountered yet an other issue. when you use "Border color" property of Get.snakbar() , you will run into 'Null check operator used on null value ' error. if you remove the property, this error magically disappears.

This occurs when I route from one screen with a form and the keys are created on the controller to another screen and then back to the screen with the form. The controller is being created again and not disposed of properly hence the duplicate key error.
Any suggestions?

It depends a lot on where you are starting the Controllers. Are they inside an init: Controller () method or are you initializing them outside? If you are using outside, it is important to remember that lazyPut is appropriate, and not Get.put, because both in init and outside, the Controller can only be created at the exact moment that a GetBuilder or GetX needs it. The logic of Get's "LazyLoad" is so tight, that the controller is created by Get.find () (there is one internally within each GetBuilder / GetX) and not in Get.lazyPut, which creates only one reference to be used in the future to create an instance that is done the moment someone searches for it.

What if we put our key inside Controller?
I put  GlobalKey<ScaffoldState> scaffoldKey = GlobalKey<ScaffoldState>(); inside Controllers and use it there.
the problem occurs when a page pushed for the Second Time Like this
 Page1 => Page2 => Page3 => Page4 =>Page2 when i move to Page2 for the Second time I got the Duplicate Error.
any idea how to fix it?

I am facing the same issue did you solved it?

Me to, any workaround with? And why in this case Get.offAll(); is not working?  It should make route stack clean

Hi,
I was facing the same issue in my project where I used getx.
My project is responsive UI based. There was no issue with desktop web version, but duplicate GlobalKey error occurs when it comes to tablet/mobile screen size. Because in smaller screen navigation menu bar is converted to a drawer with Hamburger menu icon. When I want to navigate to pages through drawer item it shows duplicate GlobalKey error. It occurs because I used a menuController with scaffoldKey. This scaffoldKey was referenced to every pages under key of scaffold widget.
To solve this problem I did this in alternate way.
I have removed scaffoldKey from every pages and menuController.
Instead of that I used appBar under scaffold. Then I added a condition to check whether it is desktop or not. If desktop then it will be replaced with prefrredSize like below.
`return Scaffold (
appBar: (!Responsive.isDesktop(context)) ?   AppBar(title:Text('Home') :
PreferredSize(
preferredSize: Size(Get.width, 130),
   child: WebMenu()
   ),
 ),

),
drawer: Navigation Drawer(),
body:Container()
);
`
This code added in all pages where required.
Now this is working very nice.
Hope this simple solution will help you.
Thanks
Shahidul

In my case I forgot to register a singleton in my GetIt init function.
The error occurred when I used BlocProvider with a BlocBuilder. Somewhere in my business logic I was using Connectivity (to check user's internet connection). I forgot to register this: sl.registerLazySingleton(() => Connectivity());

This occurs when I route from one screen with a form and the keys are created on the controller to another screen and then back to the screen with the form. The controller is being created again and not disposed of properly hence the duplicate key error.
Any suggestions?

It depends a lot on where you are starting the Controllers. Are they inside an init: Controller () method or are you initializing them outside? If you are using outside, it is important to remember that lazyPut is appropriate, and not Get.put, because both in init and outside, the Controller can only be created at the exact moment that a GetBuilder or GetX needs it. The logic of Get's "LazyLoad" is so tight, that the controller is created by Get.find () (there is one internally within each GetBuilder / GetX) and not in Get.lazyPut, which creates only one reference to be used in the future to create an instance that is done the moment someone searches for it.

What if we put our key inside Controller?
I put  GlobalKey<ScaffoldState> scaffoldKey = GlobalKey<ScaffoldState>(); inside Controllers and use it there.
the problem occurs when a page pushed for the Second Time Like this
 Page1 => Page2 => Page3 => Page4 =>Page2 when i move to Page2 for the Second time I got the Duplicate Error.
any idea how to fix it?

I am facing the same issue did you solved it?

Me to, any workaround with? And why in this case Get.offAll(); is not working? It should make route stack clean

I was able to resolve that in two ways. Both ways require to re-create controller, so you loose the data in it (which is fine since i also want to remove pages from navigation stack.)
Way 1: inside your view put (Assume i have LoginController) at constructor.
That will ensure you always have a fresh instance of your Controller.
var tag = tag = UniqueKey().toString(); Get.put(LoginController(), tag: tag);
Way 2 : inside the bindings put Get.lazyPut(() => LoginController(),fenix: true);//the fenix is important here
then at route part: GetPage(name: '/login', page: () {Get.delete<LoginController>(force: true); return const LoginView();}),
There are also exists way 3 where you manage your global keys as a map, but i not want to do it since controller recreation is preferred for me.

I managed to solve it this way, every time I leave the page
Navigator.pushNamedAndRemoveUntil(context, "/route", (r) => false);

@lucasnocete Thanks you bro, you are a lifesaver

I managed to solve it this way, every time I leave the page
Navigator.pushNamedAndRemoveUntil(context, "/route", (r) => false);

But this will remove last route from stack what about if you need to go back to last page?
Any update on this issue @jonataslaw

Just a update if I use GetView instead on GetBuilder problem disappears. No idea how but it works.

I'm having the same issue. Any update?

@matthewkooshad The only thing you can do is before creating any globalKey in new route delete last route which already defined globalKey. As said above.

I managed to solve it this way, every time I leave the page
Navigator.pushNamedAndRemoveUntil(context, "/route", (r) => false);


Introduce mitigations for CVE-2020-6506

Hey folks 👋
This PR wants to introduce the recommended mitigation for CVE-2020-6506 as indicated in the blogpost by the security researcher who disclosed it.

Enable multiwindow support. If needed, implementation options exist to mimic single-window behavior and minimize breaking changes. Does not require multi-tab UI. Suitable for browsers and frameworks.

The details
The final code that you see here is, basically, a mix my brain plus the following links:

https://github.com/react-native-webview/react-native-webview/pull/1663
https://github.com/flutter/plugins/pull/2991
setSupportMultipleWindows

in particular this needed to override onCreateWindow

https://stackoverflow.com/questions/48040319/setsupportmultiplewindows-and-setjavascriptcanopenwindowsautomatically-not-allow
https://stackoverflow.com/questions/8817485/open-javascript-window-into-alertdialog

All of this to say, I haven't been doing Android for a while so I'm not entirely sure this implementation is the best ever.
That said, it actually works as expected: now, when...
...flag is set to true:

...flag is set to false:

Testing and stuff
Basically, as you'll quickly notice, I've added to the Examples folder a new example which is literally just the snippet @jamonholmgren used in the other PR to test if the code was working.
That way, you can easily test this PR by checkout-ing it, and doing yarn then yarn start:android and toggling the flag.
That's all, let me know if there's anything else I need to do to make it ready for release 👍
PS: I don't think this should be treated as a breaking change, from the perspective of releases. But as long as it get released, I'm happy either way :D

Hey @kelset thanks for spending some time on this. Do you think there is a way to keep the current behavior with multiple windows set to true ? (Opening link would just navigate to it in a new webview)
If not this is still a working fix but will be released as breaking. Let me know ,😉

Do you think there is a way to keep the current behavior with multiple windows set to true ? (Opening link would just navigate to it in a new webview)

I'm not sure 😅 I can try to take a look today, but if I can't find a solution for it by end of the day I'd recommend we first merge this as to fix the CVE, and then iterate on the implementation so to get to the optimal result (maybe by then some other more knowledgeable folks will be able to jump in and help with that 😅).

If not this is still a working fix but will be released as breaking.
👍

Hey @Titozzz, an update on the PR:

I'm glad I double checked the code locally to try and figure out if what you were asking was doable - when cleaning up my code for the PR after testing I removed one line too many 😂 But now I've fixed my mistake by pushing a new commit 👍

about what you were asking:

Do you think there is a way to keep the current behaviour with multiple windows set to true ?

The answer is not as simple as I was hoping for. I've did a quick pairing session with a colleague and there are a few points I wanted to share:
a) the behaviour currently implemented (of the app opening the new link outside) is a viable/expected Android behaviour.
b) While re-reading the documentation for onCreateWindow(which we are forced to override because it's required by setSupportMultipleWindows), one section stood out:

Applications should be careful how they display the new window: don't simply overlay it over the existing WebView as this may mislead the user about which site they are viewing. If your application displays the URL of the main page, make sure to also display the URL of the new window in a similar fashion. If your application does not display URLs, consider disallowing the creation of new windows entirely.

So tbh I think at - at least for now - we should go with this new behaviour.
Trying to keep the new webview inside would also kind of force a more complicated implementation which requires showing the URLs per both webview, as asked by the documentation (and I couldn't see any prop currently available for that - but if there actually is already a "show url" flag of sort please let me know 🤗).

Thanks to everyone who contributed to this fix! Release should be out shortly.

Thanks all!

Thank you all for working on that 👍

@kelset @jamonholmgren @Titozzz thanks for working on this! If I'd like to handle target="_blank" links manually, do I need to set setSupportMultipleWindows to false? Prior to this PR my app was inspecting urls in onShouldStartLoadWithRequest and if the url wasn't from my domain I'd show an alert to the user asking them if they'd like to open the link in their browser. After this PR, target="_blank" links bypass onShouldStartLoadWithRequest and open directly in the browser. Are there any security concerns with doing something like this?:
<WebView
   setSupportMultipleWindows={false}
   // ...
   onShouldStartLoadWithRequest={({ url }) => {
       if (isUrlFromMyDomain(url)) {
         return true;
      } else {
         Alert.alert("Unsupported URL", "Leave app?", [{ text: "No", style: "cancel" }, { text: "Yes", onPress: () => { Linking.openURL(url); }}], { cancelable: false });
         return false;
      }
   }}
/>

Ideally I'd want to continue prompting the user before booting them from the webview into their browser, but I want to make sure I'm not opening myself up to any security holes by doing this...

Hey
You found any solution for you problem?


Invalid name: "@kadira/storybook" when installing package with npm

When I try to install the package with npm version 3.8.3, I get the following error:
Invalid name: "@kadira/storybook"

Have seen that before?

Same here:
npm ERR! Darwin 14.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v5.10.0
npm ERR! npm  v3.8.3

npm ERR! Invalid name: "@kadira/storybook"

See also https://github.com/kadira-samples/react-storybook-demo/issues/3

It seems like you guys are using a NPM mirror registry. See here: https://github.com/kadirahq/react-storybook/issues/15

gotcha, thanks!

I'm gonna close this and re-open the original #15.

@arunoda I think these issues are unrelated.
I am using the npm registry:
npm c get registry
https://registry.npmjs.org/
and I get
Invalid name: "@kadira/storybook"
Any ideas?

@nrempel That's so weird. I'm working on to support GH based distribution. Need some work, I'll publish on the other thread.

I am not sure what is the reason but it works for me if node is installed through nvm. It gives error if I use the node distribution from https://nodejs.org/en/.


Resample thumbnails to fix JPEG shear distortion if(width % 4 != 0)

This can be reproduced if you simply run es2gears (or whatever) on desktop and resize the width from 300 to 301.
The distorted image after decoding also causes the GUI to crash half the time.
This is a suggested fix, perhaps you can update the encoder instead (your version is from 2014)? Otherwise the Vulkan etc code probably also needs to be changed.

Looking at the other drivers I actually align down to 8 pixels already in the others, so they're already probably fine. I'm not sure why I picked 8 originally - checking the history doesn't give any insights as it goes way back to when I first added the jpeg compression, so maybe I noticed this distortion back then and just picked some semi-reasonable value.
This fix seems fine then. The jpeg compressor isn't supported anymore so there isn't any update to apply, but satisfying this alignment requirement isn't a serious enough problem to try and fix at the source.


Extend train epoch schedule by warmup_epochs if warmup_prefix enabled

A simpler alternative to #2312 that doesn't impact other aspects of the schedule or cause regressions

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


[sw/rom] Update ROM to configure entropy source in BOOT mode

This issue is to track any potential changes to the mask ROM as a result of proposed changes in #9949 and #9853.
See reference issues and PR discussion for more details: https://github.com/lowRISC/opentitan/pull/9949#discussion_r789841304

This is done.


Learning to Summarize Reward Model Loss indexing

Been improving on this for H4, and I think there may be a slight bug. At each reward calculation, which input has a higher reward needs to be known to pass it into the model.
In TRL: https://github.com/lvwerra/trl/blob/a05ddbdd836d3217c80a4b3e679ba984bfd4fa24/examples/summarization/scripts/reward_summarization.py#L185
Here's the original paper, note how the indexing depends on which is selected. Or, maybe this is handled elsewhere in the script (I didn't see it).

FYI @TristanThrush you may know this :)

Isn't this handled here: https://github.com/lvwerra/trl/blob/f95be7736fcb4eff59964c8857a4fa8e05fe2632/examples/summarization/scripts/reward_summarization.py#L97-L102

In this code, it is assumed that the j examples are the preferred ones and the k examples are not preferred.
https://github.com/lvwerra/trl/blob/a05ddbdd836d3217c80a4b3e679ba984bfd4fa24/examples/summarization/scripts/reward_summarization.py#L90
Let me know if I misunderstood anything

Makes sense to me. @natolambert?

Yup, took me a while to find the comments and that's right. May get more complicated in the future, but my deep dive result is: this code looks right.


Don't memcpy to nullptr even if length is zero

It's undefined behavior passing nullptr as first parameter of memcpy even if length is zero.
Fixes #52805
Fixes #52807

Thanks!


tsc crashes with<EMAIL_ADDRESS>

TypeScript Version:  4.1.0-dev.20200824

Search Terms: tsc cannot read property 'length' of undefined getResolvedMembersOrExportsOfSymbol symbol.declarations
Problem
tsc crashes after upgrading from 3.9.6 to 4.x.
Code
This problem happens after upgrading typescript on a project with 100k lines of code.
I don't have reproduction but I did my best to figure out what might be going wrong.
The crash stack trace:
TypeError: Cannot read property 'length' of undefined
    at getResolvedMembersOrExportsOfSymbol (/home/aanar/Development/Javascript/projects/Userlike/apps/umf/node_modules/typescript/lib/tsc.js:41835:68)
    at getMembersOfSymbol (/home/aanar/Development/Javascript/projects/Userlike/apps/umf/node_modules/typescript/lib/tsc.js:41868:19)
    at isEmptyAnonymousObjectType (/home/aanar/Development/Javascript/projects/Userlike/apps/umf/node_modules/typescript/lib/tsc.js:46924:60)
    at addTypeToIntersection (/home/aanar/Development/Javascript/projects/Userlike/apps/umf/node_modules/typescript/lib/tsc.js:44587:17)
    at addTypesToIntersection (/home/aanar/Development/Javascript/projects/Userlike/apps/umf/node_modules/typescript/lib/tsc.js:44611:28)
    at getIntersectionType (/home/aanar/Development/Javascript/projects/Userlike/apps/umf/node_modules/typescript/lib/tsc.js:44700:28)
    at instantiateTypeWorker (/home/aanar/Development/Javascript/projects/Userlike/apps/umf/node_modules/typescript/lib/tsc.js:46192:25)
    at instantiateType (/home/aanar/Development/Javascript/projects/Userlike/apps/umf/node_modules/typescript/lib/tsc.js:46166:26)
    at getReturnTypeOfSignature (/home/aanar/Development/Javascript/projects/Userlike/apps/umf/node_modules/typescript/lib/tsc.js:43416:47)
    at checkCallExpression (/home/aanar/Development/Javascript/projects/Userlike/apps/umf/node_modules/typescript/lib/tsc.js:56186:30)

So the crash happens in the first line of the following for loop, while trying to iterate symbol.declarations which is undefined:
  for (var _i = 0, _a = symbol.declarations; _i < _a.length; _i++) {
      var decl = _a[_i];
      var members = ts.getMembersOfDeclaration(decl);
      if (members) {
          for (var _b = 0, members_5 = members; _b < members_5.length; _b++) {
              var member = members_5[_b];
              if (isStatic === ts.hasStaticModifier(member) && hasLateBindableName(member)) {
                  lateBindMember(symbol, earlySymbols, lateSymbols, member);
              }
          }
      }
  }

I modified tsc.js to place some console.log statements. Right before the line that causes the crash:
  if (!symbol.declarations) {
    console.log(symbol);
  }

The result:
Symbol {
  flags: 33556480,
  escapedName: '__type',
  declarations: undefined,
  valueDeclaration: undefined,
  id: undefined,
  mergeId: undefined,
  parent: undefined,
  checkFlags: 0,
  type: Type {
    flags: 524288,
    id: 107,
    objectFlags: 16,
    symbol: [Circular *1],
    members: Map(1) { 'default' => [Symbol] },
    properties: [ [Symbol] ],
    callSignatures: [],
    constructSignatures: [],
    stringIndexInfo: undefined,
    numberIndexInfo: undefined
  },
  resolvedMembers: Map(0) {}
}

If I console.log(symbol.type.propertires) or symbol.type.members, I notice that it's pointing to @types/react-redux/index.d.ts.
It looks like it works when the for loop for symbol.declarations is wrapped with an if condition as below:
// The crash is due to `symbol.declarations` being undefined. So my naive workaround:
if (symbol.declarations) {
  for (var _i = 0, _a = symbol.declarations; _i < _a.length; _i++) {
      var decl = _a[_i];
      var members = ts.getMembersOfDeclaration(decl);
      if (members) {
          for (var _b = 0, members_5 = members; _b < members_5.length; _b++) {
              var member = members_5[_b];
              if (isStatic === ts.hasStaticModifier(member) && hasLateBindableName(member)) {
                  lateBindMember(symbol, earlySymbols, lateSymbols, member);
              }
          }
      }
  }
}

If there's anything more I can help with, please let me know.

Thanks for the debugging on this!

Well, after some digging with try/catch and ts.getSourceFileOfNode, I figured out the file that causes it and created minimal (to my knowledge) reproduction.
It seems it has something to do with dynamic import and esModuleInterop.
Reproduction: https://github.com/anilanar/tscbug
"esModuleInterop": true stops the crashing.

Here's a standalone repro:
// @file:empty-export.d.ts
export {}
// @file:index.ts
declare type Mocked<T> = { [P in keyof T]: Mocked<T[P]> } & T;
declare function mock<M>(_: Promise<M>): Mocked<M>;
mock(import('./empty-export'))

The type is the shim type created for a module by esModuleInterop. It has an export named 'default' that's an alias for the empty-export module. However, the shim type's symbol has no declarations, is missing a bunch of other properties, and is marked with TypeLiteral flags (among others). I don't know what to make of it.
I'm not sure whether the shim type's symbol shouldn't be used anywhere, or whether the mapped type instantiation should be dereferencing or ignoring the shim. @weswigham any ideas?

PR that introduces this crash is https://github.com/microsoft/typescript/pull/38673
@ahejlsberg

but is marked with TypeLiteral flags (among others)

Iirc, its marked as a literal because module objects get marked at literals so they can have inferred index signatures during assignment (since they're immutable). Honestly we should probably just err on the side of being better at handling a symbol without declarations more gracefully (the esmodule synthetic symbol is far from the only one without a declaration).

When new version with this fix will be released? Faced this crash while upgrading monorepo with angular projects to ng10 and ts 4.0.2..

And FWIW, I'm still getting this on v4.0.3

@artaommahe @JackCA Please try beta which is prerelease 4.1.0.

That did the trick!
On Thu, Sep 24, 2020 at 10:45 AM Anıl Anar<EMAIL_ADDRESS>wrote:

@artaommahe https://github.com/artaommahe @JackCA
https://github.com/JackCA Please try beta which is prerelease 4.1.0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/TypeScript/issues/40239#issuecomment-698490392,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACIJZ7GNKSEPDWO2LD3FPLSHOASFANCNFSM4QKLHKSQ
.

@anilanar cant use 4.1.x cause angular-cli does not support it. Also this issue marked as fixed by 4.0.3 (https://github.com/Microsoft/TypeScript/issues?utf8=✓&q=milestone%3A"TypeScript+4.0.3"+is%3Aclosed+) but it's not, still crashing 😕

Maybe the info is relevant, but i also ran into this by adding the resolveJsonModule flag to the compile options and dynamically importing some JSON. Upgrading to Typescript 4.1.0-beta solved the issue :+1:


Segfault while compile C++ wasm code using wamrc built with debugging AOT enabled

Segfault while compile C++ wasm code using wamrc built with debugging AOT enabled.
I compile wamrc with the commands described in this link, the debugging with AOT section.
Here is a small sample code.
#include <cstdio>
#include <map>
#include <vector>

int main(int argc, const char** argv) {
    std::map<int, int> m;
    m[1] = 1;
    std::vector<int> x = {1,2,3};
    printf("x[2] = %d", x[2]);
    int s = 0;
    for (int i=0; i <= 10; i++) {
        s += i;
    }
    printf("sum=%d\n", s);
    return 0;
}

I compile this source code with wasi-sdk using the following command
 /opt/wasi-sdk-16.0/bin/clang++ test.cpp -g -O0 -std=c++11 \
                                    -fno-exceptions \
                                    -Wl,--export=__heap_base -Wl,--export=__data_end -Wl,--export=free -Wl,--export=malloc -Wl,--allow-undefined\
                                    -o test.wasm

and compile the wasm to AOT with warmc:
wamrc --size-level=0 -o test.aot test.wasm

and wamrc crashed with segmentation fault.
the outputs are
Create AoT compiler with:
  target:        x86_64
  target cpu:    skylake
  cpu features:
  opt level:     3
  size level:    0
  output format: AoT file
[03:08:37:655 - 7FDF3C7F5C00]: function args number dismatch!:value number=1, function args=0
[03:08:37:089 - 7FDF3C7F5C00]: function args number dismatch!:value number=2, function args=1
[03:08:37:597 - 7FDF3C7F5C00]: function args number dismatch!:value number=2, function args=1
[03:08:37:878 - 7FDF3C7F5C00]: function args number dismatch!:value number=2, function args=1
[03:08:37:519 - 7FDF3C7F5C00]: function args number dismatch!:value number=1, function args=0
[03:08:37:593 - 7FDF3C7F5C00]: function args number dismatch!:value number=1, function args=0
[03:08:37:388 - 7FDF3C7F5C00]: function args number dismatch!:value number=2, function args=1
Segmentation fault (core dumped)

This problem only occurs when compiling code which invokes C++ standard libraries (for example, iostream, STL libraries).
Compiling codes which only call C libraries are OK, (pure C code is also OK)

Thanks for bringing this issue to our attention. I will try your code and see if I can help; I will come back to you ASAP

Sorry for the late reply. I have looked into this issue. Currently, AOT debugging is experimental and only has limited functionality. It aimed to support C first. It hardly covers any additional C++ features for now. The current function-to-function debug symbol mapping only supports basic functions, meaning it wouldn't work on a function incompatible with C(member function, template function, lambda function, etc). We may support it in the future, but unfortunately, it could be a while. You are more than welcome to use Interpreter debugging feature, it should support more functionality you need


Explicit Syntax for lifting number literals into spire

I've noticed that spire can be a bit rough around the edges when it comes to mixing primitive number literals with spire types. I think it would be worthwhile to add an explicit syntax for bring literals into spire. Concretely:
def foo[N : Field : Trig : NRoot] = {
  val n = (3.5).as[N]
}

This would make it clearer which spire methods are dispatching against primitive types, and make it possible to operate with fewer implicits.

:+1:
This syntax should probably live with the other syntax for literal values, and could look something like this:
implicit class IntAs(val n: Int) extends AnyVal {
  def as[A](implicit ev: Ring[A]): A = ev.fromInt(n)
}

(For Double literals, we'd want to use Field[A].fromDouble.)

If we wanted to get really fancy we could make these into macros to reduce the overhead when literal values are used (especially for zero and one).


[WIP] Eth ABI expose decodeArray

Description
Direct access to Ethereum ABI array decoding.  Fixes #1157 .
Testing instructions
Unit tests.
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] Prefix PR title with [WIP] if necessary.
[ ] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] I have read the guidelines for adding a new blockchain
[x] If there is a related Issue, mention it in the description (e.g. Fixes #<issue_number> ).

iOS tests added, Android next

Format changed to json format (e.g. "[49,50,51]")


DONT MERGE - enable validate build environment script

disable desktop tests

This change is

PR is added to the queue for testing as 1. task. (5642ba9)

Test (Fail) 93306024 build is completed (5642ba9)
See https://github.com/ThaliTester/TestResults/tree/933060245642ba9_DONT_MERGE_-_enable_validate_build_environment_script_larryonoff/ for the logs

PR is added to the queue for testing as 1. task. (bd573e9)

Test (Fail) 93306024 build is completed (bd573e9)
See https://github.com/ThaliTester/TestResults/tree/93306024bd573e9_DONT_MERGE_-_enable_validate_build_environment_script_larryonoff/ for the logs


PKG-4704 initial v12.4

Destination channel: defaults
Links

PKG-4704

Explanation of changes:

Part of CUDA 12.4 build, following conda-forge's pattern which was developed in conjunction with Nvidia. I don't see a need to stage these then release them all at once. They won't cause a problem released one at a time.
Please check the main branch too, this has just been forked
Changes made to adjust feedstocks for differences between conda-forge and defaults. Please see commit messages for description of changes.

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_3cvdrbrpvw/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:42: license_file_overspecified: Using license_file and license_url is overspecified.

===== ERRORS =====

clone/recipe/meta.yaml:42: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:42: missing_dev_url: The recipe is missing a dev_url
===== Final Report: =====
2 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_be25stfyb4/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:42: license_file_overspecified: Using license_file and license_url is overspecified.

===== ERRORS =====

clone/recipe/meta.yaml:42: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:42: missing_license_family: The recipe is missing the about/license_family key.
===== Final Report: =====
2 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_8aekde6q0j/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:42: license_file_overspecified: Using license_file and license_url is overspecified.

===== ERRORS =====

clone/recipe/meta.yaml:42: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:42: missing_license_family: The recipe is missing the about/license_family key.
===== Final Report: =====
2 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_ca79r26hq_/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:42: license_file_overspecified: Using license_file and license_url is overspecified.

===== ERRORS =====

clone/recipe/meta.yaml:42: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:42: missing_license_family: The recipe is missing the about/license_family key.
===== Final Report: =====
2 Errors and 1 Warning were found


feat: add open-mining field for miner

关联的Issues (Related Issues)

close
改动 (Proposed Changes)

附注 (Additional Info)

自查清单 (Checklist)
在你认为本 PR 满足被审阅的标准之前，需要确保 / Before you mark the PR ready for review, please make sure that:

[x] 符合Venus项目管理规范中关于PR的相关标准 / The PR follows the PR standards set out in the Venus project management guidelines
[x] 具有清晰明确的commit message / All commits have a clear commit message.
[x] 包含相关的的测试用例或者不需要新增测试用例 / This PR has tests for new functionality or change in behaviour or not need to add new tests.
[x] 包含相关的的指南以及文档或者不需要新增文档 / This PR has updated usage guidelines and documentation or not need
[x] 通过必要的检查项 / All checks are green

Codecov Report

Merging #107 (a76372d) into master (1615409) will increase coverage by 0.02%.
The diff coverage is 68.42%.

Additional details and impacted files

@@            Coverage Diff             @@
##           master     #107      +/-   ##
==========================================
+ Coverage   41.87%   41.90%   +0.02%
==========================================
  Files          32       32
  Lines        3023     3026       +3
==========================================
+ Hits         1266     1268       +2
- Misses       1574     1575       +1
  Partials      183      183

Flag
Coverage Δ

unittests
41.90% <68.42%> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

auth/transport.go
55.55% <ø> (ø)

cli/miner.go
0.00% <0.00%> (ø)

storage/store.go
52.81% <ø> (ø)

storage/mysql.go
56.07% <60.00%> (ø)

auth/jwt.go
57.70% <100.00%> (+0.15%)
:arrow_up:

jwtclient/auth_client.go
59.52% <100.00%> (ø)

storage/badger.go
65.06% <100.00%> (+0.11%)
:arrow_up:


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 2895 ms

Resolved: Bofrost.at performance has improved in 19e691c.


Home page examples hooks and classes

Upgrade Flow version and add a tab switcher to switch between hooks and class examples on homepage
Closes: #2833

The second example (setInterval) requires the use of useEffect, so I'd rather add a simple counter example (+, - buttons and a value) for the stateful example, add use this for "lifecycle" example.
Any ideas/comments?

a welcomed change that will probably require the approval of managers because it involves the frontpage of the website. Thank you for this pull request and i hope it will bring things forward!

@gaearon Are you rewriting all the examples using hooks and functional components?
I'd like to help if that's the case :) The tutorial, with classes, is a bit intimidating

i just updated hooks section for useState in functional component if anyone is maintainer here they can merge/review my pull request here 👉https://github.com/reactjs/reactjs.org/pull/2842


Feature request adding a wifi mouse

Is your feature request related to a problem? Please describe.
It would be great if you add a Wifi remote mouse feature to the Localsend application.
Describe the solution you'd like
It would be great to have a mouse that can be controlled from a phone.
Describe alternatives you've considered
No response
Additional context
No response

Hello, this is out of the scope of LocalSend (a file sharing app to share files locally).

I understand, thank you for your interest.


Reset expiry of entries in the neighbor cache on packet reception

Tentative fix for https://github.com/smoltcp-rs/smoltcp/issues/965
This does solve the issue in my testing, but I'm not sure if it's the "right thing to do".

I'm not sure either if this is the correct thing to do, I'll have to look into it.
I don't think you need to pass the timestamp every time, you can just call self.now() I think.

Thanks for the pointer, I'll fix!

@thvdveld  Another way to solve this is to instead mark the entry as "in use" by a connection to not only evict on "the one with the shortest timeout".
So it would instead be "evict shortest timeout that is not used for a connection" and if all are used by connections then go by the original rule.
This would be even more robust.
If I really push it with this fix applied I can still make the connection unstable.

From what I understand, Linux [1] does not remove the one with the shortest timeout, they just return an error and drop the packet. However, they have a neighbor cache size of 1024 neighbors. We can also increase the size by using the iface-neighbor-cache-count-1024 feature flag isntead of the default iface-neighbor-cache-count-4. (Have you tried this btw?)
What Linux also does is updating the used flag [2], which this PR handles.
Linux keeps track of just more than reachable, etc. [3], which is based on Neighbour Unreachability Detection I think, specified in RFC 4861 Section 7.3. In the end, we should update our implementation to follow this.
I think that for now, updating the expiration timestamp is good enough. What do you think?
[1] https://github.com/torvalds/linux/blob/master/net/core/neighbour.c#L469-L524
[2] https://github.com/torvalds/linux/blob/master/net/core/neighbour.c#L501
[3] https://github.com/torvalds/linux/blob/master/net/core/neighbour.c#L1280-L1490

I agree we need some kind of "refreshing" MACs to prevent them from expiring while in active use. I'm not sure what's the best way though. There's historically been a few nasty bugs around this, about bad cache entries in broken networks. For example this https://github.com/smoltcp-rs/smoltcp/commit/6210612be047ee706ac729015cdbc2581e6ae9a3 .
I'd be comfortable with this if we made the check stricter. Update expiration if all these hold:

Dest IP is unicast and ours (ie packet is explicitly directed at us, we ignore broadcast/multicast. It feels to me like these are more likely to be broken, like the above linked issue)
Src IP matches the neighbor cache
Src MAC matches the neighbor cache

I think that should fix your issues while keeping the chances of brokenness low.
The ideal fix would be to get "forward progress" confirmation from higher layer (e.g. TCP ACKs coming in for new data) like Linux does, but that's a more involved refactor.

@thvdveld on the comment of iface-neighbor-cache-count-1024, I have not tried this. However I did increase it now after testing these fixes as a small number can still cause issues.
I set it to 32 in my testing, and could go higher.
1024 seems like a lot though, wouldn't that eat like 20kB of RAM?

I've test-run this over night in the old system that broke about every 30s with the old iface-neighbor-cache-count-4.
Now there was almost no failures at all over the ~15 hour test period.

@thvdveld on the comment of iface-neighbor-cache-count-1024, I have not tried this. However I did increase it now after testing these fixes as a small number can still cause issues. I set it to 32 in my testing, and could go higher.
1024 seems like a lot though, wouldn't that eat like 20kB of RAM?

1024 is indeed a lot when used on embedded. I looked at Contiki-NG and Zephyr, and they do 16 and 8 respectively. Maybe we should make it 8 by default in smoltcp as well.

Yeah, the 4 is a bit too conservative for a good default. Do you have any preference @Dirbaio ?

I tentatively updated the default to 16.


Comid

Not sure what happened with the commits. I thought I had deleted a bunch of mistakes, but there they are!
This does not actually switch dart-pad to use comid. The import in codemirror_module.dart needs to be changed to do that.

@stevemessick, 1 question, 1 nit. Can you update your PR? Looking forward to playing with comid!

I forgot to set user.email to<EMAIL_ADDRESS>for this repos. I have
done that. I thought I was already set up to use my personal email, though:
<EMAIL_ADDRESS>On Mon, Mar 9, 2015 at 3:04 PM, googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request.
It looks like this may be your first contribution to a Google open source
project, in which case you'll need to sign a Contributor License Agreement
(CLA) at https://cla.developers.google.com/.
If you've already signed a CLA, it's possible we don't have your GitHub
username or you're using a different email address. Check the information
on your CLA https://cla.developers.google.com/clas or see this help
article on setting the email on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
Once you've done that, please reply here to let us know. If you signed the
CLA as a corporation, please let us know the company's name.
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/dart-pad/pull/126#issuecomment-77953564.

lgtm! Merging...


composite generators don't work (with fix)

I tried to add a composite-factory-electricity-1-b-generator to my power network.  The network showed the factory icon in the "Electric network info"/"Production" tab, but it was showing a production of 0W; and when I disconnected it from existing generators, it still showed 0W and did not power a radar that I placed.  Also, there was a red "no power" icon on the composite generator.
I compared the prototype information of the composite-factory-electricity-1-b-generator with an Infinity Accumulator (from Editor Extensions), and noticed one difference: the (working) Infinity Accumulator had a non-zero buffer capacity in its energy source, and your composite generator had a zero buffer capacity.  (To see the prototype information in-game, hover over the entity and press Control-Shift-F .)  So I changed composite_factories_base_1.0.3/data.lua to change the buffer capacity.  Then, the generator I had placed still had a zero buffer capacity; but picking it up and re-placing it fixed that problem.  After I did that, the generator had a non-zero buffer capacity, and was able to power my network.
The exact change I made was to change line 1225 of data.lua from:
                buffer_capacity = nil,

to:
                buffer_capacity = args.energy_production,

Thanks for reporting this. This seems to be an omission of mine. When generators are created the buffer_capacity is provided, it was just not being used to create the prototy. I've issued a fix and will put it on the mod portal soon.


Clean up git history on master

The history is really messed up. We should make id as close to task-linked as possible.

done half year ago


An existing connection was forcibly closed by the remote host.Could you help me?

What is the issue?
PS C:\Users\Administrator\AppData\Local\Ollama> ollama run llama3
pulling manifest
Error: pull model manifest: Get "https://ollama.com/token?nonce=1AKxIvoajv-NPGYukzWJcA&scope=repository%!A(MISSING)library%!F(MISSING)llama3%!A(MISSING)pull&service=ollama.com&ts=1713578711": read tcp <IP_ADDRESS>:53463-><IP_ADDRESS>:443: wsarecv: An existing connection was forcibly closed by the remote host.

(https://github.com/ollama/ollama/files/15046570/server.log)
OS
Windows
GPU
Nvidia
CPU
Intel
Ollama version
No response

Hi @risingnew can you tell us What version of Ollama you are using?

the latest vision 0.1.32

Thankyou for helping

Hi @risingnew can you tell us What version of Ollama you are using?

Latest version 0.1.32,Thankyou

@risingnew I'm not on Windows, so I cannot reproduce Windows Issues. Did you try to load another model? Do you see same Issue?
In which country are you? Are at a home internet access or at a company internet access?

@risingnew I'm not on Windows, so I cannot reproduce Windows Issues. Did you try to load another model? Do you see same Issue?
In which country are you? Are at a home internet access or at a company internet access?

Thank you. Do you mean the network problem is the cause of this problem? The same error occurred when I loaded the other models

@igorschlum Is there any way to manually download the LLAMA3 model? And manually start him.

you can ask someone who successfully download it to copy it for you.

i have the same problem, have you solved this?   At first I opened my vpn and tried a lot of time, it didnt work. but when i closed my vpn and repeated the command for many times it started to download. Maybe you can change your network and ping more times

The problem has been solved. Clash turns on tun mode, rule mode and system agent.

@risingnew do you use a VPN? Do you still have the issue?

ref: https://github.com/microsoft/WSL/releases/tag/2.0.0

参考： https: //github.com/microsoft/WSL/releases/tag/2.0.0
It may be caused by "wsl: localhost proxy configuration detected, but not mirrored to WSL. WSL in NAT mode does not support localhost proxy"

参考： https: //github.com/microsoft/WSL/releases/tag/2.0.0
It may be caused by "wsl: localhost proxy configuration detected, but not mirrored to WSL. WSL in NAT mode does not support localhost proxy"

I used the above method to install WSL, but still cannot use it

The same problem also troubled me for several days. Inspired by Saydoudou's reply content, I turned on the network accelerator's
'global proxy'<全局代理> or called netcard mode<网卡模式>, in order to completely open the terminal's proxy function, and the model downloaded quickly. Thank you Saydoudou, thank you all.

参考： https://github.com/microsoft/WSL/releases/tag/2.0.0可能
是由于“wsl: 检测到本地主机代理配置，但未镜像到 WSL。NAT 模式下的 WSL 不支持本地主机代理”引起的

我按照上面的方法安装了WSL，但是还是无法使用

It is recommended to change to win10 system.My computer at the company uses win11 system, but I still get errors frequently. The computer at home uses the win10 Pro system, and no error problems have been found.

This looks like a dup of #3504

Clash打开Tun模式，可能需要1-2分钟重试ollama run qwen2即可。

This looks like a dup of #3504

not the same.


No function list?

VSCode Version: Code 1.17.0 (be377c0faf7574a59f84940f593a6849f12e4de7, 2017-10-04T23:44:50.318Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author (truncated)
Version

project-manager
ale
0.21.1

code-gnu-global
aus
0.2.2

GBKtoUTF8
buk
0.0.2

vscode-markdownlint
Dav
0.10.1

githistory
don
0.2.3

python
don
0.7.0

prettier-vscode
esb
0.24.0

vscode-emacs
hir
0.1.1

changeEncode
lan
0.0.8

vs-color-picker
lih
0.7.0

vscode-clang
mit
0.2.2

atom-keybindings
ms-
3.0.2

cpptools
ms-
0.13.1

csharp
ms-
1.12.1

java
red
0.11.0

vscode-icons
rob
7.15.0

vscode-hexdump
sle
1.4.0

python-extended-snippets
tus
0.0.1

vscode-arduino
vsc
0.2.9

vim
vsc
0.10.1

vscode-todo-highlight
way
0.5.11

(5 theme extensions excluded)

Steps to Reproduce:

Reproduces without extensions: Yes/No

No function list?

I don't think this is something included in Code by default.
But you can try something like Code Outline plugin which will display something like this in the sidebar:

@smuuf thanks for point out the extension.
The feature request to provide this in VS Code is a duplicate of #5605


Brew doesnt play nicely with virus scanners

brew config output
HOMEBREW_VERSION: 3.0.11
ORIGIN: https://github.com/Homebrew/brew
HEAD: 8e11f03fa93b148e26044a331654241a2c307039
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ab461737d0420601affad3493035db582ad7a37f
Core tap last commit: 19 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: :0
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 12.0 build 1200
Git: 2.31.0 => /opt/homebrew/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.2.3-arm64
CLT: <IP_ADDRESS>.1.1610135815
Xcode: N/A
Rosetta 2: false

brew doctor output
Your system is ready to brew.

# btw normally I have /usr/bin before /opt/homebrew/bin because ... security reasons ... but it doesnt affect this issue

The brew doctor above contains no "Warning" lines.
What were you trying to do (and why)?
I was trying to install ffmpeg because I wanted to use ffmpeg.
I already diagnosed this issue - so I'll put it here. It seems temporary files are created in /private/tmp as part of the installation or download process - and then cleaned up
However it seems the Intego for mac virus scanner with realtime scanning keeps these files from being deleted momentarily resulting in random amount of errors of the form below
Error: Directory not empty @ dir_s_rmdir - /private/tmp/d20210408-2683-1k88ehp

Personally I think it would be good if brew could detect and/or wait for the virus scan to do its thing rather than just erroring.
As a workaround disabling active virus scans and switching back on solved the issue - but in an ideal world obviously virus scans should be taking place - so really it should be homebrew to fix this race condition.
What happened (include all command output)?
brew install ffmpeg

...

==> Summary
🍺  /opt/homebrew/Cellar/m4/1.4.18: 13 files, 658KB
==> Installing ffmpeg dependency: libtool
==> Pouring libtool-2.4.6_3.arm64_big_sur.bottle.tar.gz
Error: Directory not empty @ dir_s_rmdir - /private/tmp/d20210408-2683-1k88ehp

What did you expect to happen?
I expected ffmpeg to be installed without errors
Step-by-step reproduction instructions (by running brew commands)
1. Install Intego virus scanner for mac
2. Make sure Virus Barrier / Turn Real-time scanning is on.
3. brew install ffmpeg

but in an ideal world obviously virus scans should be taking place

We disagree. Virus scanners are redundant on macOS. This needs to be fixed in the virus scan software and not a volunteer-run open source project.

@MikeMcQuaid Are you saying "virus scanners are redundant on macOS" because you think you can't get viruses or malware on a mac? I'm interested in why you said it, as it certainly isn't a common view held amongst secops, although obviously there is much less malware and viruses around on mac than windows.
In reality lots of corporate governance require you to run and have turned on virus scanners on corporate machines, whether or not they are macosx, windows or linux desktops. From a corporate perspective, you are not just trying to protect your own staff from having viruses, but you need to protect your staff from inadvertently sending viruses to other people (even if they don't affect you) to stop your liability in case of passing them on to other entities.
Anyway if someone has the same problem, hopefully they'll find this issue and understand why. The interoperability and quality of homebrew is as you say - a matter for you.


[WIP] Open respective narrow on ios notification click

To be merged after server changes are merged https://github.com/zulip/zulip/pull/7080
This is untested though

Adding a WIP to the title of the PR. Remove it when you test and are sure it works.

Hmm ok, but after the server PR merges you'll have to test it out because of the provisioning profiles!

@kunall17 where are we on this for Android?

Waiting for the review in the server PR

Can be merged without the server PR getting in 👍


[DOCS] Add a link to the sponsors page

Description
It should look just like how it does here.

okay just resolving

Thanks for assigning me  PR is already opened please accept it


unable to bind to specific IP

i am running a webserver which is useing port 80 already, so how can i bind redirect.center to another IP so it does not conflict?

@Anzulo1984 I already did it. environment variable LISTEN_PORT and LISTEN_IP.


Little cleanup to previous PR regarding shader reflection

Description
Reverts change from previous commit that reflection wasn't cleaned up in debug.
Related Issue
#765
Motivation and Context
The shader reflection should be the same in debug and release builds. My change in the last PR was a little too quick. It would've required user code to filter the reflection on its own.
It would still be nice to tell the compiler not to remove parameters, but that's for another day.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Thanks!
(Interestingly, I spotted it during review and had some doubts if it would be OK (we ran into this issue a lot), but assumed it was part of the hash and working if you didn't have any issues so far with it -- I will make sure next time!)


ActionBar command to display text in the player's action bar.

I'll do this.. just putting down an issue so it's documented :)
Commit MSG reminder: #fix

(note to readers: There is already the mechanism action_bar to accomplish this, we just want a command form of it)

Implemented into Dev.


Stacked Line chart not drawing properly...

Any clue on why my stacked line graph is not showing all areas? v2.1
Fiddle:
https://jsfiddle.net/v6953mhj/1/

Looks like a bug of some kind

Resolved. Each data value has to be numerical. My data generation algorithm was creating series of strings.


Fix the background color bug when exporting video with the "random" background option

Set default bg to viser color in gs to fix strange bg color in rendering.

Training with random background is a feature not a bug.

Training with random background is a feature not a bug.

Hi! This modification won’t affect training, the background is still randomly picked . It only change the background color when exporting video.

I see. But the code here is quite confusing. Could you add some comments explaining the effect of setting this to a magic value?

I see. But the code here is quite confusing. Could you add some comments explaining the effect of setting this to a magic value?

Oh, the value is just the same background color as the one for viser. The training background logic is defined seperately, so this value would only work when it is not in training.

Yeah, I know. That's what I suggested for adding those comments above the line of change.

Yeah, I know. That's what I suggested for adding those comments above the line of change.

Comments added. Thank you for your suggestion.

This works as a patch, but what might be a more permanent fix is to propagate the background color set in viser into render crop_data so that this line gets called even if the scene isn't cropped


Concurrency for multiple OneView

Handling concurrency for multiple OneView support on:

Map for Redfish -> OneView authentication tokens;
Map for OneView resource -> OneView client.

Maybe we do not have to worry with concurrency for our maps of multiple Oneview, due the GIL of python.
Who is assigned to this task can see more about this here, for example.
After read about, let us know if is necessary keep this task.


LBM313 Bluetooth LE Compatibility?

Is this compatible with the LightBlue Bean?

I couldn't find their Bluetooth SDK Documentation.
All I found was http://legacy.punchthrough.com/bean/the-arduino-reference/ and that'd be a definite no (no access to lower-level Bluetooth APIs available).

Too bad, thanks for your quick reply!


docs examples: input[placeholder]: "Enter email" => "Email"

For uniformity, as we don't seem to use this "Enter " phrasing for placeholders anywhere else.
IIUC, we should probably be using an example email address (like<EMAIL_ADDRESS>instead for most of these (unless the label is invisible), but I'll leave that for someone else to look at as a follow-up.
CC: @patrickhlauke for review

LGTM


Don't use C/C++ signed integer overflow rules when folding scalars

SPIR-V treats signed integers as two's complement. It does not treat overflow as undefined behaviour. The folder should utilize SPIR-V rules, not C/C++ rules.

I believe we have fixed most of these.


feat: 🎸 packages updated

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jamashita seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Feature/version2

Coverage decreased (-1.2%) to 98.827% when pulling e4bb7b79c5e4f66b9c140627e58b0b9c8b65ac79 on feature/internals into 7391efd7119c134ea1b28a8ed7f9ed4b1a972ed9 on master.


chore: add short endpoint

This PR should start integrating the short endpoints as discussed here:
https://github.com/LuanRT/YouTube.js/discussions/482
As I still do not have the overview over the library, the changes maybe do not fit to the library still.
Any help is welcome. :)

Are there any other recommendations left regarding this PR. 😅

+1 I'd very much to get shorts as well, thanks for the work

Please fix the linting warnings triggered by this pull request (added code suggestions in the relevant places).

Fixed eslint erros as you suggested and rebased PR. :)


Video in tutorial not available

An error occurs while trying to play the video in the tutorial How to Publish
This is what I get on screen:

The same error occurs while trying to open the video directly in YouTube. Could you please check it? Thanks.

Thanks @ma for the fast reaction! Yes, downloading is the best option, definitely.
I still get the YouTube error, but I am happy to hear it is a kind of local issue. Thanks.


Automated cherry pick of #11720

Cherry pick of #11720 on release-7.6.
/cc  @koox00
NONE

Trying to auto merge this PR.


New filterResults search mode

I have implemented a search result filtering mode, #47.
I'm currently testing it in my application; it seems to be working rather well.
Can you please review and let me know if there's anything else I can do to get it merged?
Thanks,
-Roman

Thanks for your effort at attempting this feature.
However, during my testing I did come across a number of issues.  Mainly around the expand / collapsed state, illustrated in the following two screenshots.
1. Parent icon indicates collapsed state, but it's expanded

2. Similar issue when only a subset of children match the search criteria

Long story, short, I had a look at your code, then hacked around with it and found that most of it was unnecessary and slightly convoluted.  I can appreciate the angle you where coming and for the most part it made sense.  However, based on my understanding of the design I can see a much simpler and elegant way to implement this feature.
As a result, I have hacked around with your feature and put together a basic proof of concept of how I believe it would be best implemented.  It's not finished by any means, the code needs some serious cleaning up (please see TODOs) and I haven't touched tests (which now fail), example or documentation etc.  However, based on the limited testing I've had time to do, it appears to work correctly.
I couldn't update this PR, or push to your branch, the only way I can see to share these changes with you is to add as attachments.  Please see files bootstrap-treeview.js.txt and bootstrap-treeview.css.txt below.
bootstrap-treeview.js.txt
bootstrap-treeview.css.txt
It would be helpful if you could finish this feature, continuing along the lines that I suggest.  Otherwise I will eventually get around to doing it myself, probably not for a few weeks.
At this point, my only remaining concern is the relation between revealResults and filterResults.  In order for filterResults to work it implies revealResults.  I'm wondering if there's a better way to define these options, but at the very least this relationship would need to be documented.

Thanks for looking it over!
I went with an approach that doesn't introduce any extra 'filtered' node state. My reasoning was that since you already have the set of matched nodes, anything that is filtered is the set difference between all nodes and the matched nodes.
I'm also using the set differences between the previous matched nodes and the current matched set in order to only show/hide the nodes that changed since the previous search; that should mean fewer DOM updates. These things do complicate the code.
Regarding the collapsed/expanded state issues that you encountered - that was actually done by design. If a parent node has filtered children, it's state remains 'collapsed', so that you could still expand the parent and see the list of filtered children. That's handled by the call to _updateExpandedStatusOnFilteredSearch.
Granted, I think it's a little confusing - it may be best to correct it by keeping it in 'expanded' state, and introducing another icon to expand all filtered children.
Or we could just hide the collapse/expand icons when doing result filtering and keep it simple.
In your attached code, if you filter by, say 'Parent', you'll get 'Parent 1' with a collapsed icon - which is also confusing (that's what the call to _updateExpandedStatusOnFilteredSearch is designed to fix).
-Roman

I think a filtered node state would be preferred. Although the code I proposed is far from optimal at this point, it could be improved drastically using a separate node state along with findNode and/or $.grep style methods to isolate the minimal DOM updates.
Updating the expanded/ collapsed state is something I really don't think we should be doing, with the exception of revealNode which handles the expansion from leaf to root node.  The filter method should change only a nodes visible state, it shouldn't be changing expanded state.  For example, when you clear a search filter I would expect the tree to return to it's previous user generated state.
However, having looked back over the functionality provided by your implementation vs my quick hack.  I do prefer the fact that your implementation allows the user to click expand to reveal the filtered children.  As a user you can apply a filter and still use the tree to navigate.  It's just the icon displayed is a little confusing, as well as the fact that you can view filter results i.e. the filtering is not enforced.
Perhaps I need to revisit your implementation and see if we can find some middle ground between the two approaches.  I'm a bit busy with other things at the moment, but will try and schedule some time soon.

Hi guys
I just implemented the current version of the bootstrap treeview and it's fantastic. Thanks! The filter feature is something I would really love to have, but my coding isn't good enough to contribute.
Any idea, when the feature will make into a stable version?

Charles

How do I use this filter feature? Thanks,
Carmen

Any update on this?


Provide Cryptographic hash function backed by native code

Android supports...

Name
Supported (API Levels)

MD5
1+

SHA-1
1+

SHA-224
1–8,22+

SHA-256
1+

SHA-384
1+

SHA-512
1+

template API: https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest

Implemented for 3.7


ENT-4236 | added chunked_queryset utility.

Description:
Added chunked_queryset utility to slice large querysets into small batches to Iterate through.
JIRA:
ENT-4236
Dependencies:
List dependencies on other outstanding PRs, issues, etc.
Merge deadline:
List merge deadline (if any)
Installation instructions:
List any non-trivial installation
instructions.
Testing instructions:

Open page A
Do thing B
Expect C to happen
If D happened instead - check failed.

Reviewers:

[ ] tag reviewer

Merge checklist:

[ ] All reviewers approved
[ ] CI build is green
[ ] Version bumped
[ ] Changelog record added
[ ] Documentation updated (not only docstrings)
[ ] Commits are squashed

Post merge:

[ ] Create a tag
[ ] Check new version is pushed to PyPi after tag-triggered build is
finished.
[ ] Delete working branch (if not needed anymore)

Author concerns:
List any concerns about this PR - inelegant
solutions, hacks, quick-and-dirty implementations, concerns about
migrations, etc.

@robrap I have incorporated feedback. Could you please review it again?


Problem when running with Swift mode detection script.

The Swift mode detection script yield lettercase output: Light, Dark
The Vim script here is checking the lowercase strings:
https://github.com/kat0h/vim-auto-color-switcher/blob/1208a8d95a7adc13e68ebb4b78b98c75b68bfaea/plugin/auto_color_switcher.vim#L39
We should either lowercase the output of the Swift script or fix the Vim script.
Anyway, very nifty plugin. Cheers.

thank you for your issue
Vim's comparison operators ignore the case of strings.
But the current code looks strange
Fixed


Update request notification bell to ignore the discarded/canceled requests

Summary
It has been brought to our attention that the # of pending requests in the upper right-hand bell notification is incorrect sometimes. This causes our users to believe there are requests that are pending when there aren't. Let's ensure that the logic to present the # of pending requests is valid.
Things to Consider
I suspect that this is caused by the system not excluding requests that been canceled (discarded_at != nil).
Criteria for Completion

[x] It has been confirmed why the count of requests are wrong  (include this in the PR description)
[ ] Update the code to ensure that the upper right # of pending requests are correct.

Your suspicion is correct @edwinthinks , this is happening because discarded requests aren't being ignored.


NSKVODeallocate

Fatal Exception: NSInternalInconsistencyException
An instance 0x12f8d9400 of class UITableView was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x17404da70> ( <NSKeyValueObservance 0x1702c54e0: Observer: 0x0, Key path: contentOffset, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x17024ae00> <NSKeyValueObservance 0x1702c8030: Observer: 0x0, Key path: contentSize, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x17024afb0> )
I have this issues replied in crashlytics all the crashes in iOS 8 i add removeTwitterCoverView at dealloc.
any suggest idea
Thanks,

Take a look at the README.md, you should remove it in your dealloc method, otherwise memory leaks:
[scrollView removeTwitterCoverView];

@cyndibaby905 Thanks for your replay
I'm already add it into dealloc

Does the crash still occur after you added the remove code?

Yes i add the remove TwitterCoverView from the beginning, should that happened becouse i add it into slider menu

Set two breakpoint on your dealloc  method: one before the remove code and another after. Then print its observationInfo to see what happened.
BTW, does the function performed on main thread? This is a point.

the observer return  0x187002cb4 <+108>: adrp   x8, 58946
no I add the function direct on viewdidload

I mean,  does this function
[scrollView removeTwitterCoverView];

performed on main thread?

Sorry i mis understand you,
No it's not work main thread

Just make the call on main thread.

ok thanks


Allow 0 entry gigapage TLB

Currently, we require at least 1 entry in the gigapage TLB. We should configure with zero-width memories, muxes etc. so that we also support 0-entry gigapage TLB.
Can be done with minimal code changes with care, (referencing #669)

#803

Fixed with #803


[iOS] Can't get the upload progress

When trying to upload file to a server, I can't get the progress of the upload.
Feels like there is an error in the createUploadFromFile from the TusPlugin.m file.
I can't get to understand the error
Here it is :
Unhandled Exception: Exception: NSInvalidArgumentException { -[NSNull length]: unrecognized selector sent to instance 0x1f97b4238

The method concerned is this one (in tus.dart) :
 Future<dynamic> createUploadFromFile(String fileToUpload, {Map<String, String> metadata}) async {
    if (!isInitialized) {
      await initializeWithEndpoint();
    }

    // Ensures that metadata is not null by providing an empty map, if not
    // provided by the user.
    if (metadata == null) {
      metadata = Map<String, String>();
    }

    try {
      var result = await _channel.invokeMapMethod("createUploadFromFile", <String, dynamic>{
        "endpointUrl": endpointUrl,
        "fileUploadUrl": fileToUpload,
        "retry": retry.toString(),
        "headers": headers,
        "metadata": metadata,
      });

      if (result.containsKey("error")) {
        throw Exception("${result["error"]} { ${result["reason"]}");
      }

      return result;
    } catch (error) {
      throw error;
    }
  }
}

Issue was related to wrong header being sent. Closing this issue


⚠ Bofrost.nl has degraded performance

In a08fdf3, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 2668 ms

Resolved: Bofrost.nl performance has improved in f004e6d.


fix: hide do you work question

This PR addresses #677

[x] Addresses the issue in full
[ ] Addresses only certain aspects of the issue

Description
This PR is meant to hide the "Do you work in" question from the common application with the least amount of changes. Given the turnaround on release on Monday, I only focused on hiding it on the applicant information and household member information page.
How Can This Be Tested/Reviewed?
This can be tested by filling out the common app and noticing that the question doesn't appear on the address page nor the household member section.
Author Checklist:

[x] Added QA notes to the issue with applicable URLs
[x] Reviewed in a desktop view
[ ] Reviewed in a mobile view
[ ] Reviewed considering accessibility
[ ] Added tests covering the changes
[ ] Made corresponding changes to the documentation
[ ] Ran yarn generate:client and/or created a migration when required

Review Process:

Read and understand the issue
Ensure the author has added QA notes
Review the code itself from a style point of view
Pull the changes down locally and test that the acceptance criteria is met
Either (1) explicitly ask a clarifying question, (2) request changes, or (3) approve the PR, even if there are very small remaining changes, if you don't need to re-review after the updates

The slack thread seemed like it might have just wanted this removed on the primary applicant, just confirming that the HH one should also be removed?

@emilyjablonski Confirmed from Sarah that both should be removed!


Move nodeHasHealthyEndpoints to internal/k8s

Make it public and call it from {bgp,arp}-speaker.
Fixes #29

Needs rebase. Github got confused by the concurrent PRs, and my attempt to fix it in the online editor have just made things worse. Can you rebase+push to your branch from your client?


tooglr button

i complete the toggle button fot theme  @mdazfar2 ,
issue no #271
check it and merge it

Hi @mdazfar2  ,please merge it

Hi @mdazfar2 ,please merge it

@Varsani2520 please create after the website is host

Ok


Fix bug with horizontal scrolling on roster table

It doesn't work to scroll horizontally for me at the moment, this must have regressed at some point.  Related to https://github.com/studentinsights/studentinsights/issues/88.

Hey @kevinrobinson is this still an issue? Scrolling seems to work for me but I could be missing what the bug looks like.

@awalker4 Thanks for checking this out!  It still seems to be a problem to me, looking at https://somerville-teacher-tool-demo.herokuapp.com/homerooms/3.
It may be the display:block on #roster-table, which we might be able to remove and see if it helps.  In poking around in web inspector, removing that made scrolling work.  But then after refreshing the page scrolling just worked again, so I'm not sure but I suspect simplifying the CSS rules might help.

Roster table JS is getting rewritten entirely anyway so this may not be an issue on the new page.


Add consistency check in the ATOMIC_SPECIES card block

Validate species names in the ATOMIC_SPECIES card block. This will check that the atom names and the species names parsed from the pseudopotential file names are the same up to an optional underscore and/or optional digits.

One thing I can do is to create the reference json using the code of the print_test_comparison function. Or I could modify the function here to add a validate_species_names parameter.

I think it would be ok to either add a flag, or just hard-code validate_species_names=False in the print_test_comparison function. Up to you if you want to add that to this PR.

I've just set validate_species_names=False here, since if the test is supposed to fail there's no need for creating the json comparison.

I've just set validate_species_names=False here, since if the test is supposed to fail there's no need for creating the json comparison.

Perfect, thanks again @asle85!


Remove object by ID

Hey,
thanks for the nice work. I wanted to remove a mesh that I added, but the functionality to remove by id seems not implemented yet. This is currently a critical point for me. Any plans on implementing that in the near future?
Best

This functionality has just been added. You will also need to pull the latest changes in https://github.com/petercorke/robotics-toolbox-python. You can now remove by id or by object for example


Error in code or paper?

Hi, nice work first of all!
I stumbled across the relu activations in the code:
x = x + self.down3(self.relu(x_)) x_ = x_ + F.interpolate( 				self.compression3(self.relu(layers[2])), 				size=[height_output, width_output], 				mode='bilinear')
https://github.com/ydhongHIT/DDRNet/blob/ba659f9ec358f9ef55dfea00f5e63dae6ad3efd9/segmentation/DDRNet_23_slim.py#L312
In the paper in Fig. 3 there are no activations after blocks, but only after the bilateral fusion. Now I'm wondering what is correct?

Hi, nice work first of all! I stumbled across the relu activations in the code: x = x + self.down3(self.relu(x_)) x_ = x_ + F.interpolate( self.compression3(self.relu(layers[2])), size=[height_output, width_output], mode='bilinear')
https://github.com/ydhongHIT/DDRNet/blob/ba659f9ec358f9ef55dfea00f5e63dae6ad3efd9/segmentation/DDRNet_23_slim.py#L312
In the paper in Fig. 3 there are no activations after blocks, but only after the bilateral fusion. Now I'm wondering what is correct?

Hi, please follow the code. The pre-trained models work well with the current codes. In fact, one relu won't affect performance a lot.


Prime Number

💥 Proposal
Check if a given number is a Prime Number or not.
e.g :
Input :
Enter a number : 13
Output :
13 is a Prime Number.

Note - Add both iterative and recursive approach.
Do read the Contributing Guidelines on Pull Requests.
Languages Supported :

C :
CPP :
Python :
Java :
JavaScript :
GO :
C# :

I would like to contribute in C.

i would love to this task. please assign this to me. also i have very good knowledge of ds and algo!

i would like to contribute in java @atarax665  @plazzy99 @iamrajiv  pls assign this to me

Can I help in Java? Thank you!

i would like to work on on python on this assign me

I would like to work on this in c++

@atarax665 Can I work on this in Java?

@atarax665 @plazzy99 @iamrajiv Can yo assign the solution of this problem in C-sharp.

@atarax665 @iamrajiv  can I take this issue in Python, if yes then kindly assign me the issue

Hello , i would like to do this program in Java @iamrajiv

Can solve this in Kotlin if required!

https://github.com/ErzaTitania-2001/NeoAlgo/blob/ce11e4200d5ca4be394740904d54f58ff5086d0d/Java/cp/Prime.java
Iteratively as well as recursively done in Java.  Please review it.

@atarax665 @iamrajiv please review my PR!


Uno R4 Minima does not re-attach after upload sketch larger than 65000 bytes

After upload of a large sketch, I don't hear the ding-dong of the re-attaching serial port, the serial port is missing in the Windows Device Manager and the Arduino IDE Serial Monitor says: 'no monitor available for the port protocol dfu'. After some seconds, Windows says 'USB device not recognized'.
For sketches larger than ~ 65000 bytes, this happens 19 out of 20 times after upload of the same sketch binary. When the bin size is below 64000, the problem does not occur.

Mystery solved: the R4 is very picky on the USB cable. Bought a brand USB-C to USB-C cable and all problems are solved. The cable is more expensive than the R4 board :-(.


Has ARCore for Unreal been dropped ?

Hi everyone,
I saw that Unity uses the 1.9 release of ARCore where Unreal is still on 1.7 (https://github.com/google-ar-unreal/UnrealEngine/releases).
For the need of a project which requires only the AugmentedImage part, I also saw that you can now stabilize image tracking by creating a Global Anchor and I reaaaaly need that feature.
So just for asking if ARCore in Unreal is still updated.
Best regards everyone.
Alexandre

You should get all those features you talked about through the ARCore 1.9 APK automatically, even though Unreal is still on 1.7.

I think that's exactly the question - will ARCore be updated in UE4? and when? Looking through the roadmaps and after trying asking them on socials with no answers, things don't look very promising on this end...

Well that's a shame because I really need these featur explained in the official documentation :
Beginning with ARCore 1.9, you can use getTrackingMethod() to determine whether ARCore is currently tracking the image based on where the image is currently being detected in the camera view (FULL_TRACKING), or based on its most recently detected position in the world (LAST_KNOWN_POSE).
It's to know if I can use the currently tracked GetLocalToWorldTransform() to make an average location of my actor.
So @bopangzz do you know how to integrate this feature in the source code of the engine ?
Best regards,
Alexandre

Its sad to see this type of thing happenning! Now see that unity is the only alternative...

Well Apple's ARKit seems to be still on race, so I will be switching over it.
But yeah due to the fact that you can combine Vuforia for image detection and ARCore to the device tracking part, it's a good alternative too.

So! I have news! During today's UE4 Twitch live stream I've asked them about ARCore updates and they've got some feedback from the team responsible for it! They've confirmed v1.7 to be implemented in the next ue4 release 4.23 and looks like the plan is to update it in a per UE4 release rate. So, not perfect but at least it's been worked on and not dead! :D

Hi, does anyone know if there was an update or something in android that break augmented images? i have a project that was working and now is not working anymore, same code that worked before is not working now, and i tried to update the code and no working either, the world tracking with AR Core is broken for me, it drift and there is no way to make it more stable, i am using UE4.21 compiled from source using the Git ARCore branch and testing in a Galaxy Note 9 with all the updates. Dones anyone is having the same issue? or have any tip to fix the issue? thanks!

Super excited to use the new image global anchor tool with unreal, in the mean time is there anyway to build this feature without the new 1.9 version?
I'm looking to sync the position my seen by pointing the camera at a poster, but most of the scene will be outside the frame of the image

@BryanChrisBrown For now you can't. You have to go on Unity which have the 1.9 features already implemented or just wait :/

Does anybody have new informations on the status of the UE4 ARCore branch?

Hi @MatzeOGH ,
Well, refering to https://trello.com/b/TTAVI7Ny/ue4-roadmap. The 1.7 will be integrated in the binary install of UE aaaaaand that's all.
We don't know if the 1.9 integration is on the pipes.
If you have the necessary funds, I advise you to switch to ARKit if you really needs world tracking features.
Hope this helps.
Alex

Guys I know it's far from ideal. But they said their plan is to update the plugin one version per engine (ue4) release. So I bet next ue4 release there should be an update for arcore, the next one should another update etc. But yeah we shall see. Also it would be nice if we bother epic with this in the forums etc. So that they get to see there are users that actually need/use it! 😀

Hi,
It was 6 months ago that ARCore for Unreal Engine was last updated. Can we have some updates regarding this issue. Allot of people are waiting for answer. When will ARCore 1.9 will be released for UE4? @bopangzz can you please tell us more about this? Tnx!

UE4.23 updated to 1.7, but nothing on the roadmap for the next release, guess I'm switching to Unity -.-. I use UE4 for my portfolio stuff and loved it, was hoping I could make AR stuff with it, but apparently, it was a bad decision to go with UE4 for AR.

From what I've seen the compiled release version of 4.23 now uses 1.9 (Open and look at the plug in - 4.22.3 used 1.6 (!) while 4.23 at this writing is using 1.9). They may not have demos or blueprints set up completely (if at all) but I think you'll see, for example, that the AugmentedImage demo, for example tracks the frame now in real time (you can lift, tilt the image and the frame will now follow well in real time where that was unsupported before).
I count myself as part of the issue here on the lack of upgrade, but remember, we're a community using open source software with the ARCore dev kit at our disposal. I know everyone's time is lacking, including my own, but we can write our own routines when this upgrades ourselves.

Where are you getting 1.9 from? It uses 1.7 - which they clearly stated before release was going to be the case.
If you look at the plugin window it clearly says 1.7.0.

Interesting. I should have been more succinct. I am not going by plugin labels or documentation but what is actually in the code - in this case an XML file which appears to compile the 1.6 for 4.22.3 and 1.9 for 4.23 when I look at the plugin code in the respective engine version. I should iterate again that this is not from any branch on git but from what was released from Epic as available from the engine library launcher. It wouldn't surprise me if you snagged a more recent version of 4.22.3 than I had at the time that had 1.7. If I am misinterpreting this snippet of XML, I apologize, but that's how it appeared to me when I wrote the above.
I've screen shot for your convenience how I see this in Visual Studio 2017 and have snipped/pasted the 'about' part of the version number of the editor that corresponds to the engine I am using for easier reading and have done this for both engine versions to show you where I am getting this.

My repost from another thread about this issue:
Wow, UE4 just launched version 2.24 and left the ARCore version at 1.7... We were waiting for 10 months... I had a little bit of hope for 2.24 but now I don't know it anymore. If they won't notify us on the future of ARCore in UE4 and when they will update it to the latest ARCore version, I think I will switch to Unity for the project that I'm working on...

Ithink they're re-writing everything to work with jus OpenXR instead but both that and google to incorporate ARCore in the OpenXR will take too long for me.I already started to follow some tuts on Unity, I'm already making the switch to Unity for AR projects.

Epic is upgrading ARCore via OpenXR:
https://trello.com/c/1j2x7UQZ

Updated

Still a ways behind:

Unity has been quite in parallel with the official ARCore versions. Seems like UE4 was left behind. Meanwhile, I've moved to other technologies instead of actual game engines for mobile AR applications. Thanks for the update, it's nice that at least the UE4 implementation wasn't totally abandoned.