The official 2.x installation and project creation guide says use vue serve but this doesn't work

Version
4.5.7
Environment info
System:
    OS: macOS 10.15.7
    CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
  Binaries:
    Node: 12.6.0 - ~/.nvm/versions/node/v12.6.0/bin/node
    Yarn: 1.22.4 - ~/.nvm/versions/node/v12.6.0/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v12.6.0/bin/npm
  Browsers:
    Chrome: 86.0.4240.80
    Edge: Not Found
    Firefox: 81.0.1
    Safari: 14.0
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-helper-vue-transform-on:  1.0.0-rc.2
    @vue/babel-plugin-jsx:  1.0.0-rc.3
    @vue/babel-plugin-transform-vue-jsx:  1.1.2
    @vue/babel-preset-app:  4.5.7
    @vue/babel-preset-jsx:  1.1.2
    @vue/babel-sugar-functional-vue:  1.1.2
    @vue/babel-sugar-inject-h:  1.1.2
    @vue/babel-sugar-v-model:  1.1.2
    @vue/babel-sugar-v-on:  1.1.2
    @vue/cli-overlay:  4.5.7
    @vue/cli-plugin-babel: ~4.5.0 => 4.5.7
    @vue/cli-plugin-eslint: ~4.5.0 => 4.5.7
    @vue/cli-plugin-router:  4.5.7
    @vue/cli-plugin-vuex:  4.5.7
    @vue/cli-service: ~4.5.0 => 4.5.7
    @vue/cli-shared-utils:  4.5.7
    @vue/component-compiler-utils:  3.2.0
    @vue/preload-webpack-plugin:  1.1.2
    @vue/web-component-wrapper:  1.2.0
    eslint-plugin-vue: ^6.2.2 => 6.2.2
    vue: ^2.6.11 => 2.6.12
    vue-eslint-parser:  7.1.1
    vue-hot-reload-api:  2.3.4
    vue-loader:  15.9.3 (16.0.0-beta.8)
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.6.11 => 2.6.12
    vue-template-es2015-compiler:  1.9.1
  npmGlobalPackages:
    @vue/cli: 4.5.7

Steps to reproduce
As per the docs:
npm install -g @vue/cli
npm i -g @vue/cli-init <-- this bit is required but isn't documented
vue create vuetest <-- select all defaults
cd vuetest
npm install
vue serve <-- as per the documentation
What is expected?
Should serve the app as documented.
What is actually happening?
Get error: Failed to locate entry file in /Users/me/repo/vuetest/vuetest. Valid entry file should be one of: main.js, index.js, App.vue or app.vue.

The cli tells us to use yarn serve. If that's the preferred way then the documentation should be updated. Most people are going to be looking at the docs as their entry point into learning.

Which part of the documentation refers to vue serve?

This bit:
https://cli.vuejs.org/guide/prototyping.html

I'm sorry if the documentation is a little bit misleading here. It is meant for "rapidly prototype with just a single *.vue file". For project usage, please follow the README of the generated project, which recommends yarn serve.
We'll alias vue serve to yarn serve in the next major version.


example in docs for reading the data file

Looking through the docs, especially the Get Started part, I notice no example of reading the data file and using the data.  Any good examples already somewhere?

@bblais thanks for your interest in ASDF! I apologize for the sparse documentation: one of my goals over the next month or so is to substantially improve it and provide more examples.
In the meantime, here is an example of creating a fairly simple hierarchical data set, writing it out to a file, and reading it back in:
>>> import asdf
>>> import numpy as np

>>> data = {'D1': np.linspace( 0, 100, 8*4,).reshape(8, 4),
            'D2': np.linspace( 0, 100, 10*5, ).reshape(10, 5),
            'ND': {'D1': np.linspace( 0, 100, 10*5,).reshape(10, 5),
                   'D2': np.linspace( 0, 100, 8*4,).reshape(8, 4), }}

# Writing data to file on disk
>>> outfile = asdf.AsdfFile(data)
>>> outfile.write_to('data.asdf')

# Reading data from file on disk
>>> infile = asdf.open('data.asdf')
>>> infile.tree
{'D1': <array (unloaded) shape: [8, 4] dtype: float64>,
 'D2': <array (unloaded) shape: [10, 5] dtype: float64>,
 'ND': {'D1': <array (unloaded) shape: [10, 5] dtype: float64>,  'D2': <array (unloaded) shape: [8, 4] dtype: float64>}}
# Data arrays can be accessed hierarchically from the top-level tree:
>>> infile.tree['D1']
array([[   0.        ,    3.22580645,    6.4516129 ,    9.67741935],
       [  12.90322581,   16.12903226,   19.35483871,   22.58064516],
       [  25.80645161,   29.03225806,   32.25806452,   35.48387097],
       [  38.70967742,   41.93548387,   45.16129032,   48.38709677],
       [  51.61290323,   54.83870968,   58.06451613,   61.29032258],
       [  64.51612903,   67.74193548,   70.96774194,   74.19354839],
       [  77.41935484,   80.64516129,   83.87096774,   87.09677419],
       [  90.32258065,   93.5483871 ,   96.77419355,  100.        ]])
>>> infile.tree['ND']
{'D1': <array (unloaded) shape: [10, 5] dtype: float64>,
 'D2': <array (unloaded) shape: [8, 4] dtype: float64>}

Please let me know if you have any other questions or would like any more specific examples.

Thanks!
The one example that I would like to know right now is how to load all of the tree at once, rather than just as referenced.  If I have:

data={'X':[np.random.rand(40,40) for _ in range(10)]}

to be able to load the whole thing, so that my loaded data structure is the same as the saved one.

@bblais I'm actually not aware of a way to force-load all arrays in the tree. The contents of arrays are lazy-loaded when they are accessed. However, I'm interested in your use case since I'm not sure if we have considered scenarios where lazy-loading is not acceptable. Can you provide more context? We can consider adding this as a feature in future versions if it seems useful.

I'll have to play with this for a while to see - my first use-case turned out to not really matter, I just had to think in a different way.  If I come up with a better one I'll let you know!  Thanks!


example of 'spreadsheet' like inline editable grid

