get_lldp_neighbors fails when ChassisId is truncated

When neighbor devices have a very long Chassis ID, looking up this value in the MIB fails:
File "/home/rgilijamse/scripts/_venv/lib/python3.8/site-packages/napalm_procurve/procurve.py", line 423, in _lldp_detail_parser
    "{}.0.{}.1".format(key_mib_table[key], ifs[interface])
KeyError: 'ChassisId'

Easy to fix: add the correct MIB id to key_mib_table in _lldp_detail_parser (line 388)
"ChassisId": "lldpRemChassisId",

I can add a PR for this if you want, but it'll take me some time to set up an environment for that.


Using config('colors') in SASS color functions

I'm using tailwind with a third party UI framework. Within the tailwind config file I would like to set SASS color variables for that framework, e.g. something like this:
$ui-primary-color: darken(config('colors.blue'));

This won't work since config('colors.blue') is not available when the SASS color function is applied. So what is the best way to do so?

Using Tailwind's colors in your Sass is definitely tricky/impossible :/
I would recommend just maintaining a duplicate list of colors in both a Sass variables file and your Tailwind color palette if you want to access them from both places. Annoying to update two places but shouldn't really be too painful in practice.
Another option is to use Sass to generate CSS3 variables like:
:root {
  --blue: $color-blue;
  --blue-dark: darken($color-blue);
}

Then you can reference those same Sass variables in the other UI framework:
$ui-primary-color: $color-blue-dark;

Then in Tailwind, you can set your color palette to use those CSS3 variables instead of real values:
var colors = {
  'blue': 'var(--blue)',
  'blue-dark': 'var(--blue-dark)',
}

Then you could add the postcss-custom-properties plugin to your build chain, replacing CSS3 variables with their actual values:
https://github.com/postcss/postcss-custom-properties
This would allow you to keep all of the variables just defined in your Sass and reuse them in Tailwind
Sort of convoluted but that's the best way I can think to do it.

I think two color lists will do it. Thanks!

Or inject color list with sass option like https://github.com/tailwindcss/discuss/issues/79.

@adamwathan you solution working nice, but there is problem with negative Margin. Tailwind generate -var(--negativeMargin-sm) and postcss-custom-properties plugin don't replace this value.
Any suggestion?
Thanks!

Seems like I'm commenting on an old thread, but just in case anyone else needed some sort of tailwinds config to scss variables utility, I whipped up a quick node script that takes in the tailwinds config file and creates a scss variables file based on the defined configuration. The code below just creates a file based on the colors defined but can be adjusted to any properties defined in the config file.
const fs = require('fs');
const path = require('path');
const TailwindConfig = require('./tailwind.config');
const colors = TailwindConfig.colors;
const outPath = path.join(__dirname, 'theme-variables.scss');

// If the file exists, delete it.
fs.unlink(outPath, err => {
  if (err && err.code !== 'ENOENT') return console.error(err);

  // Iterate through the colors property of the tailwinds config
  // and create a scss variable for each color.
  Object.keys(colors).forEach(key => {
    let line = `$--${key}: ${colors[key]};\n`;

    fs.appendFile(outPath, line, err => {
      if (err) return console.error(err);

      console.log(`wrote ${key} color`);
    });
  });
});

From my tailwinds configuration file, it created this scss file:
$--white: #ffffff;
$--white-three: #dcdcdc;
$--white-four: #fafafa;
$--white-six: #efefef;
$--pinkish-grey: #cecece;
$--transparent: transparent;
$--warm-grey: #9b9b9b;
$--warm-grey-two: #8e8e8e;
$--greyish: #adadad;
$--greyish-30: rgba(173, 173, 173, 0.3);
$--tiffany-blue: #74cfe7;
$--duck-egg-blue: #e8f4fc;
$--duck-egg-blue-light: #d6edf740;
$--black: #22292f;
$--slate-grey: #5c5e62;
$--seafoam-blue: #86cabd;;
$--light-olive-green: #a5ba52;
$--light-grey-blue: #a0c3d2;
$--squash: #f6a724;
$--blush: #f37777;
$--pale-olive: #bcd48a;
$--light-salmon: #ffa898;
$--wheat: #fabd79;
$--ecru: #eeffca;
$--primary: #74cfe7;
$--success: #a5ba52;
$--danger: #f37777;
$--warning: #f6a724;
$--info: #86cabd;;
$--light-grey: #9b9b9b;
$--grey: #5c5e62;
$--default: #5c5e62;

Pretty frustrated that it's not working natively, but thanks for workarounds, guys!

Found a solution here<EMAIL_ADDRESS>It's using a SASS function declared in webpack config which can read the Tailwind config file. Looks like using config($keys) instead of get($keys) in the article offers a perfect "polyfill" for Tailwind in SASS! Still struggling with colors function though...

You could also use this tool, it will export your configs to sass/less/stylus etc :) https://www.npmjs.com/package/tailwindcss-export-config


Add Improvement to symptom field on Mobile devices. #8867

Proposed Changes

Fixes #8867

Change 1
Calendar is clipping out and auto-zooming when you click on calendar option on the Onset Date field.

Change 2
when Going back from after selecting a symptom from the dropdown, users get confused for closing the dropdown and tend to select other symptoms accidentally. this makes entering symptoms on mobile devices difficult for field nurses.
It's better to add the auto-collapse the dropdown after selecting one symptom. this makes users file symptoms easier and restrict from filing all the symptoms on the same Onset date.

@ohcnetwork/care-fe-code-reviewers

Merge Checklist

[ ] Add specs that demonstrate bug / test a new feature.
[ ] Update product documentation.
[ ] Ensure that UI text is kept in I18n files.
[ ] Prep screenshot or demo video for changelog entry, and attach it to issue.
[ ] Request for Peer Reviews
[ ] Completion of QA

Summary by CodeRabbit

New Features

Simplified symptom selection process allowing single symptom selection.
Enhanced user feedback for adding symptoms and marking them as entered in error.

Improvements

Updated layout for a more responsive design.
Refined validation logic for symptom details.

Bug Fixes

Improved error handling during symptom updates.

@ayushpatil2122 Please don't open PRs for issues that are already assigned to someone (if there's no activity, request to be assigned first). This issue was blocked 👍 Plus, we don't want to switch from multi-select anyways; we will be rebuilding symptom builder later.
Closing the PR for now.


Reproduce zeroshot results on fgvc-aircraft dataset.

Thank you for your work on CLIP!
I was trying to reproduce the zeroshot prediction results listed in Table 11 in the paper. Though I can reproduce most of the results in the Table 11, I found there are huge gaps on fgvc-aircraft  dataset.
We have tried:

Use JIT when loading CLIP model or not
Using different image preprocessing, i.e. center-crop or not center-crop
We have confirmed the order of categories in the promts.py is consistent with the dataset

But we can still can not reproduce the reported numbers in table 11. Any hints will be greatly appreciated, thank you!

Model name
ResNet50

ResNet101

RN50x4

RN50x16

ViT-B/16

ViT-B/32

Dataset
CLIP
Ours
Delta
CLIP
Ours
Delta
CLIP
Ours
Delta
CLIP
Ours
Delta
CLIP
Ours
Delta
CLIP
Ours
Delta

FGVC Aircraft
19.3
17.3
-2
19.5
18.6
-0.9
24.6
21.4
-3.2
30.3
27.4
-2.9
27.1
24.3
-2.8
21.2
19.6
-1.6

JIT applied or Not when loading CLIP model

Model name
ResNet50

ResNet101

RN50x4

RN50x16

ViT-B/16

ViT-B/32

Dataset
w/ JIT
w/o JIT
Delta
w/ JIT
w/o JIT
Delta
w/ JIT
w/o JIT
Delta
w/ JIT
w/o JIT
Delta
w/ JIT
w/o JIT
Delta
w/ JIT
w/o JIT
Delta

FGVC Aircraft
17.3
17.4
-0.1
18.6
18.5
0.1
21.4
21.3
0.1
27.6
27.4
0.2
24.3
24.3
0
19.6
19.6
0

Image Preprocessing: Center Crop v.s. No Center Crop

Model name
ResNet50

ResNet101

RN50x4

RN50x16

ViT-B/16

ViT-B/32

Dataset
w/ Crop
w/o Crop
Delta
w/ Crop
w/o Crop
Delta
w/ Crop
w/o Crop
Delta
w/ Crop
w/o Crop
Delta
w/ Crop
w/o Crop
Delta
w/ Crop
w/o Crop
Delta

FGVC Aircraft
17.4
17.0
-0.4
18.5
17.8
-0.7
21.3
21.4
0.1
27.4
26.4
-1
24.3
24.3
0
19.6
18.9
-0.7

Order of categories

Dataset
Order Inconsistent
Order Fixed

FGVC Aircraft
Y
Y

I am able to get parity result on pets dataset. But my cifar10 result is worse than yours. Refer to another issue I created: https://github.com/openai/CLIP/issues/164
| Model name                      | ResNet50 |      |        | ViT-B/32 |      |        |
| Oxford-IIIT Pets                | 85.4     | 85.5 | 0.1    | 87.0     | 87.2 | 0.2    |
| CIFAR-10                        | 75.6     | 71.3 | -4.3  | 91.3     | 89.8 | -1.6  |

Similar issue occurred! Actually on cifar-10 and pets dataset, I notice at least 2 points drop compared to official result. Not sure if you occur similar results?


Old-format links to API documentation do not redirect as expected

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
URLs for Kubernetes' API documentation have changed to this format:
https://v1-8.docs.kubernetes.io/docs/api-reference/v1.8/
Old links look like this:
https://kubernetes.io/docs/resources-reference/v1.8/#podspec-v1-core
These old links do not redirect as expected. Instead, they redirect to https://v1-8.docs.kubernetes.io/docs/reference/.
This is a poor, unexpected user experience and is a breaking change for Kubernetes Engine documentation. Furthermore, anyone who has these old links (other websites, blogs, etc.) can't use them as expected, which creates the perception that the links are broken or the pages no longer exist.
I'm not sure if this issue needs to go through the API team or through the website, so I am filing here.
Proposed Solution:
Set up a redirect, or implement some other solution, to prevent sending users who use the old links to the wrong pages unexpectedly.
Page to Update:
http://kubernetes.io/docs/reference/*

