Enable Flash Attention (Fused SDPA) for Starcoder

What does this PR do?
Integrate Gaudi Flash Attention v1 / SDPA in StarCoder decoder  model.
Implementation linked from #1101
cc @Jianhong-Zhang

@mandy-li @regisss  could you help review; much appreciated. Thanks

@abhilash1910, Could you provide the command line(s) used to test this code and resulting output you got?

Yes here is the command for running:
python run_generation.py --model_name_or_path bigcode/starcoder2-3b --use_kv_cache --max_new_tokens 100 --bf16 --batch_size 1 --use_hpu_graph --use_flash_attention  --flash_attention_recompute

The output for this interms of througput is like so (tested with 8k seq length, have to be tested with 16k):
Throughput (including tokenization) =<PHONE_NUMBER>6344133 tokens/second

@abhilash1910  have you run ci test? https://github.com/huggingface/optimum-habana/blob/main/tests/test_text_generation_example.py#L39
GAUDI2_CI=1 RUN_SLOW=1 python -m pytest tests/test_text_generationxxxxxx
Any change to the perf? should you update the test benchmark if so?

@abhilash1910 have you run ci test? https://github.com/huggingface/optimum-habana/blob/main/tests/test_text_generation_example.py#L39 GAUDI2_CI=1 RUN_SLOW=1 python -m pytest tests/test_text_generationxxxxxx Any change to the perf? should you update the test benchmark if so?

Yes let me check this. Thanks

@abhilash1910 , yes you need to pass in the options you would like to test similar to https://github.com/huggingface/optimum-habana/blob/main/tests/test_text_generation_example.py#L142-L143. Was that your  question?

@abhilash1910 , yes you need to pass in the options you would like to test similar to https://github.com/huggingface/optimum-habana/blob/main/tests/test_text_generation_example.py#L142-L143. Was that your question?

Yes @vidyasiv I did that, my question was whether I should update that in the file ?

@abhilash1910 , yes you need to pass in the options you would like to test similar to https://github.com/huggingface/optimum-habana/blob/main/tests/test_text_generation_example.py#L142-L143. Was that your question?

Yes @vidyasiv I did that, my question was whether I should update that in the file ?

Yes similar to https://github.com/huggingface/optimum-habana/pull/1138/files#diff-79a6901cfabcf88c3883bc23b29b287319b92f2565fd0a4b7b97522ce8254075

@abhilash1910 can you please fix code style?

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.

@yeonsily I have updated the style changes , could you help re-run CI and take a look thanks.


Use kernel 5.10

Issue #, if available:
#857
Description of changes:
Upgrade kernel version to 5.10 for kubernetes version above 1.19 1.22.
It's useful for wireguard transparent encryption, it also includes performance improvements for Intel Ice Lake processors and AWS Graviton2 processors.
More details here
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi, can I have input on this PR ?
Is it something possible ? Should we build additional ami with kernel-5.10 in the name ?
Thanks in advance for your response.