I played around a bit with the table as div demo to try to make it into a 'spreadsheet like' editable grid. The results are in this jsfiddle (http://jsfiddle.net/bwestrich/o2Lfxxre/) in case you want to spruce up its css and/or add it to the list of official examples.  -- Brian

Here is an example of the headers and cells being different sizes (using Chrome as browser, viewing page http://obogo.github.io/ux-angularjs-datagrid/)

I've tried to duplicate what you are seeing above? Do you have any steps to duplicate this?
I've even tried chrome on different scale factors and still I am not able to duplicate this issue.


Remove cfg-if and noop-proc-macro crates

This isn't very important, but it feels like these crates don't add much value in this project. I guess they were used in rav1e and just kept as-is?
I think that cfg-if is unnecessary for simple cfg attributes like this, and the noop_proc_macro is used so rarely that it barely reduces the amount of code.

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (a52f1d3) 65.91% compared to head (019ca8a) 65.58%.

Files
Patch %
Lines

src/plane.rs
0.00%
2 Missing :warning:

src/frame.rs
0.00%
1 Missing :warning:

src/pixel.rs
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
- Coverage   65.91%   65.58%   -0.34%
==========================================
  Files           4        4
  Lines         980      985       +5
==========================================
  Hits          646      646
- Misses        334      339       +5

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

We'd need to add a wasm target and serialize/deserialize tests to make sure we do not break stuff.
If it makes a v_frame consumer lighter it could land, but I'd rather not risk breaking stuff we hardly test.

I think these macros are just helpers to simplify #[cfg] attributes and the serde/wasm_bindgen derives. I might be missing something, but I'm pretty sure these don't influence the functionality at all.
cargo expand shows that the resulting code is effectively the same even for different feature and target (wasm) compilations.

I mean in the future, not having to sprinkle cfg_attr across the codebase is nice since you cannot miss one when you add code.

Ah, I see what you mean. I think the risk of that is relatively low, but if it's a point of concern then feel free to close this.

Can we add in Continuous Integration a test for wasm target in order to be sure not to break anything?

Can we add a wasm target job on Continuous Integration so that we are sure not to break anything?

I think expanding the CI tests makes sense. Can you open an issue for it? It's a bit out of scope for this PR.

@FreezyLemon
Can this one be unblocked due to https://github.com/rust-av/v_frame/commit/ac336887cc3103a5dfcd34a26c4d640a17f93659?

Small hiccup while rebasing, should be good now.


Literally "Select all"

VSCode Version: 1.4.0
OS Version: Windows 10 Enterprise 2015 LTSB

Steps to Reproduce: Sorry, I can't really reproduce it.
If I select all text in a tab sometimes VS Code also selects the text from other tabs and from the terminal too. If I switch to another tab, switch back, deselect the text and select it again it just works fine.

How do you select all? Ctrl + A?

Yes.

@Phisherman Is the mouse involved somehow when you hit this problem? i.e. is the selection you see looking like a "browser" selection:

In my humble opinion it looked like the regular VS Code selection.
For the sake of completeness: The dev console didn't show an error.

This is the handler for selectAll - https://github.com/Microsoft/vscode/blob/master/src/vs/editor/common/config/config.ts#L489 -
function selectAll(accessor: ServicesAccessor, args: any): void {
	let HANDLER = editorCommon.Handler.SelectAll;

	let focusedEditor = findFocusedEditor(HANDLER, accessor, false);
	// Only if editor text focus (i.e. not if editor has widget focus).
	if (focusedEditor && focusedEditor.isFocused()) {
		focusedEditor.trigger('keyboard', HANDLER, args);
		return;
	}

	// Ignore this action when user is focussed on an element that allows for entering text
	let activeElement = <HTMLElement>document.activeElement;
	if (activeElement && ['input', 'textarea'].indexOf(activeElement.tagName.toLowerCase()) >= 0) {
		(<any>activeElement).select();
		return;
	}

	// Redirecting to last active editor
	let activeEditor = getActiveEditor(accessor);
	if (activeEditor) {
		activeEditor.focus();
		activeEditor.trigger('keyboard', HANDLER, args);
		return;
	}
}

Closing since we have removed the when clause

Issue with steps: #10222


<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Is this a bug report?
yes
Have you read the Installation Instructions?
Yes
Environment
react-native: 0.53.3
react: 16.2.0

Steps to Reproduce
npm install expo@latest #<EMAIL_ADDRESS>
Actual Behavior
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

https://github.com/react-community/react-native-maps/blob/v0.19.0/package.json#L36

├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ └──<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

Had the same problem as yours, solver it by changing dependencies in package.json manually:
Was:
"dependencies": {
    "react": "16.3.0-alpha.1",
    "react-native": "0.54.0",
    "react-native-maps": "0.20.1"
  },

Changed to
"dependencies": {
    "react": "16.0.0",
    "react-native": "0.51.0",
    "react-native-maps": "0.20.1"
  },

Then ran npm install.

Fixed was landed in master branch (https://github.com/react-community/react-native-maps/commit/53b374b189599590fc5a5c20c0468f22c1e80598). Waiting for next release.


Update 5-secure-access-b2b.md

Minor update.
Just a small tweak caps on 'AD' instead of 'Ad'.

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

Looks good; thanks @tiagocostapt.


rtl8723bs: improved build and split off firmware

Tested on NextThingCo CHIP (armv7l) and Intel ComputeStick (x86_64).
I split the firmware into its own package because, as I understand it, binary firmware can not be GPLed, as the rest of the code is.
I added this firmware to the list enabled by "all" in nixos; I don't know if that's appropriate.
To enable in configuration.nix for testing:
hardware.firmware = [ pkgs.rtl8723bs-firmware ];
boot.extraModulePackages = [ config.boot.kernelPackages.rtl8723bs ];

I believe this is how it should be done; please correct me if I'm wrong.

The build is failing because the kernel compilation is pushing the build time past the limit. I tried rebasing to a released (and presumably cached) commit, to no avail. I don't understand what is triggering the full kernel rebuild.
How do I avoid the kernel rebuild but test the module build?


Inga/mobilebetting

Functionality for mobile betting:
KNOWN BUG: embed betting M$ is off

This looks really good! I'll review the code changes tomorrow. Thanks, Inga!

Just checked out the branch to see how it looks, and I think it's great! Thanks Inga!
We should definitely ship this as soon as possible because it's a big improvement. We can iterate based on further feedback from Austin and/or the community as that feedback comes in.
Nitpicks that I have:

The YES and NO buttons seem a little bit too close to the graph, maybe add a slight bit more margin?
I'm also not sure how clearly the YES/NO buttons are introduced, like maybe you'd want a label for them? I think users will understand once they click them, but not so sure otherwise.
The QTY label for shares in the Sell dialog is too close to the number:

We could also consider restyling the desktop bet panel to match this design, as a followup. Personally, I think we could even just use this exact design with YES and NO buttons on the center panel, and remove the whole third column on desktop, which is intimidating for causal users. I always thought having three columns didn't fit Manifold's vision of being accessible.


A database name is required in the connection string for mysql

Description
Given the following datasource
datasource db {
  provider = "mysql"
  url      = "mysql://root:mysql@localhost:4567"
}

The Prisma Client will fail when querying with the following error:
No database found in connection string
    at PrismaClientFetcher.request (/private/var/folders/wt/rlkwn4mn2872qwqjyykz191m0000gn/T/42370039614111343/mysql/node_modules/@prisma/client/index.js:92:17)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

I believe it should use the default database when none in inputted (namely, mysql)
Notes

It does work with prisma2 migrate without a database name, and does migrate to the default mysql database

We throw this error now with migrate which I believe sums it up why we shouldn't do this. I am going to close this:

What does Client do here? Seems like we are actually defaulting to mysql as the database, and only Migrate has a fail safe for that case - protecting the user from harm.

@janpio Client doesn't throw anything and which is fine. It is alright to read from this table but it is not good to alter these tables like with migrate.


Edge case for recommended way to define has_many

The official way to define has_many based on the documentation here, is by using after(:create) callback:
FactoryBot.define do
  factory :post do
    body { "nice!" }
  end

  factory :user do
    trait :with_post do
      after(:create) do |user|
        create(:post, user: user)
      end
    end
  end
end

Bur if we're doing something to the association before we save the object like:
class User < ApplicationRecord
  has_many :posts
  validate :post_validity

  def post_validity
    posts.all? &:valid?
  end
end

then in the spec
user = create(:user, :with_post)
user.posts #=> []

expectation
user.post #=> [Post]

I think it was because user.posts got cached when after(:create) being executed
I can solve it by doing
  factory :user do
    trait :with_post do
      after(:create) do |user|
        create(:post, user: user.reload)
      end
    end
  end

but is there any better way?

Thanks for the issue! This came up back in https://github.com/thoughtbot/factory_bot/issues/549, and is ultimately related to improving support for collection associations, currently being tracked with https://github.com/thoughtbot/factory_bot/issues/458

We have updated the documentation to include alternate approaches, and to mention that you may need to reload the record in some cases when using after(:create).


git clone error

C:\Users\alla>git clone --recursive https://github.com/MohammadMDSA/Darius.git
Cloning into 'Darius'...
remote: Enumerating objects: 20507, done.
remote: Counting objects: 100% (7052/7052), done.
remote: Compressing objects: 100% (2390/2390), done.
remote: Total 20507 (delta 4718), reused 6892 (delta 4603), pack-reused 13455 (from 1)
Receiving objects: 100% (20507/20507), 209.18 MiB | 4.91 MiB/s, done.
Resolving deltas: 100% (14233/14233), done.
Updating files: 100% (2164/2164), done.
Filtering content: 100% (20/20), 528.49 MiB | 8.62 MiB/s, done.
Submodule 'DariusHeaderTool' (https://github.com/MohammadMDSA/DariusHeaderTool) registered for path 'DariusHeaderTool'
Submodule 'Demo/Assets/PolygonMilitary' (https://github.com/MohammadMDSA/Darius-Polygon-Military.git) registered for path 'Demo/Assets/PolygonMilitary'
Submodule 'src/Libs/DirectXTK12' (https://github.com/microsoft/DirectXTK12.git) registered for path 'src/Libs/DirectXTK12'
Submodule 'src/Libs/DirectXTex' (https://github.com/microsoft/DirectXTex) registered for path 'src/Libs/DirectXTex'
Submodule 'src/Libs/StringId' (https://github.com/foonathan/string_id.git) registered for path 'src/Libs/StringId'
Submodule 'src/Libs/enkiTS' (https://github.com/dougbinks/enkiTS) registered for path 'src/Libs/enkiTS'
Submodule 'src/Libs/fjs' (https://github.com/MohammadMDSA/fiber-job-system) registered for path 'src/Libs/fjs'
Submodule 'src/Libs/imgui_wrapper/ImGuiFileDialog' (https://github.com/aiekick/ImGuiFileDialog.git) registered for path 'src/Libs/imgui_wrapper/ImGuiFileDialog'
Submodule 'src/Libs/imgui_wrapper/implot' (https://github.com/epezent/implot.git) registered for path 'src/Libs/imgui_wrapper/implot'
Cloning into 'C:/Users/alla/Darius/DariusHeaderTool'...
remote: Enumerating objects: 6994, done.
remote: Counting objects: 100% (401/401), done.
remote: Compressing objects: 100% (136/136), done.
remote: Total 6994 (delta 277), reused 358 (delta 251), pack-reused 6593 (from 1)
Receiving objects: 100% (6994/6994), 415.18 MiB | 5.58 MiB/s, done.
Resolving deltas: 100% (4957/4957), done.
Cloning into 'C:/Users/alla/Darius/Demo/Assets/PolygonMilitary'...
info: please complete authentication in your browser...
remote: Repository not found.
fatal: repository 'https://github.com/MohammadMDSA/Darius-Polygon-Military.git/' not found
fatal: clone of 'https://github.com/MohammadMDSA/Darius-Polygon-Military.git' into submodule path 'C:/Users/alla/Darius/Demo/Assets/PolygonMilitary' failed
Failed to clone 'Demo/Assets/PolygonMilitary'. Retry scheduled
Cloning into 'C:/Users/alla/Darius/src/Libs/DirectXTK12'...
remote: Enumerating objects: 9413, done.
remote: Counting objects: 100% (2665/2665), done.
remote: Compressing objects: 100% (663/663), done.
remote: Total 9413 (delta 2297), reused 2249 (delta 1999), pack-reused 6748 (from 1)
Receiving objects: 100% (9413/9413), 7.19 MiB | 3.92 MiB/s, done.
Resolving deltas: 100% (8155/8155), done.
Cloning into 'C:/Users/alla/Darius/src/Libs/DirectXTex'...
remote: Enumerating objects: 7744, done.
remote: Counting objects: 100% (952/952), done.
remote: Compressing objects: 100% (450/450), done.
remote: Total 7744 (delta 709), reused 683 (delta 498), pack-reused 6792 (from 1)
Receiving objects: 100% (7744/7744), 5.70 MiB | 3.51 MiB/s, done.
Resolving deltas: 100% (6056/6056), done.
Cloning into 'C:/Users/alla/Darius/src/Libs/StringId'...
remote: Enumerating objects: 294, done.
remote: Total 294 (delta 0), reused 0 (delta 0), pack-reused 294 (from 1)
Receiving objects: 100% (294/294), 58.90 KiB | 14.73 MiB/s, done.
Resolving deltas: 100% (198/198), done.
Cloning into 'C:/Users/alla/Darius/src/Libs/enkiTS'...
remote: Enumerating objects: 3381, done.
remote: Counting objects: 100% (612/612), done.
remote: Compressing objects: 100% (136/136), done.
remote: Total 3381 (delta 508), reused 557 (delta 471), pack-reused 2769 (from 1)
Receiving objects: 100% (3381/3381), 682.40 KiB | 5.37 MiB/s, done.
Resolving deltas: 100% (2407/2407), done.
Cloning into 'C:/Users/alla/Darius/src/Libs/fjs'...
remote: Enumerating objects: 383, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 383 (delta 1), reused 5 (delta 1), pack-reused 375 (from 1)
Receiving objects: 100% (383/383), 63.60 KiB | 12.72 MiB/s, done.
Resolving deltas: 100% (205/205), done.
Cloning into 'C:/Users/alla/Darius/src/Libs/imgui_wrapper/ImGuiFileDialog'...
remote: Enumerating objects: 3974, done.
remote: Counting objects: 100% (2220/2220), done.
remote: Compressing objects: 100% (1005/1005), done.
remote: Total 3974 (delta 1274), reused 1884 (delta 1197), pack-reused 1754 (from 1)
Receiving objects: 100% (3974/3974), 13.64 MiB | 5.76 MiB/s, done.
Resolving deltas: 100% (2262/2262), done.
Cloning into 'C:/Users/alla/Darius/src/Libs/imgui_wrapper/implot'...
remote: Enumerating objects: 2574, done.
remote: Counting objects: 100% (783/783), done.
remote: Compressing objects: 100% (75/75), done.
remote: Total 2574 (delta 730), reused 712 (delta 708), pack-reused 1791 (from 1)
Receiving objects: 100% (2574/2574), 1.58 MiB | 5.39 MiB/s, done.
Resolving deltas: 100% (1672/1672), done.
Cloning into 'C:/Users/alla/Darius/Demo/Assets/PolygonMilitary'...
info: please complete authentication in your browser...
remote: Repository not found.
fatal: repository 'https://github.com/MohammadMDSA/Darius-Polygon-Military.git/' not found
fatal: clone of 'https://github.com/MohammadMDSA/Darius-Polygon-Military.git' into submodule path 'C:/Users/alla/Darius/Demo/Assets/PolygonMilitary' failed
Failed to clone 'Demo/Assets/PolygonMilitary' a second time, aborting

Hi,
The submodule is another repo of mine which contains premium content of an Unrean Marketplace package, so I made it private. Just clone the repo and exclude Darius Polygon Military.

How can I exclude it?
I used
git clone https://github.com/MohammadMDSA/Darius.git
git submodule update --init --recursive
but same error

Based on the log you sent, I believe you have already cloned the whole repo recursively except the private one.

how to exclude submodule PolygonMilitary only?

This thread should help; however, as I mentioned, you already might have cloned all the repos excluding the private one since the only error you got cloning it the first time was the private submodule.


[leave-open] Don't nag on stalled bugs

For reference:
https://bugzilla.mozilla.org/show_bug.cgi?id=1547561#c29

Coverage remained the same at 25.005% when pulling 750d45c49504d577d4cfde2268a2f6150ad5325b on calixteman:fix_leaveopen_stalled into 47c13a120e05dfe54dcc46c420ee9921ad77633e on mozilla:master.


[Transaction] Fix transaction flaky test testMaxReadPositionForNormal…

Motivation
fix flaky test https://github.com/apache/pulsar/issues/12671

@congbobo184 could you please add more context about the flaky test and how it will be fixed by this PR?


update readme

Issue #104

Changes
components -> component
added some necessary punctuations
changed 'contributors welcome' -> 'Contributions to this repository are welcome!'
Flags

Related Issues

Issue #
Pull Request #

Also, you'll want to add a DCO (Developers Certificate of Originality) per the instructions:

Ensure you provide a DCO sign-off for your commits using the -s option of git commit. For more information see how this works.

Let me close this PR and start afresh!


fix(behavior_path_planner): resample path in the route

Description
Resampled path_with_lane_id is supposed to be used, but actually not used.

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@rej55 @TakaHoribe Could you review the PR.
I will confirm the planning simulator works well with the PR.

@VRichardJP I also expected the warning. I'm not sure why.

Is it a bug from GCC?
If I try something like this:
  const auto resampled_path_with_lane_id = motion_utils::resamplePath(
    raw_path_with_lane_id, parameter.input_path_interval, parameter.enable_akima_spline_first);
  const auto test = malloc(1);
  return raw_path_with_lane_id;

I get the error:
/home/sig/autoware/src/universe/autoware.universe/planning/behavior_path_planner/src/utilities.cpp: In function ‘autoware_auto_planning_msgs::msg::PathWithLaneId behavior_path_planner::util::getCenterLinePath(const route_handler::RouteHandler&, const ConstLanelets&, const Pose&, double, double, const BehaviorPathPlannerParameters&, double)’:
/home/sig/autoware/src/universe/autoware.universe/planning/behavior_path_planner/src/utilities.cpp:1982:14: error: unused variable ‘test’ [-Werror=unused-variable]
 1982 |   const auto test = malloc(1);
      |              ^~~~
cc1plus: all warnings being treated as errors

Somehow resampled_path_with_lane_id is not caught as unused value. I also test with clang, it does not detect this easier.

Today I learned:
https://stackoverflow.com/questions/5302848/g-does-not-show-a-unused-warning


Merging the implentation carried on private branch with updated airavata master

Hi Suresh,
This pull request contains all the work carried on https://github.com/hasinitg/airavata/tree/sprint1_update2, merged with the updated airavata master.
Can you please merge it so that I can proceed with the changes in all the API methods to accept AuthsToken.
Thanks,
Hasini.

Hasini, this PR is now merged, please proceed with the API method changes.

Thanks Suresh.


facade/ignition-contracts abandoned?

This package uses facade/ignition-contracts as a dependency and it seems like it is abandoned. Why?
Because solutions aren't working, see this issue. There is already a pull request, but it seems the package is abandoned

That's fixed.


Includes code for requirejs

OK, never try this on windows.  Worked fine on my mac.  I had to leave the code for requirejs commented out because it breaks your tests.  I have NO idea how to fix that as I'm not familiar with any of your test units.  So I'm committing it in a state that passes all your tests.  I need this for a project I'm working on that uses requirejs, so at least having the code commented out would allow me to distribute and just make people uncomment the 3 lines for requirejs.
Sorry for the confusion, I seriously thought this was going to be a really simple pull request.

I decided to switch to browserify, that breaks your build too.  I have no way to contribute to you I don't think, your builds are entirely to fragile haha

this worked for me with browserify https://gist.github.com/nescalante/becbdb95e316fae88ca398713d2dfa29

I changed the way you use it from browserify,
just do require('knockout.contextmenu') and that will create the bindingHandler

Awesome!  Sorry to have been a pain.  Your style is polar opposite from what I'm used to, and I'm hopped up on cold meds.  You have been awesome, thanks for your patience!  I'll give this a go tonight and see how it works for me.  This has been a great learning experience for me.  I even switched my current project to Travis ci :)

I first wrote this package ~3 years ago, lot of things have changed from there.
This is not my coding style anymore so I understand your point.
Thanks for contributing (or trying to) anyway 😃


Error with Matrix nightly (since transitioning to Python3)

Bug report
Your Environment

Netflix add-on version: 16.1
Operating system version/name: Android 8.0 Oreo
Device model:  Sony BRAVIA KD65-XF9005 (FW 6.6545)

Used Operating system:

[X] Android

Describe the bug
Netflix has been broken for me on Kodi 19 nightlies since transitioning to Python3. I did a fresh install and properly applied ESN. Still does not work. There is always an error during Netflix startup.
Steps to reproduce the behavior

Install Matrix nightly (e.g. kodi-20191217-cba7e017-master-armeabi-v7a) on Sony BRAVIA with Android TV
Start Kodi - error occurs during Netflix startup or when trying to play some video

Debug log
The debug log can be found from this link: CLICK
019-12-18 18:55:40.876 T:21331   ERROR: EXCEPTION: argument "init" for "GetKeyRequest" must be a string or a bytearray
...
2019-12-18 18:55:40.876 T:21331   ERROR: EXCEPTION: argument "init" for "GetKeyRequest" must be a string or a bytearray
2019-12-18 18:55:50.532 T:21331   ERROR: [plugin.video.netflix (0)] Traceback (most recent call last):
    File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.netflix/resources/lib/services/msl/msl_handler.py", line 80, in __init__
                                                self.check_mastertoken_validity()
    File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.netflix/resources/lib/services/msl/msl_handler.py", line 103, in check_mastertoken_validity
                                                if self.perform_key_handshake():
    File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.netflix/resources/lib/services/msl/msl_handler.py", line 51, in error_catching_wrapper
                                                return func(*args, **kwargs)
    File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.netflix/resources/lib/common/misc_utils.py", line 264, in timing_wrapper
                                                return func(*args, **kwargs)
    File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.netflix/resources/lib/services/msl/msl_handler.py", line 123, in perform_key_handshake
                                                self.request_builder.handshake_request(esn)))
    File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.netflix/resources/lib/common/misc_utils.py", line 264, in timing_wrapper
                                                return func(*args, **kwargs)
    File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.netflix/resources/lib/services/msl/request_builder.py", line 58, in handshake_request
                                                compression=None, esn=esn).encode('utf-8')).decode('utf-8'),
    File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.netflix/resources/lib/services/msl/request_builder.py", line 94, in _headerdata
                                                header_data['keyrequestdata'] = self.crypto.key_request_data()
    File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.netflix/resources/lib/services/msl/android_crypto.py", line 62, in key_request_data
                                                bytes([10, 122, 0, 108, 56, 43]), 'application/xml', True, dict())
    TypeError: argument "init" for "GetKeyRequest" must be a string or a bytearray

Until Kodi 19 remains in apha phase, it's not a priority
python 3 on kodi 19 is not yet stable on all platforms kodi devs still working on it
can you give availability to test both versions (kodi 18 and 19) on android?

can you give availability to test both versions (kodi 18 and 19) on android?

Yes I can.

Here:
plugin.video.netflix_0.16.1_20191221.zip
let me know on both Kodi's

18.5: Error when trying to play video (LOG)
20191220-c0cd2956: working (up to 4K with HDR, including Dolby Vision)
One thing I noticed with nightly was that Netflix service startup took much longer on the nightly compared to 18.5.

Here, now should working on both versions
plugin.video.netflix_0.16.1_20191221_t2.zip

if it is slow, you can try purge cache (mem and on disk) on addon expert settings
it could be that the cache stored by Kodi 18 creates problems

t2 gives me an error on installation:
2019-12-21 17:43:38.033 T:9113   ERROR: CAddonInstallJob[plugin.video.netflix]: The dependency on script.module.addon.signals version 0.0.3 could not be satisfied.

I didn't touch the dependecies, so there is a problem in your kodi
to my android install works

I did a fresh Kodi install as rollback from nightly to 18.5 does not work anyway. Something seems to have gone wrong. I now did another Kodi reinstall and now it works. t2 plays stuff fine now too on 18.5.
Nightly also still works with t2.
Tried the cache purging thing with nightly too but it does not fix the slow Netflix service startup. It takes another 20s after Kodi is fully up.

I now measured Kodi+Netflix service startup on fresh installs without configuring Netflix (not logged in a.s.o.).
Kodi Leia 18.5: <10s
Kodi Matrix 20191220-c0cd2956: ~30s

the loading time unfortunately depends on the weight of the libraries and the device. With the switch to python 3 some libraries have become more heavy,
i don't exclude some Python 3 issue with Kodi19 not yet resolved
even on my device it charges slower with Kodi 19, but it takes about:
3 seconds to show service ready message
8 seconds first addon run
on smarthphone (android 8.0), fresh install
in daily build you can get updated version with others py3 fixes

I see. Also Amazon VOD is painfully slow to navigate. Looks like we are still far away from a stable Py3.

Closed main problem is solved

Netflix add-on gets disabled with recent Matrix nightlies. Suppose it is due to this commit.


PowerToys Run [Alt+Space] throws ArgumentException

Microsoft PowerToys version
<IP_ADDRESS>
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
PowerToys Run
Steps to reproduce
Pressing Alt+Space
✔ Expected Behavior
Pop up the form to search for an app
❌ Actual Behavior
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: 05/07/2024 15:54:18
Exception:
System.ArgumentException: Value does not fall within the expected range.
at Wox.Plugin.Common.Win32.NativeMethods.DwmSetWindowAttribute(IntPtr hwnd, Int32 attr, UInt32& attrValue, Int32 attrSize)
at PowerLauncher.ViewModel.MainViewModel.ToggleWox()
at PowerLauncher.ViewModel.MainViewModel.b__147_0()
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback)
at PowerLauncher.ViewModel.MainViewModel.OnHotkey()
at PowerLauncher.ViewModel.MainViewModel.ProcessHotKeyMessages(IntPtr wparam, IntPtr lparam)
at PowerLauncher.MainWindow.ProcessWindowMessages(IntPtr hwnd, Int32 msg, IntPtr wparam, IntPtr lparam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Other Software
No response

/dup #33504.
think we have a fix


AVRO-3539: Separate the versions to be installed

When building the website, the current version of the docs needs to be installed in a directory that will not be deleted during the next installation.
We are currently replacing all instances of ++version++ inside the website with the actual version being build.  This proposes to also replace the directory name with ++version++ instead of next.
This will obviously break badly if we ever need to actually use the text ++version++ in the website...
Jira

[ ] My PR addresses the AVRO-3539

This will obviously break badly if we ever need to actually use the text ++version++ in the website...

I guess we can use HTML entities instead of + and all should be fine!


[Feature Request] Add HLS / DASH support

Hi, is it possible tu add support for HLS / DASH Livestreams url / formats (m3u8 / mpd)
That would be Awsome
Thanks

https://www.renderheads.com/content/docs/AVProVideo/articles/supportedmedia.html AVPro should support those stream formats. This is something that USharpVideo does not need to have any special handling for, you just need to select the stream player mode. If it does not work in VRC, it's likely that VRC's url resolving is breaking on those URLs which would need a canny for VRChat to fix on their end.

Hi, thanks for your reply, after extended testing it was because the streaming server soft that i was using was not producing a HLS stream compatible with VRC, i had to use nginx to get one ... but thanks for looking into it :)


KAFKA-9844; Maximum number of members within a group is not always enforced due to a race condition in join group

This patch fixes a race condition in the join group request handling which sometimes results in not enforcing the maximum number of members allowed in a group. The JIRA provides an example: https://issues.apache.org/jira/browse/KAFKA-9844
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

I think that this is the root cause of https://issues.apache.org/jira/browse/KAFKA-7965.

ok to test

@abbccdda Yeah, there is a separate problem discussed in more detail here: https://github.com/apache/kafka/pull/8437.

Thanks @dajac. This fix LGTM. It might be worth taking a look at GroupCoordinatorConcurrencyTest to see if there is a straightforward way to build a test which hits this problem.

@abbccdda @hachikuji I have added a test in GroupCoordinatorConcurrencyTest which reproduce the bug. It was pretty straightforward. The test fails all time without the fix.

ok to test

retest this please

retest this please

retest this please

ok to test

retest this please

@hachikuji Could we get this one merged?

retest this please


Allow index and in operators on result objects Fixes #1

Addresses issue #1 regarding supporting index operators on result objects, and PR #3, regarding the ability to access the raw backing dictionary behind the result object.
cc:
@depau
@shulcsm

This is more or less how i'm working around it now.
Only thing that is concerning is cls here: https://github.com/braintree/braintreehttp_python/pull/4/commits/66f71b684d352754798f065740bc34acd1f63328#diff-7ef5110c909e8aa180525159845421c7L8
Perhaps a way to pass it down from client/request and Result as default

Cool, I'm going to merge this now, and if we decided to add cls later it will be an additive change

Thanks for your help @shulcsm!


Ubuntu1704？

Failed at the<EMAIL_ADDRESS>start script 'electron src/main.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the electronic-wechat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron src/main.js

应该是npm的问题

npm 安装问题，自行解决。


fix: missing plural names changes

Codecov Report

Merging #10 (39a688a) into master (c923be8) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #10   +/-   ##
=======================================
  Coverage   87.70%   87.70%
=======================================
  Files          56       56
  Lines         732      732
  Branches      190      190
=======================================
  Hits          642      642
  Misses         89       89
  Partials        1        1

Impacted Files
Coverage Δ

src/data/spectrumEditedHSQC.ts
100.00% <ø> (ø)

src/data/spectrumHSQC.ts
100.00% <ø> (ø)

src/utilities/signals/getSignals2D.ts
94.59% <100.00%> (ø)

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 c923be8...39a688a. Read the comment docs.


Port remaining docs from the step registry

Ref https://issues.redhat.com/browse/DPTP-1620
Copies the remaining content from the step registries help:

https://steps.ci.openshift.org/help/operators
https://steps.ci.openshift.org/help/examples
https://steps.ci.openshift.org/help/links

/lgtm


execution: Pause/Resume are missing

A way to Pause and Resume a container is missing from the execution service.

Any bike-shedding required to determine the runc names versus docker names for the API? :) Docker has pause/unpause, runc has pause/resume.

no


Adding device after adding one group

I created groups of bulbs on my bridge, a group for each room (I have 40 bulbs in 7 different rooms on one bridge).
When I add a new group to my device list in indigo, everything works properly.  However, if I try to add a second hue device (bulb, or group) then indigo hangs at the point where it is trying to display for me the list of hue devices to choose from.
I can add multiple bulbs no problem, but as soon as I add a group it stops working.
The errors i see in the console are...
  Error                           device "new device" state key onOffState not defined
  Error                           device "new device" state key onOffState not defined
  Error                           device "new device" state key brightnessLevel not defined
  Error                           device "new device" state key brightnessLevel not defined
  Error (client)                  timeout waiting for plugin response from com.nathansheldon.indigoplugin.HueLights for request UiGetValues2
  Error (client)                  timeout waiting for plugin response from com.nathansheldon.indigoplugin.HueLights for request CallPluginFunc
  Error (client)                  runDialogForDevice() caught exception: NSInvalidArgumentException -- *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
  Error                           device "new device" state key onOffState not defined
  Error                           device "new device" state key onOffState not defined
  Error                           device "new device" state key brightnessLevel not defined
  Error                           device "new device" state key brightnessLevel not defined

If you have a good idea of what this might be, then I'd be happy to dig into and send a pull request.
Thanks!

I turned on your debug level logging, when a group is present this message is thrown onto the log repeatedly.  It seems to be stuck in a loop, this message is sent to the log many (I think over 30) times per second for me.
  Hue Lights Debug                Get group status for group 1.
  Hue Lights Debug                Sending URL request: http://<IP_ADDRESS>/api/2ae755060bfe43215963199a75b4b6c6/groups/1
  Hue Lights Debug                Data from hub: {"name":"i.Bedroom","lights":["3","40","27","38","11","19"],"type":"LightGroup","action": {"on":true,"bri":26,"hue":34515,"sat":236,"effect":"none","xy":[0.3138,0.3238],"ct":153,"colormode":"xy"}}
  Hue Lights Debug                didDeviceCommPropertyChange called.
  Hue Lights Debug                didDeviceCommPropertyChange called.
  Hue Lights Debug                didDeviceCommPropertyChange called.
  Hue Lights Debug                Stopping device: new device
  Hue Lights Debug                Starting device: new device
  Hue Lights Debug                Hue Group device definition:
address : <IP_ADDRESS> (GID 1)
batteryLevel : None
brightness : 10
buttonGroupCount : 0
configured : True
defaultBrightness : 100
description :
deviceTypeId : hueGroup
displayStateId : brightnessLevel
displayStateImageSel : DimmerOn
displayStateValRaw : 10
displayStateValUi : 10
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 126587052
globalProps : MetaProps : (dict)
     com.nathansheldon.indigoplugin.HueLights : (dict)
          address : <IP_ADDRESS> (GID 1) (string)
          defaultBrightness : 100 (string)
          groupId : 1 (string)
          modelId :  (string)
          nameOnHub :  (string)
          rate : 0 (string)
          savedBrightness :  (string)
id :<PHONE_NUMBER>
lastChanged : 2015-02-27 00:41:13
ledStates : []
model : Hue Group (Experimental)
name : new device
onBrightensToDefaultToggle : False
onBrightensToLast : False
onState : True
pluginId : com.nathansheldon.indigoplugin.HueLights
pluginProps : com.nathansheldon.indigoplugin.HueLights : (dict)
     address : <IP_ADDRESS> (GID 1) (string)
     defaultBrightness : 100 (string)
     groupId : 1 (string)
     modelId :  (string)
     nameOnHub :  (string)
     rate : 0 (string)
     savedBrightness :  (string)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
     alertMode :  (string)
     brightnessLevel : 10 (integer)
     colorBlue : 26 (integer)
     colorGreen : 22 (integer)
     colorMode : xy (string)
     colorRed : 2 (integer)
     colorTemp : 6536 (integer)
     colorX : 0.3138 (real)
     colorY : 0.3238 (real)
     effect : none (string)
     groupMemberIDs : 3, 40, 27, 38, 11, 19 (string)
     hue : 190 (integer)
     onOffState : on (on/off bool)
     saturation : 93 (integer)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : True
version : 0

Sorry I never responded.   This was fixed in another release.  Please upgrade to version 1.3.30 (for Indigo 5 and 6) or 1.4.6b1 for Indigo 7.  These versions will fix that problem.


git-run: remove from nodePackages

Description of changes
Removes from the nodePackages set and adds to pkgs/by-name.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] 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

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Why?
Fix the merge conflicts.

Why?
Fix the merge conflicts.

1: To reduce the number of packages in the node-packages set. It's hard to maintain and has many longstanding issues. There's a tracking issue for removing packages from the set at #229475.


add breast cancer dataset

Please include the new dataset in the data_catalog.yaml and mlmodel_catalog.yaml files to ensure the newly added dataset can be used in the existing experiment pipeline.

It would be nice to run run_experiment with this new dataset and generate benchmarking results with the dataset.
You can do that by running: python .\run_experiment -d breast_cancer


[T4A4][F09-B3] Chu Ying Yu

Ready for review.

@azoic0  Some comments added. Please close the PR after reading comments. Good job! :)


error when import GEOJSON in typescript

"@angular/cli": "^11.0.7",
"ol": "^6.5.0",
"@types/ol": "^6.4.2",
"typescript": "4.0.5"
Describe the bug
import GeoJSON from 'ol/format/GeoJSON';

Error: src/app/pages/drive/my-map/my-map.component.ts:19:21

error TS2307: Cannot find module '@type/ol/format/GeoJSON' or
its corresponding type declarations.
19 import GeoJSON from '@type/ol/format/GeoJSON';
~~~~~~~~~~~~~~~~~~~~~~~~~

\ Generating browser application bundles (phase: additional asset processing)...
Error: node_modules/@types/ol/format/GeoJSON.d.ts:4:5 - error TS2305: Module '"../../geojson"' has no exported member 'GeoJSON'.
4     GeoJSON as GeoJSON_1,
      ~~~~~~~
node_modules/@types/ol/format/GeoJSON.d.ts:5:5 - error TS2305: Module '"../../geojson"' has no exported member 'Geometry'.

5     Geometry,
      ~~~~~~~~
node_modules/@types/ol/format/GeoJSON.d.ts:21:30 - error TS2707: Generic type 'Feature<G, P>' requires between 1 and 2 type

arguments.
21 export type GeoJSONFeature = Feature;
                                ~~~~~~~
node_modules/@types/ol/format/GeoJSON.d.ts:22:40 - error TS2707: Generic type 'FeatureCollection<G, P>' requires between 1 and 2 type arguments.

22 export type GeoJSONFeatureCollection = FeatureCollection;                                              ~~~~~~~~~~~~~~~~~

This looks like you have a problem in your setup. You might try to turn on skipLibCheck in your tsconfig ( https://www.typescriptlang.org/tsconfig#skipLibCheck ) or try using https://github.com/hanreev/types-ol

This might also be an error in @types/ol-types which is not maintained by openlayers.

This might be an error in @types/ol-types which is not maintained by openlayers.

Thanks!. remove @types/ol-types, it works!

You could try https://github.com/hanreev/types-ol for a replacement


b485c74503b84cb7b7f7f105ecbce566be9f520e backport

To match raoulvdberge/refinedstorage#2397

Whoops, forgot about this PR. I did this change myself today after merging your merge request for 1.12.


Update pls :D

Needs update for current patch pls :D

https://na.finalfantasyxiv.com/lodestone/topics/detail/d7db61f938f9cea65e4c5cd261918edb036b3004
Most of SoundSetter's functionality has officially been added to the game, so I'm actually planning to archive this 👀

Still prefer to use a shortcut and the nice UI it had (better than the default in all aspects).
Not sure I'll be able to remember all the text commands xD

The official command doesn't support increment/decrement commands for some mind-boggling reason. I would really miss this plugin going away if it's archived.
![ffxiv_dx11_GvyYpB4G4F](https://github.com/karashiiro/SoundSetter/assets/696702/cabecd45-6837-4382

-b6d1-9db5f151c1e8)

What changes would be required to make this work with Dawntrail? I would personally update it myself if I were informed of what needs to be changed for it to function with the new patch.
I really appreciate the UI this plugin gives and would be sad to see it go.

Either the plugin needs to be refactored to use Dalamud's newer IGameConfig service, or the new configuration option offsets need to be reverse-engineered or determined through trial and error - there's a tool for updating them once you know what they are, but figuring out the offsets is tedious.

I can find some time to update it at some point if nobody else manages to, since people seem to still want it - just not sure when exactly that will be since I wasn't planning for it (and Universalis is down again which is a bigger issue).

Take your time with Universalis, it is significantly more valuable to the community than this plugin. But if you do find the time to work on this, the community and I will be sincerely grateful.

As Lumina said, take your time with Universalis but I'd really appreciate an update for SoundSetter, it may be simple but it's by far my most used and favorite QoL plugin and the now native functions just don't cut it! <3

Update pending approval: https://github.com/goatcorp/DalamudPluginsD17/pull/3945

Update pending approval: goatcorp/DalamudPluginsD17#3945

Thank you!


np.nanargmax np.nanargmin not support in nopython mode

@jit(nopython=True)
def f1(v1):
    np.nanargmax(v1)

@jit(nopython=True)
def f2(v1):
    np.argmax(v1)

TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Use of unsupported NumPy function 'numpy.nanargmin' or unsupported use of the function.

File "<ipython-input-45-55a0707e01c9>", line 3:
def f1(v1):
    return np.nanargmin(v1)
    ^

[1] During: typing of get attribute at <ipython-input-45-55a0707e01c9> (3)

File "<ipython-input-45-55a0707e01c9>", line 3:
def f1(v1):
    return np.nanargmin(v1)
    ^

the same error happen for np.nanargmin
but np.nansum  np.nanmean is ok in jit
numpy: '1.17.2'
numba: '0.48.0'

Thanks for the reporting this. These functions are not currently support, for reference there's a list of all the unimplemented functions here: https://github.com/numba/numba/issues/5386 so I'm going to close this as it's essentially a duplicate. Thanks again!


Fix branch rewrite script issue with deleted files

Fix a problem with the branch rewrite script that prevented it working when the branch deletes files. Whenever there are deleted files, manually git rm them to resolve conflicts with git cherry-pick.  Add a testcase for this eventuality.
Additionally, add 1 unrelated real-world testcase taken from Mbed-TLS/mbedtls#6882.

Superseded by https://github.com/Mbed-TLS/mbedtls-docs/pull/74


Spring

Codecov Report

Merging #30 into master will increase coverage by 1.28%.
The diff coverage is 75.94%.

@@             Coverage Diff              @@
##             master      #30      +/-   ##
============================================
+ Coverage     39.54%   40.83%   +1.28%
- Complexity      578      605      +27
============================================
  Files           321      328       +7
  Lines         14109    14342     +233
  Branches       1589     1592       +3
============================================
+ Hits           5579     5856     +277
+ Misses         8235     8190      -45
- Partials        295      296       +1

Impacted Files
Coverage Δ
Complexity Δ

...uxdata/spring/health/InfluxDB2HealthIndicator.java
0% <0%> (ø)
0 <0> (?)

...lth/InfluxDB2HealthIndicatorAutoConfiguration.java
0% <0%> (ø)
0 <0> (?)

...a/org/influxdata/client/internal/QueryApiImpl.java
98.83% <100%> (+57.25%)
0 <0> (ø)
:arrow_down:

...influxdata/client/internal/InfluxDBClientImpl.java
100% <100%> (ø)
0 <0> (ø)
:arrow_down:

...metrics/Influx2MetricsExportAutoConfiguration.java
100% <100%> (ø)
3 <3> (?)

...a/org/influxdata/client/InfluxDBClientOptions.java
100% <100%> (ø)
0 <0> (ø)
:arrow_down:

...uxdata/client/internal/AbstractInfluxDBClient.java
95.23% <100%> (+0.11%)
0 <0> (ø)
:arrow_down:

...a/org/influxdata/client/internal/WriteApiImpl.java
100% <100%> (ø)
0 <0> (ø)
:arrow_down:

...g/influxdata/spring/metrics/Influx2Properties.java
24% <24%> (ø)
3 <3> (?)

...spring/metrics/Influx2PropertiesConfigAdapter.java
33.33% <33.33%> (ø)
1 <1> (?)

... and 10 more

Continue to review full report at Codecov.

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


Add validation feature, Add benchmark

Detect circular dependency: panic with a human readable message instead of Big unreadable stack overflow (can give more info on the circular deps in the future)

Panic on Lifetime misalignment (when a longer lifetime depends on a Shorter lifetime)

Add ore.Validate() invokes ALL your registered resolvers, it panics when something gone wrong. The purpose of this function is to panic early (on the test pipeline or application startup) when the Container is bad configured:

Missing dependency: when user forgot to register certain resolvers.
Circular dependency: A depends on B which depends on A.
Lifetime misalignment: a longer lifetime service (eg. Singleton) depends on a shorter one (eg Transient).

Add benchmark to compare with Samber/Do

hmm, on my machine, all test is green, I'm unable to make the test failed as in the pipeline, not sure where is the problem :-(

fixed, time.Now() on Windows and on Linux is sligtly different

thank you for your invaluable contributions @duongphuhiep


Text alignment and global attributes

There are some minor line-height changes in the chromatic changes I would like a designer to look at


Make Dawn error macro more explicit and have an "error type"

The error type will help distinguish between validation errors, context
losts and others which should be handled differently.
Take advantage of advantage of this to change DAWN_RETURN_ERROR to
"return DAWN_FOO_ERROR" to have the return be more explicit. Also
removes usage of DAWN_TRY_ASSERT for more explicit checks.

Thanks!


Support for 3rabsports

Link
https://3rabsports.com/
Version
Manifest-v3
What browser(s) are you using?
Chrome browsers (includes brave, edge, opera, etc)
What platform are you using?
Computer (Windows, Linux, MacOS)
(Optional) Anything else?
No response

I discovered a script that I'm using with the Violentmonkey extension, and it successfully bypasses restrictions. Recently, it displays a message saying "You have been blocked." However, when I attempt to open Google Chrome without any bypassing extension or script, it works well.
I am using Vivaldi Browser with Chrome user agent.


Chart fails to display depending on data

In the Quickstart tutorial, I tried my own data from our maintenance records. There are 12 records in one file, and this displays without problems. But, when data collected over a few more days are added, as in the second csv file with 16 records, the chart fails to display.
TwoInputCSVfiles.zip

By the way, the error in the Firefox web console when the chart fails to display is:
Error: "Could not create a view for model id e2efed7db45349c39466dcc5bbf5679c"
promiseRejectionhttp://localhost:8888/nbextensions/jupyter-js-widgets/extension.js?v=20180716023713:21583:27 utils.js:119
Error: "Could not create view"
promiseRejectionhttp://localhost:8888/nbextensions/jupyter-js-widgets/extension.js?v=20180716023713:21583:27

Further investigation revealed that the problem occurs when source, target, and type were duplicated in different records, as would happen in maintenance activities -- the work is done on the same machine over time. So, the work around was a groupby:
flows = (flows.groupby([flows.source,flows.target,flows.type]).sum()).reset_index()
The above line added to the code to sum those duplicate records solves the problem.
Thanks for a really great tool!

Hi, glad you figured it out! There's a fix (#23) to give a better error message when this happens but I still need to release the new version.
You might want to look also at floWeaver, which gives a flexible framework for doing exactly the kind of grouping and aggregation that you found as a solution. See also this comment.
Glad you're finding it useful! If you're able to share, could you explain a little more about what kind of maintenance records your data are and what you're using it for -- it's always interesting to see what people are using it for!

floWeaver looks more complicated, but will surely look at it for more complex needs that are still in the planning stage.
In our plant we have hundreds of machines with a number of maintenance activities with different schedules. It becomes difficult to visualize the kind of activities that are pending, on different machines without a tool like this. If the maintenance work orders captured in a database, this tool can be very helpful to analyze. I have been able to look at the activities by types of machines over a year to quickly identify machines with repeated problems, and schedules that were missed.

Just to be clear:
source = maintenance activity (code)
target = Machine
Type = Description, or could be some grouping such as Expensive, Needing Manpower, Long down-time, etc.
value = man-hours or cost
Hope someone finds this useful like I did!
Thanks again!

Sounds good, thanks for explaining :)


Fix typo in documentation

Codecov Report

Merging #65 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   59.39%   59.39%
=======================================
  Files          48       48
  Lines         825      825
  Branches       16       16
=======================================
  Hits          490      490
  Misses        335      335

Impacted Files
Coverage Δ

core/shared/src/main/scala/matryoshka/Based.scala
0% <ø> (ø)
:white_check_mark:

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 d5fdcda...a52ae29. Read the comment docs.


Linker errors with stm32g4-0.13.0 and cortex-m-rt-0.7.0

If I simultaneously depend on these two:
[dependencies]
cortex-m-rt = "0.7.0"
stm32g4 = { version = "0.13.0", features = ["stm32g431", "rt"] }

I get linker errors on the simplest application code:
#![no_main]
#![no_std]

use panic_halt as _;
use cortex_m_rt::entry;
use stm32g4::stm32g431 as stm32;

#[entry]
fn main() -> ! {
    let _dp = stm32::Peripherals::take().unwrap();
    loop {}
}

$ cargo build
(...)
  = note: rust-lld: error: undefined symbol: WWDG
          >>> referenced by stm32g4.a536753e-cgu.0
          >>>               stm32g4-0cd8392efc6052b0.stm32g4.a536753e-cgu.0.rcgu.o:(__INTERRUPTS) in archive <redacted>/target/thumbv7em-none-eabihf/debug/deps/libstm32g4-0cd8392efc6052b0.rlib

          rust-lld: error: undefined symbol: PVD_PVM
          >>> referenced by stm32g4.a536753e-cgu.0
          >>>               stm32g4-0cd8392efc6052b0.stm32g4.a536753e-cgu.0.rcgu.o:(__INTERRUPTS) in archive <redacted>/target/thumbv7em-none-eabihf/debug/deps/libstm32g4-0cd8392efc6052b0.rlib

        rust-lld: error: undefined symbol: RTC_TAMP_CSS_LSE
          >>> referenced by stm32g4.a536753e-cgu.0
          >>>               stm32g4-0cd8392efc6052b0.stm32g4.a536753e-cgu.0.rcgu.o:(__INTERRUPTS) in archive <redacted>/target/thumbv7em-none-eabihf/debug/deps/libstm32g4-0cd8392efc6052b0.rlib

(...)

Same issue. Could we release all the PACs with cortex-m-rt 0.7.0?

#603 is merged and the next stm32-rs release will include it, along with all the other recent changes. I expect to have 0.14 released soon enough that it doesn't seem worth backporting it to 0.13.

Thanks!


[Feature Request] Built-in Dictionary for the Ebook Reader

Checklist

[X] This issue contains only one feature request. I will open one issue for every feature I want to request.
[X] I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
[ ] This feature is merely an UI/UX update.
[X] This feature is not going to conflict with many of the existing features/options.

Is your feature request related to a problem? Please describe.
It would be super helpful to have a built-in dictionary in the e-reader.
Describe the solution you'd like
It would be awesome to see an option for "dictionary" when I press and hold a word.
How will you/everyone benefit from this feature?
The dictionary function would obviously aid in understanding and comprehension.
Additional context
https://dictionaryapi.dev/ is completely free, nearly limitless, and requires no API key.

Sounds good, I'll take a look!


Cannot find module 'bplist-creator'

Environment:

Node 16.9.1
electron 16.0.0
electron-builder 22.14.5
simple-plist 1.3.0
webpack 5.64.1
windows 11

Scenario

Developing in Windows 11 + Visual studio code
Run npm start to launch my application
show bplist-creator error

Error

Uncaught Exception
Error: Cannot find module 'bplist-creator'

Its still giving issue with node v14.18.0
and simple-plist version 1.3.0 not with 1.1.0

I haven't seen this issue myself and I can't seem to reproduce it locally with node v16.13.0 on macOS. @rajmonotype are you also on Windows by chance?

I think the issue might relate to using ESM imports, I can reproduce the problem if I use import instead of require.

@larryhuang have you find a way to fix the issue?

@rajmonotype have you find a way to fix the issue?

The issue I'm experiencing appears to relate to changes in version 1.3.1 where a default export is incompatible with version 1.3.0 for ESM imports but still may be relevant to this issue.
CommonJS imports work with 1.3.1 but ESM imports have issues with missing types in bplist-creator and bplist-parser and that is no default export in bplist-parser.

The issue I'm experiencing appears to relate to changes in version 1.3.1 where a default export is incompatible with version 1.3.0 for ESM imports but still may be relevant to this issue.
CommonJS imports work with 1.3.1 but ESM imports have issues with missing types in bplist-creator and bplist-parser and there is no default export in bplist-parser.

@dnicolson how did you solve an issue?

Hey @larryhuang et al. I've just released v1.4.0 over on npm under the next tag. I realize this issue is old, but if anyone listed here is still struggling with the issue, please give 1.4.0 a shot and let me know if it does the trick.

I had this issue on the latest stable 1.3.1. Upgrading to 1.4.0 changes which module this breaks on:
import plist from "simple-plist"
yarn run v1.22.19
$ npx ttsc
node_modules/simple-plist/dist/parse.d.ts:3:33 - error TS7016: Could not find a declaration file for module 'plist'. '/Users/myusername/path/to/my/repo/node_modules/plist/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/plist` if it exists or add a new declaration (.d.ts) file containing `declare module 'plist';`

3 import type { PlistValue } from "plist";
                                  ~~~~~~~

Found 1 error in node_modules/simple-plist/dist/parse.d.ts:3

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Environment:

node 18
typescript 4.5.3
ttypescript 1.5.13

// tsconfig.json
{
  "compilerOptions": {
    "esModuleInterop": true,
    "module": "commonjs",
    "noImplicitReturns": true,
    "noUnusedLocals": true,
    "outDir": "dist",
    "plugins": [
      {
        "transform": "typia/lib/transform"
      }
    ],
    "sourceMap": true,
    "strict": true,
    "target": "es2017"
  },
  "compileOnSave": true,
  "include": [
    "src"
  ],
}

@walkingbrad there are no default exports, according to the documentation you need to import named exports:
import * as plist from "simple-plist";

With version 1.4.0 I see different errors outlined in https://github.com/wollardj/simple-plist/pull/68#issuecomment-1666886401.

Hey @larryhuang et al. I've just released v1.4.0 over on npm under the next tag. I realize this issue is old, but if anyone listed here is still struggling with the issue, please give 1.4.0 a shot and let me know if it does the trick.

I've just tried 1.4.0-0 and it fixes my issue, compiling fine now. Is there an ETA for when 1.4.0 will be fully released or if the type issues can be fixed in the 1.3 branch?
What I was seeing: with import plist from 'simple-plist' (no I don't need * as since I've updated my tsconfig to allow this)
My errors:

I also got errors with bplistCreator when I was noodling around trying to get around it.

"simple-plist": "next" does fix the compiler errors 🙏


fix build failure on powerpc64

Disable rustls-tls features of reqwest dependency for ppc64 because of ruslts needs ring, which the latest stable version doesn't support this arch.

So, this cargo.lock is built on a target architecture different from powerpc64 and we should keep this version on the repo.
Did you try building it also on powerpc64 as a confirmation? Is everything fine?

@all-contributors please add @dutyrok for bug.

Did you try building it also on powerpc64 as a confirmation? Is everything fine?

Yes, sniffnet has been built on this arch and works (at least in qemu). I put a build log as a proof of build is success.
sniffnet-1.2.2-ppc64.log


not able to login with default credentails

Are you sure you are entering the right credentials? I confirmed this again and it works for me and everyone else.
Proof:


Pane width of NavigationView doesn't match Windows 10 style

The pane width of NavigationView control is lesser than other Windows 10 apps like Micorosoft News app or even Start screen of Windows 10.
In addition, even the text and icons appear smaller than other Windows 10 icons.
Someone should provide a workaround. This was not the issue with Hamburger button control provided previously.

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

ID: e69449df-a1ec-70dd-e563-0ad508733c47
Version Independent ID: dc0e0acb-d92a-a039-5c16-f54a4b71d954
Content: Navigation view - UWP applications
Content Source: windows-apps-src/design/controls-and-patterns/navigationview.md
Product: uwp
Technology: design
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

Hi, you can adjust the pane width by setting the OpenPaneLength property.
If you'd like to engage with the XAML product team or file a product bug regarding the design of the control, you can click Send feedback about > This product from the doc page. This will let you open an issue with the development team in the WinUI repo on GitHub.
The feedback channel you're using here (Send feedback about > This page) is for feedback about the documentation in this topic. For example, if you believe that the documentation in this topic is incorrect, or that info needed to succeed with a common scenario is missing. I don't see any doc issue here.
For general questions or assistance, we recommend you visit Microsoft Q&A to post your question.


Python code will be removed after perform format document if having comment code between 'proc python' and 'submit;'

Describe the bug
Open VSC SAS Extension base on Main branch. Perform format document, python code will be removed in certain circumstance.
Steps to reproduce

New a .sas file
Type code below

proc python;
    /* comment */
    submit;
    print('test')
    endsubmit;
run;

format code through ContextMenu 'Format Document'

Expected behavior
The code is formatted correctly
Screenshots

Environment (please complete the following information):
Client OS: [e.g. Windows 11]
Extension version: [e.g. v1.10.2]

The same happened if having global statement between 'proc python;' and 'submit;'
proc python;
    title 'title';
    submit;
    x='test'
    endinteractive;
run;


3.5 jack not support

I installed EFI in my computer, everything accepted but 3.5 jack headphone not accepted, help me. many thanks 👍

Hey, for me, the 3,5 Headphone Jack is working. But I had to restart the Mini when ever its not working.

now, 3.5 is working but i must use VoodooHDA kext because AppleALC not working although i changed layout id :(

3.5 is working without any issues on my side.


pythonPackages.notebook: fix darwin build

Motivation for this change
18.03 ZHF darwin edition: #36454 (Please backport to 18.03!)
Since send2trash's tests don't work properly on darwin (something related to build user privileges), yet still they actually seem to work fine in practice, we simply don't run these tests for the notebook.
Things done

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

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build pythonPackages.notebook

Success on x86_64-darwin (full log)
Attempted: pythonPackages.notebook
Partial log (click to expand)
  Warning)
/nix/store/gj0c7739zmjlbi9rg8s7fm8wwhn9kciy-python2.7-ipython_genutils-0.2.0/lib/python2.7/site-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x10fc5ca90>
  Warning)
/nix/store/gj0c7739zmjlbi9rg8s7fm8wwhn9kciy-python2.7-ipython_genutils-0.2.0/lib/python2.7/site-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x10fc5cdd0>
  Warning)
/nix/store/gj0c7739zmjlbi9rg8s7fm8wwhn9kciy-python2.7-ipython_genutils-0.2.0/lib/python2.7/site-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x10fc5cf10>
  Warning)