Need to update _redirects file.


feature request: JSON output

For all current kinds

will work on that

@tstromberg Is this a requirement to have an option to output a json instead of CSV

did not have much time :( if you want to work on this @bharathk005 go for it

@cpanato , I would like it. Please let me know if my understanding of the requirement is correct

yes, this might be a new flag that you can choose with the default one or json, if you don't set it the output will be the current implementation

@cpanato please confirm if we can have the below JSON output for this CSV
CSV output
URL,Date,Project,Reviewer,PRAuthor,PRComments,ReviewComments,Words,Title
https://github.com/kubernetes/minikube/pull/11638,2021-06-11,minikube,spowelljr,sharifelgamal,0,1,12,site: Cleanup FAQ formatting and grammar.
https://github.com/kubernetes/minikube/pull/11618,2021-06-10,minikube,medyagh,felipecrescencio,1,0,10,site: add alternative certs dir
Json output
[
{
"URL": "https://github.com/kubernetes/minikube/pull/11638",
"Date":"2021-06-11",
"Project": "minikube",
"Reviewer":"spowelljr",
"PRAuthor": "sharifelgamal",
"PRComments":"o",
"ReviewComments": "1",
"Words":"12",
"Title": "site: Cleanup FAQ formatting and grammar"
},
{
"URL": "https://github.com/kubernetes/minikube/pull/11618",
"Date":"2021-06-10",
"Project": "minikube",
"Reviewer":"medyagh",
"PRAuthor": "felipecrescencio",
"PRComments":"1",
"ReviewComments": "0",
"Words":"10",
"Title": "site: add alternative certs dir"
}
]

lgtm

@cpanato @tstromberg
Created PR #40


deploy.cmd files get overwriten at random time intervals.

I modified my deploy.cmd file to use MSBUILD_15_DIR instead of default ms build and it all works fine but at random time intervals my deploy.cmd gets overwritten with default azure version and I have to implement my changes again.
in some cases it is weeks before it reset to the default version, in some cases it is days, I can't figure out what is the pattern.
What can I do to prevent deploy.cmd to be reset to the default version?

I found in the documentation that if I check in the deploy.cmd in the root of my repo I can use it instead. It works for me, so closing this question.


[chore] refactor neo-short-info to be amore of a HOC

What needs to be done
Right now the component displays links and a bookmark. These should be passed in directly, rather than be provided by default.
This should make the component more flexible.

Closed with #21


[CSL-2173] Explain some 'error's

Closed because this PR is just too old.
Related to a closed issue


Production setup, restart, reconfiguration, backup of cabot

The operations related chapters of the documentation are out-of-date.
The Configuration chapter refers to fab, and the 5th step of the quickstart guide. There is no 5th step. Actually there is no quickstart guide at all, it is called Get started. Moreover, the Get started page refers to the cabotapp/docker-cabot repo, which do not contain fab file, so I doubt it would work. In another issue report I have read, that fab is obsolete now anyway.
The arachnys/cabot repo contains both fab and docker-compose files. This is getting quite confusing. Does the Get started page describe the installation method for a quick test? Or is this the recommended way of production installation too?
The SMTP variables in the Configuration page are obsolete. The MySQL section is obsolete too, and there is an issue report that migrations do not work with MySQL.
The Deployment page talks about upgrading. I I doubt that it is up-to-date. All it says "Upgrading to a new version should be as simple as merging in changes from upstream and deploying over the top of your existing install." Which upstream? cabotapp/docker-cabot or arachnys/cabot? How should I deploy? docker-compose up -d as it is written on the Get started page?
The Operations page would describe how to stop, start and backup cabot. But it refers to fabric, so it will not work. I was able to stop cabot using service docker stop, but could not start is later, because I would have to give a specific container (which of the 5?). service docker restart strangely works, it starts all 5 containers. And of course I am very interested in how should I backup cabot on a production setup. In another issue somebody mentioned a docker PostgreSQL command, I am not sure how up-to-date is that, it would be great if it were documented for us, who only know MySQL.

I figured out how to reconfigure cabot:
In your docker-cabot git repository directory, which was used during install, edit conf/production.env and than
run docker-compose up -d
This stops the containers and rebuild them as necessary, and restarts them. The data in the PostgreSQL database remains intact.

@hontvari Glad you found a solution!
Yes some of our docs are vastly out of date with the move to docker-compose and the deprecation of Fabric scripts (see #493). We will try to address this soon ; but if you have time submit a PR to the gh-pages branch that would be greatly appreciated :)

Another thing I figured out:
In order to see the cabot/python logs, run
docker logs dockercabot_web_1


Implement x() x_mut() accessors

We are using (&v).x() and and (&mut v).x() which is part of the underlying design.
But the Rust community isn't used to that.

Done


Add copy button to code snippets

Add a copy button at the top right in the code snippets.
Clicking the Copy button should copy the code of the respective snippet.
When copied, the copy button text should change to Copied for a brief movement and then back to Copy.

Hi, i would like to work on this issue

Hi @IArchna, I'd love to work on this issue if others aren't working.

Hi @IArchna can I pick this work, it's my first open-source contribution if anyone not doing it.

Hey @IArchna,
I would love to work on this issue, please assign it to me if in case no-one is working on this.

This issue has been assigned to @himanshu007-creator @karan171996 @JubayerJoy @bhaveshgoyal182
We will review and merge PR on FCFS basis.

These is an issue. When I try to run the project after installing
dependencies, it takes eternal time and site is never live
On Mon, Oct 4, 2021, 1:48 PM IArchna @.***> wrote:

This issue has been assigned to @himanshu007-creator
https://github.com/himanshu007-creator @karan171996
https://github.com/karan171996 @JubayerJoy
https://github.com/JubayerJoy @bhaveshgoyal182
https://github.com/bhaveshgoyal182
We will review and merge PR on FCFS basis.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LoginRadius/docs/issues/265#issuecomment-933253857,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APXIPXPYNEO3HVGTYMQ7U4TUFFPNHANCNFSM5EVD3ITQ
.

@himanshu007-creator  node n npm version in your system ?

node:-v14.15.4
Npm:- 7.24.1
After npm start, i get Successfully built the bundle and nothing after that

Sorry, @IArchna I thought I have to do  a code in it, you can assign to any other guy.

Sorry, @IArchna I thought I have to do a code in it, you can assign to any other guy.

Me too .
So sorry @IArchna .

@IArchna, I am able to run it locally.
While working, I found that there isn't support of copy button using standard gatsby-remark-code-buttons for MDX.
This requires a hacky solution like this or this which I am willing to do, but do you think It will be viable? Let me know if I should go with it.
Cheers.

Hey @JubayerJoy Lets implement this solution. But please make sure it should work with both MD and MDX files.
Thanks


fix: currency patterns when gaining a currency

Hypixel adds a (+100) when gaining any currency (maybe only bits & purse not sure)

😭


Async/await support

Async/await codegen

[x] async idle
[ ] Support 0-priority async tasks for non-Send argument
[x] Disallow task local resources in async tasks

Design document: https://hackmd.io/6ejCFNBJTuKBwnuz0O41iQ
Depends on https://github.com/rtic-rs/rtic-syntax/pull/78

Minor thing I just found while toying around with this.
It doesn't seem like externalizing tasks with extern "Rust" works with async tasks.

Correct, you can however just make an external task and call it. This works just as well

Should this PR be closed in favour of #694 ?


Overridden accessors should not be displayed

Try to complete:

abstract class A {
  int get test;
  void set test(int p);
}
class B extends A {
  int test;
  m() {
    test^
  }
}

Expected: only "test" from B.
Actual: B.test, get A.test, set A.test.
  The last two elements are not accessible without "super." prefix, so should not be displayed.

I believe this now works as expected.


(PUP-3090) Set always_cache_features to true for masters

While for agents caching features would not be good as they can have new
features delivered during the course of a run, for masters this poses no
problems and decreases overhead during catalog compilation. Without
this, masters will reset and reinterrogate features during the course of
operation which is expensive.

:+1:

yep, the expensive part is https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/rubygems.rb#L50. We clear the gem directory cache as a resource may install a new gem, which won't be visible until the cache is cleared.
It feels wrong to me to add this to puppet.conf that puppet-agent lays down... I was thinking puppet-server packaging would do this, somewhere in https://github.com/puppetlabs/puppet-server/blob/master/resources/ext/config/conf.d/puppetserver.conf#L2-L15, though it does require more server side work to plumb the setting through.
Also changing puppet-server won't help webrick or passenger, but I don't know that I care.

@joshcooper yea I'm all for all of these master settings being added or handled by puppet-server, i just don't know that it's ready today or in scope for the current release. @nwolfe @cprice404 thoughts?

Is it wrong to add this one setting to puppet-agent's puppet.conf, or is it wrong in general that puppet-agent's puppet.conf is all about master settings?

@kylog yes

It seems wrong that puppet-agent is specifying how puppet-server should behave, when puppet-server is the "application" using the puppet "library"

CLA signed by all contributors.

I agree with @kylog ; the fact that there is a [master] section at all in the puppet.conf file created by the puppet-agent packaging seems hokey.  That  said, if there's going to be such a section, adding this setting to it doesn't seem like we're making things any worse than they already are, IMO.
Ideally if we're going to try to move the responsibility of configuring the [master] section over to the Puppet Server packaging, we'd do the whole section all at once?  If so, then it's maybe a question of whether now is the right time to address that, and I honestly don't know :)
@haus when you say "I'm all for these settings being handled by puppet-server", do you mean by putting them in our own config files and no longer supporting the [master] section in puppet.conf?  Or do you mean by having the packaging for Puppet Server be responsible for adding the appropriate settings to the shared puppet.conf file?  If the former, we're probably not ready yet; I think we'd need to put some deprecation warnings in to Puppet for a while first.  If the latter, it's just a matter of whether there's a sane way to do that during our package installation... if there is, it's fine by me.

@cprice404 mostly i mean the former (or some variation on the vardir override that puppet-server already has), but i get that it isn't in the cards today. the latter is pretty hard to do in a sane way in packaging, because puppet-agent owns the config file, and having another package change the file breaks assumptions there.

So puppet-server already changes puppet.conf during post-install: https://github.com/puppetlabs/puppet-server/pull/411/files#r25198384

I was under the impression that a lot of that stuff in puppet server's postinst was considered to be 'hacks' that @haus wanted to get rid of.  But I'm fine with this being solved there if @haus is.

Stop
On Monday, February 23, 2015, Chris Price<EMAIL_ADDRESS>wrote:

I was under the impression that a lot of that stuff in puppet server's
postinst was considered to be 'hacks' that @haus https://github.com/haus
wanted to get rid of. But I'm fine with this being solved there if @haus
https://github.com/haus is.
—
Reply to this email directly or view it on GitHub
https://github.com/puppetlabs/puppet/pull/3640#issuecomment-75633874.

Calling config set as is being done in this PR https://github.com/puppetlabs/puppet-server/pull/411#discussion-diff-25198384R6 is a way of getting rid of this section, and it's probably fine. The only weird case is if a user has updated puppet.conf's master section to change the defaults being set by puppetserver, there isn't a good way of knowing.

If puppet-server postinst changes the value, then it's going to run puppet config set ... and overwrite whatever may have been in puppet.conf.
If we go with how this PR is currently implemented (in puppet-agent), will it apply the new puppet.conf? Or does it only create the file if it doesn't exist?

@joshcooper It depends a little on how a user's package manager is configured. In the general case, the puppet.conf as packaged will be laid down and updated as long as the user has not modified the file. puppetserver running puppet config set in the post will update the file, so the immediate consequence is that future updates would not be applied automatically to the file. However, I imagine most master puppet.conf files are updated for various customizations, so this might be a moot point.

If puppet-server postinst changes the value, then it's going to run puppet config set ... and overwrite whatever may have been in puppet.conf.

Yeah, this is the part that would concern me:

At package installation time, puppet-server postinst config sets the value to true.

User edits the file, changing the value to false.

At package upgrade time, puppet-server postinst config automatically resets the value to true.

I suppose the user might have other conflicts to manage if the puppet.conf had changed from one version to the next.  But if it didn't, it seems like we might have automatically reverted the user's selection without any warning, which seems bad.  Unless I'm not understanding how this all works...
If the scenario I mentioned above is plausible and we don't have a better story for how to sanely encapsulate the master settings in master-specific packaging for now, then I'd be in favor of managing the setting in puppet-agent's default puppet.conf - even though I agree that this would be architecturally distasteful for the long term.

@camlow325 I think the best course in the immediate term is probably to pull these 4 settings into puppetserver's postinst, and just do a check to see if there is a master setting for that already, and if not, set it. That way, a user can change the setting and not have it be overwritten by puppetserver.

just do a check to see if there is a master setting for that already

What's the best way to do that?  If you ask for the value of the setting from the CLI config tool, I think you'll get a value back whether or not one was explicitly set in the config file -- not sure you can tell the difference.  Suppose we could scrape the puppet.conf file directly to see if it is set, but that seems hacky.

@camlow325 yea, you're right. despite the description of puppet config print (This subcommand can inspect and modify settings from Puppet's 'puppet.conf' configuration file.), it makes no distinction between a config value that is the default and a config value that is not set in puppet.conf. So it would be some sort of scraping, which i agree is hacky and fragile.