Hi @cartermckinnon , thanks for your response,
I'm pretty confident that it's will not break things, we already use this kernel with kops clusters without any issues (I agree with you, it's not the EKS ami)

I got feedback from the wider team today: we'll have to make this change in tandem with a Kubernetes release. While 5.10 has largely stabilized, it isn't as battle-tested as 5.4; and we shouldn't ask users to undertake this sort of upgrade in the middle of their k8s version's support cycle. I'll update the title to reflect this.
@rtripat @prasad0896 Do you think this is realistic for 1.22?

I modified the pull request to get the kernel 5.10 for kubernetes version >= 1.22 regarding your last comment. 👍

With Dirty Pipe I assume this upgrade may be more pressing?

With Dirty Pipe I assume this upgrade may be more pressing?

My .02: probably not exactly.
The sha of the fix for dirty pipe: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/lib/iov_iter.c?id=9d2231c5d74e13b2a0546fee6737ee4446017903
cinlin lists backported patches in: 5.16.11, 5.15.25, 5.10.102, 5.4.181, 4.19.231, 4.14.268, and 4.9.303`
At the time of this writing the latest ami (1.21.5-20220303) is still on 5.4.176-91.338.amzn2. Its yet unclear to me whether this kernel is modified outside the upstream versioning -- it'd be great to get confirmation from this team whether these amzn2 kernel versions are expected to precisely match upstream.
That is to say, the shortest path to patching dirty pipe seems to be 5.4.181, which is a somewhat distinct issue from upgrading to 5.10 -- since they're talking about bundling with a 1.22 upgrade, etc.

@cartermckinnon since EKS 1.22 has been released and this didn't land, is there any idea when we can get this kernel upgrade landed?

We're in a bind here, because:

At present, 5.10 isn't/wasn't stable enough to use as the default for 1.22, and we doubt that will change in time for 1.23.
We can't add a bootstrap flag for customers to opt-in to 5.10, because choosing a kernel at runtime isn't acceptable (it requires a reboot).
We can't ship a AMI variant for things like this, because it blows out our matrix and would change our support contract by requiring a deprecation path.

My best guess is that 5.10 will be the default kernel for the 1.24 release. In the meantime, if your workload necessitates 5.10, you should use a custom AMI.

For others that land here, my workaround for this issue, was to create an EKS node group based on the Bottlerocket OS. The officially supported image for EKS versions 1.20 and above is using kernel 5.10. It is a completely different architecture of a host system, so it might not be suitable for usecases that required deep modifications of the host environment. But if you are just looking to use features of 5.10 kernel in your workloads, like utilizing Wireguard, then Bottlerocket OS 1.5.3 (aws-k8s-1.20) can help.

@LCaparelli we're not aware of any active kernel CVE's in our current AMI's; it's possible the one you're referring to has already been addressed. Please follow the instructions here if otherwise.

@cartermckinnon could we get a status update on this for EKS v1.24 (November 2022 I think)?

@cartermckinnon @bwagner5 could we get a status update on this as the first EKS v1.24 AMI has been released and I don't see any mention of the v5.10 kernel? This is going to be a major issue if we can't use tools which require a modern kernel (e.g. eBPF).

You're correct, apologies for not updating the status here. Timelines haven't align as planned with 1.24 GA and the 5.10 migration; but we're working on it, and I expect 1.24 AMI's to use 5.10 before the end of the year.

@cartermckinnon does AL 2022 come into this discussion at all? Based on the docs it looks to be using kernel v5.15 by default. Is there a plan to move this to AL 2022 or to add an additional image based on it?

We do plan to use an AL2022 base when possible; my current forecast is 1.25 will ship atop AL2022, assuming the GA dates are reasonably aligned.


Throw deprecation warnings as exceptions in TestKit

Context
As a part of deprecation warnings improvement #3728 , we're going to suppress warnings from 3rd-party plugins by default. However, this would make plugin developers not aware of their usage of deprecated API. We should throw exceptions when deprecated API is used in TestKit, until disabled by developers explicitly.

Now that we have --warning-mode=fail, I think plugin developers can accomplish this on their own by running with that option.


:book: Update swagger OpenAPI spec

Updating swagger files to be up-to-date 2023-03-02 including changes from:

https://github.com/konveyor/tackle2-hub/pull/226
https://github.com/konveyor/tackle2-hub/pull/245
https://github.com/konveyor/tackle2-hub/pull/246
https://github.com/konveyor/tackle2-hub/pull/249

Some features of the API are not suported by the swagger generator (added comments to the source code lines). Some godoc lines were updated to cover at least part of the described API function to allow OpenAPIdocs generator parse it.

Can you: make docs-binding in the PR as well?


Added my Xprofile

Updated the repository with my Xprofile!

This pr have merge conflict, the last pr you opened was perfectly fine, why you closed that @khushi2762


🌱 Uplift Ubuntu to 22.04

/test-ubuntu-integration-release-0-5

/test-ubuntu-e2e-release-0-5

/test-ubuntu-e2e-release-0-5

/test-ubuntu-e2e-release-0-5

/test-ubuntu-e2e-release-0-5

/test-ubuntu-e2e-release-0-5

@mboukhalfa https://github.com/metal3-io/cluster-api-provider-metal3/pull/722 is merged, can you revert downstream pointing in this PR and run the tests again, thanks!

/test-ubuntu-e2e-release-0-5

/lgtm

/retest


Is it possible to auto-rebundle pre-bundled dependency on file change?

Description
I have these files:
src/
    scripts/
        script_a.js
        script_b.js
        script_c.js
    app.js
    main.js

main.js
import app from '@/app'

app.js
import script_a from "./scripts/script_a";
import script_b from "./scripts/script_b";
import script_c from "./scripts/script_c";

export default {
    script_a: script_a,
    script_b: script_b,
    script_c: script_c
}

script_a.js
export default () => {
    console.log("Hello from script a!")
}

script_b.js
export default () => {
    console.log("Hello from script b!")
}

script_c.js
export default () => {
    console.log("Hello from script c!")
}

The vite.config.js script is...
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  optimizeDeps: {
    include: [ "@/app" ]
  },
  resolve: {
    alias: {
      "@": path.resolve(__dirname, "./src")
    }
  }
})

Is it possible to re-trigger dependency pre-bundling automatically again when src/script_a.js, src/script_b.js, or src/script_c.js change without restarting the server?
Suggested solution
Add a feature or config. to re-bundle dependencies when they change.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

It seems like you should treat app.js as the source file, not a dependency. The optimizer only run when new missing dependencies registered, and I think there is no file watcher on these optimized dependencies.
However, if you want to do this, you could get the optimizer inside the Vite module and call the optimizer internal function registerMissingImport when file changed, here is a working demo, and you can modify on your demand

const rebundlingPlugin = (dep) => {
  let optimizer;
 // hacking
  const originSet = WeakMap.prototype.set;
  WeakMap.prototype.set = function (key, val) {
    const weakMapInstance = this;

    if (val?.metadata?.hash) {
      optimizer = val;
    }

    return originSet.bind(weakMapInstance)(key, val);
  };
  let watched = false;
  const onPrebundlingEnd = () => {
    if (watched) {
      return;
    }
    const depInfoIdx = optimizer
      ? optimizer.metadata.depInfoList.findIndex((info) => info.id === dep)
      : -1;

    if (depInfoIdx !== -1) {
      watched = true;

      const depInfo = optimizer.metadata.depInfoList[depInfoIdx];

      watchFile(depInfo.src, () => {
        optimizer.metadata.depInfoList = optimizer.metadata.depInfoList.filter(
          (_, idx) => idx !== depInfoIdx
        );
        Reflect.deleteProperty(optimizer.metadata.optimized, depInfo.id);
        Reflect.deleteProperty(optimizer.metadata.discovered, depInfo.id);
        optimizer.metadata.hash = ""; // force vite reloading
        optimizer.registerMissingImport(depInfo.id, depInfo.src);
      });
      return;
    }

    setTimeout(() => {
      onPrebundlingEnd();
    }, 1000);
  };

  return {
    name: "reprebundling",
    config() {
      onPrebundlingEnd();
    },
  };
};

please be noticed that this won't make a reloading of a cached module request, you still have to clear the browser cache to get the latest bundled content

Thank you a lot! I'll check this out.


AttributeError: 'YouTube' object has no attribute 'download'

Please help me understand what's going wrong.
I get the following error when i run this code:
import pytube
from pytube import YouTube
video_link = YouTube('https://www.youtube.com/watch?v=HZVG4itf9yw')
print('=====#####=====')
print(f'Downloading {video_link.title}')
print('=====#####=====')
video_link.download()
print('=====#####=====')
print('Done!')
print('=====#####=====')
Error:
VS-2:youvid_downloader user$ /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 "/Users/users/Documents/PYTHON DOCS/youvid_downloader/youvid_donwloader.py"
=====#####=====
Downloading Close Racquetball Serve
=====#####=====
Traceback (most recent call last):
File "/Users/user/Documents/PYTHON DOCS/youvid_downloader/youvid_donwloader.py", line 8, in
video_link.download()
AttributeError: 'YouTube' object has no attribute 'download'

The actual YouTube object does not have a download attribute. In order to download a video, you must access the streams and then download those.
You can check out the README, which has a quick start and explains it in plenty of detail: https://github.com/nficano/pytube/blob/master/README.md
If you just want the answer, all you need to do is:
video_link.streams.get_highest_resolution().download()
This will get the highest resolution video and download that. If you'd like to play around with it more (like getting different qualities, audio only, etc.) check out the rest of the README or https://python-pytube.readthedocs.io/en/latest/
Good luck!

The actual YouTube object does not have a download attribute. In order to download a video, you must access the streams and then download those.
You can check out the README, which has a quick start and explains it in plenty of detail: https://github.com/nficano/pytube/blob/master/README.md
If you just want the answer, all you need to do is:
video_link.streams.get_highest_resolution().download()
This will get the highest resolution video and download that. If you'd like to play around with it more (like getting different qualities, audio only, etc.) check out the rest of the README or https://python-pytube.readthedocs.io/en/latest/
Good luck!

Thanks for the response. Clarified the bugs. so because i didn't request for the streams i was calling the wrong function/method in the wrong place then?


Method to return Bearden ranked records from email's domain, send to Salesforce

@cfinsness and @sperle and I discussed the best way to automate for one very specific Bearden use case: A new email is created in Marketo; we need to know more about that contact; Bearden may contain a matching record based on the domain of the email.
Requirements

When a new contact is created in Marketo (and syncs to Salesforce), Salesforce can fetch matching data from Bearden (via Fulcrum via Redshift?)
Matching works based on the domain level; so, if the record in Marketo is attached to<EMAIL_ADDRESS>and the record in Bearden is example.com<EMAIL_ADDRESS>Salesforce gets the record for the Org based on the identifier example.com.

Not included here

A total automated integration that sends new records in Bearden to Marketo. For the next few months, this will continue to be done via manual exports (but we don't plan for this to be permanently manual).

cc: @gnilekaw

Adding a note here based on my conversation with @cfinsness and @nicholassewitz today: we discussed that the best way to tackle this may be to leverage Fulcrum to get Salesforce to talk to Redshift. Because there's a 1:1 sync between Marketo <> Salesforce, this would also deliver the Bearden info back to Marketo.
@tayapage6 , I'd like to get your input on this approach and prioritizing this work item before next round of engineering time on Bearden.

@sperle

Issue moved to artsy/collector-experience #253 via ZenHub


Hollow Object to JSON directly

Can anyone help me with this issue? I would like to serialize the object I get from Hollow to JSON directly instead of converting it to POJO class and use Jackson to serialize it.
Or do we have any way to get the POJO class after findMatch() method?
Thank you so much

Hi @maiakhoa, check out the HollowRecordJsonStringifier:
HollowRecordJsonStringifier stringifier = new HollowRecordJsonStringifier(true, true);

/// either
stringifier.stringify(hollowConsumer.getStateEngine(), "TypeName", ordinal);
/// or
stringifier.stringify(someHollowRecord);

Thank you so much @dkoszewnik. I can solve my issue now.
Currently, I'm converting the HollowRecord to POJO class manually (one by one field). Could you tell me which is the best way to handle that?


Visualizing video in Jupyter notebook

Is it possible to view a video in a Jupyter notebook? When pressing enter, the cell goes into code-editing mode instead of starting/stopping the video playback. I've tried using both %matplotlib auto and %matplotlib inline to change the backend in which the images are displayed in the notebook.
Thanks for your help.

Yes, you can. Just use %matplotlib notebook

Thanks! :-)


Duplicate where clause with .patchAndFetch

For example, user.$query().patchAndFetch({ password: 'asdfasdf' });
generates the following knex log:
{ method: 'update',
  options: {},
  timeout: false,
  cancelOnTimeout: false,
  bindings:
   [ '$2a$12$Y69zRWV3IX7S8cXMPR28aedrq35ZRWuKfziSINlxOTBnu40DweKt6',
     '2017-07-14T01:48:05.714Z',
     77,
     77 ],
  __knexQueryUid: '5a56fe5a-144a-4841-8470-7c67e6c75c95',
  sql: 'update "users" set "password" = ?, "updated_at" = ? where "users"."id" = ? and "users"."id" = ?',
  returning: undefined }

The where clause is duplicated.

Thanks for bringing this up. I'll fix this in the next patch version.


Fix default run loop mode crash

We're using FLAnimatedImage together with NYTPhotoViewer and are experiencing a crash since FLAnimatedImage v1.0.11.

This results in breaking changes introduced in the custom runloop feature added in the most recent update. FLAnimatedImage can be successfully instantiated without having the self.defaultRunLoopMode being set. I've added a getter to return the NSDefaultRunLoopMode if this is the case.
This crash appeared just recently because NYTPhotoViewer requires FLAnimatedImage ~> 1.0.8 so it's updated to 1.0.11 without changing its implementation of FLAnimatedImage. (Which shouldn't be necessary anyway as this FLAnimatedIMage update is just a bugfix release.)

Eek, thanks for fixing. I'm checking this out.

@kimar how exactly are you able to instantiate an FLAnimatedImageView without a run loop mode being set? Both of the designated initializers are overridden to configure it here.

@timonus
We're using [[FLAnimatedImageView alloc] initWithImage:] see here:
https://github.com/NYTimes/NYTPhotoViewer/blob/90d3057fc3a3a7e2b08c3478a712e41a6580378a/Pod/Classes/ios/NYTScalingImageView.m#L91
By using initWithImage: the common initializer isn't called.

@kimar I just dropped the changes that warranted https://github.com/atlassian/FLAnimatedImage/commit/40f26764b5baaabaee5105bf9aa610d7b245ecec by force pushing. I should've looked more closely at https://github.com/Flipboard/FLAnimatedImage/pull/127 before merging, thanks for pointing this out. I added an issue to resolve device builds here https://github.com/Flipboard/FLAnimatedImage/issues/129.

@timonus fair enough, but this line explcitly references a local .frameworks which, in my case, lead to a build error: https://github.com/atlassian/FLAnimatedImage/commit/40f26764b5baaabaee5105bf9aa610d7b245ecec#diff-475b30ff6b1fcb9602d1852a1c2a573fL76

@timonus fair enough, thank you!

By using initWithImage: the common initializer isn't called.

That's odd, -initWithImage: isn't documented as a designated initializer of UIImageView, but with some testing it seems like it is. -initWIthImage:highlightedImage: also is. Rather than overriding the getter as you've done here, I've opened a PR that overrides those two undocumented designated initializers to call commonInit like the others do. Please see here.


Updating Links in FAQ.md

This updates the broken links from Issue #1696 .

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

Great job, thank you very much!


ci(release): change ubuntu-18 to latest

GitHub didn't warn anyone and they're now limiting the amount of runners using ubuntu 18.
https://github.com/actions/runner-images/issues/6002
Thanks, @nickcharlton, for the tip.

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


communication lines not drawn correctly

The line (representing the communication between two classes) is not visualized correctly in the application level perspective. Right now it ends/starts above the class instances (see picture) , but the class instance should be the source/target point.

Temporary fixed with https://github.com/ExplorViz/explorviz-frontend/commit/03fd9f2bba8fc8997a3c8f10fb5a1b5570eabd93 (clipping problems still remain)

@Alexander-Krause The clipping problems are not trivial to solve. I think it is a reasonable assumption that we can never avoid crossings of communication entirely since you can just add arbitrarily many communication lines (which then become hard to follow anyway).
We could do something to avoid clipping of communication and components. One approach would be to compute a route for communication which does not go through components but lies on top of comoponents like a loose string from one clazz to another. This approach would be in need of some heavy raycasting (for computing intersections) or some complex geometric calculations.
Another approach, which I tried, is to use elliptic curves instead of lines. This leads to a result with practically no clipping issues. However, it makes communication hard to follow and looks more chaotic:

A possible solution would be to let the user decide whether he/she wants to use straight lines or curved lines for the visualization of communication. Additionally, the user should be able to configure the height of the curves. This could allow for both visually appealing and easy to follow communication lines (see figure below).
Since these properties should be persisted for multiple sessions, they should (also) be stored as user settings in the backend.

TODO: Close when #160 was merged

#160 was merged


gitAndTools: move everything to the top level

Motivation for this change
The comment at the top of git-and-tools/default.nix said:
/* All git-relates tools live here, in a separate attribute set so that users
 * can get a fast overview over what's available.

but unfortunately that hasn't actually held up in practice.
Git-related packages have continued to be added to the top level, or
into gitAndTools, or sometimes both, basically at random, so having
gitAndTools is just confusing.  In fact, until I looked as part of
working on getting rid of gitAndTools, one program (ydiff) was
packaged twice independently, once in gitAndTools and once at the top
level (I fixed this in 98c34901969).
So I think it's for the best if we move away from gitAndTools, and
just put all the packages it previously contained at the top level.
I've implemented this here by just making gitAndTools an alias for the
top level -- this saves having loads of lines in aliases.nix.  This
means that people can keep referring to gitAndTools in their
configuration, but it won't be allowed to be used within Nixpkgs, and
it won't be presented to new users by e.g. nix search.
The only other change here that I'm aware of is that
appendToName "minimal" is not longer called on the default git
package, because doing that would have necessitated having a private
gitBase variable like before.  I think it makes more sense not to do
that anyway, and reserve the "minimal" suffix only for gitMinimal.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thank you for doing this. Probably going to win my favorite PR of year award ;-)

Thank you for doing this. Probably going to win my favorite PR of year award ;-)

I'm also pleasantly surprised by this, thanks @alyssais


make Makefiles more robust

We occasionally run into issues where a bad setting or an error in one Makefile can lead to other rules defined in other Makefiles not working at all. This is especially pernicious when the effects happen outside the scope you might be working on, so they can go unnoticed and end up merged accidentally.
For example, a typo in the testing/tools/dagon/Makefile had an include line commented out. This resulted in all rules defined in all the Makefiles in testing/tools not working, which led to tests failing as their testing/tools/* dependencies could not be built.
In this case, we got lucky that this actually resulted in a CI test failure, since the test wasn't disabled by the typo, only the construction of some of its dependencies. If the test itself had been disabled, CI would have passed and we might never have noticed that we lost significant test coverage!
@dipinhora suggested that one way to avoid this is to change our makefile template from implicit if you don't specify as variable as false it's assumed to be true to a more explicit you need to define every variable as either false or true no matter what or else it's an error
that would prevent any mistakes in a single makefile from impacting other makefiles
this would also be more reliable than any simple check to validate that things are correct

Upon further consideration, my suggestion helps but will not outright prevent the issue. The following could still happen:

Makefile A sets VAR_X = false
Makefile A doesn't include rules_mk as it is supposed to
Makefile B incorrectly doesn't set VAR_X at all (thereby inheriting the false)
Makefile B includes rules_mk as it is supposed to

The developer is surprised when the functionality controlled by VAR_X isn't activated.
Granted, this is still better than the current state since it requires multiple errors (items 2 and 3 both instead of only 2) to have an impact.

I have a solution that completely isolates all makefiles from each other by using a unique variable in each makefile.
Now I just have to change 100+ makefiles... 8*/


⚠ Samsung has degraded performance

In 81bf3cb, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2651 ms

Resolved: Samsung performance has improved in bbdb563.


add some good profiles.

hey I have added some good Github readme profiles in my medium blogs here https://medium.com/@akashbijwe/how-to-create-a-github-profile-readme-7b33a0cc7ef8
You can add this profile in your project(https://awesome-github-readme-profile.netlify.app/)
The markdown file must fulfill these conditions -

The name of the readme file should be your username.md under your template category folder.
Add your README template in username.md file.
The beginning of file must be follow the below options

title: YOUR_USERNAME // elango_sundar
date: TODAY_DATE // 2020-14-05
spoiler: CATEGORY_YOUR_TEMPLATE Readme Template // Code Styled Readme Template
categories: ["CATEGORY_YOUR_TEMPLATE", "all-profile"] // ["code-styled", "all-profile"]
githubUsername: 'YOUR_USERNAME' //elango_sundar

The bottom of the readme file contains - ⭐ From [username](https://github.com/[username]).
Example : [elangosundar](https://github.com/elangosundar)

@akashbijwe thanks

closed


Add playground for development

In the Svelte repo we have a playground for locally testing changes, but we don't here - this adds that. WDYT?
My main issue currently is that there are no types for most modules @sveltejs/kit, $app/stores, etc... I believe this is due to the generate-dts script not being run till kit is released - I don't know the best way to fix this. It's also an issue in the other packages so it's not an issue introduced by this pr from what I can tell.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

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

Tests

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

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

I've personally never felt the need as I simply use the kit.svelte.dev site that's already checked in for testing, but I have no objection if others find it useful

I've personally never felt the need as I simply use the kit.svelte.dev site that's already checked in for testing, but I have no objection if others find it useful

I've also sometimes used that, but since there is a lot going on there I find it can be harder to test stuff sometimes

I'm in favor of this change. I use kit.svelte.dev often for this but if also often gets in the way with its prerendering pipeline so I delete stuff temporarily there. This would avoid that.

this PR should probably update https://github.com/sveltejs/kit/blob/master/CONTRIBUTING.md. but otherwise lgtm

I added a note in the contributing.md @benmccann
RE: the types problem, is that just me? if not is there something we can do about it, or is it a "this is fine" situation?

Maybe a good idea to also add a file with these contents:
{
	"pnpm": {
		"overrides": {
			"@sveltejs/kit": "../kit/packages/kit",
			"@sveltejs/adapter-auto": "../kit/packages/adapter-auto",
			"@sveltejs/adapter-cloudflare": "../kit/packages/adapter-cloudflare",
			"@sveltejs/adapter-cloudflare-workers": "../kit/packages/adapter-cloudflare-workers",
			"@sveltejs/adapter-netlify": "../kit/packages/adapter-netlify",
			"@sveltejs/adapter-node": "../kit/packages/adapter-node",
			"@sveltejs/adapter-static": "../kit/packages/adapter-static",
			"@sveltejs/adapter-vercel": "../kit/packages/adapter-vercel"
		}
	}
}

so that there's an easily accessible copypasta when cloning repros. Not sure if there's a better place for it outside the playground folder

Maybe a good idea to also add a file with these contents:

We already have it in the CONTRIBUTING.md so maybe there? Though not sure if we would want to have a list of all packages imo

If I understood the description correctly, Geoff's PR to generate the types on postinstall should've fixed it.

Yep #10301 fixed that problem! Though I do wonder if we should watch for changes - at any rate the playground itself is good to go

Should we put this into sites instead? It's somewhat of a site, after all. What are other's opinions on this?

Should we put this into sites instead? It's somewhat of a site, after all. What are other's opinions on this?

The main reason I put it in packages to align with svelte and other monorepo setups in the ecosystem

packages does feel a bit off to me. I've seen a lot of repos just put it in the root directory:

https://github.com/vitejs/vite
https://github.com/sveltejs/svelte-hmr

I like the idea of putting it in the root directory

I think I like @dummdidumm's suggestion of putting it in sites actually. It might be a bit more organized that way. And then it'll feel less silly that we have a sites directory with only one thing in it :laughing:

I think I like @dummdidumm's suggestion of putting it in sites actually. It might be a bit more organized that way. And then it'll feel less silly that we have a sites directory with only one thing in it laughing

My only worry is that it'll be tucked away - and while it literally is a site, it's not really a site in the way I imagine that folder was intended. Putting it in packages has always felt weird to me but I have done it as that's what others done, but if vite is putting it at the root that would be my new preferred solution

In the Svelte 5 codebase we have a few playgrounds that we just moved under a playgrounds directory. We should probably do the same here for consistency. This could be called playgrounds/basic to match what we've done there where we also have one called basic


Support ServicePrinciple with Token to create Redis ConnectionMultiplexer

In Private review, Azure Redis support service principal with AccessToken, can we keep support that in the new lib?
ConfigurationOptions options = ConfigurationOptions.Parse($"{HostName}:6380,user={ServicePrincipalName},password={result.AccessToken}");

From public preview onwards server-side authentication check is hardened. Additionally multiple SPN can share the same name. Based on these factors and feedback from private preview customers we have removed the support for SPN name from server side itself. Hence for this client library it is irrelevant now to support.

Can we support using certificate to authorize AAD?

I believe active work is ongoing to support certificate based auth using SPN.
@philon-msft, do you want to take this question?

v2.0.0 supports authentication using a Service Principal certificate. Please let us know if you see any issues.


The options[] array is not sorted alphabetically

Problem:  The options[] array is not sorted alphabetically.
Solution: Sort it alphabetically.  Add a test.  Avoid unnecessary loop
iterations in findoption().

thanks!

@zeertzjq it seems the options array is not completely sorted, mzscheme comes before mzquantum: https://github.com/vim/vim/blob/3afc9f2556faf2574d7950d879f2bf61612f3367/src/optiondefs.h#L1765-L1789
This causes a test breakage on vim-win32-installer repo: https://ci.appveyor.com/project/chrisbra/vim-win32-installer/build/job/ppx3bg6fy7d57awu
Can you please check it?

Ah yes. I should have sorted the result of filtering optiondefs.h instead of only options that are enabled. I've create PR #13690 to fix this.


Failed to reserve range: error running Wine tests

Your Windows build number:  (Type ver at a Windows Command Prompt)

Microsoft Windows [Version 10.0.14393]

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)

First, build Wine - awesome that it compiles!!
git clone https://github.com/wine-mirror/wine.git
cd wine
./configure
make depend
make

Secondly, run the tests
cd dlls/gdiplus/test
make font.ok

What's wrong / what should be happening instead:
I'd expect the tests to run, but:

hugh@DESKTOP-HJANDGF:/mnt/c/Users/hugh/Documents/WSL/wine/dlls/gdiplus/tests$ make font.ok
../../../tools/runtest -q -P wine -T ../../.. -M gdiplus.dll -p gdiplus_test.exe.so font && touch font.ok
preloader: Warning: failed to reserve range 00007ffffe000000-00007fffffff0000
wine client error:0: recvmsg: Invalid argument
make: *** [font.ok] Error 1
hugh@DESKTOP-HJANDGF:/mnt/c/Users/hugh/Documents/WSL/wine/dlls/gdiplus/tests$

@hughbe - Here is my output of make font.ok;
root@SUNJOONG-DESKTOP:~/wine/dlls/gdiplus/tests# make font.ok
../../../tools/runtest -q -P wine -T ../../.. -M gdiplus.dll -p gdiplus_test.exe.so font && touch font.ok
preloader: Warning: failed to reserve range 00007ffffe000000-00007fffffff0000
preloader: Warning: failed to reserve range 00007ffffe000000-00007fffffff0000
preloader: Warning: failed to reserve range 00007ffffe000000-00007fffffff0000
preloader: Warning: failed to reserve range 00007ffffe000000-00007fffffff0000
preloader: Warning: failed to reserve range 00007ffffe000000-00007fffffff0000
preloader: Warning: failed to reserve range 00007ffffe000000-00007fffffff0000
preloader: Warning: failed to reserve range 00007ffffe000000-00007fffffff0000
preloader: Warning: failed to reserve range 00007ffffe000000-00007fffffff0000
fixme:gdiplus:GdipGetLineSpacing ignoring style
root@SUNJOONG-DESKTOP:~/wine/dlls/gdiplus/tests# make font.ok
make: 'font.ok' is up to date.
root@SUNJOONG-DESKTOP:~/wine/dlls/gdiplus/tests#

I'm using on Microsoft Windows [Version 10.0.15063]
I copied timesbd.ttf,  timesbi.ttf,  timesi.ttf and times.ttf to /usr/share/fonts/truetype/msttcorefonts directory.
I was using --enable-win64 option when configure.

Yes Wine still isn't 64-bit clean, so at the end of the day you are going to hard block on that. #228, User Voice is here. Bonus points for the "Wine Doesn't Run" PSA 🙄.
As a separate matter it might be worth an strace on the recvmsg() EINVAL on it's own merits. Although, given the mass hemorrhaging the code is going to experience anyway, that is possibly/probably a secondary result of other fails - the invalid argument is probably the handle itself.

@therealkenc - Thanks. FIY, advapi32 is for "Advanced Services API for 32bit systems." As noticing that, I thought more investigation might not be needed :)

@sunjoong However the name for advapi32.dll in Windows came from the days when 16-bit was standard and 32-bit was the "new thing". The name was kept when the transition to 64-bit was made, e.g. your C:\Windows\System32\advapi32.dll file will actually be 64-bit on your 64-bit Windows machine.

Try to run without the wine-preloader.

@woachk how do I do that - thanks

@hughbe you run Wine without the preloader by simply deleting wine-preloader.

Beaut - I built wine from source, so I'll let ya know how it goes

@therealkenc 64-bit Wine is 64-bit clean.

@CherryDT - Oh... I didn't notice that; Thank you.
@hughbe - But, I'm still not expecting wine works well on WSL. Quote from https://wiki.archlinux.org/index.php/wine ;"If you are running a 64-bit system, you will need to enable the Multilib repository first."

@sunjoong that's because most Windows apps are 32-bit. Wine 64-bit by itself only runs 64-bit Windows applications.

@ therealkenc 64-bit Wine is 64-bit clean.

Correct; I should have been more pedantic. If someone wants to build a 64-bit clean version of Wine (ie, including Wine's dependencies and without multilib), post a link to a gist of a multithreaded strace of a Wine run on a Windows x86-64 PE hello world app. Maybe it will work. Maybe it will block on something else. Of course, you won't be able to run any Windows binaries that end up using Wow64 under the hood.

@sunjoong that's the Wine services host.

Wine works fine, I tried it some months ago afaik.

@woachk - I mean that's in C:\windows\system32 directory, not in wine source directory there's a new compiled services.exe file.

@sunjoong no, that references the services.exe in .wine/drive_c/windows/system32

Interesting. Wine64 does run on WSL. Who knew? That's Ralph in an VcXsrv window. I get the "failed to reserve range" warning, but it's a soft fail. There's some other quirks, but it runs. I'll follow on with an strace on the fails once I take a look.

@therealkenc I said it a long time ago :)

So here is the missing surface, but as woachk points out none of them are blockers:
[...]
prctl(PR_SET_PTRACER, 30157) = -1 EINVAL (Invalid argument)
[...]
mmap(0x14002d000, 399360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 10, 0x400) = -1
    EINVAL (Invalid argument)

That mmap is the source of the warning.


status top command does not work with C# endpoint

Information

Onefuzz version: 5.15.1
OS: n/a

onefuzz status top returns
INFO:onefuzz:connecting to signalr
WARNING:SignalRCoreClient:AuthHubConnection
WARNING:SignalRCoreClient:'accessToken'
ERROR:cli:command failed: accessToken
AB#41983706

Underlying cause is the accessToken is null; still investigating as to why.


DayJS ESM Import Causing Dependency Conflicts

After running the setup I get errors with the DayJS Import. If I add this to the import map, the issues continue with "fresh/server.ts".
Console:
Task start deno run -A --watch=static/,routes/ dev.ts
Watcher Process started.
The manifest has been generated for 16 routes and 0 islands.
error: Uncaught (in promise) TypeError: Relative import path "dayjs" not prefixed with / or ./ or ../ and not in import map from<EMAIL_ADDRESS>at https://deno.land/x/fresh_seo@0.1.1/src/sitemap.ts:7:17
await import(entrypoint);
^
at async dev (https://deno.land/x/fresh@1.1.1/src/dev/mod.ts:187:3)
at async file:///Users/collectedview/Documents/GitHub/collectedview2023/collectedview/dev.ts:5:1
Watcher Process finished. Restarting on file change...

I think this change to Fresh may be the issue<EMAIL_ADDRESS>is now https://github.com/denoland/fresh/blob/main/server.ts

Maybe We can just remove Dayjs from dependencies?
For now, we're only using format function of Dayjs Object, but we could just accomplish it with Date.prototype.toISOString()

Hi, @collectedview! The error you provided indicates usage of an old version of fresh-seo. This bug has been addressed by a25d31c9cd05aaa35df63707f4743aff88e45c0b. Check your dependecies again and let us know if we need to look further. Maybe try running your project with the -r deno flag?
@sinyo-matu I think that would be a great idea. Mind submitting a pull request?

@notangelmario so from a fresh install of "fresh-seo" with "dayjs" as part of the import map, I can install and run with deno run --allow-net --allow-read --allow-env --allow-run --watch=static/,routes/ main.ts allows the runtime to proceed, if dayjs is in the import_map.
Running Fresh with deno task start invokes the error. It seems to be based on the permissions of Deno along with "dayjs" dependency that cause the error, there is probably more too it, I only recently started looking at deno modules.
I know I had issues before with .toISOString() with Node on windows, I am not sure if that carries over to Deno, but a heads up.

Trybagain running deno -Ar --watch=main.ts

(@xstevenyung): Please consider closing as this was fixed with #19


write me i need your help

write to me in the mail please, there are several private keys, about 100 pieces. How do I get addresses from them?
using your program

one by one I figured out how to do this, but to add a text document with hex keys 64 characters long to the field

<EMAIL_ADDRESS>

import blocksmith
key = '7077da4a47f6c85a21fe6c6cf1285c0fa06915871744ab1e5a5b741027884d00'
address = blocksmith.BitcoinWallet.generate_address(key)
print(address)`

import blocksmith

key = '7077da4a47f6c85a21fe6c6cf1285c0fa06915871744ab1e5a5b741027884d00'

address = blocksmith.BitcoinWallet.generate_address(key)
print(address)

import blocksmith

key = '7077da4a47f6c85a21fe6c6cf1285c0fa06915871744ab1e5a5b741027884d00'

address = blocksmith.BitcoinWallet.generate_address(key)
print(address)

And then for loop this code

Hello. I have a blockchain wallet.  Some bitcoin send to me and when I received,  it was nonspendable and need to private key. Please help me for generate private key for my import address.  Thanks

MESSAGE ME


WFLY-4674 Upgrade JGroups to 3.6.4.Final

Jira
https://issues.jboss.org/browse/WFLY-4674

Windows Build 1898 is now running using a merge of 54ae089187d230b620a8e4005e371a95eb84507c

Linux with security manager Build 1721 is now running using a merge of 54ae089187d230b620a8e4005e371a95eb84507c

Linux Build 6823 is now running using a merge of 54ae089187d230b620a8e4005e371a95eb84507c

Linux with security manager Build 1721 outcome was SUCCESS using a merge of 54ae089187d230b620a8e4005e371a95eb84507c
Summary: Tests passed: 855, ignored: 322 Build time: 0:06:38

Windows Build 1898 outcome was SUCCESS using a merge of 54ae089187d230b620a8e4005e371a95eb84507c
Summary: Tests passed: 2875, ignored: 392 Build time: 0:46:07

Linux Build 6823 outcome was SUCCESS using a merge of 54ae089187d230b620a8e4005e371a95eb84507c
Summary: Tests passed: 2874, ignored: 392, muted: 1 Build time: 0:48:15


Don't abort resolution on transitive updates

This commit is directed at fixing #4127, allowing the resolver to automatically
perform transitive updates when required. A few use casese and tagged links are
hanging off #4127 itself, but the crux of the issue happens when you either add
a dependency or update a version requirement in Cargo.toml which conflicts
with something listed in your Cargo.lock. In this case Cargo would previously
provide an obscure "cannot resolve" error whereas this commit updates Cargo to
automatically perform a conservative re-resolution of the dependency graph.
It's hoped that this commit will help reduce the number of "unresolvable"
dependency graphs we've seen in the wild and otherwise make Cargo a little more
ergonomic to use as well. More details can be found in the source's comments!
Closes #4127

r? @matklad
(rust_highfive has picked a reviewer for you, use r? to override)

cc @Eh2406, most of the work you've been doing has been in the resolver itself and while this only lightly touches the resolver you might be interested to see how lock files interact with the resolver!

Thanks for the cc!
In general I am really glad this bug is getting dealt with! I have helped a number of persons on irc with this. Most recently, I depend on A witch depends on B. Now I, for some inexplicable reason, want to specify a version of B that is not the one in the lock file. So I add B = "=..." to the toml and done. Well not done, hit this bug. But regenerate the lock file and done.

Some excellent thinking! This is gonna be a trick one... I think that would explain this as well where it seems that empirically this patch doesn't handle everything. I don't think it's 100% related to only adding new path dependencies as well, on IRC I believe it was just adding a dependency locally to a preexisting package. I'll try to come up with a test case for that as well before pushing another update.
As to how to fix this... I'm not sure! Unfortunately the logic for preferring previous version isn't quite so easy as it also affects whether we update a source (aka print Updating registry ...) which is something we generally avoid at all costs. The way the lockfile interacts with resolve has grown more and more complicated over time, so it's difficult to imagine a hugely different way to do it at this point. I'm gonna see if I can tack it on, hopefully there's something salvageable here...

Ok I've pushed an update which I believe should be much more robust yet still preserve Cargo's original properties (and also fixes #5182 to boot).
I think that this commit is basically starting to hammer the nails in the coffin for the current strategy of dealing with lock files. At a fundamental level if you add any dependency then you have to reresolve the entire dependency graph as that new dependency could bring in anything from any source, conflicting with a previous activation that we don't actually want to conflict.
This iteration leverages @matklad's idea of leveraging the "sort candidates based on whether they were previously in  the lock file" idea. If any dependency isn't resolvable with the current set of packages in the lock file then the dependency's source is "poisoned" in the lock file. All lock file entries from the same source aren't actually locked (aka become candidate for update). We still try to avoid updating most of them via the sorting strategy, however.
I realized as I was typing this up, however, that this still isn't quite right. While I think it's unambiguously better than what we have today it still doesn't handle cases, for example, where you add a git dependency which then adds new constraints on crates.io dependencies.

I think I'd prefer to fix what's here and land it now as I think it's a huge improvement over what we have today (sometimes you add a crates.io dependency and Cargo refuses to budge). Fixing the git issue I think is going to be very invasive...

:umbrella: The latest upstream changes (presumably #5176) made this pull request unmergeable. Please resolve the merge conflicts.

r=me with https://github.com/rust-lang/cargo/pull/5180#discussion_r174693916 and https://github.com/rust-lang/cargo/pull/5180#discussion_r174682700 addressed

@bors: r=matklad

:pushpin: Commit 51d2356 has been approved by matklad

:hourglass: Testing commit 51d235606a53f9894c0a406c7beec08a7275b3ff with merge b3df526dc5ca826b8d9f6ac3b102dfbda96e94c5...

:sunny: Test successful - status-appveyor, status-travis
Approved by: matklad
Pushing b3df526dc5ca826b8d9f6ac3b102dfbda96e94c5 to master...

@alexcrichton you may want to do a perf run with x.py incase this removes some optimizations. Specifically I think, a lot more deps with has_another leading to more clones.

@Eh2406 true! My intention, though, was that this behavior (aka lots more has_another) only happens when the dependency graph changes, in theory none of this logic should kick in if manifests are unchanged

Ok yeah looks like ./x.py isn't much slower, and the perf run shows cloning nowhere near the top.
It still takes 4 seconds for a null build, which is crazy long, but that's another problem for another day

Thanks for checking!


Add standard maven fields as searchable fields

Is your feature request related to a problem? Please describe.
artifactid, groupid, and version are currently not available as searchable fields.
Describe the solution you'd like
Add those field w.r.t. #29
Describe alternatives you've considered
none
Additional context
none

Added with #49

Syntax needs to be extended still

Closed with v0.9.5


marking_stack_block_offset() changes in Dart Stable 3.5.0

From Dart 3.5.0 marking_stack_block_offset() has been changed with :
static word old_marking_stack_block_offset();
static word new_marking_stack_block_offset();
Which gives error:

Also LookupSymbolName instead of just char* name it's a const which leads to error:

Commit: https://github.com/dart-lang/sdk/commit/6226568fa5c890177786899fdf8a69bda1b79d77
For now it can be resolved by changing:
For char* error at line 891 in DartDumper.cpp:

And changing threadOffsetNames[dart::Thread::marking_stack_block_offset()] = "marking_stack_block"; in DartThreadInfo

There is a fix I've applied https://github.com/AbhiTheModder/blutter-termux/commit/2f54a86489f5fe0511caece1f9cdee938d0dda1c.  I'm not sure if this is right solution for it or not so haven't made a PR yet.
When you have time, please look into this.

I already did this and it worked smoothly


cdl: Set the currently supported platforms in the manifest

Fixes #87

CI CrashDiagnosticLayer build queued with queue ID 219777.

CI CrashDiagnosticLayer build # 210 running.

CI CrashDiagnosticLayer build # 210 passed.


Match text style

Hi Zita,
Here is a pr for issue:
https://issues.redhat.com/browse/AAH-553
I added className? to the  component and then split the number and label properties into 2 spans in the JSX. In collection-list-item.tsx I added a className to the label span. Then in the list-item.scss added the following properties:
.type-label {
font-size: var(--pf-global--FontSize--xs);
color: var(--pf-global--color--200);
text-transform: capitalize;
}
that should now match what is in the collections list in card view.
Lmk if I should try another approach. :)

pr closed.


Error with hlsjs when providing source in load method instead of options object

I have checked out https://github.com/clappr/clappr/commit/89e5c3a95ed062e493547657af219c323f8360a1 and found a bug when loading a hls stream.
If I provide the hls playlist url in the source property of the options object everything is fine.
If I don't provide the source in the options object though and instead call the load method on clappr I get this error in the console:
GET http://www.la1tv.co.uk.local:8000/admin/livestreams/player/undefined 404 (Not Found) where http://www.la1tv.co.uk.local:8000/admin/livestreams/player is the page I'm on.
My guess is maybe hlsjs is always looking in the options object for the source.

Ok after stepping through in the debugger the noop playback is created initially, and then the hls playback is created when load is called, and the src property is the correct url inside the playback so it goes wrong somewhere after this point.

Got it! :)
https://github.com/clappr/clappr/blob/89e5c3a95ed062e493547657af219c323f8360a1/src/playbacks/hls/hls.js#L23
will submit a PR in a minute

https://github.com/clappr/clappr/pull/590

You're fast!


Preference error message

On Preference -> Syntax coloring, I change the "Scheme" and click Apply.
The changes are applied, but when I click close, the popup window with "Spyder has encountered an internal problem" opens and I get the following errors.
In fact, this doesn't seem to be limited to Syntax coloring -- it happens every time I click on ''close" in other sections in Preference.
Paste Traceback/Error Below (if applicable)

  File "/Users/hjsong/anaconda3/envs/py36/lib/python3.6/site-packages/spyder/plugins/configdialog.py", line 214, in accept
    configpage.apply_changes()
  File "/Users/hjsong/anaconda3/envs/py36/lib/python3.6/site-packages/spyder/plugins/configdialog.py", line 104, in apply_changes
    self.apply_callback()
  File "/Users/hjsong/anaconda3/envs/py36/lib/python3.6/site-packages/spyder/plugins/configdialog.py", line 269, in <lambda>
    self.apply_settings(self.changed_options))
  File "/Users/hjsong/anaconda3/envs/py36/lib/python3.6/site-packages/spyder/plugins/configdialog.py", line 1187, in apply_settings
    self.main.help.apply_plugin_settings(['color_scheme_name'])
  File "/Users/hjsong/anaconda3/envs/py36/lib/python3.6/site-packages/spyder/plugins/help.py", line 552, in apply_plugin_settings
    self.editor.apply_plugin_settings(options=[connect_n])
