[Feature] Possibility to improve the Locator options API?

The current recommended Locator API basically always needs some options to select some locator. Example from the manual:
page.getByRole(AriaRole.BUTTON, new Page.GetByRoleOptions().setName("Sign in"))
    .click();

In the older, not recommended anymore, API, often the desired selector could be passed directly as the first parameter, and the options parameter was used for more special options, e.g. the above line could be written like this:
page.click("button >> text=Sign in");

or:
page.locator("button >> text=Sign in").click();

The idea of the newer API is good. But compare the readability of the old and new API. The API that was chosen to set any options is very verbose and the selectors more difficult to read as a result. Especially since now a part of the selector is in the options, the level of abstraction varies widely in one line of code: mixing new Page.GetByRoleOptions() technical object creation with text to be found on the website.
Further, for setting the individual options, the JavaBean format was chosen (setXyz()), although clearly the options objects don't need to be used in any context that expects the bean format. They are actually fluent builders. JavaBean is very old, and newer code in the Java community is distancing itself more and more from that format (see e.g. Java17 Records don't use it).
Most new APIs that use the builder / fluent format opt for the setter methods to just have the same name as the properties, i.e. here just name(String).
In summary, the Playwright Options API has the following deficiencies:

Inserting technical concerns (i.e. explicit object creation) in the middle of a selector (in the example between AriaRole.BUTTON and the selector text)
The options class is even an inner class, which looks even uglier
JavaBeans format instead of more modern Builder/Fluent setter format

Obviously, we are here limited somewhat by the Java language, but a better API would be for me something like that:
import static com.microsoft.playwright.Page.getByRoleOptions;

page.getByRole(AriaRole.BUTTON, getByRoleOptions().name("Sign in"))
    .click();

with the implementation of getByRoleOptions being just something like:
public static Page.GetByRoleOptions getByRoleOptions() {
    return new Page.GetByRoleOptions();
}

Potentially even better, but trickier, would be to have a static factory method maybe with the most commonly used option, so that the method call reads nicely:
import static com.microsoft.playwright.Page.withName;
// or: import static com.microsoft.playwright.Page.GetByRoleOptions.withName;

page.getByRole(AriaRole.BUTTON, withName("Sign in").disabled(false))  // <-- illustrating setting more options
    .click();

// implementation:
public static Page.GetByRoleOptions withName(String name) {
    return new Page.GetByRoleOptions().name(name);
}

I understand that making such a change is quite difficult for API stability/compatibility reasons, but biting the bullet now for a far better Java Playwright experience indefinitely in the future could be a tradeoff worth making?

They are actually fluent builders. JavaBean is very old, and newer code in the Java community is distancing itself more and more from that format (see e.g. Java17 Records don't use it).

Unfortunately we are bound to Java 8 which is still widely used, this limits the new language features that we can employ. Re changing the existing API - that ship has sailed, we cannot change the API because of the backwards compatibility that you mentioned. The options syntax is more concise in TypeScript/JavaScript and even .NET, so hopefully java will come up with a more lightweight syntax in the future. I believe people had more readable code by using Playwright Java in Kotlin, this could be another option.
I'm going to close this request as we are not planning to change the options structure for the reasons above.


Adding 1h timeout to the transpiler service

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

Thanks, will give it a spin


Remove modifier classes for footer

Action: Remove modifier classes for footer so only elemental selectors are present.

Closing this as layout is being redone in v2.


Demo_cross_validate notebook has different number of cross_validate parameters compared to split_utils.py file

Hi, as someone quite new in cheminformatics I like the Practical Cheminformatics blog and associated Jupyter notebooks a lot!
I'd like to try the notebook "demo_cross_validate.ipynb" and I noticed that in this notebook the cross_validate function has, among others, descriptor_list and metric_list as parameters. However, when I install useful_rdkit_utils (using pip) and import the cross_validate function, it seems that another version is used that does not have the descriptor_list and metric_list parameters. The split_utils.py file on the Github site indeed contains the version without these parameters. How can I get access to the cross_validate function from the "demo_cross_validate.ipynb" notebook so I can try to run this notebook with my own data?
Thanks!

Sorry about that.   I updated and simplified the cross_validate method but neglected to update the notebook. This has been fixed and the notebook is in sync wit the method.

Notebook was updated


audio

How do I change the audio output to my controller?

Hi @jggraser please let us know what you have tried. A good place to start would be the Mixxx manual: https://manual.mixxx.org/2.4/en/chapters/getting_started.html#configuring-sound-input-and-output

All of the audio options it gives me are not for my controller

I'm sorry but you will need to go into more detail than that. What controller are you using and what did you try and didn't work? Even a photo of your settings would be more useful than 'its not right'. Please help us to help you.


RangeError: offset is out of bounds

System Info

"@xenova/transformers": "^2.17.2"
"onnxruntime-web": "1.18.0",

Environment/Platform

[X] Website/web-app
[ ] Browser extension
[ ] Server-side (e.g., Node.js, Deno, Bun)
[ ] Desktop app (e.g., Electron)
[ ] Other (e.g., VSCode extension)

Description
Receiving the RangeError when disabling quantization
Reproduction

embed the code snippet below in a webpage
🐛 you get the range error
set quantized to true
😄 no error

import * as transformers from '@xenova/transformers';

const pipe = await transformers.pipeline('feature-extraction', 'mixedbread-ai/mxbai-embed-large-v1', {
	quantized: false,
});

try {
	const output = await pipe("Hello", { pooling: 'cls' });
	console.log(output);
} catch (err) {
	console.error(err);
}

Hi there 👋 That is a WASM out-of-memory error, which makes sense since you only get the error when using the unquantized (fp32) version of the model, which is ~1.34GB in size. If you would like to use the unquantized version, I would recommend you use it with the WebGPU execution provider, which you can try with the (experimental) v3 branch: https://github.com/xenova/transformers.js/pull/545. See the first comment for installation and usage instructions.


Claims - When we update the Rating on a Claim, it is updated, but may be Re-Indexing not done and Filter returning incorrect result

Claims - When we update the Rating on a Claim, it is updated, but may be Re-Indexing not done and Filter returning incorrect result

Closing the issue as we are not able to replicate it. Confirmed with @sshankaramanchi that it is working as expected.


Update cargo-casper to use casper-engine-test-support v2

As part of the updates, re-enable the two ignored cargo-casper tests

Opened ticket in wrong repo.


Removing warnings from autogen.sh.

thanks!

FYI:
Don't forget this line when you deal with C (there is some C third-party libs in MediaInfLib), else old distros (e.g. RHEL/CeantOS 5) fail to compile with "subdir-objects".

Thanks, @JeromeMartinez!


MonitorControl Not detected by Sound Preference (Beta 3.0.0)

Checklist

[x] I have searched for existing issues
[x] I have looked through the wiki
[x] I have updated MonitorControl to the latest version

Describe the bug
A clear and concise description of what the bug is.
The control using the keyboard is working. However, volume output is kept constant no matter what volume setting is chosen. Also, the app doesn't display in sound preferences as an output.
To Reproduce
Steps to reproduce the behavior:

Download the latest version (beta 3.0.0)
Launch the app
Go to Sound Preferences in System Preferences
The App is not listed
Click on Name:Samsung Type:HDMI (for testing)
Test volume control on keyboard
Volume indicator on monitor screen is increasing/decreasing, but volume output is kept constant, even when mute is enable.

Expected behavior
A clear and concise description of what you expected to happen.
Volume indicator on screen is increasing/decreasing, and volume output is increasing/decreasing respectively.
Screenshots
If applicable, add screenshots to help explain your problem.

Figure above shows the "Volume indicator" which appears on my monitor. Sounds is being heard, but volume output is kept constant even when mute is enable.
Additional context
Add any other context about the problem here.
Problem occurs on all port: HDMI and both thunderbolt (thunder-both port are used with a mini-dp to HDMI adaptor).
The monitor is a SAMSUNG M7
Environment Information (please complete the following information):

macOS version: Big Sur 11.5
Mac model: Macbook Pro Retina mid-2014
MonitorControl version: Beta 3.0.0.
Monitor(s): Samsung M7
Apple Silicon/M1 (yes or no): no (intel i5)

Hi, the app is not supposed to show up in your system preferences. It's a toolbar icon that you can then open or just control the monitor through shortcuts.

The app automatically controls the default selected output, so you need to set your monitor as the default sound output for it to work.
Furthermore, what you are describing vaguely resembles #505.
Can you try v2.1.0 and let me know if that version works for you?

@JoniVR Both brightness & sound controls were not working for me on v2.2 (on brew). After installing v2.1, brightness controls works as per normal but sound controls don't seem to work despite selecting Monitor for audio out.

@vincbeaulieu, Since the original question was answered and the v2.2 was pulled meanwhile, I'll close this issue for now. If there is anything else to do, please let us know! Thanks!


added multi-output transaction example

added multi-output transaction example where a sender sends BCH to 3 other recipients in the same transaction

Great work! Sorry for taking so long to approve this.


Rebaseline JavaConfigurationCachePerformanceTest

Use new nightly as the baseline version

@bot-gradle test and merge

OK, I've already triggered a build for you.


"User" info is included in the full_log

Perhaps this is as intended, but trying to get the full_log results in "User:" entries as well.
Alert: User: ddp
Nov 16 07:25:53 arrakis sudo:      ddp : TTY=ttyp1 ; PWD=/home/ddp ; USER=root ; COMMAND=/bin/ksh

This is the result of a simple print:
while( my $events = $parse->getAlert() ) {
        print("Alert: $events->{full_log}\n");
}

change has been made so that if group includes syslog, on the non parsed alert will be include in the full_log output.


Saving snap fails when saving docker socket

Not sure if this is the right place for this report but I'm preparing for a big upgrade of a lot of infrastructure from 1.13 to 1.15 and I tried the snap save microk8s feature so I could quickly rollback if needed. The operation failed with this output. Notably, this process ran for ~ 3 hours before outputting this message.
$ sudo snap save microk8s
error: cannot perform the following tasks:
- Save data of snap "microk8s" in snapshot set #1 (cannot create archive: tar: 581/docker.sock: socket ignored (and 4023 more))

#3 (cannot create archive: tar: 384/run/docker/metrics.sock: socket ignored (and 2 more))

it seems to be working if you do sudo microk8s stop before doing sudo snap save

Oh my yes. this works and is quite fast. closing.

Hmmm... I'm not sure I'd say "quite fast", the stop normally takes a very long time by itself and then save took a further 58 seconds.


fix #1238, adds BroadcastPartitioner

+1.

@clockfly no pattern matching for every new message. Further comments ?

+1


MRG: Enable fixing of mag channels

Addresses part of #2502.
Ready for review/merge from my end.

Other than 1 comment above, LGTM

@mshamalainen any thoughts?

@agramfort FYI the verbiage in the Notes section was adapted from Matti's C function mne_fix_mag_coil_types, so hopefully we won't see too much objection from @mshamalainen :)