So @camlow325 @haus the short term fix is to merge this as is, and someday change puppetserver package to use its own puppet.conf?

That's my suggestion for the short-term change - happy to be overruled.  :smile:
Not sure what the best long-term solution is.  Having the master at least manage the settings that have historically been in the master section of the "puppet.conf" file seems like the right direction.  Not sure if that would end up being a new file, "master.conf"?, or a wholesale replacement for "puppet.conf", or something else?  Would be nice, in the process, to land on a solution that eliminates the duplication we're already doing between "puppetserver.conf" and "puppet.conf" for the master's confdir and vardir settings.

That seems fine to me.
If someday puppet config print can distinguish between a setting being the default and a setting not being present in puppet.conf, at which point, my other suggestion becomes more tenable.

I think that the long-term goal should that in Puppet 5, anything that someone might have set in [master] (that is actually related to the master) would just go into the existing puppetserver.conf file.  We need to get rid of run_mode and that would be a step towards it.  run_mode is the only reason we have a duplicate vardir setting.

:+1: on merge as-is.
And yeah in puppet 5, this goes away.

And this has the added benefit of working for webrick and passenger, so merging

Reverted in https://github.com/puppetlabs/puppet/commit/3dcafadbc208dc216d8b5fd44a8eb19211e9b5db


Examples?

The documentation frequently references examples in the ./examples/ directory, but I can't find them anywhere!  Do these exist and if so where can they be acquired?
Thanks!

The documentation frequently references examples in the ./examples/ directory, but I can't find them anywhere! Do these exist and if so where can they be acquired?
Thanks!

In the simulator is a browser where everyone can browse and upload his genomes and simulations,

The browser seems great, but the docs reference files like "./examples/simulations/Complex Fluids.sim". for example here: https://alien-project.gitbook.io/docs/getting-started/simulation-parameters
Maybe those files exist within the browser somewhere?  If so, then this is just a documentation issue.

If you look at the beginning of each page there’s a bit about how the documentation was written for an earlier version of the simulation. This is most likely where the discrepancies you’re encountering originate, as the Examples folder has been removed in favor of simulations uploaded to the built in browser. At least as far as I’m aware, chrxh would obviously know the exact current state of things better than I do.

The browser seems great, but the docs reference files like "./examples/simulations/Complex Fluids.sim". for example here: https://alien-project.gitbook.io/docs/getting-started/simulation-parameters
Maybe those files exist within the browser somewhere? If so, then this is just a documentation issue.

You can try my supplementary how-to, it is a quick version of "what and how"
https://github.com/chrxh/alien/discussions/72

The documentation was written for the previous ALIEN version. Thus everything written there is potentially outdated. This is the reason why I had added a warning on the top of each page.
There are now no more sim files in the repository (except the startup example).  Everything can be found in the in-game browser. This step was taken mainly for 2 reasons:

It much more easier to handle, load and organize simulations. In particular feedback can be given via reactions.
It could be problematic to store lots of binary files in Git. It is possible to mitigate the problem somewhat by using Git LFS, which I do, but it is still not the best solution.

A disadvantage is that the simulation files are now on a database on a server. Although everyone can save them locally, but if the server is not reachable, one can not access them anymore. For this reason, I will put all simulations in a separate repository on GitHub in the future. That should compensate this disadvantage.
Regarding the documentation of the current version:
Writing documentation is important but no fun, especially if you enjoy developing. It took me a lot of effort to do that in the past. That's why I'm following a different concept for the current version: The essential information should already be contained in the program help and in the countless tooltips.

Thanks for that explanation.  I'll check out @TheBarret's docs, as well as try to figure out what's going on from the tooltips.  Unfortunately I can't seem to get it to run at this point, but I figure I'll put that in a separate thread.


[Analytics] New artist page events

Tracks

[ ] Follow artist: An artist can be followed from artist page, from fair artist pages, or during onboarding

properties: {artist_slug, artist_id, source_screen: [artist page, artist fair page, onboarding top artists, onboarding search, onboarding recommended]}

[ ] Unfollow artist: An artist can be unfollowed from artist page, from fair artist pages (wherever there is a follow/unfollow button)

properties: {artist_slug, artist_id, source_screen: [artist page, artist fair page]}

[ ] Tapped artist view tab: Fired when tapping on one of the three tabs on the artist view

properties: {artist_slug, artist_id, tab: [about, works, shows]}

Screens

[ ] Artist: single screen view when you land on the artist view, as opposed to screen view per tab which is what we have done so far. We would now fire events when a user switches across taps as opposed to screen views.

properties: {owner_type: "artist", owner_id: artist.id, owner_slug: artist.slug}

Questions

Is it possible to somehow record referring_screen information for screen views? I went through segment's documentation for iOS and did not find anything on the subject, happy to contact them if you think it's worth it.

cc @alloy @katarinabatina

Is it possible to somehow record referring_screen information for screen views? I went through segment's documentation for iOS and did not find anything on the subject, happy to contact them if you think it's worth it.

Everything is possible, but this would certainly involve a bunch more work.

Let's pass on it for now.
Sent with thumbs,
Katarina Batina
Product Designer
Artsy.net

On May 29, 2016, at 12:36 PM, Eloy Durán<EMAIL_ADDRESS>wrote:
Is it possible to somehow record referring_screen information for screen views? I went through segment's documentation for iOS and did not find anything on the subject, happy to contact them if you think it's worth it.
Everything is possible, but this would certainly involve a bunch more work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


request

akarnokd since u make these great Qol mods ,
is there any chance u can or will make a mod to configure the speed at which food water and oxygen goes down.?
i know there is advanced mode by skrwoor but that does too much different stuff.
thanks in advance if u are willing to make such Qol mod

Not likely, sorry. Perhaps someone else would do it on the modding channel?


Update

Trying to build this, but it fails with error message:
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -i -I -b python-mne gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
gbp:error: 'debuild -i -I -uc -us' failed: it exited with 29

Now I don't know what to do...

please close and open the PR towards the debian branch.


add global option to disable TLS validation

What would you like to be added
Add a (global) flag to disable TLS validation for OCM-CLI's commands. Inspired by curl, the flag might be named --insecure, but any name will do.
Why is this needed
For development purposes, there may be cases where no valid certificate is available in a testing environment (e.g. if using a self-signed certificate). Having the option to disable TLS validation will be handy in such cases.
One might also consider productive scenarios, where, through a misconfiguration, TLS validation fails, and OCM-CLI is needed to perform urgent tasks that would otherwise be blocked by TLS validation issues.
Admittedly, those are exceptional and corner-cases. However, most other tooling supports explicit disabling of TLS validation, including e.g. package-managers (apt, apk, pacman), HTTP-APIs for all programming languages, HTTP-tools, such as curl or wget, ... - even security-aware tools such as ssh offer disabling of checks / unsafe mode of operation.

Hi @ccwienk, @fabianburth last week added the ability to use http registries: https://github.com/open-component-model/ocm/pull/676. It's not an explicit option, but implicitly set by using http as scheme instead of https (which is also the default when omitting the scheme). The latest version https://github.com/open-component-model/ocm/releases/tag/v0.9.0 contains this functionality. I didn't find this enhancement in the documentation, though. @fabianburth, is this part maybe still pending or was I just not able to find it? :-)