AttributeError: 'NoneType' object has no attribute 'apply_plugin_settings'

Package Versions

Spyder: 3.2.7
Python: 3.6.4
Qt: 5.6.2
PyQt: 5.6.0
Operating System: MacOS Siera 10.13.3

Thanks for reporting. This is a duplicate of #6519 and it'll be fixed in our next release.


Login and Signpage

[x] Make Page Responsive
[x] Add More Functionality With Firebase.
[x] Create customized alerts for alerts.
[x] finalize the both login and signup page

Task Completed


Why build mips texture  as default ?

I find code as follow, in flutter/lib/ui/painting/image_decoder.cc:
sk_sp<SkImage> texture_image = SkImage::MakeCrossContextFromPixmap(
                context.get(),  // context
                pixmap,         // pixmap
                true,           // buildMips,
                true            // limitToMaxTextureSize
            );

The code up means, flutter build mips texture as default. For example,  an image is 128 x 128, mips mode will build texures, 128x128, 64x64, 32x32, 16x16, 8x8, 4x4, 2x2, 1x1.
Mips mode will consume an additional 1/3 of the memory.
Why ?
I measure memory of image list, get a chart as follow:

Flutter did not initially perform mip-mapping by default. However, it was added later after it was discovered that that rendering performance was severely and adversely affected on lower end devices due to the additional texture lookups when rendering textures at non-native resolutions (which is the dominant use case in most Flutter apps). This is a known tradeoff. ui.Images are meant to be performant wrappers around textures.


