index.html should be at top level, parallel to resources directory

The relative path to the resources directory from the path where index.html was found should not be ../resources as currently implemented; it should be ./resources. The index.html files should therefore be placed at the top-level, not inside of the "application-name" directory where part-*.js are located.

Hmmm... Then you can't have more than one target existing at one time... but still, the resources path should be relative to index.html. Maybe there should be a build-output/resources symbolic link to `../resources' ?

I guess that is a duplicate of https://github.com/qooxdoo/qooxdoo-compiler/issues/57

Yes, very similar to #57. My second comment may be more efficient -- create a symlink to the higher-level resources directory -- so that resources needn't exist in all target directories. Then again, I'm linux-centric, and symlinks are not commonly used on windows. I guess putting everything below the app directory may be more appropriate.

From my point of view, it should output the same structure than before. @johnspackman said that he want's to make it configurable.
To be honest - being forced to use symlinks in the file system or aliases/rewrites in the web server configuration feels a bit odd. I'd expect the entry point - as you - to be at the top level. Except you've a multi application setup with shared resources - but that should not be the default.
Let's see what happens ;-)

Fixed with #127


Branch protection protects branches that are not listed in rfc-0015

Branch protection automation protected the following branches for cf-deployment:

update-java-buildpack-release-4.56
develop
main
manual_merge_stemcell_update_from_main
update-cf-cli-release-v1.43.0

It should have protected only the main branch from this list. Looks like the branch protection protects all branches that include main (the default branch of cf-deployment) or v (from pattern v[0-9]*).
Reason seems to be that the inclusionPattern is checked with regexp.MatchString by the branchprotector tool.

MatchString reports whether the string s contains any match of the regular expression pattern.

https://github.com/cloudfoundry/community/actions/runs/4677029281/jobs/8284059449
...
{"component":"branchprotector","file":"k8s.io/test-infra/prow/cmd/branchprotector/protect.go:329","func":"main.(*protector).UpdateRepo","level":"info","msg":"cloudfoundry/cf-deployment=update-windows-utilities-release-0.19.0: not included","severity":"info","time":"2023-04-12T13:16:40Z"}
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetBranches(cloudfoundry, cf-deployment, true)","severity":"info","time":"2023-04-12T13:16:40Z"}
{"component":"branchprotector","file":"k8s.io/test-infra/prow/cmd/branchprotector/protect.go:329","func":"main.(*protector).UpdateRepo","level":"info","msg":"cloudfoundry/cf-deployment=release-candidate: not included","severity":"info","time":"2023-04-12T13:16:40Z"}
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetBranchProtection(cloudfoundry, cf-deployment, update-java-buildpack-release-4.56)","severity":"info","time":"2023-04-12T13:16:40Z"}
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetBranchProtection(cloudfoundry, cf-deployment, develop)","severity":"info","time":"2023-04-12T13:16:40Z"}
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetBranchProtection(cloudfoundry, cf-deployment, main)","severity":"info","time":"2023-04-12T13:16:40Z"}
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetBranchProtection(cloudfoundry, cf-deployment, manual_merge_stemcell_update_from_main)","severity":"info","time":"2023-04-12T13:16:40Z"}
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetBranchProtection(cloudfoundry, cf-deployment, update-cf-cli-release-v1.43.0)","severity":"info","time":"2023-04-12T13:16:40Z"}
...

Idea is to surround the branch inclusion patterns by ^...$ to get a full branch name match.
#581 will test this on https://github.com/cloudfoundry/branchprotection-test. Once merged, I will create test branches similar to the ones listed above which should not be touched anymore. If it works as expected, I adapt the org automation.