@wronk good call, comment addressed.

merging then
thanks @Eric89GXL


content editable div in map popup causing error in leaflet 1.0.1

Leaflet version I'm using: 1.0.1
Browser (with version) I'm using: chrome Version 54.0.2840.90 (64-bit)
OS/Platform (with version) I'm using: linux

Hey,  made a content editable div in a leaflet popup.  Everything seems to work fine (I'm able to type things with no errors) until I press enter... then I get this message:
leaflet101.js:formatted:854 Uncaught TypeError: Cannot read property 'lat' of undefined(…)

I believe it's this line in the code (on line 854):
, n = Math.max(Math.min(i, t.lat), -i)

from:
o.Projection.SphericalMercator = {
        R: 6378137,
        MAX_LATITUDE: 85.0511287798,
        project: function(t) {
            var e = Math.PI / 180
              , i = this.MAX_LATITUDE
              , n = Math.max(Math.min(i, t.lat), -i)
              , s = Math.sin(n * e);
            return new o.Point(this.R * t.lng * e,this.R * Math.log((1 + s) / (1 - s)) / 2)
        },

For whatever reason, something becomes undefined when I press enter in the content editable div.  I tried the same thing in an input type='text' and I get the same error.  I don't get this error in leaflet .77
Any ideas?

Can you publish a fiddle/codepen/playground that displays this behaviour?

sure: https://rightnowportland.com
just click anywhere on the map and then in the textbox (after 'Right
now...'), hit enter.
On Fri, Nov 18, 2016 at 1:53 AM, Iván Sánchez Ortega <
<EMAIL_ADDRESS>wrote:

Can you publish a fiddle/codepen/playground
https://playground-leaflet.rhcloud.com/ that displays this behaviour?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Leaflet/Leaflet/issues/5113#issuecomment-261491741,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHKAskIkGGDz971lNtJGwqDoeWikRJa6ks5q_XWGgaJpZM4K2KqL
.

Minimal, Complete, Verifiable example, please. And using leaflet-src.js instead of leaflet.js. Debugging your application is not my job. Isolating a reproducible bug is not my job.

ok, sorry

Listen: this might be a Leaflet bug (I'm suspecting it might even be related to #4960), but you've got to show me the bug, nice and clear. What I see right now is a web application that misbehaves.
First you've gotta convince me that this is a Leaflet bug. This is not asking for much, right? And to convince me that there is a bug, you've gotta show the bug clearly to me.
If you're sure that «content-editable <div>s cause problems in popups», show me exactly that, and not more.


Enforce coding style guidelines to be followed

The first commit is just the result of tools/php-cs-fixer execution on master's HEAD. The second one adds php-cs-fixer to travis, travis builds fail if something added/modified is not compliant with the coding style rules defined in .php_cs.
An alternative may be a git hook that runs it automatically.

Funny thing is most of the code fixed by the tool belongs to the files I committed. I think I should be more careful about the code style thing.
However, as far as I could understand, with this update, any code submitted will be fixed automatically. So noone will ever really need to bother with spaces, tabs and other things. Right?

lol, no worries, I created the issue because I introduced some more :P
This patch would not automatically fix coding style issues for us, but would alert us that something was not coded according to the coding style, we should then run tools/php-cs-fixer.sh on our clones and amend our changes.
Ideally this should be managed by a server-side git hook that would fix this stuff for us, but they are not allowed in github as far as I know. The alternative I commented about above is to use client-side hooks so git would warn us before reaching travis-ci; the downside is that php-cs-fixer takes like 10 secs to finish and it is not nice to wait if you already checked that the changes are ok...

I'm not convinced if force to build fail because coding styles fails, is a good idea. Maybe there is a better solution? for example: https://houndci.com/

I agree with @itcraftsmanpl. It will be annoying to be prevented by the system for a slight issue like a space or any other character. The second thing (houndci.com) looks more reasonable if we would like to implement a feature like this.
However, to me, the best option is to execute the fixer before (or after) the commit automatically. At least, I decide to do it on my side no matter it will slow down the process a bit.
So, do you know how to do either of these (I am a SVN guy for years and very new to GIT -- probably you guessed this so far):

How can I integrate a script before git commit (on windows)?
I use Netbeans, do you know any working extension to Netbeans that automatically formats the code in accordance with PSR? By the way, I have other projects in which PSR is not preferred (because spaces instead of tabs increase the size of the file) and I do not want to change them. So, a project based option for Netbeans is preferred.

Thanks.

houndci.com looks promising although I haven't seen support for PHP, in any case .
IMO there are two options: to be flexible or to be rigid, if the project is flexible it would not be straight forward to prepare a pre-commit or pre-push git hook because running php-cs-fixer on master's HEAD will already return a exitcode != 0, may be better to wait for houndci.com or similar services to add support for PHP. Feel free to close the issue.


Private staking

Proposed Changes
Fixes #819
feature of private staking (incognito mode).
This pull-request impl BFF (hooks and fixtures), not include UI.
Implementation

add useGetPropertySetting, useCreatePropertySetting and useUpdatePropertySetting

The usage is the same as useGetProperty and useGetAccount
accessor is data.private_staking
create and update are required with web3.sign auth

NOTE
related issue: https://github.com/dev-protocol/dev-for-apps/pull/103

What will happen if part of the staking was already done publicly and new staking is done with the incognito mode on? @hhatto
I will try testing the feature when the gas fees :sweat_smile:

What will happen if part of the staking was already done publicly and new staking is done with the incognito mode on?

@Cold-A-Muse
The last setting will be reflected.
Because the incognito mode setting is a one-to-one relation between account and property.
Flow.1: [incognito mode = false] account=0xAA property=0xBB stake=100DEV
Flow.2: [incognito mode = true] change incognito mode (The Flow.1 staking is also treated as incognito in this timing.)
Flow.3: [incognito mode = true] account=0xAA property=0xBB stake=100DEV (200DEV is treated as incognito in this timing)


WasmEdge FFmpeg Plugin to Process Video and Audio Files

Integrated WasmEdge FFmpeg Plugin. The Plugin supports Audio and Video Processing.
https://github.com/Hrushi20/rust-ffmpeg

Hello, I am a code review bot on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!


exclude ci links from check

merge-ci is currently down

merge-ci is back so we can remove the exclusion


Test queries and records count

It seems like test queries point to TREC DL 19 queries? Is this correct and if so I feel like the records count needs to be updated to 200?
I feel like the records count for the dev set needs to be 5,193?

Fixed.


Visualisation tool not showing Observations

The new visualiser does not show Observations in the DiagnosticReport, just an empty table with headers.

@FlorianBonte-Moonchase : we are looking at it...


Extend observability.FuncCall for future needs

Description

Closes #3244.
Readiness checklist

[ ] I added/updated unit tests (and they pass).
[ ] I added/updated integration/compatibility tests (and they pass).
[x] I added/updated comments and checked rendering.
[x] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

@AlekSi PTAL if I understood the idea correctly.

PTAL if I understood the idea correctly

I don't know if the idea is understood correctly (documentation wasn't updated), but the implementation is just incorrect

Ready for another round of review! In all the places where FuncCall's context can't be used I added comments explaining why.


Translation adjustment - 'idioma' for 'linguagem'

It's better to understanding use 'linguagem' instead of 'idioma'. This last one is best translated into 'idiom'.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@CleoAguiar When you have a suggestion for a line, you can click on the line and then put:
new suggestion goes here

This way, the user and others know exactly what you are expecting the line to look like.
Thanks for your helping QAing these.


Fix build of obs-linuxbrowser

I would like to fix the build of obs-linuxbrowser, but it seems like I'll need some help along the way. Hopefully, there's someone who knows a bit about cmake and/or CEF to help me figure out why these builds are failing right now.
Anyhow, I updated CEF to cef_binary_75.0.11+gf50b3c2+chromium-75.0.3770.100, which seems to build fine. Then I updated obs-linuxbrowser to the latest version from https://github.com/bazukas/obs-linuxbrowser, but unfortunately that build fails as follows:
[ 63%] Linking C shared module build/obs-linuxbrowser/bin/64bit/libobs-linuxbrowser.so
[ 63%] Built target obs-linuxbrowser
In file included from /build/source/src/browser/browser-app.cpp:29:
/build/source/src/browser/browser-app.hpp:76:15: error: 'virtual bool BrowserApp::OnProcessMessageReceived(CefRefPtr<CefBrowser>, CefProcessId, CefRefPtr<CefProcessMessage>)' marked 'override', but does not override
  virtual bool OnProcessMessageReceived(CefRefPtr<CefBrowser> browser,
               ^~~~~~~~~~~~~~~~~~~~~~~~
/build/source/src/browser/browser-app.cpp: In member function 'virtual void BrowserApp::OnContextInitialized()':
/build/source/src/browser/browser-app.cpp:316:91: error: no matching function for call to 'CefBrowserHost::CreateBrowserSync(CefWindowInfo&, BrowserClient*, const char [45], CefBrowserSettings&, std::nullptr_t)'
      info, client.get(), "https://github.com/bazukas/obs-linuxbrowser/", settings, nullptr);
                                                                                ^
In file included from /build/cef/include/../include/cef_print_handler.h:42,
                 from /build/cef/include/../include/cef_browser_process_handler.h:43,
                 from /build/cef/include/cef_app.h:42,
                 from /build/source/src/browser/browser-app.hpp:23,
                 from /build/source/src/browser/browser-app.cpp:29:
/build/cef/include/../include/cef_browser.h:305:32: note: candidate: 'static CefRefPtr<CefBrowser> CefBrowserHost::CreateBrowserSync(const CefWindowInfo&, CefRefPtr<CefClient>, const CefString&, const CefBrowserSettings&, CefRefPtr<CefDictionaryValue>, CefRefPtr<CefRequestContext>)'
   static CefRefPtr<CefBrowser> CreateBrowserSync(
                                ^~~~~~~~~~~~~~~~~
/build/cef/include/../include/cef_browser.h:305:32: note:   candidate expects 6 arguments, 5 provided
/build/source/src/browser/browser-app.cpp: In member function 'void BrowserApp::UpdateActiveStateJS(bool)':
/build/source/src/browser/browser-app.cpp:387:17: error: 'class CefBrowser' has no member named 'SendProcessMessage'
  this->browser->SendProcessMessage(PID_BROWSER, msg);
                 ^~~~~~~~~~~~~~~~~~
/build/source/src/browser/browser-app.cpp: In member function 'void BrowserApp::UpdateVisibilityStateJS(bool)':
/build/source/src/browser/browser-app.cpp:395:17: error: 'class CefBrowser' has no member named 'SendProcessMessage'
  this->browser->SendProcessMessage(PID_BROWSER, msg);
                 ^~~~~~~~~~~~~~~~~~
/build/source/src/browser/browser-app.cpp: In function 'void {anonymous}::file_changed(int)':
/build/source/src/browser/browser-app.cpp:42:7: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   read(static_in_fd, (void*) &event, sizeof(inotify_event));
   ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/browser_shared.dir/build.make:76: CMakeFiles/browser_shared.dir/src/browser/browser-app.cpp.o] Error 1

Does anyone have an idea what to do about this compiler error?
Cc: @puffnfresh

https://github.com/bazukas/obs-linuxbrowser/issues/108 seems relevant.

Duh, nothing helps fix problem quite like explaining to problem to someone else in the hope that they can fix it. :-) It turns our that using the 74.x version of CEF is all it took. :champagne:
@GrahamcOfBorg build obs-linuxbrowser


Ability to customize demos and code snippets

I want to be able to provide my own demos and code snippets instead of rely on api-viewer-element to automatically generate them. They don't always come out accurate.
Here are my use-cases:

I have 3 types of checkboxes within one custom element, but only one example is shown. I would like to show all three.

<checkbox>Sign me up for daily emails</checkbox>

<checkbox inline>Electronics</checkbox>

<checkbox tile>R&B</checkbox tile>

<checkbox>Text me</checkbox>

I have a custom button dropdown menu that requires you to slot in <button>s or s, but the demo shows using
s, which is incorrect.

<button-dropdown>
  Actions
  <button slot="option">Download CSV</button>
  <button slot="option">Download Excel</button>
  Email
  <button slot="option">Print</button>
</button-dropdown>

<button-dropdown>
  Actions

Download CSV

Download Excel

Email

Print

</button-dropdown>

Hello. The component has some configuration using templates.

I have a custom button dropdown menu

You can use <template> for this:
<api-viewer>
  <template data-element="button-dropdown" data-target="slot">
    Actions
    <button slot="option">Download CSV</button>
    <button slot="option">Download Excel</button>
    Email
    <button slot="option">Print</button>
  </template>
</api-viewer>

Regarding the other request:

I have 3 types of checkboxes within one custom element

This is currently only possible with knobs. So you document inline and tile as boolean properties, then there will be checkboxes for each of them that user can toggle.
Also, in the upcoming 0.4.0 release there will be prefix & suffix slots (#27).
So, if you want to have static snippets, you will be able to do it like this:
<api-viewer>
  <template data-element="my-checkbox" data-target="prefix">
    <my-checkbox inline>Inline checkbox</my-checkbox>
  </template>
  <template data-element="my-checkbox" data-target="suffix">
    <my-checkbox tile>Tile checkbox</my-checkbox>
  </template>
</api-viewer>

Is that something that could cover your cases?

Ah, my mistake. I'm using <api-viewer-element> with Gridsome so I didn't realize I had a <template> nesting situation where the inner <template> was not being activated as a result.
<template>
  <api-viewer-element src="./custom-elements.json">
    <template data-element="button-dropdown" data-target="slot">
      Actions
      <button slot="option">Download CSV</button>
      <button slot="option">Download Excel</button>
      Email
      <button slot="option">Print</button>
    </template>
  </api-viewer-element>
</template>

Now I see. In 0.4 it will be possible to pass your templates, by extending a component:
import { customElement } from 'lit-element';
import { ApiViewerBase } from 'api-viewer-element/lib/api-viewer-base.js';
import styles from 'api-viewer-element/lib/api-viewer-styles.js';
import { setTemplates } from 'api-viewer-element/lib/lib/utils.js';

export class MyApiViewer extends ApiViewerBase {
  static get styles() {
    return styles;
  }

  firstUpdated() {
    const templates = []; // store templates somewhere
    setTemplates(templates);
  }
}

customElements.define('my-api-viewer', MyApiViewer)

That should solve the case where placing template elements as children doesn't work.

I have released a new version today, which has public setTemplates method. Can you try it?

As mentioned above, it's now possible to customise how templates are loaded. Closing as stale.


CSGPolygon fixes and features: Angle simplification, UV tiling distance, interval type.

This is to address new issues introduced in 3.4: https://github.com/godotengine/godot/issues/52179
Namely the removal of distance-based intervals and the way UV tiles.  I needed these for creating cables in my game.
I also added an option for simplifying geometry (In my game, it reduced the polycount of a cable from around 2900 triangles to 600).
I'm submitting this directly to 3.x because of changes to the class names, removal of pool vector, etc. mean this can't be merged cleanly from master, and it might be nice to get these fixed before 3.4 rolls out.  I'll do a separate pull request for master.

Reviewers who may want to take a look at this: @reduz @BastiaanOlij :)

Here's the pull request for master: https://github.com/godotengine/godot/pull/52512

Reading the original PR that changed the behavior it has no mention that the way UVs are calculated in this way, shame nobody caught it because I know a number of people who rely on the old behavior.
Having the UV increase over the length of a path according to distance is paramount to anyone who uses CSG path extrusions to create roads, paths, etc. and want to use tiling textures that consistently tile over distance.
So I'm all for this change.

Ok, I need to find some time to do a proper code review, I know @akien-mga already did some, but just played around with these fixes and I'm duly impressed.
The Angle Simplify option works a treat.
There is some strangeness in the calculated Us for the width of my track so it took a bit of trial and error to get the right values and I need to dive into that a bit more to discover the why and if they make sense. Otherwise though the Uv Distance property works exactly as I expect it too. I even finally have my finish line UVs make sense:

There is some strangeness in the calculated Us for the width of my track

Ah, right.  The UV only uses 50% of the texture so the other half can be used for the caps.  I was contemplating adding an option for that, but I didn't want to make the CSG stuff TOO complicated.  If you're going to review, check the master one, as I've done some cleanup and variable renames: https://github.com/godotengine/godot/pull/52512

There is some strangeness in the calculated Us for the width of my track

Ah, right. The UV only uses 50% of the texture so the other half can be used for the caps. I was contemplating adding an option for that, but I didn't want to make the CSG stuff TOO complicated. If you're going to review, check the master one, as I've done some cleanup and variable renames: #52512

Ah yes that makes sense I guess. So with 4 sides to the polygon being extruded adding up to have of the width of the texture my road section U width is 0.125. Hence * 8 brings it back to 1.0.

Please edit the PR title to make it clear it's for 3.x (I was confused why there are two identical PRs sitting open in my notifications)

I'm happy merging the master PR now, so this should be updated to match its changes.

I'm happy merging the master PR now, so this should be updated to match its changes.

Bump :)

I'm happy merging the master PR now, so this should be updated to match its changes.

Bump :)

