rustup toolchain install isn’t doing anything

I’m attempting to update my bitwarden_rs AUR package using rustup from Arch Linux’s repositories. It’s failing to install the toolchain it wants.
$ rustup --version
rustup 1.20.0 (2019-10-15)

$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/chris/.rustup

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.40.0-nightly (421bd77f4 2019-10-06)

$ rustup toolchain install nightly-2019-08-27
info: syncing channel updates for 'nightly-2019-08-27-x86_64-unknown-linux-gnu'
info: latest update on 2019-08-27, rust version 1.39.0-nightly (9b91b9c10 2019-08-26)

  nightly-2019-08-27-x86_64-unknown-linux-gnu unchanged - (toolchain not installed)

(Last time I know it worked, rustup 1.19 was the current version.)
Interacting more directly with the bitwarden_rs directory:
$ cat rust-toolchain
nightly-2019-08-27

$ cargo build
info: syncing channel updates for 'nightly-2019-08-27-x86_64-unknown-linux-gnu'
info: latest update on 2019-08-27, rust version 1.39.0-nightly (9b91b9c10 2019-08-26)
error: toolchain 'nightly-2019-08-27-x86_64-unknown-linux-gnu' is not installed
error: backtrace:
error: stack backtrace:
   0: <unknown> (0x558eb724dd2f)
   1: <unknown> (0x558eb70c795e)
   2: <unknown> (0x558eb6fa5693)
   3: <unknown> (0x558eb6fa1e76)
   4: <unknown> (0x558eb6f4c843)
   5: <unknown> (0x558eb6fa71de)
   6: __libc_start_main (0x7f567ad13153)
   7: <unknown> (0x558eb6f4b10e)
   8: <unknown> (0x0)

This is a bug in 1.20.0 when installed via distro packages.  1.20.1 was released this morning, so as soon as AUR updates (can you make that happen?) things should be resolved.  Until then, if you explicitly do rustup set profile default it should work for you.

Thanks, sounds good.
rustup is actually in the community repository on Arch Linux, not AUR. @svenstaro is the packager.

Ok, building now.


Needle parses in streams mode

Needle still parses JSON and XML data, even when no callback is provided. This causes the stream to be in object mode.
Is this expected behavior? In my mind, parsing should happen in streams mode. (But obviously this can trivially be disabled by passing in parsed: false)

var stream = needle.request('post', url, {}, {
	decode: false,
	parse: false
});

stream.pipe(response);

stream.on('end', function () {
      // Never be fired without `parse: false`
});

Please pay attention to this point in the documentation!

@monolithed Is that so? What URL are you testing with?

@tomas, public url like https://e.mail.ru

@monolithed Can you share a full code example? I don't know where the response object you show comes from.

@tomas,
app.use(express.cookieParser());

app.use(function (request, response, next) {
    get_cookies(function () {
          request.cookies = result.cookies;
          next();
   });
});

app.use('/api', function (request, response, next) {
	var url = 'https://e.mail.ru/api' + request.url;

	var stream = needle.request(request.method, url, request.body, {
		cookies: request.cookies,
		parse  : false
	});

	stream.pipe(response);
});

Could not close connection without parse: false. It seems very strange...

Ok, gonna test it now. Which needle version are you running?

I just tested and running the latest Needle (from git, not npm) I do get the 'end' event emitted. This might have to do with a few recent changes related to the Connection header.
I haven't pushed a new version to NPM because I need to update the documentation first. However you can safely run the latest version of git since all new major changes have been thoroughly covered with tests.

0.11.0, thanks


Fixes tailwind config issue causing build failure in node23

Fixes https://github.com/Homebrew/homebrew-core/pull/195821#issuecomment-2442152628

Thanks, testing it in

https://github.com/Homebrew/homebrew-core/pull/195866


Unbork the plotting code

Heh, what was that about CI and making sure the notebook runs from top to bottom before pushing? 🙄


Fix add regions bank account on mWeb

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/38069
PROPOSAL: https://github.com/Expensify/App/issues/38069#issuecomment-1989615167
Tests

[X] Verify that no errors appear in the JS console

pre-requisite: user must be logged in and must have created a Workspace.

Go to Workspace > Bank account.
Select Connect online with Plaid.
Select Regions bank and use the testing credentials and finalize the connection.
Verify that the connect bank account page is not shown again.

Offline tests

pre-requisite: user must be logged in and must have created a Workspace.

Go to Workspace > Bank account.
Select Connect online with Plaid.
Select Regions bank and use the testing credentials and finalize the connection.
Verify that the connect bank account page is not shown again.

QA Steps

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes

[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)