@morri-son : I cannot quite understand how that relates to my issue.

dev-note: during implementation, we should also unify the usage of http-client and its settings by creating a dedicated factory

@ccwienk , we checked and discussed the issue already and it is also placed in the "next-up" column: https://github.com/orgs/open-component-model/projects/10. For this sprint we have nearly zero capacity, as several colleagues are on vacation and Fabian acts as mentor for new colleagues. I assume that we can pick the issue up in the sprint starting 17th July.

@morri-son : bump - any updates w.r.t. timeline?

@ccwienk we have our refinement tomorrow and my plan is still to pick the issue for the next sprint starting next week. Stress is on "plan" :-)


commonjsExternals is not a function

commonjsExternals is not a function
import commonjsExternals from 'vite-plugin-commonjs-externals';
export default defineConfig({
plugins: [
vue(),
commonjsExternals({ externals: ['crypto' , 'buffer' , 'fs'] }),
],
})

I meet this problem either.
So how to solve it ??

import commonjsExternals from 'vite-plugin-commonjs-externals';
export default defineConfig({
plugins: [
vue(),
commonjsExternals?.default({ externals: ['crypto' , 'buffer' , 'fs'] }),
],
})

commonjsExternals is not a function
import commonjsExternals from 'vite-plugin-commonjs-externals'; export default defineConfig({ plugins: [ vue(), commonjsExternals({ externals: ['crypto' , 'buffer' , 'fs'] }),
], })

### solution
import commonjsExternals from 'vite-plugin-commonjs-externals';
export default defineConfig({
plugins: [
vue(),
commonjsExternals?.default({ externals: ['crypto' , 'buffer' , 'fs'] }),
],
})

@yaojiadong666 Thank you .I known what it happened！
I'll fix it today.

@yaojiadong666 @chengOnLine @TalexDreamSoul What's your node and vite version?

@yaojiadong666 @chengOnLine @TalexDreamSoul What's your node and vite version?

Node v14.19.0  Vite 4.2.0

Can you try this branch?
yarn install && yarn pack
https://github.com/xiaoxiangmoe/vite-plugin-commonjs-externals/tree/update-build
If this fix you problem, i'll publish it.

@yaojiadong666 @chengOnLine @TalexDreamSoul What's your node and vite version?

Node v14.19.0  Vite 4.2.0

It's same to me.

@TalexDreamSoul Can you try this branch?
https://github.com/xiaoxiangmoe/vite-plugin-commonjs-externals/tree/update-build

@TalexDreamSoul @yaojiadong666
I can't reproduce problem in my laptop, So I don't know weather my branch is fixing it.
Or can you provide me a minimal reproduction?

I'm getting the exact same error using electron-vite 1.0.21, Node v18.16.0 and vite 4.2.1, I'm also using Typescript 4.9.5

I'm getting the exact same error using electron-vite 1.0.21, Node v18.16.0 and vite 4.2.1, I'm also using Typescript 4.9.5

@IsraPerez98 Can you provide me a minimal reproduction?

I built a repo containing this issue using @quick-start/electron.
IsraPerez98/commonjsexternals-issue-minimal-reproduction.
The plugin is used in electron.vite.config.ts.
I forgot if i had to use this plugin on main, preload or renderer, but any of those will fail with the same error.

I fetch the repository and build it.
The new version seems to work.

It's a simple screenshot about it.
It worked!!

Hope you could release the  new version as soon as possible, it is important for me. Thanks!

Hi, all, see 0.1.3


Edit not going into buffer

Describe the bug
Edit not going into buffer

I went back a few commits to check, and the commit "a224b2ac682fddd894f665a474a4c31fa0f138c2" worked fine
Steps to reproduce
My lspsaga config:
saga.setup({
	definition = {
		edit = "<CR>",
	}
})

Expected behavior
Open the buffer completely
Neovim version (nvim -v)
0.10
lspsaga commit
0add23a82288af0d81ddb6177496b49f3e247cfb
Terminal name/version
Windows Terminal and Gnome Shell

definition.keys . see https://dev.neovim.pro


HARP-13770: Update the copyright header

Signed-off-by: Fischer, Thomas<EMAIL_ADDRESS>

According to the convention, we should keep the copyright notice in the format:
Copyright (C) 201<x>-202<y> HERE Global B.V. and its affiliate(s)
where x is created and y is the modified date of the file. When those are equal format it is simply
Copyright (C) 201<x> HERE Global B.V. and its affiliate(s)

According to the convention, we should keep the copyright notice in the format:
Copyright (C) 201<x>-202<y> HERE Global B.V. and its affiliate(s)
where x is created and y is the modified date of the file. When those are equal format it is simply
Copyright (C) 201<x> HERE Global B.V. and its affiliate(s)

A new solution uses git log to determine the first and last commit to define the expected created and lastModified year of the copyright notice. Therefore I have to close this PR/Draft because it unnecessarily modified copyright headers.

A new solution uses git log to determine the first and last commit to define the expected created and lastModified year of the copyright notice. Therefore I have to close this PR/Draft because it unnecessarily modified copyright headers.


Reproducing the results of the paper

Hi，
I want to reproducing the results of the paper, but I don't know some parameters,such as the batch size and the iteration to reduce learning rate.
Can you tell me more about your tricks?I will be very appreciated.
Best wishes,
Wang

Hi, all default parameters can be viewed at:
https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323
On Fri, 24 Sept 2021 at 14:22, wangyi120226 @.***>
wrote:

Hi，
I want to reproducing the results of the paper, but I don't know some
parameters,such as the batch size and the iteration to reduce learning rate.
Can you tell me more about your tricks?I will be very appreciated.
Best wishes,
Wang
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/qiuqiangkong/sound_event_detection_dcase2017_task4/issues/3,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADFXTSJV3TINL6DEBY4NEJLUDQKJRANCNFSM5EVHHBNA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Sorry, please ignore my last message. All default parameters can be viewed
at:
https://github.com/qiuqiangkong/sound_event_detection_dcase2017_task4/blob/master/runme.sh#L19
On Fri, 24 Sept 2021 at 16:27, Qiuqiang Kong @.***> wrote:

Hi, all default parameters can be viewed at:
https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323
On Fri, 24 Sept 2021 at 14:22, wangyi120226 @.***>
wrote:

Hi，
I want to reproducing the results of the paper, but I don't know some
parameters,such as the batch size and the iteration to reduce learning rate.
Can you tell me more about your tricks?I will be very appreciated.
Best wishes,
Wang
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/qiuqiangkong/sound_event_detection_dcase2017_task4/issues/3,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADFXTSJV3TINL6DEBY4NEJLUDQKJRANCNFSM5EVHHBNA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Sorry, please ignore my last message. All default parameters can be viewed at: https://github.com/qiuqiangkong/sound_event_detection_dcase2017_task4/blob/master/runme.sh#L19
…
On Fri, 24 Sept 2021 at 16:27, Qiuqiang Kong @.> wrote: Hi, all default parameters can be viewed at: https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 On Fri, 24 Sept 2021 at 14:22, wangyi120226 @.> wrote: > Hi， > I want to reproducing the results of the paper, but I don't know some > parameters,such as the batch size and the iteration to reduce learning rate. > Can you tell me more about your tricks?I will be very appreciated. > Best wishes, > Wang > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <#3>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/ADFXTSJV3TINL6DEBY4NEJLUDQKJRANCNFSM5EVHHBNA > . > Triage notifications on the go with GitHub Mobile for iOS > https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 > or Android > https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. > >

Thank you for your reply. But I still have some questions.
In your paper, the iteration to stop training is 60000, but in the shell, it is 70000, Which one should I choose？
Can all kinds of models trained with same parameters reproduce the results in the table IV?
Best wishes,
Wang

Stop at 60000 should perform similar to stop at 70000. This is because
iteration 50000 - 60000 applies a smaller learning rate of 1e-4. All kinds
of models trained with same parameters reproduce the results in the table
IV.
On Sat, 25 Sept 2021 at 01:15, wangyi120226 @.***>
wrote:

Sorry, please ignore my last message. All default parameters can be viewed
at:
https://github.com/qiuqiangkong/sound_event_detection_dcase2017_task4/blob/master/runme.sh#L19
… <#m_7131534812053277218_>
On Fri, 24 Sept 2021 at 16:27, Qiuqiang Kong @.> wrote: Hi, all
default parameters can be viewed at:
https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323
https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323
On Fri, 24 Sept 2021 at 14:22, wangyi120226 @.> wrote: > Hi， > I want to
reproducing the results of the paper, but I don't know some >
parameters,such as the batch size and the iteration to reduce learning
rate. > Can you tell me more about your tricks?I will be very appreciated.

Best wishes, > Wang > > — > You are receiving this because you are
subscribed to this thread. > Reply to this email directly, view it on
GitHub > <#3
https://github.com/qiuqiangkong/sound_event_detection_dcase2017_task4/issues/3>,
or unsubscribe >
https://github.com/notifications/unsubscribe-auth/ADFXTSJV3TINL6DEBY4NEJLUDQKJRANCNFSM5EVHHBNA
. > Triage notifications on the go with GitHub Mobile for iOS >
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android >
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thank you for your reply. But I still have some questions.
In your paper, the iteration to stop training is 60000, but in the shell,
it is 70000, Which one should I choose？
Can all kinds of models trained with same parameters reproduce the results
in the table IV?
Best wishes,
Wang
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/qiuqiangkong/sound_event_detection_dcase2017_task4/issues/3#issuecomment-926792674,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADFXTSMN7BVBH4OL6MLXVO3UDSWZXANCNFSM5EVHHBNA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Stop at 60000 should perform similar to stop at 70000. This is because iteration 50000 - 60000 applies a smaller learning rate of 1e-4. All kinds of models trained with same parameters reproduce the results in the table IV. On Sat, 25 Sept 2021 at 01:15, wangyi120226 @.*> wrote:
…
Sorry, please ignore my last message. All default parameters can be viewed at: https://github.com/qiuqiangkong/sound_event_detection_dcase2017_task4/blob/master/runme.sh#L19 … <#m_7131534812053277218_> On Fri, 24 Sept 2021 at 16:27, Qiuqiang Kong @.> wrote: Hi, all default parameters can be viewed at: https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 On Fri, 24 Sept 2021 at 14:22, wangyi120226 @.> wrote: > Hi， > I want to reproducing the results of the paper, but I don't know some > parameters,such as the batch size and the iteration to reduce learning rate. > Can you tell me more about your tricks?I will be very appreciated. > Best wishes, > Wang > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <#3 <#3>>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/ADFXTSJV3TINL6DEBY4NEJLUDQKJRANCNFSM5EVHHBNA > . > Triage notifications on the go with GitHub Mobile for iOS > https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 > or Android > https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. > > Thank you for your reply. But I still have some questions. In your paper, the iteration to stop training is 60000, but in the shell, it is 70000, Which one should I choose？ Can all kinds of models trained with same parameters reproduce the results in the table IV? Best wishes, Wang — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFXTSMN7BVBH4OL6MLXVO3UDSWZXANCNFSM5EVHHBNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thank you very much for your reply, which is very helpful to me.