Update old cesiumjs.org urls to cesium.com

Hi there,
I'm going through the Build a Flight Tracker tutorial, but when creating the Glitch, it didn't work because the script and stylesheet was being loaded from these urls:
<script src="https://cesiumjs.org/releases/1.81/Build/Cesium/Cesium.js"></script>
<link href="https://cesiumjs.org/releases/1.81/Build/Cesium/Widgets/widgets.css" rel="stylesheet">

Currently those URLs give me an error in Chrome: ERR_CERT_DATE_INVALID. Once you disable the security check, there is a 301 redirect in place, but that doesn't help the invalid cert issue.
Anyway, the URLs should probably be changed, because the Quick Start page specifies different URLs:
<script src="https://cesium.com/downloads/cesiumjs/releases/1.81/Build/Cesium/Cesium.js"></script>
<link href="https://cesium.com/downloads/cesiumjs/releases/1.81/Build/Cesium/Widgets/widgets.css" rel="stylesheet">

These are the places that need to be updated, that I know of:

The Build a Flight Tracker tutorial page.
The Glitch template

Thanks!

@matthias-ccri Thanks for making note of this - we're on it.

Hi @matthias-ccri! I updated the corresponding lines in the Glitch template, and I will look to fix the links on Cesium's tutorial page. Can you confirm that when you remix the Glitch template, the correct URLs are copied over?