[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/59809993/cd603fb8-c7fb-4c8d-87b3-e82035086bc4

Android: mWeb Chrome
https://github.com/Expensify/App/assets/59809993/a94a3d5d-4cd4-47fe-b8e0-892d843d09bc

iOS: Native

https://github.com/Expensify/App/assets/59809993/0e68b692-f2e8-4eb3-a35f-bde469c0312e

iOS: mWeb Safari
https://github.com/Expensify/App/assets/59809993/7681be38-47a0-4518-8f8e-d2c20f17186a

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/59809993/4c6d600a-3e09-4bc7-b048-dabb61763491

MacOS: Desktop

https://github.com/Expensify/App/assets/59809993/6758d04c-5b28-430a-865b-bf9df36695d8

@abzokhattab TS checks are failing

@shubham1206agra are you able to continue your review in the next few minutes? This is the only issue blocking the deploy now.

Closing this PR since it didn't fix the issue.


add a parameter for number of shard in batch ingestion

some druid batch index job failed because one reducer can't take all the data and runs out of memory
@mistercrunch @krishnap

:+1:


rootNav is not a function

From @astopo on March 9, 2016 18:19
Short description of the problem:
NavController documentation is confusing. Trying to call this.nav.rootNav() on NavController instance throws an error.
Uncaught EXCEPTION: Error during evaluation of "click"
ORIGINAL EXCEPTION: TypeError: this.nav.rootNav is not a function
ORIGINAL STACKTRACE:
TypeError: this.nav.rootNav is not a function

What behavior are you expecting?
Expecting rootNav() to be a function. It is actually a property.
Steps to reproduce:

Create a root page, and a tabs page.
In a tab page of the tabs, inject NavController.
Try to call rootNav() on the NavController instance of the tab page.

export class DashboardPage {
	static get parameters() {
    return [[NavController]];
  }

  constructor(nav) {
    this.nav = nav;
  }

  submitLogout() {
     // Trying to get rootNav here to get out of TabsPage and go to root nav page.
      this.nav.rootNav();
  }
}

Got it to work with:
export class DashboardPage {
	static get parameters() {
    return [[NavController]];
  }

  constructor(nav) {
    this.nav = nav;
  }

  submitLogout() {
      this.nav.rootNav.push(LoginPage);
  }
}

Ionic Version: 2.0.0-2beta
Browser & Operating System: Chrome
Copied from original issue: driftyco/ionic#5783

Yeah you're absolutely right. We need to fix up our docs generation to handle this. Thanks

curious on how we should document this. Should this be documented as a method and just provide an example? Curious if you had any inputs on this @astopo?

Is there a way to not document it as a method and document it as a property instead? I think a method may be misleading

@astopo agreed, it should be documented as a property and not a method.
@mhartington Can dgeni be updated so it basically doesn't put the () at the end of the property?

For sure, it's something we're looking into.
I think a good option, for any getter that we could have, is to create a new process for them so we can automate it.

I went with adam's approach, renaming everything to be "Members" instead of methods, and differentiating between methods and properties by the presence of ().


Wholerow does not work with dnd

Try dragging a row or dropping on a row outside of the text element. It doesn't work.

Use the latest code from repository and the dnd.large_drop_target option. Here is a demo:
http://jsfiddle.net/DGAF4/340/
Best regards,
Ivan

Thanks, this works for dropping, but not for dragging.

Thanks for the pointer, I will add a setting for that too.


DATA_RATE_KIBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.KIBIBYTES_PER_SECOND instead

Logger: homeassistant.const
Source: custom_components/xiaomi_miot/switch.py:5
Integration: Xiaomi Miot Auto ([documentation](https://github.com/al-one/hass-xiaomi-miot), [issues](https://github.com/al-one/hass-xiaomi-miot/issues))
First occurred: 19:42:28 (136 occurrences)
Last logged: 19:42:28

DATA_RATE_KIBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.KIBIBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
DATA_RATE_MEBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.MEBIBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
DATA_RATE_GIBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.GIBIBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
ENTITY_CATEGORY_CONFIG was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use EntityCategory.CONFIG instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
ENTITY_CATEGORY_DIAGNOSTIC was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use EntityCategory.DIAGNOSTIC instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues

The following consts also need updating:
Logger: homeassistant.components.alarm_control_panel.const
Source: helpers/deprecation.py:205
Integration: Alarm control panel (documentation, issues)
First occurred: 08:43:39 (8 occurrences)
Last logged: 08:43:39

SUPPORT_ALARM_ARM_AWAY was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_AWAY instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
SUPPORT_ALARM_ARM_NIGHT was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_NIGHT instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
SUPPORT_ALARM_TRIGGER was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.TRIGGER instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
SUPPORT_ALARM_ARM_CUSTOM_BYPASS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_CUSTOM_BYPASS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
SUPPORT_ALARM_ARM_VACATION was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_VACATION instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues

Missed in #1483

Same for:
SUPPORT_TARGET_HUMIDITY was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_HUMIDITY instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues

SUPPORT_FAN_MODE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues

SUPPORT_PRESET_MODE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues

SUPPORT_SWING_MODE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues

SUPPORT_AUX_HEAT was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.AUX_HEAT instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues

Should be fixed by #1485, which is not released yet.


Fixed Incorrect Highlighting With Overlapping Alert Words.

Fixes #28415
This Pull Request addresses fixing an issue with the highlighting of alerted words.
Description:
The problem was that when a message contained a phrase that was part of our alerted words list (for example, 'natural fiber'), If we already have 'natural' as an alerted word, only the first word ('natural') was being highlighted and not ('natural fiber'). This was due to the way the existing code was handling the replace function inside a for loop.
Solution:
To fix this issue, I have made a small but significant change to the process_message function. Now I added a sort function that sorts the my_alert_words array in descending order based on the length of the words/phrases before the for loop. This ensures that longer phrases like 'natural fiber' are replaced before shorter ones like 'natural'
Screenshots:
Before:

Alerted Words = [very illustrious, natural fiber, illustrious, two words, natural]
After:

@Danieldotcomcoder Please clean up the commits following the guidelines at https://zulip.readthedocs.io/en/latest/contributing/commit-discipline.html

@alya Could you please review this PR?

@Danieldotcomcoder The commit guidelines have still not been followed. Please squash both into 1 and name the resulting commit according to the suggestions linked above. Read them carefully and only ping a maintainer for review once you have addressed this feedback

@Danieldotcomcoder This is better but these guidelines have still not been followed

@N-Shar-ma , Could you please tell me if it is ready for review?

@Danieldotcomcoder You still need to change the comma after "Fixes #28415" into a period, and make the rest of the commit message a new paragraph.

@N-Shar-ma , Okay Done

@N-Shar-ma , Is it ready for review?

Yes @Danieldotcomcoder

@Danieldotcomcoder note that what @N-Shar-ma is doing here is reviewing your work. ;)

@N-Shar-ma  are you up for doing the first round of review and manual testing here as well, either now, or after a test has been added?

@Danieldotcomcoder are you still working on this? @N-Shar-ma it might make sense for you to just do a PR completing this if @Danieldotcomcoder doesn't reply in the next couple days, since it seems close to completion and would be nice to check off.

@timabbott @N-Shar-ma Can you please help with approval on my PR ?
I have made the required changes.


Authorize with promise doesn't work

Hi @StasDoskalenko, thanks for supporting this library! I've found it really helpful in my project.
Unfortunately, the current version of the authorize function is not consistent (sometimes it returns promise, sometimes object) and loses the promise (for me .then was never called after the successful authorization.
The fastest workaround I've found is something with callbacks, like the following snippet (I just modified the existent code):
authorize = async (onSuccess, onError) => {
    const successResponse = { success: true };

    try {
      await this.checkIsAuthorized();
      if (this.isAuthorized) {
        onSuccess(successResponse);
      }

      this.onAuthorize(() => {
        this.isAuthorized = true;
        onSuccess(successResponse);
      });
      this.onAuthorizeFailure(error => {
        this.isAuthorized = false;
        onError({ success: false, error });
      });

      googleFit.authorize();
    } catch (err) {
      return onError({ success: false });
    }
  };

which works and the callback is called after the successfull authorization.
Also, I'd love to contribute to the project now, because there are some features that I want to use in my project that's not currently exist here. A few of them:

Dynamic Permissions (users will be afraid that we ask blood pressure if we don't need it).
Ability to save workouts (I've seen that there's is a PR open that requires some additional work).

So could you please let me know if you're working on any of this tasks so we wouldn't do the same work twice :)

@gaykov thank you for the support! yeah I'll double check this function

@gaykov hey! I've fixed it. Now it works as expected. Also I've added an example app

@StasDoskalenko tested it and can confirm that it works, thanks!


Shouldn't sentence case lead with an uppercase letter?

I.e:

changeCase.sentence('whaleShark') // -> 'Whale shark'

This isn't particularly significant for what I'm doing (generating a friendly name for a model type to use in an error message), but I was curious to know whether my suspicion is correct or not :)

@itsravenous Unfortunately it's a naming issue. I'd have to release a new major version to fix it and I haven't gotten around to it. See https://github.com/blakeembrey/sentence-case/issues/4

Fair enough! I'll keep an eye on this. I can always submit a PR if you'd rather, though I'm hugely busy at work at the moment so it could be a while ;)

Replaced, finally, with 3.0.0 😄


[DO NOT MERGE] DS 615 Convert 'string' to 'any' in schema where appropriate

Jira
https://pegadigitalit.atlassian.net/browse/DS-615
Summary
String props were changed to any across all .schema's files.
Details
String props were changed to any across all .schema's in all:

bolt elements
bolt components

Props converting were omitted if an enumeration was found in a code block.
How to test
Pull the branch, Make sure all string props were changed to any. Check if there is more to change or if some of them were changed unnecessarily.

@remydenton
I went thru .schema files and converted string to any I wasn't sure of each of them. So if you find some unnecessary changes or places where the change should be please let me know and I'll fix them.
I was not sure if there were examples such as:  src,url, hrefs, ids.
And how about [string, object,] or [string, object, array]. If there is more than one type of data shouldn't it be converted to any?

Closing this PR for now, we will revisit this with a more granular approach (the ticket will have reference to this PR and the branch).


Adds Java 9 module names with manifest entries

This is the easy way out of getting module names stable and mapped to
our entrypoint packages. I've only done this for the highly re-used
jars.
See https://github.com/square/okhttp/pull/3743
thx @yschimke

verified using @yschimke's script
$ for i in */target/*-SNAPSHOT.jar; do echo $i; unzip -q -c $i META-INF/MANIFEST.MF | grep Automatic-Module-Name ; done
benchmarks/target/benchmarks-2.4.10-SNAPSHOT.jar
zipkin-guava/target/zipkin-guava-2.4.10-SNAPSHOT.jar
zipkin-junit/target/zipkin-junit-2.4.10-SNAPSHOT.jar
zipkin-server/target/zipkin-server-2.4.10-SNAPSHOT.jar
zipkin-ui/target/zipkin-ui-2.4.10-SNAPSHOT.jar
zipkin-zookeeper/target/zipkin-zookeeper-2.4.10-SNAPSHOT.jar
zipkin/target/original-zipkin-2.4.10-SNAPSHOT.jar
zipkin/target/zipkin-2.4.10-SNAPSHOT.jar
Automatic-Module-Name: zipkin
zipkin2/target/original-zipkin-2.4.10-SNAPSHOT.jar
zipkin2/target/zipkin-2.4.10-SNAPSHOT.jar
Automatic-Module-Name: zipkin2

Cleaner way of doing this
$ /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/bin/jar -d -f ./build/install/oksocial/lib/okhttp-3.10.0.jar
No module descriptor found. Derived automatic module.
module<EMAIL_ADDRESS>(automatic)
requires mandated java.base
contains okhttp3
contains okhttp3.internal
contains okhttp3.internal.cache
contains okhttp3.internal.cache2
contains okhttp3.internal.connection
contains okhttp3.internal.http
contains okhttp3.internal.http1
contains okhttp3.internal.http2
contains okhttp3.internal.io
contains okhttp3.internal.platform
contains okhttp3.internal.publicsuffix
contains okhttp3.internal.tls
contains okhttp3.internal.ws


Mattermost with WebhookURL doesn't detect it's own messages

If you have a configuration problem, please first try to create a basic configuration following the instructions on the wiki before filing an issue.
Please answer the following questions.
Which version of matterbridge are you using?
run matterbridge -version
version: 1.2.0 248d88c
If you're having problems with mattermost please specify mattermost version.
4.2
Please describe the expected behavior.
Messages posted from the webhook should be ignored.
Please describe the actual behavior.
When running mattermost bridge with Login+Password PLUS WebhookURL
Messages posted from the WebhookURL are treated as "user messages" and forwarded again.
So if someone types on slack, this message gets forwarded to mattermost and then that message gets forwarded again to slack :|
Use logs from running matterbridge -debug if possible.
Any steps to reproduce the behavior?

Setup a mattermost<-> slack pipe.
The mattermost config will have a Login/Password user and WebhookURL for posting messages
Try sending something first on slack, then something different on mattermost.
Observe message being forwarded twice.

Please add your configuration file
(be sure to exclude or anonymize private data (tokens/passwords))
Personally I am not sure what's the best way to handle or fix this.
The workaround is simply to skip using webhookURL, but then I can't have fancy "username override" on forwarded posts...

I can't reproduce this, could you post your whole config ?
You're using dedicated users for slack and mattermost, right?

Right, dedicated users for both, lemme look for the config

[mattermost]
    [mattermost.x]
    Server="x"
    Team="x"
<EMAIL_ADDRESS>    Password="x"
WebhookURL="mymattermost.com/hooks/x"
RemoteNickFormat="{NICK}: "

 PrefixMessagesWithNick=true
[slack]
	[slack.x]
#Token to connect with the Slack API
#You'll have to use a test/api-token using a dedicated user and not a bot token.
#See https://github.com/42wim/matterbridge/wiki/Slack-bot-setup for more information
	Token="xoxb-xxxxxxxxxxxxxxxxxxxx"
RemoteNickFormat="{NICK} [Matterbridge]"

[[gateway]]
name="x"
enable=true

    [[gateway.inout]]
    account="mattermost.x"
    channel="x"

    [[gateway.inout]]
    account="slack.x"
    channel="x"

hmm, I see you use a "xoxb-xxxxxxxx" token instead of a a "xoxp-xxxx" token.
Would it be possible to try with a xoxp token and see if it also happens?

Should be fixed in master


Fixed a possible NPE that can occur when properties are not turned on

Hi @JohnLZeller
I made this pull request because there is a potential for a NPE when DataDog Job Properties are not selected.
I think this one is safe to merge and include.

@MadsNielsen thanks!


Fixing typing for the whole Select component

Checklist

[x] Build process is done without errors. All tests pass in the /lib directory.
[x] Self-reviewed the code before submitting.
[x] Meets accessibility standards.
[x] Added/updated documentation to /website as needed.
[x] Added/updated tests as needed.

Description
Removed ts-nocheck and fixed the problems related to it. Also typed all the methods and variables.
Additional context
A few small changes to logic were made in order to allow a better readibility and, overall, cleaner code. Also removed redundant types (SingleSelect and MultipleSelect could be merged into one type).
Closes #1555

One last comment, the code is unformatted. Can you please install the code formatter we use in Halstack in your Visual Studio Code IDE?
Name: Prettier - Code formatter
Id: esbenp.prettier-vscode
Description: Code formatter using prettier
Version: 10.1.0
Publisher: Prettier
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

Thanks for the detailed review Iván! I just added the requested changes 😄

Great job Enrique, this was a tough one!


How much memory of GPU is typically consumed when evaluating a model at batch of 1?

Memory of my GPU is 24G，“CUDA out of memory” raised when I "python test.py --config config.yaml --model mode_epoch_bets_path". The model is the pretrain model of the author and the bath size was set to 1.

Greetings! As the current application will utilize over 30G of memory for batchsize=1, we suggest considering alternative graphics cards with greater memory capacity.


void-function org-roam-db--get

when I type "M-x org-roam-server-mode"，I got this error show in minibuffer:
Debugger entered--Lisp error: (void-function org-roam-db--get)
org-roam-db--get()
...
I didn't found the org-roam-db--get method in
https://github.com/org-roam/org-roam/blob/master/org-roam-db.el
May be the org-roam package has changed this method name.
Counld any body fix this? Thanks

It is removed from org-roam-server too when it is removed from org-roam. You should update your package
https://github.com/org-roam/org-roam-server/commit/1dc94e102d60e53bb9929b1cdc55d4d8c2b0d64f

update the org-roam-server package can fix this problem, Thanks a lot!


Method Yajra\DataTables\EloquentDataTable::where does not exist.

Why am I getting this error???
Code:
`  $datatables =  app('datatables')->of($civil);
  // additional users.name search
  if ($nome = $datatables->request->get('nome')) {
      $datatables->where('civil.nome', 'like', "%$nome%");
  }`

In the previous version, it worked perfectly.

Operating System
PHP Version
Laravel Version
Laravel-Datatables Version

@jonathanx56 yes, this was removed on latest version. See https://yajrabox.com/docs/laravel-datatables/master/upgrade#removed for ref. Please use the query object instead of the dataTable instance.

sorry for comment in other issue @yajra ,
how to do advance filtering with new datatables :
https://datatables.yajrabox.com/eloquent/advance-filter

@rebornishard thanks for pointing the old demo. This is how it should be done on the latest version:
Users Query
$users = User::select([
            DB::raw("CONCAT(users.id,'-',users.id) as id"),
            'users.name',
            'users.email',
            DB::raw('count(posts.user_id) AS count'),
            'users.created_at',
            'users.updated_at'
        ])->leftJoin('posts', 'posts.user_id', '=', 'users.id')
        ->groupBy('users.id');

FROM
        // having count search
        if ($post = $datatables->request->get('post')) {
            $datatables->having('count', $datatables->request->get('operator'), $post);
        }

        // additional users.name search
        if ($name = $datatables->request->get('name')) {
            $datatables->where('users.name', 'like', "$name%");
        }

TO
        // having count search
        if ($post = $datatables->request->get('post')) {
            $users->having('count', $datatables->request->get('operator'), $post);
        }

        // additional users.name search
        if ($name = $datatables->request->get('name')) {
            $users->where('users.name', 'like', "$name%");
        }

@yajra will u update in there, since many ppl still confused out there,
for temp i using
https://yajrabox.com/docs/laravel-datatables/master/filter-column
thanks @yajra will implement this one
i want to ask something, when first load datatable it show 10 table,
it's limit 10 in query when requesting it ?
thanks a lot

Done on https://github.com/yajra/laravel-datatables-demo/pull/37. Thanks!


Don't crash when native module is missing.

I want to use the Google Signin on Android, but not on iOS, so on IOS, I am not linking the libraries.
Result: I have this crash: Cannot read property 'SIGN_IN_CANCELLED' of undefined as soon as I try to import from react-native-google-signin.
With this extra check, using the library in the way I described becomes much easier.

hello @miracle2k and thanks for the PR. I'm not sure the motivation you described is the best reason for this change since I'd like to have consistent behavior on both platforms and would prefer to handle these special cases in userland.
Currently, getting Cannot read property 'SIGN_IN_CANCELLED' of undefined is a (not very developer-friendly) manifestation of the fact that the native module was not correctly linked and this is what people will refer to when they open new issues. This change will mean that they will report the same issue with different error messages. If you can find some nice way to give user a nicely written error message, and add it into this PR, I'll merge it, but until then I'll keep this open. Hope this makes sense.

I can work around this on my side by not importing react-native-google-signin directly, but wrapping every access with my own module which has an .ios.js version which does nothing. I'm doing this for now.
Personally, I do believe that a native module should fail on usage, not on import. When I decided not to link the iOS library, I didn't expect any issues (as long as I make sure the relevant code paths don't run). If we do decide to move the error check to access time, I suppose it would look something like the updated patch I posted now.

Fair enough!

Personally, I do believe that a native module should fail on usage, not on import.

@miracle2k I think this does make sense, but for us to do this, if we want to have consistent error message for when a module is not correctly linked (and we do), we would have to guard every possible access to what the module exports, which makes stuff more bloated. I think it's not worth the extra code, especially considering that not many people will use it this way, so I'm also in favor of not doing this and importing the module only on the platform where you use it. With this, I'm closing the PR, thanks for your time though!


Feature: Add view option to MakeResourceCommand

This PR adds a --view option to MakeResourceCommand to make resource with ViewPage
php artisan make:filament-resource User --view

PS: Since pages are conditionally added SimpleResource stub is no longer needed.

Simple resources also shouldn't have a relations method

Oh sorry I've missed that. How would you like to see it fixed?
Bring back SimpleResource or conditionally include relations

I'm thinking about moving our stubs system to use Blade::render() instead, then we can use Blade to construct templates instead of messy PHP strings?
https://laravel.com/docs/9.x/blade#rendering-inline-blade-templates

@danharrin isn't inline blade templates (Blade::render) a laravel 9 feature?

Ah thats ok mate, annoying though. Thanks for your work!

it was introduced in Laravel v8.80 but  facade Blade::render is in 8.81, probably not worth to version bump


jQuery UI - TypeError: $(...).slider is not a function

Description
Error:

TypeError: $(...).slider is not a function

Expected behavior
$ and $('.my-element').slide() - should work. Now works only $
Environment

Brunch: 2.8.2
Node: v6.6.0
NPM: 3.10.3
Operating system: Linux Ubuntu

package.json contents
{
  "name": "gps-app",
  "description": "Description",
  "author": "",
  "version": "0.0.1",
  "repository": {
    "type": "git",
    "url": ""
  },
  "scripts": {
    "start": "brunch watch --server",
    "build": "eslint app && brunch build --production",
    "test": "echo test"
  },
  "dependencies": {
    "backbone": "~1.3.3",
    "backbone.marionette": "~3.0.0",
    "bootstrap": "^4.0.0-alpha.4",
    "jquery": "~1.12.2",
    "jquery-ui-dist": "^1.12.1",
    "leaflet": "^1.0.1",
    "leaflet-plugins": "^2.0.0",
    "tether": "^1.3.7",
    "underscore": "^1.8.0"
  },
  "devDependencies": {
    "auto-reload-brunch": "^2.0.0",
    "babel-brunch": "^6.0.6",
    "babel-preset-es2015": "~6.3.13",
    "brunch": "^2.8.2",
    "clean-css-brunch": "^2.0.0",
    "copyfilemon-brunch": "^3.3.0",
    "css-brunch": "^2.0.0",
    "eslint": "^2.11.1",
    "javascript-brunch": "latest",
    "sass-brunch": "^2.6.3",
    "uglify-js-brunch": "^2.0.0",
    "underscore-brunch": "~1.4.0"
  },
  "overrides": {
    "jquery-ui-dist": {
      "main": "jquery-ui.js"
    }
  }
}

brunch config contents
module.exports = {
    files: {
        javascripts: {
            joinTo: {
                'vendor.js': /^(?!app)/,
                'app.js': /^app/
            },
            order: {
                before: [
                    'node_modules/jquery/dist/jquery.js'
                ]
            }
        },
        stylesheets: {
            joinTo: 'app.css'
        },
        templates: {
            joinTo: {
                'app.js': /^app\/templates/
            }
        }
    },
    npm: {
        enabled: true,
        globals: {
            $: 'jquery'
        },
        styles: {
            bootstrap: ['dist/css/bootstrap.css'],
            'jquery-ui-dist': ['jquery-ui.css']
        }
    },
    plugins: {
        babel: {
            presets: ['es2015'],
            compact: false
        },
        sass: {
            mode: 'native'
        },
        copyfilemon: {
            'img': [
                './app/img'
            ]
        }
    },
    conventions: {
        assets: /assets[\\/]/
    },
    paths: {
        'public': 'bundle'
    }
};

Other useful files, when present (log, bower.json etc.)
bower.json
{
  "name": "my-app",
  "version": "0.0.1",
  "authors": [
  ],
  "main": "index.html",
  "license": "Commercial",
  "homepage": "",
  "dependencies": {
    "leaflet-plugins": "leaflet_one",
    "leaflet-polylinedecorator": "1.1.0",
    "leaflet.markercluster": "master"
  },
  "keywords": [
  ]
}

My code App.js:
import Marionette from 'backbone.marionette';
import ItemView from './ItemView';

export default Marionette.Application.extend({
    region: '#app',

    initialize() {
        this.on('start', () => {

            console.log('START', $( '#points-slider' ).length);// No errors

            $( '#points-slider' ).slider({ // Error: TypeError: $(...).slider is not a function
                range: true,
                min: 0,
                max: 500,
                values: [ 75, 300 ]
            });

            this.showView(new ItemView());
        })
    }
});

I don't see where you are including jquery-ui in your build and the error you report looks like it is triggered by jquery-ui not being present.

I thinks
jquery-ui-dist = jquery-ui

Where is this line in your code: jquery-ui-dist = jquery-ui?

What should this line?

Sorry, I'm a bit lost now. I'm pretty sure the error you see is because jquery-ui is missing from your build. I don't know how you are including jquery-ui in your project but that is what you should investigate. I suspect that you are not including it in the build. Do you have something like import 'jquery-ui' in your app code?

If add import 'jquery-ui'; or import 'jquery-ui-dist'; - it is not works.
I need a working example of the jQuery UI connection.

Sorry, I don't think I can help more here without knowing more about your app. Maybe someone else can help.

You want to place the plugin into vendor/scripts

kgcreative, It works. Thank you!

@andchir - happy to help!

It's really not ideal to add files to the project like this. It would be best if jQuery UI would integrate into the build process somehow.

The best way to add jquery ui components is to use this require statement where you want to use datepicker:
require('jquery-ui/ui/widgets/datepicker');


After loading project, some visualization does not load.

When opening the following project, the lowest visualizations seem to be stuck at loading state:
Bookclub_17_01.zip
We receive some "Visualization not found" log

The problem seems to be in the Engine, unfortunately: the network log shows that we attach the visualization, and get "success" response. But the very next modification with same visualization ID returns "Visualization not found" error.
IDE behavior could also be improved: we could re-attach visualization after some failures, and show the error if it won't help instead of infinite replies. I'm going to create a separate issue for it.


Don't attach multiple event listeners or lifecycle listeners on multiple calls to onStart

Retry logic added prior relies on multiple calls to onStart, but this results in duplicate  listeners being added to the underlying mysql client, causing duplicate publishing of events, and duplicate calls in response to lifecycle events. This PR aims to only attached relevant logic once, though we do attach multiple ConnectionNotifyingLifecycleListener instances to track the individual connection successes.
I'm presently in the process of testing this in sand.

Just as a note, a possibly safer way to solve this is to just recreate the entire consumer on each retry (in LunaDbBinlogConsumerImpl)

Overall, I think this is ok, but making the retry code simpler (ie. just recreate the client) might be safer

This was our conclusion as well, but we'd like to get a fix out ASAP so we're not under the gun.


Restify middleware: HTTP methods mapping is wrong

When DELETE operation is specified in swagger.yaml the Restify middleware tries to invoke app.delete which is not an actual function in Restify (it uses app.del instead). This might be the same for OPTIONS which in Restify is app.opts.
In previous version it was working for iteration was done over Restify's methods and now you are iterating over the methods described in swagger.yaml
As a hack I use app.delete = app.del in my app.js.
Exception stack:
Error in callback! Tossing to global error handler. TypeError: app[method] is not a function
    at registerHandler (/home/api/node_modules/swagger-restify-mw/node_modules/swagger-node-runner/lib/restify_middleware.js:24:18)
    at /home/banzsh/projects/api/node_modules/swagger-restify-mw/node_modules/swagger-node-runner/lib/restify_middleware.js:33:11
    at Array.forEach (native)
    at /home/banzsh/projects/api/node_modules/swagger-restify-mw/node_modules/swagger-node-runner/lib/restify_middleware.js:32:31
    at Array.forEach (native)
    at Middleware.register (/home/banzsh/projects/api/node_modules/swagger-restify-mw/node_modules/swagger-node-runner/lib/restify_middleware.js:30:21)
    at /home/banzsh/projects/api/app.js:76:20
    at /home/banzsh/projects/api/node_modules/swagger-restify-mw/lib/index.js:32:5
    at /home/banzsh/projects/api/node_modules/swagger-restify-mw/node_modules/swagger-node-runner/index.js:234:7

Thanks for reporting this, #21, and #22. It looks like perhaps I should revert to the global registration method I was using before for Restify instead of individually registering the paths. Had you seen any issues with that method?

Actually I've tried this on the current version having app[method]('.*' ...) and that worked fine. Basically I think the former implementation was simpler and working. IMO this would fix #21 and #22 as well.
Thank you!


Add clagger proc duration

Would it be possible for HunterPie to show the duration of a clagger? It already shows the clagger buildup (under "Claw Flinch"), but it doesn't show how much time is left until the drooling animation stops.
This is useful for knowing how much time is left so that a player can claw right at the end of the clagger proc & reset its duration to maximum.
(And thank you so much for HunterPie! I've recommended it to all my friends and they've in turn recommended it to theirs... easily the best overlay available.)

If it helps, clagger duration appears to be 6s for all monsters.
It could be displayed like sleep, where it shows a status buildup bar at first but converts into a 40s tickdown once procced (but 6s instead).

Oh, that's because the other buildups have their own timer in memory but the claw flinch doesn't, I can see what I can do though.


Feature request: outgoing webhooks

It would pretty cool if you allowed "outgoing webhooks" so that TaskBoard can integrate with things like Slack.  Basically whenever a change is made, TaskBoard will send some info to a particular URL.

I'll have to look into a way to do this. Interesting idea, thanks.

Great.  Good luck!

Hi! I think this a great idea!! Is there any update about this? How can I help? I really love your work

@sanPuerquitoProgramador It's on my list of things to look at for the re-write I'm currently working.
You can take a look at the re-write branch to see how things are coming along (it's very much a work in progress still).


Add character:  to font:

Character :
Font :

Hey @gaurav12devloper , Can u assign this issue to me, i would like to contribute

Please can you assign this to me i want to work on this i have understood how this work

@gaurav12devloper as you are working on other issues, I am giving this one to someone else. As this will be their first contribution, that's why I am doing this.


Add async blob read and download support using multiple streams

Description

Adds async blob read and download support using multiple streams using new APIs
The entire code is laid out as a part of #9182

Implementation details
The request flow can be visualized using the following diagram:

Related Issues
Partially resolves https://github.com/opensearch-project/OpenSearch/issues/9031
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@andrross Addressed previous comments. Please take a look.

#9378

Gradle Check (Jenkins) Run Completed with:

RESULT: FAILURE ❌
URL: https://build.ci.opensearch.org/job/gradle-check/23760/
CommitID: 08f4846
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green.
Is the failure a flaky test unrelated to your change?

Gradle Check (Jenkins) Run Completed with:

RESULT: FAILURE ❌
URL: https://build.ci.opensearch.org/job/gradle-check/23760/
CommitID: 08f4846
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green.
Is the failure a flaky test unrelated to your change?

This failure is due to https://github.com/opensearch-project/OpenSearch/issues/9589. I see recently multiple gradle check failures due to RemoteIndexShardTests tests. Created https://github.com/opensearch-project/OpenSearch/pull/9597 to add retries for this test class. @kotwanikunal @andrross

Gradle Check (Jenkins) Run Completed with:

RESULT: FAILURE ❌
URL: https://build.ci.opensearch.org/job/gradle-check/23842/
CommitID: f77ed82
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green.
Is the failure a flaky test unrelated to your change?

Force pushed in quick succession.

https://build.ci.opensearch.org/job/gradle-check/23888/

The connection to jenkins went down.


Create new Server with webpack config object instead of path

Thank you very much for creating this, it's very useful!
However, I use a highly customized webpack project setup and it would be great to be able to pass a webpack config object instead of the webpack.config.js-path to lib/Server.js.
What do you think?

That makes sense, and seems like a fairly common use case.  I won't be at a computer today as I'm travelling but you're more than welcome to open a pull request and I can review it.

This was fixed in https://github.com/mjohnston/react-native-webpack-server/pull/9


feat: Driver for Rohde & Schwarz FSV

Add driver for Rohde & Schwarz FSV Signal Analyzer
Fixes Nothing.
Changes proposed in this pull request:
@WilliamHPNielsen

@rohit19081995, my apologies for letting this one slip for so long.
I don't have the instrument, so I can't do any serious testing, but overall the driver looks good. One question though, why do the _set_XX functions all first change a setting and then check that the change was applied? Is it not possible to know beforehand whether, say, a center frequency is valid? In case it is possible, I would strongly suggest making it a hard error to try to set a parameter to an invalid value. But perhaps I don't understand the instrument well enough.

@rohit19081995
The driver in this pull request will not be supported by QCoDeS developers, and, hence, is a community driver. Please close this pull-request and open a new one against qcodes_contrib_drivers repository. QCoDeS developers will close this pull-request unconditionally in 2 weeks.
Read about qcodes_contrib_drivers repository and python package here.

@rohit19081995
I'm closing this PR. Feel free to open this against Qcodes_contrib_drivers.


Remove multi select box as an answer format?

We've had confusion from some admin users about what the multi-select box option is. Essentially this is the same as checkboxes, but displays all options in a dropdown where you use command / control to select multiple. It used to be used for the theme selection but we have changed this to simple checkboxes now for usability.
@stephaniesimms I think you had some issues selecting multiple via Mac previously. The user has reported not being able to select multiple too.
Is there a desire to retain this or should we remove it? I'm not sure it's used anywhere in the services but we should obviously check that before deciding

@briri can you check dmptool data to see if anyone implemented multi select boxes? if not i'm happy to remove them as an answer format @sjDCC . and if just a few folks are using them we should be able to reformat those questions as checkboxes and remove still.

@xsrust @Bodacious If you could check our services too that would be great. I have a hunch they're not much used though too

@stephaniesimms we have 16 templates that use the multi-select box but none of them appear to have any values defined. So unless they have the 'additional info' checkbox ticked then there's actually nowhere for the user to answer the question. I'll send you the list on Slack

This still shows up when you edit existing template questions and create new ones.

Once we remove, can we also check data for DMPonline and other DCC services please @xsrust to ensure it doesn't throw any validation errors. If there is any existing data I assume we can switch it to multiple choice instead. That's the same functionality but different display

This all looks good to me. Thanks @johnpinto1
I wasn't sure of which templates used the mutli-select box but if you know that @stephaniesimms you may want to check their data looks ok too
Closing out


Plugin breaks brimhaven agility

This plugin currently seems to cause the brimhaven agility dungeon indicator arrow to break (found out via trial and error turning plugins on and off). A runelite dev suggested that its probably caused by however this plugin uses the hint arrow, might be worth looking into if you are still willing to update the plguin. If not hopefully others who experience this issue see's this and turns off the plugin when doing brimhaven agility!

I ran into the same issue on my client. Disabling this plugin resolved the issue.

Should be fixed, posting new update to plugin hub so it should be available soon hopefully


Allow forcing a new group / site token

Fixes https://github.com/stdevel/ansible-sentinelone_client/issues/1.

Looks good to me, thanks for your contribution!
Will have a look at it.

This role was recently merged to the collection sva.sentinelone.
Your PR was implemented here:
https://github.com/svalabs/sva.sentinelone/pull/47

Also merged here, but this role is now deprecated. Migrate to sva.sentinelone.sentinelone_client_legacy or - even better - sva.sentinelone.install_agent.


Figure out footnotes

We have footnotes in the doc. We should figure out an accessible way to add those in.

Closed by duplicate #15


Provide the EPA the ability to edit the buttons on the Glossary Page

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[x] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context for the specific functionality being developed (design, business rules, etc.)
[x] Does this have a dev link been provided in the design?
[x] Is this traceable to a feature, epic, or PI?

User Story
As the EPA I want the ability to edit the text on the buttons on the Glossary page so that the content stays up to date
Acceptance Criteria
Given that a content manager has accessed the EASEY Content Repo
When the functionality is displayed
Then the content manager can edit the text on the buttons on the Glossary page
Given that a content manager has accessed the EASEY Content Repo
When edits made to button text are committed
Then the edits are displayed in the applicable environment
Development Notes
Does this Story require 508 Testing?

[ ] Implementing a new authoring tool that will produce code / content for the application
[ ] Implementing a 3rd party widget that will be part of the application
[ ] Adding new / updating custom functionality
[ ] Adding new / updating a page template
[ ] Adding new / replacing existing functionality (unless the replacement has already passed 508 testing)
[ ] Full Site Review prior to a scheduled EPA 508 review
[ ] Planning a video that will appear on the application
[ ] Producing a video that will appear on the application
[ ] Producing Training materials
[ ] Producing documents

Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
Testing
Test Case: TC594
Tester: @JanellC
Definition of Done

[x] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[x] Has the code been unit tested and peer reviewed?
[x] Have the functional tests been executed?
[x] Have all defects been reviewed and dispositioned, resolved, or deferred?
[x] Is the user story ready to be deployed to the test/staging environments?

TC594 passed @tlageman-epa


⚠ Bofrost.lu has degraded performance

In 2189193, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 5061 ms

Resolved: Bofrost.lu performance has improved in 543a69f.


Make images for theme colour and layout clickable

Description
On the Theme selector page, the images are currently not clickable. In order to select a theme colour or layout, you need to select the checkbox. This PR makes these images clickable so you now have another way of selecting a theme and layout.
Type of change

[ ] Bug fix
[x] New feature
[x] Refactoring
[ ] Documentation

Problem
Images in the theme selector were not clickable.
Solution description
Made the images for both theme and layout have onClick actions which result in the corresponding radio button to be checked whilst also ensuring the correct information regarding theme and layout is stored in the state.
Tests
All unit tests pass? Yes
Builds successfully? Yes
Attach screenshot of the expected result (e.g. UI of the website/ postman api call result/ database changes)
Before:

After clicking on the image for layout 3 and the image for the black and white theme:

Risk
Identity the risk level (low, medium, high) and indicate which component(s) will be affected if bugs exist.
Low

Actually, I wanted to add that this entire UI may need to be refactored as we're thinking of implementing a toggle between light/dark theme as opposed to color selection.
@vgoh1 @sanathmahesh @rsal0007 @melvinalex7 @melvinalex77

Actually, I wanted to add that this entire UI may need to be refactored as we're thinking of implementing a toggle between light/dark theme as opposed to color selection.
@vgoh1 @sanathmahesh @rsal0007 @melvinalex7 @melvinalex77

In that case, should this PR still get merged into main as the theme layout images being clickable would still be useful for later (even with any changes to this UI)? Or would it be better to just close this PR and let whoever works on the implementation of the toggle to also implement the ability to click on any images, if required.

@ssha0054 I think it's worth merging because the redesign is still far away in the future. The theme layout pictures should still be useful.


fix: Added parameter to wrap modal in navigation page

What kind of change does this PR introduce?

Allows consumer to wrap modals in navigation pages.
What is the current behavior?

#66 Broke this functionality with how we are registering the NavigationView.
Resolves: #98
What is the new behavior?

You can now pass a withNavigationPage to the PushModal function.  This is true by default.
What might this PR break?
Nothing that isn't already broken.

Might be worth adding some unit tests for the diff section here https://codecov.io/gh/reactiveui/Sextant/pull/103/diff

@glennawatson Added tests to verify the flag gets to the IView instance.


WEB UI?

Is it possible to use a web UI from Trogon?

Hey @askerrit, for my benefit can you elaborate some on your question here? What would you like to be able to do, and how do you imagine it working with Trogon?

It's possible! I'm working on a project based on Trogon that uses Gradio to build a web UI from a click CLI -> https://github.com/Wytamma/GUIGAGA

@Wytamma nice project! To clarify, Trogon doesn't support a web UI itself, so something like GUIGAGA or rolling your own will be necessary at this time.


Link video

Rendered

Requesting @christopherbiscardi's review here as well :)

lgtm
here's the original thumbnail if you want to avoid hitlinking:

Thanks! I added a little play button to it while I was on it to make it more obvious that people should click on it :)

Making it collapsible would be a bit of a pity imo. I made it smaller instead.

Making it collapsible would be a bit of a pity imo. I made it smaller instead.

Okay that's fine, it was just huge in the render.


phpbrew install php 7.4.33 fail

Output
tar: Error opening archive: Unrecognized archive format
Error: Extract failed:

Expected Result
...

Command
Paste your phpbrew install command here (be sure to install with --debug flag, e.g. phpbrew --debug install)
phpbrew install 7.4.33

Build Log
===> phpbrew will now build 7.4.33
You haven't enabled any variants. The default variant will be enabled:
[bcmath, bz2, calendar, cli, ctype, dom, fileinfo, filter, ipc, json, mbregex, mbstring, mhash, pcntl, pcre, pdo, pear, phar, posix, readline, sockets, tokenizer, xml, curl, openssl, zip]
Please run 'phpbrew variants' for more information.
===> Loading and resolving variants...
Homebrew prefix "/opt/homebrew/opt/libxml2" does not exist.
Homebrew prefix "/opt/homebrew/opt/bzip2" does not exist.
Homebrew prefix "/opt/homebrew/opt/mhash" does not exist.
Checking distribution checksum...
Checksum mismatch: ef71213d9b5753d77534059d77b7861281b89635554299802528183c4ffd010d != 4e8117458fe5a475bf203128726b71bcbba61c42ad463dffadee5667a198a98a
Re-Downloading...
Downloading https://www.php.net/distributions/php-7.4.33.tar.bz2 via curl extension
[==================================================================] 12.42/12.42MB 100%
https://www.php.net/distributions/php-7.4.33.tar.bz2 => /Users/shixuesen/.phpbrew/distfiles/php-7.4.33.tar.bz2
===> Extracting /Users/shixuesen/.phpbrew/distfiles/php-7.4.33.tar.bz2 to /Users/shixuesen/.phpbrew/build/tmp.1677812950/php-7.4.33
tar: Error opening archive: Unrecognized archive format
Error: Extract failed:
Platform
OS:
e.g. OS X 12.6

Running PHP:
8.1.12
Installing PHP:
7.4.33

The error message is as follows:
tar: Error opening archive: Unrecognized archive format
Error: Extract failed:

It seems that the archived file is not downloaded correctly. Do you try this again?
I think it's the temporary error.


More than Two location

can this library tracking more than two location , i mean create route from my ordered list of latlang ?

Sorry this library is no longer being maintained.


Added AWS_SECURITY_TOKEN for support old aws sdk

Hi!
I use credentials secured helper tools such a vaulted and aws-vault for safely store my AWS credentials on the laptop.
I run terragrunt for multi-account setup, and authenticate  via multi assume iam roles steps. account X iam role -> account Y iam role.
So my ~/.aws/config looks like:
[profile test]
role_arn = arn:aws:iam::xxxxxxxxxx:role/admin
region = us-east-1

and my terragrunt.hcl in the root of repository looks like
iam_role = "arn:aws:iam:: xxxxxxxxxx:role/terragrant-in-another-account"

remote_state {
  backend = "s3"
OUTPUT OMMITED......

The issue if you run terraform local-exec provider, it will spawn new shell, but it will inherit env variables from terragrunt/terraform environment and the vaulted and aws-vaulted, sets AWS_SECURITY_TOKEN environment variable(which is set for backward compatibility for old AWS sdk as far as I understood from commits and documentation of tools). And you have AWS_SESSION_TOKEN and AWS_SECURITY_TOKEN set with different values, and AWS throws
An error occurred (UnrecognizedClientException) when calling the GetParameter operation: The security token included in the request is invalid.
P.S. Links with code of vaulted and aws-vaulted
https://github.com/99designs/aws-vault/blob/7daf3aa7d479e48efe8e3854b01cea47e603528d/cli/exec.go#L174
https://github.com/miquella/vaulted/blob/8b8e09b8c4bcfafa613bf8d48d28c27bc8f3fab9/doc/vaulted-exec.1.md#aws-key

Build passed, so will merge.

Build passed, so will merge.

Thanks a lot!

https://github.com/gruntwork-io/terragrunt/releases/tag/v0.21.11 : binaries should show up after our CI build, which typically take 7~10 mins.


Fix checkbox filter spacing

Fixes #504

@spadgett this looks much better !

LGTM but Travis is failing

Fixed Travis failure (needed to call trim() on the vendor text due to added whitespace)


Adding new GTL port. This is a new C++20 template library including updated versions of greg7mdp/parallel-hashmap and more

Adding new GTL port.
This is a new C++20 template library including updated versions of greg7mdp/parallel-hashmap and more.
supports windows (vs2019+), linux and macos (gcc 11.1+ or clang 13+)

Does your PR follow the maintainer guide?

I think so

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

yes

When you're done, please run vcpkg x-add-version gtl --overwrite-version and commit the result.

When you're done, please run vcpkg x-add-version gtl --overwrite-version and commit the result.

just did, thanks!

@JonLiu1993 just changed "version-string" tp "version"

@greg7mdp Everything OK?
If you ask yourself why CI is failing: This is again because you need to run vcpkg x-add-version gtl --overwrite-version and commit the result.

This is again because you need to run vcpkg x-add-version gtl --overwrite-version and commit the result.

Thanks @Thomas1664 ! Just did it.

@greg7mdp Thanks. CI failures aren't your fault.

Thanks. CI failures aren't your fault.

thanks, I was starting to worry I had messed up again!!!


while downloading the datasets in tutorials, page not found

Dear authors,
thank you for your work! But the second link "https://www.ebi.ac.uk/arrayexpress/files/E-MTAB-10026/E-MTAB-10026.processed.2.zip" in the 01_preprocessing notebook file from tutorials folder will return PAGE NOT FOUND. I will appreciate if the link can be updated but it is not urgent.
Thank you for your time!

Hi,
Thanks for pointing this out.
The path to the data repository changed and, therefore, was outdated. I updated it accordingly.
Please let me know, if there still occure problems.
Best,
Felix


Raw docstring #10998

Raw docstring (leading r) defeats form feed \f truncation

@ShreySinha02 @KaniKim @Kludex , I'm afraid it's not clear to me which use case #10998 is meant to address, because changing the behavior of how a raw string is parsed would mean it's no longer being treated as a raw string.
Besides, as @dolfinus pointed out in that issue, which I encourage you to link to this PR btw, both the proposed fix and this one will act out if you mention C:\files\data in the description.
Either way, here's some data to help make you guys' explanations more clear.
Minimal Reproducible Example

Make sure you have Git, Python 3, PIP 3 and virtualenv installed on your system:

git --version &&
python3 -V &&
pip3 -V &&
pip3 show virtualenv

Create a Python virtual environment and activate it:

python3 -m venv .venv &&
source .venv/bin/activate

Set up the demo:

pip install fastapi &&
git init &&
curl https://raw.githubusercontent.com/github/gitignore/main/Python.gitignore -o .gitignore

Add the demo entrypoint and run it:

cat > main.py <<EOF && python main.py && git add .
from fastapi import FastAPI
from json import dump

app = FastAPI()

@app.post("/foo")
def foo(arg: int = 5) -> int:
    r"""
    Some function.

    \f

    Args:
        arg: Some argument

    Returns:
        Some integer.
    """
    return arg

@app.post("/bar")
def foo(arg: int = 5) -> int:
    r"""
    Some function. C:\files\data C:/files/data

    \f

    Args:
        arg: Some argument

    Returns:
        Some integer.
    """
    return arg

openapi_schema = app.openapi()
with open("openapi.json", "w") as file:
    dump(openapi_schema, file, indent=2)
EOF

Outputs
v0.110.1.json
pr-11149.json
Git Diff
# git diff v0.110.1.json pr-11149.json

diff --git a/v0.110.1.json b/pr-11149.json
index f8d2a52..249b92b 100644
--- a/v0.110.1.json
+++ b/pr-11149.json
@@ -8,7 +8,7 @@
     "/foo": {
       "post": {
         "summary": "Foo",
-        "description": "Some function.\n\n\\f\n\nArgs:\n    arg: Some argument\n\nReturns:\n    Some integer.",
+        "description": "Some function.",
         "operationId": "foo_foo_post",
         "parameters": [
           {
@@ -50,7 +50,7 @@
     "/bar": {
       "post": {
         "summary": "Foo",
-        "description": "Some function. C:\\files\\data C:/files/data\n\n\\f\n\nArgs:\n    arg: Some argument\n\nReturns:\n    Some integer.",
+        "description": "Some function. C:",
         "operationId": "foo_bar_post",
         "parameters": [
           {


toRefs(proxyRefs(...)) works, but warns that toRefs() expects a reactive object but received a plain one

Version
2.7.8
Steps to reproduce
The following code
toRefs(proxyRefs({ foo: computed(() => 1) }))

prints a warning
vue.runtime.esm.js:4560 [Vue warn]: toRefs() expects a reactive object but received a plain one.

What is expected?
No warning
What is actually happening?
Warning in console

I think it's expected behavior.
proxyRefs() does not return a reactive object.
Its type signature is ShallowUnwrapRef<T>, while reactive() returns an UnwrapNestedRefs<T>
It only happens to be the case that the toRefs()'s internal implementation can handle ShallowUnwrapRef<T>'s structure. But toRefs()'s documented usage is only to handle reactive objects.
So I think you better create a custom utility function to handle it than reusing toRefs() for this purpose.


All JSFiddle Examples are broken

After the release of 0.7.0, it appears that all of the JSFiddle examples referenced from the documentation here are broken.
Broken Example

I'll see what I can do to get them updated.

Try update to latest AngularJS1 version (1.6.4)
Here an example

@eugef please close, these are fixed


run: added flag --working-dir=/path

The current directory for the command executed by acbuild run can now
be set with the flag --working-dir. This requires systemd >= 229.
Fixes https://github.com/appc/acbuild/issues/154.

fixed.


fix(core): allow invoking base injector when using cjs

When the user's app is built using CommonJS, Qwik cannot invoke the base injector function because it's exported as default. This change fixes that issue.

In a branch that hasn't landed in main yet, we're building both an .mjs and .cjs modules, and the cjs version will be able to avoid this issue. So far the branch has been able to build on node's esm and classic require. Once it lands in main we'll double check this again. Thanks for the PR!

Thanks @manekinekko! You solved the issue perfectly, thanks for the PR!

Thank you @adamdbradley 😃


False positives on Amazon, Best Buy, NewEgg, B&H

I've pulled the most recent updates as of this message. Everything seems to be working fine except that I'm getting an onslaught of emails for false positives on rtx 3070 and amd ryzen 5600x from Amazon, B&H, Best Buy, and New Egg. I visit the link immediately upon receiving the first email, but it is sold out. For the AMD 5600x, I am currently receiving an email every 2 minutes saying the item is in stock, even though it's not. I have a 2 config files, 1 for each item. Here are the URLs providing false positives
AMD 5600x

https://www.newegg.com/amd-ryzen-5-5600x/p/N82E16819113666?Item=N82E16819113666&Tpk=19-113-666
https://www.amazon.com/AMD-Ryzen-5600X-12-Thread-Processor/dp/B08166SLDF
https://www.bhphotovideo.com/c/product/1598377-REG/amd_100_100000065box_ryzen_5_5600x_3_7.html
https://www.bestbuy.com/site/amd-ryzen-5-5600x-4th-gen-6-core-12-threads-unlocked-desktop-processor-with-wraith-stealth-cooler/6438943.p?skuId=6438943

RTX 3070

https://www.bhphotovideo.com/c/product/1598689-REG/gigabyte_gv_n3070gaming_oc_8gd_geforce_rtx_3070_gaming.html
https://www.bestbuy.com/site/msi-geforce-rtx-3070-ventus-3x-oc-bv-8gb-gddr6-pci-express-4-0-graphics-card-black/6438278.p?skuId=6438278
https://www.bestbuy.com/site/gigabyte-geforce-rtx-3070-8g-gddr6-pci-express-4-0-graphics-card-black/6437909.p?skuId=6437909
https://www.newegg.com/msi-geforce-rtx-3070-rtx-3070-ventus-3x-oc/p/N82E16814137601
https://www.amazon.com/MSI-GeForce-256-Bit-Architecture-Graphics/dp/B08KWLMZV4
https://www.newegg.com/evga-geforce-rtx-3070-08g-p5-3755-kr/p/N82E16814487530

wrote config files for each source (Amazon, Bestbuy, etc) and that seemed to fix the issue.


Quick summary of purpose of each file

Although an overview of the requirements and design of Drasil is too big a task for the moment, a quick summary of the purpose of each file would be helpful.  This could be in the form of a Readme.txt file in each folder.

Done.


Can not use image_size=512 to train interpreter

Hello, first, I use guided-diffusion to train DDPMs on my dataset as follows:
MODEL_FLAGS="--batch_size 1 --attention_resolutions 32,16,8 --class_cond False --diffusion_steps 1000 --dropout 0.1 --image_size  512 --learn_sigma True --noise_schedule linear --num_channels 128 --num_head_channels 64 --num_res_blocks 2 --resblock_updown True --use_fp16 True --use_scale_shift_norm True"

mpiexec -n 4 python scripts/image_train.py --data_dir /xxx/dataset $MODEL_FLAGS

Then I use ddpm-segmentation to train interpreter as follows:
MODEL_FLAGS="--attention_resolutions 32,16,8 --class_cond False --diffusion_steps 1000 --dropout 0.1 --image_size 512 --noise_schedule linear --num_channels 128 --num_head_channels 64 --num_res_blocks 2 --resblock_updown True --use_fp16 True --use_scale_shift_norm True"
DATASET=SatelliteMap # Available datasets: bedroom_28, ffhq_34, cat_15, horse_21, celeba_19, ade_bedroom_30

python train_interpreter.py --exp experiments/${DATASET}/ddpm.json $MODEL_FLAGS

But it stills shows shape mismatch error:
File "/xxx/anaconda3/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1667, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for UNetModel:
	Missing key(s) in state_dict: "input_blocks.7.0.skip_connection.weight", "input_blocks.7.0.skip_connection.bias", "input_blocks.10.1.norm.weight", "input_blocks.10.1.norm.bias", "input_blocks.10.1.qkv.weight", "input_blocks.10.1.qkv.bias", "input_blocks.10.1.proj_out.weight", "input_blocks.10.1.proj_out.bias", "input_blocks.11.1.norm.weight", "input_blocks.11.1.norm.bias", "input_blocks.11.1.qkv.weight", "input_blocks.11.1.qkv.bias", "input_blocks.11.1.proj_out.weight", "input_blocks.11.1.proj_out.bias", "input_blocks.13.0.skip_connection.weight", "input_blocks.13.0.skip_connection.bias".
	Unexpected key(s) in state_dict: "input_blocks.18.0.in_layers.0.weight", "input_blocks.18.0.in_layers.0.bias", "input_blocks.18.0.in_layers.2.weight", "input_blocks.18.0.in_layers.2.bias", "input_blocks.18.0.emb_layers.1.weight", "input_blocks.18.0.emb_layers.1.bias", "input_blocks.18.0.out_layers.0.weight", "input_blocks.18.0.out_layers.0.bias", "input_blocks.18.0.out_layers.3.weight", "input_blocks.18.0.out_layers.3.bias", "input_blocks.19.0.in_layers.0.weight", "input_blocks.19.0.in_layers.0.bias", "input_blocks.19.0.in_layers.2.weight", "input_blocks.19.0.in_layers.2.bias", "input_blocks.19.0.emb_layers.1.weight", "input_blocks.19.0.emb_layers.1.bias", "input_blocks.19.0.out_layers.0.weight", "input_blocks.19.0.out_layers.0.bias", "input_blocks.19.0.out_layers.3.weight", "input_blocks.19.0.out_layers.3.bias", "input_blocks.19.1.norm.weight", "input_blocks.19.1.norm.bias", "input_blocks.19.1.qkv.weight", "input_blocks.19.1.qkv.bias", "input_blocks.19.1.proj_out.weight", "input_blocks.19.1.proj_out.bias", "input_blocks.20.0.in_layers.0.weight", "input_blocks.20.0.in_layers.0.bias", "input_blocks.20.0.in_layers.2.weight", "input_blocks.20.0.in_layers.2.bias", "input_blocks.20.0.emb_layers.1.weight", "input_blocks.20.0.emb_layers.1.bias", "input_blocks.20.0.out_layers.0.weight", "input_blocks.20.0.out_layers.0.bias", "input_blocks.20.0.out_layers.3.weight", "input_blocks.20.0.out_layers.3.bias", "input_blocks.20.1.norm.weight", "input_blocks.20.1.norm.bias", "input_blocks.20.1.qkv.weight", "input_blocks.20.1.qkv.bias", "input_blocks.20.1.proj_out.weight", "input_blocks.20.1.proj_out.bias", "input_blocks.4.0.skip_connection.weight", "input_blocks.4.0.skip_connection.bias", "input_blocks.10.0.skip_connection.weight", "input_blocks.10.0.skip_connection.bias", "input_blocks.16.0.skip_connection.weight", "input_blocks.16.0.skip_connection.bias", "output_blocks.18.0.in_layers.0.weight", "output_blocks.18.0.in_layers.0.bias", "output_blocks.18.0.in_layers.2.weight", "output_blocks.18.0.in_layers.2.bias", "output_blocks.18.0.emb_layers.1.weight", "output_blocks.18.0.emb_layers.1.bias", "output_blocks.18.0.out_layers.0.weight", "output_blocks.18.0.out_layers.0.bias", "output_blocks.18.0.out_layers.3.weight", "output_blocks.18.0.out_layers.3.bias", "output_blocks.18.0.skip_connection.weight", "output_blocks.18.0.skip_connection.bias", "output_blocks.19.0.in_layers.0.weight", "output_blocks.19.0.in_layers.0.bias", "output_blocks.19.0.in_layers.2.weight", "output_blocks.19.0.in_layers.2.bias", "output_blocks.19.0.emb_layers.1.weight", "output_blocks.19.0.emb_layers.1.bias", "output_blocks.19.0.out_layers.0.weight", "output_blocks.19.0.out_layers.0.bias", "output_blocks.19.0.out_layers.3.weight", "output_blocks.19.0.out_layers.3.bias", "output_blocks.19.0.skip_connection.weight", "output_blocks.19.0.skip_connection.bias", "output_blocks.20.0.in_layers.0.weight", "output_blocks.20.0.in_layers.0.bias", "output_blocks.20.0.in_layers.2.weight", "output_blocks.20.0.in_layers.2.bias", "output_blocks.20.0.emb_layers.1.weight", "output_blocks.20.0.emb_layers.1.bias", "output_blocks.20.0.out_layers.0.weight", "output_blocks.20.0.out_layers.0.bias", "output_blocks.20.0.out_layers.3.weight", "output_blocks.20.0.out_layers.3.bias", "output_blocks.20.0.skip_connection.weight", "output_blocks.20.0.skip_connection.bias", "output_blocks.17.1.in_layers.0.weight", "output_blocks.17.1.in_layers.0.bias", "output_blocks.17.1.in_layers.2.weight", "output_blocks.17.1.in_layers.2.bias", "output_blocks.17.1.emb_layers.1.weight", "output_blocks.17.1.emb_layers.1.bias", "output_blocks.17.1.out_layers.0.weight", "output_blocks.17.1.out_layers.0.bias", "output_blocks.17.1.out_layers.3.weight", "output_blocks.17.1.out_layers.3.bias".
	size mismatch for input_blocks.0.0.weight: copying a param with shape torch.Size([64, 3, 3, 3]) from checkpoint, the shape in current model is torch.Size([128, 3, 3, 3]).
	size mismatch for input_blocks.0.0.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([128]).
	size mismatch for input_blocks.1.0.in_layers.0.weight: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([128]).
	size mismatch for input_blocks.1.0.in_layers.0.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([128]).
	size mismatch for input_blocks.1.0.in_layers.2.weight: copying a param with shape torch.Size([64, 64, 3, 3]) from checkpoint, the shape in current model is torch.Size([128, 128, 3, 3]).
	size mismatch for input_blocks.1.0.in_layers.2.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([128]).
	size mismatch for input_blocks.1.0.emb_layers.1.weight: copying a param with shape torch.Size([128, 512]) from checkpoint, the shape in current model is torch.Size([256, 512]).
	size mismatch for input_blocks.1.0.emb_layers.1.bias: copying a param with shape torch.Size([128]) from checkpoint, the shape in current model is torch.Size([256]).
	size mismatch for input_blocks.1.0.out_layers.0.weight: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([128]).
	size mismatch for input_blocks.1.0.out_layers.0.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([128]).

How to fix it? Can you give some advises?

Hello, I get the same question, have you solved it yet?

Hello, I get the same question, have you solved it yet?

Not yet

Can this be trained using one's own dataset


fixes needed to enable BMC_BT_LPC_IPMI support

This change is

Modified the commit to generate an errl rather than assert.  This is also more useful for developers since you can see all of the failing/missing sensors rather than just one per boot like with the assert which stops the boot at the point of failure.

Fixed under https://github.com/open-power/hostboot/commit/1c93d08e53678c1767a4b016dee32380aedd514a


Netlify can't find plugin in registry

Deploying a Gatsby site using gatsby-plugin-module-resolver on Netlify fails with the following message:
11:54:35 PM: error Couldn't find the "gatsby-plugin-module-resolver" plugin declared in "/opt/build/repo/gatsby-config.js".
11:54:35 PM: Tried looking for a local plugin in /opt/build/repo/plugins/gatsby-plugin-module-resolver.
11:54:35 PM: Tried looking for an installed package in the following paths:
11:54:35 PM:  - /opt/build/repo/node_modules/gatsby/dist/bootstrap/load-themes/node_modules/gatsby-plugin-module-resolver
11:54:35 PM:  - /opt/build/repo/node_modules/gatsby/dist/bootstrap/node_modules/gatsby-plugin-module-resolver
11:54:35 PM:  - /opt/build/repo/node_modules/gatsby/dist/node_modules/gatsby-plugin-module-resolver
11:54:35 PM:  - /opt/build/repo/node_modules/gatsby/node_modules/gatsby-plugin-module-resolver
11:54:35 PM:  - /opt/build/repo/node_modules/gatsby-plugin-module-resolver
11:54:35 PM:  - /opt/build/node_modules/gatsby-plugin-module-resolver
11:54:35 PM:  - /opt/node_modules/gatsby-plugin-module-resolver
11:54:35 PM:  - /node_modules/gatsby-plugin-module-resolver
11:54:35 PM: not finished open and validate gatsby-configs - 0.038s

Any ideas why this would happen? Looks fine to me, looking it up on npm and locally it installs fine.

Hi @jakeherp ,
Is it in your dependency list in package.json?

Oh man, it was definitely too late yesterday 😁
Probably lost it in a merge conflict, this was of course the case. Closing this now.


Testing Boxen with Travis

Travis CI now has OSX images for objective-c testing. So theoretically, you could do a basic smoke test of running the script/boxen after a change to make sure you didn't break anything. I'm going to see if it's possible this weekend.
If I can get a working version going I'll open a PR :+1:

#364 and #713 is where activity to support this is happening— @petems mind closing this one?

Closing this in favor of the work happening in the issues mentioned above.


Remove unnecessary 'unsafe' blocks

This will bump up the minimum required Rust version again, to 1.25. I would like to hold off on that for now since people have complained about it in the past.

Ah. Didn't realize. I just noticed the warning when I went to upgrade rand. Fair enough.


Gitignore auth.json

Classic, must be going blind. I integrate this and re-release now that it seems to work.

314a3f1


Ability to pass ef_search parameter in the query

Currently ef_search is a static setting passed at index creation time. ef_search is something that could be changed per query. This issue is to provide support to mention ef_search in the query along with the k.  If ef_search is not specified in the query, fall back to the index settings.
Example query would look like
"query": {
  "knn": {
   "my_vector": {
     "vector": [3, 4],
     "k": 2,
     "ef_search": 1024
   }
  }
 }

TODO:

Add ef_search into KNNQuery
Adapt loadIndex API to receive ef_search from query.


Conduit.json.postman_collection: POST /articles - body should have "description"

Good catch - thanks! 🍻


More elegant application of antd

Ant Design is really nice, a very comprehensible collections of components, styles, grids, etc.
The only problem I am seeing is the big >400Kb of css styling the example is downloading from a CDN.
There should be a way to only include in the CSS those styles we need.  They recommend using babel-plugin-import

This demo is failing due to transform-decorators-legacy is not found.

Me too, for the moment I just import the CSS as a string and add it to the JSX.
import antdStyles from 'antd/lib/style/index.css';
import datePickerStyle from 'antd/lib/date-picker/style/index.css';

// ...

<style jsx global>{`
    ${antdStyles}
    ${datePickerStyle}
    ...
`}</style>


Add GDPR.md

Docs Build status updates of commit 41627c9:
:clock10: Pending: waiting for processors (7 builds ahead of you)
:warning: Docs Build is busy, currently there are 7 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 41627c9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

DocsLegal/GDPR.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


how to backup and restore Python and Packages

After installation of numpy-1.18.1-cp35-cp35m-win_amd64.whl package in Python 3.5 (machine learning sevrices for windows x64, SQL Management Studio v17.9.1, MSSQL Server 2017) I recieved the error:
Unable to communicate with the runtime for 'Python' script. Please check the requirements of 'Python' runtime.

If will not be able to fix the problem, I would prefer not to reinstall ML Server from scratch, but restore Python and its packages from backup.
Is there a method of backup and restore Python and Packages?
May be, it is sufficient to backup and restore some Python folders like:
C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\PYTHON_SERVICES\

Thank you very much.

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

ID: 10a1a190-9335-9d2d-c664-9b91c9be8cf0
Version Independent ID: c9e23f38-b817-bf96-453a-3c7171501dd3
Content: Install on Windows - SQL Server Machine Learning Services
Content Source: docs/machine-learning/install/sql-machine-learning-services-windows-install.md
Product: sql
Technology: machine-learning
GitHub Login: @cawrites
Microsoft Alias: chadam

@AlexIvanovCoder -- thank you for your question.  Please try these resources:

DBA Stack Exchange
Stack Overflow

You are welcome to leave feedback here:

SQL Server Feedback

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.
cc @cawrites for awareness


Error when running spc.est_spectra

Hello!
Congrats and thanks for your work! A few days ago I read your group's tweet and thought SPECTRA is exactly what I need for my data.
I am trying to disentangle CD8 activation/TCR reactivity vs exhaustion. I apologize in advance for the naive question, I am an R user.
I used Seurat to analyze my data, then saved the single cell object as h5ad file. Here is my script:
import os
import pandas as pd
from spectra import spectra as spc
import scanpy

os.getcwd()
adata = scanpy.read_h5ad("CD8_ad.h5ad")
pal_ident = ["#F0E442","#E69F00", "#009E73", "#56B4E9" ] #custom palette for clusters
adata.uns['clusters']= pal_ident
scanpy.pp.highly_variable_genes(adata)

then following (don't know if I followed properly) your README file I did:
gene_set_annotations = {"global": {"global_ifn_II_response" : ["CIITA", "CXCL10"] , "global_MHCI": ["HLA-A", "HLA-B", "HLA-C"] },
                        "CD8_T": {"CD8_tex": ['TOX', 'LAG3', 'PDCD1', 'HAVCR2', 'EOMES', 'ID2', 'CD244', 'NR4A3', 'NR4A2', 'NR4A1',
                                              'CXCL13', 'IRF4','PRDM1'],
                                  "CD8_reac": ['MKI67', 'TNFRSF9', 'TNFRSF18', 'GZMA', 'IFNG', 'ENTPD1', 'ITGAE', 'CXCL13']}
}
model = spc.est_spectra(adata = adata,  gene_set_dictionary = gene_set_annotations, cell_type_key = "clusters", use_highly_variable = True, lam = 0.01)

At first I had not included "global" (since I am only interested on CD8), but I was getting
 KeyError: 'global'
Including the "global" variable the function runs till ~30% and then throws this error:
ValueError: operands could not be broadcast together with shapes (15486,9) (1,6)

I think I understand the type of error but not how to fix it. Hope you can help!
Best,
Francesco

Hi Francesco,
We're aware of this issue and working on a fix. I believe it is caused by a cell type appearing in the input dictionary (either L or the gene set dictionary) that doesn't appear in the AnnData

Ok, I am glad to hear that I have not done some dumb mistake. Would you mind write here once the issue is fixed?
Thank you!

Hi Francesco,
I agree with Russell. This is most likely caused by a mismatch between the dictionary and adata cell types which have to be identical. We have realized that we provided too little detail in our old tutorial and we have now expanded this. I think it might help you resolve your issue:
https://github.com/dpeerlab/spectra/blob/main/notebooks/example_notebook.ipynb
We are still debating whether to make the est_spectra correct a mismatched gene set annotation dictionary automatically. It may not be desirable because that would require est_spectra to append missing cell types and might run with other gene sets than the user thinks it does.  E.g.  If you make a typo in a cell type label (e.g. in adata 'CD8T' and in dictionary 'CD8-T') est_spectra  would have to discard the gene sets under 'CD8-T' in your gene set annotation dictionary.
The tutorial now includes guidance how to vet the gene set annotation dictionary before running the method.
Let me know if that helps.
Thank you,
Thomas

Thank you so much!
Your explanation solved my issue and also it seems that for my data spectra works better than the algorithms I was using to calculate the module scores!!

Great, thank you for your feedback Francesco :)!

Hello @france-hub, did you, by any chance, download the [example_notebook.ipynb] (https://github.com/dpeerlab/spectra/blob/main/notebooks/example_notebook.ipynb); if so, could you share it, please? I want to get started with Spectra but have not found a more detailed tutorial.
Thanks in advance!