Hi wangyi, Did you get better result than the paper? That is possible because 1) the code is cleaned up so the result can be better. 2) The ER metrics can be sensitive. There is no need multiple sets of training to average the results. The reason of 1001 is that frames are centered. For example, the center of a frame is 0s, 0.01s, 0.02s, ..., 10.00s. There are in total 1001 frames. Best wishes, Qiuqiang
…
On Wed, 6 Oct 2021 at 17:20, wangyi120226 @.> wrote: Stop at 60000 should perform similar to stop at 70000. This is because iteration 50000 - 60000 applies a smaller learning rate of 1e-4. All kinds of models trained with same parameters reproduce the results in the table IV. On Sat, 25 Sept 2021 at 01:15, wangyi120226 @.__> wrote: … <#m_-2140412737067494766_> Sorry, please ignore my last message. All default parameters can be viewed at: https://github.com/qiuqiangkong/sound_event_detection_dcase2017_task4/blob/master/runme.sh#L19 … <#m_7131534812053277218_> On Fri, 24 Sept 2021 at 16:27, Qiuqiang Kong @.> wrote: Hi, all default parameters can be viewed at: https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 On Fri, 24 Sept 2021 at 14:22, wangyi120226 @.> wrote: > Hi， > I want to reproducing the results of the paper, but I don't know some > parameters,such as the batch size and the iteration to reduce learning rate. > Can you tell me more about your tricks?I will be very appreciated. > Best wishes, > Wang > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <#3 <#3> <#3 <#3>>>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/ADFXTSJV3TINL6DEBY4NEJLUDQKJRANCNFSM5EVHHBNA > . > Triage notifications on the go with GitHub Mobile for iOS > https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 > or Android > https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. > > Thank you for your reply. But I still have some questions. In your paper, the iteration to stop training is 60000, but in the shell, it is 70000, Which one should I choose？ Can all kinds of models trained with same parameters reproduce the results in the table IV? Best wishes, Wang — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#3 (comment) <#3 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFXTSMN7BVBH4OL6MLXVO3UDSWZXANCNFSM5EVHHBNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . Thank you very much for your reply, which is very helpful to me. I'm sorry to bother you again. I ran your source code, but I have a new problem. for example, MODEL_TYPE = Cnn_9layers_Transformer_FrameAvg. I got the output: ------ Audio tagging results ------ Macro mAP: 0.659 Micro precision: 0.654 Micro recall: 0.618 Micro F1: 0.635 ------ Sound event detection ------ Micro precision: 0.564 Micro recall: 0.578 Micro F1: 0.571 Micro ER: 0.726 ------ Audio tagging results ------ Macro mAP: 0.659 Micro precision: 0.684 Micro recall: 0.618 Micro F1: 0.649 ------ Sound event detection ------ Micro precision: 0.580 Micro recall: 0.568 Micro F1: 0.574 Micro ER: 0.713 The experimental results have a large deviation from the paper, such as the SED ER which is 0.87 and 0.75 in your paper.The same problem also appears in other models and experimental results. Do I need multiple sets of training to average the results? I modified the code with reference to the answer for issue 2(When I run the code, there is a question error #2 <#2>). Did this change lead to different results? If so, why does the number of frames plus one to 1001?( log mel spectrogram is 1000*64) Best wishes, Wang — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFXTSL5Y7M7URBOO4AWX7TUFQIG5ANCNFSM5EVHHBNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thank you for your reply again.

This picture is my result on eval set. The results of your paper are in brackets. The results of almost all experiments have been improved. But Cnn_9layers_Gru_FrameAtt got worse results after auto thres，this is different from the results of the paper.
Can I use my results as reference data for my research？
Log mel spectrogram is 100164, not 100064, this is my mistake. However，the time step become 125 after convolution module，and upsample to 1000. The framewise_output shape is 100017, and strong_target shape is 100117 if plus 1. Therefore, an error will occur when calculating the SED mAP

Congrats for getting better results! The results looks interesting. Please feel free to use your results as reference data for your research!
…
On Fri, 8 Oct 2021 at 16:24, wangyi120226 @.> wrote: Hi wangyi, Did you get better result than the paper? That is possible because 1) the code is cleaned up so the result can be better. 2) The ER metrics can be sensitive. There is no need multiple sets of training to average the results. The reason of 1001 is that frames are centered. For example, the center of a frame is 0s, 0.01s, 0.02s, ..., 10.00s. There are in total 1001 frames. Best wishes, Qiuqiang … <#m_-6639558527658294920_> On Wed, 6 Oct 2021 at 17:20, wangyi120226 @.> wrote: Stop at 60000 should perform similar to stop at 70000. This is because iteration 50000 - 60000 applies a smaller learning rate of 1e-4. All kinds of models trained with same parameters reproduce the results in the table IV. On Sat, 25 Sept 2021 at 01:15, wangyi120226 @.__> wrote: … <#m_-2140412737067494766_> Sorry, please ignore my last message. All default parameters can be viewed at: https://github.com/qiuqiangkong/sound_event_detection_dcase2017_task4/blob/master/runme.sh#L19 https://github.com/qiuqiangkong/sound_event_detection_dcase2017_task4/blob/master/runme.sh#L19 … <#m_7131534812053277218_> On Fri, 24 Sept 2021 at 16:27, Qiuqiang Kong @.> wrote: Hi, all default parameters can be viewed at: https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/main.py#L323 On Fri, 24 Sept 2021 at 14:22, wangyi120226 @.> wrote: > Hi， > I want to reproducing the results of the paper, but I don't know some > parameters,such as the batch size and the iteration to reduce learning rate. > Can you tell me more about your tricks?I will be very appreciated. > Best wishes, > Wang > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <#3 <#3> <#3 <#3>> <#3 <#3> <#3 <#3>>>>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/ADFXTSJV3TINL6DEBY4NEJLUDQKJRANCNFSM5EVHHBNA > . > Triage notifications on the go with GitHub Mobile for iOS > https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 > or Android > https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. > > Thank you for your reply. But I still have some questions. In your paper, the iteration to stop training is 60000, but in the shell, it is 70000, Which one should I choose？ Can all kinds of models trained with same parameters reproduce the results in the table IV? Best wishes, Wang — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#3 <#3> (comment) <#3 (comment) <#3 (comment)>>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFXTSMN7BVBH4OL6MLXVO3UDSWZXANCNFSM5EVHHBNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . Thank you very much for your reply, which is very helpful to me. I'm sorry to bother you again. I ran your source code, but I have a new problem. for example, MODEL_TYPE = Cnn_9layers_Transformer_FrameAvg. I got the output: ------ Audio tagging results ------ Macro mAP: 0.659 Micro precision: 0.654 Micro recall: 0.618 Micro F1: 0.635 ------ Sound event detection ------ Micro precision: 0.564 Micro recall: 0.578 Micro F1: 0.571 Micro ER: 0.726 ------ Audio tagging results ------ Macro mAP: 0.659 Micro precision: 0.684 Micro recall: 0.618 Micro F1: 0.649 ------ Sound event detection ------ Micro precision: 0.580 Micro recall: 0.568 Micro F1: 0.574 Micro ER: 0.713 The experimental results have a large deviation from the paper, such as the SED ER which is 0.87 and 0.75 in your paper.The same problem also appears in other models and experimental results. Do I need multiple sets of training to average the results? I modified the code with reference to the answer for issue 2(When I run the code, there is a question error #2 <#2> <#2 <#2>>). Did this change lead to different results? If so, why does the number of frames plus one to 1001?( log mel spectrogram is 100064) Best wishes, Wang — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#3 (comment) <#3 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFXTSL5Y7M7URBOO4AWX7TUFQIG5ANCNFSM5EVHHBNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . Thank you for your reply again. [image: image] https://user-images.githubusercontent.com/49276982/136519862-6df2ab2b-0468-4235-8640-654c0e45bfb1.png This picture is my result on eval set. The results of your paper are in brackets. The results of almost all experiments have been improved. But Cnn_9layers_Gru_FrameAtt got worse results after auto thres，this is different from the results of the paper. Can I use my results as reference data for my research？ Log mel spectrogram is 100164, not 100064, this is my mistake. However，the time step become 125 after convolution module，and upsample to 1000. The framewise_output shape is 100017, and strong_target shape is 100117 if plus 1. Therefore, an error will occur when calculating the SED mAP — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFXTSMQ5YH7I66VBG7NTMLUF2TDFANCNFSM5EVHHBNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thank you for your patience and help.
Best wishes,
Wang


[Bug]: Contact form is not reset after submit

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I have seen that after submit details in contact form that is not reset.
Expected behavior
I have logic for reset form after submit details.
Add ScreenShots
I added reset function that reset after submit form as we can see in picture.

What browsers are you seeing the problem on?
Chrome
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Shubh942 Please assign that i have solved this issue !


Add a comma to Nunjucks nested fields code example

This comma fixes an error that displays when using the example as is

Hi Phil, what error are you seeing? I think the current code looks valid, so would be good to know what you're seeing?

Hi Joe,
The error I’m seeing is:

(/app/app/views/v1/test.html) [Line 26, Column 20] parseAggregate: expected comma after expression

The code is on GitHub at https://github.com/dwp/pip-t/blob/master/app/views/v1/test.html
Cheers

I've raised a new pull request #887 which resolves this correctly. Thanks @philswan! 👍


Fix return type value from info field