/nix/store/gj0c7739zmjlbi9rg8s7fm8wwhn9kciy-python2.7-ipython_genutils-0.2.0/lib/python2.7/site-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x10fc5c310>
  Warning)
/nix/store/9q78b4dji653hv8cqn6ra5ryhsa13s1j-python2.7-notebook-5.4.0

Success on x86_64-linux (full log)
Attempted: pythonPackages.notebook
Partial log (click to expand)
  Warning)
/nix/store/v8aydgcwjrfqiknjd0a00kcj9rsy72i1-python2.7-ipython_genutils-0.2.0/lib/python2.7/site-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fffe43eacd0>
  Warning)
/nix/store/v8aydgcwjrfqiknjd0a00kcj9rsy72i1-python2.7-ipython_genutils-0.2.0/lib/python2.7/site-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fffe43eaf50>
  Warning)
/nix/store/v8aydgcwjrfqiknjd0a00kcj9rsy72i1-python2.7-ipython_genutils-0.2.0/lib/python2.7/site-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fffe4574850>
  Warning)
/nix/store/v8aydgcwjrfqiknjd0a00kcj9rsy72i1-python2.7-ipython_genutils-0.2.0/lib/python2.7/site-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fffe4574f90>
  Warning)
/nix/store/m7962yiamlgm1gvj0lfy293n2qfw9p9b-python2.7-notebook-5.4.0