Confirmed --- the glitch template loads the URLs successfully. Thanks!


Secret key

You might want to remove your secret key from the config file :)

Thanks @arthurcolle. This is the Stripe test key from the docs so nothing will get leaked.


Getting the last column number when there are different columns for each row.

Hi all,
very easy problem.
If I have an excel like this.

If I check only the first row, the number of columns will be incorrect.
I can loop through every row and extract the biggest value, but I was thinking if it can be a property accessible from the sheet directly? As there is Sheet.FirstRowNum and Sheet.LastRowNum it could be the same for the columns.
Thanks.

Yes, it is what I have described, but if you want to read the entire sheet it will be handy to have the overall range, without looping for each row and keeping the biggest value of the LastCellNum.
I saw GetRowEnumeator takes all the rows but you can't loop it though, because the list behind is not exposed.

This is what I have to do.

But if the matrix of the sheet is already stored under the hoods, maybe is possible to extract this information in a property.

So what GetRowEnumerator is used for?

No, ISheet.GetRowEnumerator uses public accessor. You should be able to call it.

Could you show me how to use it, because i can't assess the data lists has internally.


chore: markdown-link-check ignore bitcointalk.org

Closes https://github.com/celestiaorg/celestia-app/issues/2064

Thanks for the contribution @gaurav-11018


uaa-ci: use RS256 key as default

Why: HS256 is not used in any CF production landscape and we should use locally what we support in production We may, should think about a list of allowed algorithms and here omit HSxxx algorithms

I am not aware of any other testing pipelines this could break, I will ask the team if they know of any and mention them here if they need to prepare to update them.

merging and check if ci runs into issues


gst_1_all: 1.18.4 -> 1.19.3

Motivation for this change
gstreamer is one year old.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

If merged obsoletes https://github.com/NixOS/nixpkgs/pull/144779

See also https://github.com/NixOS/nixpkgs/pull/144779 for stable update.

GStreamer uses even-odd versioning scheme so 1.19 is unstable: https://gstreamer.freedesktop.org/

Ah, I missed that. I'll just do a backport of the fix a I need, then.


Backport #3892 to 16.x.x branch

Backport of #3892
Is this the right thing to do with this?

@davisagli yes, perfect! Thanks!


IU evaluation period not reset after deleting sandbox

I think I've read somewhere that deleting the sandbox should reset the evaluation period of IntelliJ Ultimate. It seems to partly work as the splash screen is actually showing a new date 30 days in the future, but once the application started it complains that the evaluation period has expired and quits immediately.
This is not a big issue since I have an open source license for IU, but it is certainly annoying having to enter the activation code over and over again after removing the sandbox for other reasons.

Well, it's kind of by design. Sandbox is a place where all settings are stored, including licensing information, I don't think that it could be fixed in any way. The question is what're the reasons of removing sandbox?

I guess it's related to #19. But then again if the sandbox includes the licensing information why is IU still quitting on me when I clean the sandbox?

Don't know. Will investigate, thanks for report.