This fixes the bug where return type was some times resolved incorrectly.

Thanks for adding the RELEASE.md file!

Here's a preview of the changelog:

This release fixes the return type value from info argument of resolver.

Thanks for adding the RELEASE.md file!

Here's a preview of the changelog:

This release fixes the return type value from info argument of resolver.

Thanks for adding the RELEASE.md file!

Here's a preview of the changelog:

This release fixes the return type value from info argument of resolver.

I have a question. Is this valid case to leave return type from resolver function and define it only in field? I'd expect that this would return type int and not None.
        def resolver(info):
            assert info.return_type == expected
            return return_value

        @strawberry.type
        class Query:
            field: int = strawberry.field(resolver=resolver)

I have a question. Is this valid case to leave return type from resolver function and define it only in field? I'd expect that this would return type int and not None.
        def resolver(info):
            assert info.return_type == expected
            return return_value

        @strawberry.type
        class Query:
            field: int = strawberry.field(resolver=resolver)

I think we briefly discussed this, but never decided if we should enforce types of resolver defined with resolver=resolver
Internally we could change the return type (at least on our StrawberryResolver object)

Yeah that should probably do one of two things:

Use the field type because the resolver is not annotated
Raise an exception because the resolver's (implicit None) return annotation does not match the field's type

My vote would be for #2

Yeah that should probably do one of two things:

Use the field type because the resolver is not annotated
Raise an exception because the resolver's (implicit None) return annotation does not match the field's type

My vote would be for #2

#2 would probably be a big breaking change, I think we should only throw if there's a type that doesn't match, at least for now :)

#2 would probably be a big breaking change

I guess this could be another idea for the "things configurable on the Schema" bucket

#2 would probably be a big breaking change

I guess this could be another idea for the "things configurable on the Schema" bucket

gotta love feature flags :D

Many tests start to fail, if I access self.base_resolver.type in _strawberry_info_from_graphql(). In other other words, following change
--- a/strawberry/field.py
+++ b/strawberry/field.py
@@ -244,6 +244,7 @@ class StrawberryField(dataclasses.Field):
             return result

         def _strawberry_info_from_graphql(info: GraphQLResolveInfo) -> Info:
