Data is not being reseted between pages

Versions

nuxt: 2.14.4
node: 12.14.0

Reproduction
https://codesandbox.io/s/tender-burnell-cxr2z

-->
Steps to reproduce
Theres 3 links (Index2, index3, index3 with params)
index2: just plain page
index3: plain page with some rendered data
index3(/index3?edit=1): same page but with asyncData called when url has query(edit=1)

Go to /index3?edit=1, asyncData will load and merge to data
Go to index2
Go to index3

What is Expected?
Data to be reseted on index3 (with no params)
Index3 with no params should output "initial" inside textarea
What is actually happening?
Merged data from asyncData call is stays forever, even if you go to index2 then index3.

I think that is what Nuxt expected behaviour (?) because index3 page with or without the query params still read the same data. (maybe cache?)
workaround?
async asyncData({ $axios, query }) {     if (query.hasOwnProperty("edit")) {       if (query.edit > 0) {         return await $axios           .get("https://cat-fact.herokuapp.com/facts/")           .then(res => res.data)           .catch(() => {});       }     }   },   mounted() {     if (!("edit" in this.$route.query)) {       this.all = [{ text: "initial" }];     }
I'm open to discussion still learning too 😅 🎒

workaround?

I don't think this is a good solution - it's not flexible
I have a lot of pages, and different data inside.
It should reset data between pages

"asyncData" should always return something
but your "asyncData" code in some cases returns nothing
async asyncData({ $axios, query }) {
  if (query.hasOwnProperty("edit")) {
    if (query.edit > 0) {
      return await $axios
        .get("https://cat-fact.herokuapp.com/facts/")
        .then(res => res.data)
        .catch(() => {});
    }
  }
  return {}
}

"asyncData" should always return something
but your "asyncData" code in some cases returns nothing
async asyncData({ $axios, query }) {
  if (query.hasOwnProperty("edit")) {
    if (query.edit > 0) {
      return await $axios
        .get("https://cat-fact.herokuapp.com/facts/")
        .then(res => res.data)
        .catch(() => {});
    }
  }
  //Add this
  return {}
}

no, this doesn't fix the problem

no, this doesn't fix the problem

why? what am I doing wrong?
https://youtu.be/bk7UJDwkKv8
https://codesandbox.io/s/sad-northcutt-ozydw?file=/pages/index3.vue
also I changed the name (-index3.vue => index3.vue)
(I thought it was a typo)

no, this doesn't fix the problem

why? what am I doing wrong?
https://codesandbox.io/s/sad-northcutt-ozydw?file=/pages/index3.vue
also I changed the name (-index3.vue => index3.vue) (probably this was the reason for the error)
(I thought it was a typo)
My steps to reproduce (gif)

yes, thanks! You resolved my issue

I didn't know that asyncData should always return something (at least an empty object), can you link me to docs?

You are right, there will be no mistake and in your issue the error was due to the wrong filename.
But I think it's stylistically correct to always return something.
In the examples in the documentation, the method always returns something, even if it's an empty object.

example from docs with `return {}`
[https://nuxtjs.org/guide/async-data#use-reqres-objects](https://nuxtjs.org/guide/async-data#use-reqres-objects)
export default {
  async asyncData({ req, res }) {
    // Please check if you are on the server side before
    // using req and res
    if (process.server) {
      return { host: req.headers.host }
    }

    return {}
  }
}


Concurrent issues when running integration tests accessing the same resources

Integration tests like triggerrule_test and flags_test running together will lead to this issue. Since they both create, access, and delete the resource with the same name.
Go runs tests in a parallel way. We need to add a concurrent lock for test cases trying to access the same resources in openwhisk.

@mrutkows @pritidesai
We run into this concurrent issue, for some of our test cases, since they are creating, accessing and deleting resources at the same time.

@houshengbo @pritidesai can we identify where we have overlapping names in our int. tests and assure we have unique names for each? at least for now?

Its the result of having copy/pasted deployment file from the integration test which was added in the beginning. This is the deployment file in flagstests with application name wskdeploy-samples and packaging name triggerrule:
https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/tests/src/integration/flagstests/deployment.yml
application:
  name: wskdeploy-samples

  package:
    triggerrule:
      name: helloworld
      namespace: guest
      actions:
        greeting:
          inputs:
            name: Bernie
            place: Vermont

Depoyment file in triggerrule:
https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/tests/src/integration/triggerrule/deployment.yml
application:
  name: wskdeploy-samples

  package:
    triggerrule:
      name: helloworld
      namespace: guest
      actions:
        greeting:
          inputs:
            name: Bernie
            place: Vermont

Deployment file in webaction:
https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/tests/src/integration/webaction/deployment.yml
application:
  name: wskdeploy-samples

  package:
    triggerrule:
      name: helloworld
      namespace: guest
      actions:
        greeting:
          inputs:
            name: Bernie
            place: Vermont

Deployment file in zipaction:
https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/tests/src/integration/zipaction/deployment.yml
application:
  name: wskdeploy-samples
  package:
    triggerrule:
      name: cat
      namespace: guest
      actions:
        greeting:
          inputs:
            name: Bernie
            place: Vermont

We have four integration tests which have deployment files and the content is same for all (package name triggerrule and application name wskdeploy-samples)

Vincent mitigated this issue by naming each test (package) with a different name thereby putting each into a different namespace and preventing concurrent tests from interfering with one another.
Fixed in https://github.com/apache/incubator-openwhisk-wskdeploy/pull/404


updated BigDecimal.toString

Inline with Duration

cc @fubhy since you did quite a bit of work on this IIRC.

This was from the Duration PR, to make toString consistent. LGTM :)


[Slider] should support setting colors not in the theme

Problem description
The style and sliderStyle properties in Slider don't actually affect the slider colors. They create a background-color box but the component colors remain unchanged from the ancestor theme. This is not a useful thing.
There are use-cases for needing to easily change the color, just like one can change an icon or fab color, without going through all the details of creating a new mui-theme just to wrap the slider.
Workarounds involving CSS aren't dynamic because the CSS is only loaded once. Workarounds involving finding the relevant divs and setting their colors don't work on the "knob" of the slider because the div is re-rendered, so the style (somehow) needs to be re-applied on every value change.
Thus, the only consistent workaround is to create a new dynamic theme just for the color change here, which seems to be a lot of code for such a little need.
Versions

Material-UI: 0.16.7

attempting to insert an alternate theme doesn't seem to work.
            <MuiThemeProvider muiTheme={getMuiTheme(sliderTheme)}>               <Slider className="current-time" min={0} max={state.duration} step={1} value={state.currentTime} {...sliderEvents}/>             </MuiThemeProvider>
and instead I end up with a slider with the default light theme's blue color instead.

Well, not a lot of code for the user, but a bit of execution code creating the alt theme. (I originally posted that it didn't work, but I'd not structured the alt theme correctly, so removed that as being my fault).
put this in your own theme file
export var replaceSliderTheme = function(posColor, negColor) {   console.log("replace", posColor, negColor);   var rv = {     spacing: spacing,     fontFamily: 'Roboto, sans-serif',     palette: {       primary1Color: posColor,       accent1Color: posColor,       disabledColor: negColor || fade(fullWhite, 0.3),       // (and rest of the colors being your original theme     }   }   return rv; }
then call it by
 const sliderTheme = replaceSliderTheme(myAltColor);
and
            <MuiThemeProvider muiTheme={getMuiTheme(sliderTheme)}>               <Slider className="current-time" min={0} max={state.duration} step={1} value={state.currentTime} {...sliderEvents}/>             </MuiThemeProvider>
so having a more direct mechanism would be nice, but this workaround suits my purposes without having to style-hack the divs.

being able to just pass a prop to the Slider component to change the color would be ideal.

We plan on migrating the component to the v1-beta branch. I'm closing the issue for #4793.

Heh - I hadn't realized the slider wasn't in "@next" yet. Is there a timetable on that because I'm gonna need it somewhat soon (working on a rewrite of a music player). :)

anyways, theme creation doesn't seem as heavyweight as i thought it would be, so if changing the theme instead of just passing in a property is the way to do it still, I'll be ok with that...but having properties certainly makes it easier.


Can't login via MS Account

Can't login with my Microsoft Account.
After redirecting from MS Site, nuget.org show me 500 error
(https://www.nuget.org/Errors/500?aspxerrorpath=/users/account/authenticate/return)
my MS Account: iam [at] neftedollar.com

I've ask my colleague to repeat my actions for his account and he successful sign up.

Did you also send a support request email regarding this issue? Because we received one. I replied to that email with request for details.

I have the same problem. I try to login with my MS account marco [at] visinhetweb.nl


Add Automator button for testing purposes.

Intended to made is less mundate to smoke test after deployment. There's now a hidden button on the lower right corner that triggers it all.


Add queue_settings to jobs

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

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

For CommandJob._to_node in entities/_job/command_job.py, need to pass in queue_settings for the returning Command.


Exporting/Importing database of snippet

When we want to switch computers, we can't find all the snippets saved. Even if it's not online or anything, exporting the DB could be a great feature. Or for sharing with others (in a team)

Thank you for your suggestion, I'm planing on making export to json file feature and import through json file. But that's just a temporary solution, in the future you can store your snippet on gist too.

Fixed in v0.2.6


Implement UPath.resolve

Hello,
This PR attempts to fix issues around parsing URI paths (fixes #85), so now URI paths with double and trailing slashes do not get mangled:
>>> UPath("http://www.example.com//page//page/")
... # Previously returned HTTPPath('http://www.example.com/////page/page')
HTTPPath('http://www.example.com//page//page/')

It also implements UPath.resolve, which normalizes "." and ".." parts in URI paths.
HTTPPath.resolve will additionally follow redirects. This is done by sending HEAD requests (if accepted by the server, falling back to GET requests), returning a new HTTPPath of the final location.

Thanks!
The new test_resolve method in test_http.py does a basic test of the HTTP redirects.
The test http server responds to requests for http://<IP_ADDRESS>:8080/folder with a 301 redirect pointing at http://<IP_ADDRESS>:8080/folder/ (with a trailing back-slash).

Thanks again for the PR! I just released and published the new version v0.0.23.


[Storage][DataMovement] Combine TransferManager.StartTransferAsync methods

This change combines the two TransferManager.StartTransferAsync methods (one for single transfer and one for container transfers) into one single method that accepts the base class of both single and container resources. The new method does type checking to decide what type of job to make.
The largest part of this change was the existing StorageResource was renamed to StorageResourceSingle so the base class, StorageResouceBase could be renamed to just StorageResource.
There is still quite a bit of shared code between the new private methods to create single versus container resources that could be refactored but that was out of scope for this change and can be handled later.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Storage.DataMovement

/azp run net - storage - tests

/check-enforcer override


More broken links: section 5.2 Distributed Git - Contributing to a Project

On this page There are a number of broken links that give 404 errors: “Interactive Staging” “Rewriting History” “Commit Ranges” “The Refspec” “Chapter 6” Figure 5-18 It seems like this is a common problem throughout the online version of the book.

ping @schacon

The URL has changed: please read the page at https://git-scm.com/book/en/v2/Distributed-Git-Contributing-to-a-Project where the crossrefs work.

Thanks @jnavila


Use images on icons

Hey, I'm trying to use ImageIcon class to make the menu icons and I'm not being able to do so. Can you help me?

ImageIcon is not a subtype of Icon.
I can consider this as an enhancement and add this feature in the coming release.
If you wish you can make the change and raise PR.

It will be very usefull without AnimatedIconData restriction

.

@tekink
The icon is not a mandatory field, you can use openIcon and closeIcon instead of icon to use normal (non-animated) icons.


On rotation, zoom is retained but position isn't

To reproduce:

Open the sample app in portrait mode.
Tap "single touchimageview"
Zoom in as much as possible to the bottom-right corner.
Rotate to landscape mode.

Expected result: The TouchImageView either:

Displays 1.0 zoom, as if the Activity had been opened in landscape mode in the first place, OR
Retains its zoom, as well as something like its position.

Actual result:
The TouchImageView retains its zoom, in the top-left corner of the image.
I believe my expected result 2 was intended, because (a) there's a function called translateMatrixAfterRotate, and (b) translateMatrixAfterRotate sure seems to be trying to translate the image to a spot with a similar centre after a rotation change.

I'm digging into this now, but made a bug to track it just in case you have some feedback (or a burning desire to do it yourself).

I see it doesn't take care about the position, just on zoom level.
To be honest, I'm happy when you make a PR


Provide interface for entity transactions

Analogous to addresses, also provide interface for entity transactions:
/{currency}/entities/{entity}/txs
/{currency}/entities/{entity}/txs.csv

Done


Incorrect spelling of App Tracking on Error Screen

When failing to request the app tracking permission, the permission is misspelt or more specifically it's missing spaces.

ideally it should read "tracking"

@mike-audi should it read "tracking" only or "app tracking transparency" would work?


Baffling Behavior on 1.11.2 versions higher than 3.0.6

After upgrading for bugfixes/new blocks on 1.11.2 for anything higher than 3.0.6, I can no longer break blocks.
Do you attach to the block break event and forget to close out your if/else/then statements?  Mod conflict?
Logs look useless in diagnosing this, just figured I'd let you know I tracked it down to this mod from mods I updated after going through the obvious ones first. (I simply did not expect this one... always the last one you test though, because after you find it you stop :P)
edit: Looks like something relating to SimplyConveyorsEventHandler.java
You are using != null on itemstacks, I believe for 1.11.2 you need to use !itemstack.Empty.  Not sure how you would make that compatible with 1.10.2 though, maybe compatlayer since you are already using that library?

Hey, I'm not entirely sure why the bug is happening as I wasn't able to re-produce it. I've fixed the != null sections in the event handler to be != ItemStackTools.getEmptyStack() (I have no idea why those are there, I double-check and triple-check all while using Ctrl + F).
I have two test builds for you. One is just with those applied event handler fixes, and one is with those fixes AND the worker gloves functionality disabled. If you could try these and get back to me it would be great.
Test Build 1 - Event Handler Fixes
Test Build 2 - Fixes + Disabled Worker Gloves

downloading now to test, thanks

It's fine :P. Hope things work out.

Test Build 2 - Fixes + Disabled Worker Gloves worked.  Oddly enough.  Wonder which one of my mods causes a conflict to cause that to even do anything.

Simply Conveyors 3.1.1b is out now, which fixes this issue and more.


⚠ Bofrost.de has degraded performance

In 4036a5a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1059 ms

Resolved: Bofrost.de performance has improved in 4d9ddf1 after 6 minutes.


Buses and trains should also be expandable

pls close the gitlab issue #5023 when fixed

Where should the Trains and Buses Info link point to? @MRTNKCR @mjancik

to the trains and buses article on smartfaq, for example https://www.kiwi.com/en/search/berlin-germany/dusseldorf-germany/2018-07-18_2018-08-18/no-return?help=%2Ffaq%2FRkFRQ2F0ZWdvcnk6OTA%3D%2Farticle%2FRkFRQXJ0aWNsZToxMjc%3D&transport=bus%2Ctrain

It is perfect :) Is it alright when in this case I couldn't touch on trip Bratislava to Santorini?

Thanks  @jalbertsr

It always worked like this(that you need to click first to "show more trips") another thing would be if we want to change that behaviour. I'll ask about it.


Basic project structure + Build scripts

This PR includes:

Basic project structure
Basic test+build scripts (Makefile and Dockerfile)
A proof-of-concept code that is going to serve as starting point for the actual agent. Don't care too much about it as it will be reworked completely but it was useful to "test" the build scripts for BPF code generation.

putting on hold, as I'd like to do a later investigation about wrapping https://github.com/libbpf/libbpf-bootstrap, which seems to work pretty well, in Go.


[abseil] Build error

Host Environment

OS: [e.g. Windows/Linux etc...]
Windows 10
Compiler: revision
Visual Studio Community 2022

To Reproduce
Steps to reproduce the behavior:
./vcpkg install grpc
-- Downloading https://github.com/abseil/abseil-cpp/archive/8c0b94e793a66495e0b1f34a5eb26bd7dc672db0.tar.gz -> abseil-abseil-cpp-8c0b94e793a66495e0b1f34a5eb26bd7dc672db0.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
Downloading https://github.com/abseil/abseil-cpp/archive/8c0b94e793a66495e0b1f34a5eb26bd7dc672db0.tar.gz
error: Failed to download from mirror set
error: File does not have the expected hash:
url: https://github.com/abseil/abseil-cpp/archive/8c0b94e793a66495e0b1f34a5eb26bd7dc672db0.tar.gz
File: C:\dev\vcpkg\downloads\abseil-abseil-cpp-8c0b94e793a66495e0b1f34a5eb26bd7dc672db0.tar.gz.8904.part
Expected hash: a076c198103dc5cf22ac978fe7754dd34cb2e782d7db1c2c98393c94639e461bfe31b10c0663f750f743bc1c0c245fd4b6115356f136fe14bd036d267caf2a8b
Actual hash: d794ac35028ac5adfd4e12fa5973472b8230f090c6408af47571daf837e824e8de4ab89f9f96e5be4bb7dfe264c70470857097a563c260c4a4c86bfa3b6fe554
[DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(956):
[DEBUG] Time in subprocesses: 0 us
[DEBUG] Time in parsing JSON: 3 us
[DEBUG] Time in JSON reader: 0 us
[DEBUG] Time in filesystem: 105 us
[DEBUG] Time in loading ports: 0 us
[DEBUG] Exiting after 595.1 ms (594993 us)

Cut and paste the appropriate build messages from the console output.
Attach every failure log file mentioned in the console output.

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

Duplicate of https://github.com/microsoft/vcpkg/issues/29288


Support HTTP status 102 Processing

There's a HTTP interim status code 102 Processing. It's defined in RFC 2518 and can be found in the HTTP Status Code Registry.
Funnily, it has been dropped in the revised WebDAV RFC 4918, so I don't know whether it's worth dealing with it (RFC 4918 is from 2007 and 2518 from 1999!). However, it's still in the status code registry, and I have just encountered a quite large WebDAV service which uses this status code (original case).
It could be exactly treated as status code 100, so I guess adding it in Http1xStream would be enough?
// HTTP_PROCESSING: 102

 if (statusLine.code != HTTP_CONTINUE || statusLine.code != HTTP_PROCESSING)
// instead of
 if (statusLine.code != HTTP_CONTINUE)

What do you think about that?

Works for me.

Cool. :sunglasses: RFC 2616 even says:

A client MUST be prepared to accept one or more 1xx status responses prior to a regular response, even if the client does not expect a 100 (Continue) status message. Unexpected 1xx status responses MAY be ignored by a user agent.

So maybe not only 102 should be added, but all 10x status codes. But as RFC 2616 is only a rough recommendation, I don't know whether this would be wise.

The spec we care about is here:
http://tools.ietf.org/html/rfc7231#section-6.2
I think it’s a good idea to generalize our current 100 behavior to handle all 1xx codes.

There's an issue tracking 100's as #1337.

Closing as a dupe of #1337 and renaming it to say "1XX".

Just came across this. See my comment in issue #1337. It was closed as a dupe of #675, which only added support for response code 100, but not for 102 (which was the original topic for this one).

Agreed!

@nowkarol You seem to have put a lot of thought into how to make the change.  Please submit a PR.
We normally discourage external contributions because we try to keep the scope of the library tight and have very opinionated ideas about the APIs and so on.  It can be frustrating for new contributors.
So please take any feedback with this in mind :) And thanks for offering and putting so much thought into how to do it correctly.

@yschimke Sure, will keep that in mind. So will try with very small chunks. First one is about testing current MockWebServer behavior while using EXPECT_CONTINUE. Probably some of behaviors should be changed to comply with RFC. After that I will be able to test and implement enqueuing of follow-up responses needed to test 102 Processing support.

@yschimke - sorry for not checking before and submitting a dupe.
That said, this really needs to be treated as "bug", not an "enhancement".


Issues-ingress

Fix issues in the Ingress lab

fixes #40

fixes #42

closes #41

closes #43

closes #46


Documentation is no longer available

Seems like you provided wrong url in README and all links is not working including scdl documentation. Can you update README documentation links or put it to wiki section to improve library usage?

I figured out where it is currently: https://zackradisic.github.io/node-soundcloud-downloader/modules.html
Would still be nice for the README.md to be updated.

The _ around the page name in README causes all broken links


Saving larger than RAM Dask images to COG on S3

What

Implements odc.geo.cog.save_cog_with_dask that saves Dask based xarrays to COG
Supports local disk and S3 bucket as output
COG is generated in a "single-pass", overviews are computed and compressed incrementally
Relies on multi-part-upload functionality of the S3 to write tiles as they are being computed and compressed while keeping COG mandated order of tiles and sub-images
Uses imagecodecs to compress each tile independently as part of Dask graph
Uses tifffile library to create TIFF header that references compressed tiles
Computes pixel statistics and stores in COG in gdal format to allow quicker open in QGIS over the network
Supports YX (gray), YXS (pixel interleaved rgb, rgba) and SYX (multi-plane) image modes

MPU classes
These really ought to move to a stand-alone lib. The idea here is this:

Input is a lazy sequence of byte segments that form a single file (order is important and preserved)
At graph construction time, sizes of those segments are unknown, some could even be empty
Neighboring segments are glued together and written to destination using multi-part-upload, keeping resident memory requirements low, while taking care of S3 upload constraints (at least 5Mb chunks except for last one, no more than 10k parts in total)
Keep track of sizes in bytes for each segment, and any supplied metadata identifying each segment
Once every segment have been fully realized, call function to generate a header or footer for the data, given now known sizes of each segment (construct TIFF header in our case)
Flush remaining caches and finalize upload

We maintain a buffer of unwritten data of at least 5Mb at the head and tail of file to allow for generating header/footer afterwards while working within the constraints of S3 multi-upload

File sink is implemented to mimic functionality of S3 multi-part upload, it simply writes chunks to temp files, then glues them all together into a final destination, while deleting temp files to keep the total disk requirements close to the output file size, and not doubling it.
How to review

All new files are in odc/geo/cog/
odc/geo/_cog.py got moved and split into odc/geo/_rio.py and odc/geo/_shared.py
changes outside of that are minimal, should probably review those first
Can probably ignore _mpu* and _s3 files

these are responsible to taking compressed tile data and stitching them into COG

TODOs

move all the "MPU" and S3 code into a separate library
more proper tests
harmonize Dask/non-dask interfaces and expose both on .odc. accessor

@SpacemanPaul this work has been done a while back, I have now cleaned up the history and rebased against develop. While it's not "done done" (see TODOs), I'd like to merge into develop as it's a bit of a pain to maintain a separate branch. We also need to make a release for .explore and masking functionality that have been added by @robbibt


aem: update index

This checklist is used to make sure that common guidelines for a pull request are followed.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/yugangw-msft/azure-cli-extensions.git@aem010#subdirectory=src/$EXT&egg=$EXT"


How to generate the SHA3-256 hash?

I want use it to generate sha3-256 hash, what should i do?below is realization of the package futoin-hkdf
const hkdf = new Hkdf.Hkdf('sha3-256');
const masterPrk =hkdf.extract('aaa', 'bbb');
const secretKey =hkdf.expand(masterPrk, 'ccc', 32);

:blue_book: See Generating a SHA3-512 Hash in the README. A SHA3-256 hash is identical except using 256 instead of 512.
For convenience, here's what you would do in a Node.js console after installing the sha3 package (such as via npm install sha3):
const { SHA3 } = require('sha3');
const hash = new SHA3(256);
hash.update('Hello, world!');
const result = hash.digest('hex');
// => result is 'f345a219da005ebe9c1a1eaad97bbf38a10c8473e41d0af7fb617caa0c6aa722'

hello, which var is the secret and the out length?This does not seem to be a sha3-256 crypto

SHA3 is a hash function (vs encryption or message authentication) and offers only integrity feature. There is no secret in SHA3. What are you trying to accomplish?


add new features sri

add swipe-controls
add all features nplayer in your drive stream apk
add search feature

add swipe-controls

Please refer to #39

add all features nplayer in your drive stream apk

I'm not familiar with the app, if you have any specific feature in mind, create a new issue.

add search feature

Please refer to #40


WebSocket 연결

Require approval from specific reviewers before merging
Rulesets ensure specific people approve pull requests before they're merged.
Continuous integration has not been set up
GitHub Actions and several other apps can be used to automatically catch bugs and enforce style.
This branch has no conflicts with the base branch
Merging can be performed automatically.


Update Mp3tag to 3.02

Update Mp3tag to 3.02

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Microsoft Reviewers: Open in CodeFlow

strange, cannot write to folder

Hi,
This installer is funny: Installation works if your command prompt is already escalated as Administrator.
I always run my testing with an admin window so I don't have to accept UAC for every app.
So, apparently the installer does not request administrator when installing via winget, because in an interactive installation the user has the option to make a portable installation and don't require administrator rights.
Let me se if I can force the installer to go trough that route.

Thanks, so the issue is that the installer requires admin command window.
I will mark this blocked waiting on this issue:  https://github.com/microsoft/winget-cli/issues/152

Outdated.


Regression in v0.29, it has bigger file sizes for avif images (37% worse)

Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
Yes, actually caught the regression in my project with a renovate upgrade https://github.com/ng-easy/platform/pull/174
What are the steps to reproduce?
Compress an image to avif format
What is the expected behaviour?
Keep small filesizes
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
Let me know if truly needed
Are you able to provide a sample image that helps explain the problem?
Yes, attached size regression avif sharp v0.29.zip
What is the output of running npx envinfo --binaries --system?
  System:
    OS: Windows 10 10.0.19043
    CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
    Memory: 12.73 GB / 31.88 GB
  Binaries:
    Node: 14.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.13 - C:\Program Files\nodejs\npm.CMD

https://sharp.pixelplumbing.com/changelog#v0290---17th-august-2021

v0.29.0 - 17th August 2021
AVIF encoding now defaults to 4:4:4 chroma subsampling. #2562

Try adding .avif({ chromaSubsampling: '4:2:0' }) to use the same behaviour as the previous version.
Perhaps you could also experiment with the quality and speed settings to see what combination works best for your scenario.
https://sharp.pixelplumbing.com/api-output#avif

That was a fast answer! I noticed a similar problem with heif format, is there a similar fix?


Stabilize collectd-metrics unit tests

This patch avoids testing parsed metrics per metric and instead tests whole slice.
It also joins testing data to the test source code itself.

All contained in main_test.go so I'm good with this.


Java: Modularize wrapper

This change exposes the API package only using Java's new module system. It also updates the name of our JAR from "client" to "glide-client".
This requires the upgrading protobuf to the 4.26.0-rc2 release candidate, which fixes an issue where protobuf was not a modularized project (see https://github.com/protocolbuffers/protobuf/issues/12639).

Why it triggers so much unrelated GHAs? npm-cd?

Why it triggers so much unrelated GHAs? npm-cd?

Yeah, I'm confused by this too. My change was okay when I updated protoc just for the Java workflow. But putting it in shared dependencies seems to be causing a lot of weird failures. I'm still looking into this, but would appreciate any help.


[Add/Edit Observation] Fix NPE on feature mutations conversion

@HemanParbhakar PTAL?

Changes already merged in #912


Organize StateSync locking code

@ronnyf
Organized the unfair lock code, I think I didn't break anything but can you take a look ?

Sorry. Looks good!


Fix ssh to http conversion for azure devops repos

This PR fixes https://github.com/allegroai/clearml-agent/issues/184 and also adds a test for dev.azure domains.

@jkhenning any thoughts on this?

Hi @mads-oestergaard, as I mentioned in my last comment, I'd like to change this to check on the actual Azure URL (as it's a fixed URL anyway, and relying on opportunistic parsing is something I'd like to keep in the code)

Hi @jkhenning thanks for answering. I got caught up with other things, but will give this a look again sometime next week


I have been testing this repo and...

Hello @Anvarjon
I have been testing this repo with multiple unseen audio sample files, with different ages and genders.
It is very imprecise. Sometimes men's voices are recognized as women's voices and vice versa. As well as voices of older people, it  identifies them as adolescents.
I guess it is not working with unseen samples, but only samples inside the dataset.
I really would like to integrate it to the speech dataset generator
But, I would like to always use it with unseen samples. Do you think there could be any improvement to this repository to achieve this?
A finetuning is not an option, I need something that works always with unseen samples

Either the model architecture is not well defined or the model training results are not good. In any case, it should be possible to use it on unseen samples, otherwise it is not functional in the real world.
I hope you achieve good results! For now I have ruled out integrating it into the speech-dataset-generator.


pyftmerge OTF changes width of glyphs in output file

I'm trying to merge two OTF (one with only Latin Glyphs, one with only Arabic glyphs). In the output file, the right sidebearing of the glyphs change depending on which OTF is named first in the terminal command.
For example:

Latin OTF first (LA-Regular.otf)
pyftmerge L-Regular.otf A-Regular.otf --output-file=LA-Regular.otf
The right sidebearing of all Arabic glyphs change.
Arabic OTF first (AL-Regular.otf)
pyftmerge A-Regular.otf L-Regular.otf --output-file=AL-Regular.otf
The right sidebearing of all Latin glyphs change.

I did several tests to find out the value added or subtracted from the right sidebearing.
In my latest test I merged a Latin OTF containing only H with an Arabic OTF containing only alef and space. The output file showed following:

Latin OTF first (LA-Regular.otf)
LSB of H = 100 units
RSB of H = 100 units
LSB of alef = 95
RSB of alef = 335 (should be 95, 240 units are added)
width of space = 500 (should be 260, 240 units are added)
Arabic OTF first (AL-Regular.otf)
LSB of H = 100 units
RSB of H = -148 units (should be 100, 248 units are subtracted)
LSB of alef = 95
RSB of alef = 95
width of space = 260

The value of 240 is being added to the Arabic Glyphs, in the merged "LA" file. The value of 248 subtracted from the Latin glyphs, in the merged "AL" file. I'm adding a screenshot of the CFF table.
I also found out that this value changes, when merging bigger charactersets. For example I merged one Latin OTF with Latin Plus characterset and one Arabic OTF with Arabic Language coverage. The value added/subtracted from the right sidebearing was 176 units for both merged output files.
I have no idea why the width of the glyphs change and where the values come from. Do you know what is happening here?
Merging two TTF is no problem. All widths are maintained.

could it be that the two CFF fonts have different nominalWidthX/defaultWidthX attributes and the merger doesn't take care of updating those? I don't see them mentioned in the merge code related to CFF table.

I believe that, if we keep the nominalWidthX/defaultWidthX of the first font in the merge, then all the charstrings for the subsequent fonts will have to be updated so that they encode the correct width (no width if equal to defaultWidthX, or width - nominalWidthX if different)

good. now the problem is you can't simply change those two values (e.g. make them the same) because it will change all the glyphs advances. What the merger should do is fix each of the glyph's charstrings such that the width command is set according to whatever the default/nominal widths are.

I don't think I'll get to fix this soon. :(

I don't think I'll get to fix this soon. :(

I put a PR together in https://github.com/fonttools/fonttools/pull/3070
Can you test please?

I put a PR together in #3070
Can you test please?

I don't think it works currently. Still debugging. Any chance you can email your test fonts to me?

It might work actually.


wallet: fix ghost UTXOs not being detected

Fixes https://github.com/lightningnetwork/lnd/issues/6434 by bumping the btcwallet version to the latest version that includes the fix in https://github.com/btcsuite/btcwallet/pull/838.
We also add an integration test that was able to show the problem.

Linter failing:
Error: lntemp/harness_assertion.go:1684:9: ineffectual assignment to err (ineffassign)
		addr, err = btcutil.NewAddressScriptHash(

Fixed the linter, but the etcd/postgres itests also seem to be failing. Will investigate tomorrow.

I found the issue. The --reset-wallet-transactions flag didn't work at all with remote databases such as etcd or Postgres because of an edge case in the wallet loader. I added a commit to re-initialize the loader as well to fix the problem.


feat(ProtoRev): Support for CW Pools

What is the purpose of the change
This PR adds support for CW pools, primarily by adding it as a recognized type when calculating the amount of pool points a route consumes.
Related issue: https://github.com/osmosis-labs/osmosis/issues/5858
Testing and Verifying

added unit tests for calculating routes with CW pools

@NotJeremyLiu @p0mvn @czarcas7ic added some tasks to https://github.com/osmosis-labs/osmosis/issues/5858 for better CW testing.

Awesome, thanks!


Add charge polarization

Add module Polarization
Add example and plotting scripts to measure the charge polarization

Codecov Report

Merging #13 (8a2404d) into master (855981d) will decrease coverage by 2.22%.
The diff coverage is 1.08%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.


Invalid Bignumber value

The tx completes successfully though.

this looks like an rpc issue

#216 is a temporary fix for now, ethers.js need to fix this in v5 or we wait for v6 (where it is already fixed)

it looks like ethers.js v5 won't be updated to fix the issue


[Proposal] Retreive Random Entries using Eloquent/Fluent

I would love to see something like
$quotes = Quote::random(20)->get()
for retreiving up to 20 random lines from a table. Of course this should be chainable with where clauses and stuff. Anyone else thinks that would come in handy ?

Helo,
you can help me how to create eloquent for this query
SELECT r.*FROM recipes r
left join images img on img.recipe_id=r.id
JOIN (SELECT CEIL(RAND() *
(SELECT MAX(id)
FROM recipes)) AS id)
AS r2
WHERE r.id >= r2.id
ORDER BY r.id ASC
limit 5


Optimal way to add footer

This should be a discussion but discussions are not enabled on this repo.
Right now I'm appending the footer like that
// TODO: improve, right now I don't know if the notion app has been loaded
    setInterval(() => {
        let targetElement = document.querySelector(".notion-scroller.vertical");
        targetElement?.appendChild(footer);
    }, 1500);

https://majestico.dev/
that's obviusly not the right way to do so and it doesn't behave correctly all the time, how do you guys handle the footer?
Thanks

I've enabled discussions.
Hope this will help with your question :)

Thanks, moved to discussions https://github.com/velsa/notehost/discussions/19


Amend references to "OpenSSL license"

A majority of files contain references to the "OpenSSL license"
which has been deprecated and replaced by the "Apache License 2.0".
Amend the occurences. Fixes issue #11649.

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

A majority of files contain references to the "OpenSSL license"

A majority?

The change is fine, and I would say it's trivial.  I'd like to ask that you reformat the commit message a bit, like this:
Amend references to "OpenSSL license"

A small number of files contain references to the "OpenSSL license"
which has been deprecated and replaced by the "Apache License 2.0".
Amend the occurrences.

Fixes #11649
CLA: Trivial

The last two lines need to be that way for Github to recognise this as a fix to that issue, and for our machinery to recognise this change as trivial.
To do this, all you need to do is the following:
git commit --amend

Edit the commit message
git push -f

Does the rest of @openssl agree this is a trivial change?

... and now I noticed that you're going to submit a CLA anyway, in #11649.  In that case, the CLA: Trivial isn't needed

I would agree that it's trivial. But since @periperidip plans to do more contributions in the future, we might as well just await his CLA.

I would agree that it's trivial. But since @periperidip plans to do more contributions in the future, we might as well just await his CLA.

I am not able to obtain a hard copy of the CLA (because all copiers are closed right now due to the pandemic), hence I submitted it as an e-copy (converted the PDF to DOCX, made changes and submitted the PDF). Will that be OK?

The change is fine, and I would say it's trivial. I'd like to ask that you reformat the commit message a bit, like this:
Amend references to "OpenSSL license"

A small number of files contain references to the "OpenSSL license"
which has been deprecated and replaced by the "Apache License 2.0".
Amend the occurrences.

Fixes #11649
CLA: Trivial

The last two lines need to be that way for Github to recognise this as a fix to that issue, and for our machinery to recognise this change as trivial.

Apologies, I will amend the message right away. Also, @levitte what issues/code would you suggest to deal with so as to increase the knowledge of the codebase and the tool in general?

@mspncp I am not able to obtain a hard copy of the CLA (because all copiers are closed right now due to the pandemic), hence I submitted it as an e-copy (converted the PDF to DOCX, made changes and submitted the PDF). Will that be OK?

We have accepted such PDFs before.

Also, @levitte what issues/code would you suggest to deal with so as to increase the knowledge of the codebase and the tool in general?

If you mean the formatting of Fixes #nnnn, that's documented by github: https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue

If you mean the formatting of Fixes #nnnn, that's documented by github: https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue

No, I meant getting familiar with OpenSSL and its code.

Close/reopen to kick CLA bot

Needs second review.

@mattcaswell, there is one more mention of the "OpenSSL license". What shall we do with it? Remove it or change it?
https://github.com/openssl/openssl/blob/203f4e7e06b4993e424a40660256265ac0f4c424/doc/man1/openssl-rehash.pod.in#L5

@mattcaswell, there is one more mention of the "OpenSSL license". What shall we do with it? Remove it or change it?

I'd suggest removing the second half of the sentence, i.e. from "contributed under...". That bit is no longer relevant and would be confusing to keep it.

I have made the suggested changes and closing the PR, filing a new one for review.

@mattcaswell, there is one more mention of the "OpenSSL license". What shall we do with it? Remove it or change it?

It's a comment...


Renaming the akka package

We need to rename the package from akka to either pekko or org.apache.pekko (this is still being decided). One thing to note is that this will break some tests, i.e. https://github.com/apache/incubator-pekko/blob/6680c47dcc2305906a44d7794081682211d7ee0b/akka-actor-tests/src/test/scala/akka/util/ByteStringSpec.scala#L983-L995 is dependant on the fully qualified class name so it will also need to be updated when the package changes (there may be other examples of this as well).

I could be wrong but the mima checks for binary compatibility will likely be meaningless once we change the package names. Maybe we should be pre-emptive and remove the mima checks. If removed, they will obviously need to be reinstated after the first Pekko release.

This is indeed correct, the easiest way to resolve this would be to disable the mima package.

Since the discussion around the package name has been resolved on the mailing list I am starting to work on this now.

This is done


Generate Terria catalogue from WMS layers

Background
Current Terria catalogue (/terria/africa-prod.json) individually defines items by calling upon WMS layers.
Current catalogue structure almost exactly follows the WMS layer structure defined in the root_cfg files.
Instead of manually updating this whenever a new product is added or modified, the Terria catalogue can be automatically generated from the latest tagged version of the OWS.
Example of new catalogue format: Click on link and select "Explore map data"
https://maps.digitalearth.africa/#clean&share=s-akEUAXgb7Ux1vwj1INIQLmY1pkA
Benefits include the folder and sublevel descriptions from the WMS layer files, which would otherwise have to be manually inputted and updated into the current Terria catalogue json.
Proposed changes
Replace current Terria catalogue json which uses multiple nested type: group items with a single item which calls all WMS layers using type:wms-group
Possible concerns

This creates an extra highest-level dropdown. This is not a problem as setting to "isOpen": true shows all headings automatically. Data61 have indicated removing this top-level folder may be part of a future code sprint
Currently verifying whether existing sharelinks will be broken
Makes it difficult to exclude prod-listed WMS layers from the Terria catalogue. This is not a problem as they can be tested in ows.dev and ows-latest before being added to live production

PR in draft form while I wait for response from Data61, please raise any additional concerns

This means that whatever we have in OWS will be in Terria.
Are we sure we want this?

Yes. It does. From my understanding it only generates from the tagged versions though, so you would still be able to test in dev and ows-latest.
I'm also wondering if the excludeMembers line might let you exclude things? https://github.com/GeoscienceAustralia/dea-config/blob/master/dev/terria/terria-cube-v8.json#L1764

Update - sharelinks seem robust to changes in root config structure, only affected by the wms-group name and the layer ID defined in the layer file. Currently being tested by Data61

share data should continue to work regardless of any changes made to the intermediate level groups (even flattening the nested WMS group to a single-level group of all layers). As long as WMS layer names don't change and the id of the the "wms-group" entry in the catalogue is still reachable

Translation is more comprehensive when using the wms-group auto-gen catalogue as it translates headings as well. Text language is dependent on browser settings, not Terria interface selection


Added Standard library in C++ best practices

Related Issue
Fix #3021
[Cite any related issue(s) this pull request addresses. If none, simply state "None”]
Description
In this issue, I have added Standard library feature in C++ best practices.
Type of PR

[ ] Feature enhancement
[x] Documentation update
[x] Other (specify): Added new practices_______________

Screenshots / Videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist

[x] I have performed a self-review of my code.
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have followed the code style guidelines of this project.
[x] I have checked for any existing open issues that my pull request may address.
[x] I have ensured that my changes do not break any existing functionality.
[x] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.
[x] I have read the resources for guidance listed below.
[x] I have followed security best practices in my code changes.

Additional Context
[Include any additional information or context that might be helpful for reviewers.]
Resources for Guidance
Please read the following resources before submitting your contribution:

[x] Code Harbor Hub Community Features
[x] Docusaurus Documentation
[x] React.js Documentation
[x] Markdown Guide
[x] MDX Documentation
[x] Mermaid Documentation

Resources for DSA Features on Our Site:

[x] Tabs: Switch Languages
[x] Line Numbering
[x] Math Equations

Contribution Guidelines
Thank you for considering contributing to our project! To ensure smooth collaboration and effective contribution management, please adhere to the following guidelines:
Issue Creation

Limit on Issues:

Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.

Contribution Levels

Basic Contributions:

This project is primarily focused on documentation. Most of the setup has been completed, so contributors will generally need to work on basic code tasks, such as writing tests.
For these tasks, issues will be assigned the level1 label.

Acknowledging Hard Work:

If a contributor puts in significant effort on a task, the issue will be upgraded to level2. This is our way of recognizing and appreciating extra effort.

Feature Additions and Component Work:

Contributors working on new features or components using JSX/TSX will be assigned a level based on the complexity and quality of their work.
The more complex and valuable the contribution, the higher the level assigned.

Level Definitions

Level1:

Tasks are straightforward, such as fixing minor bugs, writing tests, or making simple documentation updates.

Level2:

Tasks require more effort, such as addressing complex bugs, improving existing features, or making substantial documentation improvements.

Level3:

Tasks are highly complex and involve significant new feature development, major refactoring, or extensive contributions to the project’s core components.

We look forward to your contributions and appreciate your effort in helping us improve the project!

Hii @Ajay-Dhangar! I have successfully created a pull request. Can you please add the label Gssoc to my PR so that it will be reflected on the leaderboard.

@sahkanishk01, please complete your task.

@sahkanishk01, please complete your task.

I have completed this task.

@sahkanishk01, your file is empty. Could you please check and add some content to it?


Add --large option to search packages even if the version is large.

The Sonarr and Radarr packages use a 4 place version like <IP_ADDRESS>6 and I wanted to be able to use this tool with it. I tried to follow your existing style, hopefully you like it.

Abandon.


FileNotFoundError: [Errno 2] No such file or directory: '/Users/danielsimig/dc_files/hyph_en_US.dic'

hey, trying to run the repo to give it a shot, got this error
(text_characterization_toolkit) Ethans-MacBook-Pro:text_characterization_toolkit ethan$ python tools/compute.py -t "This is an example input text. It has a single paragraph and two sentences."
Loading spaCy..

Loading resource files..

Traceback (most recent call last):
  File "/Users/ethan/repos/text_characterization_toolkit/tools/compute.py", line 73, in <module>
    mp.load_resources()
  File "/Users/ethan/repos/text_characterization_toolkit/text_characterization/metrics.py", line 98, in load_resources
    metric_collection.load_resources()
  File "/Users/ethan/repos/text_characterization_toolkit/text_characterization/metrics.py", line 167, in load_resources
    self.hyphenator = Hyphenator(parse_filename_macros(hyphenator_dict_file))
  File "/Users/ethan/miniconda3/lib/python3.9/site-packages/hyphenator.py", line 200, in __init__
    _hdcache[filename] = HyphenationDictionary(filename)
  File "/Users/ethan/miniconda3/lib/python3.9/site-packages/hyphenator.py", line 104, in __init__
    with open(filename, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/danielsimig/dc_files/hyph_en_US.dic'

I have installed all the dependencies. Thanks

replace /Users/danielsimig/dc_files with <DATA_DIR> in configs/default.json


Restructure redis_reliablequeue to keep the connection open

title, basically don't drop the connection and keep it open to hopefully reduce overhead
need to test still and measure timings

Closing this since we don't really need it and the overhead is only like 80ms per transaction


Using .mock() as a .default() only in testing?

Hey hey,
So we are looking at using a "zod first approach" to developing libraries (DDD?).
As such we have just been looking at a way to quickly mock inputs during develop and testing. One idea we had was to use .default() to produce the test data - but then we realised this didn't make sense as we would then have these defaults in production as well.
It would be great if there were an equivalent .mock() that would return a mock value if no other is received and node env == dev or test (or some other config).
cc @iainkirkpatrick

Hi @agentlewis,
What I have done is I used faker js (repo). I have a function that takes a ZodSchema and goes through each of the Schema.shape.KEY and generates a fake value accordingly and then returns the object (parsing it first to be sure it is valid).
This is the create valid mocks, though (e.g. to fill a DB). To test wrong values, I do that manually generally.

I don't want to modify the behavior of .default in different environments. There are too many different ways of determining a dev/prod environment, and I don't want to be opinionated on that front.
But I'm open to a PR for a separate .mock method.
My preferred approach to this would be a .mock method on the base class. This method could accept some parameters that let you overriding the default mocking functions for each data type (e.g. strings, numbers, tuples, etc).
There would also need to be a way to override the mocking function for a particular schema instance (probably a .mocker() or .setMocker() method on the base class). This lets you mock refinement types like emails or UUIDs.
One complexity that comes to mind:

Refinements: Zod has no way of generating a value that satisfies a given refinement. There would also need to be a way to override the mocking function for a particular schema instance (probably a .mocker() or .setMocker() method on the base class).
Unions: which union "option" should be used to generate the value? Perhaps a randomly chosen one? Should the mocked value for an optional value be undefined 50% of the time?
Transformers: should Zod mock a value for the input or the output type? Not a huge issue, this can just be an option/flag in the .mock method.

@lazharichir thanks :)
@vriad That looks pretty good. I agree that default should behave one way regardless of environment. So a seperate function .mock() that you would chain on was what I was thinking.
That solution of just adding a function to default looks like it takes care of my need.

I just opened an RFC for mocking here: https://github.com/vriad/zod/issues/197
Feel free to comment 🤙

The "dynamic default" (e.g. passing a function that returns a default value) is now available in<EMAIL_ADDRESS>👍
const randomDefault = z
    .number()
    .default(() => Math.random())

// returns a new random number every time `parse` is called
randomDefault.parse(undefined);

Zod makes sure the returned value matches the expected type signature:
const randomDefault = z
    .number()
    .default(() => 'qwerty') // TypeError


Vulnerability found by OSS-Fuzz

Describe the issue
There is a vulnerability discovered by OSS-Fuzz as part of fuzzing https://github.com/syoyo/tinygltf/blob/master/tests/fuzzer/fuzz_gltf.cc
To Reproduce
Run the minimal input in https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 against the fuzzer / LoadASCIIFromString.
We've redacted the details from this issue because of the security implications.
The list of emails allowed to access the report above is at https://github.com/google/oss-fuzz/blob/30f3a8f1c0f5b072e77d5bea82709db04c53453d/projects/tinygltf/project.yaml.
Please let us know if there are access issues.
Expected behaviour
Running the input specified in the above bug will result in arbitrary code execution. This should not happen as a result of loading a glTF file.
Screenshots
N/A
Additional context
This was found by OSS-Fuzz, where there are a number of other open issues. Please let us know if you have issues or questions about any of these: https://bugs.chromium.org/p/oss-fuzz/issues/list?q=tinygltf&can=2

You should attach minimal reproducible data(e.g. poc file) and code, and also propose possible fix as PR.
Example: https://github.com/syoyo/tinyexr/issues/169

Hi @syoyo the PoC is a full code execution exploit -- we didn't think it was responsible to disclose this before it's fixed. We can privately send you the details via email, if that's OK with you?

@oliverchang No


[FEATURE] support Angular 11

🚀 Feature request
Is your feature request related to a problem?
Is there any plan to support angular 11 ?

Describe the solution you'd like

Describe alternatives you've considered

Additional context

May be I can help

I use it in my Angular 11 app. What issues are you seeing?


fix: white border around avatar on expanded table at 768px

Summary
https://app.clickup.com/t/861m6r7nu

Checklist

[ ] I checked my UI changes against the design and there are no notable differences
[ ] I checked my UI changes for any responsiveness issues
[ ] I checked my UI changes in light AND dark mode
[ ] I checked my (code) changes for obvious issues, debug statements and commented code
[ ] I opened a corresponding card on Clickup for any remaining TODOs in my code
[ ] I added a short description on how to test this PR (if necessary)
[ ] Documentation (if necessary)
[ ] Tests (if necessary)
[ ] Ready to be merged

Ah I just saw the other PR about table styling, I'll look at that next

@crnkovic could this be merged into #145 so it's easier to see everything together?

merged into https://github.com/ArdentHQ/arkscan/pull/145


cargo create a new cargo project fail on Windows

On Windows. If you use cargo new or cargo init  , it seems like a endless loop.
And on Linux, it works.
Tested with the latest stable Rust, installed via rustup-rs:
rustup 1.0.0 (17b6d21 2016-12-15)
host: x86_64-pc-windows-msvc
rustc 1.14.0 (e8a012324 2016-12-16)
cargo 0.15.0-nightly (298a012 2016-12-20)

sorry, my english is not very good , but i am working on it.

Thanks for the report! Can you provide logs or such of what's going on perhaps? Or is Cargo just spinning with no output?

Thanks for the report! Can you provide logs or such of what's going on perhaps? Or is Cargo just spinning with no output?

No output, no logs. (and no girlfriend in the past year)
Cargo just spinning with no output and CPU utility of one core is 100%.
I'm trying to positioning problem. but to be honest, it's too hard for me
/(ㄒoㄒ)/~~

No output, no logs. (and no girlfriend in the past year)
Cargo just spinning with no output and CPU utility of one core is 100%.
I'm trying to positioning problem. but to be honest, it's too hard for me
/(ㄒoㄒ)/~~

I cargo new in root directory. On Windows, which requires system administrator privileges.
If use cargo in other directory, it works.

I cargo new in root directory. On Windows, which requires system administrator privileges.
If use cargo in other directory, it works.

Hm interesting! Out of curiosity, did you install Cargo through rustup.rs? If so this ma also be a bug there. If you can manage to attach a debugger to the spinning process that would help greatly! That'd at least identify a stack trace to see where to look.

Hm interesting! Out of curiosity, did you install Cargo through rustup.rs? If so this ma also be a bug there. If you can manage to attach a debugger to the spinning process that would help greatly! That'd at least identify a stack trace to see where to look.

I hope I can provide stack trace, but I don't why, GDB can't work on my computer.
I hope I can ues it, but In the next week. I have these final exams. And math is too hard for me.(ಥ_ಥ)
(yes, not every Asian good at it)
So maybe, I have no time for this, recently.
(っ╥╯﹏╰╥c)
But after that is Chinese new year, I'll try to find what cause this bug, in the long vocation.(I think that's interesting.)
～(￣▽￣～)~
before fixed, maybe can just warring users and exit when they try to do this.
(´｡✪ω✪｡｀)
by the way, cargo can just create a new crate in other place and then, move it!
(it's so dirty, but I like it.)

I hope I can provide stack trace, but I don't why, GDB can't work on my computer.
I hope I can ues it, but In the next week. I have these final exams. And math is too hard for me.(ಥ_ಥ)
(yes, not every Asian good at it)
So maybe, I have no time for this, recently.
(っ╥╯﹏╰╥c)
But after that is Chinese new year, I'll try to find what cause this bug, in the long vocation.(I think that's interesting.)
～(￣▽￣～)~
before fixed, maybe can just warring users and exit when they try to do this.
(´｡✪ω✪｡｀)
by the way, cargo can just create a new crate in other place and then, move it!
(it's so dirty, but I like it.)

Oh no worries if you're busy! I'd like to fix the error here as it at least seems like it needs a better error message. Unfortunately with the information here I haven't quite been able to pin down where this error is coming from though :(
Let me know though if you make more progress!

Yesterday, I run code from rust std docs;
use std::sync::Arc;
use std::sync::atomic::{AtomicUsize, Ordering};
use std::thread;
fn main() {
    let val = Arc::new(AtomicUsize::new(5));

    for _ in 0..10 {
        let val = val.clone();

        thread::spawn(move || {
            let v = val.fetch_add(1, Ordering::SeqCst);
            println!("{:?}", v);
        });
    }
}

It seems like a deadlock.
But I  try it on Linux, it's works.
Some friends of mine run it on Windows, some works and some deadlock.
On Windows, it's hard to build Cargo with GNU ABI Cargo,  but build with MSVC ABI Cargo, I can't debug by GDB.
So I used WinDbg, It seems there is a deadlock, too.
I know little anti-compilation, I'm asking my friend.
Maybe, there is a bug in the rustc ?
Maybe. god think I shouldn't study Rust ?
/(ㄒoㄒ)/~~

@DCjanus that's actually a bug in IIRC where if the program exits while a thread is still running it causes the whole process to lock up. In any case though I think that's not a bug in Cargo, so I'm going to close.


Input of max_size - support for other measurements

Eg an argument of 2TB rather than however many bytes, perhaps support for b,kb,mb,gb,tb.
Probably low priority as this will be fixed with a GUI, but it would be good in case anyone else is creating third party GUIs of any sort.

To many standards or the lack thereof ... is one kb 1024 bytes or 1000 bytes ?
I suggest we use postfixes in line with the way the unix 'dd' program and most unix systems expect, to avoid confusion.
1K = 1024^1 bytes
1KB = 1000^1 bytes
1M = 1024^2 bytes
1MB = 1000^2 bytes
1G = 1024^3 bytes
1GB = 1000^3 bytes
1T = 1024^4 bytes
1TB = 1000^4 bytes
1P = 1024^5 bytes
1PB = 1000^5 bytes

Sounds reasonable to me. Got for it.

Syntax added to max_size option.


Add cardinality to all objects and properties in the Turtle files

This is required for the Python API Autogeneration feature to work and should occur for the first stable release of the ontology (before v1.0.0).

@plbt5 - I suggest this issue can be closed.  That specific API autogeneration feature is no longer a CASE goal, as it was based on an OWL syntax before the SHACL conversion.
Further, cardinality is now appropriately specified in SHACL ProperyShapes.  No sh:min implies minimum 0; no sh:maxCount implies maximum unbounded.


Amindofastoner0312/airsdk.dev: airsdk.dev website source - News information and documentation on the AIR SDK????

https://github.com/Amindofastoner0312/airsdk.dev

https://github.com/Amindofastoner0312/airsdk.dev

????


🔨 REFACTOR: update plugin-flydrive

something weird here I added !can but it's merged without it

I think I merged it before you pushed your last commit,


[Dataverse] Ontology connexion - filter results

Feature: [Dataverse] Ontology connexion - filter results

As an end-user of the portal on the .../dataverse page,
I want to filter the dataverse
So that only items having the metadata I need are shown

Acceptance criteria
Scenario: Filter application in dataverse and result retrieval from ontology
Given that I am an end user navigating the portal on .../dataverse page
When I select a criteria in a filter
Then the system should retrieve the current recourses that have that criteria in their metadata in the ontology
And display only the resources on the right hand-side of .../dataverse page
Scenario: Cross Filter application in dataverse
Given that I am an end user navigating the portal on .../dataverse page
When I select a criteria in a filter
Then the system should detect according the first filter on the metadata, the possible criteria in all the other filter that could be selected
And the UI will hide the non-corresponding criteria as in https://github.com/okp4/dataverse-portal/issues/196#issue-1681313192
Environment

staging URL: https://app.staging.okp4.network/

Additional informations
None.

The estimation will be done once https://github.com/okp4/dev-kanban/issues/1462#issue-1684738780 is done

Estimation will be done after technical definition


Auto-generate the Dial documentation

@tim-haselhoff, here I introduced a parent base class that is shared between the Dial and Button and auto-generate the table with documentation


En-dashes and Em-dashes

I'd love to know how to type en-dashes and em-dashes in Windows without using the numeric keypad that my Surface Book 2 doesn't have. Could you add that to this article?

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

ID: 921295a2-2503-881a-e1a5-271f4a361053
Version Independent ID: 536665af-b365-4b16-03b6-999826ac2185
Content: Em dashes - Microsoft Style Guide
Content Source: styleguide/punctuation/dashes-hyphens/emes.md
Product: non-product-specific
GitHub Login: @pallep
Microsoft Alias: pallep

A 'workaround' is to find the character on the Internet and copy-paste!
Two minus signs are considered emdash -- though less frequent usage but valid still.
Windows includes Character Map application. Search for it in the Start Menu, launch it, and find the relevant characters for each installed font. Copy-paste those characters as well.
Hope it helps.

Thank you, I use those all the time. It just seems like Windows ought to have key combos for these built in. :)


performance reduce cache misses in agg operations.

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Remove a broken hook

This is my attempt to implement this comment. This is my first ever patch to Webpack, so please bear with me if I screw things up or miss the obvious here. I've only ever been a user prior to this, so apologies if I make mistakes here. 😟 😄

What kind of change does this PR introduce? Fixes #8491 partially by just removing the broken functionality.

Did you add tests for your changes? Not yet - I'm not sure where they would go.

Does this PR introduce a breaking change? Not as far as I know.

What needs to be documented once your changes are merged? Nothing as far as I know apart from maybe just documenting those globals aren't added with .mjs files.

Separately, what's Webpack 5's behavior? I'd like to maybe see if I could add that in as well if it's more than just ignoring the globals. It doesn't sound like it should be hard to inject a global import with a temporary variable, but I'm not familiar with Webpack 4's internals and I don't know what internal machinery exists for doing those two.

@ooflorent Could you drop in and comment in #8491, then? I'm experiencing major breakage due to a bug and I thought this was a bug fix.

This is a bugfix. The NodeSourcePlugin injects variables with require calls which doesn't work in .mjs files.

I added a test case, but how do I ensure require is not available? This will silently fail if it's defined.

Thanks


Implementation of the BlockStore

The block store stores headers of blocks. Not all headers have to be
reported. It is only required to report all headers that should become
justified checkpoints.
The block store tracks all justifications and finalisations through
calls to the justify() method. Only the polling place can call that
method.
Tests are written in one file per method that is tested.
The origin and the auxiliary block stores were deleted. The BlockStore is now equal to the OriginBlockStore and the AuxiliaryBlockStore must be rewritten.

@deepesh-kn I decided to use named parameters everywhere. It does not increase the gas cost of execution. And in my opinion it makes the code more readable as it clearly states what it returns. Kind of like
returns (boos isValid_)

instead of
returns (bool /* isValid */)

I can remove it if we think it makes code harder to read or maintain. However we should agree on something and be consistent. What do you think?
/cc @sarvesh-ost

We decided to remove the named return variables where they are not needed. There will generally be cases in solidity where return variables cannot be named due to the limit in local variables per function.


mim train mmdet error

When I try to use mim train mmdet -h, this error happen:
python: can't open file '/home/tiger/.local/lib/python3.7/site-packages/mmdet/tools/train.py': [Errno 2] No such file or directory

However I can find mmdet by pip list or mim list

Could you provide the output of ls /home/tiger/.local/lib/python3.7/site-packages/mmdet/?

Same issue here, how did you solve it?
My output is
$ ls ~/.local/lib/python3.10/site-packages/mmdet3d
apis  datasets  engine  evaluation  __init__.py  models  __pycache__  registry.py  structures  testing  utils  version.py  visualization

I've used mmdet3d and mim several times before. It's a little bit confused for me to encounter this error in my freshly set up environment.
I've also compared the outputs from my previously fine environments, and there is no tools/ in those folders. I guess mim might be looking in the wrong location?


Runtime error

On vast.ai, following notebook steps correctly, get the following error:
This is global step 0.
Training complete. max_training_steps reached or we blew up.
Traceback (most recent call last):
File "/workspace/Dreambooth-Stable-Diffusion/main.py", line 875, in
trainer.fit(model, data)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 770, in fit
self._call_and_handle_interrupt(
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 723, in _call_and_handle_interrupt
return trainer_fn(*args, **kwargs)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 811, in _fit_impl
results = self._run(model, ckpt_path=self.ckpt_path)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1236, in _run
results = self._run_stage()
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1323, in _run_stage
return self._run_train()
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1345, in _run_train
self._run_sanity_check()
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1413, in _run_sanity_check
val_loop.run()
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/loops/base.py", line 204, in run
self.advance(*args, **kwargs)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/loops/dataloader/evaluation_loop.py", line 155, in advance
dl_outputs = self.epoch_loop.run(self._data_fetcher, dl_max_batches, kwargs)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/loops/base.py", line 204, in run
self.advance(*args, **kwargs)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py", line 128, in advance
output = self._evaluation_step(**kwargs)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py", line 226, in _evaluation_step
output = self.trainer._call_strategy_hook("validation_step", *kwargs.values())
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1765, in _call_strategy_hook
output = fn(*args, **kwargs)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/strategies/strategy.py", line 344, in validation_step
return self.model.validation_step(*args, **kwargs)
File "/opt/conda/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/workspace/Dreambooth-Stable-Diffusion/ldm/models/diffusion/ddpm.py", line 368, in validation_step
_, loss_dict_no_ema = self.shared_step(batch)
File "/workspace/Dreambooth-Stable-Diffusion/ldm/models/diffusion/ddpm.py", line 908, in shared_step
loss = self(x, c)
File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "/workspace/Dreambooth-Stable-Diffusion/ldm/models/diffusion/ddpm.py", line 945, in forward
return self.p_losses(x, c, t, *args, **kwargs)
File "/workspace/Dreambooth-Stable-Diffusion/ldm/models/diffusion/ddpm.py", line 1096, in p_losses
logvar_t = self.logvar[t].to(self.device)
RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu)

Wrong github user (lol)


How to Add/Remove Sections?

I've been able to solve a lot of my problems by reviewing all the issues here, but what I haven't been able to figure out is a good way to add/remove sections.
Looking at the example, I see you're storing sections in the const CONTENT. I'm wondering if anyone has a recommended way of doing this. Should I be pushing objects to that CONTENT array? Is this in the documentation somewhere and I'm misunderstanding how to do it? I'm new to React so apologies if this is obvious.

I should add that I'm working with the accordion.

You can just keep the content array in your state. As you use setState to add or remove items, the changes will reflect in the accordion

Works perfectly! Thank you!
As someone new to React, I was confused as to why the content array wasn't in the state in the example since I figured that was the "react way" to do things. But I guess if your data isn't changing like in my case, there's not much reason to do so. I do think this behavior would be a cool addition to the example though.
Thanks again for the help and quick response!


Continue Task on error

I create a Task which Updates a version number.
First it retrieves the version number from JSON file locally.
Next it tries to retrieve the version number remotely (which should have the latest version)
Finally it updates the version number to a new version number.
But it fails on the initial run because there is no remote version number yet. But now my task fails and does not continue to the next command in the task.
Example:
task UpdateVersion {
$LocalVersion =  ((Get-Content -path c:\temp\foo.json) | ConvertFrom-JSON).Version
$RemoteVersion = exec {external command to retrieve version} #fails on initial call (is expected)

if ($RemoteVersion)
{
#Code to update Remote version
}
else {
#code to update Local version
}
}

How do I make sure the task commands continue when the Remote version retrieve step fails?
/Stefan

You just need to make sure the exec does not throw a terminating error.
Whether that requires you to wrap it in a different process or something...
Also I'd probably use version as a parameter.
And most likely you'd benefit from using gitversion and semver as it's meaningful & deterministic.

Here's what I use with ModuleBuilder: https://github.com/gaelcolas/SampleModule/blob/modulebuilder/.build/tasks/Build-Module.ModuleBuilder.build.ps1

Hi @gaelcolas,
I solved it using try catch in the task. If the exec fails in the try I continue in the catch.
Thanks for helping out here.
/Stefan

Yes, try/catch does the trick in all such cases. In this particular case you may just do not use exec and after the command check for $LastExitCode, might be simpler.

I have a bunch of tasks I want to execute, independent of each other (say make targets). I want the other tasks to continue building if one fails, but still I'd like to get the number of failed tasks in the end.
I implemented this using the (I guess) internal API, using *Err:
# ... foreach($tar in $targets) task $tar { ...
try { exec { make CONFIG=$tar } }
catch { *Err $Task }
# ...

It doesn't feel quite right to use *Err, is there another way I don't see?

Use "?" prefix on referencing tasks that allowed to fail.
Example:
task do-not-care ?bad, {
	'in do-not-care'
}

task bad {
	throw 'oops'
}

Build do-not-care C:\tmp\.build.ps1
Task /do-not-care/?bad
ERROR: oops
At C:\tmp\.build.ps1:7 char:2
+     throw 'oops'
+     ~~~~~~~~~~~~
At C:\tmp\.build.ps1:6 char:1
+ task bad {
+ ~~~~~~~~~~
Task /do-not-care
in do-not-care
Done /do-not-care 00:00:00.0669999
Build completed with errors. 2 tasks, 1 errors, 0 warnings 00:00:00.3403203


Array types reimplemented

This PR is really logical continuation of #905. Some changes from #905 was improved here.
Array type JS implementation rewritten, so it looks more as .Net (we now have separate types for Array and Vector), array doesn't need ArrayOverlay anymore.  Array type variance correctly implemented.
Struct types now are non-variant, as in .Net. (#553, test not added).
Type static ctor execution from intialliaztion removed (#904).
Fixed #903. Probably fixed #895 (to check separately).
Partially resolved #865 and related issues (need to gather tests from them).

Looks like I've done something incorrectly while worked on #903. Will fix it.

Renamed "JSIL.Core" assembly to "mscorlib".

Issue fixed, all tests are passing now.

This looks pretty good. Can you give me a quick summary of what the intended result of all the array changes is? Some of the detailed looked subtle so I want to make sure I understand the big picture.

Main purpose was to get rid of ArrayOverlay, but still support correct interfaces.
Original multi-dimension array implementation was partial - now it much more complete.
Arrays (multidimensional arrays) and vectors (one-dimension zero based array) have different implemented interfaces in .Net, so I need better separation between them.
Also, for each .Net array dimension there is separate type - now we have same in translated source.
Also I've worked to support array variance (MyClass[] is not implement IList, but object still be cast to it as it could be cast to object[]).
Main principal change - all arrays created through .Net has attached property ElementType (and we treat arrays without them as object[]).

OK, that all sounds good. Thanks for doing the hard engineering work to make that happen. :D

You also already noted, that interface now can pass fallback method and additional check type method.

Removed commented code and fixed typo, use !JSIL.IsArray check instead of .LowerBounds.

OK, so it sounds like a 'Vector' is a single-dimension array with indexes starting at 0? And everything else is an 'Array' in that terminology? Is that right?
Anyhow, !JSIL.IsArray seems like a sensible solution. Thanks.

Follow-up note: What do you think we should do about JSIL.IsArray? Having a method with that name return false for certain arrays that aren't Array-enough is pretty goofy. IsJSArray, maybe?

Really it is a little bit tricky.
Per ECMA-335, "an array type shall be defined by specifying the element type of the array, the rank (number of dimensions) of the array, and the upper and lower bounds of each dimension of the array. ...
Exact array types are created automatically by the VES when they are required. ...
The VES creates one array type for each
distinguishable array type. In general, array types are only distinguished by the type of their
elements and their rank. However, the VES treats single dimensional, zero-based arrays (also
known as vectors) specially."
So, you can really specify different array types in IL (and it will be preserved during compilation), but at run time will be created vector if "it is single-dimension array with indexes starting at 0" and array otherwise.

It even more tricky that I thought.
Single dimension array is assignable from vector (but vector is not derived from single-dimension array type). Probably once I will take one more round to do it properly.

So probably JSIL.IsArray should return true even for non-vector array (and they should also be just raw JS arrays, we just attach bounds/dimensions info to them) and we need to introduce JSIL.Array.IsVector method to detect non-vector arrays.


Screenshots in Play Store should have Tamil Songs

All the screenshots in the app's Play Store listing are that of English Songs which may give an impression to users that this app may not contain Tamil songs.
Replace all the screenshots in the order specified below:

List of Song titles (retain the existing screenshot)
Search by song title
List of Song authors
List of Playlist (Favourites) items
Portrait view of the song "Aandavar Padaitha Vetriyin"
Landscape view of the song "Aandavar Padaitha Vetriyin"


Insider build 0.12.4 breaks the plugin

Tried this with the new insider build 0.12.4 and can't get the plugin to load at all.

Hello @danraymond,
Thanks for reporting.
I tested the plugin with 0.12.4 and it seems to work fine.
https://user-images.githubusercontent.com/14110183/119617014-02bfb280-be0a-11eb-84ec-1f4ab0ec7705.mov
If you open developer console, you should see the following:
loading sortable plugin

Can you please provide additional info? What other plugins are you using?

Closing this as no further information was provided.
If a problem occurs, please open a new issue with specific problem details.


added configuration options for the ts compiler

also updated the dev flag under scripts in package.json to enable the ts compiler to compile ts files in developer mode since vite only supports ts compilation  in production mode.

Closing in favour of #5


[docs] fix argos config to run on the main repo

I migrated the feature turned on the docs in OpenLineage/docs repo to the main repo. It looks like it is working (I can see the diff after adding a "visual-comparison-required" label).


Completed_Portfolio page

Display of Projects,Tools and Contact page
The completed work of my mobile portfolio which contains the about me page, projects page,tools and framework page and a footer page
This project is built using the following files;

[ ] Add index.html
[ ] Add styles.css
[ ] Add .hintrc
[ ] Add stylelintrc.json
[ ] Add packet.json

All this files were used to build this project

[OPTIONAL]

As you can see the title of each list does not look in the same position in the template. I think is because you are centering the title AND icon. It is better to center all the text and then put the icon before the titles. This is more noticed in the skill section. 🤓

[ OPTIONAL ]

As this was not required by the previous reviewer I will mark it as optional. But I suggest you do the changes to have a pretty neat project. 😄

YOURS:

FIGMA:

The title, paragraph, and buttons should have a little bit more space between them.
The font weight for the paragraph should be less.
You can add line-height property to have more spacing between the lines of one paragraph.
The "boxes" of the languages use also Inter font.
The button "see project" and languages boxes have more height.

This sounds like a lot of changes but they are not actually too hard to implement 😄


Add missing attempts increment

Thanks for you contributions. This has been merged in https://github.com/zendesk/racecar/pull/272


Create budget at management group level with service-principal login fails with 400

Bug Report
Import:
"github.com/Azure/azure-sdk-for-go/services/consumption/mgmt/2019-01-01/consumption"

Attempting to create a budget at management group level and with a service principal login fails with code 400 message The Principal Id cannot be null/empty in the header.

Creating at subscription instead of management group level works fine with service principal login.
Switching to a user login instead of a service principal login works fine at subscription and management group level.

Googling the error message returns nothing. Is there a magic header that has to be set when budgets are created at management group level with a connection authenticated by service-principal?
Request:
(Authorization header not shown)
PUT //providers/Microsoft.Management/managementGroups/XXXXXXXX/providers/Microsoft.Consumption/budgets/MyBudget?api-version=2019-01-01 HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.13 (amd64-windows) go-autorest/v13.0.0 Azure-SDK-For-Go/v32.5.0 consumption/2019-01-01 Terraform/0.12.6 terraform-provider-azurerm/dev
Content-Length: 726
Content-Type: application/json; charset=utf-8
X-Ms-Correlation-Request-Id: 88490d2e-edf1-818a-aa3b-4de697af3f2b
Accept-Encoding: gzip

{"properties":{"amount":"100.65","category":"Cost","filters":{"meters":["00000000-0000-0000-0000-000000000000"],"resources":["/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2","/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"],"tags":{"category":["Dev","Prod"],"department":["engineering","sales"]}},"notifications":{"actual_greaterthan_80_percent":{"enabled":true,"operator":"GreaterThan","threshold":"80","contactEmails":["johndoe@contoso.com","janesmith@contoso.com"]}},"timeGrain":"Monthly","timePeriod":{"startDate":"2019-10-01T00:00:00Z","endDate":"2022-10-31T00:00:00Z"}}}

Response:
HTTP/2.0 400 Bad Request
Content-Length: 140
Access-Control-Allow-Origin: *
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Fri, 20 Sep 2019 15:36:56 GMT
Expires: -1
Pragma: no-cache
Session-Id: 587d2172-61bf-4407-98c3-5ce7aaa39821
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Ms-Client-Request-Id: 9e7e7bcb-91cf-4c25-829c-22c3749d528c
X-Ms-Correlation-Request-Id: 88490d2e-edf1-818a-aa3b-4de697af3f2b
X-Ms-Ratelimit-Remaining-Tenant-Writes: 1199
X-Ms-Request-Id: 077c6e01-a2aa-4dde-8eaa-4d1dd96e8eb2
X-Ms-Routing-Request-Id: UKSOUTH2:20190920T153656Z:2a6bade9-245d-4049-8b2e-1d79dff6c084
{"error":{"code":"400","message":"The Principal Id cannot be null/empty in the header. (Request ID: 077c6e01-a2aa-4dde-8eaa-4d1dd96e8eb2)"}}

this is fixed.

Closing as per Prem's comments. If you still find the issue persisting, please feel free to reopen.


Failed to install error message when I try any extension install

Issue Type: Bug
When I try to install any Visual Studio Code extension I get error message "Failed to install" with a button to download manually. I tried install manually and it work but why installing from extensions menu give me this error ?
I tried also to disable Norton Security firewall and auto protect but problem remain.
VS Code version: Code 1.40.2 (f359dd69833dd8800b54d458f6d37ab7c78df520, 2019-11-25T14:54:45.096Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
AMD Ryzen 5 3600 6-Core Processor               (12 x 3600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.95GB (8.88GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Please follow these steps

Help -> Toggle Developer Tools -> Network
Then check for any network failed requests while browsing and installing the extensions if found all requests fails then its probably a proxy or DNS issue at your end.
To confirm its a DNS issue check if you can access this page https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2019.8.29288/1565127378610/Microsoft.VisualStudio.Services.Icons.Default, if you cannot please try configuring your DNS like pointing to <IP_ADDRESS> as suggested here? https://<IP_ADDRESS>/dns/. Otherwise please contact your network administrator.
If it is not a network issue, please share the logs from the following locations

Help -> Toggle Developer Tools -> Console
Help -> Toggle Shared Process -> Console
View -> Open View… -> Log (Shared)
View -> Open View… -> Log (Window)

yes it was the DNS thanks
On Fri, Dec 6, 2019 at 9:06 AM Sandeep Somavarapu<EMAIL_ADDRESS>wrote:

Please follow these steps

Help -> Toggle Developer Tools -> Network
Then check for any network failed requests while browsing and
installing the extensions if found all requests fails then its probably a
proxy or DNS issue at your end.
To confirm its a DNS issue check if you can access this page
https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2019.8.29288/1565127378610/Microsoft.VisualStudio.Services.Icons.Default,
if you cannot please try configuring your DNS like pointing to <IP_ADDRESS> as
suggested here? https://<IP_ADDRESS>/dns/. Otherwise please contact your
network administrator.
If it is not a network issue, please share the logs from the
following locations

Help -> Toggle Developer Tools -> Console
Help -> Toggle Shared Process -> Console
View -> Open View… -> Log (Shared)
View -> Open View… -> Log (Window)

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/86331?email_source=notifications&email_token=AFS2JRZTUZS4FQ5VGTNT55DQXH2YTA5CNFSM4JVQUIL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGDHF4A#issuecomment-562459376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFS2JR72DVTINYHX3T5KA3TQXH2YTANCNFSM4JVQUILQ
.

--
Best Regards
Isaac


Add alternating colors to chat

In comments replay view, adding alternating background color for each timestamp/comment could help visibility. Maybe it could be an option, and off by default. What do you think?

Added basic functionality (without customizability) in dac2787.


Hyperlinks to the Main Repos

Add hyperlinks to the main repos for learning more with the code blocks - Hyperlinks to the Main REPOs

This is done on all samples


Fix #8628: Don't test math.trunc with non-float64 NumPy scalars

This fixes an issue introduced by the test_math_trunc test from PR #8605 - I have no idea how the problem initially managed to sneak past CI.
See numpy/numpy#13375. __trunc__ is not defined for NumPy scalars other than float64, so we can't call math.trunc(x) in the CUDA simulator for NumPy scalars x if they are not float64 type.
Fixes #8628.

gpuci run tests

it seems AzureCI is not picking up the new tests:
NUMBA_ENABLE_CUDASIM=1 $SEGVCATCH python -m numba.runtests -b -v -g -m $TEST_NPROCS -- numba.tests
/home/vsts/work/1/s/numba/core/decorators.py:240: NumbaDeprecationWarning: numba.generated_jit is deprecated. Please see the documentation at: https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-generated-jit for more information and advice on a suitable replacement.
  warnings.warn(msg, NumbaDeprecationWarning)
/home/vsts/work/1/s/numba/core/decorators.py:240: NumbaDeprecationWarning: numba.generated_jit is deprecated. Please see the documentation at: https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-generated-jit for more information and advice on a suitable replacement.
  warnings.warn(msg, NumbaDeprecationWarning)

----------------------------------------------------------------------
Ran 0 tests in 0.000s

confirmed to be gitdiff problem: https://github.com/numba/numba/issues/8631

The later sliced test run should have picked up the test by there's no way to confirm


The Developer Tools Sometimes Fail to Load

Environment (please complete the following information):

OS Windows 10 Pro 22H2:
Extension version 2.1.5:

Describe the bug:
The extension's developer tools sometimes fail to load

Repro steps:
Open VSCode with a slow internet connection an open Edge Tools
Expected behavior:
It should load the developer options correctly always
Additional context:
The loading failure might be caused by an attempt to update, and if the internet connection is poor or nonexistent, that could be the source of the problem.

Thanks for reporting this. Making sure this shows up on our team's backlog.

should be fixed by:
https://github.com/microsoft/vscode-edge-devtools/pull/2431