Success on aarch64-linux (full log)
Attempted: pythonPackages.notebook
Partial log (click to expand)
  Warning)
/nix/store/f8lwnpv7mi69zxhixvl4sp9zi32jyyfz-python2.7-ipython_genutils-0.2.0/lib/python2.7/site-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0xffffb4276d10>
  Warning)
/nix/store/f8lwnpv7mi69zxhixvl4sp9zi32jyyfz-python2.7-ipython_genutils-0.2.0/lib/python2.7/site-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0xffffb4276810>
  Warning)
/nix/store/f8lwnpv7mi69zxhixvl4sp9zi32jyyfz-python2.7-ipython_genutils-0.2.0/lib/python2.7/site-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0xffffb4281c50>
  Warning)
/nix/store/f8lwnpv7mi69zxhixvl4sp9zi32jyyfz-python2.7-ipython_genutils-0.2.0/lib/python2.7/site-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0xffffb4281bd0>
  Warning)
/nix/store/rjbnvkq4qyhb7l2xz18363admg6gdr2n-python2.7-notebook-5.4.0


Weird key prefixes (problem with boltdbweb)

Probably this is not within the competence of this project, but I'm trying to understand the following problem. I tried to access buckets, that were created through bolthold, using evnix/boltdbweb. When trying to delete a certain key it wouldn't work. After some debugging, I found that a key, e.g<EMAIL_ADDRESS>is actually prefixed by a few non-printable characters in boltdbweb and is therefore not found.
Probably the problem is on boltdbweb's side, but I'd be happy if anyone has a moment to take a look at that. Otherwise, just close this issue again, please.

