Implement GetAllMovies with API /api/movies filter by actorId

Description:
Implement GetAllMovies with API /api/movies
This task will focus on the filter by actorId criteria

Closed by #158


How can I upgra

I want upgrade  tesseract to version 4.0, how build tesseract library for iOS?

I would like to do the same thing. Is there a way to build the tesseract library for iOS?


Template improvements

motionpoll detail
keypad list
Projector voting messages

I rebased your commit into my branch on top of #2 but GitHub does not show the real diff. Reopen if your changes are not on current webdev branch.


fix up shape_type in case xtensor fixed is used

@SylvainCorlay can we merge this? On the one hand it's an important bug fix, and on the other I hope this will finally get rid of all the problems we had with random MSVC ICEs by using std::array instead of xt::const_array as the strides type for the xtensor_fixed on MSVC (all versions).
A lot of the recent PR's of mine had some random (unrelated) failures on MSVC.


Improve Write-Log function

Improve Write-Log function to add the possibility via a parameters to print to log, console or both.

implemented:

timestamp already
not yet implemented:
print to log, console or both.
write on console with a color


Re-enable -sanitizer-coverage-trace-pc-guard for macOS.

The rustc bug can be avoided by specifying codegen units to 1.

hah just kidding i was mixing up things


Listing 1.7, line 28, change of global variable lead to an implicit convention to local variable

change the 28th line to
global state = sample(1:3,weights(P[state,:]))

will eliminate the UndefVarError: state not defined Error.
This error is due to Julia's Weird Convention for writing to a global variable.
here is a more clear explain at Stack Overflow

Thank you for the find, the codes been fixed :)