Sorry, out of town for a few days.  Will try to address this next week.

I went ahead and amended your PR to do the same changes (renames, reordering) as in #52512.

Thanks!


bats org

Any thoughts or plans on creating a bats org for -docs, -support, -assert, and -file?
Aside from the benefit of adding maintainers to the org/repos, a side benefit is the ability to use waffle.io.
I've used waffle.io as a multi-repo kanban board for managing Issues on a number of projects and it works quite well. All issue information is kept in github, so its use is optional (anyone can continue to use the issues through GitHub without consequence). But for those who choose to do so, it's possible to view the issues on a kanban-like board with the best part being that you can view all of the issues across numerous repos. So we could add all the bats-* repos to the board and have a single place to view the status of all issues/prs across the "org".

I haven't used waffle.io yet, but it looks very convenient! I'd love to use it, but I think that the decision to create an organisation using Bats' name belongs to @sstephenson.
A different name maybe? Organisations can be renamed on GitHub and I suspect that waffle.io can handle the change (or even the reassigning of repositories to an official Bats organisation eventually). What do you think?
Although I was optimistic in the beginning, seeing that not much work has been done on long standing issues since the call for maintainers has been put out, I'm not sure what the future of Bats is. I know fully well that life happens and everybody is busy. I didn't post that list of improvements I promised months ago either.
I'm planning to work through your contributions first, and then complete that long promised list for Bats. If no discussion happens around that list, I will be tempted to say we need a fork.