+            self.base_resolver.type
             return Info(
                 field_name=info.field_name,
                 field_nodes=info.field_nodes,

causes this
> pytest
...
=== 83 failed, 354 passed, 2 xfailed in 40.93s ===

@patrick91 , @BryceBeagle, I ended up implementing getter for return type. At least functional tests are happy now. Unfortunately mypy wasn't so happy. I'd need some help from you now to resolve that.
I'm running out of ideas how to solve typing issues. Could you please take a look, what's wrong there. Please also review the code. Thanks.


How to ignore empty referer

Hi,
is there a way to ignore an empty referer, e.g. if a log file just has a "-" as referer?
I've tried just --ignore-referer="-" as well as --ignore-referer='"-"' but it didn't work.
For sure - I would be able to preprocess the log files before and exclude by regex.
Regards,
Andy

The right now workaround that you can try:

I enabled the Referrers URLs panel today because I am actually interested in these data and it already makes not much sense, with 96.x percent being no referrer.


error after upgrade @kobalte/core to 0.13.5 from 0.13.4

Describe the bug
I can't build after upgrade.
To Reproduce
Steps to reproduce the behavior:

clone https://github.com/misilelab/portfolio
build failed when kobalte/core is 0.13.5
build success when kobalte/core is 0.13.4

Expected behavior
Just build
Error
https://gist.github.com/MisileLab/e3ea2f190b2a14fc45c1490a1fc7a016
Desktop (please complete the following information):

OS: NixOS
Browser: Firefox (but it doesn't matter)
Version: 24.11

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

its definately virus, who would give exe for fix js

@jer3m01 : Don't know if this is related.
I get
Uncaught SyntaxError: The requested module ...@kobalte+utils@0.9.0_solid-js<EMAIL_ADDRESS>does not provide an export named 'getPrecision'
When I use the ColorMode component. Works fine with 0.13.4 but errors with 0.13.5

Same here, blocking bug, 0.13.5 is bad build.

Yay, new build incoming!


[sram_ctrl] Absorb prim_ram_1p_scr in sram_ctrl

This is WIP:
I am still aligning the DV environment to account for the changes in SRAM scrambling (32bit with parity -> 39bit with ECC)

This makes use of the topgen feature added in #7267 in order to address #4709. I.e., the SRAM primitives are moved into the sram_ctrl IP, and the corresponding memory configurations in the toplevel Hjson are moved into the comportable IP instance entries.
The PR is dependent on #7267 and only the last 5 commits are relevant.

Ok this should now finally work, thanks to @weicayang's RAL patch #7504.
Since the PR has become quite big by now, I will split it up into smaller PRs that should be easier to review separately.

This has become dependent on #7547 and #7504, hence you can ignore the first two commits.
The associated documentation updates are in #7548.
Once this has been reviewed, I will squash the commits together into one commit to make this atomic.

@udinator I have aligned some of the scrambling and CSR-related changes in the DV environment to make this work.
There is one point that needs some more attention after this has been merged, though: the RAW hazard behavior has become more complex and probably needs a different way of being handled in the test sequence (i.e., we probably need a different mechanism than the simple one-cycle peek ahead to determine whether we enter a RAW hazard region). See https://github.com/lowRISC/opentitan/issues/7461.

Rebased onto  #7547 and #7504. I'll squash some of the remaining commits once this has been reviewed.

@udinator can you PTAL at the DV changes?

this lgtm, thanks for doing this.
I have a few comments, but none of them need to be addressed in this PR. (some of them are really questions).
For the counter hardening, i was really proposing it in the context of "init" being used as a wipe. If that's not really a use case, maybe it doesn't really matter. If someone glitches the init to terminate early, we don't expose the key stream (is that right?), and the software would basically run into integrity errors while running. So it might not be a terrible thing even if we don't harden it.
@cdgori

Indeed, if this is not being used as a wipe, we may not need to harden it.
However, duplicating the counter is relatively straightforward - so we might as well add it (in a subsequent PR).


Not working

The example code gives me this error "c:\Users\User\Documents\Arduino\libraries\ESP32_AnalogWrite\analogWrite.cpp: In function 'int analogWriteChannel(uint8_t)':
c:\Users\User\Documents\Arduino\libraries\ESP32_AnalogWrite\analogWrite.cpp:44:9: error: 'ledcSetup' was not declared in this scope
44 |         ledcSetup(channel, _analog_write_channels[i].frequency, _analog_write_channels[i].resolution);
|         ^~~~~~~~~
c:\Users\User\Documents\Arduino\libraries\ESP32_AnalogWrite\analogWrite.cpp:45:9: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
45 |         ledcAttachPin(pin, channel);
|         ^~~~~~~~~~~~~
|         ledcAttach"

fixed it in https://github.com/erropix/ESP32_AnalogWrite/pull/16/commits/3e0fb55129932853f87962ea11a1dbbbc8b79694

OLD ver
ledcSetup(PWM_CHANNEL, PWM_FREQUENCY, PWM_RESOLUTION);
ledcAttachPin(BUZZER_PIN, PWM_CHANNEL);
NEW ver
ledcAttach(BUZZER_PIN, PWM_FREQUENCY, PWM_RESOLUTION);


added local storage for beer

added local storage for beers when click on addBeer button. Also added a folder thats called ideas and it's mainly for stuff that I was trying out or future work. Hope you guys dont mind


Mask language model loss

Hi,
Thank you for your clean code on Bert. I have a question about Mask LM loss after I read your code. Your program computes a mask language model loss on both positive sentence pairs and negative pairs.
Does it make sense to compute Mask LM loss on negative sentence pairs? I am not sure how Google computes this loss.

@MarkWuNLP good question!.
I think computing the masked lm loss on negative sample, make sense.
Even if the negative sample(sentence B) is not the next sentence of sentence A, sentence B is still natural language sentence. As far as I know, the objective goal is to make this model can understand the natural language sentence very well. And also next sentence prediction and masked LM is totally different sentence.
For these reasons, computing lm loss on negative sample can be applied to, as same as the positive sample.

In addition to @codertimo 's reply, it seems reasonable to apply MaskedLM on negative samples since authors provided the masked negative pair example in their paper.
Input = [CLS] the man went to [MASK] store [SEP]
he bought a gallon [MASK] milk [SEP]
Label = IsNext

Input = [CLS] the man [MASK] to the store [SEP]
penguin [MASK] are flight ##less birds [SEP]
Label = NotNext

I see. Thank you for your answer!


Remove binary and generated files from Kernel Demos

Update .gitignore and remove generated files from Kernel Demos
Description
Remove binary and generated files from Kernel Demos
Update .gitignore file accordingly
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

makefsdata.exe is an lwIP utility required to create the static file system (just C structures that get compiled into the elf file) for their webserver demo.  It's used in the currently documented Zynq XSDK project.  We can either keep that file, or preferably switch our documentation to instead point to the existing (but not yet documented) Zynq demo that builds with Vitis (the current Xilinx tool), runs in QEMU, and doesn't use lwIP (hence no makefsdata.exe file).

makefsdata.exe is an lwIP utility required to create the static file system (just C structures that get compiled into the elf file) for their webserver demo. It's used in the currently documented Zynq XSDK project. We can either keep that file, or preferably switch our documentation to instead point to the existing (but not yet documented) Zynq demo that builds with Vitis (the current Xilinx tool), runs in QEMU, and doesn't use lwIP (hence no makefsdata.exe file).

@RichardBarry: The build info for makefsdata.exe is included in the project. Unless we plan to sign the binary, it is preferable to have users build it themselves.
Regarding the FlashMB9BF506.out files, these are generated by the flashing utility, so do not need to be kept in the repository.

👍


ja update try to add some lost action name and maybe some UI lang

(by the way, it truly issue that the macro copy paste place that couldn't display the japanese correctly, although to me is not quite big problem to rename the action name.)

oops, I just run the app local and found somewhere will be weird if I didn;t translate it completely so I will close the pull quese once and when I done it will make request again sorry


run tests/integration.py on push check

Skip tests 21, 22, 23, and 24 (do local only based on env check)

Probably can be merged with #40


Research and summarize approaches to sharing SRE duties

Background
In addition to doing development-focused work, we'll also need to do a variety of maintenance/operations and support for the 2i2c Managed Hubs. We want to do this in an equitable and efficient way.
There are many organizations that do similar things, and before we decide on something we should see what other patterns are out there, and summarize what we could learn from them.
Expected time to complete
About 3 days to research and another 3 to write up and summarize
Steps to complete this goal
Do some basic research on a few models for SRE amongst distributed teams, and write up major takeaways.

[ ] "clinic duty" at wikimedia https://wikitech.wikimedia.org/wiki/SRE_Clinic_Duty
[ ] add resources here!

I think there's other more specific issues dealing with this now.


Question: Is there any documentation about resources (brushes, colors, ...) that are default/standard and are the ones you should use and when?

Hello,
I just started my journey with XAML, Win UI and Fluent design. But the journey just ran into a wall, sort of. I can't seem to find any documentation or resources about what brushes, colors or similar to use in order to achieve the default/standard look & feel of what Windows has, for example the Start menu, Store and many other apps.
I find myself changing Background bindings hoping to achieve the desired result of, for example, just wanting my GridView to have a light grey background and another corresponding color in dark mode.
My hope is to be able to focus on my app and style it with default brushes and colors that I feel safe to use because they are compatible with light, dark and high contrast mode. But up until now I've been spending the majority of my time trying to find information about what brushes and colors existing components are using in order to be able to even start building my own UI.
Perhaps I have just missed something and the information is available somewhere?

I think the theme resource document and color guidance are supposed to be those documents, but agree they're a bit hard to parse as a dev and figuring out which specific resources to use where within a control/ui.

🦙 I think the theme resource document and color guidance are supposed to be those documents, but agree they're a bit hard to parse as a dev and figuring out which specific resources to use where within a control/ui.

There's also inconsistency as some resources does not even exist for me. For example perusing the listed font styles, I see BodyTextBlockStyle which exists, but BodyStrongTextBlockStyle does not exist for me. Am I missing a dependency or are the styles not available in WinUI 3 (WinUI 2 is mentioned)?
Last night I just took a Grid and used hot reload to bind the Background to various "System* and "SystemChrome*" colors. Some were almost identical, there's no information or explanation as to what they are, if/when you're supposed to use them or how to use them. Some have color information while others merely play with the alpha. All the while also toggling between Light and Dark mode in Windows.
I get really hung up on how things look, feel & behave and my OCD is killing me at the moment. Another thing, also related, is that the focus highlighting on mouse over is not the same in WinUI 3 as on for example the Start Menu or other WPF/UWP applications. Buttons, borders, highlights move with the mouse cursor in UWP/WPF apps, the start menu, basically it's the default focus in Windows 10. Yet WinUI 3 which is supposed to be just that, the default look & feel, does not have that same visual feedback. Why?

🦙 I think the theme resource document and color guidance are supposed to be those documents, but agree they're a bit hard to parse as a dev and figuring out which specific resources to use where within a control/ui.

Does WinUI3 has an alternative of these common ThemeResources? I think most of them can be migrated directly into WinUI3, just except some Win11 new styles.

@alejo4000 @chigy @MikeHillberg FYI

Added as a question for the next community call:
https://github.com/microsoft/microsoft-ui-xaml/issues/5858#issuecomment-917703204_

The focus for new developers and their energy should be on building their app, not fighting & googling styling/theming because things are not behaving or looking how they should.

Welcome to the modern world of agile release often, release early and cut any cost for technical writing as it gets outdated immediately because management is not about stability anymore at all. Kenny Kerr (who wrote the fundamental C++ WinRT layer answered once to me that i should not expect anything to happen from Microsofts side on this topic).


Error: Command failed: "node" ace list:routes --json

Package version
0.8.0
Node.js and npm version
16.14.2 & 8.5.0
Not able to see routes list, getting this error Error: Command failed: "node" ace list:routes --json

When does this happen? When you open your workspace or when you try to list the routes via the command palette?
If you try to run the command node ace list:routes manually I guess it works?
Do you have several workspaces open in your editor?
Are you using a monorepo?

Might be a duplicate of #12. Closing for tracking in the other issue


Question about convert vertical to horizontal image

Thanks for great repo.
As the link overview and the question from stackoverflow
I have same case, with my image , your module support to make 90-roll(horizontal)
Here is my image:

Here is my expected:

Thank you

@phamkhactu did you try equi2equi with rots?

@phamkhactu did you try equi2equi with rots?

I don't know about rots. Could you explain it more detail?

equi2equi = Equi2Equi(mode="bilinear")
rot = {"roll": 0, "pitch": np.pi/2, "yaw": 0}
out_img = equi2equi(src=src_img, rots=rot)

I tried your image, but just turning 90 degrees does not make the expected image (this may be due to the camera positioning).

See Coordinate System for the definition of roll, pitch and yaw. You can also try out equi2equi using the script provided inside scripts/equi2equi_numpy.py.

equi2equi = Equi2Equi(mode="bilinear")
rot = {"roll": 0, "pitch": np.pi/2, "yaw": 0}
out_img = equi2equi(src=src_img, rots=rot)

I tried your image, but just turning 90 degrees does not make the expected image (this may be due to the camera positioning).

See Coordinate System for the definition of roll, pitch and yaw. You can also try out equi2equi using the script provided inside scripts/equi2equi_numpy.py.

Many thanks!


Fix resize : keep same size for slices

When you use og_size = (int(source_image.size[0] / 2), int(source_image.size[1] / 2)), for each step the size of slices double.
By fixing the size, we are sure that it will not explode the VRAM's use.

og_size = (int(source_image.size[0] / (2**(+1))), int(source_image.size[1] / (2**(+1))))
this works too ^^

@TDiffff yes that was my first idea. But I realized that the result is always equal to og_size = (opt.H,opt.W)

Agreed -- my first thought is we'd want to increase the tiles as the image gets bigger, but this obviously gets intractable quickly


chore(buildpacks): update heroku-buildpack-go to v32

See https://github.com/heroku/heroku-buildpack-go/compare/v31...v32

I tested this with the workflow-beta2 chart and example-go.


Fix Invalid decision type error while plotting tree in Python

Changes made to stop the Invalid decision type in tree model exception while plotting tree in Python

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


chore: run prettier

Quick Checklist

[X] I have read the contributing guidelines
[ ] I have written new tests, as applicable (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] I have added a changeset, if applicable

What kind of change does this PR introduce? cleanup

What is the new behavior (if this is a feature change)? none

Does this PR introduce a breaking change? no

Other information: it looks like pnpm format had not been run in quite awhile. I can setup the CI to enforce it, but I thought I'd run it over the files as a first step. My personal preference would be to remove the "semi": false config, but I just left it as is for now

Oi I didn't know, I also didn't know we have no prettier and eslint checks for PRs! What an oversight


doc(init): start CODEOWNERS

start setting up code owners for GitHub/reviewing. view more here: https://github.blog/2017-07-06-introducing-code-owners/
Proposed changes
adding the CODEOWNERS file that automatically assigns a team to a pull request if it edits a file that is owned by said team.
Types of changes
What types of changes does your code introduce to Scuffle?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

codeowners requires write access permissions to each team, not viable for this setup i believe.


Package converter as an imported library.

Is your feature request related to a problem? Please describe.
If I import converter in my project. I will have only function with convert variables, but if I need convert string with parameters for converter, I need copy variables and logic in main.py.
Describe the solution you'd like
main.py should be contains only import and run converter with args.
Better use main.py (instead of if __name__ == '__main__' in main.py)
Describe alternatives you've considered
Additional context
Show main for pip or flake8
https://github.com/pypa/pip/blob/main/src/pip/__main__.py
https://github.com/PyCQA/flake8/blob/main/src/flake8/__main__.py
https://habr.com/ru/post/456214/

Was resolved in #15


[gallery]Show popular + non-legacy charts when modal opens by default for quick selection

Part of the follow up tasks for SIP-67

Add tag metadata to all charts
Ability of sorting charts by tag from modal UI - as mockup in SIP (UI)
Group high usage & non-legacy charts into Popular tags - Big Numbers, Echarts Times-series(Bar,Line, Scatter, Area), Echarts Pie, Table, Pivot table v2, Bar non time series, Big Number. Big Number w Trendline
When users open the modal, Popular tag should be pre-selcted for user to locate highly used and well maintained charts by default.

Tag for each chart as follow, welcome suggestions for chart description and tags improvement

Name
Old Category
New Category
Description
Tags (up to 10)

Area Chart
Distribution
Evolution
A time series chart that visualizes how a related metric from multiple groups vary over time. Each group is visualized using a different color.
Aesthetic, Comparison, Continuous, Legacy, Line, Percentages, Popular, Proportional, Single Metric, Stacked, Time, Trend, nvd3

Bar Chart
Composition
Ranking
Compares metrics from different categories using bars. Bar lengths are used to indicate the magnitude of each value and color is used to differentiate groups.
Additive, Categorical, Comparison, Discrete, Distribution, Legacy, Percentages, Popular, Stacked, Vertical, nvd3

Big Number
Composition
KPI
Showcases a single metric front-and-center. Big number is best used to call attention to a KPI or the one thing you want your audience to focus on.
Additive, Business, Description, Formattable, Legacy, Percentages, Popular, Report, Single Metric

Big Number with Trendline
Time Series
KPI
Showcases a single number accompanied by a simple line chart, to call attention to an important metric along with its change over time or other dimension.
Advanced-Analytics, Description, Formattable, Line, Percentages, Popular, Report, Single Metric, Trend

Box Plot
Distribution
Distribution
Also known as a box and whisker plot, this visualization compares the distributions of a related metric across multiple groups. The box in the middle emphasizes the mean, median, and inner 2 quartiles. The whiskers around each box visualize the min, max, range, and outer 2 quartiles.
ECharts, Range, Statistical

Bubble Chart
Relationship
Correlation
Visualizes a metric across three dimensions of data in a single chart (X axis, Y axis, and bubble size). Bubbles from the same group can be showcased using bubble color.
Aesthetic, Comparison, Legacy, Multi-Dimensions, Multiple Metrics, Scatter, Time, Trend, nvd3

Bullet Chart
Relationship
KPI
Showcases the progress of a single metric against a given target. The higher the fill, the closer the metric is to the target.
Business, Legacy, Report, Single Metric, nvd3

Calendar Heatmap
Time Series
Correlation
Visualizes how a metric has changed over a time using a color scale and a calendar view. Gray values are used to indicate missing values and the linear color scheme is used to encode the magnitude of each day's value.
Business, Comparison, Intensity, Pattern, Report, Single Metric, Trend

Chord Diagram
Relationship
Flow
Showcases the flow or link between categories using thickness of chords. The value and corresponding thickness can be different for each side.
Aesthetic, Circular, Legacy, Proportional, Relational, Single Metric

Country Map
Geospatial
Map
Visualizes how a single metric varies across a country's principal subdivisions (states, provinces, etc) on a chloropleth map. Each subdivision's value is elevated when you hover over the corresponding geographic boundary.
2D, Comparison, Geo, Range, Report, Single Metric, Stacked

deck.gl 3D Hexagon
Geospatial
Map
Overlays a hexagonal grid on a map, and aggregates data within the boundary of each cell.
3D, Comparison, Experimental, Geo, deckGL

deck.gl Arc
Geospatial
Map
Plot the distance (like flight paths) between origin and destination.
3D, Geo, Relational, Web, deckGL

deck.gl Geojson
Geospatial
Map

2D, Aesthetic, deckGL

deck.gl Grid
Geospatial
Map

3D, Comparison, Experimental, deckGL

deck.gl Multiple Layers
Geospatial
Map

Multi-Layers, deckGL

deck.gl Path
Geospatial
Map

Web, deckGL

deck.gl Polygon
Geospatial
Map

3D, Experimental, Geo, Multi-Dimensions, Single Metric, deckGL

deck.gl Scatterplot
Geospatial
Map
A map that takes rendering circles with a variable radius at latitude/longitude coordinates
2D, Comparison, Geo, Intensity, Popularity, Scatter, deckGL

deck.gl Screen Grid
Geospatial
Map
Aggregates data within the boundary of grid cells and maps the aggregated values to a dynamic color scale
Comparison, Experimental, Intensity, Popularity, deckGL

Dual Line Chart
Time Series
Evolution
Visualizes 2 metrics as line plots using the same x-axis. This chart is useful for comparing metrics across the same time range.
Dual Metrics, Legacy

Event Flow
Distribution
Flow
Compares the lengths of time different activities take in a shared timeline view.
Legacy, Progressive

Filter box
Tools
Tools
Chart component that lets you add a custom filter UI in your dashboard. When added to dashboard, a filter box lets users specify specific values or ranges to filter charts by. The charts that each filter box is applied to can be fine tuned as well in the dashboard view.  Note that this plugin is being replaced with the new Filters feature that lives in the dashboard view itself. It's easier to use and has more capabilities!
Predictive

Funnel Chart
Distribution
KPI
Showcases how a metric changes as the funnel progresses. This classic chart is useful for visualizing drop-off between stages in a pipeline or lifecycle.
Business, ECharts, Progressive, Report, Sequential, Single Metric, Trend

Gauge Chart
Composition
KPI
Uses a gauge to showcase progress of a metric towards a target. The position of the dial represents the progress and the terminal value in the gauge represents the target value.
Business, Comparison, ECharts, Multi-Variables, Report, Single Metric

Graph Chart
Relationship
Flow
Displays connections between entities in a graph structure. Useful for mapping relationships and showing which nodes are important in a network. Graph charts can be configured to be force-directed or circulate. If your data has a geospatial component, try the deck.gl Arc chart.
Aesthetic, Circular, Comparison, Directional, ECharts, Relational, Single Metric, Structural, Transformable

Heatmap
Composition
Correlation
Visualize a related metric across pairs of groups. Heatmaps excel at showcasing the correlation or strength between two groups. Color is used to emphasize the strength of the link between each pair of groups.
Business, Intensity, Legacy, Popularity, Predictive, Single Metric

Histogram
Distribution
Distribution
Take your data points, and group them into "bins" to see where the densest areas of information lie
Comparison, Legacy, Pattern, Range

Horizon Chart
Distribution
Distribution
Compares how a metric changes over time between different groups. Each group is mapped to a row and change over time is visualized bar lengths and color.
Legacy

Line Chart
Time Series
Evolution
Classic chart that visualizes how metrics change over time.
Aesthetic, Legacy, nvd3

MapBox
Geospatial
Map

Business, Intensity, Legacy, Popularity, Scatter, Transformable

Mixed timeseries chart
Time Series
Evolution
Visualize two different time series using the same x-axis time range. Note that each time series can be visualized differently (e.g. 1 using bars and 1 using a line).
Advanced-Analytics, Aesthetic, ECharts, Experimental, Line, Multi-Variables, Predictive, Time, Transformable

Multiple Line Charts
Distribution
Evolution
Visualize two different time series using the same x-axis time range. This chart is being deprecated and we recommend using the Mixed Timeseries Chart instead!
Comparison, Legacy, Multi-Layers, Multi-Variables, Time, nvd3

Nightingale Rose Chart
Distribution
Ranking
A polar coordinate chart where the circle is broken into wedges of equal angle, and the value represented by any wedge is illustrated by its area, rather than its radius or sweep angle.
Advanced-Analytics, Circular, Legacy, Multi-Layers, Pattern, Time, Trend

Paired t-test Table
Relationship
Correlation
Table that visualizes paired t-tests, which are used to understand statistical differences between groups.
Legacy, Statistical, Tabular

Parallel Coordinates
Relationship
Ranking
Plots the individual metrics for each row in the data vertically and links them together as a line. This chart is useful for comparing multiple metrics across all of the samples or rows in the data.
Coordinates, Directional, Legacy, Relational

Partition Chart
Relationship
Part of a Whole
Compare the same summarized metric across multiple groups.
Categorical, Comparison, Legacy, Proportional

Pie Chart
Composition
Part of a Whole
The classic. Great for showing how much of a company each investor gets, what demographics follow your blog, or what portion of the budget goes to the military industrial complex.  Pie charts can be difficult to interpret precisely. If clarity of relative proportion is important, consider using a bar or other chart type instead.
Aesthetic, Categorical, Circular, Comparison, Percentages, Popular, Proportional, Single Metric

Pivot Table
Relationship
Table
Used to summarize a set of data by grouping together multiple statistics along two axes. Examples: Sales numbers by region and month, tasks by status and assignee, active users by age and location.  This chart is being deprecated and we recommend checking out Pivot Table V2 instead!
Legacy

Pivot Table v2
Relationship
Table
Used to summarize a set of data by grouping together multiple statistics along two axes. Examples: Sales numbers by region and month, tasks by status and assignee, active users by age and location. Not the most visually stunning visualization, but highly informative and versatile.
Additive, Report, Tabular

Radar Chart
Composition
Ranking
Visualize a parallel set of metrics across multiple groups. Each group is visualized using its own line of points and each metric is represented as an edge in the chart.
Business, Comparison, Coordinates, Multi-Variables, Report, Web

Sankey Diagram
Relationship
Flow
Visualizes the flow of different group's values through different stages of a system. New stages in the pipeline are visualized as nodes or layers. The thickness of the bars or edges represent the metric being visualized.
Categorical, Directional, Distribution, Legacy, Percentages, Proportional, Relational, Single Metric

Sunburst Chart
Composition
Part of a Whole
Uses circles to visualize the flow of data through different stages of a system. Hover over individual paths in the visualization to understand the stages a value took. Useful for multi-stage, multi-group visualizing funnels and pipelines.
Aesthetic, Dual Metrics, Legacy, Multi-Levels, Proportional

Table
Composition
Table
Classic row-by-column spreadsheet like view of a dataset. Use tables to showcase a view into the underlying data or to show aggregated metrics.
Additive, Business, Description, Formattable, Pattern, Popular, Report, Sequential, Tabular

Time-series Bar Chart
Time Series
Evolution
Visualize how a metric changes over time using bars. Add a group by column to visualize group level metrics and how they change over time.
Advanced-Analytics, Percentages, Proportional, Stacked, Time, Trend, Vertical

Time-series Chart
Time Series
Evolution
Swiss army knife for visualizing time series data. Choose between step, line, scatter, and bar charts. This viz type has many customization options as well.
Advanced-Analytics, Aesthetic, ECharts, Line, Predictive, Time, Transformable

Time-series Percent Change
Time Series
Evolution
Visualizes many different time-series objects in a single chart. This chart is being deprecated and we recommend using the Time-series Chart instead.
Advanced-Analytics, Comparison, Legacy, Line, Percentages, Predictive, Time, Trend, nvd3

Time-series Period Pivot
Time Series
Evolution

Legacy, Single Metric, Time, nvd3

Time-series Table
Time Series
Table
Compare multiple time series charts (as sparklines) and related metrics quickly.
Advanced-Analytics, Comparison, Description, Legacy, Multi-Variables, Percentages, Tabular, Trend

Tree Chart
Relationship
Part of a Whole
Visualize multiple levels of hierarchy using a familiar tree-like structure.
Categorical, ECharts, Multi-Levels, Relational, Single Metric, Structural

Treemap
Composition
Part of a Whole
Shows the composition of a dataset by segmenting a given rectangle as smaller rectangles with areas proportional to their value or contribution to the whole. Those rectangles may also, in turn, be further segmented hierarchically.
Categorical, Distribution, Legacy, Multi-Levels, Percentages, Proportional

Treemap v2
Relationship
Part of a Whole
Show hierarchical relationships of data, with with the value represented by area, showing proportion and contribution to the whole.
Aesthetic, Categorical, Comparison, ECharts, Multi-Levels, Percentages, Proportional, Single Metric

Word Cloud
Composition
Ranking
Visualizes the words in a column that appear the most often. Bigger font corresponds to higher frequency.
Aesthetic, Categorical, Comparison, Description, Popularity, Single Metric

World Map
Geospatial
Map
A map of the world, that can indicate values in different countries.
2D, Aesthetic, Comparison, Intensity, Legacy, Multi-Dimensions, Multi-Layers, Multi-Variables, Popular, Scatter, Single Metric

@stephenLYZ @xiezhongfu team, this is high priority. Please tag this issue for each related PR and close issue once all 4 tasks are done. We don't need to add tags to all charts yet. only those that are not controversial, like Popular, Echarts, Advanced-analytics.