Are you looking at the _index bucket or the main bucket.  And modification outside of bolthold of a bolt database will cause issues with the indexes.
Also, when you use Bolthold, by default it marshals all the data into Gobs, including key values, so that's probably why you see extra characters in front of the key values.  The gob format adds some binary type info into the byte array.
My guess is that boltdbweb tries to convert everything to string for display, and possibly uses that same string for running deletes?  If that's the case, then there definitely is some data lost in the conversion.
Key Type -> Gob Byte Array -> String -> Byte Array
I'm guessing an issue needs to be opened with boltdbweb.

And modification outside of bolthold of a bolt database will cause issues with the indexes

Yes, I know. Only wanted to have the web interface to quickly inspect the data.

all the data into Gobs, including key values

Alright, so that's the reason. Makes sense! I assumed keys were stored as plain strings.

My guess is that boltdbweb tries to convert everything to string for display, and possibly uses that same string for running deletes?

The key is submitted as a URL query parameter in boltdbweb, so yes, non-Unicode binary data will definitely be lost.
I thought of using JSON for encoding instead of gob, although that's less efficient. We'll see. Anyway, thanks a lot for your reply, it helped me understand the issue.
Are there plans to have something like a minimalist web GUI for bolthold some time in there future? 😃

No plans currently.


Add custom language support for pagination lib