discussion here: https://github.com/ztombol/bats-docs/issues/11


dns bug?

The custom domain in front of the gh-pages deployment https://jeffy.info
Please reopen if there's a bad link to https://thirty-four.info somewhere in my HTML.


2.1.x // Type changes and perf/bug fixes.

I uncovered a couple issues that lead to these changes. Sparse arrays (arrays with holes) seem to have poor performance when their length grows too large (even if they are empty). I wasn't limiting the subscriber counter so it would potentially assign a large index to the subscribers array and cause the forEach loop in setState to have performance issues. I fixed that by consolidating the subscribers array during setState. This minimally impacts performance for every call to setState and greatly improves performance in applications that are long running and/or have many renders per second.
The changes lead to a small refactor and unfortunately, some types changed. Good news is these types are used for internal functionality so our public API hasn't changed.
I also found an issue with concurrent mode. The state slice was being updated during the render phase when a new selector was passed in. If the render is interrupted after the slice updates, the next setState call won't update the component in some cases.
Anyway, here is the change list.

Removed SubscribeOptions and UseStoreSubscribeOptions types.
Added Subscriber type.
Improve performance by consolidating subscribers sparse array.
Fix potential issue with concurrent mode.

how did you test concurrent mode? would love to try this out myself. the changes look fine to me, if you like, publish a release.

I just used ReactDOM.unstable_createRoot(document.getElementById("root")).render(<App />);
Read more here: https://github.com/sw-yx/fresh-concurrent-react/blob/master/apis/roots.md


flutter run stuck at : "Running Gradle task 'assembleDebug'.."

Steps to Reproduce

After changing flutter channel to stable, and running flutter upgrade, I am not able to run my project
I tried flutter clean
I also tried cd android and then gradlew clean build.