Cannot recreate, manual removing build/idea-sandbox directory resets evaluation period for me.

@zolotov on the splash screen it also looks like the evaluation period is renewed, but after a few seconds the IDE then complains again about it being expired. This is on OSX with IntelliJ Ultimate 15 if it matters.

@Turbo87 ok, will try to investigate it deeper :)

I've not been able to reproduce this anymore lately. I'll reopen if I hit it again.

Ok, thanks for update

Hi,
I'm seeing the same issue when trying to run gradlew runIdea in the intellij-emberjs repo.
I've previously ran it around 6/28/17 and it worked back then.
I guess the EAP license coudln't renew and simply expired.
I've alreay tried to delete the sandbox directory, gradle cache and git repo but nothing worked.
I have a valid ultimate key which i also tried to copy into the sandbox directory but it sadly didn't work.
See the screenshot on what appears after I run gradlew runIdea

Are there any additional location where the sandbox EAP stores data?

@makepanic Hi! It's not the same issue. You're using EAP, which is expired (not your license, but EAP). You should switch to the newer EAP or to release build.

Right, that makes sense. What expiration date do the EAP builds have?

@Turbo87 30-60 days usually. Do you think you faced the same issue? I didn't realize back then that it might be an expired EAP :)

Thank you 👍
Using the latest versions fixed my issue.

I think it was something unrelated, but I'm not really sure. Great to see this resolved anyway. :)


Push to pypi the updated version

When will this be available in pypi repo that supports python 3.7?

Agree, be good to have a new version published.
It's a pretty quick fix, just rename one filename and two import statements per https://github.com/ozgur/python-firebase/commit/9fccf87303a27a6b7d871b0bae8336bb6070ff5b

Any update on this? I would be happy to help getting the updated version to pypi, if somebody could point out what still needs to be done before releasing.

I am running happily on 3.8.
Go ahead and push, I suggest!


Enchancement improvement for datetimev2 bloom filter hash method

What problem does this PR solve?
improvement for datetimev2 bloom filter hash method
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run buildall

run buildall

run buildall

run buildall


Add stackblitz for demoing library usage

I think the example included in the repo is hard to maintain and doesn't quite show the actual usage of the library, so adding a stackblitz demo which users can fork and play right in the browser might be a nice way to experiment.
Here's the demo: https://react-tag-input.stackblitz.io

Awesome! Can we also add to README.md a direct link to editor with react-tags?
https://stackblitz.com/edit/react-tag-input


Sort related publications from newest to oldest in detail view

Requires changes to indexing as currently indexing title and holdings in relatedPublicationsStrategy but not date.
Example of DDI-C 2.5 with distStmt/distDate:
<othrStdyMat>
  <relPubl xml:lang="en" > Rapeli, Lauri (2023) Illusion of knowledge: Is the Dunning-Kruger effect in political sophistication more widespread than before? Journal of Elections, Public Opinion and Parties. https://doi.org/10.1080/17457289.2023.2214734
    <citation>
      <titlStmt>
        <titl xml:lang="en" >Illusion of knowledge: is the Dunning-Kruger effect in political sophistication more widespread than before?</titl>
        <IDNo xml:lang="en" agency="DOI" >10.1080/17457289.2023.2214734</IDNo>
      </titlStmt>
      <distStmt>
        <distDate xml:lang="en" date="2023" ></distDate>
      </distStmt>
      <holdings xml:lang="en" URI="https://doi.org/10.1080/17457289.2023.2214734" ></holdings>
    </citation>
  </relPubl>
</othrStdyMat>

Related to #502

Will require that the indices are cleared and rebuilt as part of the release process, so there will be a period when there is no content in the production instance.
Ideally the 'Website unavailable due to maintenance page" should be in place for this.


Why can't this access?

What version of Hugo are you using (hugo version)?
ubuntu 18&hugo extended v0.101.0
hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66+extended linux/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio
GOOS="linux"
GOARCH="amd64"
GOVERSION="go1.18.3"

Does this issue reproduce with the latest release?
install hugo extended deb
sudo hugo new site ./hugo1
cd hugo1
sudo hugo serve

If I configure via nginx,I can access <IP_ADDRESS>:1313 through nginx
Now,<IP_ADDRESS> can access,is nginx,but 1313 cant access,is hugo extended.
Did I forget any important settings?

Thanks for getting in touch, but it feels like this is a question  that would be better suited to the Hugo Discussion Forum.  We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug. You may also find the answers you search for in Hugo Documentation.


How to troubleshoot and monitor a Database

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Database monitoring and troubleshooting process
Introduction paragraph (2-3 paragraphs):
Database monitoring is the process of examining database performance and resources in order to build and maintain a high-performance and high-availability application architecture.
Databases are at the heart of many organization's most important business procedures. The complexities of applications is increasing, and IT infrastructures are getting increasingly varied. Database troubleshooting that delivers rapid, accurate problem resolution is important for helping IT diagnose problems before they affect end-users, especially with complex applications working across heterogeneous infrastructures.
Key takeaways:

how to monitor a database
Database monitoring tools
Database network traffic
SQL server performance monitoring
Decrypting an encrypted data

References:

N/A

Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Good afternoon and thank you for submitting your topic suggestion. @extravaganza77
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.


fix(home-manager): GTK module bad linking from tweak default setting

This PR fix this issue: https://github.com/catppuccin/nix/issues/269
GTK module does not correctly define the configuration path due to an error in the mapping of the default option for tweak configuration.

Could you please @isabelroses  do the revert?

Sure thing

closing in favor of https://github.com/catppuccin/nix/pull/271. thanks @ajmasia for catching this!


Copy default welcome messages

Could you move a copy of Oregon's welcome message to Washington with a name of "Oregon Default"?
Also copy of Ontario, CA default welcome message to BC, CA and another to Washington with a name of "Canada Default"?
This is to save time when a new mapper appears in the border area Washington but is actually in either BC or Oregon.
Thanks
Clifford

Note for myself: see https://github.com/osmbe/osm-welcome-tool/issues/887#issuecomment-1876160119 for content.


adapt/switch rendering based on row height

too small:
e.g. if the row height is too small, don't show labels, selection boxes, ...
too big:
center text, see #216

invalid, solved using CSS + flags only


Draft: Setup the project to use pytest

This PR is a minimal rework of the project to use pytest.

It reworks run_tests to encapsulate pytest runner in the build env with compiled extensions
It supports most of the specific options which was previously used (no-gui, no-opencl, low-mem...), short options was removed cause of conflict with pytest options
Package boiled plate was removed
Tests are autodiscovered
To run a specific module test filename is used instead of qualified module name

Run all tests:
./run_tests.py
./run_tests.py src/silx

Run a specific module:
./run_tests.py src/silx/opencl/test/test_convolution.py

Changelog:

Setup the project to use pytest

My concern is that some tests are not discovered which can create a false feeling of security.

well -1000 loc is not bad ... less to maintain.

well -1000 loc is not bad ... less to maintain.

That's the goal.

Here is 2 examples of how it can be used.

3c4ef663e14c007a8f091f05706f0a0daa5c62a8 (qapp, qapp_utils to rework TestCaseQt + parametrization)
2663986e04e35b0418ba6bb76aec8c46e9f0f131 (tmp file creation)

But basically if you still use unittest.TestCase it is not very convenient.

Got that on AppVeyor  Environment: PYTHON_DIR=C:\Python38-x64, QT_BINDING=PyQt5, WITH_GL_TEST=True, PIP_OPTIONS=-q --pre in case you have an idea
__________________________________ test_plot __________________________________
sx = <module 'silx.sx' from 'C:\\projects\\silx-7wjwv\\venv_test\\lib\\site-packages\\silx\\sx\\__init__.py'>
qapp_utils = <silx.gui.utils.testutils.TestCaseQt testMethod=runTest>
    def test_plot(sx, qapp_utils):
        """Test plot function"""
        y = numpy.random.random(100)
        x = numpy.arange(len(y)) * 0.5

        # Nothing
>       plt = sx.plot()
E       AttributeError: module 'silx.sx' has no attribute 'plot'

sx.enable_gui was not called? Or failed because there is no display?

I dont know, cause the tests pass now. Maybe i did a typo somehow.

My concern is that some tests are not discovered which can create a false feeling of security.

I would say, that's exactly why you have to discover the tests.
No body maintain lists. This have to be maintained close to the tests as metadata.
Actuqlly, you can create a test which is executed when you run the module manually (unittest will autodiscover the methods), but not when you run the whole tests (cause the tested classes as fixed, and sometimes the tested methods are also fixed).
This PR fixes few places where tests was not executed, or was disabled without comment.

Notice that i did a trick for GUI widget fixtures.
It sounds like the yield share the reference somehow, so the close is not working. So i have used a weakref proxy. This pattern looks to work well.
@pytest.fixture
def colormapDialog(qapp):
    dialog = ColormapDialog.ColormapDialog()
    dialog.setAttribute(qt.Qt.WA_DeleteOnClose)
    yield weakref.proxy(dialog)
    qapp.processEvents()
    from silx.gui.qt import inspect
    if inspect.isValid(dialog):
        dialog.close()
        qapp.processEvents()

CI also works on gitlab: https://gitlab.esrf.fr/silx/bob/silx/-/pipelines/49329


unexpected triggering of watch with deep nested data

Version
2.3.3
Reproduction link
https://jsfiddle.net/beeplin/s2dLt0qh/1/
Steps to reproduce
vm1 = new Vue({
  el: '#app1',
  data: {
    root: {
      a: {
        key: 1 // root.a is an OBJECT
      }
    }
  },
  watch: {
    'root.a': function () {
      alert('vm1 triggerd')
    }
  }
})

vm1.$set(vm1.root, 'b', 1) // will wrongly trigger the watch

vm2 = new Vue({
  el: '#app2',
  data: {
    root: {
      a: 1 // root.a is NOT an OBJECT
    }
  },
  watch: {
    'root.a': function () {
      alert('vm 2triggerd')
    }
  }
})

vm2.$set(vm2.root, 'b', 1) // will not trigger the watch

root is a data of a Vue instance. root.a is an object, and root.a is under watch.
What is expected?
when adding new properties to root with vm.$set(vm.root, 'b', 1), the watch of root.a will not be triggered.
What is actually happening?
when adding new properties to root with vm.$set(vm.root, 'b', 1), the watch of root.a is wrongly triggered.

This is due to a few things:

The watcher root.a keeps track of both root and root.a as dependencies. So when a new reactive property is added to root, the watcher will fire. This is designed to handle the case where root.a may not exist on initial watch and thus root.a won't be collected as a dependency.

When the watcher fires, if the new value and old value are both primitive and strictly equal, the watcher won't trigger the callback. However if the new value and old value are Objects or Arrays, then they may have been mutated, so we trigger the callback to be safe.