Added ‘language’ param in constructor for translate pagination to a custom language.

This is completely unnecessary if you set the language on the current request (before loading the pagination library) via $this->config->set_item('language', 'language_idiom_here');

@mwhitneysdsu is right, it doesn't make any sense to configure each library's language separately.


minor fixes from setup on a fresh OS

I recently had to reinstall 20.04 so I have a fairly pristine system. A few setup things didn't work. I've worked through some and I touched up:

it seems necessary to source the underlay before installing our dependencies in step 3, this is reflected in the readme
bash compatible shells (like ZSH) don't work if sourcing setup.bash. This silently fails to set a few env vars. A reminder is added to source the correct setup file for your shell since it's silent. This applies to most steps.
the out-of-ROS dependency script in ateam_ui silently suppresses errors if npm or nodejs are not installed. The script now prints the missing core dependency and attempts to install it. This applies to step 4

I'm still getting the following error when installing our dependencies. Any ideas what's going on?
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
ateam_ui: Cannot locate rosdep definition for [rosbridge_server]

I'm still getting the following error when installing our dependencies. Any ideas what's going on? It is listed in the maintained packages list for galactic.
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
ateam_ui: Cannot locate rosdep definition for [rosbridge_server]

Have you tried running rosdep update to make sure you have the latest list of keys?
We probably need to add the rosdep initialization steps to our readme since it looks like they no longer feature them in the general ROS installation instructions.
sudo rosdep init
rosdep update