Here is the flutter run -v log
[+9623 ms] executing: [C:\flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[+2084 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +44 ms] c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[   +3 ms] executing: [C:\flutter\flutter/] git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[ +855 ms] Exit code 0 from: git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[ +477 ms] 2.0.1
[+2956 ms] executing: [C:\flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[+1335 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[  +42 ms] origin/stable
[ +184 ms] executing: [C:\flutter\flutter/] git ls-remote --get-url origin
[+1154 ms] Exit code 0 from: git ls-remote --get-url origin
[ +392 ms] https://github.com/flutter/flutter.git
[+1499 ms] executing: [C:\flutter\flutter/] git rev-parse --abbrev-ref HEAD
[+1395 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +519 ms] stable
[+1853 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +515 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +564 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +614 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +603 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +492 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +532 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ +575 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ +719 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ +522 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +525 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[+1094 ms] executing: C:\Users\Acer\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[+1095 ms] List of devices attached
                    9f24b96                device product:OnePlus5 model:ONEPLUS_A5000 device:OnePlus5 transport_id:2
[+2098 ms] C:\Users\Acer\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 9f24b96 shell getprop
[+1599 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +598 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +608 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +670 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +583 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ +604 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ +666 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ +603 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +505 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[+1227 ms] Skipping pub get: version match.
[ +920 ms] Found plugin path_provider at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.27\
[ +544 ms] Found plugin path_provider_linux at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2\
[ +542 ms] Found plugin path_provider_macos at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+8\
[ +638 ms] Found plugin path_provider_windows at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_windows-0.0.4+3\
[ +609 ms] Found plugin shared_preferences at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences-0.5.12+4\
[ +589 ms] Found plugin shared_preferences_linux at
C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_linux-0.0.2+4\
[ +764 ms] Found plugin shared_preferences_macos at
C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+11\
[ +545 ms] Found plugin shared_preferences_web at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+7\[ +843 ms] Found plugin shared_preferences_windows at
C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_windows-0.0.2+3\
[ +650 ms] Found plugin sqflite at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\sqflite-1.3.2+3\
[ +792 ms] Found plugin url_launcher at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.7.10\
[ +590 ms] Found plugin url_launcher_linux at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+4\
[ +618 ms] Found plugin url_launcher_macos at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+9\
[ +621 ms] Found plugin url_launcher_web at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.5+3\
[ +619 ms] Found plugin url_launcher_windows at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\url_launcher_windows-0.0.1+3\
[ +699 ms] Found plugin webview_flutter at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\webview_flutter-1.0.7\
[+1343 ms] Found plugin path_provider at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.27\
[ +632 ms] Found plugin path_provider_linux at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2\
[ +746 ms] Found plugin path_provider_macos at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+8\
[ +598 ms] Found plugin path_provider_windows at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_windows-0.0.4+3\
[ +655 ms] Found plugin shared_preferences at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences-0.5.12+4\
[ +669 ms] Found plugin shared_preferences_linux at
C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_linux-0.0.2+4\
[ +626 ms] Found plugin shared_preferences_macos at
C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+11\
[ +610 ms] Found plugin shared_preferences_web at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+7\[ +581 ms] Found plugin shared_preferences_windows at
C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_windows-0.0.2+3\
[ +719 ms] Found plugin sqflite at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\sqflite-1.3.2+3\
[ +699 ms] Found plugin url_launcher at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.7.10\
[ +671 ms] Found plugin url_launcher_linux at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+4\
[ +626 ms] Found plugin url_launcher_macos at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+9\
[ +573 ms] Found plugin url_launcher_web at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.5+3\
[ +493 ms] Found plugin url_launcher_windows at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\url_launcher_windows-0.0.1+3\
[ +515 ms] Found plugin webview_flutter at C:\Users\Acer\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\webview_flutter-1.0.7\
[ +605 ms] Generating
C:\Users\Acer\flutterProgs\jaisalmeria-handloom\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +810 ms] ro.hardware = qcom
[ +842 ms] Initializing file store
[ +601 ms] Skipping target: gen_localizations
[ +645 ms] complete
[ +676 ms] Launching lib\main.dart on ONEPLUS A5000 in debug mode...
[ +717 ms] C:\flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\flutter\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata --output-dill C:\Users\Acer\AppData\Local\Temp\flutter_tools.ef95950e\flutter_tool.e015f521\app.dill
--packages C:\Users\Acer\flutterProgs\jaisalmeria-handloom\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\cache.dill.track.dill
[ +707 ms] executing: C:\Users\Acer\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 9f24b96 shell -x logcat -v time -t 1
[ +624 ms] <- compile package:jaisalmeria_handloom/main.dart
[+1599 ms] --------- beginning of main
                    03-06 22:54:45.448 D/MainServiceImplHandler: ( 3003): EVENT_STATE_INIT
[ +866 ms] executing: C:\Users\Acer\AppData\Local\Android\Sdk\platform-tools\adb.exe version
[+1285 ms] Android Debug Bridge version 1.0.41
                    Version 30.0.4-6686687
                    Installed as C:\Users\Acer\AppData\Local\Android\Sdk\platform-tools\adb.exe
[ +707 ms] executing: C:\Users\Acer\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server
[+1287 ms] Building APK
[ +973 ms] Running Gradle task 'assembleDebug'...
[ +759 ms] Using gradle from C:\Users\Acer\flutterProgs\jaisalmeria-handloom\android\gradlew.bat.
[ +731 ms] C:\Users\Acer\flutterProgs\jaisalmeria-handloom\android\gradlew.bat mode: 33279 rwxrwxrwx.
[ +860 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[+2806 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +607 ms] openjdk version "1.8.0_242-release"
                    OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
                    OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[ +726 ms] executing: [C:\Users\Acer\flutterProgs\jaisalmeria-handloom\android/]
C:\Users\Acer\flutterProgs\jaisalmeria-handloom\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=C:\Users\Acer\flutterProgs\jaisalmeria-handloom\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
assembleDebug
[+29251 ms] Starting a Gradle Daemon, 13 busy Daemons could not be reused, use --status for details
[+46749 ms] > Configure project :app
[+1688 ms] WARNING: The following project options are deprecated and have been removed:
[+1451 ms] android.enableAapt2
[+1258 ms] This property has no effect, AAPT2 is now always used.
[+23138 ms] > Configure project :path_provider
[+1531 ms] WARNING: The following project options are deprecated and have been removed:
[+1597 ms] android.enableAapt2
[+2208 ms] This property has no effect, AAPT2 is now always used.
[+2605 ms] > Configure project :shared_preferences
[+2131 ms] WARNING: The following project options are deprecated and have been removed:
[+1300 ms] android.enableAapt2
[ +899 ms] This property has no effect, AAPT2 is now always used.
[+1469 ms] > Configure project :sqflite
[ +869 ms] WARNING: The following project options are deprecated and have been removed:
[ +930 ms] android.enableAapt2
[ +915 ms] This property has no effect, AAPT2 is now always used.
[+1546 ms] > Configure project :url_launcher
[ +850 ms] WARNING: The following project options are deprecated and have been removed:
[ +873 ms] android.enableAapt2
[ +766 ms] This property has no effect, AAPT2 is now always used.
[+1303 ms] > Configure project :webview_flutter
[ +781 ms] WARNING: The following project options are deprecated and have been removed:
[ +823 ms] android.enableAapt2
[ +897 ms] This property has no effect, AAPT2 is now always used.
[+16706 ms] > Task :app:compileFlutterBuildDebug
[+3701 ms] [ +486 ms] executing: [C:\flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[+1782 ms] [+1897 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +849 ms] [        ] c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[ +926 ms] [   +1 ms] executing: [C:\flutter\flutter/] git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[ +842 ms] [+1163 ms] Exit code 0 from: git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[ +916 ms] [        ] 2.0.1
[+1037 ms] [ +186 ms] executing: [C:\flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +946 ms] [ +865 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ +890 ms] [        ] origin/stable
[ +977 ms] [        ] executing: [C:\flutter\flutter/] git ls-remote --get-url origin
[+1132 ms] [ +804 ms] Exit code 0 from: git ls-remote --get-url origin
[+1067 ms] [        ] https://github.com/flutter/flutter.git
[ +983 ms] [+1048 ms] executing: [C:\flutter\flutter/] git rev-parse --abbrev-ref HEAD
[ +978 ms] [ +907 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[+1073 ms] [        ] stable
[+1026 ms] [ +228 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[+1036 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[+1204 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[+1065 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +976 ms] [  +61 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +943 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[+1012 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ +920 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ +963 ms] [   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ +974 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +901 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +936 ms] [ +350 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ +924 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ +982 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +948 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +984 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +911 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[+1014 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ +903 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +918 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +917 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ +911 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ +939 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ +951 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +916 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +938 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +934 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +944 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +963 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +917 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +951 ms] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ +919 ms] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +928 ms] [ +404 ms] Initializing file store
[ +929 ms] [ +131 ms] Skipping target: gen_localizations
[ +944 ms] [  +56 ms] kernel_snapshot: Starting due to {}
[ +937 ms] [  +86 ms] C:\flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\flutter\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages
C:\Users\Acer\flutterProgs\jaisalmeria-handloom\.dart_tool\package_config.json --output-dill
C:\Users\Acer\flutterProgs\jaisalmeria-handloom\.dart_tool\flutter_build\220ee126b0db7e7b50047ba109348455\app.dill --depfile
C:\Users\Acer\flutterProgs\jaisalmeria-handloom\.dart_tool\flutter_build\220ee126b0db7e7b50047ba109348455\kernel_snapshot.d
package:jaisalmeria_handloom/main.dart

Here is flutter doctor -v log
[√] Flutter (Channel stable, 2.0.1, on Microsoft Windows [Version 10.0.18363.1379], locale en-IN)
    • Flutter version 2.0.1 at C:\flutter\flutter
    • Framework revision c5a4b4029c (2 days ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\Acer\AppData\Local\Android\Sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = C:\Users\Acer\AppData\Local\Android\Sdk
    • ANDROID_SDK_ROOT = C:\Users\Acer\AppData\Local\Android\Sdk\
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Ultimate Edition (version 2020.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2020.2.2
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code (version 1.54.1)
    • VS Code at C:\Users\Acer\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.20.0

[√] Connected device (3 available)
    • ONEPLUS A5000 (mobile) • 9f24b96 • android-arm64  • Android 10 (API 29)
    • Chrome (web)           • chrome  • web-javascript • Google Chrome 88.0.4324.190
    • Edge (web)             • edge    • web-javascript • Microsoft Edge 88.0.705.81

• No issues found!

Same for me, it happens after I upgraded my flutter SDK to 2.0.1

Hello, in your app directory go to android/gradle/wrapper/gradle-wrapper.properties you will find distributionUrl=https://services.gradle.org... remove the \ and run again, it should work fine.

Hello, in your app directory go to android/gradle/wrapper/gradle-wrapper.properties you will find distributionUrl=https://services.gradle.org... remove the \ and run again, it should work fine.

It was like this:
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
I make it like this
distributionUrl=https://services.gradle.org/distributions/gradle-5.6.2-all.zip
But it didn't work also :(

Hi @nehal076
Can you please make sure you're using Android Gradle 4.1.0
    dependencies {
        classpath 'com.android.tools.build:gradle:4.1.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }

Please provide your your flutter run -v,  your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Expose flushing frequence for the LedgerDB as a configuration parameter

The current logic uses 100 as a constant when performing a replay of the chain, to flush every time it sees that many blocks. This should be made configurable. See replayStartingWith

Blocked on https://github.com/input-output-hk/ouroboros-network/issues/4543 too


fix: typos in content collections docs

What kind of changes does this PR include?

Minor content fixes (broken links, typos, etc.)

Well-spotted, @pReya! Thanks so much!  🥳


OSSChat BOT DOWN

It's related to the upper stream problem:

https://github.com/padlocal/wechaty-puppet-padlocal/issues/123

Restored.

Restored.


Remove unnecessary and type unsafe usage of error_map

This code is:

Type unsafe: we access "error_map[response.status_code]", but we're not sure it's not None (may raise KeyError)
Unnecessary: codegen deals with error_map already, error_map is not supposed to be used directly, but passed as kwarg (which it is). So previous code would pass error_map, codegen will shift the type, and then convenience will catch it again, and re-shift to the same type (in the best scenario)

If we don't trust to have enough testing, tests should be added on error conditions.
Discovered while typing azure-core: https://github.com/Azure/azure-sdk-for-python/pull/31056

API change check
API changes are not detected in this pull request.

Hi @xiangyan99 , I just pushed a commit with test updates which mainly on: 1) added tests with "etag" 2) removed redundant tests
Can you help to review?


Working with a Designer UI File - Using Qt Designer and Python to Create Main Windows

Proposed title of the article
Working with a Designer UI File - Using Qt Designer and Python to Create Main Windows
Proposed article introduction
To build a graphical user interface (GUI) for your PyQt windows and dialogs, you have two options: utilize Qt Designer or manually write the GUI in plain Python code. The first route may significantly increase your productivity, while the second option gives you complete control over your application's code.
A primary window and numerous dialogs are standard components of graphical user interface (GUI) programs. If you want to build these visual components quickly and easily, Qt Designer is the solution for you. This article will teach you how to use Qt Designer to build GUIs efficiently.
Key takeaways
By the end of this tutorial, we will understand:

An overview of Qt Designer.

Installing and Running Qt Designer
Using Qt Designer's New Form Dialog
Using Qt Designer vs. Hand Coding Your GUIs

Building Main Windows With Qt Designer and Python

Creating the main menu
Adding and populating toolbars
Laying out widgets

Conclusion

Article quality
I will be building Main Windows With Qt Designer and Python, thus making my article unique
References
N/A

Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

hello @ahmadmardeni1 what about this topic suggestion

hello @ahmadmardeni1 what about this topic suggestion

hello @hectorkambow , @ahmadmardeni1 what's up with this topic suggestion. I have tried to ping several times with no reply.


"Object reference not set to an instance of an object."

I installed the Nuget package and copied the configuration sample into my app.config file. I also added an appender reference.
    <root>
        <appender-ref ref="LiteDbAppender"/>
    </root>

When I run the app I get this error:

"Object reference not set to an instance of an object."
"   at log4net.Appender.LiteDB.LiteAppender.GetCollection()"

Is there anything that needs to be done in the code to get this library to work?
Log4net and LiteDB are both installed and working properly.

Hi @karmacon,
This error might be caused by the wrong configuration I put in the README.md.
Please refer to this issue #2
I have fixed the README, should be ok if you're using the new configuration sample.


nginx module, OpenResty module for easier installation ? dockerfile ?

When nginx will allow out of tree compilation, it will be easy to distribute separately a module that installs the right config and hooks into nginx instead of multiple conf files. Maybe.

Also when http://blog.alexellis.io/mutli-stage-docker-builds/ is released in docker, it will be very lightweight to install upcache as an executable dockerfile built upon openresty.

Small improvements has been made in version 0.8.0 with make luarocks


images loaded only after first scroll

Hello - first of all thanks for this great piece of software.
Can you please help me with this?
A simple view and a controller
-----------Controller code---------
 constructor(private $scope:OverviewScope , $stateParams:OverviewScope , private ContentFeedService , private Constants, private $filter) {

        ContentFeedService.getOverviewByType($stateParams.id,(result:Array<Joiz.Interfaces.Content>) => {

            $scope.items = result;  //this is my ajax result -
        });

------------view ----------------

Now - when i load this page the ajax will execute and text content will be bound - the images will not be displayed - only after i scroll a fraction on the page.
if i add 'nolazy':true the images appear without any scolling
using a normal ng-srcset also displays the images straight away
can this be fixed? is it my controller coder or the view syntax?
thanks
Eric

The directive works in linking phase, and when scope is changed it reacts on it. Please make a plunkr or something online where you just mock your async call. Then we can put breakpoints.

I tried the experimental bower version  from https://github.com/afklm/ng-lazy-image/issues/30 but the problem still persists -
http://staging.insight.tv/#!/show
its the top batch of images
as a temporary solution i am using now
<div class="afkl-lazy-wrapper" afkl-lazy-image-options="{'nolazy':true,'alt':[[value.name]]}" afkl-lazy-image="...."/>```

instead of

what is your scrollable container?

can you have staging to not uglify and not set it to nonlazy? then i can debug and help, with my own setup i can't replicate.

Hey, I have the same problem. I have a $scope.images but I only populate it once. When I change to other page, I can't see the images.
This is a plunkr:
http://plnkr.co/edit/DJe6BrzlImNfWQLSe04j?p=preview

I think in your case $scope is cleared for every route. Allthough you give every route the same controller the scope is new and items attached to it are not persistent.
So Log what is in scope and you will notice (i could not run it because of chrome telling rawcontent is text/plain), also see if scope $destroy is triggered by route change and then you will know for sure.
So best is to cache the images in your service!! And then attach them on your scope always.

Normally if you switch stuff with css then the image container doesn't notice the change so you broadcast it yourself to notify them $scope.$broadcast('afkl.lazyImage.destroyed'); allthough this seem hacky there is no real problemsolver in angular 1.x maybe for 2 :-)

Yeah, I cache an array "$scope.images" and everytime that I change pages, "$scope.images" has the correct array. It really seems hacky the other solution, so I think that I'm going to update everytime my "$scope.images" in the controller. The real work of changing pages in my real app is because one page tells to the controller what kind of filter is going to be applied.
It didn't seems right to me always update "$scope.images" with the same content, that doesn't have too much impact?
Thanks for the quick answer.


New component: Chip

Just like in https://material.io/guidelines/components/chips.html

same as in #40

Why not use the same model that you use in the docs for InputNumber?

That could be a really good start point for a Chip component!

@fergardi thank you very much this great but wait a moment that I am migrating almost all the documentation and when I upload it I approve the function to save the work I will upload what I have and I would like to thank you very much for the contribution

#42

Ready and the component is ready with some improvements thank you very much already in the documentation


Accordion: height not adjusting on dynamic loading

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
Adding onSlotChange event handler to the  in order for the height to be adjusted dynamically if the content changes without re-render.

📦 Published PR as canary version: 20.37.3--canary.823.cb3f2102332e17f49dff3e1ecd78021f4b379d44.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Based on a user request, I have added the open prop and renamed the existing open State to internalOpen. Like this, the user can control the open state of each ifx-accordion-item programmatically.

test cases are missing.


[tensor] Update tensor operations to use cblas

Update tensor operations to use cblas
Further, update various operations to use stl functions than implement locally
Bug fix on sum_by_batch which calculated sum of absolute values earlier
Signed-off-by: Parichay Kapoor<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #482. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:octocat: cibot: @kparichay, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @kparichay, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.


In rl_unplugged, is your dependencies right?

The TF version in my Linux env is 2.2,  i installed the dependencies based on your requirement.txt, when i run your atari demo, it note me that 'no moudle named tf.contrib', so i down the TF version to 1.15, and Then it note me that 'the version of Reverb require TF version >=2.3.0, and then i upgrade the TF to 2.3.0. Now it notes me 'no moudle named tf.contrib'

which version of TF should i install ?

Thanks for reporting this.
I think your problem can be fixed by upgrading the dopamine-rl package to version >=3.1.0:
pip install dopamine-rl==3.1.2
Please let me know if that works for you. I am investigating in more detail and will update the requirements.txt file and the atari colab noteboook soon.

Thanks for reporting this.
I think your problem can be fixed by upgrading the dopamine-rl package to version >=3.1.0:
pip install dopamine-rl==3.1.2
Please let me know if that works for you. I am investigating in more detail and will update the requirements.txt file and the atari colab noteboook soon.

But, Which Version of TF should I install ?

TF 2.3.0 as required by Reverb should work

TF 2.3.0 as required by Reverb should work

but in atari, it use tf.contrib moudle, which has been removed in TF >=2.0

The contrib module is imported by an older version of the dopamine-rl dependency. Upgrading that to version 3.1.2 should fix the problem since that will be compatible with TF 2.3

The contrib module is imported by an older version of the dopamine-rl dependency. Upgrading that to version 3.1.2 should fix the problem since that will be compatible with TF 2.3

Thank you very much, i  have figure out the problem by upgrade dopamine to 3.1.2 and upgrade TF to 2.3.0.
And your demo has ran on my machine.

That's great to hear, thanks for confirming this works for you. We will update the requirements file soon and then we will mark this as closed.

Here is the requirements.txt I ended up with
Not making any claims as to it's correctness, but I managed to load the atari example, no nightly builds.
absl-py>=0.9.0
astunparse==1.6.3
atari-py==0.2.6
cachetools==4.1.1
certifi==2020.6.20
chardet==3.0.4
cloudpickle==1.3.0
decorator==4.4.2
dm-acme==0.1.7
dm-control==0.0.319497192
dm-env==1.2
dm-reverb
dm-sonnet==2.0.0
dm-tree==0.1.5
dopamine-rl==3.1.2
future==0.18.2
gast==0.3.3
gin-config==0.3.0
glfw==1.11.2
google-auth==1.18.0
google-auth-oauthlib==0.4.1
google-pasta==0.2.0
grpcio>=1.30.0
gym==0.17.2
h5py==2.10.0
idna==2.10
Keras-Preprocessing==1.1.2
lxml==4.5.1
Markdown==3.2.2
numpy>=1.19.0
oauthlib==3.1.0
opencv-python==<IP_ADDRESS>
Pillow==7.2.0
portpicker==1.3.1
protobuf==3.12.2
pyasn1==0.4.8
pyasn1-modules==0.2.8
pyglet==1.5.0
PyOpenGL==3.1.5
pyparsing==2.4.7
requests==2.24.0
requests-oauthlib==1.3.0
rsa==4.6
scipy==1.4.1
six==1.15.0
tabulate==0.8.7
tensorboard>=2.3.0
tensorboard-plugin-wit==1.7.0
termcolor==1.1.0
tensorflow==2.4.0
tensorflow-probability
trfl==1.1.0
urllib3==1.25.9
Werkzeug==1.0.1
wrapt==1.12.1

I used this requirement file. Though the installation went smooth,  I encountered the same question as  @arcticriki  when running the codes. I fixed this by using pip install dm-reverb==0.1.0 and pip install tensorflow==2.3.


PC/Carla simulation fixes

This PR addresses multiple issues affecting simulation on a PC

prevent excessive CPU usage by loggerd (#22837)
fix PC intrinsics selection (#22705,#22546)
add missing "HUD_SETTING" message in can.py (#22705)
don't alert on cruise_mismatch when simulating (#22780)
add onnx CUDAExecutionProvider (#22736)
fix PC path setup (#22705)

An additional change is needed to get good simulation. Adding the missing can message revealed a problem in the simulated car's database, which lacks COUNTER and CHECKSUM values for "HUD_SETTING" messages in the opendbc/generator/honda/honda_civic_touring_2016_can.dbc file. The following appears to work:
BO_ 493 HUD_SETTING: 8 XXX
SG_ IMPERIAL_UNIT : 5|1@0+ (1,0) [0|1] "" EON
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" EON
SG_ CHECKSUM : 59|4@0+ (1,0) [0|3] "" EON

Something "smells wrong" with the malformed HUD_SETTING message. How has this not been a problem with actual operation in cars? I'm wondering if the correct solution might be to remove it rather than fix it with the added counter and checksum.

Looks like we never defined the counter/checksum in the HUD_SETTING message. Fixed this on the bridge side for now.


GPU solver for H and He chemistry, cooling and photoheating. Fixed

(Fixed bug from previous pull request)
Included a solver for the non-equilibrium ionization states of hydrogen and helium that also computes the radiative cooling and photoheating.
The ionization states of H+He are tracked as scalar fields and advected with the hydro solver. Each time step the ionization states are updated based on the ionization and recombination rates as well as photoionization, additionally, the cooling rates are computed and the internal energy is updated.
Cooling processes:
Collisional excitation
Collisional ionization
Recombination
Bremsstrahlung
Compton cooling from the CMB
Photoheating from the UV background (time-dependent photoheating and photoionization rates are passed by the user)
The solver closely follows the implementation from Grackle. A comparison from simulations using Grackle and the new GPU solver can be found here:
https://bvillasen.github.io/blog/astro/2022/01/28/cholla_chemistry_new.html
The solver can be used with or without HYDRO_GPU.
This PR also includes updates

@bvillasen, due to some changes in the automated build script the checks need to be rerun. Do you mind if I merge them into this branch then run them or will that mess something up?


pythonPackages.pynacl: 0.3.0 -> 1.2.1

Motivation for this change
python-packages.nix contains version 0.3.0 of pynacl, which is very old.
Things done
Created a nix expression for pynacl at version 1.2.1 in it's own file, removed old 0.3.0 version of pynacl from python-packages.nix

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

[x] NixOS
[ ] 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 python3Packages.pynacl python2Packages.pynacl

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘python3.6-pynacl-1.2.1’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/development/python-modules/pynacl/default.nix:23 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
........................................................................ [ 95%]
........................................................................ [ 96%]
........................................................................ [ 98%]
........................................................................ [ 99%]
.                                                                        [ 99%]
tests/test_utils.py ...                                                  [100%]

=================== 4520 passed, 4 skipped in 26.52 seconds ====================
/nix/store/wsg13r657x6dhni2y7ylm8n4qcxdl49x-python3.6-pynacl-1.2.1
/nix/store/0sf4kwiq251m67h0x6djsqjzf0paax05-python2.7-pynacl-1.2.1

Failure on aarch64-linux (full log)
Partial log (click to expand)
>               '%.2fms') % (runtime, self.settings.deadline)
            )
E           hypothesis.errors.DeadlineExceeded: Test took 2947.81ms, which exceeds the deadline of 1500.00ms

/nix/store/gck74417yqh4gydgcb5mzkmqqvgmzzsy-python3.6-hypothesis-3.27.0/lib/python3.6/site-packages/hypothesis/core.py:542: DeadlineExceeded
---------------------------------- Hypothesis ----------------------------------
Falsifying example: test_pwhash_str_and_verify(password='     ')
============== 1 failed, 4519 passed, 4 skipped in 219.87 seconds ==============
builder for '/nix/store/n2iwkdx3dblrm63qxp1lr1hkrlg98wbn-python3.6-pynacl-1.2.1.drv' failed with exit code 1
error: build of '/nix/store/5i8zv2nms5019rkdjparpxs6jpjiv7wm-python2.7-pynacl-1.2.1.drv', '/nix/store/n2iwkdx3dblrm63qxp1lr1hkrlg98wbn-python3.6-pynacl-1.2.1.drv' failed

The deadline seems to be a known problem: https://github.com/pyca/pynacl/issues/370
I guess it's best to remove that completely for Nixpkgs


boards: arm: Add support for Silabs Happy Gecko SLSTK3400A board

The EFM32 Happy Gecko USB-enabled kit contains sensors and
peripherals demonstrating some of the EFM32HG MCU capabilities.
This includes:

the Gecko SDK files for the EFM32HG SoCs
the emlib peripheral driver files

Origin: Silicon Labs Gecko SDK
URL: https://github.com/SiliconLabs/Gecko_SDK
Version: v5.1.2 (SHA: 938464c68e6c3b2237388a692f767bb0767ec010)
Purpose: Add support for Silicon Labs EXX32 SoCs
License: Zlib
Maintained-by: External
To update the Gecko SDK, download the current version from the given URL
and replace the following folders:

Gecko_SDK/platform/Device/ should replace ext/hal/silabs/gecko/Device/
Gecko_SDK/platform/emlib/ should replace ext/hal/silabs/gecko/emlib/

Signed-off-by: Marcio Montenegro<EMAIL_ADDRESS>

Look into git rebase and the ability to 'squash' commits
https://blog.carbonfive.com/2017/08/28/always-squash-and-rebase-your-git-commits/

Thanks for review Christian
On Thu, Apr 5, 2018 at 5:30 PM, Christian Taedcke<EMAIL_ADDRESS>wrote:

@chrta commented on this pull request.
In boards/arm/efm32hg_slstk3400a/doc/efm32hg_slstk3400a.rst
https://github.com/zephyrproject-rtos/zephyr/pull/6945#discussion_r179590030
:

+.. _efm32wg_stk3800:

+EFM32HG-SLSTK3400A
+###############
+
+Overview
+********
+
+The EFM32 Happy Gecko Starter Kit EFM32WG-STK3800 contains a MCU from the
+EFM32HG family built on ARM® Cortex®-M4F processor with excellent low
+power capabilities.
+
+.. image:: happy-gecko-starter-kit.jpg

:width: 375px
:align: center
:alt: EFM32HG-SLSTK3400A

If you took the image from Silicon Labs, you should credit them, see
https://www.silabs.com/community/general-interest/
forum.topic.html/usage_of_board_pictu-ydFZ
I did this there: 3092d6a#diff-60f73521f2a29f145ead3733a9f66c26R13
https://github.com/zephyrproject-rtos/zephyr/commit/3092d6aaf5c864601bae42f8fd0c2abd95521047#diff-60f73521f2a29f145ead3733a9f66c26R13
In boards/arm/efm32hg_slstk3400a/doc/efm32hg_slstk3400a.txt
https://github.com/zephyrproject-rtos/zephyr/pull/6945#discussion_r179590855
:

@@ -0,0 +1,175 @@
+.. _efm32wg_stk3800:

This file should be removed (duplication of the rst file)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zephyrproject-rtos/zephyr/pull/6945#pullrequestreview-109864188,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGH6SZv3t1-zSru6HAyPpQ_Hr5fqDmRRks5tln7zgaJpZM4TIgjy
.

Hello Kumar,
First sorry for delay.There is a README file on folder ext/hal/silabs/gecko
https://github.com/zephyrproject-rtos/zephyr/tree/master/ext/hal/silabs/gecko
So I need to replace the current file to the new format?
Best regards,
Marcio
On Tue, Apr 24, 2018 at 10:19 AM, Kumar Gala<EMAIL_ADDRESS>wrote:

@galak requested changes on this pull request.
Can you add a README per: http://docs.zephyrproject.org/
contribute/contribute_non-apache.html
for the SDK import.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zephyrproject-rtos/zephyr/pull/6945#pullrequestreview-114777183,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGH6Sek5vF7xtBnjaIk4ug8itZYcmlBJks5tryZUgaJpZM4TIgjy
.

Yes please do (try and keep the info about updating & folders used from the HAL in the new README).  As new EXT contributions need to get TSC & zephyr board review its easiest to start with having something in the README format described in the contribution guidelines.

This is now work in progress. I will write a comment, when i think all comments are addressed.

@galak

Can you add a README per: http://docs.zephyrproject.org/contribute/contribute_non-apache.html
for the SDK import.

A fixed gecko sdk readme is already part of a not yet merge pull request, see commit
https://github.com/GilBenkoe/zephyr/commit/7bf473905cb2f11b9a3f3fba2ba9d40949a66953
Is this sufficient?

Every comment should be addressed now (only the README for non-apache-projects is not added).
Can someone point be to the issue that shippable found? I am not able to find the reports where i can see which test failed.

The tests that are failing overflow the sram (only 8kB), e.g.:
./scripts/sanitycheck -p efm32hg_slstk3400a -s tests/posix/pthread_join/portability.posix

Result:
[ 94%] Linking C executable zephyr_prebuilt.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       23768 B        64 KB     36.27%
            SRAM:        9572 B         8 KB    116.85%
        IDT_LIST:          40 B         2 KB      1.95%
/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/real-ld: zephyr_prebuilt.elf section `noinit' will not fit in region `SRAM'
/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/real-ld: section .intList VMA [0000000020002000,0000000020002027] overlaps section noinit VMA [0000000020000548,00000000200021c7]
/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/real-ld: region `SRAM' overflowed by 1380 bytes
collect2: error: ld returned 1 exit status

On the ST board nucleo_f030r8 (also 8kB) it fits:
SRAM:        7672 B         8 KB     93.65%

What should i do to fix this?

@chrta,

What should I do to fix this?

This is what I did to fix the flash overflow. You can follow the same approach for the sram:
https://github.com/zephyrproject-rtos/zephyr/pull/7008/commits/9858d8e4ed7564e1c7afe5c95ddd2c2ff5b4af74
I think you will have to create another PR just to fix this.

@diegosueiro

What should I do to fix this?

This is what I did to fix the flash overflow. You can follow the same approach for the sram: 9858d8e

These tests and samples link for an stm32 with 8kb ram, but do not link for this efm32 with 8kb ram. I assume the reason is the size of the gecko sdk code pulled into the project. I do not want to raise the ram limit, just because the gecko sdk eats so much of it.
Any other suggestion?

@nashif I think something went wrong here. This is marked as merged, but the commits are not in master. And i think that should not be merged right now, since i am currently fixing the sanitycheck issues.

@chrta,
If you don't want to change the test requirements the only thing I can think about to overcome this is to remove the GPIO and UART enablement in the default configuration of the board.
PS.: It is showing that this PR has 0 commits. This is really strange.

@diegosueiro By reducing the stack sizes all tests are working now. So no need to change anything else.
@nashif @galak  Could you please repoen this pull request?

@nashif @galak Could you please reopen this pull request?

reopen how?  looks like we merged a version of this.

reopen how? looks like we merged a version of this.

or do you mean #6078 ?

or do you mean #6078 ?

No, i mean this one. There is no commit merged from this pull request. The status of this merge request indicates this, but if i look into the commits of the master branch, i do not see any commit from this pull request.
If reopening is not possible, i can just open a new pull request and reference this one from the new request.

If reopening is not possible, i can just open a new pull request and reference this one from the new request.

Probably just open a new PR.


what does this assert means？

Traceback (most recent call last):
File "training_evaluation\function_name_prediction.py", line 152, in
cli_main()
File "training_evaluation\function_name_prediction.py", line 149, in cli_main
main(args)
File "training_evaluation\function_name_prediction.py", line 29, in main
_main(args)
File "training_evaluation\function_name_prediction.py", line 59, in main
model = FuncNamePred.from_pretrained(
File "C:\Users\wsxk\Documents\SymLM\fairseq\models\roberta_mf\function_name_prediction.py", line 200, in from_pretrained
x = hub_utils.from_pretrained(
File "C:\Users\wsxk\Documents\SymLM\fairseq\hub_utils.py", line 71, in from_pretrained
models, args, task = checkpoint_utils.load_model_ensemble_and_task(
File "C:\Users\wsxk\Documents\SymLM\fairseq\checkpoint_utils.py", line 243, in load_model_ensemble_and_task
task = tasks.setup_task(args)
File "C:\Users\wsxk\Documents\SymLM\fairseq\tasks_init.py", line 20, in setup_task
return TASK_REGISTRY[args.task].setup_task(args, **kwargs)
File "C:\Users\wsxk\Documents\SymLM\fairseq\tasks\masked_lm_mf.py", line 93, in setup_task
assert len(paths) == len(params.fields) + 1  # one more for control flow
AssertionError

It seems that the parameter paths don't used in fairseq\tasks\masked_lm_mf.py？

Hi @wsxk,
Can you provide more details about this error message? For example, what command did you run? Normally, this task script won't be invoked as it's not the task file for SymLM.

I use training_evaluation/prediction.sh  to prediction function names for test binaries,as mentioned in README.md. And I donwload the checkpoint_best.pt.

as I add print function,I found :
paths:
['caller1', 'caller2', 'external_callee1', 'external_callee2', 'internal_callee1', 'internal_callee2', 'self']
params.fields:
['static', 'inst_pos_emb', 'op_pos_emb', 'arch_emb', 'byte1', 'byte2', 'byte3', 'byte4']

Hi @wsxk,
checkpoint_best.pt is the pertained model from Trex. it's not our function name prediction model, which is fine-tuned from this model. To train our model, you have to follow the training instructions. After training, you can use the prediction.sh to perform inference.

thank you for your explicit explanation! By the way, to fine-tune this model,what is your gpu configuration?

We used NVIDIA GEFORCE GTX 1080 Ti. And we found single 1080Ti GPU can run our training. You can adjust some parameters in training_evaluation/train.sh to fit your need, e.g., MAX_SENTENCES and TOTAL_EPOCHs.


add Terminated message handling for pool router actor

fix #316

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Dian Yang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


bugfix: support configurable env variables for JindoRuntime

Ⅰ. Describe what this PR does
This PR passes user-set env variables in JindoRuntime to JindoFSx's components.
Ⅱ. Does this pull request fix one issue?

fixes #3154
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/test fluid-e2e


Fix typo

Typo: Markdown syntax error

@changeworld : Thanks for your contribution! The author, @jamesbak, has been notified to review your proposed change.


zoom, panning image

Hi does the library have feature zooming and panning the image? I would like to have a fixed and non-moving crop frame with zooming and panning on image.
Thanks and look forward to your reply.

See uCrop library.

I tried uCrop and it seems like it has some issue when using its CropImageView. It doesn't allow zoom in and overlayview not showing with just transparent black bg. Not sure what happen. Been spending hours try to solve it, but it seems alot of effort just to fix something i never change. Are you goin to have zooming and panning image feature any time soon in the future? I really prefer your library on its simplicity, and most importantly, it's working like magic.

The is auto zoom feature and support for rotation.
But there is no plan to provide UX similar to uCrop, as i understand this
is the UX you want.
On Sat, Jul 2, 2016, 17:54 kuoliangkwong<EMAIL_ADDRESS>wrote:

I tried uCrop and it seems like it has some issue when using its
CropImageView. It doesn't allow zoom in and overlayview not showing with
just transparent black bg. Not sure what happen. Been spending hours try to
solve it, but it seems alot of effort just to fix something i never change.
Are you goin to have zooming and panning image feature any time soon in the
future? I really prefer your library on its simplicity, and most
importantly, it's working like magic.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ArthurHub/Android-Image-Cropper/issues/117#issuecomment-230105591,
or mute the thread
https://github.com/notifications/unsubscribe/AFNeUyTZo9nxvo7pdVxykn6DSWrC4vINks5qRnufgaJpZM4JDq5r
.

I managed to get uCrop work now. Thanks alot for your help. Really appreciate it ; )


Add standalone support (without modules) for angular

Core Library
MSAL.js v2 (@azure/msal-browser)
Wrapper Library
MSAL Angular (@azure/msal-angular)
Public or Confidential Client?
Public
Description
Since angular is moving towards functional way and without modules.
Source
External (Customer)

Closing as duplicate of #6080 - please track that issue for updates


Add Documentation about How to Configure Agora API

In this issue,

Add steps to configure AGORA API in README File
Connect our project with Agora API.
For documentation refer This Link

can you assign me this @dhruvdabhi101 pls?

can you assign me this @dhruvdabhi101 pls?

sure.

@ProtyayMnd50 make sure you create a proper documentation so that beginners can also have i dea about it


Feature: cumuluspage tag

it would be cool to have a twig tag cumuluspage to create link directly to cumuluspage instead of doing it with |page{'cluster': cluster.username}
or did I miss it?

Hi @chrisvidal,
I agree it may be a good idea but not without problems. In general, you can name the :cluster parameter differently in your pages and everything should still work. We wouldn't be able to detect its name in the filter. What is more, you can use cluster's slug in some cases, and not username. Not sure we could do something much easier than the typical |page{'cluster': cluster.username.  If you have any ideas, respond to this issue.
Cumulus gives integration with RainLab.Pages plugin and registers custom nav items type (cumulus page). They can be automatically hidden basing on features selected and they will have the cluster parameter filled if it's the same for all pages. It's not perfect, too, but could save some time and make better UX for admins.
Tomasz

the issue I am facing is that I created an admin menu under rainlab pages.
each menu item is attached to a cumuluspage target a page with multiple parameters on top of :cluster, for instance /app/:cluster/clients/:mode/:id as I created my component acting as controller handling the all CRUD experience in one page.
But, when I am navigating down the whole link, for instance /app/client-username/clients/edit/128, the menu items URL inherit the params :mode and :id, hence ht menu item do not work as it links to the same page instead of the parent page. It is probably a default behavior from rainlab page, I am not sure but I was thinking that if a twig filter cumuluspage edited it could handle the link to the page. But you are right, the filter wouldn't know the name of the param holding the slug or the username.

@chrisvidal well, actually we could guess the parameter, to be honest. I'll note this down on our board and will think about it. Thanks for the suggestion.


Ensure that when a user registers the correct directory structure is create for them

Our deployment script creates a directory in the hydra collection and gives them access to it. @jourdain Why do we store the user data under the hydra collection? Doesn't it make more sense to store this user specific data under the user?

So the "data" is associated with a workflow.

So does that user directory get create by the client?

yes when a user goes into a given workflow for the first time.

@jourdain The problem with having these user directories under the workflow is that we explicitly need to grant write access to them for the user. If a user registers, using the register link they will not be in the right group and thus will not have access the workflow directory so they creation of the user directory will fail.

If the user request to be part of a group at registration time. Then that might solve part of the problem.

On Oct 6, 2015, at 07:11, Chris Harris<EMAIL_ADDRESS>wrote:
@jourdain The problem with having these user directories under the workflow is that we explicitly need to grant write access to them for the user. If a user registers, using the register link they will not be in the right group and thus will not have access the workflow directory so they creation of the user directory will fail.
—
Reply to this email directly or view it on GitHub.

The user doesn't have the option to request being part of a group at registration time, we would have to do this as some sort of post registration step.

Or have a custom registration endpoint.

I think we should discuss this in person, I still feel in may ways this data belongs in the users private folder ( is could be under a folder with the workflow name ). If the user creates simulation in several workflow their data is distributed across several collections, rather than being held on one place.


Lets test all the changed NetKANs - fixes KSP-CKAN/CKAN#1479

Function variables are global to the script, we overwrite $f inside the 'inject_metadata' function. Tested with/without changes locally duplicating the issue first and fixing it with below.

Yay! Can't test locally but it looks sane to me. Merging with big thanks and bated breath to see Jenkins do its thing.

https://github.com/KSP-CKAN/NetKAN/pull/2723 shows the expected results from this change. Awesome job @techman83, big thanks.

:dancers:


[Phone Auth] Building with Xcode 14.3.X, displays wrong country code

Welcome to FirebaseUI and thanks for submitting an issue!
Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.
If your issue concerns the CocoaPods error, "...transitive dependencies that include static binaries", please take a look at any of the following issues and see if your problem is solved: #48, #47, #46, #34, #23.
If not, please feel free to fill in the following info so we can help faster!
Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository file a GitHub issue.
For general technical questions, post a question on StackOverflow tagged appropriately.
For general Firebase discussion, use the firebase-talk google group
For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel

Step 2: Describe your environment

Objective C or Swift: Swift
iOS version: iOS16.5.1
Firebase SDK version: 10.12.0
FirebaseUI version: 13.0.0
CocoaPods Version: 1.12.1

Step 3: Describe the problem:
First of all, I would like to thank you for developing this wonderful framework.
Steps to reproduce:

Implement sign-in with phone number feature with FirebaseUI-Auth.
Build application with Xcode 14.3.X .
Run application on iPhone sold in countries other than the United States.

Observed Results:

The default country code displayed at phone number login is fixed to U.S. (+1)

Expected Results:

The default country code should be decided by the carrier of device. (ex: +81)

Using Xcode 14.2, This problem does not occur and the default country code is decided by the carrier of device.
Relevant Code:
Other Info
First of all, it seems that you can get a country code (like as +1, +81) by accessing CTCarrier.isoCountryCode of CoreTelephony, but this API was deprecated in iOS16, and from 16.4, a fixed value is returned.
https://developer.apple.com/forums/thread/714876

iOS 16 CTCarrier deprecation
Core Telephony Deprecations CTCarrier, a deprecated API, returns static values for apps that are built with the iOS 16.4 SDK or later.

I found that the process to get the default country code (FUICountryCodes.m#127) accesses CTCarrier.isoCountryCode, so this is likely the cause.
https://github.com/firebase/FirebaseUI-iOS/blob/4dad85472124ce78aca8d20e6a2c8658357e1d2e/FirebasePhoneAuthUI/Sources/FUICountryCodes.m#L127
The standard iOS API has been discontinued and may be difficult to fix this problem, but I would appreciate it if you could fix it.
Best regards.

If it is difficult to obtain a default country code, another option is to allow developers to set an arbitrary country code as default.

Hi @zrn-ns, would something like this be suitable? https://github.com/firebase/FirebaseUI-iOS/pull/1159

@morganchen12
Thank you for implementing!
It needs to be fixed in that setting a code like "JP" to defaultCountryCode causes a crash, but the way you implemented it is exactly what I was looking for.

Fixed the crash. This API will be released today.

@morganchen12
Thank you! 🎉 🎉 🎉


front - add style to errors in register

          may add style to errors

Originally posted by @antoineverin in https://github.com/TheSecretOrganization/ft_transcendence/pull/174#discussion_r1782251918

issue solved with 4e2e0dd132e48452ef8c54970e60fe8837441dc7