android-maven-gradle-plugin-1.5.jar

D:\code\PeiXunApp\app3>ionic info
[WARN] Error with .\www\lib\ionic\version.json file: FILE_NOT_FOUND, trying .\bower.json.
cli packages: (D:\code\PeiXunApp\app3\node_modules)
@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:
cordova (Cordova CLI) : 8.0.0
Gulp CLI              : CLI version 3.9.1 Local version 3.9.1

local packages:
Cordova Platforms : android 7.0.0
Ionic Framework   : ionic1 1.3.4

System:
Node : v6.10.3
npm  : 3.10.10
OS   : Windows 10

Environment Variables:
ANDROID_HOME : not set

Misc:
backend : legacy

when run  ionic cordova build android  get fllow error:
BUILD SUCCESSFUL in 1s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':CordovaLib'.

Could not resolve all files for configuration ':CordovaLib:classpath'.
Could not find android-maven-gradle-plugin.jar (com.github.dcendents:android-maven-gradle-plugin:1.5).
Searched in the following locations:

     https://jcenter.bintray.com/com/github/dcendents/android-maven-gradle-plugin/1.5/android-maven-gradle-plugin-1.5.jar

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

Get more help at https://help.gradle.org

BUILD FAILED in 1s
(node:2924) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':CordovaLib'.

Could not resolve all files for configuration ':CordovaLib:classpath'.
Could not find android-maven-gradle-plugin.jar (com.github.dcendents:android-maven-gradle-plugin:1.5).
Searched in the following locations:
https://jcenter.bintray.com/com/github/dcendents/android-maven-gradle-plugin/1.5/android-maven-gradle-plugin-1.5.jar

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Get more help at https://help.gradle.org

BUILD FAILED in 1s
how to fix it? my ionic project is  ionic1

This issue was moved to ionic-team/ionic-cli#3056


Fix release workflow

[ ] I have added the tests to cover my changes.
[ ] I have updated the documentation and CHANGELOG accordingly.
[ ] I have read the CONTRIBUTING document.

@scottwn this should be good to go thanks!


ioredis:SentinelConnector should not add localhost sentinels