Okay I did run those two steps, but it clearly failed at this point. I'll try to figure out what went wrong

on a different clean 20.04 install, didn't accidentally source the bash or anything in zsh this time, getting the same error. My command sequence:
sudo apt update
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null

sudo apt update
sudo apt upgrade
sudo apt install ros-galactic-desktop ros-galactic-ros-base ros-dev-tools

source /opt/ros/galactic/setup.zsh

sudo rosdep init
rosdep update

rosdep install --from-paths . --ignore-src -y

fails on the last step with the above message.

this needs to be rosdep update --include-eol-distros. Galactic went EOL Dec 1

this needs to be rosdep update --include-eol-distros. Galactic went EOL Dec 1

Ah, rip
Was going to talk about upgrading to Humble soon on the call tonight

Yeah your explicit belief that rosdep should have made it possible to find that package made me go back and inspect the output and cache and I saw galactic was skipped. I've removed some of the unneeded changes, but left the README.md and sanity check in setup script intact. We could just nuke this update, and attempt the upgrade tho.

Closed via #84


feat: add envelope type config

Add EnvelopeType parameter in config.json file
Resolves: https://github.com/notaryproject/notation/issues/325
Signed-off-by: Junjie Gao<EMAIL_ADDRESS>

Is envelopeType a required config property? What is the behavior if it's not specified?
If this is a required property, expecting end users to choose the envelope format is not the best user experience. In most cases user may not know the details of envelope format, or how they should choose one. Could we instead have a spec update defining a default format?