Test #581 succeeded. I created a few test branches on repo branchprotection-test similar to the problematic ones on cf-deployment and the remained unprotected after an org automation run:
https://github.com/cloudfoundry/community/actions/runs/4694888643/jobs/8323476572
...
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetRepo(cloudfoundry, branchprotection-test)","severity":"info","time":"2023-04-14T06:36:00Z"}
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetBranches(cloudfoundry, branchprotection-test, false)","severity":"info","time":"2023-04-14T06:36:01Z"}
{"component":"branchprotector","file":"k8s.io/test-infra/prow/cmd/branchprotector/protect.go:329","func":"main.(*protector).UpdateRepo","level":"info","msg":"cloudfoundry/branchprotection-test=develop: not included","severity":"info","time":"2023-04-14T06:36:01Z"}
{"component":"branchprotector","file":"k8s.io/test-infra/prow/cmd/branchprotector/protect.go:329","func":"main.(*protector).UpdateRepo","level":"info","msg":"cloudfoundry/branchprotection-test=manual_merge_stemcell_update_from_main: not included","severity":"info","time":"2023-04-14T06:36:01Z"}
{"component":"branchprotector","file":"k8s.io/test-infra/prow/cmd/branchprotector/protect.go:329","func":"main.(*protector).UpdateRepo","level":"info","msg":"cloudfoundry/branchprotection-test=stephanme-patch-1: not included","severity":"info","time":"2023-04-14T06:36:01Z"}
{"component":"branchprotector","file":"k8s.io/test-infra/prow/cmd/branchprotector/protect.go:329","func":"main.(*protector).UpdateRepo","level":"info","msg":"cloudfoundry/branchprotection-test=test: not included","severity":"info","time":"2023-04-14T06:36:01Z"}
{"component":"branchprotector","file":"k8s.io/test-infra/prow/cmd/branchprotector/protect.go:329","func":"main.(*protector).UpdateRepo","level":"info","msg":"cloudfoundry/branchprotection-test=update-cf-cli-release-v1.43.0: not included","severity":"info","time":"2023-04-14T06:36:01Z"}
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetBranches(cloudfoundry, branchprotection-test, true)","severity":"info","time":"2023-04-14T06:36:01Z"}
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetBranchProtection(cloudfoundry, branchprotection-test, main)","severity":"info","time":"2023-04-14T06:36:01Z"}
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetBranchProtection(cloudfoundry, branchprotection-test, v1)","severity":"info","time":"2023-04-14T06:36:01Z"}
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"UpdateBranchProtection(cloudfoundry, branchprotection-test, main, {\"required_status_checks\":null,\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":1,\"bypass_pull_request_allowances\":{\"users\":[],\"teams\":[\"wg-app-runtime-deployments-bots\"]}},\"restrictions\":null,\"required_linear_history\":false,\"allow_force_pushes\":false,\"allow_deletions\":false})","severity":"info","time":"2023-04-14T06:36:01Z"}
{"client":"github","component":"branchprotector","file":"k8s.io/test-infra/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"UpdateBranchProtection(cloudfoundry, branchprotection-test, v1, {\"required_status_checks\":null,\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":1,\"bypass_pull_request_allowances\":{\"users\":[],\"teams\":[\"wg-app-runtime-deployments-bots\"]}},\"restrictions\":null,\"required_linear_history\":false,\"allow_force_pushes\":false,\"allow_deletions\":false})","severity":"info","time":"2023-04-14T06:36:01Z"}
...

I will file a PR to adapt the org automation coding to generate branch protection include patterns surrounded by ^...$.


fix: Handle differently ordered role parents.

Handle differently ordered role parents.
Handle complex view definitions who's pg-internal-normalized form did not match the source text (primarily due to schema qualification, parenthesis normalization, etc)
Handle view constraints changes
Add explicit register_as_model=True to opt into orm behavior
Accept UniqueConstraint as input materialized view constraint type

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

150 of 151 (99.34%)  changed or added relevant lines in 11 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 96.707%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sqlalchemy_declarative_extensions/view/base.py
100
101
99.01%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
1662

Relevant Lines:
1717

💛  - Coveralls


cleanup jest sandbox env. from //@ts-nocheck and fix typescript issues there

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f669dc6) 94.90% compared to head (0329073) 94.90%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #136   +/-   ##
=======================================
  Coverage   94.90%   94.90%
=======================================
  Files          20       20
  Lines         157      157
  Branches       16       16
=======================================
  Hits          149      149
  Misses          8        8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Acknowledging list of messages in Pulsar consumer java client

My project uses Apache pulsar for distributed messaging. While using the java consumer client I am facing an issue with acknowledgement of multiple messages in a single shot. The java consumer client as of now does not define any method for acknowledging a list of message ids.
I cannot use the cumulative acknowledge in this scenario – as the batch of messages that my consumer client receives requires an ordering based on few pre-defined message metadata – therefore the natural ordering of messages as received from broker is lost at the point where I am in a position to acknowledge the messages. Also looping through list of messages and sending acks per message is too much of a traffic overhead as in my use case I can expect 5000 messages per batch.
For scenarios like this, it would probably help to have a single non-blocking method call for a list of message ids – something similar to  :   CompletableFuture acknowledgeAsync(List<Message> message);
My project uses Apache pulsar for distributed messaging. While using the java consumer client I am facing an issue with acknowledgement of multiple messages in a single shot. The java consumer client as of now does not define any method for acknowledging a list of message ids.
I cannot use the cumulative acknowledge in this scenario – as the batch of messages that my consumer client receives requires an ordering based on few pre-defined message metadata – therefore the natural ordering of messages as received from broker is lost at the point where I am in a position to acknowledge the messages. Also looping through list of messages and sending acks per message is too much of a traffic overhead as in my use case I can expect 5000 messages per batch.
For scenarios like this, it would probably help to have a single non-blocking method call for a list of message ids – something similar to  :   CompletableFuture acknowledgeAsync(List> message);

Thanks, @pg2404 There was already a simlar interface : "CompletableFuture acknowledgeAsync(Messages<?> messages)".
If this is not enough for your use case, It should be not hard to turn it into the interface that you want.

Please assign it to me

@jiazhai - Thanks for the prompt reply. I am looking at http://pulsar.apache.org/api/client/2.2.0/org/apache/pulsar/client/impl/ConsumerBase.html for documentation of the interface you mentioned - but unfortunately I could not find any further information on the usage of the API - for instance how to build the Messages object / if it is similar to java Collection. Can you please point me to any documentation on this interface?

@pg2404 Could you please take a look matteo's comment https://github.com/apache/pulsar/pull/7688#issuecomment-665843163?

Thanks @codelipenghui - just did and replied to on that thread.

Hi @315157973 @codelipenghui -are the changes available in 2.6.0 ?

@pg2404 2.6.0 has released before creating this issue, so we can't onboard it in 2.6.0.


Navigation Issue

Type of issue
Code doesn't work
Description
Downloaded the following code: https://github.com/dotnet/maui-samples/tree/main/8.0/UserInterface/Layouts/AbsoluteLayoutDemos
The menu on the MainPage does not work under Windows emulator.  When app opens, I can click on a menu item and navigate to a page.  When I return to the menu I cannot navigate to anymore pages.  Menu DOES work under Android emulator as expected.  Asked Copilot and the last suggestion which didn't work, is included below:
`using System.Diagnostics;
using System.Windows.Input;
namespace AbsoluteLayoutDemos
{
public partial class MainPage : ContentPage
{
public ICommand NavigateCommand { get; private set; }
    public MainPage()
    {
        InitializeComponent();
        Debug.WriteLine("MainPage constructor called");

        NavigateCommand = new Command<Type>(
            async (Type pageType) =>
            {
                Debug.WriteLine($"Navigating to {pageType.Name}");
                Page page = (Page)Activator.CreateInstance(pageType);
                await Navigation.PushAsync(page);
                Debug.WriteLine($"Navigation stack count: {Navigation.NavigationStack.Count}");
            });

        BindingContext = this;
    }

    protected override void OnAppearing()
    {
        base.OnAppearing();
        Debug.WriteLine("MainPage appeared");
        BindingContext = this; // Ensure BindingContext is set
    }

    protected override void OnDisappearing()
    {
        base.OnDisappearing();
        Debug.WriteLine("MainPage disappeared");
    }
}

}
`
I noticed other samples didn't work as well.
P.S.  Couldn't figure out how to insert a link correctly.  Have to copy text and paste.  Please fix this issue as well or post instructions on different options available such as what does a slash command do.
[Enter feedback here]
Page URL
https://learn.microsoft.com/en-us/dotnet/maui/user-interface/layouts/absolutelayout?view=net-maui-8.0
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/user-interface/layouts/absolutelayout.md
Document Version Independent Id
d8aac004-9823-8211-3e9d-aefe7d9c4d95
Article author
@davidbritch
Metadata

ID: d8aac004-9823-8211-3e9d-aefe7d9c4d95
Service: dotnet-mobile
Sub-service: dotnet-maui

Hi @mthanson8333
The fact that it works on Android/iOS/MacCat, but not Windows, tells us that there's nothing wrong with the sample code. Instead, it's a problem with the control implementation on Windows.

Can you explain the difference between "Open a document issue" and "product repos" so I don't make the same mistake.  To me they are the same.  Thanks.

Hi @mthanson8333
It's a difficult one for users to make a judgment call on. Users see a problem with a doc/sample and so open an issue here. But sometimes it's not actually a doc/sample problem - it's a product problem (like in this case where the issue only affects a single platform) in which case it needs reporting on the product repo. However, in this you don't need to bother as it's been reported multiple times there, with the latest one being: https://github.com/dotnet/maui/issues/21112

That clarifies things.  Thank you.
Sent from Samsung Galaxy smartphone.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: David Britch @.>
Sent: Wednesday, October 2, 2024 4:27:19 AM
To: dotnet/docs-maui @.>
Cc: mthanson8333 @.>; Mention @.>
Subject: Re: [dotnet/docs-maui] Navigation Issue (Issue #2506)
Hi @mthanson8333https://github.com/mthanson8333
It's a difficult one for users to make a judgment call on. Users see a problem with a doc/sample and so open an issue here. But sometimes it's not actually a doc/sample problem - it's a product problem (like in this case where the issue only affects a single platform) in which case it needs reporting on the product repo. However, in this you don't need to bother as it's been reported multiple times there, with the latest one being: dotnet/maui#21112https://github.com/dotnet/maui/issues/21112
—
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs-maui/issues/2506#issuecomment-2387905949, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKE6AHF6BYIZYSTEWN4RXETZZOU6PAVCNFSM6AAAAABOOAJJVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBXHEYDKOJUHE.
You are receiving this because you were mentioned.Message ID: @.***>


Filter is applied before the filter criteria is changed

While sequential input characters into the filter string, it takes as the filtering criteria the value of the text field that was BEFORE the last character was entered. I assume that the filter activation trigger is binded to the KeyDown event, and not to the filter criteria string changed event.

Hello. I cannot reproduce the issue, maybe it depends on some other configuration factors?
I tested on the Example app, with default settings there, by entering in the filter:

first "AR" - it did show "Arabic" languages between others
then I typed "M" (so the filter is "ARM") - now it shows "Armenian" but Arabic languages are hidden (as expected).

Can you provide detailed steps/a sample app with your configuration to reproduce this? Thank you in advance.


Need to restart the server every time a user accept or reject the TOS

If I start the server and log in with a user that didn't accept or reject the TOS before, it just became on a loop at the /confirm/ page.

As seen on the image, it makes the redirect but it keeps making the redirect to the TOC acceptance page.
If I restar the server it stops doing that and works fine for the previously accepted users. Maybe I configured something wrong?
Thank you

Did you figure this one out?

No, this is still happening to me.
the basic use case is:
Register a new user (Django allauth used here), then it redirects to the accept terms and conditions acceptance page, and no matter what I do (accept, reject, reload the main url of the page) it keeps redirecting to the acceptance page.
If I access to my database and check the UserAgreements the object is there.
And if I reload the server it stop doing that and starts working as expected (detecting that the user is accepted).
If you need more info about it that could help please ask for it.

This seems to be working since I fixed the translation issue.


Error logging in with google as provider

So many use this that I feel I'm just doing something wrong.
My error is:
Error: 403 error from server     at IncomingMessage.<anonymous> (/code/pokemon_go/node_modules/gpsoauthnode/oauth.js:61:23)     at emitNone (events.js:91:20)     at IncomingMessage.emit (events.js:185:7)     at endReadableNT (_stream_readable.js:926:12)     at _combinedTickCallback (internal/process/next_tick.js:74:11)     at process._tickCallback (internal/process/next_tick.js:98:9)
The code couldnt be more simple...
const PokemonGO = require('pokemon-go-node-api')
	, pokeio      = new PokemonGO.Pokeio()
	;

let location = {
	type: 'name',
	name: 'Houston'
}

pokeio.init(MY_USER_NAME, MY_PASSWORD, location, 'google', function (err) {
	console.log(err)
	if (err) {
		throw err;
	}

	let myPlayerInfo = pokeio.playerInfo;
})

I had 2fa on my account and wasnt using the app password i created. Sorry!


feat: add support for exit on receiving HTTP error 420 or 429

tested locally, should be fine to go :whale:


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1405 ms

Resolved: Bofrost.at performance has improved in 23585a0.


FR: "Normal" keys if set

Is your feature request related to a problem? Please describe.
I am always frustrated when I have to put emails in my db. Because a . in the key name means that it is going to be a object with that sub key.
Can you please make a way, maybe in the config, that allows to have key with . as a key and not as a sub object thing.
db.set('myUser.balance', "text")
db.get('myUser.balance')
//"text"
// not { balance: "text"}

Maybe something like this
const db = QuickDB( key: standarDize ");
idk which name to give

Added to the dev branch. This will be available in the next minor release soon!


Wurm Tweeks Water Sack

Water Sacks use 1 MB of water per charge, rather then 333 mb they fulfill thirst wise.

Fixed next update


useLocalizedStringFormatter is not documented

🙋 Documentation Request

useMessageFormatter is hidden from the sidebar, and the new hook useLocalizedStringFormatter is not documented.
There is no official documentation for translating strings in React Aria documentation.
React Aria has documentation for handling dates and numbers but not strings.

Thank you for filing, we've added this to our backlog and will try to get to it when time permits!

It also looks like this there is error in the compiled code.
https://github.com/adobe/react-spectrum/blob/6c61f5b1db5f52ebc654bf754a15594bb0662f6f/packages/%40internationalized/string/src/LocalizedStringFormatter.ts#L37
Whenever I use this hook, it throws an error because this here is undefined. Everything else works fine.

Any progress on this?


docs(CONTRIBUTING): complete creators guidelines with relator terms

What does this PR do?
Add info | Improve repo
For resources
Description
Why is this valuable (or not)?

Completes the creators guidelines with the relator terms introduced/sugested in https://github.com/EbookFoundation/free-programming-books/pull/7034#discussion_r954014539
Extends those guidelines with other useful sugestions

Related with:

EbookFoundation/free-programming-books-parser#13

Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Used an informative name for this pull request.
[x] Define the section text
[ ] Translate into Deutch
[ ] Translate into Greek
[ ] Translate into Persian
[ ] Translate into Filipino
[ ] Translate into French
[ ] Translate into Indonesian
[x] Translate into Italian
[ ] Translate into Korean
[ ] Translate into Portuguese
[ ] Translate into Russian
[x] Translate into Spanish: @davorpa
[ ] Translate into Vietnamese
[ ] Translate into Chinese (simplified)
[ ] Translate into Chinese (traditional)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

NOTE
Needs text wording/translation reviewing

NOTE
Section text is stable. Translations accepted

I think we should merge what we have and use the branch for contributions

I think we should merge what we have and use the branch for contributions

Well, go ahead then! @LuigiImVector, please, remember translate to italian when you have a while :wink:

I would merge it without 2e90dd9a21954230e089f598d1742181b407d8e7  Not sure the best way to expose it

I would merge it without 2e90dd9 Not sure the best way to expose it

@eshellman, I would prefer it to be merged as it is now. At least now all documents have the same text, translated or not. This has already been done in the past.
Also, if some text is not translated, at least it can be read in English in the same document and in this way, any of the collaborators can translate it at a glance if they want, seeing that there are some missing pieces.
Any inconvenient?


Plugin-Typescript doesn't completely strip out Interface import/exports which breaks rollup.

My build process runs all of my app code through plugin-typescript before systemjs performs a rollup operation.
The process fails for imported/exported interfaces.  I've created an example around an interface called "Player."
player.interface.ts
export interface Player {
    new (): Player;
    InstanceId: string;
    Setup: (config: PlayerConfig) => Player;
};

imports-player.function.ts
import { Player } from 'player.interface';
export function Initialize() {
    const config = { };
    const x = new Player().Setup(config);
    console.log(x.InstanceId);
}

systemjs.config.js
{
  transpiler: 'plugin-typescript',
  map: {
    'plugin-typescript': 'lib/plugin-typescript',
    'typescript: 'lib/typescript'
  },
  packages: {
    'typescript': { main: 'typescript.js', meta: { 'typescript.js': { exports: 'ts' } } },
    'plugin-typescript':  { main: 'plugin.js' },
  },
  typescriptOptions: {
    target: 'es5',
    module: 'es2015',
    emitDecoratorMetadata: true,
    experimentalDecorators: true
  }
}

build
builder.buildStatic('imports-player.function.ts', 'release.js', { runtime: false, rollup: true })'
The resulting error is:
Error: 'Player' is not exported by player.interface.ts (imported by imports-player.function.ts)
I believe root cause is that plugin-typescript is correctly stripping out the interface declaration, since it is a design time construct, but is not correctly stripping out the interface import.  By the time rollup gets the transpiled output, it thinks there should be an ES6 module named "Player" somewhere, but that has been stripped out (correctly) during transpile.
What should happen is that whenever plugin-typescript strips out an interface, any import of that interface should also get stripped out.

This is not a bug in plugin-typescript, but rather a coding error.
In TypeScript, when an imported name is used solely in type position, TypeScript removes it completely.
Consider:
// TypeScript
import { Player } from 'player.interface';

export const player : Player = { // refers to the type named "Player"
  Setup() {
    console.info('setup');
  },
  InstanceId: 'i0'
};

will transpile into
// JavaScript
export var player = {
  Setup() {
    console.info('setup');
  },
  InstanceId: 'i0'
};

The problem is that in your example code, have used Player in value position which causes TypeScript to retain the import.
When it is used as a value, TypeScript will not strip the import because it is referenced by the emitted JavaScript
Consider:
// TypeScript
import { Player } from 'player.interface';

export const player = new Player(); // refers to the value named "Player"

will transpile into
// JavaScript
import { Player } from 'player.interface';

export const player = new Player();

player.interface.ts
should look like
export class Player {
    constructor() { }
    InstanceId: string;
    Setup = (config: PlayerConfig) => {
       // configure this instance in some way

       return this;
    };
};

in which case it is not an interface at all.

Shit, the example code was incomplete.   I've updated the function below - let me know if it would be clearer to update the original submission..
imports-player.function.ts
import { Player } from 'player.interface';
declare var Player: Player;
export function Initialize() {
    const config = { };
    const x = new Player().Setup(config);
    console.log(x.InstanceId);
}

The interface is describing a class imported via CDN, hence the declaration that was missing.  I believe this is valid Typescript but produces the error..

Odd, the following actually seems to work for me here:
import { Player } from 'player.interface';
declare var _Player: Player;
export function Initialize() {
    const config = { };
    const x = new _Player().Setup(config);
    console.log(x.InstanceId);
}

perhaps this is a TypeScript bug?

Actually no it's not - it's a scope collision with var Player and import { Player } which should be a compiler error.

I was able to get the error to popup elsewhere by changing to:
import { Player as IPlayer } from 'player.interface';
declare var Player: IPlayer;
export function Initialize() {
    const config = { };
    const x = new Player().Setup(config);
    console.log(x.InstanceId);
}

I'm still uncertain as to whether or not there is an issue here...
this describes a similar issue (albeit with rollup-plugin-typescript) to what I'm experiencing: https://github.com/rollup/rollup-plugin-typescript/issues/65
I would think however that since this plugin-typescript can transpile to js, without rollup, just fine... and that js can be rolled up just fine... that there is some issue with the transpile feeding into rollup in one build call.
Sorry if that isn't clear.

I don't think this is an issue with the plugin. When I transpile the first example using tsc:
import { Player } from 'player.interface';
declare var Player: Player;
export function Initialize() {
    const config = { };
    const x = new Player().Setup(config);
    console.log(x.InstanceId);
}

produces
import { Player } from './player.interface';
export function Initialize() {
    var config = {};
    var x = new Player().Setup(config);
    console.log(x.InstanceId);
}

and the import is still there which is why rollup produces the error. There are a number of ways to do what you want, but the thing to notice is that in your example declare var Player: IPlayer declares an instance of type Player, but you want it to refer to the constructor function itself (here x is an instance of type IPlayer, Player is not). I think what you are looking for is this:
export interface Player {
    InstanceId: string;
    Setup: (config: any) => Player;
}

export interface PlayerClass {
    new (): Player;
}

and
import {PlayerClass} from './player.interface';
declare var Player: PlayerClass;

export function Initialize() {
    const config = { };
    const x = new Player().Setup(config);
    console.log(x.InstanceId);
}

I would maybe look at the type definitions for React as they have a number of examples of this kind of thing. It may also be possible to achieve the same thing using the 'constructor' keyword in the class definition.

I need a few days to put together some more examples - please don't close.

I am having the same issue.  Rollup handles exports of interfaces ok unless you are importing them in a different file and then exporting them again.
The following code fails
files/somethingwrong.ts
  export interface ISomethingWrong {     something?: string;   }
files/index.ts
  export { ISomethingWrong } from './somethingwrong';
index.ts
  import { ISomethingWrong } from './files';
The following code works
files/somethingwrong.ts
  export interface ISomethingWrong {     something?: string;   }
index.ts
  import { ISomethingWrong } from './files/somethingwrong';

@thomasmeadows interfaces don't exist at runtime, they are removed by typescript during transpilation so Rollup will never see them. What exactly is the error you are seeing?

The error thrown is that the interface being imported and then exported does not exist(which it doesn't because typescript stripped out the interfaces).  The export statement in files/index.ts in scenario 1 is not stripped by Typescript.   It might just be a problem with the way typescript works?

Ok I see. Yes this is due to plugin-typescript compiling with 'isolatedModules' so typescript does not know that the export should be elided. There is an issue on the typescript repo here to raise an error in this situation.
In the example you give I would not expect files/index.ts to be included in the build at all because the import statement in index.ts should get elided, but probably the real code has more content and something else is including files/index.ts?
A possible solution for this would be to import * as Files from 'files/index.ts' instead. It may also be possible to define it in a declaration file although this will lead to other issues due to systemjs extension handling.

I can confirm the workaround solves rollup for the following scenario.
// dictionary-a.ts
export type DictionaryA { [key: string]: any };

// index.ts
export { DictonaryA } from 'dictionary-a.ts' // DOES NOT WORK.
export * from 'dictionary-a.ts' // DOES WORK.


Web Console Lint and Vulnerabilities

See what we can do about the vulnerabilities reported during npm install:
added 1589 packages, and audited 1590 packages in 38s

218 packages are looking for funding
  run `npm fund` for details

11 high severity vulnerabilities

See what we can do about the warnings reported during npm run build:
><EMAIL_ADDRESS>build
> react-scripts build

Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Compiled with warnings.

[eslint]
src/console/visualizer/Visualizer.js
  Line 20:8:  React Hook useEffect has missing dependencies: 'networkGraph' and 'props'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect  react-hooks/exhaustive-deps
  Line 26:8:  React Hook useEffect has a missing dependency: 'networkGraph'. Either include it or remove the dependency array                                                                                react-hooks/exhaustive-deps

src/register/Register.js
  Line 33:8:  React Hook useEffect has a missing dependency: 'token'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/resetPassword/ResetPassword.js
  Line 6:13:  'search' is assigned a value but never used  no-unused-vars

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

File sizes after gzip:

  740.98 kB  build/static/js/main.391de7fe.js
  827 B      build/static/css/main.ddc97b8b.css

The bundle size is significantly larger than recommended.
Consider reducing it with code splitting: https://goo.gl/9VhYWB
You can also analyze the project dependencies: https://goo.gl/LeUzfb

One vuln we are not going to be able to solve:
https://github.com/advisories/GHSA-9vvw-cc9w-f27h
debug  <2.6.9
Severity: high
debug Inefficient Regular Expression Complexity vulnerability - https://github.com/advisories/GHSA-9vvw-cc9w-f27h
No fix available
node_modules/aframe/node_modules/debug
  aframe  >=0.6.0
  Depends on vulnerable versions of debug
  node_modules/aframe
    3d-force-graph-vr  >=1.4.3
    Depends on vulnerable versions of aframe
    node_modules/3d-force-graph-vr
      react-force-graph  *
      Depends on vulnerable versions of 3d-force-graph-vr
      node_modules/react-force-graph

Will need the react-force-graph library to update it's deps


Forbidden (CSRF cookie not set.): /auth/authorize

I tried to create a new user (sign up) using
axios.post('http://<IP_ADDRESS>:8000/auth/authorize', {
username: username,
email: email,
password1: password1,
password2: password2,
})
but I am getting a 403 forbidden error and it says CSRF cookie not set.
how can I solve this??

In the README file you can read how to SSO. You need to use a Social Account of your choice and use the /convet-token endpoint to authenticate against. Sorry for the late reply.

I was able to login with Facebook. However, when I tried to create a new user i.e sign up a new user using username, email, password, and confirm password (without using a social account), I was unable to do so. Isn't it possible to create a new user without social authentication using this package?? I want to have multiple options to sign up (using social accounts and also by typing username and password if someone doesn't want to sign up using their social account)


[Request] Add a "Compare hashes..." option to the context menu when two or more files are selected.

Use case: I have multiple files which I suspect are identical but I want to confirm/deny my suspicion based on the files' hashes. I could go to the hashes tab in properties and eyeball the hashes side by side, but since I'm a lazy and error-prone human I want the computer to do the work for me and pop up a simple dialog indicating "Identical!" or "Not Identical!" and maybe list the files and their hashes as an added FYI.
Interested to know if anyone else has this use case; I may just be a weirdo. :smirk:

This would be beneficial to me.  Currently I keep HashTab around for file comparison purposes, and use Hash Check for everything else.  I prefer Hash Check over HashTab, but that one feature forces me to keep both on my system.


Implement a way to get branch information

In addition to the basic branch info (list of local branches, current branch, etc), need a way to determine the default remote for a branch.
See this SO post, which suggests the use of git branch -vv, which produces output that looks like the following:
* develop 734a079 [origin/develop] Improve unit test coverage
  main    981421d [origin/main] Merge pull request #1 from dswisher/nuke

It looks like the following is what would be wanted, with --all being optional:
git branch --list -vv --no-color --all

That produces output like the following:
* develop                3d1fc84 [origin/develop: ahead 2] Finish fetch parser (fixes #6)
  main                   981421d [origin/main] Merge pull request #1 from dswisher/nuke
  remotes/origin/develop 734a079 Improve unit test coverage
  remotes/origin/main    981421d Merge pull request #1 from dswisher/nuke
  remotes/origin/nuke    f85b59b Work on tests, start on nuke build

Note the : ahead 2 on the develop branch. I suspect there might be a behind, too?


Add multiconformer SD reader and writer

Does the multiconf reader exist yet?  I'd be happy to try and tackle it.

There's not an open-source version.


Tree Groups not properly being displayed

Ex. When I select the 'Global IT' group it will then display all items that belong to that group under the 'Procurement' group instead of displaying the items directly under 'Global IT'
When toggling groups, the items that belong to the toggled group are not properly being nested immediately under the group title. I've copied & pasted the demo code from 'demo-tree-groups/index.js'.
// hide (filter) the groups that are closed, for the rest, patch their "title" and add some callbacks or padding
const newGroups = this.getTimelineGroups().groups.filter(g => g.root || this.state.openGroups[g.parent]).map(group => {
      return Object.assign({}, group, {
        title: group.root ? (

 this.toggleGroup(parseInt(group.id))} style={{cursor: 'pointer'}}>
            {this.state.openGroups[parseInt(group.id)] ? '[-]' : '[+]'} {group.title}

        ) : (

            {group.title}

        )
      });
});

Has anyone run into this or have any recommendations on how to proceed?

Hey, the groups are displayed in the order you create the newGroups array.
Looking at your code and taking a guess, probably your this.getTimelineGroups().groups returns an array where first you have all the root groups, followed by all the others.
Thus while you might be filtering them correctly, they are still shown in this order.
Try something like this:
const allGroups = this.getTimelineGroups().groups
let visibleGroups

allGroups.filter(g => g.root).forEach(rootGroup => {
  visibleGroups.push(Object.assign({}, rootGroup, {
    title: (

 this.toggleGroup(parseInt(group.id))} style={{cursor: 'pointer'}}>
        {this.state.openGroups[parseInt(group.id)] ? '[-]' : '[+]'} {group.title}

    )
  })

  // not sure how exactly the filter needs to be and if the rootGroup has an ID or not
  if (this.state.openGroups[rootGroup.id]) {
    allGroups.filter(g => g.parent === rootGroup.id).forEach(group => {
      visibleGroups.push(Object.assign({}, group, {
        title: (

            {group.title}

        )
      })
    })
  }
})

Hope this helps.


Expand mention to suitability of the builder

Closes #66

@dakom Added your suggestion. Also I moved everything into a collapsible because the callout got a little too long


Dynamics 365 portal

More information would be useful on how to make accessible web pages using the portal, as well as information about how to render search optimised pages, how to control the titles and headings on output pages.

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

ID: 0c35150e-4d15-2414-0dee-c7126760e46b
Version Independent ID: 132660c5-df38-8bab-940c-fe589cfbb185
Content: Monthly updates in portal capabilities for Dynamics 365 for Customer Engagement
Content Source: ce/portals/monthly-updates-portals.md
Service: dynamics-365-customerservice
GitHub Login: @sbmjais
Microsoft Alias: shjais

Please reach out to the Power Apps ideas forum with suggestions for features.


Link to ICCLab Puppet configuration post is broken

The link in the Markdown text to the deployment using Puppet goes to an icclab tag on cloudcomp.ch and that tag link seems no longer to work.
Can an updated Puppet procedure pe posted, or the section removed?

@dizz is this still valid btw? I know puppet nova modules have support for enabled_api=... now. Is that all we need?

article now moved here: http://blog.zhaw.ch/icclab/automating-occi-installations/
code is here: https://github.com/stackforge/puppet-nova/blob/d87c1e8fe77bef596438fb1e8eaef48ba55c2005/manifests/api.pp#L326

cool! thanks

fixed in README


Remove Preview as BPG peering is already GA

BGP peering is already GA and removing preview word to not get customer confused

@dmauser : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@cherylmc
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@cherylmc - Can you review this old PR and determine whether it needs to be closed or merged?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

#sign-off


Fix ROCm build error

I made two commits:

8ff6259 is a merge commit with upstream so that the rocBLAS/rocSOLVER changes (from #3950) are visible.
6f12bda is the actual change that fixes the build error on ROCm (and it actually runs and passes the tests you added in this branch cupy#3936).

Thanks, @leofang .
LGTM.


problem: cursor abnormal

sorry my bad english. I do not know how to describe the problem.

I edit html DOM attribute value, Will have this problem。
I disable compe, and it is no problem.
Could you help me solve this problem?
thanks.

I can't reproduce it.
Could you provide minimal config based on https://github.com/hrsh7th/nvim-compe/blob/master/misc/minimal.vim ?

I can reproduce it.
config:
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('~/.vim')
if !isdirectory(s:plug_dir)
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'hrsh7th/nvim-compe'
call plug#end()

let g:compe = {}
let g:compe.enabled = v:true
let g:compe.autocomplete = v:true
let g:compe.debug = v:false
let g:compe.min_length = 1
let g:compe.preselect = 'enable'
let g:compe.throttle_time = 80
let g:compe.source_timeout = 200
let g:compe.incomplete_delay = 400
let g:compe.max_abbr_width = 100
let g:compe.max_kind_width = 100
let g:compe.max_menu_width = 100
let g:compe.documentation = v:true

let g:compe.source = {}
let g:compe.source.path = v:true
let g:compe.source.buffer = v:true
let g:compe.source.calc = v:true
let g:compe.source.vsnip = v:true
let g:compe.source.nvim_lsp = v:true
let g:compe.source.nvim_lua = v:true
let g:compe.source.spell = v:true
let g:compe.source.tags = v:true
let g:compe.source.snippets_nvim = v:true
let g:compe.source.treesitter = v:true
let g:compe.source.omni = v:true

I use neovim nightly.

@hamsterBiscuit Don't you use language server?

And sorry. Please reproducible config and steps.

my config, I used.
minimal config not use LSP.
it is both the problem.

OK. I will test it.
But I want to know reprodusible steps.
How to reproduce this bug?

I did nothing extra.
open html file. and edit it.

Thank you. I've completely understand.
This is omni-source related problem.
I will fix it.

like this

thank you very much

@hamsterBiscuit I've fixed. Thank you~.


when i run"cmake .. -DBUILD_TEASER_FPFH=ON && make",an error occurred.

CMake Error at CMakeLists.txt:62 (get_target_property):
get_target_property() called with non-existent target "pcl_common".

Maybe it is the problem of pcl1.8

Maybe, please remove the find_package line as follows:
find_package(PCL QUIET REQUIRED COMPONENTS common io features kdtree)


Improve search to include organization profiles

Allow users to search for organization/group/company pages by name.

Technically the search already does this, but it could use some explicit UX TLC. :)


Maps-STL HackerRank

Description
Code added for Maps-STL in C++
Fixes #2016
Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

@ravikr126

Add testcases

@ravikr126  Could you please tell or refer to a commit so that I can know how to add testcases

@ravikr126 Added testcase


mni_autoreg: pull upstream workaround for -fno-common toolchains

Without the change build fails on upstream gcc-10 as:
ld: lib_minctracc.a(minctracclib.c.o):(.bss+0x78): multiple definition of
  `prog_name'; CMakeFiles/xfm2param.dir/Extra_progs/xfm2param.c.o:(.bss+0x18): first defined here

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 173992 run on x86_64-linux 1

1 package built:

mni_autoreg

Looks fine to me, but maybe it's simpler to update to a newer unstable- version (this package doesn't seem to make official releases often) instead?


upgrade: requesting for updating the http dependency version.

Currently, the official http package version is http: ^1.1.0
I think we should updating this package to use latest version of http package.
Recently I've also got some issues when trying to install some latest package, some latest packages are required to have http: ^1.0.0 because of this version resolution conflict I couldn't install those packages.
Thanks for making such a good package.

@iamriajul Thank you for mentioning this! I will do it today later.

@iamriajul Fixed, checkout int 1.2.1. Has it solved your issue?

Thanks for being so responsive.
I appreciate your efforts in making this package.
Thanks. the release has solved my issue.


is task_for_pid obsolete ?

It seems that the function task_for_pid is obsolete. After looking at some source files, I found this in mach_traps.h:
/*
 *	Obsolete interfaces.
 */

extern kern_return_t task_for_pid(
	mach_port_name_t target_tport,
	int pid,
	mach_port_name_t *t);

extern kern_return_t task_name_for_pid(
	mach_port_name_t target_tport,
	int pid,
	mach_port_name_t *tn);

extern kern_return_t pid_for_task(
	mach_port_name_t t,
	int *x);

extern kern_return_t debug_control_port_for_pid(
	mach_port_name_t target_tport,
	int pid,
	mach_port_name_t *t);

Event though i have found a lot resources related to debugging on mac, which mention this function call as the gateway to rest of the functionality like manipulating registers, I could not find this function on apple's mach documentation.  https://developer.apple.com/search/?q=task_for_pid&type=Documentation
So is this function now deprecated, and if it is what should be used in its place?

If upstream says so, yeah, it's obsolete. But providing it doesn't harm and users can choose what they use. If upstream removes it, I'm happy to say good-bye to it on this crate :)


(angular2-multiselect-dropdown) Groupby and Filtering does not work at same time

After implementing groupBy, I am faced a lot of issues. E.g Filter something and than click "select filtered items" but nothing gets selected. I tested it directly on cuppalabs demo page and functionality is not even working there.
https://cuppalabs.github.io/angular2-multiselect-dropdown/#/groupby

@maheennasir18 Please use latest version v5.0.1. This is fixed now.


Add ApacheSolrGCP Plugin

Signed-off-by: Ashi Jain<EMAIL_ADDRESS>

Hi @Tal-Daniel @PratikshaSonawane @AlexaNahum ,
We have raised ApacheSolrGCP PR, request you to have a look.
Thanks


Sema: Make type resolution for EnumElementPattern less eager

Delay contextual type resolution for EnumElementPattern until coercePatternToType is called to further reduce the scope of UnboundGenericType, and use name lookup instead to resolve the pattern.
The definitive fix would be to move CaseStmt checking into the constraint system (AFAIK CaseStmt is the only remaining place where EnumElementPattern checking still relies on coercePatternToType).

@swift-ci Please test source compatibility

@swift-ci Please smoke test

What about cases where the contextual type is needed to resolve the case? I believe this will no longer compile with this change:
enum E {
  case e
}

struct S<T> {}
extension S where T == E {
  func foo(_ x: Any) {
    switch x {
    case T.e:
      break
    default:
      break
    }
  }
}

As you say, it would be nice if we could move this into the constraint system such that we resolve patterns while generating constraints, which would allow us to keep the generic opening contained and allow the above example to remain valid.

Argh.. well noticed. @CodaFi Should we revert this? Not sure if I can figure out the proper constraint-system-oriented fix in reasonable time, considering the regression.

Yeah IMO we should revert this if a fix for the above case isn't going to be landed soon.


using ZeRO-stage 3, buffer configs don't make memory usage change.

Hi, I'm trying to do inference using GPT3-like model.
When I offloaded the parameters, GPU memory usage reduced I expected.
I would like to investigate memory usage and latency by changing some buffer knobs, "max_live_parameters" and "max_reuse_distance".
However, even if the config was changed, the difference in the amount of memory used by the GPU could not be seen.
For example,
case 1. "max_live_parameters"="max_reuse_distance"=1e10, GPU consumes about 18GB.
case 2. "max_live_parameters"="max_reuse_distance"=0, GPU also consumes about 18GB.

model : GPT3-like (175.21B)
device : A100-80GB
CPU mem : 1TB

Is this situation normal? what "max_live_parameters" and "max_reuse_distance" exactly do?
of course I read the documentation. so I thought that if I increase those two configs, GPU memory usage will be increased.
furthermore, if "param_persistence_threshold"=1e8 is applied, all weight tensors with less than 1e8 elements stay in the GPU. So, I thought the gpu memory usage should be larger than when the threshold was applied as 0.
However, there was no difference in nvidia-smi.
Is there anyone who can explain if I'm missing something and misunderstanding it, or if it's normal?
I'm quite a new DS user, so any comment will be very helpful.
Thanks

And I checked the used memory by "see_memory_usage" func, changing the persistence_threshold.
When I set the threshold as 1e10, (and max_live_parameters=max_reuse_distance=1e12)

If I change the threshold as 0(max_live=max_reuse=0), the result is like below

Both are exactly same. In my knowledge, if I set the threshold as 0, every weight tensor should be offloaded to CPU memory. but it seems like that LayerNorm weight tensor did not offloaded.

created the bug issue. #2869


Enable gzip compression in dev mode

Original Discussion: https://www.pika.dev/npm/snowpack/discuss/287
/cc @matthoffner, @FredKSchott, @stramel
Passing every file response via sendFile() through this should be easy enough, and would give DevTools more realistic performance data about your application: https://nodejs.org/api/zlib.html#zlib_zlib_gzip_buffer_options_callback
TODO:

Check for a no-transform header or accept-encoding of identity and not send a compressed version
Read the accept-encoding and only send gzip if allowed.
Set the vary: Accept-Encoding header
Set the Content-Encoding header

this should be easy enough

Hmmm, this is is a bit misleading. At the surface, it's just a call to zlib.gzip. However, when we start sending compressed responses we need to:

Check for a no-transform header or accept-encoding of identity and not send a compressed version
read the accept-encoding to see what the allowed responses are. Ideally, we would prioritize compression libs (br > gzip > deflate).
Check the size of the response and only compress above a threshold (ie 1KB) as compressing small files will cause an increase of size
Set the vary: Accept-Encoding header
Reset the Content-Length header to the updated response
Set the Content-Encoding header to the compression lib name we used

@FredKSchott does all this sound accurate and worthwhile?

lol no one should ever write "this should be easy enough".
I turned your list into a TODO list above, I think it's work worth doing (especially because it's relatively self contained) but agreed that it's not super high on my list. For the items removed from your original list:

brotli

I don't think we need brotli, just gzip. In the future, we could probably support one or the other via a config option.

Reset the Content-Length header to the updated response

We don't currently set this ourselves, and instead just let the res.write() set it for us automatically.

lol no one should ever write "this should be easy enough".

🤣 True!

brotli

I don't think we need brotli, just gzip. In the future, we could probably support one or the other via a config option.

I'm good with this 👍

Reset the Content-Length header to the updated response

We don't currently set this ourselves, and instead just let the res.write() set it for us automatically.

This was necessary for the "threshold" of gzip, Do we want to gzip files smaller than 1KB? If so, how should I get the content-length? `string.length?


Add admin functionality

OPH-386
Corresponding PR frontend: https://github.com/lblod/frontend-openproceshuis/pull/54
Integrate impersonation service to allow admins to impersonate other accounts

no review?

no review?

@nbittich oops sorry that wasn't the intention, I clearly wasn't thinking properly! I reverted the PR and here's a new one: https://github.com/lblod/app-openproceshuis/pull/37

np! will look at it asap


Can't restart config manager after stopped

The stop! method sets @stopped=true. So once the config manager is stopped (via stop!), it can never be started again.
https://github.com/optimizely/ruby-sdk/blob/44d585926c259f56d09dc5c25dd1e5f1551414fd/lib/optimizely/config_manager/http_project_config_manager.rb#L92-L95

@jasonkarns can you elaborate on the use case for this?

Tests; non-constant polling; local development; event-driven polling (polling is enabled upon receipt of an event, and turned off after a time-limit or successful update; then restarted upon receipt of another event).
Honestly, I'm more inclined to question the validity of an interface that includes start/stop methods that can't actually invoke them. (Order-dependent method invocation is horribly bad. The object should never be able to be put into an invalid state. If a "stopped" object can't be restarted, why not just destroy the object entirely?)


How to get user reels included in user_medias reponse?

Hello
Sometimes a user uploads a reel but does not add it to their main feed. user_medias_paginated_v1 only returns the media added to the feed and not in the reels section.
For example:
This user: https://www.instagram.com/saniamistryy/
has not added this reel to their main feed: https://www.instagram.com/reel/CopWVIjqLnq/
I noticed that /clips/user/ returns the reels for the user but is there a way to get the reels included with user_medias_paginated_v1 ? response by passing some parameter?

https://github.com/adw0rd/instagrapi/blob/master/instagrapi/mixins/timeline.py

https://github.com/adw0rd/instagrapi/blob/master/instagrapi/mixins/timeline.py

I am sorry I might be confused. I think this is for getting MY reels feed. I want to get clips/reels posted by other user by username/user_id

@skords ah, now I understand you, I'll see what can be done a little later

looking forward for this method too

@skords do you find any way or api so that it can return reels posted by other user by username/user_id?

@mces89 added in instagrapi 1.17.0
>>> clips = cl.user_clips_v1(25025320, amount=2)
>>> clips[0].dict()

{'pk': '3052048407587698594',
 'id': '3052048407587698594_25025320',
 'code': 'CpbDdszj7ei',
 'taken_at': datetime.datetime(2023, 3, 5, 21, 50, 4, tzinfo=datetime.timezone.utc),
 'media_type': 2,
 'product_type': 'clips',
 'thumbnail_url': HttpUrl('https://scontent-den4-1.cdninstagram.com/v/t51.2885-15/333966975_152901010970043_8971338145148712917_n.jpg?stp=dst-jpg_e15_p150x150&_nc_ht=scontent-den4-1.cdninstagram.com&_nc_cat=1&_nc_ohc=rRuJ7u4YrqEAX-UEMFq&edm=ACHbZRIBAAAA&ccb=7-5&ig_cache_key=MzA1MjA0ODQwNzU4NzY5ODU5NA%3D%3D.2-ccb7-5&oh=00_AfC_tNEWVjJLM5RQYUiQJFHQZSmvnDtAcpzs42DRSYt1pQ&oe=6409C451&_nc_sid=4a9e64', scheme='https', host='scontent-den4-1.cdninstagram.com', tld='com', host_type='domain', port='443', path='/v/t51.2885-15/333966975_152901010970043_8971338145148712917_n.jpg', query='stp=dst-jpg_e15_p150x150&_nc_ht=scontent-den4-1.cdninstagram.com&_nc_cat=1&_nc_ohc=rRuJ7u4YrqEAX-UEMFq&edm=ACHbZRIBAAAA&ccb=7-5&ig_cache_key=MzA1MjA0ODQwNzU4NzY5ODU5NA%3D%3D.2-ccb7-5&oh=00_AfC_tNEWVjJLM5RQYUiQJFHQZSmvnDtAcpzs42DRSYt1pQ&oe=6409C451&_nc_sid=4a9e64'),
 'location': {'pk': 213011753,
  'name': 'Sydney, Australia',
  'phone': '',
  'website': '',
  'category': '',
  'hours': {},
  'address': '',
  'city': '',
  'zip': None,
  'lng': 151.20797,
  'lat': -33.86751,
  'external_id':<PHONE_NUMBER>06108,
  'external_id_source': 'facebook_places'},
....
}


Fix .withParams for array parameters

A MockAnyRequest currently won't correctly match requests when the .withParams method is used with array parameters.

awesome Adam, thanks for being diligent and not just settling for any slop that works.


Add more information to the log on the current stage

We're using OpusTrainer in Firefox Translations, and I was finding some of the OpusTrainer behavior confusing. This PR adds some more logs to explain a bit more what is going on.
Example output:
[2024-09-13 15:46:33] [Trainer] [INFO] Starting stage: "train"
[2024-09-13 15:46:33] [Trainer] [INFO] Running until dataset "original" for 1 epoch(s)
[2024-09-13 15:46:33] [Trainer] [INFO] Using curriculum modifiers:
[2024-09-13 15:46:33] [Trainer] [INFO]  - UpperCaseModifier (0.07)
[2024-09-13 15:46:33] [Trainer] [INFO]  - TitleCaseModifier (0.05)
[2024-09-13 15:46:33] [Trainer] [INFO]  - TypoModifier (0.05)
[2024-09-13 15:46:33] [Trainer] [INFO]  - NoiseModifier (0.0005)
[2024-09-13 15:46:33] [Trainer] [INFO] Reading original for epoch 0
[2024-09-13 15:46:34] [Trainer] [INFO] Reading original for epoch 1
[2024-09-13 15:46:34] [Trainer] [INFO] Finished the last stage
[2024-09-13 15:46:34] [Trainer] [INFO] waiting for trainer to exit. Press ctrl-c to be more aggressive

Ah, just noticed this has a log test which fails.

Ok, the tests pass now.
➤ ./run-tests.sh
.......................................................
----------------------------------------------------------------------
Ran 55 tests in 8.557s

Thank you!


How to evaluate the dataset 'Manga109' ?

Hi, @Doreenqiuyue
This is an easy operation, you can find some matlab codes about SR in other repos whhich can prepare Manga109 benchmark

Hi, @Doreenqiuyue
This is an easy operation, you can find some matlab codes about SR in other repos whhich can prepare Manga109 benchmark

Hi, @Doreenqiuyue
This is an easy operation, you can find some matlab codes about SR in other repos whhich can prepare Manga109 benchmark
Yes，I had resolved it. Thank you!

Hi, @Doreenqiuyue
This is an easy operation, you can find some matlab codes about SR in other repos whhich can prepare Manga109 benchmark
Yes，I had resolved it. Thank you!


Information not showing up

Bro help me out.  Name ,Company ,Email ,Status, Date are not showing up. Just not this also in ticket section's information doing the same

installing mbstring solved this issue


Federico: Watch bomeitong.com

Federico requests the watch of the watch_keyword bomeitong.com. See the Metasmoke search here and the Stack Exchange search here.

Coverage remained the same at 65.927% when pulling b6477d94b4536593d833235e4154bff1f8717953 on auto-blacklist-1512978026.1165888 into 9ae4d9755a9be680077c5836204a7e0a77af9854 on master.


800 series added entry--personal name

https://github.com/uwlib-cams/MARC2RDA/blob/main/Working Documents/8XX.csv

@pennylenger Please note - before this mapping is ready for transform, there may be rows that get Rreproduction Conditions checked and need to have that information added. Let @lake44me and @dchen077 know when the mappings/transform are otherwise reviewed/approved.

@AdamSchiff A strange question: can 800/810/811 only have name portion, no title portion?

Just look at the LC documentation for 800.  Plenty of name/title examples. https://www.loc.gov/marc/bibliographic/bd800.html

No.  It is a series access field so it must have an access point for a work or expression.
Adam
Adam L. Schiff
Principal Cataloger
University of Washington Libraries
Box 352900
Seattle, WA 98195-2900
aschiff @ uw.edu

From: pennylenger @.>
Sent: Tuesday, September 24, 2024 8:32:00 AM
To: uwlib-cams/MARC2RDA @.>
Cc: Adam L Schiff @.>; Mention @.>
Subject: Re: [uwlib-cams/MARC2RDA] 800 series added entry--personal name (Issue #16)
@AdamSchiffhttps://urldefense.com/v3/__https://github.com/AdamSchiff__;!!K-Hz7m0Vt54!kG24WCOpI0v_uNdu6wCburK0vX13xHlNQxaON6SowcoZtNcQezb4aAT7QwjwjVi5gvyhbS7rel9IFw0A5mjV96E$ A strange question: can 800/810/811 only have name portion, no title portion?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/uwlib-cams/MARC2RDA/issues/16*issuecomment-2371644567__;Iw!!K-Hz7m0Vt54!kG24WCOpI0v_uNdu6wCburK0vX13xHlNQxaON6SowcoZtNcQezb4aAT7QwjwjVi5gvyhbS7rel9IFw0A3ZkjDcg$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ADFBVB7CE2YAURZJGN5NARLZYGAXBAVCNFSM6AAAAABNNITH5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZRGY2DINJWG4__;!!K-Hz7m0Vt54!kG24WCOpI0v_uNdu6wCburK0vX13xHlNQxaON6SowcoZtNcQezb4aAT7QwjwjVi5gvyhbS7rel9IFw0ASEHn2MY$.
You are receiving this because you were mentioned.Message ID: @.***>

@pennylenger, @dchen077 and I ran into a few questions while looking at the 800 mapping.

What should the LCNAF IRI value be when there is no $2 but 040 $b = eng? If this is a lookup we may not be able to do it in phase 1
Why are $b and $c not part of the authorized access point when they are for 1XX, 6XX, 7XX agents and works?
Deborah's document maps 800, 810, and 811 agents as related agents of the series work, does that need to be added to the mapping as well?

Thanks!

Hi Cypress,
1, I think the uri may be http://id.loc.gov.offcampus.lib.washington.edu/authorities/names which means it is constructed according to LCNAF.
2, All subfields should be included. I just copied this from 830. Sorry!
3, I can add this.

Thank you Penny! I think we would need to use http://id.loc.gov/authorities/names instead, which doesn't have UW's redirect in the IRI. Should we be implementing this for all agents and works that fit this criteria? In the 1XX, 6XX, 7XX as well? Maybe we can discuss this in our next meeting, it might be a better option over using a string access point instead of a nomen for all of these agents.

Yes, we can discuss in next meeting, and below are some relevant discussion about this. I hope that it is helpful.
Adam: All of them would be AAPs if in a 100 or 700.  In records where 040 $b = eng, the presumption is that the names are in the LC/NACO NAF or are formulated according to the rules in the 008 or 040 $e (generally, AACR2 or RDA).  For a German library, the assumption is also that they are AAPs but would be found in the German authority file.
I think the assumption is that what is in 1XX 0 or 7XX 0 is an authorized access point, even if there's no authority authorizing it. The 1XX and 7XX are supposed to be for controlled access points, not for any kind of access point. A variant access point should not be put in a 1XX or 7XX.
Gordon: Use AAP for the fields that Adam identified as requiring an LC heading (LCNAF/LCSH) and the source is an LC source.

If there is a series authority record, the IRI should be for that.  For example:
NAR: 100 1#  Alonge, L. J. ǂt Blacktop
URI:  http://id.loc.gov/authorities/names/no2016073110
Used in bib record: 800 1#  Alonge, L. J. ǂt Blacktop ; ǂv 1.
If there isn't a series authority record, I guess we mint a nomen for the series, combining both the author and the title.
Adam
Adam L. Schiff
Principal Cataloger
University of Washington Libraries
(206) 543-8409
@.***

From: Cypress Payne @.>
Sent: Thursday, October 24, 2024 11:38 AM
To: uwlib-cams/MARC2RDA @.>
Cc: Adam L Schiff @.>; Mention @.>
Subject: Re: [uwlib-cams/MARC2RDA] 800 series added entry--personal name (Issue #16)
@pennylengerhttps://urldefense.com/v3/__https://github.com/pennylenger__;!!K-Hz7m0Vt54!jqudOGukqiImlNm3Rwnsip-puqleBxbRvBVXIX_GUZ29F8etcevXMWgscpFdG9uAy5NYFVD3q0LjSvPlk0Heqrc$, @dchen077https://urldefense.com/v3/__https://github.com/dchen077__;!!K-Hz7m0Vt54!jqudOGukqiImlNm3Rwnsip-puqleBxbRvBVXIX_GUZ29F8etcevXMWgscpFdG9uAy5NYFVD3q0LjSvPlQDhoXdc$ and I ran into a few questions while looking at the 800 mapping.

What should the LCNAF IRI value be when there is no $2 but 040 $b = eng? If this is a lookup we may not be able to do it in phase 1
Why are $b and $c not part of the authorized access point when they are for 1XX, 6XX, 7XX agents and works?
Deborah's document maps 800, 810, and 811 agents as related agents of the series work, does that need to be added to the mapping as well?

Thanks!
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/uwlib-cams/MARC2RDA/issues/16*issuecomment-2436093022__;Iw!!K-Hz7m0Vt54!jqudOGukqiImlNm3Rwnsip-puqleBxbRvBVXIX_GUZ29F8etcevXMWgscpFdG9uAy5NYFVD3q0LjSvPl6s7zqXs$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ADFBVBYIDBNQVGAE6XXAGULZ5E5B7AVCNFSM6AAAAABNNITH5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZWGA4TGMBSGI__;!!K-Hz7m0Vt54!jqudOGukqiImlNm3Rwnsip-puqleBxbRvBVXIX_GUZ29F8etcevXMWgscpFdG9uAy5NYFVD3q0LjSvPlB0UQaHE$.
You are receiving this because you were mentioned.Message ID: @.***>

@AdamSchiff
Unless an IRI is included in the MARC field, we cannot use it; looking up the authority record is not in scope for phase 1. We can, however, do what Penny has put and provide the source of nomen for 1XX, 7XX, and 8XX where 040 $b = eng as 'http://id.loc.gov/authorities/names' and have these nomens as authorized access points.

The problem with this is that not all name or title access points used in bib records have authority records, so we will be stating that the source is the LC/NACO Authority File when in many cases it isn't.  Catalogers aren't required to do authority records for a name, they're only required to follow the descriptive cataloging standard used (mostly AACR2 or RDA for cataloging done since 1980, and for many earlier descriptions that have been upgraded to one of those standards).  So "100 0" or "100 1" doesn't mean the source of the nomen is LC Names.  It may be and it may not be.  The source might just be the cataloger who followed the rules for formulating a name access point.   And then there are gazillions of bib records from vendors and libraries that don't follow the rules and create crap access points that either aren't formed correctly and/or don't match the authorized form already established in the LC Names file.
This is a conundrum.
Adam
Adam L. Schiff
Principal Cataloger
University of Washington Libraries
(206) 543-8409
@.***

From: Cypress Payne @.>
Sent: Friday, October 25, 2024 3:25 PM
To: uwlib-cams/MARC2RDA @.>
Cc: Adam L Schiff @.>; Mention @.>
Subject: Re: [uwlib-cams/MARC2RDA] 800 series added entry--personal name (Issue #16)
@AdamSchiffhttps://urldefense.com/v3/__https://github.com/AdamSchiff__;!!K-Hz7m0Vt54!n3s36xrly-TFmQxK2L_r7jlbtwy9fkvEvKwcxvoVnijk4FUP8t6Dih1bUv0BAl4dFVVoLjCIxSFIULvK2PdVwFQ$
Unless an IRI is included in the MARC field, we cannot use it; looking up the authority record is not in scope for phase 1. We can, however, do what Penny has put and provide the source of nomen for 1XX, 7XX, and 8XX where 040 $b = eng as 'http://id.loc.gov/authorities/nameshttps://urldefense.com/v3/__http://id.loc.gov/authorities/names__;!!K-Hz7m0Vt54!n3s36xrly-TFmQxK2L_r7jlbtwy9fkvEvKwcxvoVnijk4FUP8t6Dih1bUv0BAl4dFVVoLjCIxSFIULvKiTnXZTk$' and have these nomens as authorized access points.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/uwlib-cams/MARC2RDA/issues/16*issuecomment-2438963326__;Iw!!K-Hz7m0Vt54!n3s36xrly-TFmQxK2L_r7jlbtwy9fkvEvKwcxvoVnijk4FUP8t6Dih1bUv0BAl4dFVVoLjCIxSFIULvKnImjNKM$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ADFBVB2Q7A4BADG74JWA64TZ5LANZAVCNFSM6AAAAABNNITH5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZYHE3DGMZSGY__;!!K-Hz7m0Vt54!n3s36xrly-TFmQxK2L_r7jlbtwy9fkvEvKwcxvoVnijk4FUP8t6Dih1bUv0BAl4dFVVoLjCIxSFIULvKY1i70Qo$.
You are receiving this because you were mentioned.

I think this is why we previously decided that if there is no source in $2 then we cannot say that the name or title is an authorized access point and instead of minting a nomen we use an access point datatype property with a string value. This is what is currently implemented in the 1XX and 7XX fields.

@AdamSchiff @GordonDunsire If it is unsafe and we decide that, even if for headings supposed to be constructed according to LCNAF (no $2 and 040 $e is eng), we do not use AAP for these headings, I can update  these mappings by using an AP datatype property with a string value.

I'm somewhat confused.  I think what is in 800 is intended to be an AAP for the series.  It may have an authority record for the series, or it may not, but it's supposed to be the AAP for the series.  If there's no authority, it's still supposed to be formulated according to RDA instructions for work (series in this case) authorized access points.
Adam
Adam L. Schiff
Principal Cataloger
University of Washington Libraries
(206) 543-8409
@.***

From: pennylenger @.>
Sent: Monday, October 28, 2024 10:29 AM
To: uwlib-cams/MARC2RDA @.>
Cc: Adam L Schiff @.>; Mention @.>
Subject: Re: [uwlib-cams/MARC2RDA] 800 series added entry--personal name (Issue #16)
@AdamSchiffhttps://urldefense.com/v3/__https://github.com/AdamSchiff__;!!K-Hz7m0Vt54!kmLuduCa5HmTN7GJJhnBWK5iwrsIpHmlYQ91_JDJtKuwTMq0iUHJZcOOUpOm6AZtDuzDM-gvKjLEPvimQI_XzK8$ @GordonDunsirehttps://urldefense.com/v3/__https://github.com/GordonDunsire__;!!K-Hz7m0Vt54!kmLuduCa5HmTN7GJJhnBWK5iwrsIpHmlYQ91_JDJtKuwTMq0iUHJZcOOUpOm6AZtDuzDM-gvKjLEPvim_X_F7R0$ If it is unsafe and we decide that, even if for headings supposed to be constructed according to LCNAF (no $2 and 040 $e is eng), we do not use AAP for these headings, I can update these mappings by using an AP datatype property with a string value.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/uwlib-cams/MARC2RDA/issues/16*issuecomment-2442204319__;Iw!!K-Hz7m0Vt54!kmLuduCa5HmTN7GJJhnBWK5iwrsIpHmlYQ91_JDJtKuwTMq0iUHJZcOOUpOm6AZtDuzDM-gvKjLEPvim-HkDeZ4$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ADFBVB3VTLZSJY2NRSVBXM3Z5ZX7DAVCNFSM6AAAAABNNITH5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBSGIYDIMZRHE__;!!K-Hz7m0Vt54!kmLuduCa5HmTN7GJJhnBWK5iwrsIpHmlYQ91_JDJtKuwTMq0iUHJZcOOUpOm6AZtDuzDM-gvKjLEPvim21RKyIA$.
You are receiving this because you were mentioned.Message ID: @.***>

Based on our previous decision, which we confirmed in yesterday's meeting (2024-10-30), we will not check that 040 $e is eng. We will use an authorized access point when a $0 (approved), $1, or $2 is present, and otherwise will use an access point.
If a $0 or $1 IRI is used as the agent IRI, we will not mint a nomen for the authorized access point because the source is already provided by the IRI. We will instead use a datatype property for authorized access point and a string value.
@pennylenger can you confirm that this sounds correct?

Yes, we will not check  040 $e eng for LCNAF. If there is no source, the heading is attached as datatype AP.
But I thought the source was from $2. I am confused by the source in $0 and $1. For example: (previously)
100 1# $a Riera, Jose Joaquin, $d 1969- $1 https://orcid.org/0000-0002-8405-8386
https://orcid.org/0000-0002-8405-8386 rdaad:P50411 <transform/nomen/blah> . // has authorized access point for person
<transform/nomen/blah> rdand:P80068 "Riera, Jose Joaquin, 1969-" . // has nomen string
<transform/nomen/blah> rdano:P80069 <IRI for LCNAF . // has scheme of nomen
Now, it should be AP and no nomen if there is no $2, but it has $1. But from $1, we know the source of the IRI is ORCID, not that the heading is constructed according to LCNAF. So the source we can get from $1 is not the source of the heading.

hmm I think you are right. But if we are able to get $0's and $1's from id.loc.gov in the input before running the transform, then we could confirm that it is an authorized access point from LCNAF. So maybe we only use aap for $2, or for $0 or $1 that is from id.loc.gov, while other $0 and $1 use a datatype ap?
@CECSpecialistI @GordonDunsire @AdamSchiff @tmqdeborah do you have any thoughts on this?

Transfoming 'source' data: The scope note for Nomen: has scheme of nomen is 'The scheme can be a value or vocabulary encoding scheme or a string encoding scheme.' This allows LCNAF to be recorded as the scheme if the nomen string is constructed with the same rules as entries which have been included in the scheme. That is, if we assume which scheme is being used, or the scheme is recorded explicitly, we do not have to check to see if the nomen string is in the scheme.
In general, if we are uncertain about the 'authorization' of the value of a nomen/nomen string, we should use AP rather than AAP when transforming headings.
No source is specified in the ORCID example, but if subfield $1 has an approved dataset base domain (i.e. 'https://orcid.org/') then the source is known.
We assume that the source indicates the scheme used to construct the nomen string, so we don't mint a nomen to record a 'likely' scheme. It is sufficient to record the heading as a string (datatype) value of an AP/AAP. I don't think we know if ORCID entries are consolidated, in the sense that it is likely that the heading is authorized in ORCID, so we should use AP, not AAP.


How to set different learning rate for different groups of parameters in fine-tuning?

Can grouped learning rates be passed to swift in CLI in fine-tuning of LLMs?
If it is not supported yet, how to modify the codes to use grouped learning rates?
Thanks for your kindness help.
Best wishes.

Can somebody help me?

Sorry for replying late...
https://github.com/modelscope/ms-swift/blob/main/swift/trainers/mixin.py#L660
modify the code here.
And we will do a big refactor to provide the plugin ability


Fix bulk metadata generator in production

The AssertionError can only be raised in debug mode. On product server,
the assert is skipped and a KeyError is raised instead.

:+1:


GHA: Fix condition for duplicate checks post-merge

Despite #644, duplicate checks are still being triggered post-merge. The following condition seemed intuitive:

github.event_name != 'push' || github.event.pull_request.merged == false

But it turns out that pull_request.merged is still false on merge, which allows the job to proceed.
(see https://github.com/BbolroC/cc-guest-components/actions/runs/10215060610/workflow)
This commit focuses solely on github.event_name != 'push', which is true on merge.
(see https://github.com/BbolroC/cc-guest-components/actions/runs/10215137827/workflow)
Signed-off-by: Hyounggyu Choi<EMAIL_ADDRESS>

Let’s see if anyone opposes this after the intended CI behavior occurs. Thanks!


Use xarray, e.g. for extracted acoustic parameters

Thought about this before but got distracted by other things.
As suggested by CAM-Gerlach in the pyOpenSci slack.

Reminder it might be worth looking at https://github.com/janclemenslab/xarray-behave for lessons learned etc too

Done in #85


CNDE-1602: Hot fix for sql script

Notes
Name and minor fix for nrt_investigation modifying script.
JIRA

Related story: CNDE-1602

Checklist

[ ] PR focuses on a single story.
[ ] New unit tests added and ensured they pass.
[ ] Service has been tested in local and it works as expected.
[ ] Documentation has been updated for this code change (if needed).
[ ] Code follows the Java Coding Conventions (https://www.oracle.com/java/technologies/javase/codeconventions-programmingpractices.html).

Types of changes
What types of changes does this PR introduces?

[x] Bugfix
[ ] New feature
[ ] Breaking change

Testing

[ ] Does this PR has >90% code coverage?
[ ] Is the screenshot attached for code coverage?
[x] Does the gradle build pass in your local?
[ ] Is the gradle build logs attached?

thanks, this makes sense.


DEX-667: SiteSetting for Relationship (types/roles)

Pull Request Overview

Includes SiteSetting relationship_type_roles in the site-wide configuration setup bundle
Allows setting of above SiteSetting to establish type and role values for Relationships

SiteSetting content example:
{
    "type A": [
        "roleA1",
        "roleA2"
    ],
    "type B": [
        "roleB1",
        "roleB2",
        "roleB3"
    ]
}

Does this store the roles in Houston or EDM, it seems to be the latter. Surely anything we add new should be in Houston not EDM.

/rebase

Does this store the roles in Houston or EDM, it seems to be the latter. Surely anything we add new should be in Houston not EDM.

as discussed in slack, its actually stored in SiteSettings but that is all a mess.   :)


Getting IFSC Code from Bank Name and Branch

I am using this package for Nodejs. I would like to have a reverse feature of what we are doing now.
You choose

Bank Name
State
District
Branch

Then we get the output as IFSC code of the matching branch of the bank.
Is that in your to-do list?

I am using this package for Nodejs. I would like to have a reverse feature of what we are doing now.
You choose

Bank Name
State
District
Branch

Then we get the output as IFSC code of the matching branch of the bank.
Is that in your to-do list?

Do you find solution ?

@akashsguptag  No. I found a similar issue opened in another repo by Razorpay. ifsc-api #41 To avoid redundancy, closed this.


Lb services linked to external services is not functional.

Rancher Version: Build from master
Steps to reproduce the problem:
Create an External Service.
Create a LB service with target as this external service.
LB ip address is not reachable.
There is no front end/ backend entries are programmed in haproxy configuration.
 Steps taken:

created AND activated external service
created and activated the LB service with the external service as a target.

Haproxy config got all the changes.

Tested with v1.2.0-pre4-rc2.
Lb services linked to external services works as expected.


Add tests with pytest and Travis CI integration

Add tests with pytest.
Add Travis CI integration, so the tests will run with every new PR received.

Note that for now only buying with Binance is tested. We still need tests for selling with Binance and buying/selling with crypto

Fantastic!

Moooooar!

Fantastic!

Moooooar!


Add CI code style and run unit test on GA

We should add CI on GA about check our code style and run unit test.
I thinks maybe we should use tox as CI wrapper to run all think
, and about code style:

use black to check and auto fix
use flake8 to check code and docstring
use isort about import auto sort

, about unit test

use pytest to run tests
show test coverage about this repo
show current GA workflow status in readme

already fix


Update docker version to latest

Hi, I am running Elementary OS (Freya) and I want to install the latest docker version. Installing docker using sudo apt-get -y install docker.io will only install Docker version 1.0.1 and I need the latest version to run docker exec on my container.

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

Description of problem:
I need to update my docker version to the latest one on Elementary OS to run docker exec
docker version: Docker version 1.0.1, build 990021a
docker info:
Containers: 2
Images: 96
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Dirs: 100
Execution Driver: native-0.2
Kernel Version: 3.16.0-37-generic
WARNING: No swap limit support
uname -a:
Linux drachma 3.16.0-37-generic #51~14.04.1-Ubuntu SMP Wed May 6 15:23:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Environment details (AWS, VirtualBox, physical, etc.):
Physical
Steps to Reproduce:

Install docker using sudo apt-get install docker.io -y
Pull an ubuntu image
Run Container using docker run -itd --name test ubuntu
Execute Container docker exec -it test bash

Actual Results:
Error: Command not found: exec
Error: Command not found: -it
Expected Results:
Can execute bash for the container
Additional info:
lsb_release -a yields:
LSB Version:	core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID:	elementary OS
Description:	elementary OS Freya
Release:	0.3
Codename:	freya

Have you installed http://www.ubuntuupdates.org/package/docker/docker/main/base/lxc-docker ?

@PikachuEXE Oh, it worked. Thanks. I can't seem to find it on the installation guide.


Feature filecopy

ADD COPYFILE AND COPYDIR

Codecov Report

Merging #232 into master will decrease coverage by 0.08%.
The diff coverage is 43.85%.

@@            Coverage Diff             @@
##           master     #232      +/-   ##
==========================================
- Coverage    76.3%   76.22%   -0.09%
==========================================
  Files         207      207
  Lines       17720    17777      +57
==========================================
+ Hits        13522    13550      +28
- Misses       3549     3563      +14
- Partials      649      664      +15

Impacted Files
Coverage Δ

g/os/gfile/gfile.go
67.04% <43.85%> (-6.39%)
:arrow_down:

g/container/gtree/gtree_btree.go
91.87% <0%> (-0.68%)
:arrow_down:

g/os/gmutex/gmutex.go
100% <0%> (+3.48%)
:arrow_up:

g/os/gspath/gspath_cache.go
93.18% <0%> (+6.81%)
:arrow_up:

Continue to review full report at Codecov.

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


What about other libraries beside node redis

Such as ioredis?
What about sentinel? Redis cluster?

I was waiting on the NodeRedis foundation project to be complete since both projects are merging. I am currently not using sentinel or redis clusters in my environments.


bug: rebase instructions don't include aurora

Describe the bug
The changelogs.py say $IMAGE_NAME

What did you expect to happen?
i expect it to just say aurora
Output of bootc status

Output of groups

Extra information or context
No response

I believe changing $IMAGE_NAME to just aurora here wouldn't be completely correct. The image's name can be one of many variants depending on the currently booted system: aurora, aurora-dx, aurora-nvidia, aurora-dx-nvidia, etc.
I don't think we want to give users instructions to rebase to a different image name in these notes, just a different tag.

AFAIK the changelogs are only for stable, so the tag would be the same. Maybe we can add a sentence above the rebase instructions saying what the image types are ( -dx, -nvidia) etc.


Support 3 levels of nesting in left nav

Only 2 levels of nesting are currently supported.  You can test this by moving the "PxL Reference" section under "Reference".

@zasgar @aimichelle - this issue can be closed.


[WIP] debug_traceTransaction endpoint implementation

Replaces: https://github.com/ethereum/py-evm/pull/1515 , removing all of the trinity components which will be added in a separate PR to the trinity repo once this is merged and released.
What was wrong?
https://github.com/ethereum/go-ethereum/wiki/Tracing:-Introduction
Adds support for tracing EVM transactions.
How was it fixed?
This adds a new API that can be used to trace transactions by supplying a tracer to VM.apply_transaction
Cute Animal Picture

Are there any plans to continue the work on tracing?


context: add APIs for setting a cancelation cause when deadline or timer expires

This is a follow on to proposal #51365 to add WithDeadlineCause and WithTimeoutCause to the context package. These functions enable the user to arrange a cancelation cause to be set when a deadline or timer expires. This is not possible to do efficiently with the APIs introduced in https://go-review.git.corp.google.com/c/go/+/375977.
The proposed API additions are:
// WithDeadlineCause behaves like WithDeadline but also sets the cause of the
// returned Context when the deadline is exceeded. The returned CancelFunc does
// not set the cause.
func WithDeadlineCause(parent Context, d time.Time, cause error) (Context, CancelFunc)

// WithTimeoutCause behaves like WithTimeout but also sets the cause of the
// returned Context when the timout expires. The returned CancelFunc does
// not set the cause.
func WithTimeoutCause(parent Context, timeout time.Duration, cause error) (Context, CancelFunc)

Example:
tooSlow := fmt.Errorf("too slow!")
ctx, cancel := context.WithTimeoutCause(context.Background(), 1*time.Second, tooSlow)
time.Sleep(2*time.Second) // timer fires, setting the cause
cancel() // no effect as ctx has already been canceled
// ctx.Err() == context.DeadlineExceeded && Cause(ctx) == tooSlow

The cause passed to these functions is set only when the deadline or timer expires. The common case is that the context is canceled before that happens via the returned CancelFunc. In this case, the cause will be context.Canceled:
tooSlow := fmt.Errorf("too slow!")
ctx, cancel := context.WithTimeoutCause(context.Background(), 1*time.Second, tooSlow)
time.Sleep(500*time.Millisecond) // timer hasn't expired yet
cancel() // cancels the timer and sets ctx.Err()
// ctx.Err() == Cause(ctx) == context.Canceled

If users need to set the cause on both the timer and cancel() paths, they can stack contexts:
Example where the timer fires first:
finishedEarly := fmt.Errorf("finished early")
tooSlow := fmt.Errorf("too slow!")
ctx, cancel := context.WithCancelCause(context.Background())
ctx, _ = context.WithTimeoutCause(ctx, 1*time.Second, tooSlow)
time.Sleep(2*time.Second) // timer fires, setting the cause
cancel(finishedEarly) // no effect as ctx has already been canceled
// ctx.Err() == context.DeadlineExceeded && Cause(ctx) == tooSlow

Example where cancel happens first:
finishedEarly := fmt.Errorf("finished early")
tooSlow := fmt.Errorf("too slow!")
ctx, cancel := context.WithCancelCause(context.Background())
ctx, _ = context.WithTimeoutCause(ctx, 1*time.Second, tooSlow)
time.Sleep(500*time.Millisecond) // timer hasn't expired yet
cancel(finishedEarly) // cancels the timer and sets ctx.Err()
// ctx.Err() == context.Canceled && Cause(ctx) == finishedEarly

@ChrisHines

This proposal has been added to the active column of the proposals project
and will now be reviewed at the weekly proposal review meetings.
— rsc for the proposal review group

https://go.dev/cl/449318 implements this proposal. The test exercises all the behaviors documented above.

@ChrisHines, you had been vocal about these on https://github.com/golang/go/issues/51365#issuecomment-1197223268. Do you still think we should do them?
I think these are probably right but I'm less sure than about #51365, so I think it would make sense to wait for Go 1.21 rather than push them through in the last days of this release. We'll have more time to fine-tune that way.

To clarify, I can see the use of these, but personally I think there is a lot of clumsiness to both these and #51365. Much of that clumsiness is due to the need for backwards compatibility, so we are in a tight spot here.
I was vocal about these in #51365 mostly because I wanted to understand how to use them properly and because it seemed we didn't properly follow through with the discussion of their ergonomics and I didn't want to see that slip through the cracks. It was said that we could omit them from the stdlib because it would be easy to implement them on top of the base WithCancelCause feature. That seemed wrong to me and it seems @Sajmani agrees with based on implementation experience.
I have encountered the problem of seeing a deadline exceeded message in logs and wished there was a way to back track to the specific deadline in real code, though, so from that point of view some way to solve that problem would be nice. I'm not 100% sure this is the best way to do it, but I haven't invested time to explore alternatives either.

Does anyone object to this proposal?

Based on the discussion above, this proposal seems like a likely accept.
— rsc for the proposal review group

No change in consensus, so accepted. 🎉
This issue now tracks the work of implementing the proposal.
— rsc for the proposal review group

Probably too late here - missed the notifications, but it's a pity that it's not possible to specify the cause at the cancellation time. This is a case that I have frequently wanted. This would allow signalling back to logs/handlers more fine grained reasons for cancellation (I don't see it being useful for deadlines).


Vickel: Watch hfjensen.com

Vickel requests the watch of the watch_keyword hfjensen\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

hfjensen\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.


Unable to "Debug" for types that are backed by an array >32bytes

Having a structure which is backed by an array of bytes that is greater than 32 bytes fails:
error[E0277]: arrays only have std trait implementations for lengths 0..=32
  --> examples/simple.rs:70:38
   |
70 |     log::info!("Calibration: {:#?}", cal);
   |                                      ^^^ the trait `core::array::LengthAtMost32` is not implemented for `[u8; 41]`
   |
   = note: required because of the requirements on the impl of `core::convert::AsRef<[u8]>` for `[u8; 41]`
   = note: required because of the requirements on the impl of `core::fmt::Debug` for `drogue_bme680::Coefficients<[u8; 41]>`
   = note: required by `core::fmt::Debug::fmt`
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.

I think there should be a way to prevent the automatic Debug generation to debug self.0, which should do the trick.

Testing quickly locally, it's seems to works. Could you share the definitions of drogue_bme680::Coefficients and the call to bitfield!?
No Debug implementation is generated by default. You need to add impl Debug (like  https://github.com/dzamlo/rust-bitfield/blob/d7d9d3b2cfac226ab5d29d9d6a641caff7dbdf8b/tests/lib.rs#L598 for exemple)

Yes, that is true. But did you try to actually print it?
Here is a simple reproducer:
use bitfield::bitfield;

bitfield! {
    pub struct Test([u8]);
    impl Debug;
}

fn main() {
    let buffer = [0u8;41];
    let test = Test(buffer);
    println!("{:?}", test);
}

This works on the  nightly and beta toolchains, but not on stable. The current beta will become stable next week if I can count weeks correctly.
I will not implement support for not including .0 in the Debug  implementation but I will gladly accept a merge request if you think this is really useful.

If this works next week, that would be fine for me. I would prefer solving a problem by waiting a few days :grin:

What would it take to support defmt::Format so this can be used in an embedded context?
https://docs.rs/defmt/latest/defmt/trait.Format.html
Or maybe I'm using it wrong?


How to get stargazer count for each repository?

How to get the stargazer count for each repository?

Some projects loop through the list of repositories and gather the stargazer count:

Kludex/awesome-pydantic: A curated list of awesome things related to Pydantic! 🌪 - The author has some similar awesome projects, recommend checking them.
best-of-lists/best-of: 🏆 Discover best-of lists with awesome open-source projects on all kinds of topics.
adamghill/unsuckjs.com: Progressively enhance HTML with lightweight JavaScript libraries. - This project has a great table, it also extracts issue counts, last commit date, etc.

awesome-stargazers · Actions · GitHub Marketplace

Some projects loop through the list of repositories and gather the stargazer count:

best-of-lists/best-of
adamghill/unsuckjs.com - This project has a great table, it also extracts issue counts, last commit date, etc.

Some GitHub actions:

awesome-stargazers · Actions · GitHub Marketplace
Kludex/awesome-pydantic: We are able to use the awesome action in this repository: Kludex/awesome-pydantic#63


NullShapeError not a CPMpy exception

Is it wanted that the NullShapeError (variables.py) inherits from Exception and is located within the variables.py file?
Instead of inheriting from CPMpyException and being in the exceptions.py, with other exceptions

I'm pretty sure this stems from before we had our own exceptions.
It would indeed be best to refactor the class to subclass our exceptions and put it in the correct file as well.

Ok. I also found the use of some generic exceptions and NotImplementedExceptions within the gurobi.py file. I'm assuming we can also refactor them to be CPMpy errors

Hmm, I'm not sure we want to replace all exceptions with CPMpy exceptions, if there are python-native exceptions which cover the usecase, I think its fine to use those.
We also raise ValueErrors throughout the codebase, which are non-CPMpy exceptions either.
However, we should definitely make this more consistent where to raise what exception.
Took a brief look at the gurobi file, we mix NotImplementedError and just Exception in the __add__ function, so it would be good if we streamline this somewhat.

What would help would be to add documentation to the exceptions file, and put the 'rules' on what exceptions to use there within the spec.


Release Google.Maps.Routing.V2 version 1.0.0-beta04

Changes in this release:
Documentation improvements

Update documentation for RoutingPreference to better describe behaviors (commit 991aeac)
Update comment for Waypoint.side_of_road to accurately describe functionality (commit 0ec23a7)

Created release for Google.Maps.Routing.V2-1.0.0-beta04