Hi All,
Using sentinel feature of ioredis.
Problem: sentinel connector adding localhost ports even though remote host is provided inside sentinel config.
var rConfig = {
name: 'mymaster',
sentinels: [{host: '<IP_ADDRESS>', port: 26379},{host: '<IP_ADDRESS>', port: 26380},{host: '<IP_ADDRESS>', port: 26381}],
}
DEBUG ioredis log:
ioredis:redis status[<IP_ADDRESS>:26379]: connecting -> connect +2s
ioredis:redis status[<IP_ADDRESS>:26379]: connect -> ready +1ms
ioredis:connection send 1 commands in offline queue +0ms
ioredis:redis write command[<IP_ADDRESS>:26379]: 0 -> sentinel([ 'get-master-addr-by-name', 'mymaster' ]) +1ms
ioredis:redis write command[<IP_ADDRESS>:26379]: 0 -> sentinel([ 'sentinels', 'mymaster' ]) +173ms
ioredis:SentinelConnector adding sentinel <IP_ADDRESS>:26380 +0ms
ioredis:SentinelConnector adding sentinel <IP_ADDRESS>:26381 +0ms
ioredis:SentinelConnector Updated internal sentinels: {"sentinels":[{"host":"<IP_ADDRESS>","port":26379},{"host":"<IP_ADDRESS>","port":26380},{"host":"<IP_ADDRESS>","port":26381},{"host":"<IP_ADDRESS>","port":26380},{"host":"<IP_ADDRESS>","port":26381 ...  +0ms
ioredis:SentinelConnector resolved: <IP_ADDRESS>:6379 +2ms
ioredis:redis status[<IP_ADDRESS>:6379]: connecting -> connect +114ms
ioredis:redis write command[<IP_ADDRESS>:6379]: 0 -> info([]) +1ms
ioredis:redis status[<IP_ADDRESS>:6379]: connect -> ready +3ms
ioredis:redis status[<IP_ADDRESS>:26379]: ready -> close +214ms
ioredis:connection skip reconnecting since the connection is manually closed. +506ms
ioredis:redis status[<IP_ADDRESS>:26379]: close -> end +0ms
Any help  would be appreciated.

What do you get when invoking sentinel sentinels mymaster on redis-cli? It seems the result contains a server whose host is <IP_ADDRESS>.

@luin Yes, result of sentinel sentinels mymaster  gives <IP_ADDRESS>

@luin Thanks!

@luin
Is there any flag for not checking the hosts from the list and take the options given during the initialization.


Grammar fixes/improvements

CI got grumpy as it was getting changed while this was run. The new/good one was successful. Merging.


Language Server persistency

Is your feature request related to a problem? Please describe.
Hi, my way of working is editing files with vim all over the place (I like to have my code split into files), quickly going in and out of files. This way, I'm starting and quitting vim quite often. Some language servers take quite some time to start (for example LanguageServer.jl) and that means that if I want to see their output, I have to wait quite a lot...
Describe the solution you'd like
I would like for language servers and to be able to persist even after closing the editor. I imagine it as there being some timeout, for example 5 minutes, so that when I close my editor and reopen it inside 5 minutes, the language server would still be running and wouldn't need to start again.
Describe alternatives you've considered
Changing my working habits by opening files directly from vim. Not nearly as quick and simple (for example I can't change directories...)
I've been redirected here from neoclide/coc.nvim#2797

@marekdedic What would you like the protocol to do? Are you suggesting that LSP editor clients should offer a way to leave language server processes around for N seconds instead of terminating them when the client closes?

@marekdedic What would you like the protocol to do? Are you suggesting that LSP editor clients should offer a way to leave language server processes around for N seconds instead of terminating them when the client closes?

I don't think this should be specified in the protocol.

I don't think this should be specified in the protocol.

Hi,
honestly, I don't understand the LSP spec and cannot comment on whether this should be part of the spec or implementation.
Yes, I thought of the editor and the server negotiating the language server not being terminated for some time after the editor is closed. So if the editor is immediately reopened, it could reconnect to the server that is still running. I imagine the spec could help by setting how the editors should reconnect to a running language server instance and "negotiate" the persistency. Otherwise, I think it would be a bit of a "chicken and egg" problem of neither servers nor clients implementing this first :)
Thanks!

Hi,
honestly, I don't understand the LSP spec and cannot comment on whether this should be part of the spec or implementation.
Yes, I thought of the editor and the server negotiating the language server not being terminated for some time after the editor is closed. So if the editor is immediately reopened, it could reconnect to the server that is still running. I imagine the spec could help by setting how the editors should reconnect to a running language server instance and "negotiate" the persistency. Otherwise, I think it would be a bit of a "chicken and egg" problem of neither servers nor clients implementing this first :)
Thanks!

I guess one way to solve this problem is to have a long-running daemon process that manages the different opened language server processes. When an LSP editor opens it would connect to the daemon process to exchange messages instead of booting up language server processes itself. 🤔

I guess one way to solve this problem is to have a long-running daemon process that manages the different opened language server processes. When an LSP editor opens it would connect to the daemon process to exchange messages instead of booting up language server processes itself. 🤔

I will keep that as a discussion item open. But it can only be an implementation recommendation since something like this currently lies outside of the specification.

I will keep that as a discussion item open. But it can only be an implementation recommendation since something like this currently lies outside of the specification.

The feature has not gain any traction in the community. I therefore close the issue. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


chore: bump build image and rust version

Converted to draft as we are waiting for SU15 to officially release


fixes bug 1282542 - upgrade fanout

Changes Unknown when pulling 885bed3da405582df93d39f8082919f57eddcf56 on peterbe:upgrade-fanout into ** on mozilla:master**.

Coverage remained the same at 84.874% when pulling fd58826a1afac8b7145d1461516ea8a4bed84470 on peterbe:upgrade-fanout into c24c876013bb927b8c3a8133fff07885e4600f01 on mozilla:master.


Faker generated images from lorempixel are taking upwards of 20 seconds to load

In the latest release of faker.js there is a datauri function that can be used to generate inline images to prevent this.  I think we should consider bumping the faker version

Hehe - yep sounds like a good idea.
Dup of https://github.com/samselikoff/ember-cli-mirage/issues/1037, trying to decide the best path forward over there for the Faker dep.


speech-to-text example 2 computes BLEU on BPEs, not detokenised text

🐛 Bug
In speech-to-text example 2, the fairseq-generate command provided for ST (speech translation) runs sacrebleu. However it does not undo pre-processing, so bleu is calculated on text that has been split into BPEs. This gives results that are not comparable with any other published results, and is poor experimental procedure. Possibly the BLEU scores in the table in the README have been calculated in this way, and so should be updated.
To Reproduce
Follow example 2

Prepare must-c data
Train ASR
Train ST
Run the provided generate command with the trained model.

Code sample
Expected behavior
I should be able to reproduce the expected bleu scores. In fact my bleu score is lower, but if I extract the translations, detokenise and run sacrebleu, then I get an even lower bleu score. By extracting the BPEs, and running  sacrebleu on them, I can verify that fairseq is using this approach.
Environment

fairseq Version (e.g., 1.0 or master: master
PyTorch Version (e.g., 1.0): 1.7.1
OS (e.g., Linux): Ubuntu
How you installed fairseq (pip, source): source
Build command you used (if compiling from source): pip install --editable ./
Python version: 3.7.9
CUDA/cuDNN version: 10.2
GPU models and configuration: GTX 1080
Any other relevant information:

Additional context

@kahne can you please look into this?

@kahne can you please look into this?

Hi @bhaddow, thanks for reporting this issue. The bug seems to be introduced later by a different pull request (unexpectedly reverting the S2T updates to fairseq-generate for de-tokenization). The results in our paper/README.md should not be affected by this. I will make a fix today and let you know.

Hi @bhaddow, thanks for reporting this issue. The bug seems to be introduced later by a different pull request (unexpectedly reverting the S2T updates to fairseq-generate for de-tokenization). The results in our paper/README.md should not be affected by this. I will make a fix today and let you know.

The bug fix has been pushed to the latest master branch. Thanks again for reporting the issue.

The bug fix has been pushed to the latest master branch. Thanks again for reporting the issue.

Thanks for the quick response!

Thanks for the quick response!


Update remote locale with new local locale file

Hi,
Is there a way to update a remote locale using this library? I tried using localesApi.localeUpdate() but I couldn't find a way to specify the local file I want to use.
Thanks.

Hi @ddanielcruzz, the interface for the localeUpdate method is defined here: https://github.com/phrase/phrase-js/blob/master/src/apis/LocalesApi.ts#L72. So you should be able to update a locale with a call like this localesApi.localeUpdate({id: "localeId", projectId: "projectId", localeUpdateParameters: {..}}.
We are also looking into improving the documentation for this API client to make this a bit easier.

We have decided to close all GitHub issues and, instead, handle them through our Customer Support. We think this shift will allow us to offer proper prioritization of issues as well as a more appropriate response time that would be expected from Phrase products.
We apologize for any inconveniences this may cause. If you believe your issue is still relevant or has a high priority, please contact<EMAIL_ADDRESS>and we can take more direct action toward finding a solution.


compile error?

compile pagination example (latest code) under windows
report:
error[E0277]: the trait bound Authors: CellValue is not satisfied
--> src\models.rs:55:17
|
55 |     pub author: Authors,
|                 ^^^^^^^ the trait CellValue is not implemented for Authors

Hey, there where some breaking changes in a recently merged pr, and the examples where not updated at the time of merge.
All of the examples are fixed in this PR: https://github.com/Synphonyte/leptos-struct-table/pull/31
I'm sorry for the inconvenience this has caused you.

ok. thanks.sir.

@skydig Thanks for reporting!
@lukashermansson Thanks for fixing!
😄


CYCLE SORT IN JAVA

do issue #2223 in JAVA

Need to add a description and can you please bit more elaborate how you're going to implement and also tell us whether you are working under Gssoc as a participant?. Thanks, Closing as of now.


state of the server

Is your feature request related to a problem? Please describe.
When there is a problem in the backend, the connection to the server is lost, but the service (webui) is still running.
So the pod is still in the running state, and cannot be detected that there is a problem and need at least to be restarted.
Example:
due to an internal timeout error:
raise WorkflowTimeoutError(msg)
llama_index.core.workflow.errors.WorkflowTimeoutError: Operation timed out after 240 seconds
an exception was thrown in the ASGI application and then raising KeyError: 'Session is disconnected'.
Because of that the server was disonnected, and the application cannot be used anymore and needed a manual restart in order to operate again.
Describe the solution you'd like
It would be good to have an internal process/ way of checking the health of the server and if it's still connected.
I have tried it with the already implemented health check using an api call, but it's returning 200 since the WebUI is working, but not the server ...
the idea would be either to implement an additional endpoint to return the status of the server, or for example some way of checking the server from the app itself using an async process running in parallel to the app.
Additional context
Would be necessary for any deployments using chainlit to avoid downtime.

@dosu what do you think ?


Parsing error when angle brackets used

The following code causes the processor to silently fail:
const styles = {
  a: css`
    content: '<';
  `,
  b: css`
    content: '>';
  `,
}

After some playing around, I found the angled brackets are matching and preventing the file from being properly passed.

is this a processor issue, or an upstream stylelint issue?
the silent failing could be masking other issues.. any way I can find out which files are silently failing, e.g. perhaps if I run in verbose/debug mode?

@mattfysh Can you provide your lint config, the processor version and your sample test file? I tested following codes with a simple rule "value-list-max-empty-lines": 1, but correct errors are always reported, no matter I commented const styles or not.
import styled, { css } from 'styled-components';

const styles = {
  a: css`
    content: '<';
  `,
  b: css`
    content: '>';
  `,
}

const StyledTable = styled(StyledTableBase)`
    height: 100px;

    width: ${1

    };
`;

Upgrading stylelint from 9.2.0 to 9.2.1 has fixed this


Button enable / disable

I would like to be able to disable / enable the Books and Shelfs Button on the Topbar of the page
In our case the users should navigate through the main screen / the shelfs not through the top navigation because it is easier for them

@tobiaspihale You can handle that by making a custom theme as outlined here: https://www.bookstackapp.com/docs/admin/hacking-bookstack/
I believe you can get what you need by modifying common/header.blade.php

As another quicker alternative, You can add the following to the "Custom HTML Head Content" input found in the settings page:
<style>
/* Hide shelves link */
header nav a[href$="/shelves"] {
	display: none;
}

/* Hide books link */
header nav a[href$="/books"] {
	display: none;
}
</style>

I wouldn't look to implement fine-grained UI options/controls for doing this but instead utilise flexible unofficial hackery as provided in the two options provided, therefore I'll close this off.


Bump to CodeIgniter 4.4.1

Closes https://github.com/samsonasik/ci4-vue/pull/12

Codecov Report

Merging #13 (40d8694) into master (00822ab) will not change coverage.
Report is 5 commits behind head on master.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
@@             Coverage Diff             @@
##              master       #13   +/-   ##
===========================================
  Coverage     100.00%   100.00%
  Complexity        13        13
===========================================
  Files              7         7
  Lines             24        24
===========================================
  Hits              24        24

Flag
Coverage Δ

tests
100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

app/Controllers/Api/Portfolio.php
100.00% <100.00%> (ø)


Merge minimal ros packages

This merges the useful ROS packages from the ros_packages branch.
Ideally, we should squash this when we merge.

Superseded by #9


Mesh wireframe

Would it be possible to add an option to view a wireframe over a Mesh?
I tried adding this myself but simply put, my WebGL knowledge is crap at the moment.
I figured as much that this needs to get the following:
        glData.shader.uniforms.translationMatrix = mesh.worldTransform.toArray(true);

        glData.shader.uniforms.uColor = core.utils.premultiplyRgba(mesh.tintRgb, mesh.worldAlpha, glData.shader.uniforms.uColor, texture.baseTexture.premultipliedAlpha);

        var drawMode = mesh.drawMode === _Mesh2.default.DRAW_MODES.TRIANGLE_MESH ? gl.TRIANGLE_STRIP : gl.TRIANGLES;

        glData.vao.draw(drawMode, mesh.indices.length, 0);

		// or something of the sort - where mesh.wireframe
		if (mesh.wireframeColor !== null)
		{
			glData.vao.draw(gl.LINE_LOOP, mesh.indices.length, 0);
		}
```javascript

But changing the color wasn't apparent to me.

Suppose you know what function in pixi sources you want to hack: https://github.com/pixijs/pixi.js/blob/dev/src/mesh/webgl/MeshRenderer.js#L50
Now you write something like that:
PIXI.mesh.MeshRenderer.prototype.render = function(obj) {
var glCore = PIXI.glCore;

... //paste changed code here.
}

That's the one way to hack it.
The second is to copy whole MeshRenderer, register it in WebGLRenderer under another name and assign mesh.pluginName='wireframe'

Awesome thanks for this. Let me give this another go. I have made a lot of hacks with the first method but I wasn't aware of PIXI.glCore which was needed to overload this method.

I bless you to make more hacks!

Hiya! Any progress with this one @cvissie? I know that in native OpenGL there is the following but it may not be present in Web:
glPolygonMode( GL_FRONT_AND_BACK, GL_FILL );
glPolygonMode( GL_FRONT_AND_BACK, GL_LINE );

Closing due to inactivity, original question seems solved. Would be great if you could share the hack here for others tho @cvissie :)


Change duplicate link to anonymous link

Issue #1651, virtualenv and here point to the same explicit URL. Making here anonymous fixes this.

Thanks a lot for the PR - I'm sorry to say that I just fixed this an hour ago in #1653 after we discussed our plans for a quick 0.18 patch release on Slack. Sorry for the race condition, I really appreciate the effort! :smiley:


Faulty parsing of | within `

iex(1)> EarmarkParser.as_ast "`a | b`\n`c | d`."
{:ok,
 [
   {"table", [],
    [
      {"tbody", [],
       [
         {"tr", [],
          [
            {"td", [{"style", "text-align: left;"}], ["`a"], %{}},
            {"td", [{"style", "text-align: left;"}], ["b`"], %{}}
          ], %{}},
         {"tr", [],
          [
            {"td", [{"style", "text-align: left;"}], ["`c"], %{}},
            {"td", [{"style", "text-align: left;"}], ["d`."], %{}}
          ], %{}}
       ], %{}}
    ], %{}}
 ], []}

According to the spec a table must have a delimeter row in order to be a table, but I guess this is hard to change due to backwards compatability. Not sure what can be done about this as it seems similar to #147. Posting it here so that we are aware of it.

Thank you for reporting this. Your reference to #147 is spot on I will try to get a better (but not backwards compatible) behavior in 1.5.
It is an obvious error to parse markdown inside   ``, but due to the line oriented design almost impossible to avoid


Fix: Move missions to application layer

need to move it
the mission need the presentation factory layer
no chance of come out of domain layer
stuck here

You are right. Should have thought of that in the first place. Fun fact i recently moved it from the application layer to the domain layer ... i will take care of that.


[Merged after 0.6.1] Predictor support filename filelist input

Issue #, if available:
Description of changes: Support filename input and list of filename input in predict()
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yongxinw What's the status of the PR?

I resolved the conflicts and this is ready to merge. @sxjscience


📎 Forbid undefined as type name

Description
TypeScript 5.5 now forbids undefined as type name. We should update our parser in order to reject undefined as type name in the following cases:
type undefined = 0;
interface undefined {}

It seems that TypeScript also rejects the following code:
class undefined {}
enum undefined {}

Does it forbid it also for JavaScript files?

Does it forbid it also for JavaScript files?

I don't know. We have to investigate the case,

oh sorry, maybe i will deal the typescript case first

This issue was marked for Biome 2.0, but it was merged to main.
@Conaclos should we revert it?

should we revert it?

I think it is fine since we consider it as a fix.


BrowserAction icon after logged in should clear unavailable state

Go to monetized site while logged out
Log in
Go back to monetized site
Expected: normal icon
Actual: unavailable

IconState should be derived from other state


Update opentelemetry-sdk-testing to 1.9.0

Updates io.opentelemetry:opentelemetry-sdk-testing from 1.6.0 to 1.9.0.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.opentelemetry", artifactId = "opentelemetry-sdk-testing" } ]

labels: test-library-update, early-semver-minor, semver-spec-minor

Superseded by #451.


How do you get the LV2UI_Show_Interface?

I can't get it out of lilvmm.hpp or lilv.h I just want to call show()

I think I can get it to work with suil but why is there not a function to show the interface for host that don't have a GUI? It is in LV2 specification that you can get the UI Interface and call show for hosts that don't render their own frame

Ahhh. So, I did not even realize that not all plugins even have their GUI. Now that I understand, I can get the URI giblet to the UI. So, then maybe I can load the UI plugin.

Like other "interfaces" in LV2, it is extension data, in this case on the UI.  You can retrieve it with suil_instance_extension_data.
https://github.com/drobilla/jalv/blob/master/src/jalv_console.c#L263


Buttons can disappear upon switch to and from another program

1 Place focus on this button:

2 Switch to another program and back (or have e.g. a calendar pop-up take focus)
Expected: button still present, with focus
Observed: button, focus, and focus indicator gone:

Workaround for this specific instance: press Tab, Shift+Tab, Tab.
V1.42.1 on Windows 7.

I can reproduce, and I agree this is not ideal.
The problem is that focus gets back to the ActionBar which controls the button, however the button does not get rendered probably because of some timing dom issue.
I am not sure who owns the actionbar / views title, but this happens due to the exact behavior that actionbar gets hidden when not focus and not hovered.
For now forwarding to @sbatten
fyi @sandy081

ActionBar

Whoops, sorry.

The problem is that focus gets back to the ActionBar which controls the button

Not reproduced here.

however the button does not get rendered

This is more than just a rendering issue. E.g. no amount of pressing TAB will return to the button.

Reopening since this issue is still present.
Pressing tab + shift tab will bring the button back fyi

Reopening since this issue is still present.

I clicked "Close and comment" in error... and could find no way to reopen. Where did I miss it?

Pressing tab + shift tab will bring the button back fyi

Indeed, and thanks.
But another tab is needed to reinstate focus. Added to report.

I cannot reproduce this in master :/.
My steps:

Focus the outline view collapse button with keyboard.
Alt-Tab away from VS Code
Alt-Tab back to VS Code

Button remains focused.

I can easily reproduce this on the mac with latest vscode insiders and out of source
Button remeains visible though, but the focus is not rendered.

If this is an important problem to you, you can use the setting workbench.view.alwaysShowHeaderActions: true. If you use that setting you will not run into this problem.
I'm closing this issue as there is a workaround and the focus is essentially still there, it's just not rendered. It's unlikely we will be able to fix the rendering problem.


Add text to Split Button

Need ability to include a text string inside of a split button to support Bulk Selector design. See #1089 for design details.

:tada: This issue has been resolved in version 2.30.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


compiler: process interop together with package

Closes #913 .
Provide package info in the funcScope to check if function is defined
insided an interop package. As a good side-effect bytecode for builtins from util
is no longer emitted.
Related #941.

@roman-khimov even after #941 we will have some package which is "special", so this changes will remain.


Log output on stdout/stderr garbled by artisan serve

Laravel Version
10.30.1
PHP Version
8.2.7
Database Driver & Version
Not applicable
Description
When using php artisan serve and configuring the logger to write to STDOUT or STDERR (which is pretty common in containerised environments), all application output is split by the character sequence ]  (probably expecting a specifically formatted message) and limited to the second segment. This happens in ServeCommand.php on line 290.
Unfortunately, this breaks while reporting even builtin errors such as BindingResolutionExceptions, which have the message "Target [$concrete] is not instantiable.", containing the culprit sequence.
And if you start printing debug output to the console, this happens even more often, leading to confusing and only partially printed output.
This breaks several assumptions about framework configuration:

As per the documentation, Laravel supports Monolog stream output and processors
The default project includes configuration for stderr out of the box
JSON logging is quite common and implies heavy usage of the stop sequence
Neither the docs, nor the comments on the configuration options, nor the help output of the serve command indicate any potential problems when using this sequence

It is really annoying to be unable to log output on the command line in local development. The only real alternative would be using php-fpm or similar (with nginx in front of it), or Octane; both of them making the stack considerably more complex than necessary.
I think it's reasonable to expect pretty server output not to interfere with user log output. To solve this issue, the serve command should not make assumptions about the formatting of process output. I have no clue what the idea of that particular explode call was, but at minimum it should probably limit the number of split operations to two:
explode("[foo] [bar] baz", 2) === [ "[foo", "[bar] bar" ]

But ideally, the output should be printed verbatim. If that sequence does something special with the default settings, maybe use a better (unique) suffix, or check log settings -- but don't break my output.
This is related to #44781.
Steps To Reproduce

Configure Laravel to use the stderr channel in config/logging.php:-  'default' => env('LOG_CHANNEL', 'stack'),
+  'default' => env('LOG_CHANNEL', 'stderr'),

Log something containing ]  or cause a binding exception on purpose:Log::error('[Test] This is a test error log entry');

Start a development server using php artisan serve, trigger the code containing 2. and observe the log output:2023-11-06 14:07:53 ................................................... ~ 0s

WARN  local.ERROR: [Test.

2023-11-06 14:07:56 ................................................... ~ 1s

(Aside - it's also annoying how each line will be wrapped with blank lines, especially for reading stack traces)

Thanks @Radiergummi. Would appreciate any help with figuring this out. Maybe @nunomaduro has some ideas as well.

@nunomaduro it would be super helpful to know why log messages are being split there, is that intended for something emitted by the PHP HTTP server itself?
If that isn't resolvable, maybe we could include a Monolog processor that will prefix all log output with a known string, such as \0log\0 or something; the serve command could remove that prefix and print the line verbatim. That's not perfect (old-school debugging à la #44781 wouldn't work still), but would probably catch the majority of use cases.

So I found something of a solution: https://gist.github.com/Radiergummi/beb80325543c5b8bcd611f7229d3608a
Essentially wrapping the log formatter used in the served application via env vars passed to the process, so users will still see their own log format. It's a bit rough, but works.
I'm aware this issue probably isn't high priority, but I'm happy to contribute a PR. Pretty sure we should try to come up with a better way of handling process output, however :)

@Radiergummi you could always try to PR it to see what Taylor thinks 👍

A PR was merged for this, thanks.


[WIP] move Dockerfile to its own folder for isolation and add build/run ins…

move Dockerfile to a docker folder and supplied build/run example commands
The driver for doing this is isolation, which leads to solutions for the following issues:

Dockerfile at root of repo forces a root build context (all files in the build context unless a docker ignore is used)
Dockerfile in the root complicates a binder deployment accompanying the quickstart and other hands-on Delta/Delta docs content

The current build instructions refer to the root build context and the resultant docker image is currently the same as it was prior to isolating the Dockerfile.  We may build upon this by leveraging docker ignore files or other strategies to have a more specific and compact build.

Thanks @baumanab - will review this shortly!


.scss and .css files don't appear when opening local project from files on your computer

Describe the bug:
When loading a local project all .scss .css files were discarded and didn't copy into the editor.
Link to the blitz that caused the error
https://stackblitz.com/edit/node-jfx5dz
Steps to reproduce:

Go to local projects
Select a project that has .scss files in it
notice that the .scss files don't appear in the editor and are not found when running a build

Expected behavior:
expected the .scss files to be copied into the editor
Version of webcontainer:
Hash: e6adaf772b18819f7b4ab8325b73d63276acda8f
Desktop (please complete the following information):
Browser name  = Chrome
Full version  = 91.0.4472.124
Major version = 91
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.67
performance.memory = {
  "totalJSHeapSize": 96810825,
  "usedJSHeapSize": 89296205,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}

Additional context:

Hi, I just opened my local Angular project and all .scss files did not upload at all. Please can you take a look at it?

@ShoulM I can't seem to access your project anymore? Could you send another link? Thanks ❤

:wave: It seems this issue has been sitting for a while without new info. I'm closing this, but please feel free to open a new one if you still encounter this problem.


Deploy FSDv2 on TensorRT

I want to deploy FSDv2 on TensorRT, but it seems that I need an MMDeploy config to do this.
Here is an example config from MMDeploy docs:
backend_config = dict(
    type='tensorrt',
    common_config=dict(
        fp16_mode=False, max_workspace_size=1 << 30),
    model_inputs=[
        dict(
            input_shapes=dict(
                input=dict(
                    min_shape=[1, 3, 512, 1024],
                    opt_shape=[1, 3, 1024, 2048],
                    max_shape=[1, 3, 2048, 2048])))
    ])

What min_shape, opt_shape and max_shape do I have to paste into this config? It seems, that FSDv2 receives an unbounded list of points as input...

I don't think you can directly deploy FSDv2 with TensorRT, which doesn't support Sparse Convolution ...

OK, but what about min_shape, opt_shape and max_shape? Let's assume we figured sparse convolution out.

It depends on you. You should set a fix threshold to the number of points.

Is it possible to deploy FSDv2 on TensorRT with the help of SparseConv3dLayerPlugin from here:
https://github.com/jingyue202205/SE-SSD-AI-TRT
How difficult will it be to do this? Will it be possible to do this (semi) automatically, or it will mean completely rewrite FSDv2 on C++ by hands?

The difficulty of FSDv2 deployment lies in it using spconv. So if you can find a solution for the spconv-based deployment, it should also work for FSDv2.


feat(builder): add parameter for user-agent in the builder

This is necessary when trying to use ffmpeg with url which filter on user-agent (streaming service for example).

Coverage increased (+0.6%) to 84.027% when pulling aecdb2fa4adb06460b4269e4a878c34dbe2e6236 on davinkevin:user-agent into 75e91f199f186b749e928c4dc2642fd035ab9ead on bramp:master.

The second commit add a parameter on the probe method which also need user-agent modification

Coverage increased (+0.7%) to 84.089% when pulling 2bca780d80d042a7557b361178556aea52336da5 on davinkevin:user-agent into 75e91f199f186b749e928c4dc2642fd035ab9ead on bramp:master.

I had a hard time finding documentation for ffprobe accepting a user-agent flag, but I'm going to assume it does.
Also does ffprobe have many other arguments? If so perhaps we should create a builder for it as well.
Until then, I'm going to accept this. Thanks!

ffprobe -h give all the information, this is what I use to find the user-agent parameter : https://gist.github.com/davinkevin/f9c8a743778083e57b5eb9dbdb08b631
I also think a builder could be a better solution, do you want to create an issue for that ?

Feel free to create a issue for a FFProbe builder, but I don't think it is worth working on until we need lots of arguments.


Infinite loop

.leftOuterJoin(extraMemberInvoiceTbl)             .on(extraMemberInvoiceTbl.RELATION_ID.eq(TBLMEMBERSHIPEXTRAMEMBERPURCHASE.ID))                 .and(extraMemberInvoiceTbl.ORIGIN.eq("MembershipExtraMemberPurchase"))

#15

"extraMemberInvoiceTbl.RELATION_ID".matches("(\w*[a-z]+\w*\.?)+");

#16


Added cohere for sentiment analysis

There is no description in the MR on what this MR is doing?

This PR has multiple changes which affects the existing features as well. Request you to please write a basic test code so that functionality can be verified before merging. Refer test1.py file.

@sahilkhatri , sure I will make the changes according to that.


[bug] Too low quality score

Describe the bug
The quality score reported to the user through server events is too low in some cases.
To Reproduce
Steps to reproduce the behavior:

Configure video capture to be 960x720 (4:3 720 preset)
Connect to a room with certain Android devices that does not support natively capturing that resolution (e.g. Fairphone 5)
Observe connection quality score go down to Good after a few seconds

This even happens on a local dev environment with low ping times/RTT.
Expected behavior
Excellent score due to local network being fast enough
Platform information

Flutter version: 3.22.2
Plugin version: 2.1.4
Flutter target OS: Android
Flutter target OS version: 13

Additional context
This is tightly related to https://github.com/webrtc-sdk/webrtc/issues/133.
However, even with the partially fixing PR applied, the quality score is still too low.
The reason for this issue is that WebRTC Simulcast layer counts (https://github.com/webrtc-sdk/webrtc/blob/7ddfc43fcd2e4ba0548258a76fe88d49b34588c5/video/config/simulcast.cc#L82-L106) do not always match Livekit Flutter SDK layer counts https://github.com/livekit/client-sdk-flutter/blob/main/lib/src/utils.dart#L473-L477. Livekit server then assumes that bad network is the cause for the missing layers
Actual reasons for the mismatch:

this SDK only considers max dimension, WebRTC considers pixel count (16:9 vs 4:3 comes into play too), and
WebRTC potentially resizes video streams before calculating simulcast layers (see issue mentioned above)

hey @holzgeist,  Another possibility could be related to the DegradationPreference default setting. This PR has set the default value to balanced. Perhaps you can test your patch together with this PR to see if the video quality improves.
https://github.com/livekit/client-sdk-flutter/pull/556

Hi @cloudwebrtc
Thanks for the hint, I'll check it out.
I don't have much hope, because my added log output in scorer.go is pretty unambiguous:
"packetScore": 98.72154736490438, "bitrateScore": 100, "layerScore": 65
Full log line with context:
2024-07-15T16:26:36.994+0200	INFO	livekit.pub	connectionquality/scorer.go:413	Scorer:	{"room": "r1", "roomID": "RM_X6HwsbHncGLj", "participant": "p1", "pID": "PA_iXxtQHmwQwQZ", "remote": false, "trackID": "TR_VC34Ct5b9cB43t", "relayed": false, "mime": "video/vp8", "direction": "up", "expectedDistance": 1, "distanceWeight": 35, "packetScore": 98.72154736490438, "bitrateScore": 100, "layerScore": 65}

The PR you mentioned doesn't change anything unfortunately


Create fixed subsets of RedPajama categories for validation data

Each time we evaluate we should evaluate on the entirety of each subset. This will remove some noise and make it easier for us to debug where the model is going wrong with RP.

Marking the items prior to Feb 29th as "closed".


Question in 9a: the test_****_role function failed

When I run test, it reports error as the picture shows:

but when I copy the code in the function to run in the flask shell, it's just ok as follow shows:

I have no idea why. Please help me. Thank you!

Is this with code cloned from this repository, or did you type it yourself? Have you done a comparison against my code if the latter? I can't really tell what's wrong just from seeing the test output.

Oh, after comparing every single line, i found the cause. I didn't write the Role.insert_roles() after db.create_all() in the test_user_model.py, thank you!


Helm chart for namespace deployment

What does this PR do / how does this improve the operators?
Add Helm Charts for Namespace deployment.
Todo:

Combine the cluster scope and namespaced charts.
Add a Readme/update the docs

Which issue(s) does this PR fix?
Fixes #
Special notes for the reviewer:
Does this PR require changes to documentation?
All Submissions:

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you written or refactored unit tests to cover the change?
[ ] Have you ran all unit tests and ensured they are passing?
[ ] Have you manually tested each feature that is being added/modified?
[ ] Have you ensured you have not introduced linting errors?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Is there an easy way to re-use a lot of the values we already have in the other charts? I worry about the amount of copy-paste that will need to happen when we update the CRDs. Lots of room for error in these processes.

Agreed. This problem should be solved once we combine the cluster scope and namespace installer in the next iteration.
I think, ee should also generate these helm charts from the kuztomize target (or vise versa) to ensure these two are in sync as well.


Row skeleton

Adds a skeleton of the Row<Ts...> class. This class holds a heterogeneous collection of C++ values representing all the values in a particular row. Individual values are access from the Row::get() member function overloads. A value can be extracted by specifying its column index as a non-type template argument (e.g., row.get<2>()). Additionally, multiple values can be extracted as a std:tuple (in any order) by specifying 2 or more column indexes (e.g., row.get<4, 2, 1>()). If no index arguments are specified, then a std::tuple containing all the values is returned.
This addresses part of #32

This change is

PTAL

I usually err on the side of being overly explicit about the includes I need, but you're right here that the code wouldn't compile if the include was missing.
.. actually, that's not totally true. If neither of the files included version.h, then the code would compile fine. But the namespace would be named literally "SPANNER_CLIENT_NS". I think that would compile w/o error. However, we'd probably get a clang-tidy warning about the bad spelling of the namespace.
Anyway, removed the include of version.h from row_test.cc


Remove unnecessary binning in force-bias-optical-trap.py

Binning is now also done inside pmf.py, so should remove outside.

Actually, these are just to verify, so I think it's OK.


Profile build times

Before starting on reducing compile times I'd like to know where the time is going. Using -Z time passes, RUSTC_WRAPPER, and possibly other techniques, write a script that tells us as much as possible where the time is going.

I haven't written a single script as described in the op, but I've done lots of profiling, with various tools, with the numbers posted to various other issues.
I did write one set of scripts for comparing all in-tree benchmarks between two commits: http://github.com/brson/tikv-bench-scripts


The model output is nonsense

Thanks for your impressive and outstanding work!
Do you have any idea why the model outputs are Garbled characters (in pred) as described in the picture?

These garbled characters may occur during the early steps of training. You may encounter the same error as described in this issue.
If you encounter any further problems, feel welcome to reopen the issue~

Hi thanks for you reply. I've solved this problem!  And another thing is that, will the pretrained weight of obj alignment be released？ Because the pretrained model you've provied is fintuined on the grounding task, when I ask the model to explain the obj, the model only return the format of grounding task. Could you share the model weight of only 'objxx‘ task plz?

Thanks for your interest in our work. I've uploaded two more pretrained weights on Google Drive. One is after the object alignment (after_obj_align.pth) and the other one is after the scene alignment (after_scene_align.pth). When you use after_obj_align.pth, remember to set add_scene_token=False in run.sh.
Actually these pretrained weights are also kind of overfitting to answer formats used in corresponding training data. We are still trying to reduce the overfitting problem and enhance the zero-shot ability.

Thank you so much!


No init file found in new source

Hi there,
When trying to auto-update the addon in blender, I receive this error: No __init__ file found in new source
I imagine adding this config will allow automatic updates which would be great!

Ah I think the issue might be that the version number in init was not updated in the latest release

Is there a specific error inside the console, the source of the problem most likely is improper zipping of the add-on. I'll proceed to look at the zip


unit test for HHH-7973

https://hibernate.atlassian.net/browse/HHH-7973

Hi @Martin-Wegner,
have you signed the Contributor License Agreement [https://cla.jboss.org/index.seam]
if not can you do it?
thanks

Now I have https://developer.jboss.org/people/martin.wegner

@Martin-Wegner
Thanlks a lot


Could I capture the extern events through some current support?

As the title.

What do you mean by "extern events"?

emm... Just like some keystrokes(such as ctrl + shift + o to wake my app) in whatever other windows and that can call my app.

For security reasons, I don't think it's possible to consistently listen to keyboard events when a window is not focused in a cross-platform way (Wayland being the main issue here, see https://github.com/rust-windowing/winit/issues/193#issuecomment-304815903).


Upgrade to react-table v8

Is your feature request related to a specific problem?
As we build more fancy tables (datamap, privacy notices), it'd be nice to upgrade to react-table v8. We are currently on v7 which involves using our own react-table-config.d.ts to merge types. This causes various other problems though, as those types are global and can't be used per table instance.
v8 is rewritten in typescript, so hopefully many of our typing problems will go away once we upgrade!
Describe the solution you'd like
Upgrade to react-table v8. Then fix our typing issues!
Describe alternatives you've considered, if any
A description of any alternative solutions or features you've considered.
Additional context
https://github.com/ethyca/fides/pull/3001#discussion_r1160302398

@allisonking  any sense of the LOE?

@allisonking any sense of the LOE?

hard to say, depends on if things break 😅 I'd probably give it a 5 in terms of points just since there are quite a few unknowns.

Has this been done @allisonking ?

@TheAndrewJackson started it here—I think new tables use v8, but old tables still use v7

@rsilvery This can probably be closed. That work has been started but it'll be a gradual migration instead of all at once. We now have a new table that uses v8. As Allison said, all new tables will use v8 and the v7 tables will be gradually migrated over.


Bring target safety evidence from AOPWiki

As a user I want to explore the data include in the AOPWiki in the context of target safety because this source lists human targets that are implicated with adverse outcomes.
Background
This is developed under the umbrella of the target safety project. There is an existing ticket to find a data model for the AOPWiki data (#1605).
Ines has parsed the raw data (in XML format) to a table that enabled her to inspect the data.
2022-12-14_safety-targets-phenotypes_AOPWiki.xlsx
Now that we have it parsed we can integrate it into the current module to follow the safetyLiabilties schema. The intention is that for the next releases to parse directly the XML.
Tasks

[ ] Add the logic to ingest the AOPwiki data from the Excel above to the evidence parsers repo
[ ] Update the documentation

This data is ingested in the whole safety dataset.
As an example of the type of information we extract from AOPWiki, let's use this pathway: Ether-a-go-go (ERG) voltage-gated potassium channel inhibition leading to reduced survival

This is an example safety evidence string we extract for an event that has not been reported in humans:

{
  "id":"ENSG00000055118",
  "event":"Reduced, survival",
  "datasource":"AOP-Wiki",
  "effects":[
    {
      "direction":"Inhibition"
    }
  ],
  "isHumanApplicable":false,
  "url":"https://aopwiki.org/aops/95"
}

Here we describe that an inhibition of KCNH2 - a potassium channel that acts as the molecular initiating event, eventually leads to a reduction in the life span.

For a human applicable example, we can take Cyp2E1 Activation Leading to Liver Cancer

{
  "id":"ENSG00000100644",
  "event":"Liver Cancer",
  "eventId":"MONDO_0002691",
  "datasource":"AOP-Wiki",
  "effects":[
    {
      "direction":"Activation"
    }
  ],
  "isHumanApplicable":true,
  "url":"https://aopwiki.org/aops/220"
}

Here we describe that an up regulation of HIF1A - a regulator of hypoxia leads to oxidative stress which eventually has a role in liver cancer.
 The latest data can be explored here gs://otar001-core/TargetSafety/json/safetyLiabilities-2023-01-20.json.gz

Data and BE tasks f0r this ticket have been finalised - @LucaFumis could you please help us with exposing the new humanRelevance field in the context of the safety widget. @ireneisdoomed and myself are happy to discuss details

@buniello Probes actually have a star, not a tick. We have ticks in the Tractability widget, for example. Another thing is that we should also be consistent with the way we show a lack of information. Those assessments that do not have the human applicability set to true don't mean that there is negative evidence of their relevance in humans, but that it has not been tested. So instead of leaving them blank, we should show N/A as other places in the Platform.
The intention for the next iteration is to go back to the curated datasets and see if this applicability can be inferred so that we have this assessment beyond AOPWiki.

Thank you @ireneisdoomed - well spotted. I have now updated the instructions for @LucaFumis.

Thank you @ireneisdoomed and @buniello. So do you mean the column should display three values, true | false | null as tick, blank, n/a ? Or  for now just two (tick + n/a for everything else)?

During the ChEMBL meeting this morning, we have discussed taking a different approach to visualise these data. This should takes into account that at the moment we are missing the humanRelevance assessment for the other data sources for safety.
@LucaFumis and myself have just gone through options for the new approach with a call.
I will update this ticket pending further investigation.

In the Team Leads meeting this morning, we have decided not to expose the humanRelevance field in FE for this release.
The task will be re-discussed if an assessment of the humanRelevance filed for all safety data sources is scoped in the near future. @LucaFumis


Actor appears to stall during GC

For all details and code see this Gist.
Discussion on the User list.

The example essentially makes 10 deferred calls to the Worker actor's apply behavior, 1 call every second.
In my case, after 6 successful calls, the behavior is no longer run, however, the remaining messages appear to be sent to the actor.
Not reproducible on all machines/configurations, though reproduced on both Linux and OSX.

A profiling of the example program results in the following:
[pattern:~/pony/example] $ sudo perf record --call-graph fp -- ./example
Performing some work in a second..

Sent worker instruction.
Worker processing instruction.
Created _WorkerPerform.
Performing work.
Found some params as Json

Sent worker instruction.
Worker processing instruction.
Created _WorkerPerform.
Performing work.
Found some params as Json

Sent worker instruction.
Worker processing instruction.
Created _WorkerPerform.
Performing work.
Found some params as Json

Sent worker instruction.
Worker processing instruction.
Created _WorkerPerform.
Performing work.
Found some params as Json

Sent worker instruction.
Worker processing instruction.
Created _WorkerPerform.
Performing work.
Found some params as Json

Sent worker instruction.
Worker processing instruction.
Created _WorkerPerform.
Performing work.
Found some params as Json

Sent worker instruction.

Sent worker instruction.

Sent worker instruction.

Sent worker instruction.

(>> 100% core usage, killed process after short while <<)
[ perf record: Woken up 64 times to write data ]
[ perf record: Captured and wrote 16.199 MB perf.data (231369 samples) ]

[pattern:~/pony/example] $ sudo perf report
Samples: 231K of event 'cycles:p', Event count (approx.):<PHONE_NUMBER>1
  Children      Self  Command     Shared Object        Symbol
-   98.85%    93.68%  example     example              [.] sweep_small.lto_priv.61
   - sweep_small.lto_priv.61
      - 5.07% __irqentry_text_start
         - 5.05% smp_apic_timer_interrupt
            - 4.93% local_apic_timer_interrupt
               - 4.92% hrtimer_interrupt
                  - 4.02% __hrtimer_run_queues
                     - 3.98% tick_sched_timer
                        - 3.66% tick_sched_handle.isra.12
                           - 3.66% update_process_times
                              - 3.54% scheduler_tick
                                 - 1.52% sched_clock_tick
                                    - 1.31% ktime_get
                                         read_hpet
                                   1.21% task_tick_fair
(...)

Nearly all time spent in sweep_small from  ponyc/src/libponyrt/mem/heap.c

It looks to me like GC has hung up on the actor for some reason. Note that, in the example the HTTPClunk class mirror's HTTPClient's creation of an SSLContext in it's constructor. I've not been able to determine whether the SSL library has anything to do with this issue or not. For all I know it's inclusion simply makes GC of the actor occur faster. I don't have the experience or knowledge of Pony.
Pony is awesome.

@patternspandemic are you able to use vtune or instruments to profile only once the stall has happened?

Connecting to the process after core usage reaches 100%:
$ sudo perf top -p 1724 --call-graph fp -d 6

Samples: 100K of event 'cycles:p', Event count (approx.):<PHONE_NUMBER>1
  Children      Self  Shared Object       Symbol
-   99.98%    97.85%  example          [.] sweep_small.lto_priv.61
     98.58% sweep_small.lto_priv.61
+    2.04%     0.02%  [kernel]            [k] __irqentry_text_start
+    2.02%     0.00%  [kernel]            [k] smp_apic_timer_interrupt
+    1.92%     0.00%  [kernel]            [k] local_apic_timer_interrupt
+    1.91%     0.01%  [kernel]            [k] hrtimer_interrupt
+    1.48%     0.01%  [kernel]            [k] __hrtimer_run_queues
+    1.46%     0.00%  [kernel]            [k] tick_sched_timer
+    1.19%     0.00%  [kernel]            [k] tick_sched_handle.isra.12
+    1.13%     0.01%  [kernel]            [k] scheduler_tick
+    1.12%     1.12%  [kernel]            [k] read_hpet
+    0.82%     0.02%  [kernel]            [k] ktime_get
     0.77%     0.00%  [kernel]            [k] update_process_times
     0.54%     0.00%  [kernel]            [k] sched_clock_tick
     0.38%     0.19%  [kernel]            [k] task_tick_fair
     0.22%     0.01%  [kernel]            [k] clockevents_program_event
     0.15%     0.00%  [kernel]            [k] tick_do_update_jiffies64
     0.14%     0.01%  [kernel]            [k] update_wall_time
     0.10%     0.00%  [kernel]            [k] irq_exit
     0.10%     0.07%  [kernel]            [k] update_cfs_shares
     0.10%     0.04%  [kernel]            [k] sched_clock_local
(...)

Also looked to be the same results connecting to the running thread.

I think a breakpoint inside of  sweep_small that can be used to inspect what is going on once this starts happening is needed. do you feel up to that exploration @patternspandemic?

Also, out of curiousity, does this happen if you compile your program in debug mode ponyc --debug?

Also, out of curiousity, does this happen if you compile your program in debug mode ponyc --debug?

The program uses Debug to output it's text, but same results with or without -d.

I think a breakpoint inside of sweep_small that can be used to inspect what is going on once this starts happening is needed.

I was thinking the same. I have very little experience with debugging C++. I assume I'll need to compile ponyc with config=debug and compile my example with that pony -d and then run the example with lldb? I'm up for learning how.

@patternspandemic to really get a good sense of what is going on you want to build the runtime as debug.
build your ponyc from source using: make install config=debug.
then ideally, yes also use --debug when building your application.
there's an lldb cheatsheet that should help with lldb (and a little for gdb as well) as long as your are familiar with stepwise debugging.
give that a go and let me know if you get stuck and i can help out some more.

Alright, I've been able to walk the thread spinning in sweep_small, and determined a couple things:

The hang up is actually in final_small_freed, which is inlined into sweep_small
Stepping shows endless loop between 109 and 111
Noticed this function's been updated since release of 0.14.0, and found #1908 via blame, and sounds alot like what's going on.

Looks like @sylvanc solved this one short after release of 0.14.0
At least I learned how to use LLDB. Thanks for your help @SeanTAllen

Awesome. We'll be releasing 0.15.0 soon.
Can you run with the latest source and verify the problem is fixed for you?

Indeed a compilation of the example with master solves the issue!


The method FwfhTextStyle.apply has fewer named arguments than those of overridden method TextStyle.apply

[x] I have read the Get Started - Installation section
[x] I have read and done the Get Started - Setup Android section
[x] I have read and done the Get Started - Setup iOS section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
2.8.0

Plugin version
5.3.2

Android version
12

iOS version
15

Xcode version
13.2

Device information:
Description
Expected behavior:
Current behavior:
One of my libraries use flutter_inappwebviwe, and now I can't compile for iOS after upgrading to Flutter 2.8.0
Steps to reproduce

This
Than that
Then

Stacktrace/Logcat
../Programming/flutter/.pub-cache/hosted/pub.dartlang.org/fwfh_text_style-2.5.0+1/lib/fwfh_text_style.dart:15:13: Error: The method 'FwfhTextStyle.apply' has fewer
named arguments than those of overridden method 'TextStyle.apply'.
TextStyle apply({
^
../Programming/flutter/packages/flutter/lib/src/painting/text_style.dart:890:13: Context: This is the overridden method ('apply').
TextStyle apply({
^
../Programming/flutter/.pub-cache/hosted/pub.dartlang.org/fwfh_text_style-2.5.0+1/lib/fwfh_text_style.dart:15:13: Error: The method 'FwfhTextStyle.apply' doesn't have
the named parameter 'package' of overridden method 'TextStyle.apply'.
TextStyle apply({
^

Try running flutter pub upgrade fwfh_text_style.

Thanks
flutter pub upgrade fwfh_text_style
then
flutter pub outdated
solved it!
Thanks again.

@daohoangson
But why does not Flutter upgrade to the latest version of fwfh_text_style, even with cache repair?

Probably because that package's version constraint is still satisfied.


Add filter on API endpoints to mitigate XSRF

Coverage increased (+0.02%) to 56.199% when pulling 908f1553d50e82da2da652dcacb5c3ba2134efda on xsrf-filter into 6a9dc8a133443daece139b953d6def82e8d4cb13 on master.


Capability to show and use .lnk shortcut files

Is your feature request related to a problem? Please describe. No
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] unable to see or use .lnk files
Describe the solution you'd like
A clear and concise description of what you want to happen. Add support for .lnk files if possible
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered. Na
Additional context
Add any other context or screenshots about the feature request here. Ex: What device type/UI layout and app version?

Merging with #177.


Expose device description in index

As discussed.
To be able to search via the device description, the index needs to have the description exposed.

Would it work for you if I expose a second index that includes these?
So it won't have to be loaded on production systems.

As long as the 2nd index, is a mirror of the first (only with the extra info)
whilst on it,
Could you expose the file also? - 0x0000/xxxxx.json
I have a work around currently, but having the file location will remove some extra steps.


change 'ctrl-space' shortcut to something else?

I have 'ctrl-space' on macOS as input method switching shortcut. How do I change 'ctrl-space' for marker to something else to avoid collision?

I think you can close this issue, the env keybinding assignments solve.


Inference Speed Question

Hi @StarCycle
thanks for your contributions toward making GR-1 fully open source! I was curious about the inference speed of GR-1 compared to our MDT policy (if you tried it too)
Can you share some of your experiences?:)
Thanks!

Hi @mbreuss,
Sorry I haven't run MDT or measured the inference speed of GR-1 yet...but I did think about it:

Inference of GR-1 can be much quicker if we choose not to predict future images and only predict future actions. It's possible because both image query tokens and action query tokens are masked in the attention mechanism. Not sending the image query tokens into GR-1 will not infleunce decoding of actions. I can help you to measure the time if you need.
However, as we discussed before, my GR-chunk (if we dont use the original GR-1 setting) predicts multiple future actions and only executes the first one, while MDT will execute all actions it predicts. Thus, I think MDT will be less influenced by the inference speed problem.
The drawback of executing all predicted actions is the policy cannot react the emergency cases. Imaging the policy is executing the predicted action sequence and then a people suddenly comes and disturbs the environment...

By the way, I have some questions about accelerating diffusion models:

There are some works accelerating diffusion policies, including ManiCM and Consistency Policy (based on consistency model), adaflow (based on rectified flow). I haven't try them yet. Emmm which approach is better according to your experience?
I am developing a robotics video generation model based on this genie implementation. Genie is a MaskGIT model that seems to be quicker than diffusion models. But I am really not  familiar with recent researches that accelerates video generation DiT, would you like to recommend some to me?

About using CLA loss in my network:

I just release a policy that is based on Microsoft's Florence2 VLM: mimictest. I hope by using a pretrained VLM, I dont need to do language-vision alignment by myself...One version is similar to MDT:

But there are some confusing phenomenons:

I analyse the failure cases of Chi Cheng's Diffusion UNet and Diffusion Transformer. His policy seldomly "hersitate" or "pause" before picking and placing an object, even if it enter a state that not seen in the training dataset. I guess that's because diffusion policy can generate different actions under the same state so it will "explore" the environment until it sees a familiar state.
But when I use Florence2+diffusion transformer, it tends to "hersitate" and "pause" again...Why?
You can see the failure cases and analysis here.

StarCycle

Thanks for the detailed answer!

the GR-1 part is not that important I was just curious :D

I believe that a middle way between replanning every single step and full trajectory rollout would be ideal. Maybe with some kind of gaiting that enables the model to actively replan if certain conditions are met to enable fast reactions in cases of emergency would be my best bet for the future

Accelerating Diffusion Models

I think overall these ideas are good and necessary to explore but for developing novel ideas with Diffusion as an action representation, I just stick to my EDM Diff + 5 Denoising Steps. This variant is usually pretty strong already and enough for most applications. So I never explored them myself. The flow community is accelerating fast so I think we can see very strong and easy to train models very soon that surpass rectified ones.

Regarding your questions for MDT and VLM Diffusion

I think your overall idea and thinking is good. You don't need CLA for a pretrained VLM backbone given its deep understanding of both modalities from pretraining.

Choice of Diffusion Head

Why are you using the default Diff Policy Transformer and not the MDT Decoder link? I can highly recommend you to use the FiLM Conditioned Decoder from MDT to conditioned on the noise level effectively and separate the noise token from the other state and goal tokens! Otherwise, especially in settings withy many obs and goal tokens the model is not great. I compared the MDT architecture with the default Diff-T on CALVIN and it only achieves like 1.5 avrg rollout length.

Which part of the VLM are you training for Florence? Can you encode multiple camera views with it already?

Did you try out different ways to use the tokens for the action head? Did you test to use all output tokens as well?

Weird Rollout Behavior

Thats indeed strange but since its a simple simulation and both variants do it, I would not emphasize on it too much. It could be some weird control thing from the Sim or maybe a few demos with this behavior. Since the demos are human collected pauses could be part of it too
"it will "explore" the environment until it sees a familiar state." I am not sure about this statement BC even with Diffusion is just trying to to predict some plausible action given the current state but there is no ability in it to detect when being ouf of know state distributions.

Here is some low level example for that: The model is only trained on the demos in a small area of [-6, 6]. The DP generalizes the overall trend. I averaged 100 action predictions and the low variance in x-areas below -6 and above 6 shows that the model is pretty certain on what it is doing although it has never seen these states.
Video Diffusion

I have seen a few papers that try to accelerate VideoDiff but nothing that enables fast and easy video gen so far. In Theory you could distill them using Consistency Models but it takes additional distillation training which is not cheap. But more work in this direction is being published like that one: https://oahzxl.github.io/PAB/ so I think you can see rapid advances soon, given the OpenSORA initiative and similar projects https://github.com/hpcaitech/Open-Sora

GENIE
That looks super interesting! Keep me updated on this, I believe that GENIE offers many interesting applications for robotics!
If you want you can drop me an email to<EMAIL_ADDRESS>when you have more questions regarding Diffusion Policies and similar ideas! I would be interested to discuss more.
Best,
Moritz

Great thanks! I sent an email to you!


RFC: 3.0 test automated coverage across environments

@yamikuronue curious to hear your thoughts here

How do you mean "environment" here? There's two factors here: one, your coverage, and two, your test environment matrix.

environment meaning web worker, various browsers, node, electron, etc

The coverage is going to be the same across all environments as long as you run the same tests. What you want is to draw up a matrix of what you support, and make sure the tests are run in all of them. You may want a service like Sauce Labs or Browserstack to be involved here.

Oh I see the confusion.  Yeah I shouldn't have put the word "coverage" in the issue name haha.  Whoops

No worries, now I've got a handle on what you wanted :D
I don't know much about web workers I'm afraid; my expertise is firmly toward back-end. Karma should be able to test cross-browser, but I don't know which binaries Travis has available, we'll want to look into that one.
This post talks about how to test an electron app, looks like we'll need another test target: http://rhysd.hatenablog.com/entry/2015/08/07/181418
I'm quite optimistic about this one :)

Any movement here or is this out of date? cc @thebigredgeek @yamikuronue

I'm concluding this is well out of date at this point.


Allow configurable path to service

Hello! First, thanks for this awesomely configurable cookbook. It has made it possible for me to find the joy of smartstack without needing to configure barely anything to begin with.
I know this cookbook is intended for Ubuntu audiences only, but we're looking at using it on CentOS. Only one snag to be found (so far?): the path to the service executable is different so SmartStack cannot restart haproxy.
This PR is a quick hack allowing a different path based on node['platform'], and for other platforms to be able to configure it via an attribute. I'd be happy to rewrite a different way if you think of a better way.
Also, is there a convenient way to run the test suite against this? I did some minimal verification locally but some continuous integration here could go a long way.
Thanks!

Looks like this has been open for a while. Anything stopping this from being merged?

@spuder It seems to me that this repo is basically dead. My company, Brigade, maintains a fork at https://github.com/brigade/smartstack-cookbook which works for us in our rbenv / CentOS 7 environment. You're welcome to give it a try if you want, but YMMV.

Thanks for letting me know.  I'm also evaluating consul. It appears to do the same thing.

We're also looking into that. FWIW, even if we end up using Consul, I think it's likely we'll continue using synapse. It's really good at interacting with haproxy.
Fortunately, synapse has an abstraction around the backends it supports, so it should be possible to write a consul watcher as others have done for Etcd and Marathon (we're running that marathon PR in production)


chore: update mutator to take kwargs

This is a breaking change. To make the mutator more flexible for future changes, I am passing all but the required sql argument that is in the default config to kwargs. If we want to add more values to the mutator in the future we can without breaking any mutator config overwrite functions.
TESTING INSTRUCTIONS
There is an existing test for the mutator.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

The hope here is that people will use the **kwargs param in their mutator methods instead of hardcoding the params. If they do that, then any future changes will be backward compatible. If they continue to look up the kwargs and add them explicitly to their method, then their implementation will break.


Update merge reducers & dependency update (#290)

Update marc-record: v8.0.0

Update rest-api-commons

Update deps

3.4.6-alpha.1

Needs non-alpha melinda-rest-api-commons before merging to master


Optional xnnpack feature relies on weak symbols which are unavailable on Windows

Issue Type
Build/Install
Have you reproduced the bug with TF nightly?
Yes
Tensorflow Version
2.4
Current Behaviour?
At the time tflite comes with optional xnnpack feature which relies on TFLITE_ATTRIBUTE_WEAK attribute applied to a delegate function.
As there are no weak symbols on Windows, this feature can not be used universally (i. e. independent from target platform).
I suggest switching this feature on / off in configure time (when build with CMake) or via explicit choosing of option (when build with Bazel). This will force every client to exclicitly add a dependency on either xnnpack_enabled or xnnpack_disabled library, just in the same way as with other delegates (i. e. nnapi).
What do you think?

We operate a monorepo with single tflite configuration available to the end users (similar to Piper / build system is similar to Bazel).
Certain users would like to use tflite without xnnpack delegate, while other would like to continue using it.
At the time switching xnnpack on and off is available by the means of weak linker symbol which might be overrided during link time.
As weak symbols are not supported on Windows, we can not use current approach in cross-platform software.
I have managed to implement the xnnpack switch by forcing every user of tflite to add explicit dependency on either delegates/xnnpack or (added by myself) delegates/xnnpack_disabled.
I would like to upstream this feature, but I would like to get OK from Google in advance.

@alankelly, could you, please, take a look?

HI @georgthegreat,
Thanks for raising this issue. Are you aware of the migration to LiteRT? This transition is aimed at enhancing our project's capabilities and providing improved support and focus for our users. As we believe this issue is still relevant to LiteRT we are moving your issue there. Please follow progress here.
Let us know if you have any questions. Thanks.


Fix bug in default implementation of __ne__

Closes #3417
While updating the documentation for __eq__ I fortunately stumbled across an error in the testing for __eq__ and __ne__ which caused us to miss the fact that __ne__ was not defaulting to __eq__ the same way it does for Python classes.
If anyone is available to give this a quick review (hopefully it's not a difficult review) then I'd be very grateful, as I think this blocks the release.

Skip changelog as __ne__ is a new feature shipping in 0.20.

Thanks!


fix sub route for express framework

Fix collection of sub routes
Add non existing routes as 'N/A' route in the metrics

Coverage increased (+0.02%) to 99.153% when pulling 9d7faf71cd35f4e51521f8d832e2632d7a3df5e0 on fix-sub-route-express into 002aed7268ab9353dc6fce7cabf1b1c4346ddb88 on master.


Should quanto use int dtype in AffineQuantizer instead of uint

According to code in https://github.com/huggingface/quanto/blob/main/quanto/tensor/qbitstensor.py#L34 I find quanto use uint dtype to store the quantized value in affine quantizer, while in symmetric quantizer it is int dtype
https://github.com/huggingface/quanto/blob/main/quanto/tensor/qtensor.py#L62.
Taking hardware into consideration, If we quantize both weight and activation to int types, will it save the cost of GPU or NPU since this only requires integer-type MAC arrays

ref to https://oneapi-src.github.io/oneDNN/dev_guide_int8_computations.html#inputs-of-mixed-type-u8-and-s8

Instruction Set Architecture (ISA) has special instructions that enable multiplying and adding the vectors of u8 and s8 very efficiently. oneDNN enables int8 support using these particular instructions.

I think this is why many quantization frameworks quantize activations into uint types. However, many NPUs now directly support s8s8s32 computationst.(onednn also supports s8s8s32 now)

cublasGemmEx() and cublasGemmBatchedEx() support s8s8s32 but not u8s8s32

The reason why AffineQuantizer uses int8 is because it uses a zero-point, hence all quantized values are positive.
The actual value that should be used in mm is (d  - zeropoint), which is an int8.

Hi @dacorvo , I can't get the point of the relation between using zeropoint and all quantized values are positive

The reason why AffineQuantizer uses int8 is because it uses a zero-point, hence all quantized values are positive.

I think you are saying AffineQuantizer uses uint8.
According to google's doc https://github.com/google/gemmlowp/blob/master/doc/quantization.md, the equation is:
real_value = scale * (quantized_value -zeropoint), I guess there's no constraint that the quantized value has to be uint8, and the mentioned docs only  said the the quantized values are typically uint8, but not saying must be uint8


OAK-8344 | Exposing local index directory size as a metric

lgtm to me as well. One minor tidbit, I wonder if it's worth to have schedule period configurable by environment variable and/or jvm system property.

@catholicon  yes it might make sense... I committed the patch now, without adding such a setting for now.


Added option to specify buttons shown in UI [#178890174]

This allows for both naming the buttons shown and setting their order.
This is the first of a few stories for the 2.1.0 release so it has been versioned as a pre-release in the package.json file.
As a cleanup I removed the yarn.lock and references to yarn as the package-lock.json file was newer and the yarn.lock hadn't been touched in 4 years.
Here is a preview of the custom button order (minus the as yet developed annotation tool) to support the question-interactive labbook.  This can be seen by loading the custom-button-order.html example which has this option specified:
      buttons: [
        'select',
        'free',
        'shapesPalette',
        'stamp',
        'trash'
      ]

@pjanik I'll update dist.  I did update the readme already to remove the reference to yarn - I think you were looking at the readme in master.


Tooltip not updated with new label value

When updating a chart the labels on the x axis updates but it's not updated it the tooltip. Those should always be the same right?

@pjdicke hmm that's interesting. Do you know why this happens? Offhand I don't know so a pull request would be appreciated if you find a solution.