Long story short, we "over-fire" in some cases to ensure correctness of the entire system. This is a design constraint we are aware of, but in practice they won't lead to logical errors or critical perf problems.
So this is a wontfix for now, we may check to see if we can improve this when rewriting the reactivity system using Proxies.

Got it. It does lead to logic errors when using vuex store as a shared cache: when adding a new item (each item is an object) to the cache, all computed and watch depending upon all other cache items are triggered, which 1) leads to considerable performance problem; 2) for item as an object, the callbacks relating to it are all called, making unwanted logic results.
I understand that it is hard to detect if an object is changed, so there is no easy way to fix this. I will try using rx instead of vue's reactive system. Or do you guys have any suggestions for this use case?

A half-solution is using finer-grained computed/watchers whenever possible (prefer making the final computed / watched value a primitive). I know that might not always be feasible though.
Logic-wise, since a watcher callback will by definition be called multiple times, it should always be able to safely overwrite previous side-effects. If being called with the same value could lead to logical errors, then it would even more likely lead to logical errors when called with different values.

Yes my temporary solution is just like what you suggested -- stringifying the object before saving it into vuex cache. However it has drawbacks since each component that uses this cache item would make a redundant copy of this string and parse it to a new object in memory, which consumes more CPU and memory. Had the object-watching worked fine, there would be just one copy of the object in memory and no stringify/parse needed.
Another possible solution can be this.$watch( -> JSON.stringify(this.$store.state.cache[this.key)) in order to avoid unwanted firing of callbacks. But since this watcher function is to be called super frequently, it might consume much more cpu.
I will dig into my logic to see if possible to make it safe to repeating redundant callbacks.
Do you think rxjs will help in this case?

@yyx990803 I improved my logic and use events instead of watch to notify the change of the cache. Now it works fine. :) Thanks~!

i think this is actually the opposite.. you always triggering the callback just because its an object or an array can and does indeed break some code (it broke some code for me for example).
My code ended up running several times when it shouldn't have run and that would break my application logic (a very complex use case).
I had to end up using a JSON.stringify and return the parsed object i wanted to watch for (thank god its small).

I instead used lodash.isEqual check for this to get rid of the unnecessary handler invocations


model.reset_states() does not work for bidirectional-RNNs in tf.keras.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): YES.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 10.14.6
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.0.0
Python version: 3.7.4
GPU model and memory: none (MacBook Pro, Core i5, Iris Graphics 6100, 1.5 GB)

Describe the current behavior
State handling in RNNs with a Bidirectional wrapper has changed in tf.keras from keras with TF 1.x.  In the old keras with TF 1.x, using stateful=True in a bidi-RNN had no effect -- i.e., all bidi-RNN models behaved as if  stateful=False.  Therefore model.reset_states() did not do anything.
In the new tf.keras, stateful=True in a bidi-RNN does have an effect -- the fwd-RNN is stateful and the bwd-RNN is stateful.  This is a good change IMO -- even though stateful bidi-RNNs are unusual, this is the best way to implement.  However, in tf.keras, the model.reset_states() does not do anything for bidi-RNN models (SimpleRNN, GRU, LSTM).
Describe the expected behavior
For the minimal example script provided below, here is the output:
FWD::
non_stateful: [ 1.   -0.5   0.25]
stateful: [ 1.   -0.5   0.25]
delta: [0. 0. 0.]
BWD::
non_stateful: [1. 0. 0.]
stateful: [1. 0. 0.]
delta: [0. 0. 0.]
FWD::
non_stateful: [ 1.   -0.5   0.25]
stateful: [ 0.875   -0.4375   0.21875]
delta: [-0.125    0.0625  -0.03125]
BWD::
non_stateful: [1. 0. 0.]
stateful: [ 0.875  0.25  -0.5  ]
delta: [-0.125  0.25  -0.5  ]

** RESETING STATES in STATEFUL MODEL **

FWD::
non_stateful: [ 1.   -0.5   0.25]
stateful: [ 0.890625   -0.4453125   0.22265625]
delta: [-0.109375    0.0546875  -0.02734375]
BWD::
non_stateful: [1. 0. 0.]
stateful: [ 0.890625  0.21875  -0.4375  ]
delta: [-0.109375  0.21875  -0.4375  ]

The results after the STATE RESET  should be the same as the first set of results -- i.e., the last (third) set of results should produce the same result for the stateful and non-stateful models (same as the first set of results).
Code to reproduce the issue
import numpy as np
TF2 = True
if TF2:
	### currently, there is a bug in tf.keras: model.reset_states() does not work
	from tensorflow.keras.layers import Input, Dense, SimpleRNN, GRU, LSTM, Bidirectional
	from tensorflow.keras.models import Model
else:
	### in the old keras, bidi-RNNs with stateful=True behave smae as stateful=False
	from keras.layers import Input, Dense, SimpleRNN, GRU, LSTM, Bidirectional
	from keras.models import Model

sequence_length = 3
feature_dim = 1
features_in = Input(batch_shape=(1, sequence_length, feature_dim))

rnn_out = Bidirectional( SimpleRNN(1, activation=None, use_bias=False, return_sequences=True, return_state=False, stateful=False))(features_in)
stateless_model = Model(inputs=[features_in], outputs=[rnn_out])

stateful_rnn_out = Bidirectional( SimpleRNN(1, activation=None, use_bias=False, return_sequences=True, return_state=False, stateful=True))(features_in)
stateful_model = Model(inputs=features_in, outputs=stateful_rnn_out)

toy_weights = [ np.asarray([[1.0]], dtype=np.float32), np.asarray([[-0.5]], dtype=np.float32), np.asarray([[1.0]], dtype=np.float32), np.asarray([[-0.5]], dtype=np.float32)]

stateless_model.set_weights(toy_weights)
stateful_model.set_weights(toy_weights)

x_in = np.zeros(sequence_length)
x_in[0] = 1
x_in = x_in.reshape( (1, sequence_length, feature_dim) )

def print_bidi_out(non_stateful_out, stateful_out):
	fb = ['FWD::', 'BWD::']

	for i in range(2):
		print(fb[i])
		print(f'non_stateful: {non_stateful_out.T[i]}')
		print(f'stateful: {stateful_out.T[i]}')
		print(f'delta: {stateful_out.T[i]-non_stateful_out.T[i]}')

non_stateful_out = stateless_model.predict(x_in).reshape((sequence_length,2))
stateful_out = stateful_model.predict(x_in).reshape((sequence_length,2))
print_bidi_out(non_stateful_out, stateful_out)

non_stateful_out = stateless_model.predict(x_in).reshape((sequence_length,2))
stateful_out = stateful_model.predict(x_in).reshape((sequence_length,2))
print_bidi_out(non_stateful_out, stateful_out)

print('\n** RESETING STATES in STATEFUL MODEL **\n')
stateful_model.reset_states()
non_stateful_out = stateless_model.predict(x_in).reshape((sequence_length,2))
stateful_out = stateful_model.predict(x_in).reshape((sequence_length,2))
print_bidi_out(non_stateful_out, stateful_out)

Note: this is an issue with tf.keras vs. keras (not TF 1.x vs TF 2.0)

I could replicate issue on colab with Tf 2.0.
Please take a look at gist. Thanks!


ko: update translation in tasks/debug-application-cluster/resource-metrics-pipeline

I change words from "Metrics API" to "메트릭 API" and from "Metrics server" to "메트릭 서버".
It meets translation rules of Korean Glossary Term.
/language ko

@lapee79 감사합니다!
/lgtm

/assign @ClaudiaJKang

/assign @seokho-son
@lapee79 감사합니다 ~~ :)
/approve


#166179042 FetchApi edit party name

What does this PR do?

Enable admin user to edit the party name.
Description of Task to be completed?

[x] Fetch parties from the server
[x] Render the parties in a table
[x] Add an edit button to lauch edit party form
[x] Sebnd new party name to server

How should this be manually tested?
After cloning the repository to your local machine - check
README.md for instructions. Checkout the branch ft-fetchApi-edit-partyname-166179042 open the index.html page to serve the homepage.  Click on the sign in option use the admin logins as folows:
{
    "email"<EMAIL_ADDRESS>    "password": "2019NBO37"
}

On the dashboard navigate to edit parry. Choose the party to edit and  fill out the form with the new name.
What are the relevant pivotal tracker stories?
#166179042

Coverage remained the same at 97.393% when pulling 2f1426b034de81bc253b804eeda60bb396c847a8 on ft-fetchApi-edit-partyname-166179042 into f7a3f74b2806b9e1329f7fe3d248122ba0c75a4a on develop.


export links and add options

Hey, thanks for the PR :)
However I pushed something similar here, with some rework on the exports & some UT.
It should be released soon-ish


Fix #359 close database connections after error

This prevents the database connection from lingering in an unusable state.

This fix can deal with "OperationalError: (2006, 'MySQL server has gone away')". I'm getting a lot of this errors.


I added "monospace" to font families in the basic widget

Almost all that I use Stylebot for is this anyway - programmers love monospace!