@h-Klok Just a suggestion.  Mentioning the issue (by typing #2) in your Git commit title/message would allow easier tracking.


[5.7] Add Argon2id hashing support

Q
A

Branch?
5.7

Bug fix?
no

New feature?
yes

BC break(s)?
no

Test(s) added?
yes

Tests pass?
yes

Argon2id hashing support was added to PHP 7.3 so this PR aims to add the support for that in Laravel.
Argon2id works as Argon2i for the first half of the first iteration over the memory, and as Argon2d for the rest, thus providing both side-channel attack protection and brute-force cost savings due to time-memory tradeoffs.
The user can choose if he wants the Argon hasher to use the Argon2i or the Argon2id variant via config and if this PR gets merged I'll create the appropriate PR for the laravel/laravel repository.
There are no breaking changes here as I left the Argon2i variant to be the default - this means that if somebody wants the Argon2id variant they must explicitly change the config for that.

Please rebase to fix the test failures.

@tillkruss From what I see my branch is rebased with the 5.7 branch. It's just that @themsaid commit which fixes the test failures wasn't merged into 5.7 (from 5.6) yet.

Done in a slightly different way.

@taylorotwell Cool, but the check method is wrong as it now checks for Argon2i for both Argon2i and Argon2id variants, plus I'd be great that there is a test for the Argon2id variant too (like it is in this PR).

@X-Coder264: Would you mind submitting a PR with your suggestion on top of what Taylor committed in bbe08b0?

@tillkruss Sure, no problem -> https://github.com/laravel/framework/pull/25091 :)


[Suggestion] Save Player State/Information In File

Hi, would it be possible to save the player state/information in a json/text file in the data folder?
The state information should include list of pokemons (most important) with their IVs, and everything that is currently printed at startup. This will also remove the need to print that at startup, and will allow all of us to inspect our lists of pokemons and other information without having to run the client. Thank you.
E.g.
Pokemon      CP        IV          A        D        S
Psyduck      515       0.16        10       2        3
Pidgey       189       0.36        0        13       2
Staryu       201       0.38        7        2        15
...

Item       #
Pokeball   5
...

it kind of already is in the /web folder. Would be nicer to have it organized as you demonstrated. For the time being the web server provides the information you are asking for, and can be run separately from the bot

Ah I missed that. I agree that it would be great if all that information could be easily exported, but this does not seem to be very necessary at this point in time. Thanks for explaining.

Made a plugin
https://github.com/omeryagmurlu/PokemonGo-Bot-exportfile-plugin

Awesome and thank you! It looks like there are also online tools to convert json to csv easily so i'll close this ticket.


Unable to create V2 Replication Configuration w/ S3 Replication Time Control on S3 buckets

In order to set S3 Replication Time Control (S3 RTC) on a bucket we must use V2 of the Replication Configuration which replaces the Prefix property with the Filter property (see AWS Docs on Replication Configuration - Backward Compatibility).
As troposphere.s3 is defined in v2.7.1 the ReplicationConfigurationRules class requires the Prefix property, leaving this out in lieu of the Filter property results in the following error:
Traceback (most recent call last):
  File "s3_automation.py", line 957, in <module>
    main()
  File "s3_automation.py", line 158, in main
    template_output = template.to_json()
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 795, in to_json
    return json.dumps(self.to_dict(), indent=indent,
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 746, in to_dict
    return encode_to_dict(t)
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 66, in encode_to_dict
    props[name] = encode_to_dict(prop)
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 66, in encode_to_dict
    props[name] = encode_to_dict(prop)
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 57, in encode_to_dict
    return encode_to_dict(obj.to_dict())
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 257, in to_dict
    return encode_to_dict(self.resource)
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 66, in encode_to_dict
    props[name] = encode_to_dict(prop)
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 66, in encode_to_dict
    props[name] = encode_to_dict(prop)
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 57, in encode_to_dict
    return encode_to_dict(obj.to_dict())
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 257, in to_dict
    return encode_to_dict(self.resource)
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 66, in encode_to_dict
    props[name] = encode_to_dict(prop)
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 61, in encode_to_dict
    new_lst.append(encode_to_dict(o))
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 57, in encode_to_dict
    return encode_to_dict(obj.to_dict())
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 253, in to_dict
    self._validate_props()
  File "/Users/dsciac105/dev/src/dx/dl/dl-acct-automation/venv/lib/python3.6/site-packages/troposphere/__init__.py", line 318, in _validate_props
    raise ValueError(msg)
ValueError: Resource Prefix required in type <unknown type>

However, if I include both Prefix and Filter properties, the stack gets stuck in the UPDATE_IN_PROGRESS state and never completes the update.
I was able to get around this by editing the troposphere.s3 module to set the Prefix property of the ReplicationConfigurationRules class to optional as follows and only including the Filter property in place of the Prefix property in my code base:
class ReplicationConfigurationRules(AWSProperty):
    props = {
        'DeleteMarkerReplication': (DeleteMarkerReplication, False),
        'Destination': (ReplicationConfigurationRulesDestination, True),
        'Filter': (ReplicationRuleFilter, False),
        'Id': (str, False),
        'Prefix': (str, False),
        'Priority': (integer, False),
        'SourceSelectionCriteria': (SourceSelectionCriteria, False),
        'Status': (str, True)
    }

If this approach is a satisfactory solution I'm happy to create a PR w/ the fix, but creating this in case it's better addressed through some other means.

Fixed. Thanks for the issue.


random deprovision error about DestroySandbox

looking through the test this was the only test that had a mock for
CreateSandbox but did not have an expectation for DestroySandbox.

It's still happening, this wasn't it.


The library file reported an error when I packaged the project

assets/js/chunk-vendors.e747b9c7.js from UglifyJs
Unexpected token: keyword (const) [assets/js/chunk-vendors.e747b9c7.js:28924,0]

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue. You try to minify ES5+ syntax, pleas use terser webpack plugin, uglify doesn't support ES5+ syntax

No, I'm using ES6 syntax, the rest of the libraries are perfect


:tada: Updated<EMAIL_ADDRESS>and other funky issues

:construction: new api
:broom: removed {isDev} from nuxt.config
:memo: commented out forgoten toolbox
:top: updated @polkadot packages
:truck: moved plugins/api to plugins/polkadot
:zap: removed cryptoWaitReady from the templates

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Do a quick check before the merge.
PR type

[x] Bugfix
[x] Feature
[x] Refactoring

How did you manage to move code outside layout?

The docs said that you should call crypto ready only once and since I had access to the store in plugins It was a great choice

We only have to keep the polkadot plugin?

Yup!

Seems related to

#1129
#1202

Works way faster tho!


Must have a child component when wrapping ActionButton.Item

Im trying to create a ActionButton.Item component separately from the ActionButton wrapper
export default
class NewMessageActionItem extends React.Component {
    render() {
        return (
          <ActionButton.Item buttonColor="blue" title="Send Message" onPress={() => console.log("notes tapped!")}>
            <Icon name="comment-o" style={style.actionButtonIcon} />
          </ActionButton.Item>
        );
    }
}

and separately I have
class UserActions extends React.Component {
    render() {
        return (
          <ActionButton buttonColor='green'>
            <NewMessageActionItem />
          </ActionButton>
        );
    }
}

It throws an error when the Action is tapped that ActionButtonItem must have a Child component.
Is the above possible?  Am I missing something..

I was able to do this
class UserActions extends React.Component {
    render() {
        return (
          <ActionButton buttonColor='green'>
            <NewMessageActionItem >
              <Icon name="comment-o" style={style.actionButtonIcon} />
            <NewMessageActionItem>
          </ActionButton>
        );
    }
}

However this caused a side effect. The color on the action item would not change to blue.. it stayed the same color (green) as the main action button. As well the label doesn't appear.
It works perfectly if I do this
          <ActionButton buttonColor="green">
            <ActionButton.Item buttonColor="blue" title="Send Message" onPress={() => console.log("notes tapped!")}>
              <Icon name="comment-o" style={style.actionButtonIcon} />
            </ActionButton.Item>
          </ActionButton>

+1 would like to know the answer to this as well...

PR is welcome

it took me a while until I figured out what is causing the problem, just did a fork where this problem is hopefully solved. (https://github.com/attilaaronnagy/react-native-action-button) If it works for others I could do a PR.


Fixed ToVariant/FromVariant derive for generic types with bounds

Fixes part of #957; but there's a separate problem with where clauses (see description).

bors try

Great, clippy stable conflicts with clippy nightly. Real good experience there 🙄
clippy nightly causes so much extra maintenance effort that I'm seriously thinking of ditching that CI job...
I'll revert the 2nd commit.

bors try

I'll merge this so the remaining problems (where clause) can be fixed in a separate PR.
bors r+


Periodic reporting params

Periodic reporting params added

What's the purpose of CommandHandler? I think it complicates things.
I've put some comments in the diff as well.

Related the CommandHandler. If there is interface or base class the handlers can be handled in a general way (in a list this case). If a new handler is implemented in the future only one additional line is necessary in the SendCommandFragment. Something like this:
commandHandlers.add(new NewCustomCommandHandler());

I still don't like the idea of CommandHandler. First of all, the name is confusing. The class basically updates the UI.  Method names are weird as well.
Let's go through each method:

constructor - doesn't do anything useful
onCommandSelected - this is the main method, but I think it doesn't have enough complexity to have a separate class hierarchy to handle it
onCommandNothingSelected - duplicates onCommandSelected
onCommandAddParameters - this is very simple method as well

You still have widgets in the fragment, so you are not actually decoupling fragment from the command types. I think for now we can keep all the logic in the fragment (this is also consistent with web app).

Changes are done.

Merged. Thanks for pull request.


Update documentation on SSC's supported POST size

https://github.com/snowplow/snowplow/wiki/1-General-parameters-for-the-Javascript-tracker#2217-configuring-the-maximum-payload-size-in-bytes
The sentence is interrupted.

This has been done, closing


Find or create modularization ontology

Identify an existing ontology (or create a new one) that allows to introduce additional structure to owl ontologies. For example, it should be possible to assign classes to modules so that a more high-level view of an ontology can be communicated.

Added some thoughts on that topic to https://industrialdataspace.jiveon.com/docs/DOC-1554


unable to break into re-loaded class code

Hi,
I'm working on a win7 64bit box, JDK 7.0.40.
I'm unable to make breakpoints work for classes re-loaded through spring-loaded java-agent. I've tried Netbeans and IntellJ without success (any newly added code will work, it's just that I can't break into it)

Is this functionality not yet implemented in spring-loaded OR is it a bug OR am I doing something wrong ?
A simple way to reproduce this problem is to use the sample code provided by the link below:
http://www.leveluplunch.com/java/tutorials/004-hot-deploy-java-applications-with-spring-loaded/
(the code itself is here: https://github.com/leveluplunch/004-hotdeploy-java-applications-with-spring-loaded )

Thank you very much in advance for your feedback.
Regards
Karl

Any update on this issue? I'm, too, still seeing the issue in Intellij 14.

+1 to this on IntelliJ 14.1. Forked process route still cannot access breakpoints on reloaded classes (whether launched in run or debug mode w/ custom agentlib declaration)

+1 For IntelliJ 14.1.2 (141.713)

Forget all IDEs, springloaded is really messing up with debug, it doesn't matter which IDE you are using...
I just tried to debug using the JVM standard debugger JDB (http://docs.oracle.com/javase/7/docs/technotes/tools/windows/jdb.html), and after I did a file touch on a class to trigger loading (notice that I didn't even recompiled the code, just changed .class access/modified time), I could no longer see the debugger stopping at my breakpoint.
I'm working on linux 64bit running java 1.8.0_45 and tomcat 7.0.55.
Any news/work around on this issue?

+1 For IntelliJ 14.1.4

I can confirm that remote debugging does NOT help on NetBeans 8.0.2.
I voted for the bug in their Bugzilla:
https://netbeans.org/bugzilla/show_bug.cgi?id=250626
However, I'm not sure it's their job to fix it.
Given the behavior that Spring Loaded creates a new class with a new name each time it is reloaded I understand that a normal Java debugger can't be expected to work here out of the box. I guess it would be better to create a renamed class, convert all instances to that class, then unload the original, re-load it from the latest .class file, and convert all instances again.

I found springloaded very useful in context of DukeScript: https://dukescript.com/best/practices/2015/04/12/no-redeploys.html - but yeah, the breakpoints in NetBeans really don't work after reload.

I've noticed with -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 that it does not work if I attach debugger too fast. If I wait like 10 seconds and then attach, everything is good.

2 year later - the issue is still there, at least with IntelliJ

士大夫辅导费都是

I could not debug a spring boot application when I run with maven plugin.


Update dapp libs and versions

Closes #397
Changes

Align voting dApp with other published dApps
Ensure versions are bumped and changelogs updated

Checklist

[x] My code follows the style of this project.
[x] The code compiles without warnings.
[x] I have performed a self-review of the changes.
[x] I have documented my code, in particular the intent of the
hard-to-understand areas.
[x] (If necessary) I have updated the CHANGELOG.

Kept in draft until official release versions are used.


Fix "TypeError: err.code.match is not a function" error

I hit this on CI running npm v6.7.0 a couple times, and then the error
went away before I could find out what the root cause was, but the issue
sounds worth resolving anyways.
Here is the stacktrace I could recover:
npm info teardown Done in 0s
npm verb stack TypeError: err.code.match is not a function
npm verb stack     at BB.try.catch.err (/usr/lib/node_modules/npm/node_modules/pacote/lib/with-tarball-stream.js:110:55)
npm verb stack     at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
npm verb stack     at Promise._settlePromiseFromHandler (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
npm verb stack     at Promise._settlePromise (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18)
npm verb stack     at Promise._settlePromise0 (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10)
npm verb stack     at Promise._settlePromises (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:690:18)
npm verb stack     at _drainQueueStep (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:138:12)
npm verb stack     at _drainQueue (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:131:9)
npm verb stack     at Async._drainQueues (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:147:5)
npm verb stack     at Immediate.Async.drainQueues (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
npm verb stack     at runCallback (timers.js:810:20)
npm verb stack     at tryOnImmediate (timers.js:768:5)
npm verb stack     at processImmediate [as _immediateCallback] (timers.js:745:5)
npm verb cwd /usr/src/app
npm verb Linux 4.13.0-25-generic
npm verb argv "/usr/bin/node" "/usr/bin/npm" "ci" "--verbose"
npm verb node v8.15.0
npm verb npm  v6.7.0
npm ERR! err.code.match is not a function
npm verb exit [ 1, true ]

Signed-off-by: Juan Cruz Viotti<EMAIL_ADDRESS>

Ping @zkat :)

Any ETA on when this PR could be merged? Hitting this issue as well, not sure about how to reproduce but so far running node 10 and npm 6.7.0 on Debian seems to always do that

Any ideas when this will be merged please?

Also voting for merging pls.

Thank you, @zkat!


UI: About Event

As an Event Manager
I want to display the details about the event in the website
so that the registrants can get an idea about what to expect in the competition.
Acceptance Criteria:
Given an individual opens the Katha Utsav website
When he/she clicks on the 'About Event' tab
Then display the corresponding section with all the details present in the UX design.
Reference: https://www.figma.com/proto/A3B6c6710hpLvDUNvDrJcc/Katha-Utsav?page-id=0%3A1&node-id=223%3A327&viewport=241%2C48%2C0.15&scaling=min-zoom&starting-point-node-id=1%3A2
Dev Comp: 8/27

1.There should be a space in About Katha 21, Instead of Katha21
2. Content should be right hand side of the Grey image, instead of next line.
UI_Process.docx

Issue 1 and 2 are fixed


feat: add win_options to preview_win

This adds the ability to customize the window options for the preview window for files/directories. This takes a very basic approach, outside of just adding the win_options field to the lua type annotations it makes sure to set the win_options when creating the previewwindow windows. The other wrinkle it accounts for is to make sure to apply the preview_win.win_options after applying oil win_options if it's within a previewwindow. This makes sure it gets the necessary settings such as conceal and concealcursor while also applying the settings that the user wants for preview windows.
Let me know what you think of this approach!
Resolves #509

Hm, not sure what happened with the "failed" test. I checked the logs and it seems to be passing and locally  it seems to pass

It looks like something is causing it to hang after the tests all pass. I'm not sure what it would be doing after all the tests are done. I'm taking a deeper look now at how the tests are set up. I don't think anything is happening in this PR to make things get funky 🤔

Ah, it looks like something is causing the win_options_spec.lua test file to just completely hang

Ah, I found the problem @stevearc it was causing problems because I was a dingus and forgot to update the default preview_win.win_options so it was failing to get setup correctly. Should be good now! Sorry for all the noise!

Thanks for the PR!

Hi!
One question to this.
I set
require("oil").setup({
    preview_win = {
        win_options = {
            foldenable = false,
        },
    }
})
and it works as long as the preview buffer has no focus and I stay in the oil buffer with the list of dir contents.
But when I make the preview buffer the current buffer my previewed code is immediately folded and the win option is overwritten.
Any idea how to avoid that?
I often use the preview to yank stuff I want to put into some other files. In that scenario it is not helpful, that a disabled folding gets enabled when I want to yank/ put code.

Thanks,
Jamil

I'm not sure, just want to remove whatever is in your configuration that is setting foldenabled when entering a buffer

Maybe noautocmd and eventignore can get you towards your goal.


Maybe-op instructions can't be treated as NOPs

Small correction for the non-normative text related to Zimop & Zcmop.
It current reads:
"Implementations can treat as NOPS. "
This is not consistent with the definition of MOPS in the ASCIIDOC version of the Unpriv ISA manual and my understanding of these instructions. In the Unpriv ISA manual, it says "MOPs are initially defined to simply write zero to x[rd], but are designed to be
redefined by later extensions to perform some other action."
I recommend you change the non-normative text to say:
"Implementations simply write zero to the destination register unless they support extensions that redefine their behavior"
or something along these lines.

I was thinking it might be better just to delete the note altogether, but I see the intent of other notes in this section is to highlight that mandating several of these extensions has only nominal impact on hardware cost.  So I think it would better preserve the intent to change it along the lines of what you were suggesting.

I think the note follows following Zcmop bullet and only applies to Zcmop. Unlike the MOPs defined in the Zimop extension, the C.MOP.n instructions are defined to not write any register. Perhaps the note can be updated to "Implementations can treat C.MOP.n as NOPs".

It looks to me like the note was trying to referring to both (since it was trying to justify that both extension are cheap).  I'll find a way to fix it that's correct for both.

I went with:
"Implementations can simply write zero to the destination register (for
Zimop) or treat as a NOP (for Zcmop), unless these instructions' behavior is
overridden by another extension."

Wow. That was fast. Thanks for the contributions so quickly. Looks good to me.


Web part property updates causes child component to remount and lose state

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version

Chrome  106.0.5249.91

SPFx version

1.14.0

Node.js version

v12.13.0
Describe the bug / error
When editing a page and then editing a web part property, the second edit of the web part properties causes the web part child component to remount (loosing state of the component). Any further changes after this remount works as expected.
Steps to reproduce

I created a very simply webpart just to show this issue using the yo @microsoft/sharepoint scaffolding. Available here https://github.com/JoelBool/RemountingWebpart
Serve the project
Edit a page.
Add the webpart to the page (it's named 'Remounting')
Publish the page
Edit the page
Click the 'count' button in the webpart (basically it just increments a single number in state which is rendered above). Note that the number changes
Edit the web part properties and write one character into the description input. Note that the number stays the same
Continue and type another character. Note that the component remounts and that the state is lost (count set to 0)

If you can't reproduce it on the first try, try to repeat steps 5-9. I can reproduce it quite consistently and it's on the second property change that the reset happens. After that the reset doesn't happen again.
Expected behavior
The state should not be lost on web part property update. I.e. the component should not remount

@JoelBool - thanks for the detailed description.
I was able to repro it and will be working on it.

Should be rolled out globally by now


Exposes and update some methods

CHANGELOG

Add method addScriptToExecuteOnDocumentCreated and removeScriptToExecuteOnDocumentCreated on WebviewController
Breaking change Update WebViewController.webMessage event type from Map<dynamic, dynamic> to dynamic
Receive result of executeScript, add method executeScriptStatement

Related issues #161 #139  #69

Thanks! Would you mind creating a dedicated PR for each logical feature?

Thanks! Would you mind creating a dedicated PR for each logical feature?

Yes, sure.

Please merge it and release  new update ,i have to work on it


subprocess.CalledProcessError: Command '['cmd', '/c', 'az account get-access-token --output json --resource https://management.azure.com/']' returned non-zero exit status 1

We use below task in pipeline file.
- task: AzureCLI@2
        displayName: "Run One Sriov test"
        inputs:
          azureSubscription: 'name'
          scriptType: ps
          powerShellErrorActionPreference: 'silentlyContinue'
          scriptLocation: inlineScript
          inlineScript: |

And in the inlineScript we launch command to run python code, we always can see below error, I am sure the service connection has enough permission to operate the resources in the azure subscription. And it used default DefaultAzureCredential login successfully.
            credential = DefaultAzureCredential(
                authority=self.cloud.endpoints.active_directory,
            )

2024-05-08 01:57:52.221[4124][ERROR] lisa.runner[0] case failed
Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\identity\_credentials\azure_cli.py", line 141, in _run_command
    return subprocess.check_output(args, **kwargs)
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\subprocess.py", line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmd', '/c', 'az account get-access-token --output json --resource https://management.azure.com/']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "D:\a\_work\1\s\lisa\lisa\runners\lisa_runner.py", line 295, in _deploy_environment_task
    self.platform.deploy_environment(environment)
  File "D:\a\_work\1\s\lisa\lisa\platform_.py", line 184, in deploy_environment
    self._deploy_environment(environment, log)
  File "D:\a\_work\1\s\lisa\lisa\sut_orchestrator\azure\platform_.py", line 638, in _deploy_environment
    raise identifier
  File "D:\a\_work\1\s\lisa\lisa\sut_orchestrator\azure\platform_.py", line 609, in _deploy_environment
    location, deployment_parameters = self._create_deployment_parameters(
  File "D:\a\_work\1\s\lisa\lisa\sut_orchestrator\azure\platform_.py", line 1233, in _create_deployment_parameters
    node_arm_parameters = self._create_node_arm_parameters(node.capability, log)
  File "D:\a\_work\1\s\lisa\lisa\sut_orchestrator\azure\platform_.py", line 1488, in _create_node_arm_parameters
    self._get_sig_os_disk_size(arm_parameters.shared_gallery),
  File "D:\a\_work\1\s\lisa\lisa\sut_orchestrator\azure\platform_.py", line 2540, in _get_sig_os_disk_size
    found_image = self._get_sig_version(shared_image)
  File "D:\a\_work\1\s\lisa\lisa\sut_orchestrator\azure\platform_.py", line 2487, in _get_sig_version
    sig_version = compute_client.gallery_image_versions.get(
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\core\tracing\decorator.py", line 78, in wrapper_use_tracer
    return func(*args, **kwargs)
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\mgmt\compute\v2022_03_03\operations\_operations.py", line 3580, in get
    pipeline_response: PipelineResponse = self._client._pipeline.run(  # pylint: disable=protected-access

Thanks for reaching out.
Could you share more details?
e.g. which cloud do you use?

Thanks for reaching out.
Could you share more details?
e.g. which cloud do you use?

I use global azure, which other details you want, please let know.

After changing azure-identity-1.9.0 into azure-identity-1.16.0, I saw below error. But I used the MSI with federated tokens have higher time limit. https://aka.ms/azdo-rm-workload-identity-manual
``
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\core\pipeline\policies_redirect.py", line 197, in send
response = self.next.send(request)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\core\pipeline\policies_retry.py", line 531, in send
response = self.next.send(request)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\core\pipeline\policies_authentication.py", line 124, in send
self.on_request(request)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\core\pipeline\policies_authentication.py", line 99, in on_request
self._token = self._credential.get_token(*self._scopes)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\identity_credentials\default.py", line 219, in get_token
token = self._successful_credential.get_token(*scopes, claims=claims, tenant_id=tenant_id, **kwargs)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\identity_internal\decorators.py", line 33, in wrapper
token = fn(*args, **kwargs)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\identity_credentials\azure_cli.py", line 112, in get_token
output = _run_command(command, self._process_timeout)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\identity_credentials\azure_cli.py", line 215, in _run_command
raise ClientAuthenticationError(message=message) from ex
azure.core.exceptions.ClientAuthenticationError: ERROR: AADSTS700024: Client assertion is not within its valid time range. Current time: 2024-05-09T02:10:40.3190445Z, assertion valid from 2024-05-09T01:55:09.0000000Z, expiry time of assertion 2024-05-09T02:05:09.0000000Z. Review the documentation at https://docs.microsoft.com/azure/active-directory/develop/active-directory-certificate-credentials . Trace ID: 7ea7efe9-2c80-47d7-b82b-b51b5902be00 Correlation ID: 25cf5e33-3808-473b-9266-3748d846bedd Timestamp: 2024-05-09 02:10:40Z
Interactive authentication is needed. Please run:
az login

seems it is azure cli bug. https://github.com/Azure/azure-cli/issues/28915


Issues when rotating device while keyboard is showing up

How to reproduce:
Set a container view with a textfield inside, and a bottom constraint from the container to the bottom layout guide in a View Controller. Set the container view as the avoiding view.
Click on the textfield on an iPad while in landscape. The keyboard comes up. While the keyboard is showing up turn the iPad to portrait.
While in portrait dismiss the keyboard. The view goes down way further than it should, seems like the device thinks it is still in landscape mode, and tries to lower the view the same distance as if it were in landscape (which is greater than in portrait due to less available height).
If you repeat this process several times, (i.e. put in landscape, invoke the keyboard, turn to portrait), the view keeps going lower and lower.

any solution yet for this

Came across this myself.  Anything yet?


JOSS paper

I have a couple of suggestions for the JOSS paper submission (https://github.com/openjournals/joss-reviews/issues/1774)

One of the points in the review checklist asks for a demonstration of the performance. In the paper, you describe how widgyts allows for more efficient exploration of datasets by shifting the image calculation to the client. Do you have any specific examples that demonstrate this?
Another of the points asks for a description of the state of the field, including a description of how this compares to other commonly used software packages. Could you add something along these lines to the paper?

Thanks @harpolea! I'll work on these and keep you updated on their progress.

Hi, just checking in after reviewing this (openjournals/joss-reviews#1774) and have a couple of questions
First, to echo the two points already mentioned by @harpolea:
-has the performance question been addressed? Since the equation is given explicitly it would be nice to have this substantiated quantitatively with a repex if possible
-again to echo the state of the field issue: you mention other tools using server side calculations - can you mention what some of these tools are and how they compare (performance wise)?
And in addition:
-I didn't see references in the paper - can you point these out if I'm just missing them somehow (perhaps they are somewhere else)
-regarding automated test cases: although the example notebooks are fairly in depth, they are quite specific to niche use-cases and maybe a more general 'set-up and testing' type tutorial could be added in addition to these, to show base functionality with sparse datasets as mentioned in the paper?

Hi, thanks so much for the reviews @harpolea and @KayleighRutherford! I've submitted two pull requests that address some of the comments, which I'll try to explain here. If they look good to you, please let me know and I'll merge them. If they don't address your feedback sufficiently then I'll do my best to fix them based on your feedback! @KayleighRutherford I've asked a few questions about your review so I can best respond to your comments.

Do you have any specific examples that demonstrate this [performance]?

I attempted to address this in data-exp-lab/widgyts#47 , where I implemented a jupyter widget that updates based on changes to a view model with yt and compared its timing to widgyts'. There's now a figure that shows this trend in the paper, and I've also included the notebook with which I performed the analysis in the paper directory if you wish to replicate it.

Could you add something [about the state of the field with other commonly used packages] to the paper?

I think I've addressed this with the language and updated references in data-exp-lab/widgyts#46. I by no means list every package with interactivity, but I do try to touch (without getting too in the weeds) on different tools used for interactivity and how they're used by other packages.

I didn't see references in the paper - can you point these out if I'm just missing them somehow

Hm, I've added a few more references to the paper in the updated draft. There should be at least two in the original paper on the last page of the copy linked by whedon. Or do you mean a different type of reference? I'm happy to add whatever you'd like if they don't address your concerns!

regarding automated test cases: although the example notebooks are fairly in depth, they are quite specific to niche use-cases and maybe a more general 'set-up and testing' type tutorial

Would it help if I linked how to run the test suite in the "installation" part of the documentation? Those show that the widgyt is working as expected if installed from source.
Here's the testing section in the developer guide: https://widgyts.readthedocs.io/en/latest/developer_guide.html#testing
And here's the installation section, which doesn't mention testing:
https://widgyts.readthedocs.io/en/latest/install.html

Oh also @harpolea we fixed the codecov issue!


Breeze, Spire, Scalaz interop

Hi,
There are areas of overlap between the above projects. Is it possible to look at working together and merging the implementations of the overlap so use of packages of one or the other can interop without the pain.
Suminda

Closed by #523


Feature suggestion: Add the ability to access items in the crafting grid

Let’s say I have two crafting grids in separate locations in my base. I want to craft a crafting table, and I have three planks, which is almost enough. I put the three planks in the crafting window, and I leave the crafting grid and go to my other crafting grid in a separate location, because I have some extra planks there. I get my one extra block of planks, but I still don’t have enough, because the three planks that I had are stuck in my other crafting grid.
It would be very useful if items couldn’t be stuck in crafting windows; they should be accessible from other grids (not just crafting grids), and items in a crafting window should count as items on the disk rather than items stuck in the crafting window.
This could just be a config option, so people can choose whether to use this method or the current one.

I've definitely found myself wanting for something like this more than
once, when I've left a scarce item in a remote crafting grid.  How
feasible it would be to implement is a different question, of course.

Here’s an idea: When you close a crafting grid, the items that were in the crafting window are automatically placed in the grid, so that they’re available elsewhere, but when you re-open that specific crafting grid, it remembers the items that were in the crafting window and puts them back, so that it’s exactly like you left it. The best of both worlds!
I’m not sure if this would be hard to code, but I would really appreciate @raoulvdberge if he did this.

I like the sound of that. I don't know how hard it would be to code. The
grid has to remember what was in it already, so doing that while moving
the items in and out of storage doesn't sound horrible to me. One edge
case that comes to mind is if the items that are remembered are no
longer in storage when the grid is reopened, but that doesn't sound hard
to deal with. Now it's just a question of Raoul liking it. :)

One edge case that comes to mind is if the items that are remembered are no longer in storage when the grid is reopened

If that’s the case, the crafting grid would fill up the crafting window with all the items it still has.
Let’s say you’re trying to craft a diamond pickaxe and only have three diamonds.  When you open the crafting grid again, the crafting window automatically be filled up with two diamonds and two sticks, since it’s missing one diamond.
I don’t think that this would be too problematic to code. It would be a super useful feature.

No. The grid has to behave like other crafting grids, once you take items out, they are technically unavailable to the system. Besides, this system would break if you would have other people watching a grid.

Besides, this system would break if you would have other people watching a grid.

What do you mean? Can people open the GUI of a crafting grid at the same time as you and see what you’re crafting? If so, this feature could either be disabled on servers, or the grids could just not show what’s being crafted, just like vanilla crafting tables.

this feature could either be disabled on servers

I don't make such small features disable-able in RS. Never have, never will.

or the grids could just not show what’s being crafted, just like vanilla crafting tables.

Nope.

or the grids could just not show what’s being crafted, just like vanilla crafting tables.

Nope.

Why not?

Because that's not the way I want it to work. And especially not for this feature, which I don't like in the first place.


Add Accessibility Codelab

Please include a new CI workflow and also bring the changes to the main README.


VPN device tunnels in Windows 10

Hi, we have configured always on with device tunnel.
When connected we are able to reach LAN network (ping to different servers) from the remote client but we are not able to reach the remote client from the LAN network.
Are we missing some configuration on the RRAS server?
Thanks,
Luca

#please-close


Not working in Foundry v10 due to settings-extender bug

Easy to test : enable the module and try to open settings -> not working

I am going to make the gaming-table-player module use the settings-extender module as a dependency. This should avoid this type of issue in the future.

@sladecraven Does release 0.0.7 of gaming-table-player resolve your issue? I know that I have it setup still to be compatible through v9. But if the settings-extender module is updated to the version that resolves the bug in question, I think that should resolve it? Please let me know.
Basically 0.0.7 doesn't have a local copy of the settings-extender source code anymore... it's just got it setup as a dependency in the module.json.
FYI: I haven't actually upgraded my FVTT instances to v10 yet so I might not be able to test things myself.

Hi ! Yes, tested and it works :) !
Thanks !

Awesome! If it works, I think I'll actually push another commit to extend the compatibility in module.json up to v10.

Okay. 0.0.8 has been published.


Scollector: Unique tagset for each SNMP host.

It would be great if each SNMP host polled could have a unique set of tags. Perhaps something along the line of:
-s=""
SNMP host to poll of the format: "community<EMAIL_ADDRESS>Using this syntax you could also allow overwriting the hostname.
Ideas?

The problem this creates is that similar collectors (vsphere, aws, ping) could reasonably also want this feature. I recommend instead running multiple copies of scollector with their own -t flag. You'd also need -m, -n, and -f to cause scollector to only report metrics for the SNMP host you are on.

I suppose it would be a nice feature for the other collectors polling remote hosts.
In my use case running multiple instances of scollector has me worried about performance. We will be doing SNMP polling of a large number of devices. Around 30 000 hosts according to our last estimate, and there will be many different tagset. Running an instance per tagset would cause a lot of overhead i imagine. Perhaps using Scollector is the wrong choice, but it seems like an attractive choice given that we are planning on using Bosun and OpenTSDB for alerting and storage of the data.

You have 30,000 SNMP routers/switches? That's pretty much the only thing SNMP mode is useful for. If you have 30,000 hosts/machines, then you should install scollector on each. SNMP mode only collects a tiny subset of information, it does not collect all SNMP info available.

Yes, 30 000 modems/switches so they are not able to run Scollector on their own unfortunetly.
We will be having around 750 unique tagsets so i guess it would be possible to have a different instance of Scollector per tagset. But i still think that it is logical to support having different tagsets per host when doing data gathering of remote hosts.

What is your intended polling frequency? This is kind of a tangent, just trying to understand your plans

We plan on polling each device every 5 minutes.

We talked about this and decided that we would be willing to merge this feature, but we don't have resources to devote to writing it ourselves currently. We would be happy to discuss how this should work (maybe in our slack room).


using ensurenl=False to hide the j character after def

Fixes https://github.com/CribberSix/pygame-texteditor/issues/18
I'm not sure why, but if you type def  (notice the space), the code in get_syntax_coloring_dicts returns a list of two dictionaries, the first of which has a value of "def" and the second of which has " \n".
And for some reason, this newline character gets rendered in the code editor has a "j".
I found this issue https://github.com/pygments/pygments/issues/610 that says to use ensurenl=False to make the newline character go away. Doing so consequently makes the "j" go away.
Probably worth a more detailed investigation by the maintainers.

Nice catch!


Form tccst radio and checkboxes fix for light mode and small font changes in the company footer

Hey @anubra266  I think we should fix the tccst form the radio buttons and checkboxes are not at all visible. I have made the changes in local I ll link the pr here itself. checkout the image

Here is the PR for the changes mentioned.
https://github.com/anubra266/choc-ui/pull/150

@AbbyB97 The issues in the form component are due to #148.

@anubra266 Oh alright


Support of Setting dynamic validation message from validator.

Consider simplified code from below
model.defineValidator('emailValidator', function (value) {
    return new Promise((resolve) => {
        service.checkEmail(value).then((response) => {
            resolve(resp.isValid); // Resolving model to valid/invalid

            // Is there a way to apply this dynamic message??
            // If we use applyErrors from here it's overridden with emailValidator message.
            console.log(response.message);
        });
    });
});

// Model definition
        model.defineField('email', {
            type: 'String',
            validate: [
                {
                    'validator': 'presence',
                    'message': 'Must enter email'
                },
                {
                    'validator': 'stringEmail',
                    'message': 'Must be an email'
                },
                {
                    'validator': 'emailValidator',
                    'message': 'required' // Can this be sett to message retuned from API inside of emailValidator function??
                }
            ]
        });

@xpepermint is there any plan to add this feature in future releases?

Hey @snovakovic, unfortunately this is not possible. Yesterday my team had a discussion on this and we concluded that the proposal is against our no-magic policy and does not follow single responsibility principle. A validator should always return boolean and should always validate exactly one thing. If you need to validate two different cases, you need to define 2 validators. Btw, note that you can use variables within a message - maybe this can help.
Please check how ValidatableJS and HandleableJS work. Maybe you get an idea on how to resolve your problem.

What about overloading message to act as a string or function that returns a string?

@dailyraisin that sounds reasonable. Do you have a good case for that?


WARNING: WebProcess crashed: restarting it ...

Just pushed the project in development mode on a device and got this error in loop:
[wpe] WARNING: WebProcess crashed: restarting it ...
[wpe] * failed to add service - already in use?

Build log:
Debug: original argv0="node" argv=[/home/steeve/.nvm/versions/node/v12.6.0/bin/node,/home/steeve/.nvm/versions/node/v12.6.0/bin/balena,push,<IP_ADDRESS>,--nocache] length=5
[debug] Using . as build source
[Debug]   Checking we can access device
[Debug]   Sending request to http://<IP_ADDRESS>:48484/ping
[Debug]   Checking device version: 9.15.7
[Info]    Starting build on device <IP_ADDRESS>
[Debug]   Loading project...
[Debug]   Resolving project...
[Info]    Compose file detected
[Debug]   Creating project...
[Debug]   Sending request to http://<IP_ADDRESS>:48484/v2/local/device-info
[Debug]   Found build tasks:
[Debug]       wpe: build [./wpe]
[Debug]       scheduler: build [./scheduler]
[Debug]       wifi-connect: build [./wifi-connect]
[Debug]   Resolving services with [raspberrypi3|armv7hf]
[Debug]   Found project types:
[Debug]       wpe: Standard Dockerfile
[Debug]       scheduler: Standard Dockerfile
[Debug]       wifi-connect: Dockerfile.template
[Debug]   Probing remote daemon for cache images
[Debug]   Using 12 on-device images for cache...
[Debug]   Starting builds...
[Build]   [wpe] Step 1/9 : FROM petrosagg/resin-wpe:raspberrypi3-30c7465
[Build]   [wpe]  ---> 4b90e1c6a06a
[Build]   [wpe] Step 2/9 : COPY udev-rules/ /etc/udev/rules.d/
[Build]   [scheduler] Step 1/6 : FROM balenalib/raspberrypi3-alpine
[Build]   [wifi-connect] Step 1/9 : FROM balenalib/raspberrypi3
[Build]   [wifi-connect]  ---> d5103aaa1141
[Build]   [wifi-connect] Step 2/9 : ENV INITSYSTEM on
[Build]   [scheduler]  ---> 1b6b50491297
[Build]   [scheduler] Step 2/6 : COPY scripts /usr/src/
[Build]   [wifi-connect]  ---> Running in 5308dce5b04e
[Build]   [wpe]  ---> 4c602080751b
[Build]   [wpe] Step 3/9 : COPY wpe-init /wpe-init
[Build]   [scheduler]  ---> 987381c2ceba
[Build]   [scheduler] Step 3/6 : RUN chmod +x /usr/src/*.sh
[Build]   [wifi-connect] Removing intermediate container 5308dce5b04e
[Build]   [wifi-connect]  ---> c548be1af8b7
[Build]   [wifi-connect] Step 3/9 : RUN install_packages dnsmasq wireless-tools wget
[Build]   [scheduler]  ---> Running in a1557a992322
[Build]   [wpe]  ---> 77444c14f368
[Build]   [wpe] Step 4/9 : RUN chmod +x wpe-init
[Build]   [wifi-connect]  ---> Running in 4118954bbf61
[Build]   [wpe]  ---> Running in 51141cd699e2
[Build]   [scheduler] Removing intermediate container a1557a992322
[Build]   [scheduler]  ---> e5885895ebb8
[Build]   [scheduler] Step 4/6 : CMD /usr/src/start.sh
[Build]   [scheduler]  ---> Running in 35a957eab8a0
[Build]   [scheduler] Removing intermediate container 35a957eab8a0
[Build]   [scheduler]  ---> d8a8b55c4385
[Build]   [scheduler] Step 5/6 : LABEL io.resin.local.image=1
[Build]   [scheduler]  ---> Running in 4fe6fa5ec5fa
[Build]   [wpe] Removing intermediate container 51141cd699e2
[Build]   [wpe]  ---> 8d00362bda95
[Build]   [wpe] Step 5/9 : CMD [ "/wpe-init" ]
[Build]   [wpe]  ---> Running in 5f37590a6437
[Build]   [scheduler] Removing intermediate container 4fe6fa5ec5fa
[Build]   [scheduler]  ---> 21b7619151e6
[Build]
[Build]   [wpe] Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (<IP_ADDRESS>:443)
[Build]
[Build]   [wpe] tohora.tgz            25% |*******                        |   611k  0:00:02 ETA
[Build]
[Build]   [wpe] tohora.tgz           100% |*******************************|  2419k  0:00:00 ETA
[Build]
[Build]   [wpe] Removing intermediate container fd47d0aa976c
[Build]   [wpe]  ---> c4e5a945a5bd
[Build]   [wpe] Step 8/9 : LABEL io.resin.local.image=1
[Build]   [wpe]  ---> Running in e8fe84e3b838
[Build]   [wpe] Removing intermediate container e8fe84e3b838
[Build]   [wpe]  ---> c5be7d838bd4
[Build]   [wpe] Step 9/9 : LABEL io.resin.local.service=wpe
[Build]   [wpe]  ---> Running in b1d8494ed279
[Build]   [wpe] Removing intermediate container b1d8494ed279
[Build]   [wpe]  ---> 24292356f0b4
[Build]   [wpe] Successfully built 24292356f0b4
[Build]   [wpe] Successfully tagged local_image_wpe:latest
[Build]   [wifi-connect] Reading package lists...
[Build]   [wifi-connect] Building dependency tree...
[Build]   [wifi-connect]
[Build]   Reading state information...
[Build]   [wifi-connect] The following additional packages will be installed:
[Build]   [wifi-connect]   dnsmasq-base libdbus-1-3 libiw30 libnetfilter-conntrack3 libnfnetlink0
[Build]   [wifi-connect]   libpcre2-8-0
[Build]   [wifi-connect] Suggested packages:
[Build]     resolvconf
[Build]   Recommended packages:
[Build]     dns-root-data dbus
[Build]   [wifi-connect] The following NEW packages will be installed:
[Build]   [wifi-connect]   dnsmasq dnsmasq-base libdbus-1-3 libiw30 libnetfilter-conntrack3
[Build]   [wifi-connect]   libnfnetlink0 libpcre2-8-0 wget wireless-tools
[Build]   [wifi-connect] 0 upgraded, 9 newly installed, 0 to remove and 31 not upgraded.
[Build]   Need to get 1851 kB of archives.
[Build]   After this operation, 5291 kB of additional disk space will be used.
[Build]   Get:1 http://deb.debian.org/debian buster/main armhf libpcre2-8-0 armhf 10.32-5 [190 kB]
[Build]   [wifi-connect] Get:2 http://deb.debian.org/debian buster/main armhf wget armhf 1.20.1-1.1 [881 kB]
[Build]   [wifi-connect] Get:3 http://archive.raspberrypi.org/debian buster/main armhf dnsmasq-base armhf 2.80-1+rpt1 [400 kB]
[Build]   [wifi-connect] Get:4 http://deb.debian.org/debian buster/main armhf libdbus-1-3 armhf 1.12.16-1 [190 kB]
[Build]   [wifi-connect] Get:5 http://deb.debian.org/debian buster/main armhf libnfnetlink0 armhf 1.0.1-3+b1 [12.1 kB]
[Build]   [wifi-connect] Get:6 http://deb.debian.org/debian buster/main armhf libnetfilter-conntrack3 armhf 1.0.7-1 [34.1 kB]
[Build]   [wifi-connect] Get:7 http://deb.debian.org/debian buster/main armhf libiw30 armhf 30~pre9-13 [19.0 kB]
[Build]   [wifi-connect] Get:8 http://deb.debian.org/debian buster/main armhf wireless-tools armhf 30~pre9-13 [109 kB]
[Build]   [wifi-connect] Get:9 http://archive.raspberrypi.org/debian buster/main armhf dnsmasq all 2.80-1+rpt1 [16.5 kB]
[Build]   [wifi-connect] debconf: delaying package configuration, since apt-utils is not installed
[Build]
[Build]   [wifi-connect] Fetched 1851 kB in 3s (649 kB/s)
[Build]   [wifi-connect] Selecting previously unselected package libpcre2-8-0:armhf.
[Build]   (Reading database ...
[Build]   [wifi-connect] (Reading database ... 5%
[Build]   [wifi-connect] (Reading database ... 10%
[Build]   [wifi-connect] (Reading database ... 15%
(Reading database ... 10102 files and directories currently installed.)
[Build]   Preparing to unpack .../0-libpcre2-8-0_10.32-5_armhf.deb ...
[Build]   [wifi-connect] Unpacking libpcre2-8-0:armhf (10.32-5) ...
[Build]   [wifi-connect] Selecting previously unselected package wget.
[Build]   [wifi-connect] Preparing to unpack .../1-wget_1.20.1-1.1_armhf.deb ...
[Build]   [wifi-connect] Unpacking wget (1.20.1-1.1) ...
[Build]   [wifi-connect] Selecting previously unselected package libdbus-1-3:armhf.
[Build]   [wifi-connect] Preparing to unpack .../2-libdbus-1-3_1.12.16-1_armhf.deb ...
[Build]   [wifi-connect] Unpacking libdbus-1-3:armhf (1.12.16-1) ...
[Build]   [wifi-connect] Selecting previously unselected package libnfnetlink0:armhf.
[Build]   [wifi-connect] Preparing to unpack .../3-libnfnetlink0_1.0.1-3+b1_armhf.deb ...
[Build]   [wifi-connect] Unpacking libnfnetlink0:armhf (1.0.1-3+b1) ...
[Build]   [wifi-connect] Selecting previously unselected package libnetfilter-conntrack3:armhf.
[Build]   [wifi-connect] Preparing to unpack .../4-libnetfilter-conntrack3_1.0.7-1_armhf.deb ...
[Build]   [wifi-connect] Unpacking libnetfilter-conntrack3:armhf (1.0.7-1) ...
[Build]   [wifi-connect] Selecting previously unselected package dnsmasq-base.
[Build]   [wifi-connect] Preparing to unpack .../5-dnsmasq-base_2.80-1+rpt1_armhf.deb ...
[Build]   [wifi-connect] Unpacking dnsmasq-base (2.80-1+rpt1) ...
[Build]   [wifi-connect] Selecting previously unselected package dnsmasq.
[Build]   [wifi-connect] Preparing to unpack .../6-dnsmasq_2.80-1+rpt1_all.deb ...
[Build]   [wifi-connect] Unpacking dnsmasq (2.80-1+rpt1) ...
[Build]   [wifi-connect] Selecting previously unselected package libiw30:armhf.
[Build]   [wifi-connect] Preparing to unpack .../7-libiw30_30~pre9-13_armhf.deb ...
[Build]   [wifi-connect] Unpacking libiw30:armhf (30~pre9-13) ...
[Build]   [wifi-connect] Selecting previously unselected package wireless-tools.
[Build]   [wifi-connect] Preparing to unpack .../8-wireless-tools_30~pre9-13_armhf.deb ...
[Build]   [wifi-connect] Unpacking wireless-tools (30~pre9-13) ...
[Build]   [wifi-connect] Setting up libdbus-1-3:armhf (1.12.16-1) ...
[Build]   [wifi-connect] Setting up libpcre2-8-0:armhf (10.32-5) ...
[Build]   [wifi-connect] Setting up libnfnetlink0:armhf (1.0.1-3+b1) ...
[Build]   [wifi-connect] Setting up libiw30:armhf (30~pre9-13) ...
[Build]   [wifi-connect] Setting up wget (1.20.1-1.1) ...
[Build]   [wifi-connect] Setting up wireless-tools (30~pre9-13) ...
[Build]   [wifi-connect] Setting up libnetfilter-conntrack3:armhf (1.0.7-1) ...
[Build]   [wifi-connect] Setting up dnsmasq-base (2.80-1+rpt1) ...
[Build]   [wifi-connect] Setting up dnsmasq (2.80-1+rpt1) ...
[Build]   [wifi-connect] invoke-rc.d: could not determine current runlevel
[Build]   [wifi-connect] invoke-rc.d: policy-rc.d denied execution of start.
[Build]   [wifi-connect] Processing triggers for libc-bin (2.28-10) ...
[Build]   [wifi-connect] Removing intermediate container 4118954bbf61
[Build]   [wifi-connect]  ---> f8884c476031
[Build]   [wifi-connect] Step 4/9 : WORKDIR /usr/src/app
[Build]   [wifi-connect]  ---> Running in 151457d7af7d
[Build]   [wifi-connect] Removing intermediate container 151457d7af7d
[Build]   [wifi-connect]  ---> cb17c3853bc9
[Build]   [wifi-connect] Step 5/9 : RUN curl https://api.github.com/repos/balena-io/wifi-connect/releases/latest -s     | grep -hoP 'browser_download_url": "\K.*armv7hf\.tar\.gz'     | xargs -n1 curl -Ls     | tar -xvz -C /usr/src/app/
[Build]   [wifi-connect]  ---> Running in 835f7507cd1f
[Build]   [wifi-connect] ./
[Build]   ./wifi-connect
[Build]   [wifi-connect] ./ui/
[Build]   [wifi-connect] ./ui/css/
[Build]   [wifi-connect] ./ui/css/bootstrap.min.css
[Build]   [wifi-connect] ./ui/js/
[Build]   [wifi-connect] ./ui/js/jquery.min.js
[Build]   [wifi-connect] ./ui/js/bootstrap.min.js
[Build]   [wifi-connect] ./ui/js/index.js
[Build]   [wifi-connect] ./ui/index.html
[Build]   ./ui/img/
[Build]   ./ui/img/favicon.png
[Build]   ./ui/img/logo.svg
[Build]   [wifi-connect] Removing intermediate container 835f7507cd1f
[Build]   [wifi-connect]  ---> c736f7bd59a5
[Build]   [wifi-connect] Step 6/9 : COPY ./start.sh .
[Build]   [wifi-connect]  ---> 0a5003092a7c
[Build]   [wifi-connect] Step 7/9 : CMD ["bash", "start.sh"]
[Build]   [wifi-connect]  ---> Running in c3aae718be9f
[Build]   [wifi-connect] Removing intermediate container c3aae718be9f
[Build]   [wifi-connect]  ---> 712db306b3ee
[Build]   [wifi-connect] Step 8/9 : LABEL io.resin.local.image=1
[Build]   [wifi-connect]  ---> Running in e4575f862bc8
[Build]   [wifi-connect] Removing intermediate container e4575f862bc8
[Build]   [wifi-connect]  ---> d1d494e446be
[Build]   [wifi-connect] Step 9/9 : LABEL io.resin.local.service=wifi-connect
[Build]   [wifi-connect]  ---> Running in f05579aec91d
[Build]   [wifi-connect] Removing intermediate container f05579aec91d
[Build]   [wifi-connect]  ---> 36cd61f29028
[Build]   [wifi-connect] Successfully built 36cd61f29028
[Build]   [wifi-connect] Successfully tagged local_image_wifi-connect:latest
[Debug]   Setting device state...
[Debug]   Sending request to http://<IP_ADDRESS>:48484/v2/local/target-state
[Debug]   Sending target state: {"local":{"name":"hidden-dust","config":{"HOST_CONFIG_disable_splash":"1","HOST_CONFIG_dtparam":"\"i2c_arm=on\",\"spi=on\",\"audio=on\"","HOST_CONFIG_enable_uart":"1","HOST_CONFIG_gpu_mem":"16","SUPERVISOR_LOCAL_MODE":"1","SUPERVISOR_POLL_INTERVAL":"900000","SUPERVISOR_VPN_CONTROL":"true","SUPERVISOR_INSTANT_UPDATE_TRIGGER":"true","SUPERVISOR_CONNECTIVITY_CHECK":"true","SUPERVISOR_LOG_CONTROL":"true","SUPERVISOR_DELTA":"false","SUPERVISOR_DELTA_REQUEST_TIMEOUT":"30000","SUPERVISOR_DELTA_APPLY_TIMEOUT":"0","SUPERVISOR_DELTA_RETRY_COUNT":"30","SUPERVISOR_DELTA_RETRY_INTERVAL":"10000","SUPERVISOR_DELTA_VERSION":"2","SUPERVISOR_OVERRIDE_LOCK":"false","SUPERVISOR_PERSISTENT_LOGGING":"false"},"apps":{"1":{"name":"localapp","commit":"localrelease","releaseId":"1","services":{"1":{"environment":{},"labels":{},"restart":"always","privileged":true,"ports":["8080:8080"],"imageId":1,"serviceName":"wpe","serviceId":1,"image":"local_image_wpe:latest","running":true},"2":{"environment":{},"labels":{},"restart":"always","privileged":true,"imageId":2,"serviceName":"scheduler","serviceId":2,"image":"local_image_scheduler:latest","running":true},"3":{"environment":{},"labels":{"io.balena.features.dbus":"1","io.balena.features.firmware":"1"},"restart":"always","network_mode":"host","privileged":true,"imageId":3,"serviceName":"wifi-connect","serviceId":3,"image":"local_image_wifi-connect:latest","running":true}},"volumes":{},"networks":{}}}},"dependent":{"apps":[],"devices":[]}}
[Debug]   Sending request to http://<IP_ADDRESS>:48484/v2/local/target-state

[Debug]   Sending request to http://<IP_ADDRESS>:48484/v2/local/device-info
[Live]    Waiting for device state to settle...
[Info]    Streaming device logs...
[Live]    Watching for file changes...
[Logs]    [8/22/2019, 2:15:46 PM] [wpe] WARNING: WebProcess crashed: restarting it ...
[Logs]    [8/22/2019, 2:15:46 PM] [wpe] * failed to add service - already in use?
[Logs]    [8/22/2019, 2:15:46 PM] [wpe] * failed to add service - already in use?
[Logs]    [8/22/2019, 2:15:46 PM] [wpe] WARNING: WebProcess crashed: restarting it ...
[Logs]    [8/22/2019, 2:15:46 PM] [wpe] WARNING: WebProcess crashed: restarting it ...

Duplicate of #8

In development mode, the Device configuration variable must be change in the config.txt. See https://www.balena.io/docs/reference/OS/advanced/


--clean flag does not enable nocompatible mode

Instructions: Replace the template text and remove irrelevant text (including this line)
Describe the bug
The vim --help says:
--clean		'nocompatible', Vim defaults, no plugins, no viminfo

But is seems to not be the case for nocompatible, as shown below:
To Reproduce
First, here's output for -N flag that actually works:
$ vim -N -u /dev/null -c 'set t_te= | echo &cpo | q'
aABceFs

Here the output if --clean flag is used:
$ vim --clean -u /dev/null -c 'set t_te= | echo &cpo | q'
aAbBcCdDeEfFgHiIjJkKlLmMnoOpPqrRsStuvwWxXyZ$!%*-+<>;

Expected behavior
--clean flag should set nocompiable mode, just like -N flag
Environment (please complete the following information):
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 16 2020 23:47:44)
macOS version
Included patches: 1-1700
Compiled by Homebrew

OS: MacOS 10.15
Terminal: iTerm2

I have seen this issue, if vim has been unable to find the defaults.vim scriptfile. You can check by issuing the :scriptnames command.
I suppose this is a self-compiled version. Did you install it correctly or is vim looking for defaults.vim in the wrong directory? Check the :version output. Also check, if you have defined $VIMRUNTIME environment variable.

@sheerun : IOW, when inside Vim, the $VIMRUNTIME environment variable should point to the directory where the present Vim installed its defaults.vim, filetype.vim, optwin.vim and a number of other files, most of which are implicitly sourced by some built-in ex-commands.
In most cases $VIMRUNTIME is set correctly by Vim at startup if it is not set outside of Vim, especially if $VIM (which Vim also sets at startup) is also not set outside of Vim.

This vim version is version installed from homebrew:
ls -la $(which vim)
lrwxr-xr-x 1 sheerun admin 30 Sep 23 15:44 /usr/local/bin/vim -> ../Cellar/vim/8.2.1700/bin/vim

$VIMRUNTIME is empty.
Here's full :version:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 16 2020 23:47:44)
macOS version
Included patches: 1-1700
Compiled by Homebrew
Huge version without GUI.

Even if Homebrew for some reason is compiling vim wrong, for -U flag it doesn't matter what's the runtime directory. I think it would be good if --clean wouldn't care as well.

$VIMRUNTIME is empty.

Is this from within Vim or from your terminal?

defaults file: "$VIMRUNTIME/defaults.vim"

So does it exist? Try :e $VIMRUNTIME/defaults.vim.

I think it would be good if --clean wouldn't care as well.

--clean means vim will set nocompatible because of defaults.vim. If that file is not found, Vim will stay in compatible mode.
I actually wondered before if it should complain, if it is not found, but since I have never heard of complaints before, I did not bother further :/

Well, you do "vim --clean -u /dev/null"  which, besides using "clean" also says not to use any startup script.
And then defaults.vim isn't loaded, not what you want.  So drop the "-u /dev/null" part and it should work.

I think that vim --V1 --clean will complain if $VIMRUNTIME/defaults.vim is not found. However, :scriptnames, from inside Vim, would tell you more surely: defaults.vim, if found, would be near the top (probably the very first one if Vim is invoked with --clean).
Best regards,
Tony.

From terminal. In vim it's /usr/local/share/vim/vim82 which contains all runtime files, including defaults.vim
$ vim --clean -u /dev/null -c 'set t_te= | echo $VIMRUNTIME | q'
/usr/local/share/vim/vim82

So does it exist? Try :e $VIMRUNTIME/defaults.vim.

It does

Well, you do "vim --clean -u /dev/null" which, besides using "clean" also says not to use any startup script.
And then defaults.vim isn't loaded, not what you want. So drop the "-u /dev/null" part and it should work.

It indeed "fixes" this issue, but it's not what --clean and -u is documented to do in --help
In particular:

-u <vimrc> is said to Use <vimrc> instead of any .vimrc, but when I create empty .vimrc and run vim --clean -c 'set t_te= | echo &cpo | q' it happily sets nocompact mode correctly. Shoudn't empty .vimrc work the same as -u /dev/null?
--clean says just 'nocompatible', Vim defaults, no plugins, no viminfo, it doesn't mention it won't work if you use -u /dev/null (but you can use empty .vimrc)
In my case I'm not setting -u /dev/null (this is just for reproduction) but actually there's -u somefile.vim where there are commands to instantiate and test my plugin (i.e. what user would have in their .vimrc). In such case --clean flag doesn't work as well.

All I'm saying that I'd expect --clean to unconditionally set nocompatible mode :)

Hmm another note, the order of arguments matter:
vim -u /dev/null --clean -c 'set t_te= | echo &cpo | q'

works while:
vim --clean -u /dev/null -c 'set t_te= | echo &cpo | q'

doesn't work
I think this is the source of this bug. --clean should always be considered first, even if it's after -u /dev/null

--clean says just 'nocompatible', Vim defaults, no plugins, no viminfo, it doesn't mention it won't work if you use -u /dev/null (but you can use empty .vimrc)

I don't see this:
https://github.com/vim/vim/blob/6bf1b52ba2816dffdbd0d994320abfb1586bf666/runtime/doc/starting.txt#L506-L515
it clearly states, that the defaults.vim file will be loaded which will cause the compatible setting to be disabled.

there's -u somefile.vim where there are commands to instantiate and test my plugin (i.e. what user would have in their .vimrc).

BTW: For such a case, I always have the set nocp in that init file.

I think this is the source of this bug. --clean should always be considered last, even if it's before -u /dev/null

Never mind, it "works" because --clean after -u resets -u

I don't see this:

I mean the output of vim --help:
--clean		'nocompatible', Vim defaults, no plugins, no viminfo
-u <vimrc>		Use <vimrc> instead of any .vimrc

I think at least documentation for both -u and --clean could be fixed in --help. The first one clearly doesn't just change .vimrc to be loaded, and second one doesn't always enable nocompatible mode

I mean the output of vim --help:

Can you suggest a better wording?

   -u <file>            Initialize Vim with <file> (see ":help -u" for details)
   --clean              Works similarly to "-u DEFAULTS -U NONE -i NONE"

btw. I'm cheering for default nocompatible mode for Vim 9 (at least for interactive terminals), because it's soo annoying to deal with it as plugin author. Nobody uses compatible mode, especially in interactive mode

Me too I always use 'nocompatible' mode, which I've been doing since forever (since I became a serious user, which IIRC was with Vim 6.0) by sourcing the vimrc_example.vim in my vimrc. Nowadays the result hasn't changed, even though the code has moved from vimrc_example.vim to defaults.vim.
However, time and again I've met people, even developers, who said (not only about Vim) "Nobody uses feature XXX", which sounds like a statement of fact of universal scope, when actually all they meant was "I don't use feature XXX, I don't care about it, and neither should anyone", which is only a statement of opinion.
AFAIK the set of Vim users who prefer 'compatible' mode is dwindling, but I don't think it is empty: even on one of these lists I've recently met someone who swore by these 'compatible' features, because, he said, they were the common denominator between vi and all his clones including Vim, so no matter on which Unix-like installation he landed, he could quickly start using some editor which behaved like vi without all that "nocompatible stuff".

So, you have asked every single Vim users?  I don't think so.  The problem is that in places like github we only hear from users who are looking for improvements, not from the users who just use Vim as-is.  I know there are at least a few that want Vim to work like the good old Vi and nothing else.  Every time the startup defaults change there are users who complain.

I understand, I don't really want to argue on this topic. This issue is about my issues --clean flag and even if it won't be fixed or improved, the discussion is enough by itself, so someone can debug this issue easier than me in the future, by googling it. Thank you for maintaining vim and discussing reported issues :)

As said above, --clean and -u work at cross-purpose.
About finding help for Vim, Google usually gives poor results. The best source is Vim's own help. Everything is in it, including (at :help helphelp) tips on searching the help.
Best regards,
Tony.


TS cache corruption leads to "error TS2590: Expression produces a union type that is too complex to represent"

🔎 Search Terms
"typescript cache corruption", "typescript Expression produces a union type that is too complex to represent", "tsconfig.tsbuildinfo"
🕗 Version & Regression Information

This is a error during typechecking.
This is the behavior in every version I tried, and I reviewed the FAQ for entries about caching.
I was unable to test this on prior versions because hard to migrate large codebase
Using<EMAIL_ADDRESS>
⏯ Playground Link
NA
💻 Code
A large codebase

🙁 Actual behavior
error TS2590: Expression produces a union type that is too complex to represent
🙂 Expected behavior
No type errors
Additional information about the issue
We have a build pipeline that uses typescript type checking with "incremental": true on our top level project.
We also have a tsconfig.tsbuildinfo generated at regular intervals from our master branch, and use it for ts caching in various branches in CI.
Ocassionally, we run into "error TS2590: Expression produces a union type that is too complex to represent", but it goes away once we clear/delete tsconfig.tsbuildinfo file. and re-run tsc/type-checker.

Is there a way we can invoke TSC to print more debugging info on the offending types?

We don't have any debugging flags like that. The best thing you can do is run tsc.js in a debugger with a breakpoint on the line that issues the error and inspect the call stack at tha tpoint

Will re-open after I have sufficient debugging info.


Add comma to column constraint list

The column constraint definition shows the possibility of a list of column constraints.  However, the list omits the required comma between each constraint.  This change will fix that.

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

#sign-off


Run it on GPU

Hi,
So i have a few questions:
Is there a possibility to run the model on the GPU?
And does this project work with the more accurate ResNet model?
Finally, where do I these parameters : outputStride and multiplier? These parameters are available to configure from the posenet library: https://github.com/tensorflow/tfjs-models/tree/master/posenet
Thanks!

Hi ! Thank you for your interest.
(1) The free of charges version of Emgu.TF does not provide GPU support. I believe you should buy a commercial license to get GPU support with Emgu.TF (I didn't). Alternatively, writing a high level wrapper to C++ functions using tensorflow compiled with cuda may help bypassing the issue (i.e., not using Emgu.TF & Emgu.TF.Lite convenience tools).
(2) This project does not support the Resnet version of PoseNet for the moment. The focus was put solely on the .tflite model grabbed on the tensorflow lite website, which is/was only available with the Mobilenet backbone (!= tfjs repo).
(3) Default output stride appears to be 32 (lower resolution) with the .tflite model provided by the tensorflow team. I am still unsure about how to provide an interface to modify the output stride with Emgu.TF.Lite. Note that the post-dcnn code is already generic enough on that point. I did not try to consider the multiplier parameter for now.
Hope it helps !

Hi!
Thank you for your answer.


Make structured output parser serializable

Follow-on from #1848, adds new JSON Schema validation library.

Closing to better coordinate naming with Python


MacOS:  use of undeclared identifier 'posix_fallocate'

g++ -std=c++11 -Wall   -Ofast -msse4.2 -D__SSE4_2_ -m64 -I. -Iinclude  -c -o obj/gqf_file.o src/gqf/gqf_file.c
src/gqf/gqf_file.c:51:8: error: use of undeclared identifier 'posix_fallocate'
        ret = posix_fallocate(qf->runtimedata->f_info.fd, 0, total_num_bytes);
              ^
1 error generated.
make: *** [obj/gqf_file.o] Error 1
make: *** Waiting for unfinished jobs....

https://stackoverflow.com/questions/11497567/fallocate-command-equivalent-in-os-x

Hi @tseemann , I just released version 0.7 in which I have fixed this. Please check that. Thanks.

Great!

Attempting to build 0.7 on brew for mac and linux now:
https://github.com/brewsci/homebrew-bio/pull/742


1.12.1 docs cherry picks

docs cherry picks of:
https://github.com/docker/docker/pull/25135 (cc5debcb2e8621358721eb860c07f33f8b83d684)
https://github.com/docker/docker/pull/25420 (e56dd0e0e7d2eb921390c7aaff091b8b613c4c6b)
https://github.com/docker/docker/pull/25614 (e715ca506f41b22cde21187328fcb416cec5e6a2)
https://github.com/docker/docker/pull/25669 (43c8cc7bb4dd42bebabf68e509a3596ef7a642cd)
https://github.com/docker/docker/pull/25673 (a9b08f3102e946df44337deb65c99b41570754d1)
https://github.com/docker/docker/pull/25700 (078e2aa1571ad402f0a9599e6fac2286a3d35f54)
https://github.com/docker/docker/pull/25705 (aab101a770a88cdbde5012dc7eb5b4439cf57192)
https://github.com/docker/docker/pull/25706 (bde35ef18a408a297b960c439dc029cfb5e15464)
https://github.com/docker/docker/pull/25707 (7cdd693d5d2094f73383145eb74d81c6b9bb9b24)
https://github.com/docker/docker/pull/25710 (8d5818a6931db9d0acd4a6663815cd317da1bb6b)
https://github.com/docker/docker/pull/25712 (75e60fbe09f6065ed095671f98713d862c466858)
https://github.com/docker/docker/pull/25753 (c59bc537274aa7f4dc9702ea08c349c71a024b39)
https://github.com/docker/docker/pull/25757 (9eb2ec799eb37210dee5183ace375e480bbfd8aa)
https://github.com/docker/docker/pull/25758 (69e481af4e1fec65629c6ea4eb74fc58f5abc932)
ping @sfsmithcha PTAL

LGTM

LGTM :angel:

ping @tiborvass please merge whenever you're ready for this :smile:

LGTM


feat(plate): updated buttons prop in Plate component

Обновлен проп buttons в компоненте Plate
Теперь проп buttons может принимать либо массив кнопок, либо реакт ноду

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

7 of 8 (87.5%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 82.403%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/plate/src/Component.tsx
7
8
87.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
5087

Relevant Lines:
5733

💛  - Coveralls


qt5.qtwebengine: Fix build on darwin

../../3rdparty/chromium/third_party/harfbuzz-ng/src/src/hb-ft.cc:759:73: error: cast from 'void (*)(FT_Face)' (aka 'void (*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

I believe that on Linux we devendor harfbuzz-ng, right? It would be really nice if we could do the same for Darwin.

Some weird thing happened.
https://hydra.nixos.org/job/nixpkgs/trunk/qt5.qtwebengine.aarch64-darwin

Grepping the logs of those 2 builds:
The green one:
Project MESSAGE: Using clang++ from /nix/store/3vhfsa0ysc545n970bf7jrjawp7yalcn-clang-wrapper-15.0.7/bin/clang++
clang version 15.0.7
Target: arm64-apple-darwin
Thread model: posix
InstalledDir: /nix/store/g1iqk1kj8q36zqwrmchwic7dkxmj8mq6-clang-15.0.7/bin

The red one:
Project MESSAGE: Using clang++ from /nix/store/v39c0h6xv6hvki2k1bsyp5n090q8y2bp-clang-wrapper-16.0.6/bin/clang++
clang version 16.0.6
Target: arm64-apple-darwin
Thread model: posix
InstalledDir: /nix/store/44hqr4414m3jldixkm4cq47q5pnpy83d-clang-16.0.6/bin

According to: https://github.com/NixOS/nixpkgs/blob/3917762ed3fe1a158ea4cbc329d51e5cfa1cced1/pkgs/development/libraries/qt-5/5.15/default.nix#L284-L298
Clang 15 should be used, commit https://github.com/NixOS/nixpkgs/commit/ab80059a1b36a2578471b5df16b6fc32ed95f4fb broke it? @reckenrode

I believe that on Linux we devendor harfbuzz-ng, right? It would be really nice if we could do the same for Darwin.

While grepping the logs, I find use_system_harfbuzz=true args is added to the gn command in the linux build logs, but not in the darwin build.
I believe use_system_harfbuzz=true will be automatically set on linux, but not on darwin.

IIRC some of the devendoring flags only function on Linux because of weird Chromium build system stuff. But maybe this one works?

While devendoring is nice, but I think it won't fix the build because:

* -Wenum-constexpr-conversion: This is a downgradable error in clang 16, but it is planned
  to be made into a hard error in a future version of clang. Patches are not available for
  the version of v8 used by Chromium in Qt WebEngine, and fixing the code is non-trivial.

Need to figure out why overrideLibcxx llvmPackages_15.stdenv does not work.

Fair enough. FWIW, I think we won‘t ship Qt 5 WebEngine in 25.05 due to the upcoming EOL, so it might not be worth spending too much time on it anyway.
@K900 Maybe we should just work to drop Qt 5 WebEngine early in the cycle? There’s no reasonable expectation that the KDE people are going to be able to keep adequately on top of Chromium security backports, right?

Would be nice, but probably impractical. If someone wants to go and estimate the blast radius, that would be good though.

Well, I feel like the alternative is that we end up having to set it knownVulnerabilities a month after 25.05 release, which is all the same blast but with far more pain. Do we expect that a significant number of users will migrate off it within the next half a year?


[ROCm] Enabling device tracing/profling support for AMD GPUs

/cc @cheshire @chsigg

@cheshire @chsigg gentle ping

@cheshire @chsigg @gbaned gentle ping

@cheshire @chsigg @gbaned gentle ping

@kkimdev @rohan100jain @cheshire @chsigg @gbaned  gentle ping

@kkimdev @rohan100jain @cheshire @chsigg @gbaned gentle ping
the goal is to have this PR merged before we branch for TF 2.5, and hence the urgency .... please review.

Updated reviewers based on the files changed.  Reviewers: please redirect if needed.

@jbaiocchi @timshen91 gentle ping

@timshen91 please re-review

@cheshire @chsigg @jbaiocchi gentle ping

@yisitu I have pushed out a commit with the changes you requested. please approve. thanks

@deven-amd  I am unable to test the the functionality on AMD GPUs so you'll have to do that for us.
Since most of the code is in device_tracer_rocm I think the PR is relatively low risk.

@yisitu I have addressed most of your feedback and rebased PR to resolve merge conflicts.
please re-review / re-approve.
@chsigg gentle ping

Hi, I am aware of the intention to pull this into TF 2.5. The quickest way forward is to apply the suggested review comments. Most of these are straightforward refactors. For example, the wrong copyright year might seem inconsequential but we do try to do our part to not raise tech debt. Please unresolve the earlier review feedback that have not been addressed.

@yisitu , m guessing you were reviewing an outdated version of the changes when you left this comment.
I did update the copyright year in my previous commits (https://github.com/tensorflow/tensorflow/pull/47508/commits/8625366d5b0d8a93257f48ea177914e5296b14d4) , and only marked as resolved, all the comments that I did address in my previous commits (https://github.com/tensorflow/tensorflow/pull/47508/commits/090e71f42875d09dc51dea6a7b4fbe2e47d27885, https://github.com/tensorflow/tensorflow/pull/47508/commits/8625366d5b0d8a93257f48ea177914e5296b14d4).

@yisitu I have addressed all of your PR feedback. please re-review.
@chsigg gentle ping

@yisitu @chsigg gentle ping

@gbaned @yisitu PR seems to have gotten stuck in the merge pipeline...anything I can do on my end to move it along? thanks

@gbaned @yisitu PR seems to have gotten stuck in the merge pipeline...anything I can do on my end to move it along? thanks

There were some internal changes needed to make it work, I took care of it. Still waiting for approvals though, but hopefully it will be merged tomorrow.

@yisitu @akuegel @gbaned
thank you all very much for your help in getting this PR merged, it is much appreciated.

@deven-amd @goldiegadde @geetachavan1
Devan, if you need this in TF 2.5 you might have to request for a cherry pick. I'll let you drive from here.


Add terms of service to included files for docker image

Description

This PR addresses a minor issue wherein the terms of service document was not available within the Docker container, and thus couldn't be served by nginx in production.
Testing Instructions

Run just build
Run docker run --entrypoint='' --rm -it openverse-api:latest ls
Observe that terms_of_service.html is present within the container.

Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

While this PR does work as intended, based on the minified nature of the file and this comment
https://github.com/WordPress/openverse-api/blob/4c308ccf8fad3040cac07ddc535573b8263d624a/api/terms_of_service.html#L2
it seems like the file is auto-generated. I'm not sure if it should even be tracked in VCS.

Here's the file in prod now: https://api.openverse.engineering/terms_of_service.html
It looks like there are a bunch of places where we could change CC Catalog as well. That said, based on our infrastructure repository, the file is served directly from the repo (it's not minified or pulled in from anywhere). Do you have any thoughts or suggestions as to where we should move this?

Imo, we should convert this into a markdown file and serve it inside the ReDoc view itself, similar to how we have these other sections in the API documentation.

This has the main advantage of being immediately discoverable (lives with the API docs) and very readable in both the web UI as well as in the raw Markdown format (which the minified HTML lacks). Also, it can be Git-tracked which is not true for minified auto-generated HTML files.

That's a great idea Dhruv!

Agreed! But bummer, the terms_of_service field explicitly has to be a URL: https://swagger.io/specification/
Since we have the sections you described as part of our docs' README.md file, we'll have to find another way for Swagger to serve this.

Can't it point to a URL... that it itself generates? Or... :thinking: It could just be the fully qualified URL to the production place where it will exist?

Yea, exactly that! I just need to figure out how to get a "regular page" up in Swagger, I haven't used it very much 😅

Oh you know, I was assuming we'd add it to the MyST docs, not the swagger docs, sorry!

Oh you know, I was assuming we'd add it to the MyST docs, not the swagger docs, sorry!

🤦🏼♀ I was assuming it had to be in the swagger docs! Since it's literally just a link, we could 1000% make it the MyST docs! So much easier 🚀

Nice!

The changes are pretty significant and result in a very different PR, so I'm going to close this one and open a new one.


error in calculating curvature?

https://github.com/fjp/frenet/blob/a7e8dd5c2252cfec7f22e3cd61ec8bc282528049/python/src/cubic_spline_planner.py#L167
It seems that the divisor should be  $(x'**2 + y'**2)^{3/2}$?

You are correct, thanks for spotting this error. Feel free to open a PR to fix this mistake.


update docs for miner.md

My goal is to locally evaluate my models so that I can pick the best ones to submit as miners.
I am having trouble with miner.md (see below). There is another (related) thread on issues with running the local evaluation api.
What did I try?
(1) Read through miner.md and built the docker image
docker build -f evaluator.Dockerfile -t grader:latest .

(2) install requirements
uv pip install -r requirements.eval.txt

Raises error saying “flash-attn==2.6.3 depends on torch”
(3) Install torch and add —no-build-isolation flag
uv pip install torch
uv pip install -r requirements.eval.txt --no-build-isolation

Raises ModuleNotFoundError for setup tools
(4) Install setup tools
uv pip install setuptools

Raises OSError: CUDA_HOME environment variable is not set
(5) Use docker
At this point I am guessing all of this maybe perhaps an additional option alongside docker (?).. so  I decide to try it out directly
docker run -it grader:latest --help

This ^ seems to work. Is it what we are supposed to do? If so, should we document that in miner.md? Would seem easier and more robust to use docker rather than go through steps 1-4 etc.

CUDA_HOME environment variable is not set seems to be an issue with your specific local environment.
We do not recommend running the docker image, but rather using the helper script as mentioned in the doc:
# Run evaluator
python dippy_validation_api/evaluator.py --image grader:latest \
--repo_namespace <your-repo-namespace> --repo_name <your-repo-name> \
--chat_template_type <your-chat-template-type> --hash <your-hash>

You do not need to setup the validation api for this step, as the script only happens to live in that folder. The reason for this method is that there are actually 3 instances of the docker image being run as seen in the code.


fix: add ability to use partytown with scripts with relative paths

What is it?

[ ] Feature / enhancement
[x] Bug
[ ] Docs / tests

Description
Hi. Thanks for your cool project!
I am currently having a problem when using the script on sites with relative paths. The site I'm working on is published on different domains and has different paths.
For this reason I currently have to use a hack in my Rspack config:
partytownSnippet: partytownSnippet({
  lib: './',
}).replace('"/"', '"."'),

The current PR adds the ability to use it with relative paths.
Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

Thanks for opening this PR.
I'm closing this for now because it's stale, feel free to create a new PR with your improvements. :muscle:


feat: provide plugins access to options object

What kind of change does this PR introduce?
Feature
What is the current behaviour?
Plugins can't see openapi-ts-json-schema options object
What is the new behaviour?
Plugins called with a new options object (which can't be currently mutated)
Does this PR introduce a breaking change?
No
Other information:
Please check if the PR fulfills these requirements:

[X] Tests for the changes have been added
[X] Docs have been added / updated
[X] Relevant Changeset has been added

coverage: 100.0%. remained the same
when pulling fe32aee8e9883bdc04daf9d1a176aa2e73c4a7c3 on fix-fastify-plugin-internal-refs
into c0bdc53ea2e9ee64bdd78bb0fe30ffe1e16a0d0f on master.


v2-dev Refactoring Proposal

Refactoring version 1.0 to be more Object Oriented in order to expand into other SQL domains.
Created a top level interface for all statement types and move a few components around.
Removed many convenience methods primarily to simplify the transition.
No effort has been made to add support beyond MySql at this point.

Sorry I cant cleanup the commit anymore than that with history.  Let me know if you have questions on usage.

How to use multiple conditions ?
$map1 = new \Slim\PDO\Clause\Conditional('id', '<', '30');
$map2 = new \Slim\PDO\Clause\Conditional('id', '>', '28');
where($map1)->where($map2)->execute() ???

made some changes to address that and a few other issues.

@FaaPz are you still working on this?

@kwhat Wow, amazing work! I hadn't had the chance to look and test your changes thoroughly, but I will! 😄
What do you suggest for this PR? We could merge it with v2-dev branch and continue to work on it with smaller changes, or would you like expand this PR a bit more?

@FaaPz I am still testing it, so lets hold off until I feel like most of the bugs are worked out.  I got a little worried that your domain was down and you hadn't commented yet, but I am glad you are still working on the project.  When you have a moment take a look and let me know if you have any suggestions.

@FaaPz I am feeling pretty good about the code that is there.  There are probably still some issues but we can merge this as soon as your ready.  Feel free to assign bug reports to me and I will create new PR's.

@kwhat I truly appreciate the time and effort you have put into making this PR and I apologize for the late response.
Your PR is amazing and yes, this is definitely the more mature direction I would like to see this project going to. Let's merge and use your PR as new base for V2 and improve it from hereon! 🚀
Slim-PDO is quite old (3+ years: 99e5032a8af32dfa60cd116139959f01e2f5cd4e) and with 62k installs on Packagist, I suspect now is the time to be more than simply the "PDO database library for Slim Framework".
Requiring PHP 7.1 or higher (and using its great features), adding test coverage, improving documentation, maybe renaming (#20) are all things we could tackle once this PR is merged.
If you could fix the failed StyleCI analysis with a patch and then we're good to go! 😄

@FaaPz Sound good!  As far as 7.1, you may want to reconsider moving up to 7 until 5.6 is EOL, I think it is happening soon.  The reason I bring this up, is there are still a lot of LTS distros that do not even officially support 5.6 (couch couch redhat).  What I have in this PR can reasonably support 5.6 - 7.2 and we can always roll up to the latest greatest when this 7.x stuff settles down a little more.  I have a few more ideas about spitting out into Database modules, I would like to be able to add postgres and mssql support, maybe stored procedures and maybe someway to split read writes.  Ill fix up the tests and we can go from there!  Thanks again for checkin it out and no worries on the wait.  I have been slammed with work myself.  As far as a title, how about "Light Weight PDO Query Builder" :)

@kwhat Awesome! I see your point concerning the EOL, and I agree (but I'll miss 7.1 new features 😅).
I share your perception about adding "connectors" for various RDMSes and read/write connections would definitely be a nice addition to this project.
By the way, this branch has conflicts that must be resolved. I could do it myself locally, but then your hard work immortalized in the Git history ceases to exist. If you got the time, maybe merge v2-dev into yours to resolve the conflicts?

All is good :+1:


Fixed a bug with leading whitespaces in WKT

Hi!
Not sure if this package gets updated too often anymore, but here's my 2 cents for fixing #36 which we've been running into recently.
Seems that the bug was caused by a missing white() call in the beginning of coords() - confirmed that everything still seems to work in unit tests after the fix.
Here's the list of changes:

Added a white() call to fix #36
Added a couple of unit test cases with leading whitespace characters
Installed browserify to devDependencies to make npm install work without global installations

Tracked down the version by watching for changes to wellknown.js - seems that the version previously used was somewhere between 9.0.0 and 11.2.0 (chose the latest)

Any progress on getting this merged in? I just ran into the issue in a class that I'm teaching.

Any progress on getting this merged in? I just ran into the issue in a class that I'm teaching. (/cc @throberto)

this repository has not been updated for a long time... we have a successor for it (https://github.com/placemark/betterknown) maybe this problem has already been fixed there
hey @tmcw 😄

betterknown tolerates leading whitespace. And, y'all are probably aware, but I don't have commit for this repo because I haven't worked for Mapbox in a half-decade :)


Torch Integration: TorchService

need to integrate all of this into TorchService. this will be a substantial overhaul, and will take some time, but the code from the notebooks should transition pretty smoothly.  abstracting as much of the hooking away from the service as possible will be prudent

This is in progress on the torch_hooks branch as of #152

Resolved in #154