Is envelopeType a required config property? What is the behavior if it's not specified?
If this is a required property, expecting end users to choose the envelope format is not the best user experience. In most cases user may not know the details of envelope format, or how they should choose one. Could we instead have a spec update defining a default format?

We should have a spec to expain the configuration details. envelopeType is not a required parameter. If it is not set, the default value is jws. Those logic will be added in notation-cli.

Is envelopeType a required config property? What is the behavior if it's not specified?
If this is a required property, expecting end users to choose the envelope format is not the best user experience. In most cases user may not know the details of envelope format, or how they should choose one. Could we instead have a spec update defining a default format?

config description will be added in notation/specs/notation-config.md


Chrome driver not working

I am using selenium and I can’t seem to get chrome driver working. I specified the path in my code and put the .app there and it didn’t work also I tried to bundle chrome driver with the .app and that also doesn’t seem to be working any fixes?

This is not really a Platypus question. My guess is that you need some environmental variables set. Platypus apps don't automatically inherit the user's shell environment. See "How does my script access the user's shell environment?" in the documentation for details.


Make graphcool-lib multi-service compatible

When writing a function using graphcool-lib, it's cumbersome to make it work for different clusters (for example graphcool-dev and shared-eu-west-1).
What feature are you missing?
This could be solved by two ways:

use environment variable that contains the cluster endpoint
inject cluster endpoint into event

I prefer the second one.

also see https://github.com/graphcool/graphcool-lib/issues/12

This is implemented in the latest graphcool-lib@beta


json format causes infinite "\n                       \n                       \n                       \n" in response

Confirm this is an issue with the Python library and not an underlying OpenAI API

[X] This is an issue with the Python library

Describe the bug
I am trying to use json format to get json response, it worked well when I give same short example, but when I use production data to test it, prompt_token = 2966, then it start to response with all "\n                       \n                       \n                       \n", till max token. Then, I use the same prompt without response_format, it worked well though it's not a json object.
(test with a another shorter user message still failed, is that the "#" matter?)
To Reproduce
tsg = """
# TSG for debugging openai
## 1. install openai
### 1.1. install openai with pip
### 1.2. install openai with conda
## 2. import openai
### 2.1. import openai in python
### 2.2. import openai in jupyter notebook
## 3. use openai
### 3.1. use openai in python
### 3.2. use openai in jupyter notebook
"""
messages = [
                {
                    "role": "system",
                    "content":
                        """
                        You are an expert of reading troubeshooting guidance.
                        The users will provide you a troubleshooting guide in markdown format, which consists of several steps.
                        You need to break down the document into steps based on the text semantics and markdown structure and return JSON format
                        Note that: (1) Ignore the document title if it does not indicate a step. (2) Only do text slicing from front to back, can't lose any content of the step. (3) Maintain the original text in task_description without any summarization or abbreviation. (4) Don't lose the prefix and serial number of the title displayed in the document. (5) If the step itself has a title in document, the task_title should use the original content.
                        You will respond with the list of steps as a JSON object. Here's an example of your output format:
                        [{
                            "task_title": "",
                            "task_description": "",
                        },
                        {
                            "task_title": "",
                            "task_description": "",
                        }].
                        Here is an example of the input markdown document:
                            # Troubleshooting guide for buying a puppy
                            ## 1. know what puppy you want
                            ### 1.1. you could surf the internet to find the puppy you want
                            ### 1.2. visit friends who have puppies to see if you like them
                            ## 2. buy healthy puppies
                            ### 2.1. you could go to puppy selling websites to find healthy puppies, if you prefer buying puppies online, please go to step 3 for more information
                            ### 2.2. you could go to pet stores to find healthy puppies
                            ## 3. buy puppies online
                            here is a list of puppy selling websites: www.happydog.com, www.puppy.com, www.puppylove.com
                        Here is an example of the output json object:
                        [{
                            "task_title": "1. know what puppy you want",
                            "task_description": "### 1.1. you could surf the internet to find the puppy you want\n### 1.2. visit friends who have puppies to see if you like them"
                        },
                        {
                            "task_title": "2. buy healthy puppies",
                            "task_description": "### 2.1. you could go to puppy selling websites to find healthy puppies, if you prefer buying puppies online, please go to step 3 for more information\n### 2.2. you could go to pet stores to find healthy puppies"
                        },
                        {
                            "task_title": "3. buy puppies online",
                            "task_description": "here is a list of puppy selling websites: www.happydog.com, www.puppy.com, www.puppylove.com"
                        }
                        ]
                        """
                },
                {
                    "role": "user",
                    "content": tsg
                }
            ]

response = llm.client.chat.completions.create(
            model = llm.engine,
            messages = messages,
            response_format={"type": "json_object"},
            temperature = 0,
        )

Code snippets
No response
OS
win11
Python version
3.10.12
Library version
1.3.3

Thanks for reporting!
This sounds like an issue with the underlying OpenAI API and not the Python library, so I'm going to go ahead and close this issue.
Would you mind reposting at community.openai.com?
Also, I'm curious which model you're using, and whether increasing the temperature helps?

@rattrayalex Thank you! I am using gpt4-1106 from azure openai. I tried with temperature = 1, but got the same response again... Posted in openai community, look forward to the answer https://community.openai.com/t/json-format-causes-infinite-n-n-n-n-in-response/519333

If this happened with Azure OpenAI and doesn't repro with OpenAI, you may wish to file with MSFT as well!


Release Candidate Comments (Diversity Access Tickets)

This issue was created to collect comments about the upcoming metrics release.
This thread is for comments about Diversity Access Tickets
GitHub location: https://github.com/chaoss/wg-diversity-inclusion/blob/master/focus-areas/events/diversity-tickets.md
See all release candidates of metrics are at:
https://chaoss.community/metrics-202001/

"Resources" should be "References"