Hello!
How did you do that?
After editing the code, my extension crashes(((


Force safe closing of threads

This fixes another potential source of bugs due to data races. In short: threads were not being killed, even if the search was stopped early. This adds a simple wait to each thread (which is what rmprocs already does for processes) at the end of EquationSearch.

I think this needs to check whether allPops[i][j] has been started or not?


⚠ Samsung has degraded performance

In 85c7e95, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1897 ms

Resolved: Samsung performance has improved in 47cc1c9.


Spinner with no text  - Is this a MetaMask issue?

If a first time user (without metamask) opens this shop in a browser, or if I open it in an incognito browser,
we will get the spinner graphic, but without any of the "Welcome" and "Connect to MetaMask to Get Started" text.
Am I missing something in my code? Is something up with how the metamask is integrated?
I want to make it as easy as possible for a first time visitor to connect to metamask.
Here's the location of the shop I'm troubleshooting:
https://realdeepdish.netlify.app/
and the repository fork I'm working in :
https://github.com/edhellerdotcom/minter-dapp
Would appreciate some help if anyone has any thoughts. Thanks.

I think this is not metamask issue . This is because of frontend folder . Work in it.

I'm thinking it could be one of those:
if "metamask extension is installed, but not connected"
then "show the rest of the connection text"
situations, but I don't know the code well enough to find the place to tell it to
if "metamask is NOT installed"
then "show the text anyway."
Any ideas where to find this code?
Thanks for the help.

metamask_onboarding.js it could be there.

I haven't dived into the .js file mentioned above, but I confirmed that one of the elements in the style.css under the /* NOT CONNECTED */ section was preventing the text from being visible. I appear to have resolved that by commenting out the 'opacity' and 'transform:' variables.
The spinner being a main visual element on the page can be a bit confusing for first time visitors, btw. Is there a way to replace that spinner with another image?

I think I found the solution!
I would like to add that I have no coding experience prior to watching CodeSTACKr videos 1000x and trying to study the codes.
After playing around with the front end
after line 55 in frontend/ app.js
I added
*line 56
// HIDE SPINNER
spinner.classList.add('hidden');
notConnected.classList.remove('hidden');
notConnected.classList.add('show-not-connected');
Did not add or change anything else.
Hope this helps or brings you a step closer to how you want your website to looks.
Cheers,
Michael

I want to remove that spinner and add another graphics. spinner is not so attractive at all.
Any idea or Suggestion,

Have you tried changing the colors of the spinner? Maybe that would change your opinion on it.

Hey do you have any idea that
how to transfer sales funds from smart contract to wallet??

After connecting metamask in metamask browser in android . Presale box doesn't appear this is kept loading like this .. i have tried with other website also same issue to all browser.

Spinner with no text is a Netlify configuration issue. Be sure you set the base path to frontend and saved your API key in the environment variables.

Where do I add that code? In the index.html?

Spinner with no text is a Netlify configuration issue. Be sure you set the base path to frontend and saved your API key in the environment variables.

Ive done this correctly and im having the same issue still...that isnt the cause.....

does anyone have a solution to this problem?


Using useCollection on a collection with the users ID

Hey, great component very useful! I cannot find a nice way to add your hook on a collection identified with the user's ID, however. The problem is that the user's ID is not known until after the first render. How would you write that code?
Example hook
const [firebaseCartItems, loading, error] = useCollection(collection(getFirestore(app), 'users', auth.currentUser?.uid, 'cart'))

One solution could be wrapping your whole app in a component that waits for the auth.currentUser.uid and then renders the app and passes the id I guess.

Although undefined does not work as a value for useCollection; null does. So you can use a tertiary as the input of your hook. I would recommend memoizing this value so that you do not have to worry about any extra renders at a very high level of your app.
const uid = auth.currentUser?.uid
const usersCart = useMemo(()=> uid ?  collection(getFirestore(app), 'users', uid, 'cart') : null, [uid])
const [firebaseCartItems, loading, error] = useCollection(usersCart);

Thank you I'll do it like that 👍


[bug] data-onlook-id and data-onlook-unique-id is not stable and consistent

Describe the bug
Weare doing DOM manipulation in real-time and map to AST. The AST is currently hydrated with data-onlook-id which is computed based on the file and line-col location of the AST node.
While this works fine for the initial implementation, in real-time updates of the code, the code can shift location which could cause discrepancies between the code node that is detected on the DOM and the actual version of the code.
There are a few requirements to this:

Create a more stable ID
Make the ID persistent across the DOM across updates

Suggestion:

Statically assign a unique ID to the AST nodes while Onlook is running and clean up the IDs afterward. This will ensure that the IDs are stable across moves. The drawback is that the codebase is polluted while Onlook is running.
Compute a consistent ID based on some signature of the node itself such as attributes and contents. If this is possible, it would be a better solution. However, this may not always be possible. (For example, 2 empty divs have no differences between them).

hey , can you assign me this ?

@tasbi03 , sure thing. This is quite a core/ambiguous problem so happy to help reach a solution :)

Hi @Kitenite ,
I'm looking into stabilizing the data-onlook-id and data-onlook-unique-id attributes. My current plan involves:

Analyzing index.ts in the CodeManager class to understand how selectors reference TemplateNode instances. It seems that modifying or introducing unique, consistent IDs for TemplateNode could help stabilize the attributes across code changes.

Considering new ID generation methods, such as content-based or session-unique identifiers, for stable references within getAnyTemplateNode or similar functions that access TemplateNode instances.

Could you please confirm if this is the right direction, or is there another approach you'd prefer? and do you have discord or email to contact so we can discuss and work on it ?
Thank you!

@tasbi03, this is a good starting point! I filmed a quick walkthrough of how the IDs work. We have a data-onlook-id which is based completely out of the element's location. This is actually a TemplateNode serialized. Here's an example of it being created at build time. This is used to map to the element's location in code.
The data-onlook-unique-id is being generated at runtime in the DOM. This is the one that should be more stable. The problem is that it's being regenerated when the DOM refreshes each time. Here's an example of the ID being generated.
We use this ID as the CSS selector to do all the element manipulation. It is completely randomly generated at the moment. If this ID can be more stable over sessions, this would be ideal. Keeping in mind that due to the nature of our manipulation, the content of the element can change and its location can also change. The stability would need to take these into account.
Discord would be a good place to chat. I'm happy to call or email as well but we can DM there :)

Hey @tasbi03 ,
I think this is a very core problem that I am starting to work on. If you don't mind, I'd like to take this. I realize you've already started to work on this but this may require very large change to the system. Would you mind picking up something else?


Windows named pipe error

@Samwalton9
I ran the command 'docker-compose up --build' inside the project directory. It gives me this error -

Please help.

Some potential solutions:

Run command prompt as administrator
Restart the Docker software

Other possible solutions are listed at https://github.com/docker/toolbox/issues/725

Oh ! I was using the linux container. I just had to switch to windows container.
Now no errors. So closing this issue.


Allow .where to accept callable as condition

Code Sample, a copy-pastable example if possible
Allow .where and .mask to accept callable as cond. This is useful if DataFrame is changed during method chaining.
df = pd.DataFrame(np.random.randn(2, 2))
df.where(lambda x: x > 0)
# currently raises ValueError

Expected Output
Should be the same as:
df.where(df > 0)
#           0         1
# 0  0.689202       NaN
# 1       NaN  0.261644

yeah I link to the master issue for this #11485; .query, .where, and indexers should accept callables


[backport v2.7.next1] Required fields are not checked when saving (via yaml save)

This is a backport issue for https://github.com/harvester/harvester/issues/4350
Original issue body:
Is your enhancement related to a problem? Please describe.

Required fields are not checked when saving (via yaml save).
When we creates a new Harvester cluster, they can create a cluster without a network (from the GUI, via yaml save) which eventually breaks the whole cluster, according to their information it keeps creating and deleting nodes.
Steps to reproduce: Create new cluster, cloud credentials -> Select RKE2 and Harvester node driver -> Type in the cluster name -> Switch to YAML view and click on Create. There is nothing that prevents it.
Describe the solution you'd like

Save via yaml should also validate.
Describe alternatives you've considered

Additional context

Testing will be done by Harvester QA


feat: relate BitVec.signExtend to truncate

This adds helper lemmas to relate sign extension to truncation, and as a corollary shows that sign extension to the same width is a no-op.

awaiting-review


Feature-Request: Volume Slider

Very useful plugin! I would love to see a volume slider as the next feature if possible.
As others mentioned, a slider for the actual video would also be cool if possible, but I would take a volume slider first.
Keep up the good work, and hope the issues section is appropriate for this feature-request.

Thank you for your feedback.  I will add this feature in the next update.

Any progress?

hi


Automatic PR from RestAPI-PR1566

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/1566

Codecov Report

Merging #1402 into master will decrease coverage by 0.19%.
The diff coverage is 71.73%.

@@            Coverage Diff            @@
##           master    #1402     +/-   ##
=========================================
- Coverage   52.61%   52.42%   -0.2%
=========================================
  Files        3299     3316     +17
  Lines       83894    84464    +570
=========================================
+ Hits        44145    44277    +132
- Misses      39749    40187    +438

Impacted Files
Coverage Δ

...ure-mgmt-web/azure/mgmt/web/models/cloning_info.py
31.25% <ø> (ø)
:arrow_up:

...e/mgmt/web/models/app_service_environment_paged.py
80% <ø> (ø)
:arrow_up:

...b/azure/mgmt/web/models/perf_mon_response_paged.py
80% <ø> (ø)
:arrow_up:

...mgmt-web/azure/mgmt/web/models/http_logs_config.py
66.66% <ø> (ø)
:arrow_up:

...e-mgmt-web/azure/mgmt/web/models/recommendation.py
16% <ø> (ø)
:arrow_up:

...ure/mgmt/web/models/slow_requests_based_trigger.py
57.14% <ø> (ø)
:arrow_up:

...zure/mgmt/web/models/csm_move_resource_envelope.py
71.42% <ø> (ø)
:arrow_up:

...b/azure/mgmt/web/models/validate_response_error.py
66.66% <ø> (ø)
:arrow_up:

...re/mgmt/web/models/resource_metric_availability.py
71.42% <ø> (ø)
:arrow_up:

...eb/azure/mgmt/web/models/top_level_domain_paged.py
80% <ø> (ø)
:arrow_up:

... and 226 more

Continue to review full report at Codecov.

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

In https://github.com/Azure/azure-sdk-for-python/pull/1405


useDrag position returns to [0, 0] before applying spring

When attempting to position a mesh with r3f and then apply a drag gesture, the drag interaction always returns to [0, 0] before applying the spring animation. The initial interaction is disconnected on mouseDown with subsequent drags working fine after the position gets set. An initial spring position set via inbound props doesn't seem to solve.
What am I missing? Could this be solved with initial as a drag option?
https://codesandbox.io/s/r3f-basic-demo-forked-rpgie?file=/src/App.js

@austinmayer interesting problem thanks!
Here is a version using 8.1.0-alpha.12 which introduces transform, but I understand it's not totally mature (I'm disabling filterTaps for example, which is not ideal).
https://codesandbox.io/s/r3f-basic-demo-forked-h1dus?file=/src/App.js
I'll work on something to make use-gesture working in a different space coordinates easier.

@dbismut thanks!
Transform looks like a great solve. Makes sense re: filterTaps at the moment.

@austinmayer fixed now in 8.1.0-beta.2 (I suck at numbering versions and I want to release this soon in the wild anyway).
https://codesandbox.io/s/r3f-basic-demo-forked-h1dus?file=/src/App.js
Btw, make sure to have a if(tap) condition statement if you're using the filterTaps option. In general, you want to avoid setting drag position when the user only tapped as the drag isn't intentional (with the current logic there's no harm, but just saying FYI).

Amazing. Unreal how quick you turned this around, much appreciated!
And thanks for the tap improvements, this is great.
🙏🙏🙏

Well I also fixed a couple of bugs I hadn't realized until playing with your sandbox so thanks to you too. I'll leave the issue open until 8.1.0 is actually released.


task Write and Read to S3 is heavy

Lets do the math here of what would a user expect with a common ML project.
I had 450M writes and 950M reads across a few hundred tasks. Probably this is not real usage and I suspect that dangled tasks where actually also doing S3 ops.

Identified that the issue is that we are logging every 5 secs having rclone to work due to file change.
We need to change the loop to just log while the task is running a no more else