New component: PanelHeader

A PanelHeader could be used in the panel as a fixed header. It has 3 props:

children
count - if defined we put the number in square bracked on the right
onClickSettings - if defined we add the gear on the right

It should replace in NMRium all the header of panels:

It should also be used in Pixelium

In NMRium the setting button has tooltip on hover
Do I have to add it in this component?

We can add showSettingButton prop so PanelHeader can be more customizable

Do I have to add it in this component?

No, because the tooltip component does not exist yet (#522)


Update renovatebot/github-action action to 32.241.8

This PR contains the following updates:

Package
Type
Update
Change

renovatebot/github-action
action
patch
v32.241.7 -> v32.241.8

Release Notes

renovatebot/github-action
v32.241.8
Compare Source
See the the changelog for changes in all releases.
32.241.8 (2022-10-22)
Bug Fixes

deps: update renovate/renovate docker tag to v32.241.8 (ed287b0)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

@balena-ci I self-certify!


Delete agent binary file on exit

Addresses https://github.com/sourcegraph/jetbrains/issues/439
Previously, the JetBrains plugin created a new temporary file every time we started a new agent process and only deleted this file when the IDE shut down. This buggy behavior has existed since Septemeber and we haven't received user complaints about it, likely because the plugin was conservative about restarting the agent process. Recent changes introduced retry logic where we could start a new agent process in a loop, and never delete the underlying binary. Some users have reported that this bug caused the plugin to take up unreasonable amounts of disk space. I'm sorry for users who were impacted by this behavior.
This PR addresses the problem with a new callback hook that deletes the agent binary after the agent process finishes running. This change means that we never have more than one agent binary sitting on the disk per IntelliJ project. This should prevent the catastrophic situation some users have reported.
Test plan
I manually tested this change by adding a println to when the file gets deleted, started IntelliJ, triggered the "Restart Cody Agent" action and confirmed that the file got deleted.

Looking at the original issue, the current diff may not fix the disk issue because the error is happening in Files.copy()
024-01-30 08:17:01,833 [81983966]   WARN - #CodyAgent - Unable to start Cody agent
com.sourcegraph.cody.agent.CodyAgentException: failed to create agent binary
Caused by: java.nio.file.FileSystemException: /Users/foo/Library/Application Support/JetBrains/IntelliJIdea2023.3/plugins/Sourcegraph/agent/agent-macos-arm64 -> /var/folders/z4/qq9brd3x7y9gxs52nc_3x6sm0000gn/T/cody-agent7707303340069661988: No space left on device
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:100)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
	at java.base/sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:256)
	at java.base/sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:603)
	at java.base/sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:257)
	at java.base/java.nio.file.Files.copy(Files.java:1305)
	at CodyAgent$Companion.agentBinary(CodyAgent.kt:180)

I pushed a commit that may address this.

I want to add that this PR does not fix the root bug where we are restarting the agent process in loop, which will continue to eat up CPU resources and make the computer unresponsive.


Create multifunctional editor for work with engine

Based on Mapper.
With possibility for emulate world inpalce.
For both server/client and singleplayer modes.
And many other features for work with FOnline engine.

I think use Qt for this purpose.

No, wxWidgets is better.

Branch
https://github.com/cvet/fonline/tree/Editor

Also I will use wxWidgets for server GUI.

All these editors ObjectEditor+DialogsEditor+InterfaceEditor will be moved to new single one.

Editor branch moved to master due to a lot of file movings and renamings.

And I were choose Dear ImGui as gui library, not wxWidgets.

Visual Studio Code extension will help us manage build process and can be used in C++/AngelScript/C#/CMake/etc source files.
https://marketplace.visualstudio.com/items?itemName=cvet.fonline-vscode

Also special viewers for .dlg .cfg .fo* etc files will be added to this extension too.


Shouldn't standard package be a dev dependecie?

I saw it there.
Standard is a validation test CLI so that's why I don't think that there is no need to be included in dependecies.
Am I right?

totally right, It was my faul. I'm going to release a new version now!

Ok thank you ! It is a good point for me to have less dependencies when I do application with electron.

@cedced19 I was reviewing the API of the lib and I'm thinking in release a v2 with this methods:

existsFile
existsFileSync

This are more align with nodejs API. What do you think?

Yes it's more aligned with nodejs APIs.
But how do you think it will work to require functions?
Something like that ?
var existsFile = require('exists-files');
var existsFileSync = existsFile.sync;

It can be harder to use, do you think so ?

Alternatively, you can try to be a bit smart and detect whether a callback was passed as the last argument to the function.
The .sync convention is well understood though, I'd go with that.

I think you can let as it is or you can do what @jviotti said.

Currently the API is based in the cb detection to determinate if use sync or async method.
The problem of this approach is that not possible use async without waiting a callback.
Sure that you can provide a noop callback but in other case sync method will be executed.
I said about use existsFileSync and existsFile because internally the library is based in fs.stat and fs.statSync, have sense 😄 .

Why not use two functions but I'm asking myself how you can provide two functions with module.exports that's why we thought about . sync.

@cedced19
functions works as object, so you can do:
function noop() {}
noop.sync = function() {}

That's what I mean. Now I'm sure we are talking about the same thing. Use different functions are great because the part were you detect if there is a callback is removed. It will be more powerful.

completely, also faster because it removes if statement.
Released under v2.0.0, thanks guys! 💪


Error when running build with storage-opts set

Hi,
when I change the storage-opts of the docker daemon like specified in the instructions, I get the following error during the build:
hcsshim::PrepareLayer failed in Win32: The parameter is incorrect. (0x57) path=C:\ProgramData\Docker\windowsfilter\57da5c77f4290bce34c408cf013675985afdfd3ad2b9b5c578b2b93521c96559
This bug seems to have been introduced in Windows 1903 (see https://github.com/moby/moby/issues/36831), is there a workaround available for this?
Thanks,
Joerg

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

ID: b91a4a43-5353-97cf-7532-7644aa3b497f
Version Independent ID: 858d9a5c-72f3-6a85-9270-0a0dd9e0438b
Content: Install Visual Studio Build Tools into a container
Content Source: docs/install/build-tools-container.md
Product: visual-studio-windows
Technology: vs-installation
GitHub Login: @heaths
Microsoft Alias: tglee

@schreibubi Thanks for your feedback; we appreciate it. We'll take a look at the page to make sure that there isn't something here that we need to address in the documentation (@heaths FYI).
Meanwhile, for immediate assistance, please consider the following options:

To make sure that the error message that you are receiving is logged in the right place, please use the Report a Problem tool to report the issue. When you do so, your report becomes part of the work items that are listed in the in the Visual Studio Developer Community, which allows you to engage directly with the engineering team while they address and fix the problem.

For installation-related issues, we also offer a Live Chat (English only) support option for installation-related issues. You might also consider using your GitHub account to talk to us and other Visual Studio developers in the Visual Studio conversation in the Gitter community about this specific issue.

You may be able to ignore setting the storage limits since the default is now supposed to be 127GB in newer versions of Docker; however, please monitor their bug you referenced for more information about workarounds and status.


Add deploy manifests for apiserver

Why are these changes needed?
With this change, user can easily deploy the kuberay apiserver.
Related issue number
resolve #88
Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[x] Manual tests
[ ] This PR is not tested :(

kuberay-apiserver is deployed together with kuberay-operator, right. Are we going to make a unified Makefile later?

kuberay-apiserver is deployed together with kuberay-operator, right?

Yes. We should provide a kuberay control plane deployment guidance. It's documented in https://github.com/ray-project/kuberay/issues/114

Are we going to make a unified Makefile later?

I think we don't need a unified Makefile since they are different modules now.

Let's merge this one once #126 and #127 are merged

/LGTM


Graphics.drawTriangles appears broken on HTML5 target (OpenFL 4.0.3, Lime 3.0.3)

Graphics.drawTriangle doesn't work with the HTML5 target.
When I try to use drawTriangles with HTML I get nothing rendered on the canvas and later solid color fills are also broken. I've tried running the HTML5 target in Chrome, IE and Edge; the results are identical.
Here's an example test case:
    private function drawSun(){
        var data:BitmapData = Assets.getBitmapData("assets/sun.png");
        var vertices:Vector<Float> = new Vector<Float>(8);
        var indices:Vector<Int> = new Vector<Int>(6);
        var uvtData:Vector<Float> = new Vector<Float>(8);

        vertices[0] = 0;
        vertices[1] = 0;

        vertices[2] = 100;
        vertices[3] = 0;

        vertices[4] = 100;
        vertices[5] = 100;

        vertices[6] = 0;
        vertices[7] = 100;

        indices[0]=0;
        indices[1]=1;
        indices[2]=3;

        indices[3]=1;
        indices[4]=2;
        indices[5]=3;

        uvtData[0]=0;
        uvtData[1]=0;

        uvtData[2]=1;
        uvtData[3]=0;

        uvtData[4]=1;
        uvtData[5]=1;

        uvtData[6]=0;
        uvtData[7]=1;

        graphics.beginBitmapFill(data);
        graphics.drawTriangles(vertices, indices, uvtData);
        graphics.endFill();
    }

Flash target result:

HTML5 target result:

Edit: Included correct version #'s.

Hi!
I was about to recommend using the -Dwebgl switch but just realized that this just
works using OpenFL 3.6.1.
If I test your code using OpenFL 4.0.3 I get the same nifty black screen and additionally the following
error in the console:
Error: WebGL: Disallowing antialiased backbuffers due to blacklisting.

The culprit is this code:
https://github.com/openfl/openfl/blob/develop/openfl/_internal/renderer/canvas/CanvasGraphics.hx#L987-L1135
Canvas does not have a parallel to drawTriangles, so its less of a straightforward implementation. I would appreciate if anyone would not mind taking a pass and seeing if its clear why it does not appear to work?

Definitely jgranick! Sadly I'm not the chosen one. ;)
By the way, forget about the WebGL error message - it's because FireFox executed within a virtual machine.
Anyway, as you said that part of the code is causing the issue with the canvas renderer - but why ain't WebGL working anymore since OpenFL 4.0.3? I coded another little test project which distorts a square constructed out of 2 triangles based on the position of the mousepointer. If I trace the dimesions of this shape, I can see it's changing with each mouse move - there's just nothing to be seen on screen unless I switch to OpenFl 3.6.1!

@jgranick, I guess the solution is to add line: bitmapFill = c.bitmap; between this two lines: https://github.com/openfl/openfl/blob/develop/openfl/_internal/renderer/canvas/CanvasGraphics.hx#L662-L663

I mean - i checked this and drawTriangles works as expected after changing code in that way.


Fix numpy version

Codecov Report

Merging #148 into master will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #148      +/-   ##
==========================================
- Coverage   86.79%   86.71%   -0.08%
==========================================
  Files          18       18
  Lines        1007     1001       -6
  Branches      234      234
==========================================
- Hits          874      868       -6
  Misses         72       72
  Partials       61       61

Impacted Files
Coverage Δ

torch_optimizer/sgdp.py
76.71% <0.00%> (-0.92%)
:arrow_down:

torch_optimizer/adamp.py
89.87% <0.00%> (-0.38%)
:arrow_down:

Continue to review full report at Codecov.

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


How to access machine outside React component ?

Hello,
First of all thanks for the project, it's an awesome library. I'm wondering how can one access the machine outside of a React component?
The use case is this:
I have a state machine used to orchestrate an UI flow. The state machine needs to do transitions based on events happening outside a certain React component, eg in a Mobx store, when the route changes etc.
Also the machine receives events from a top level React view.
I'm thinking the library would be much more flexible if it could accept either a state chart spec like it does now or a xtstate Machine object created outside the library.
Ideally i should be able to create the machine based on the state chart and pass it to the component.
Please let me know your thoughts.

Ideally a machine's definition can be defined as a static value of the component class - just an idea.

Thank you very much @gcazaciuc for opening this issue.
Accepting both a configuration or an existing machine seems a good idea, and I also like @davidkpiano's suggestion of defining a static property.
For your use-case, I think the first solution (passing a machine) would be ideal.
Would you be happy to submit a PR?

Yes, thank you, I will work on a pr for it.

Merged #29 🙌
Thank you very much, @gcazaciuc.


Boktai - The Sun Is in Your Hand (USA).gba 1 and 2 need a way to adjust the solar sensor

Added in: https://github.com/skylersaleh/SkyEmu/commit/ac0ecc43b72eb44e39fa37278851e27d5d8dd0f5


update rpc commands and docker ps

PR Checklist

[x] Leverages formatting as provided by https://squidfunk.github.io/mkdocs-material/reference/abbreviations/
[x] Have viewed and verified edits in rendered form ensuring proper formatting

What are you changing?

Add -f instructions
Update rpc with kong path
Update docker ps output for 1.3

Anything the reviewer should know when reviewing this PR?

To pass the semantic PR title needs to append "docs(rpc commands):" to the front of the title.


change: use the correct parameters based on the version of luarocks

NOTE: Please read the Contributing.md guidelines before submitting your patch:
https://github.com/apache/incubator-apisix/blob/master/Contributing.md#how-to-add-a-new-feature-or-change-an-existing-one
Summary
SUMMARY_HERE
Full changelog

[Implement ...]
[Add related tests]
...

Issues resolved
Fix #1227

@dabue  the title is bad, we need a clearer one.

@dabue merged, many thx


Carousel direction on swipe different from v4

On macOS and iOS chrome and Safari(haven't tested other browser but pretty sure it's the same problem there)
When you use the swipe function on a carousel it goes in the opposite direction from where you have swiped from.
Why is that? It seems to be wrong.
Since when you swipe from the right to left you wanna get the carousel item from the right to swipe in.
It's easy to test if you check the documentation on the carousel for v4 or v5 on bootstraps website.
Choosing what direction you want would be optimal but at least having the same direction as v4 has on v5 would be great. Now it just messes with your head when you try to swipe :)

Hey @deLisle make a check on this
https://deploy-preview-33499--twbs-bootstrap.netlify.app/docs/5.0/components/carousel/
Does it feels right?

Hey @deLisle make a check on this
https://deploy-preview-33499--twbs-bootstrap.netlify.app/docs/5.0/components/carousel/
Does it feels right?

Yes this feels right.
Is this a future release?

This is the fix of 5-beta-3 that will be released in 5-stable ;)


Configure management scripting for UMich QA environment

Per discussion with Aaron and Colin, Michigan will manually build servers as needed to accomodate their multi-hydra-head architecture.

Acceptance:
Ansible scripts allow users to

[ ] select mysql instead of postgresql
[ ] select puma instead of passenger
when building a production-style server

See https://github.com/projecthydra-labs/ansible-sufia7-playbook


Cdk listbox key management

Updated listbox to include disabled logic and keyboard interaction management. The listbox still is by default multi-selectable, and in a future PR that handles multi-select I will update the keyboard logic to deal with this.

Addressed feedback. Didn't move the getTabIndex into the host binding yet.


I can't get "my" CreatorID

Related to #27.
Expect
Replace/remove the existing CreatorID to my ID.
Example:
Open this URL:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/git-version-control?WT.mc_id=BA-MVP-5002400
Create my link, and it is not replaced to my CreatorID, it's still:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/git-version-control?WT.mc_id=BA-MVP-5002400
(my id is 5002475)

Hi @rappen
Again, thank you for contributing this issue.
I released version 1.4.5 that now replaces any pre-existing CreatorIDs and uploaded the new Version to the Edge, Chrome and Firefox marketplace.


telegram-desktop: update, fix build with Qt 6.8

This includes #346716 and applies some Fuckery(tm) to make it build on staging-next with Qt 6.8.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

I've merged the 5.6.1 update to master, so this should just have the Qt 6.8 patch after the automerge runs.


Fix up tests

The Popover tests seem to either be flakey or just not work. Needs some time investment.

also zap needs updating to the newest image


ID Lock 150 - Nonce problem

Before submitting a bug please read: https://zwave-js.github.io/zwavejs2mqtt/#/troubleshooting/bug_report
Version
Build/Run method

[x ] Docker
[ ] PKG
[ ] Manually built (git clone - npm install - npm run build )

zwavejs2mqtt version: 1.0.0-beta.7
zwavejs version: 6.4.0
Describe the bug
Adding id lock 150 with zwave module to zwave-js with aeotech gen5 usb stick is causing some issues related to nonce.
Lock is added with secure mode.
To Reproduce
Steps to reproduce the behavior:
Include ID lock 150 in secure mode, observ the zwave-js log.
Expected behavior
no nonce problem
Additional context
17:18:15.126 DRIVER   Dropping message with invalid data (Reason: Nonce 0x60 expired, cannot decode                        security encapsulated command.):                       0x011f000400191998810b97e8ddb37b4d37ee250a77b333606ac6265741613999ed 17:18:23.196 CNTRLR   [Node 025] in the process of replying to a NonceGet, won't send another NonceR                       eport 17:18:36.986 CNTRLR   [Node 025] in the process of replying to a NonceGet, won't send another NonceR                       eport 17:18:38.261 DRIVER   Dropping message with invalid data (Reason: Nonce 0x6a expired, cannot decode                        security encapsulated command.):                       0x011f000400191998812d89e8fa154215fa42bd9bb7704b6ac9528aad036966a061 17:18:42.836 DRIVER   Dropping message with invalid data (Reason: Nonce 0x6e expired, cannot decode                        security encapsulated command.):                       0x011f000400191998812d678dc12050d75772867f0a34de6ead3a2484ad9c9856c6 17:19:15.183 DRIVER   Dropping message with invalid data (Reason: Nonce 0xa1 expired, cannot decode                        security encapsulated command.):                       0x011f000400191998813be577b62c3051d2c0275b30c97da1ad6cf0d38a98a3c275 17:19:24.392 DRIVER   Dropping message with invalid data (Reason: Nonce 0x83 expired, cannot decode                        security encapsulated command.):                       0x011f00040019199881883b68f5c81325326066dde0392183b96c2dfdedc7530fcc 17:19:28.334 DRIVER   Dropping message with invalid data (Reason: Nonce 0xc3 expired, cannot decode                        security encapsulated command.):                       0x011f000400191998819eb1c3e66bd621f49b83665e079cc3b6e37fb7765b41b9af 17:19:32.427 CNTRLR   [Node 025] in the process of replying to a NonceGet, won't send another NonceR                       eport 17:19:37.062 DRIVER   Dropping message with invalid data (Reason: Nonce 0xad expired, cannot decode                        security encapsulated command.):                       0x011f00040019199881606c250e01bb722914bcb3c7e28aad5ada6a11a9c42c59c1 17:20:57.199 CNTRLR   [Node 025] Timed out while waiting for a response from the node 17:24:36.991 DRIVER   Dropping message with invalid data (Reason: Nonce 0xc8 expired, cannot decode                        security encapsulated command.):                       0x011e0004001918988186abd5969352898f977060678ac89a7578647ce41d57d7

Did you set the time zone for your docker container?  Early on, I was seeing something similar and I noticed the time stamps were off.  My issue went away went I set the time zone in my docker compose file.

Yes, it is set for europe/oslo

It seems this issue has resolved itself, have not had any issues last days. Closing.

Debating whether to submit an issue of my own here, since I'm assuming this is a case of PEBCAK, but just adding to this since TZ was mentioned:
Node 016 is the ID Lock 150 Zwave module, currently included without the secure option:
2021-05-12T18:17:36.149Z CNTRLR [Node 016] Timed out while waiting for a response from the node
2021-05-12T18:17:36.150Z CNTRLR [Node 016] CC version query for Configuration timed out - assuming the node su
pports version 1...
2021-05-12T18:17:36.180Z CNTRLR [Node 016] Interviewing Z-Wave Plus Info...
2021-05-12T18:17:36.181Z CNTRLR » [Node 016] querying Z-Wave+ information...
2021-05-12T18:17:36.200Z DRIVER Dropping message with invalid data (Reason: Nonce 0x17 expired, cannot decode
security encapsulated command.):
0x012c0004000c26988111ec61a5fc08e5715ebc68216bb7b7315560a222a0dfdd6e25bcc0172b
b25bdeccbf2c7941
2021-05-12T18:17:36.203Z CNTRLR Failed to execute controller command after 1/3 attempts. Scheduling next try i
n 100 ms.
2021-05-12 20:17:41.107 DEBUG SOCKET: User disconnected oh5a5XinaYV6OWA9AAAO
2021-05-12T18:17:46.221Z CNTRLR [Node 012] in the process of replying to a NonceGet, won't send another NonceR
eport
2021-05-12T18:17:46.344Z CNTRLR [Node 016] Timed out while waiting for a response from the node
2021-05-12T18:17:46.396Z CNTRLR [Node 016] Interviewing Door Lock...
2021-05-12T18:17:46.397Z CNTRLR » [Node 016] requesting lock configuration...
2021-05-12T18:17:46.426Z DRIVER Dropping message with invalid data (Reason: Nonce 0xa4 expired, cannot decode
security encapsulated command.):
0x01280004000c2298815e3ccbe1c1b733b936fbf5948296500c27cbd2e12c7362a49cdae6dcc3
cc883039
2021-05-12T18:17:46.436Z CNTRLR Failed to execute controller command after 1/3 attempts. Scheduling next try i
n 100 ms.
2021-05-12T18:17:46.599Z DRIVER Dropping message with invalid data (Reason: Nonce 0xc4 expired, cannot decode
security encapsulated command.):
0x01240004000a1e98818ac493779fbd1c4ba7c1374b5795ca66b3d3f3c47414914bf301b0fb2d
2021-05-12T18:17:46.647Z DRIVER Dropping message with invalid data (Reason: Nonce 0xcf expired, cannot decode
security encapsulated command.):
0x0124000400091e98812cfcaef23b5ed91522765aee404f3d573f364ccf247cbb8d4372555cad
2021-05-12T18:17:46.666Z CNTRLR [Node 009] in the process of replying to a NonceGet, won't send another NonceR
eport
2021-05-12T18:17:46.713Z DRIVER Dropping message with invalid data (Reason: Nonce 0xcf expired, cannot decode
security encapsulated command.):
0x0124000400091e9881658a41938ce07d90452ecb16c88f5ae16b0f8ecfa8f94e933b524f19b1
2021-05-12 20:17:46.774 DEBUG MQTT: Publishing to zwave/kitchen/thermostat/50/1/value/65537: { time:<PHONE_NUMBER>774, value: 2227.1 } with options { qos: 1, retain: true }

Noticing that the CNTRLR time and zwavejs2q time is reported in UTC vs configured TZ respectively. Other than the lock, there are only a few Fibaro smoke detectors (normal mode) and some HeatIt Thermostats (secure mdoe) associated with the Aeotech controller.
The ID Lock gets added, and the interview is "Complete", but the device gets a device ID of NaN-NaN-NaN (0xXXXX-0xXXXX-0xXXXX) and all the discovered Door Lock, Manufacturer Specific and Version attributes are undefined. I get the same result with secure inclusion. Perhaps this is an artifact of having excluded the device, and the Z-wave module needing a full reset..

A reset of the z-wave module in the ID Lock unit allowed successful re-pairing of the lock, so definately a PEBCAK issue


fix for pagination in LoadPlaylistDeadline

index param is a offset, not a page number

Looking at it now to double-check! Thanks for the PR :smile:.

I double-checked it with playlist ID PLWwAypAcFRgKAIIFqBr9oy-ZYZnixa_Fj, where each page appears to be 200 items each.
I think rather than assume each page has at most 200 items, it would be better to just rename the parameter to offset instead and developers using the API could set the offset accordingly.
What do you think?

 It will be more predictable and flexible.

 It will be more predictable and flexible.

I pushed a commit to reflect the change from page to offset. Let me know if you encounter anything else :smile:.

Thanks!


Issue#3 Add universal interface for all schema validators

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add built-in M4 UDF

Readme about M4 is in docs/UserGuide/Query-Data/Select-Expression.md and docs/zh/UserGuide/Query-Data/Select-Expression.md.

I need to conserve the website link of docs/UserGuide/UDF-Library/M4.md for some time, so I don't remove that doc right now.


Component/alert ribbon

:tada: This PR is included in version 4.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update gh-pages with new javadoc

v1.0.4

https://github.com/Ellzord/JALSE/commit/d288d909afba191f5b258f0860eaec8a23e83b4b


Microk8s takes forever to start

Hello,
I just installed microk8s on my fresh debian buster machine. i run microk8s status --wait-ready and it takes forever. When i tried to run microk8s kubectl get all --all-namespaces turns out calico-node takes forever to init.
NAMESPACE     NAME                                          READY   STATUS     RESTARTS   AGE
kube-system   pod/calico-node-qq9hm                         0/1     Init:0/3   0          41m
kube-system   pod/calico-kube-controllers-f7868dd95-tfsl2   0/1     Pending    0          41m

NAMESPACE   NAME                 TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)   AGE
default     service/kubernetes   ClusterIP   <IP_ADDRESS>   <none>        443/TCP   42m

NAMESPACE     NAME                         DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR            AGE
kube-system   daemonset.apps/calico-node   1         1         0       1            0           kubernetes.io/os=linux   41m

NAMESPACE     NAME                                      READY   UP-TO-DATE   AVAILABLE   AGE
kube-system   deployment.apps/calico-kube-controllers   0/1     1            0           41m

NAMESPACE     NAME                                                DESIRED   CURRENT   READY   AGE
kube-system   replicaset.apps/calico-kube-controllers-f7868dd95   1         1         0       41m

Here's the inspect result, i can't find anything wrong with it
Inspecting Certificates
Inspecting services
  Service snap.microk8s.daemon-cluster-agent is running
  Service snap.microk8s.daemon-containerd is running
  Service snap.microk8s.daemon-apiserver-kicker is running
  Service snap.microk8s.daemon-kubelite is running
  Copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system information
  Copy processes list to the final report tarball
  Copy snap list to the final report tarball
  Copy VM name (or none) to the final report tarball
  Copy disk usage information to the final report tarball
  Copy memory usage information to the final report tarball
  Copy server uptime to the final report tarball
  Copy current linux distribution to the final report tarball
  Copy openSSL information to the final report tarball
  Copy network configuration to the final report tarball
Inspecting kubernetes cluster
  Inspect kubernetes cluster
Inspecting juju
  Inspect Juju
Inspecting kubeflow
  Inspect Kubeflow

# Warning: iptables-legacy tables present, use iptables-legacy to see them
WARNING:  Docker is installed.
File "/etc/docker/daemon.json" does not exist.
You should create it and add the following lines:
{
    "insecure-registries" : ["localhost:32000"]
}
and then restart docker with: sudo systemctl restart docker
Building the report tarball

inspection-report-20210424_021552.tar.gz
I used microk8s 1.21/stable
Name      Version   Rev   Tracking  Publisher   Notes
core18    20210309  1997  stable    canonical✓  base
microk8s  v1.21.0   2128  stable    canonical✓  classic

Is it possible to turn off ipv6?

Yes.
So, i just turned off the ipv6, reinstall microk8s and the problem still persist.
JO@sql:~$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
1

inspection-report-20210424_072716.tar.gz

Ok, so this is my fault that i don't install snap core (I thought it's optional to install). So it's working now, thanks for your time!


Work around the 'default will never be executed' warning on Linux

Also, enable the -warnings-as-errors flag on CI.

LGTM

  Generated by :no_entry_sign: Danger Swift against d870cf0b3c09eb09b7f0ca6cba1a208597957f9d


fix: add vendor label to Containerfiles

Needed because we were encountering this issue in the EC policy

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 16.32%. Comparing base (9dd1d93) to head (b251fc4).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1068      +/-   ##
==========================================
+ Coverage   16.25%   16.32%   +0.07%
==========================================
  Files         112      112
  Lines       19771    19771
==========================================
+ Hits         3213     3227      +14
+ Misses      16272    16257      -15
- Partials      286      287       +1

Flag
Coverage Δ

unittests
16.32% <ø> (+0.07%)
:arrow_up:

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

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


FEAT: add llava to autoawq

LLava is an new and exciting multi-modal architecture that has been recently integrated in HF transformers
This PR adds llava support in transformers.
With https://github.com/huggingface/transformers/pull/27950 you can load the converted llava weights in 4bit:
from transformers import pipeline
from PIL import Image
import requests

model_id = "ybelkada/llava-1.5-7b-hf"
pipe = pipeline("image-to-text", model=quant_path, device=0)
url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/compel-neg.png"

image = Image.open(requests.get(url, stream=True).raw)
prompt = "USER: <image>\nCan you please describe this image?\nASSISTANT:"

outputs = pipe(image, prompt=prompt, generate_kwargs={"max_new_tokens": 100})
print(outputs[0]["generated_text"])

USER:  \nCan you please describe this image?\nASSISTANT: The image features a brown and white cat sitting on a green surface, possibly a carpet or a grassy area. The cat is holding a red ball in its paws, seemingly playing with it. The cat appears to be focused on the ball, possibly preparing to play or just enjoying the toy.

cc @casper-hansen

This PR is in a draft state, will ping you once ready

Looking forward to LLaVa being added. Can we also run inference in AutoAWQ after this PR?

@casper-hansen I will try out and let you know

I can confirm this script worked fine for me:
import requests
import torch
from PIL import Image

from awq import AutoAWQForCausalLM
from transformers import AutoProcessor

quant_path = "ybelkada/llava-1.5-7b-hf-awq"

# Load model
model = AutoAWQForCausalLM.from_quantized(quant_path, safetensors=True, device_map={"": 0})
processor = AutoProcessor.from_pretrained(quant_path)

prompt = "USER: <image>\nWhat are these?\nASSISTANT:"
image_file = "http://images.cocodataset.org/val2017/000000039769.jpg"

raw_image = Image.open(requests.get(image_file, stream=True).raw)
inputs = processor(prompt, raw_image, return_tensors='pt').to(0, torch.float16)
# Generate output
generation_output = model.generate(
    **inputs,
    max_new_tokens=512
)

print(processor.decode(generation_output[0], skip_special_tokens=True))

Let me know if I should modify anyhting else

I tried running through the llava quantization and generation example. They both work but there is one problem with the quantization example. It seems we are not saving the preprocessor_config.json, so if you run the quant example and then generation example after, it does not work because it's missing a config file.


DefinitelyTyped dependencies (@types/package) may not update with their dependency in grouped updates

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
npm
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
No response
dependabot.yml content
No response
Updated dependency
No response
What you expected to see, versus what you actually saw
Typescript's definitely typed dependencies are updated in the version resolver after the main dependency has been updated.
Unfortunately, for grouped updates, when the definitely typed dependency is not a direct dependency or, even when it is a direct dependency, if the update does not change the requirements in the manifest file, then the dependency is not updated.
This was discovered as part of https://github.com/dependabot/dependabot-core/pull/7307#issuecomment-1546022407
This may also apply to other dependencies that should be updated when another package updates.
For example, an update would be missing the update for @types/lodash ( from 4.14.181 to 4.14.194 ) when it should look like:
+------------------------------------------------------------------------------------------------------------------------------------+
|                                                Changes to Dependabot Pull Requests                                                 |
+---------+--------------------------------------------------------------------------------------------------------------------------+
| created | fetch-factory ( from 0.0.1 to 0.2.1 ), lodash ( from 4.17.15 to 4.17.21 ), @types/lodash ( from 4.14.181 to 4.14.194 )   |
| created | @babel/cli ( from 7.16.0 to 7.21.0 ), @babel/core ( from 7.16.0 to 7.21.4 ), @babel/eslint-parser ( from 7.16.0 to 7.... |
| created | babel-jest ( from 28.1.1 to 29.5.0 ), diff-sequences ( from 28.1.1 to 29.4.3 ), eslint-plugin-jest ( from 26.5.3 to 2... |
| created | @typescript-eslint/eslint-plugin ( from 5.27.1 to 5.59.1 ), @typescript-eslint/parser ( from 5.27.1 to 5.59.1 ), esli... |
| created | @types/node ( from 18.16.2 to 20.1.3 )                                                                                |
| created | @types/semver ( from 7.3.13 to 7.5.0 )                                                                                |
| created | caniuse-lite ( from 1.0.30001481 to 1.0.30001486 )                                                                       |
| created | core-js-compat ( from 3.30.1 to 3.30.2 )                                                                                |
| created | electron-to-chromium ( from 1.4.377 to 1.4.392 )                                                                         |
| created | espree ( from 9.5.1 to 9.5.2 )                                                                                |
+---------+--------------------------------------------------------------------------------------------------------------------------+

Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response

This seems to be a duplicate of #7356


help...

i've just downloaded this but i got no idea how to use it
tried to drag .lfs files into re4lfs.exe and it output udas file... i think it's working as intended but i couldn't find a way to unpack udas file..
re4 forum's download link is broken... any help?

sorry i fixed this

ok... i need help with .seq file and .fcv files...


fix: remove unused getQuery import

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/ngneat/transloco/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
Unused import
Issue Number: N/A
What is the new behavior?
Same
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Sorry @jdegand I missed notifications about your contributions. Reviewing it now.


Reopening a project should reopen the files being edited when project was closed

I really don't like those kinds of options, but somehow other people do.  Maybe if you have a very  small project with just a couple of files it would make sense. Anyway, maybe you can impl if you like it! :)

Wasn't thinking about an option. Just like to have my project open in the state I left it in. The same logic as having your zoom, window sizes, font, etc as you left them. Could be an option if you like the contents of your windows to disappear when you close the project.

typically I'm doing different things each time I work on a project, and I don't want to have all the "cruft" lying around from previous session...


Mill-Max Hot Swap Sockets?

I can't find any specs or product code for the hot swap sockets.

These worked for me: https://keygem.com/products/mill-max-hot-swap-sockets?_pos=1&_psq=7305&_ss=e&_v=1.0&variant=36531902120102

These worked for me: https://keygem.com/products/mill-max-hot-swap-sockets?_pos=1&_psq=7305&_ss=e&_v=1.0&variant=36531902120102

Sorry, the 7305?

@pedroren yes. I ordered exactly those and soldered them. They fit.


Command "show" shows completely wrong result

Brief description of your issue

Command "show" shows completely wrong result.
Steps to reproduce

Run winget show -q Microsoft.VisualStudioCode --id -e.
It requires an exact match of package ID.
Expected behavior
Shows the Microsoft.VisualStudioCode package

Actual behavior

Shows the "Microsoft Photos" package, whose ID (9WZDNCRFJBH4) is completely different from the query.

Environment
Windows 11 Enterprise
[winget --info]
Windows Package Manager v1.1.12663
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.194
Package: Microsoft.DesktopAppInstaller v1.16.12663.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Duplicate of #1523
Related to #1524


Stop capture while using the call back mode

Required Info

Camera Model
SR300

Firmware Version
<IP_ADDRESS>

Operating System & Version
windows 10

Kernel Version (Linux Only)

Build System
VS2013

I try the callback_2 demo , but the camera would stop capturing after a few time

Anything suspicious in the log? (You can enable verbose logs to file using rs::log_to_file with lower severity, like debug).
In general, assuming the camera is stable, the demo should run indefinitely (it was tested and does not have any known resource leaks).


DispId(0) is set by convention for 'value' properties

Hello,
i found another problem while exporting our assemblies. There is a convention for using DispId(0) for Properties with the name 'Value'. With .NET 4.8 it does not do that.
See in DispatchIdCreater:
// If DispId == 0 not used by any member, Value should take the 0 (if the DispId for the Value property is not explicit defined).
var valueItem = _dispIds.FirstOrDefault(z => z.MemberInfo.Name.Equals("Value", StringComparison.Ordinal));
if (valueItem != null)
{
   if (!_dispIds.Any(i => i.Id == 0) && !valueItem.ExplicitId.HasValue)
   {
       valueItem.ExplicitId = Constants.DISPIP_VALUE;
   }
}

Why did you use this convention? Actualy it is a breaking change and it is especially unfortunate, because our property got a parameter. We do you this property i a collection-class.
Best regards
Patrick

In principle, the behavior is correct that a DispID 0 is used for a Value property (as long as no DispId is explicitly assigned).
tlbexp and dsom behave in the same way.
It should be checked how tlbexp behaves on a C# indexer (or with other "magic" method names).
It is possible that the automatic assignment of DispId 0 is still missing here.


How to change activity indicator color?

I saw the discussion on the earlier thread #313. I wasn't intent to use a custom view instead of the activity indicator. I just want to simply change the color. #313 mentioned that hud.activityIndicatorColor is deprecated. What's the new property for it?

Interesting. Per the deprecation warning I would assume you should use
[[UIActivityIndicatorView appearanceWhenContainedIn:[MBProgressHUD class], nil] setColor:[UIColor orangeColor]];

But this line overrides it and MBProgressHUD#contentColor will be used. But setting #contentColor will apply to text and to activity indicator at the same time...

Yeah, that's not good. I think the best option here might be to expose indicator than you can cast it to the correct view type and customize it.

@yas375 Thanks for providing the solution. I think @matej has a valid point. It would be great if we can have an alternative that's similar to the deprecated hud.activityIndicatorColor

This is badly needed. Rolled back to an old version because it's basically impossible to change the activity indicator background color now.

Should be fixed in f663584

Xcellent


[stdlib] Remove struct SwiftObject_s.

SWIFT_HEAPOBJECT_NON_OBJC_MEMBERS works just as well with less redundancy.

@swift-ci please smoke test OS X platform

@swift-ci please smoke test Linux platform

@swift-ci please smoke test Linux platform

@swift-ci please smoke test OS X platform

@swift-ci please smoke test OS X platform

@swift-ci please smoke test Linux platform


std.c.string not found

...\dub\packages\dlangui-0.9.178\dlangui\3rdparty\dimage\stream.d(226,16): Error: module string is in file 'std\c\string.d' which cannot be read
$ dmd --version
DMD32 D Compiler v2.081.2

The import needs changing to core.stdc.string.

This seems to have been already fixed:
https://github.com/buggins/dlangui/pull/571/files

@logicfish Yeah, it's fixed. We try to build dlangide, which have dependency dlangui. It means, what latest release dlangui with not latest changes
@ZombineDev Issue can be closed. It remains only to understand how to use freshly builded dlangui as dependency for dlangide

I just edited the file stream.d in place.


Do not encode DEL

Node.js's url.domainToASCII() does not encode DEL and this is the correct behavior according to RFC 3490.
This patch updates the regexNonASCII range to include DEL.

Thanks! I’ve added a test in cd1a4baaf8cf0b4e33469024970527b3e63041f9.


Listing more than 1000 files

Hello,
I have trouble listing more than 1000 files with s3fs while not having trouble with boto3.
bucket = get_boto3_bucket(BUCKET_NAME)
keys = list(bucket.objects.filter(Prefix=FOLDER_NAME))

import s3fs
fs = s3fs.S3FileSystem(**CONNECTION_ARGS)
files = fs.ls(f"{BUCKET_NAME}/{FOLDER_NAME}")

len(keys), len(files)  # Outputs (1132, 1000)

As far as I understand, pagination should be handled properly to avoid the hardlimit of 1000 elements (#21). I use a non-AWS endpoint though, so maybe I should check with our University provider?

Indeed, listing more than 1000 items should be fine, and s3fs uses the boto3 client's get_paginator method to achieve this. Anything that you can do to help investigate this would be appreciated.

Closing as stale


chore: rebase main on stable-1.1

On hold, Waiting for https://github.com/ansible/ansible-rulebook/pull/718
Dump main on stable1.1 branch.
Includes:

https://github.com/ansible/ansible-rulebook/pull/716

closed in favor of https://github.com/ansible/ansible-rulebook/pull/727


Allow literal strings (without processing)

I'd like to be able to put a literal value into a field.  It's been discussed before, using <identity()> and faker functions, but it still is very hard to put things like URLs and regexes into fixtures.
How about back-ticks?  E.g.
config:
    url:  `http://something.com?abc&123`
    headline: `Budget approved for $200 Euros (FRANCE)`

Yes, I know AliceBundle is great for generating fake fixtures, but I have also been using it for isolating data from a large database to create a small test case.  So I dump my data to a YAML file, which I can then load when I just want to test that problem dataset.  This bundle handles related entities so nicely that I'd love to be able to use it.
Thanks.

Unfortunately this is a limit of https://github.com/nelmio/alice/issues/840


Create an OCR pipeline with kubeless

An example of an OCR pipeline using kubeless as glue for Minio, Apache Tika and MongoDB.
The function is packaged into a Helm chart to show deployment integration with Helm charts.

can you squash

I am actually wondering if we should stick all examples into a repo of functions. This is going to clutter the kubeless repo itself with bunch of charts and more...

+1

Migrating this example to https://github.com/bitnami/functions


Java 8 dockerhub image does not have an arm64 version

Describe the problem
Java 8 dockerhub image does not have an arm64 version
Container definition
No response
Container logs
No response

ignore me I didnt see the multiarch image


Add ability to store and retrieve app settings

I wrote something bespoke for iPANACEA, but I feel like it's a general enough solution that it could be moved to guikit in some form or other. The general idea is that you have a global settings object (rather like the global logger object we have now) which you can use to get and set different values. When a value is changed, this is signalled using pubsub so e.g. the GUI can update.
I'm not sure whether the best way to do this is as another extension or in some other way.

I think this should be part of the core guikit functionality and not an extension. It is a very fundamental thing to be able to add new settings.
This is what we did in dtcmr, letting each extension to add their own settings, like in here (the presenter is imported in __init__.py of the extension, so these settings become available).
I think this approach - or a similar one - could be integrated into guikit.

Interesting. It seems similar to what I did for iPANACEA: https://github.com/ImperialCollegeLondon/iPANACEA/blob/08df0d928dabfb66de4b168778c5927a11b137b8/ipanacea/settings_file.py
As far as I can tell, you're not saving the settings to file anywhere in DT-CMR though, right? Perhaps we'd need a distinction between persistent and non-persistent settings?
The fact that we've independently hit on something similar does suggest that it should be abstracted out into guikit. I think what I did for iPANACEA (or something similar) is probably suitable, though maybe I'd go for toml rather than yaml as a file format.

Rather than a singleton class, I used global dictionaries and functions in DTCMR, but otherwise it is the same idea, yes. What option is best, to be honest I don't know.
Shall we bring other members of the team into the discussion to gather their opinion?
@AdrianDAlessandro @dandavies99 @TinyMarsh @cc-a @CWestICL @dc2917


dapp-test added

@BatiGencho can we close this without merging it ?

@BatiGencho can we close this without merging it ?

Absolutely.!


halted: PC: 0x080001ea

when i was debugging the led blink program it raised following error during debug session when i press next/step command in gdb()
GNU MCU Eclipse OpenOCD, 64-bitOpen On-Chip Debugger 0.10.0+dev-00593-g23ad80df4 (2019-04-22-20:25)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
WARNING: interface/stlink-v2-1.cfg is deprecated, please switch to interface/stlink.cfg
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select '.
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
none separate
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1000 kHz
Info : STLINK V2J27M15 (API v2) VID:PID 0483:374B
Info : Target voltage: 2.889882
Info : stm32f3x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
target halted due to debug-request, current mode: Thread
xPSR: 0x61000000 pc: 0x08002960 msp: 0x10001f38
Info : device id = 0x10036422
Info : flash size = 256kbytes
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
adapter speed: 950 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000188 msp: 0x10002000
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
adapter speed: 4000 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
adapter speed: 950 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000188 msp: 0x10002000
Info : halted: PC: 0x080001ea

@Siraj454 can you use the following commands.

monitor reset halt
continue
step
then next/step


Replace Hoedown (unmaintained, but works)

Hoedown hasn't seen any commits since 2015. AFAIK it's good enough, but I'd like a maintained library as the back-end for Misaka.
There's:

commonmark/cmark
raphlinus/pulldown-cmark (also see Writing Python Extensions In Rust Using PyO3)
MD4C
And more

For the time being I don't have time for this, but I'll keep it in mind.

Ok
On Feb 27, 2019 2:31 AM, "Frank"<EMAIL_ADDRESS>wrote:

Hoedown hasn't seen any commits since 2015. AFAIK it's good enough, but
I'd like a maintained library as the back-end for Misaka.
There's:

commonmark/cmark https://github.com/commonmark/cmark
raphlinus/pulldown-cmark
https://github.com/raphlinus/pulldown-cmark (also see Writing Python
Extensions In Rust Using PyO3
https://www.benfrederickson.com/writing-python-extensions-in-rust-using-pyo3/
)
MD4C https://github.com/mity/md4c
And more
https://github.com/commonmark/CommonMark/wiki/list-of-commonmark-implementations

For the time being I don't have time for this, but I'll keep it in mind.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/FSX/misaka/issues/69, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACpx6FwibKgzMP_lDJp49tIF5OwMNqTTks5vRlBfgaJpZM4bUFGX
.

Working on this now.

Chose MD4C.

Track development here: https://github.com/FSX/misaka/tree/md4c-backend

Is changing the backend C library not likely to change misaka's behaviour in subtle ways and just potentially introduce new bugs? i.e. is this really a good idea?
Let me explain -- I'm currently working on packaging misaka 2.* for Debian with hoedown properly seperated out as another package rather than embedded in misaka. As part of my review of hoedown I also noticed that the project is essentially dead. In light of this I also had some security concerns but I've since done some fuzzing with AFL and I have to admit I'm impressed.
After over 1.5 billion different test cases the fuzzer still hasn't found a single crash so I'm wondering if maybe this is just an instance of a project being "complete" and not really in need of maintanance :)
Let me know what you think.

That's true, but Hoedown is completely dead. If I want to continue using it I have to fork and maintain it. There are newer and maintained implementations like cmark and MD4C. I feel safer using a library that's maintained.
I chose to switch to a new backend and accept the risk of incompatible changes and new bugs. I do plan to bump the major version number, maintain version 2 for a while, and write some disclaimers and instructions for moving to version 3.

After over 1.5 billion different test cases the fuzzer still hasn't found a single crash [snip]

That's impressive!
----- Original message -----
From: "Daniel Gröber (dxld)"<EMAIL_ADDRESS>To: FSX/misaka<EMAIL_ADDRESS>Cc: Frank<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [FSX/misaka] Replace Hoedown (unmaintained, but works) (#69)
Date: Thursday, November 07, 2019 13:03
Is changing the backend C library not likely to change misaka's behaviour in subtle ways and just potentially introduce new bugs? i.e. is this really a good idea?
Let me explain -- I'm currently working on packaging misaka 2.* for Debian with hoedown properly seperated out as another package rather than embedded in misaka. As part of my review of hoedown I also noticed that the project is essentially dead. In light of this I also had some security concerns but I've since done some fuzzing with AFL and I have to admit I'm impressed.
After over 1.5 billion different test cases the fuzzer still hasn't found a single crash so I'm wondering if maybe this is just an instance of a project being "complete" and not really in need of maintanance :)
Let me know what you think.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/FSX/misaka/issues/69?email_source=notifications&email_token=AAAPWELXDC3ATAPF4EER4RTQSP7ZJA5CNFSM4G2QKGL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMGDVY#issuecomment-551051735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPWEJSQUPIL33TRJUMHSLQSP7ZJANCNFSM4G2QKGLQ.

I don't want to maintain hoedown by myself either really :), but just looking at how many other libraries are using it I have a feeling efforts could be pooled to keep it maintained. Personally I think the risk of switching the backend is greater than that of just continuing to maintain hoedown.
I can totally relate to the uneasy feeling of using an unmaintained library, but are there any issues that really need fixing at the moment? Also have you talked to any other users of the library about this? Probably should get some feedback on how the people using the library feel about this.

There's also a specification for markdown now, Common Markdown. Hoedown is still from before the Common Markdown specification. I think that's also a good argument to switch to something else.
Before Hoedown there was Sundown. And Sundown was abandoned/unmaintained, the author went to work on Common Mark and cmark. And cmark took a while to be released. That's when people forked Sundown and made Hoedown. If I remember correctly.
Maybe they all moved on?
I haven't looked for and spoken to other users (yet). So I'm not sure if there are any.
I have to say switching to the new backend of more in the exploring phase. I was also thinking of making a new Python package and keeping Misaka the same.


Download failed[YouTube Downloader] ...

Extension
https://www.raycast.com/vimtor/youtube-downloader
Raycast Version
1.73.2
macOS Version
No response
Description
whenever i try to download any video it says failed
Steps To Reproduce
See error
Current Behaviour
No response
Expected Behaviour
No response

@raycastbot close this issue


'NoneType' object has no attribute 'update'

Previously I was able to successfully run the training, but now I am getting this error no matter what I try to do.
Traceback (most recent call last):
  File "/home/deniaud/!learn/dpo.py", line 232, in <module>
    dpo_trainer.train()
  File "/home/deniaud/miniconda3/envs/DPO/lib/python3.10/site-packages/transformers/trainer.py", line 1537, in train
    return inner_training_loop(
  File "/home/deniaud/miniconda3/envs/DPO/lib/python3.10/site-packages/transformers/trainer.py", line 1912, in _inner_training_loop
    self.control = self.callback_handler.on_step_end(args, self.state, self.control)
  File "/home/deniaud/miniconda3/envs/DPO/lib/python3.10/site-packages/transformers/trainer_callback.py", line 392, in on_step_end
    return self.call_event("on_step_end", args, state, control)
  File "/home/deniaud/miniconda3/envs/DPO/lib/python3.10/site-packages/transformers/trainer_callback.py", line 414, in call_event
    result = getattr(callback, event)(
  File "/home/deniaud/miniconda3/envs/DPO/lib/python3.10/site-packages/transformers/trainer_callback.py", line 498, in on_step_end
    self.training_bar.update(state.global_step - self.current_step)
AttributeError: 'NoneType' object has no attribute 'update'
Traceback (most recent call last):
  File "/home/deniaud/!learn/dpo.py", line 232, in <module>
    dpo_trainer.train()
  File "/home/deniaud/miniconda3/envs/DPO/lib/python3.10/site-packages/transformers/trainer.py", line 1537, in train
    return inner_training_loop(
  File "/home/deniaud/miniconda3/envs/DPO/lib/python3.10/site-packages/transformers/trainer.py", line 1912, in _inner_training_loop
    self.control = self.callback_handler.on_step_end(args, self.state, self.control)
  File "/home/deniaud/miniconda3/envs/DPO/lib/python3.10/site-packages/transformers/trainer_callback.py", line 392, in on_step_end
    return self.call_event("on_step_end", args, state, control)
  File "/home/deniaud/miniconda3/envs/DPO/lib/python3.10/site-packages/transformers/trainer_callback.py", line 414, in call_event
    result = getattr(callback, event)(
  File "/home/deniaud/miniconda3/envs/DPO/lib/python3.10/site-packages/transformers/trainer_callback.py", line 498, in on_step_end
    self.training_bar.update(state.global_step - self.current_step)
AttributeError: 'NoneType' object has no attribute 'update'

My setups:
training_args = TrainingArguments(
    per_device_train_batch_size=4,
    per_device_eval_batch_size=1,
    warmup_ratio = 0.1,
    num_train_epochs=2,
    gradient_accumulation_steps=4,
    learning_rate=3e-4,
    lr_scheduler_type='linear',
    evaluation_strategy="steps",
    remove_unused_columns=False,
    logging_first_step=True,
    logging_steps=1,
    output_dir="RESULT_MODEL",
    optim="adamw_8bit",
    weight_decay=0.0,
    fp16 = False,
    bf16 = True,
    save_steps=40,
    seed = 42,
)

dpo_trainer = DPOTrainer(
    model = model,
    ref_model = None,
    args = training_args,
    beta = 0.1,
    train_dataset = train_data,
    eval_dataset=val_data,
    tokenizer = tokenizer,
    max_length = 1024,
    max_prompt_length = 512,
    loss_type='kto_pair',
)

max_seq_length = 8192
dtype = torch.bfloat16
load_in_4bit = True

model, tokenizer = FastLanguageModel.from_pretrained(
    model_name = MODEL_PATH,
    max_seq_length = max_seq_length,
    dtype = dtype,
    load_in_4bit = load_in_4bit,
)

if tokenizer.pad_token is None:
    tokenizer.pad_token = tokenizer.eos_token

model.config.use_cache=False

model = FastLanguageModel.get_peft_model(
    model,
    r = 16, # Choose any number > 0 ! Suggested 8, 16, 32, 64, 128
    target_modules = ["q_proj", "k_proj", "v_proj", "o_proj",
                      "gate_proj", "up_proj", "down_proj",],
    lora_alpha = 16,
    lora_dropout = 0, # Currently only supports dropout = 0
    bias = "none",    # Currently only supports bias = "none"
    # use_gradient_checkpointing = True,
    random_state = 3407,
    use_rslora = False,  # We support rank stabilized LoRA
    loftq_config = None, # And LoftQ
    # task_type="CAUSAL_LM",
)

@whitepapercg Thanks for the bug report - I'll look into it ASAP!!

@whitepapercg Sorry on the delay - I tried DPO eval + no eval + KTO as well - seems to be working on the latest branch - maybe try updating Unsloth? (I added some patches in the last few hours as well)
pip install --upgrade git+https://github.com/unslothai/unsloth.git
Also you can turn off PatchDPOTrainer() since for now it's just the streaming stats patching

branch
Thank you, reinstall all packages, and Unsloth with your link. Now its work for me! Spec:
python 3.11.7
pytorch 2.1.2
IPython 8.20.0
xformers-0.0.23
bitsandbytes-0.42.0


docs: Declare meltano compile command experimental

Supersedes:

https://github.com/meltano/meltano/pull/7321

Totally optional, but @WillDaSilva , what do you think of linking to a github discussion to collect feedback and share back updates?

Totally optional, but @WillDaSilva , what do you think of linking to a github discussion to collect feedback and share back updates?

@aaronsteers A GitHub discussion about what? This PR before we merge it (and whether we should require the experimental setting to be true), or something else related to the broader manifest topic?

Totally optional, but @WillDaSilva , what do you think of linking to a github discussion to collect feedback and share back updates?

@aaronsteers A GitHub discussion about what? This PR before we merge it (and whether we should require the experimental setting to be true), or something else related to the broader manifest topic?

Here you go:

https://github.com/meltano/meltano/discussions/7323


The link of MoonKit shows 404 Not Found

Hi, MoonKit will be again public in the following months, stay connected!

Hi, MoonKit will be again public in the following months, stay connected!

Hello 👋
Do you know when it will be available?
Thank you!


Mip-Nerf-360 Data Converting

Hi, has anyone been able to convert the Mip-NeRF-360 datasets used here https://jonbarron.info/mipnerf360/ into the specified NeRFStudio format, via the ns-process-data command? I seem unable to get the COLMAP operations to work and am wondering if anyone has had luck with that.

Thats odd, it worked for us. Is it all of the datasets, or just one of them?

It seems that the camera type of official datasets (generated by Colmap) hasn't been supported by nerfstudio. Using ns-download-data to get the supported data from nerfstudio team might work. Check this branch https://github.com/nerfstudio-project/nerfstudio/pull/1139 for more details.

However, if you use the original images from the dataset, they are downscaled in a different way. After downscaling the width and height are rounded up, which is different from nerfstudio, where it is assumed they are rounded down. You can use ns-process-data to downsample the images or manually modify cameras/cameras.py:799 to round up instead.

It seems that the camera type of official datasets (generated by Colmap) hasn't been supported by nerfstudio. Using ns-download-data to get the supported data from nerfstudio team might work. Check this branch #1139 for more details.

Hi thank you for your response; which dataset is it listed under? When I run ns-download-data -h, I do not see the MipNerf360 dataset as an option.

Thats odd, it worked for us. Is it all of the datasets, or just one of them?

Yeah I am unable to get any of them to work -- I am running into many errors with the CUDA backend/binary file inconsistencies and cannot even get COLMAP to properly work. Would it be possible to share the datasets? I would like to experiment with all of them but am particularly interested in bonsai, garden, and stump.

Okay thanks @tancik @97littleleaf11 @jkulhanek. I am using the datasets taken directly off of MipNeRF360 and am just going to convert the poses_bounds.npy files into the transforms.json files. Is there a script you ran to run this? All the datasets have already been processed by COLMAP so I don't think I need that

Can you try the --skip-colmap option in ns-process-data images?

I guess you can also add --skip-process-images

Excuse me, have you solved this problem? @j93hahn @jkulhanek
I tried to generate transforms.json with: ns-process-data images --data /360_v2/garden/images/ --output-dir /360_v2/garden/studio_test --num-downscales 4  --skip-colmap --colmap-model-path /360_v2/garden/sparse/0/
And I want to train and test nerfacto with /images_4 with resolution 1926,840, but the generated transforms.json has resolution 5187*3361. So I manually set self.downscale_factor=4 in https://github.com/nerfstudio-project/nerfstudio/blob/main/nerfstudio/data/dataparsers/nerfstudio_dataparser.py#L276.
After that, I trained the model with: ns-train nerfacto --data /360_v2/garden/studio_test/ --output-dir /360_v2/garden/studio_test/output --steps-per-eval-batch 500 --steps-per-eval-image 500 --steps-per-eval-all-images 5000 --max-num-iterations 60001 --experiment-name garden --pipeline.model.predict-normals False --vis viewer+tensorboard
The psnr result I got is 20.997 with 60000 iterations. Have I did something wrong?
I am looking forward to your reply!

Besides, I have tested the instant-ngp model with the above operation, and I got pnsr=24.08 with 60000 iterations and psnr=24.30 with 250000 iterations.

Sorry, the above link is:
https://github.com/nerfstudio-project/nerfstudio/blob/f2fdd10d9bca5d66286e72fcd87c41122050156f/nerfstudio/data/dataparsers/nerfstudio_dataparser.py#L276

Sorry, I was away from a PC for a while. Can you please try with camera pose optimisation disabled?


How I can read sent message from Middleware

I have middleware that means Filter like following
`public class TestFilter : IFilter where T : class, PipeContext
{
public void Probe(ProbeContext context){}
    public async Task Send(T context, IPipe<T> next)
    {
        var requestInfo = Program.Container.GetInstance<RequestInfo>();
        //How i can access sent message from middleware
        requestInfo.Token = "some value from message" + "Some Value from Middleware";
    }
}`

Now before consuming message I want to do something based on sent message. How I can access sent message from middleware.? Accepting your help.
I have used following but it is giving null
MyMessage message; context.TryGetPayload(out message);

Questions are better handled in Gitter or SoackOverflow...
If you want to do something based on the message - you better use observers. The latest version has fixes for this issue with observers missing messages sent from the consume context.


Self-update functionality

Add "Help | Check For Updates" action
Check for updates on start

Implemented in 1.0.3


Iphones Safari - Datepicker does not hide onblur or focusOut of input field

On Iphones (Safari), when you click outside(focusOut) the calendar doesn't disappear.

Hi there,
The datepicker is not hiding when click on inactive dates. Please see the screenshot for more info - https://www.screencast.com/t/wmMVX1qC
OR
How can we remove the inactive dates from the current month? like jQuery datapicker - https://jqueryui.com/datepicker/
Thanks,


[SPARK-25299] Add an implementation of the SPARK-25299 shuffle storage plugin that asynchronously backs up shuffle data to remote storage

Open-sources the async shuffle upload plugin we have built and tested internally. A static, older version of this used to reside in https://github.com/palantir/async-shuffle-upload.
The plugin cross-compiles against Spark core in the same Maven reactor. This ensures that when Spark's shuffle plugin APIs evolve, we can ensure our plugin compiles against the changes immediately. This also ensures that when we use gradle-consistent-versions, we consistently depend on a plugin that is compatible with the Spark version that is also pulled in by the application.
This migration attempts to maintain the project structure and functionality of its internal counterpart. As such, some design decisions may be artifacts from the internal version. They can be adjusted here, or otherwise can be adjusted in follow-ups. Particularly, there shouldn't be a need for a separate Scala module, both for core and for test utilities. But we maintain the separate module for ease of initial review and consistency with the original work.
The open source version here inherits style guidelines from Spark as opposed to Baseline. As such:

Imports are grouped via Spark's style guidelines
Maximum line length is 100, down from 120
Indentation is down to 2 spaces for base, down from 4
Continuation indentation is down to 4 spaces, down from 8

Finally, we had to use the Guava dependency that Spark specifically pulls in and shades, so some code is less streamlined and does not take advantage of newer Guava APIs.

Got a NoSuchMethodDef error when trying this version on a testing environment - will need to dig into this...

I think the build bits look as sane as my knowledge of sbt and maven goes

Great - I also fixed the NoSuchMethodDef error so this should be good to go soon.


fix error when response is too big

tracked down an EOF error that turned out to not be a session/connection EOF but a channel EOF because the response object was too large. not sure where it broke from size (serialize, buffer, send), but does and a client EOF is not very helpful. however, i'm not sure we can do much better in terms of improving the error, but we should be able to fix it.
this might have been from a maximum packet size limitation (which has since been increased for now), which should be tracked down. maximum packet size shouldn't truncate data, but just make several Write calls. i suspect this complicates reading JSON values because the codec probably assumes one object per data message? maybe not. just need to make sure this doesn't break reading JSON values.

I started trying some tests to see if I can hit this. I came across one issue here, where if the encoded size overflows uint32, this size prefix will be incorrect:
https://github.com/progrium/qtalk-go/blob/0e87838b26a3e447e15e6ac9d82f12a601d5f9b0/rpc/frame.go#L41-L42
Could it have been that large, or was this with something a bit smaller?
With that one we can error-out if the encoded value is too large, though increasing the size would require some change to the protocol to support larger lengths.

It was definitely not over 4 gigabytes. IIRC, the max packet size constant was cutting it off so I just increased that to something arbitrarily high. I'm going to say we should not worry about single messages/objects being over 4 gigs right now. But in regard to max packet size, wouldn't you expect if a message was too big it would split it over several data messages? Presumably data is being buffered and reading it would continue to work? Anyway, try setting max packet size const to something really low and see what happens.

Yeah, I started off with some changes like that just setting smaller packet sizes and wasn't initially reproducing it until I hit that issue above. So it seemed like it was doing the right thing in splitting messages, but I can poke at it a little more and see if I find anything else.

No, good enough for me for now.


Add section around change persistance

We need a section which describes the requirements around persistance of changes.
I think nodes MUST or SHOULD persist changes issued through this API across reboots but these may be lost if a node goes through a factory reset workflow. Also need to discuss if these changes persist after firmware updates (I personally think yes).

Definitely! Compare language around reboots, etc. in JT-NM TR-1001-1, which might inspire us...

Media Nodes shall expose unique, immutable, and consistent UUIDs in the IS-04 registry over the life of
the product, including consistency over reboots, power cycles, and software upgrades

Note: Typical behavior of professional media equipment is to store current operating settings in a non-volatile manner, and to restore those settings after loss-of-power, so that a whole system can re-start
quickly after an outage. In the case of Media Nodes in a networked environment, it is important to
distinguish between a device re-starting within the same system environment (such as a reset of one
device) and the case of a device being moved from one system environment to another (such as a rental
camera at a new job). The situation is made harder by a third case – equipment which has been stored
(perhaps in a spares closet) for a long period of time such that its settings are outdated, and then is re-introduced to the environment

Discussion during the meeting: More nuance to be discussed with completely dynamic nodes where UUIDs of resources can change quite rapidly making this API less useful for some of the proposed workflows because the UUIDs are the anchors for all the changes.

Discussion during the meeting: More nuance to be discussed with completely dynamic nodes where UUIDs of resources can change quite rapidly making this API less useful for some of the proposed workflows because the UUIDs are the anchors for all the changes.

Yes... except that resource IDs can't change, resources can only be deleted and created, and the Controller can get notification of these new resources via the Query API mechanisms.
If that's definitely not enough, we'd potentially benefit from an API that allows the client to specify label/description/tags for all current and future resources, or resources of a particular type, created by this Node (perhaps if not overridden on a per resource basis).

rejecting requests that can't be persisted

Are we saying that a device MUST reject changes that it cannot persist over reboots?

2023-05-18: see notes on #16. @cristian-recoseanu to write a more accurate issue.


Convert regular thread into private discussion?

Wondering how hard it would be to turn a normal thread into a private discussion after it was already started?
We've got some posts that turn into debates (usually political). I was thinking it would be great to switch them to private after a certain point to keep it off the main forum but still allow the discussion to continue in private.
In this case, it would also be useful to people to be able to leave the discussion if they wanted as mentioned in #5 .

This is already possible, in fact it's how the moderation system (now) works on discuss.flarum.org; this screenshot is taken from this (random) discussion:
https://discuss.flarum.org/d/7018-file-permissions-as-root/2

I'm not sure I follow how that works. Would I need to add every person manually after the fact?
What I had in mind is some sort of option like "Make Private Discussion" that would automatically add all thread participants to the private discussion. Otherwise, I'd have to manually find/add dozens of people among the 200+ posts in the thread.

Okay, I get it! Great thought 👍


Upgrade from V8 to V9 throws an exception

When upgrading a site from V8 to V9 I got the following error:

@NikRimington has already advised it's this line here causing the issue:
https://github.com/NikRimington/HotChilli.Umbraco.PageNotFoundManager/blob/fbb2e9d7e1e3003d8feda776b7fd2e792e9737b9/src/HC.PageNotFoundManager.Core/Migrations/InitialMigration.cs#L50


Nominate Zach to be a maintainer for the notaryproject.dev repo

@zr-msft has been actively contributing to the Notary Project since October 2022, he has 35 PRs merged into main in the notaryproject.dev repo and contributed 44 PRs to all Notary repositories totally. He also helped us review multiple PRs in notaryproject.dev repo.
@notaryproject/notaryproject-governance-maintainers  I would like to nominate @zr-msft to be a maintainer for the notaryproject.dev repo. Could you pls vote for this nomination? If there is any other information needed, please let me know. Thanks.

LGTM
@zr-msft has produced high-quality documents for the community, especially his recent work on security-related documents, which have added much more value.

LGTM

LGTM

We have the majority of approvals. According to the meeting notes from July 6, the decision was to create a PR in the notaryproject.dev repo for the maintainers and codeowners file.


observation loading performance issue

There is an obvious delay between the loading of two submissions. Specifically, the gap between the executions of the last line of method write of ObservationDataWriter and the first line of method mapFieldSet of ObservationDataFieldSetMapper can be very long. In the current case of 689 submissions, the gap is smaller at the beginning, but for later submissions, say, at 500th submission, this gap becomes longer than 10 seconds. I should investigate what is happening during the gap. It could be a chance to improve the loading performance.

With the latest data, the last gap is as long as about 18 seconds. Nothing is apparently supposed to happen during that gap.

It looks like that all the gaps are caused by String Batch code instead of the application's own code.

After I commented out all the content of ObservationDataFieldSetMapper.mapFieldSet() and ObservationDataWriter.write(), the duration and pattern of the gaps stayed the same.
When observing with VisualVM, all the CPU usages are from org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep (), which includes about half by org.springframework.batch.core.job.SimpleStepHandler.handleStep () and the other half by org.springframework.batch.core.job.flow.JobFlowExecutor.isStepRestart ().

Maybe we could not do much with this, but the reason that this got my attention is that this step used to take about 15 minutes for 122 submissions, but now it takes 90 minutes for 689 submissions.


[e2e]: container push main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7859266435
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Sun Feb 11 03:06:21 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7866782117
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Mon Feb 12 03:08:34 UTC 2024
Tests are passing now. Closing this issue.


Support dynamically adding tables in schema at runtime

Imagine that I have two tables: pack_a and pack_b.
In my application, I only want to fetch the items of pack_a when user enters the feature A, and only fetch the items of pack_b when user enters the feature B. For now, when my app launched and logged in, all items of pack_a and pack_b have been downloaded into my sqlite.
How can I do it? Do you have a mechanism that dynamically adds tables into schema.

The schema is not related to what data is being downloaded. I'd recommend to always have both tables in the schema, and use client parameters to control what is being synced.

@rkistner thanks for the quick reply.

I checked out the docs (https://docs.powersync.com/usage/sync-rules/advanced-topics/client-parameters-beta):

function connectPowerSync() {
  powerSync.connect(connector, {
    params: { "load_pack_a": true/false }
  });
}

When I want to change the param load_pack_a, I must disconnect and then connect again?
Btw, do you have any examples of using the client parameters in react/react-native?

How about If I use webpack module federation for my mobile app, the tables may not been known. They only have been defined when the features have been loaded.
when the feature A has been loaded, should i create a PowerSyncDatabase with schema only contains the pack_a table?
and when the feature B has been loaded, should i create a PowerSyncDatabase with schema only contains the pack_b table?
If I do this, and my app has (n) features, maybe my app will have (n) websockets.
Do you have any advices?

If the parameters change, you can just call connect again (it automatically disconnects and reconnects internally).
The current architecture is not compatible with lazy-loading parts of your schema in the same database - I'd recommend defining your schema in a single module instead, containing all the features.
If you do really want independent features, one approach is to use a completely separate PowerSyncDatabase for each. In that case, you would have a separate database and a separate connection per feature, and each of these connections will count towards your "peak concurrent connections" limit.

@rkistner do you have any example code about lazy loading with client parameters?

@rkistner do you have any example code about lazy loading with client parameters?

We're working on some example code, should be available next week.

hi @rkistner @kobiebotha how is it going?

+1

@nthtrung09it @amjadbouhouch  Apologies for the delay. We now have an example with sync rules here:
https://docs.powersync.com/usage/use-case-examples/prioritized-sync
The specific example is for having different "priorities" for synced data, but the same could apply for lazy-loading different sets of data.

Hi @rkistner, do you have example code for the prioritized-sync and lazy load?
And it seems that the Client Parameters still in Beta.


Adding social media icons at the home page

Want to add social media icons with hover effect at the home it gives a beautiful looks to the project.
like:--

can I work on this issue??

Hi, I want to work on this issue.


Style and add images to the blog page

New Task:
What is the task
i would like to style up the blog page and add images and other elements
<Detail the problem/task>
Who is the task for?

[x] I created this task for me to complete, I will create a PR soon.
[ ] I created this task for someone else to claim.
[ ] I think this is a task that multiple people can do

Confirm all of the following:

[x] I have looked at all the issues currently available and this does not exist or overlap with another ticket

⚠ PLEASE ONLY SUBMIT A PR FOR THIS TASK IF THIS TASK WAS AVAILABLE FOR YOU TO CLAIM

No new issues for now, please see issue #333


🐛 firestore-send-email Migrate to v2 cloud function

[READ] Step 1: Are you in the right place?
Issues filed here should be about a feature request for a specific extension in this repository. To file a feature request that affects multiple extensions or the Firebase Extensions platform, please reach out to
Firebase support directly.
[REQUIRED] Step 2: Extension name
This feature request is for extension: firestore-send-email
What feature would you like to see?
There should be a way to migrate to v2 cloud functions.
How would you use it?
I'd like to have this deployed as a v2 function.

Hi @david-shortman!
Extensions currently do not support the full scope of v2 cloud functions. You can see the list of currently supported v2 functions here.


How to replace standard window manager with xfce on coral dev board

After installing xfce on coral dev board, it still brings up the standard window manager. Can you please provide instructions on how to replace it?

There is no official documentation or instructions available to install xfce on the Dev board. We leave it up to the community to answer this one if someone has tried.


Automatic Page Breaks

Is there a way to add automated page breaks like in MS word without relying on the manual .page CSS rule when the page height is exceeded?

Thanks!
The live demo, which loads /index.html, has some JavaScript added that aims to take care of this. Have you tried it or seen it?


How to access the weakly labeled and unlabeled data?

Hi team！Thanks for providing this dataset.
after running WenetSpeech/toolkits/kaldi/local/wenetspeech_data_prep.sh with argument --train-subset L, it seems that the kaldi dataset yield from this script contains only 10k hours of the high-label data. What should I do if I want to use the remained part of Wenetspeech dataset?
Thanks :)

Thanks! :)


Audio for peers should be included as part of the video tag and not a seperate audio tag.

Currently if a peer pauses their video in full screen the audio doesn't pause.

Fixed in branch Quasar.


Update README.md

tell docker to run an interactive and add a tty

see https://github.com/aquasecurity/kube-hunter/pull/14


Added Hello World! to the index.html

Added Hello World! to the index.html

@lrv1668 could you fix the merge conflict and then i"ll merge the PR


Cask request: [app name here]

Cask details
Please fill out as much as possible. Before you do, note we cannot support Mac App Store-only apps.
Name:
Sonos (Controller-app)
Homepage:
http://www.sonos.com/en-ca/controller-app
Download URL:
http://update.sonos.com/software/mac/mdcr/SonosDesktopController73.dmg
Description:
The app that control the Sonos sound system and Picked from their website: ```
Choose what to play, where to play it, and how loud. In one room or all over your home. Track down songs across all your music services with a single search. Create playlists in an instant. The Sonos app does it all.

caskroom/drivers: sonos


byconity select query cost time much longer than clickhouse because of  part metadata load

When do select query, byconity need load parts metadata every time. Because of this, ByConity read query cost much longer time than ClickHouse.
For example:
In the below query,  select query cost 375ms, but load part metadata cost 300ms, even worse  part metadata need to be loaded every time.

Hi @blueskygzhz , I see that the number of parts is 507. Usually, the cost of metadata cost should be small compare to the cost of query cost. Can you check the size of the visible data part in table system.cnch_parts? I suspect the merge process have issue so that it is unable to merge data part hence the number of data parts is high compare to the total size

The query to get the total size is
select sum(bytes), sum(rows) from system.cnch_parts where database = 'test' and active = 1 and table = 'table_name'


add note about relevant article

https://github.com/MicrosoftDocs/windows-itpro-docs/issues/6914

Cosmetic/codestyle: You might want to end the sentence with a period, even if it is within the Note blob.


Change ScoreDoc to struct?

Doing a random check with a memory profiler on the search benchmark test, and it seems like a lot of the objects being allocated are ScoreDoc instances:

Is there any good reason to not refactor this as a struct? Besides the actual work of adapting the code to handle it?
The code is so simple that it feels like an easy win to change it to a struct:
    public class ScoreDoc
    {
        public float Score { get; set; } // LUCENENET NOTE: For some reason, this was not readonly - should it be?
        public int Doc { get; set; } // LUCENENET NOTE: For some reason, this was not readonly - should it be?
        public int ShardIndex { get; set; } // LUCENENET NOTE: For some reason, this was not readonly - should it be?

        public ScoreDoc(int doc, float score) : this(doc, score, -1) { }

        public ScoreDoc(int doc, float score, int shardIndex)
        {
            this.Doc = doc;
            this.Score = score;
            this.ShardIndex = shardIndex;
        }
    }

It seems like there are only 3 classes that derive from ScoreDoc: OneGroup, FieldDoc, FieldValueHitQueue.Entry
One possible way to go about this (as we can't use generics, and using an interface on the struct will result in boxing anyway), would be to add two fields to ScoreDoc, one to hold the expected content type, and the other to hold the content:
public struct ScoreDoc
{
    private byte _contentType;
    private object _content;

    public float Score { get; }
    public int Doc { get; }
    public int ShardIndex { get; }

    public bool IsNull() => _contentType == 0;
    public bool IsNotNull() => _contentType != 0;
    public bool IsFieldDoc() => _contentType == _fieldDocType;
    public bool IsEntry() => _contentType == _entryType || _contentType == _oneGroupType; // OneGroupContent derives from Entry
    public bool IsOneGroup() => _contentType == _oneGroupType ;

    private const byte _scoreDocType = 1;
    private const byte _fieldDocType = 2;
    private const byte _entryType = 3;
    private const byte _oneGroupType = 4;

    public FieldDocContent AsFieldDoc()
    {
        if(IsFieldDoc()) return (FieldDocContent)_content;
        throw new Exception("Invalid type");
   }

    public EntryContent AsEntry()
    {
        if(IsEntry()) return (EntryContent )_content;
        throw new Exception("Invalid type");
   }

    public OneGroupContent AsOneGroup()
    {
        if(IsOneGroup()) return (OneGroupContent )_content;
        throw new Exception("Invalid type");
   }
}

Given the fact that Lucene relies on inheritance in this case to extend a data container with additional fields, it feels like we are trying to force a struct into the design. Specifically, we are breaking the is-a relationship in the inheritance model for all of the subclasses, which would make it more difficult to use (assuming that it doesn't need to be cast often by users, in that case we may actually be helping).
The usage of this class is such that it acts as a data delivery mechanism, similar to the tables in Entity Framework, which are classes.
As such, IMO this probably isn't a good candidate for a struct.
I am curious to hear other opinions on this case, though. Especially from users. This does seem to have potential to make a big performance impact.

Guess that's exactly the cost of doing so - but i've the impression there are already a lot of places on the Lucene source code that rely on the similar pattern, instead of using generics + interfaces to enforce this at compile time:
if(!(obj is Class)) throw new Exception("Expected type X");

IMO, this could be one case where the switch is worth, as currently Lucene allocates one ScoreDoc object for every search hit that needs to be scored, per search... But obviously better to test first :)

Interesting - because we use our own ResultsCollector, this is actually not relevant for our usage of Lucene.NET at all - so I'll leave it as is, as there is a path to optimize it already by not using the official TopDocs results collector


initial eth_coinbase impl

Pending block still not implemented so using Latest. - closes https://github.com/paradigmxyz/reth/issues/1871

I think we may wanna move this to the Consensus Engine that will eventually also control the builder? #1845

Codecov Report

Merging #1896 (a1726da) into main (f6a420f) will decrease coverage by 55.62%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main    #1896       +/-   ##
===========================================
- Coverage   73.12%   17.51%   -55.62%
===========================================
  Files         418      418
  Lines       51187    51189        +2
===========================================
- Hits        37433     8965    -28468
- Misses      13754    42224    +28470

Flag
Coverage Δ

integration-tests
17.51% <100.00%> (-2.10%)
:arrow_down:

unit-tests
?

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

Impacted Files
Coverage Δ

crates/rpc/rpc/src/eth/api/server.rs
60.61% <100.00%> (-37.84%)
:arrow_down:

... and 298 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@gakonst would it also make sense to put the impls for eth_gasPrice and eth_maxPriorityFeePerGas into the Consensus Engine as well?

@gakonst would it also make sense to put the impls for eth_gasPrice and eth_maxPriorityFeePerGas into the Consensus Engine as well?

we still need impls for these endpoints.
we need some kind of oracle that does some estimation re gas price, worth checking out geth's impl of this, because we should mirror how this is calculated.

we need some kind of oracle that does some estimation re gas price, worth checking out geth's impl of this, because we should mirror how this is calculated.

Geth's gas price oracle logic is here: https://github.com/ethereum/go-ethereum/blob/b3f43c89b3b884d5d0b8e1a239847f54a291a19b/eth/gasprice/gasprice.go#L144-L223

@rjected @mattsse re: building you may wanna take this over?

I'm closing this because coinbase is now a CL setting and sent to the EL via the suggestedFeeRecipient field on a per payload basis which is used as coinbase.
geth supports setting a coinbase address that is returned for this endpoint but no longer used.


Depedency on orjson fails running from pyodide

The package is written in rust and doesn't offer a none-any wheel so it fails when trying to run it with pyodide.
It seems there's an open PR to offer support, opening this issue to keep track of it.
https://github.com/pyodide/pyodide/pull/4036
https://github.com/pyodide/pyodide/issues/1282

Closing as https://github.com/pyodide/pyodide/pull/4036 is merged


New plugin install returns with 404 or 500 "Unknown plugin"

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?

Created a plugin.
Plugin Catalog successfully indexes the plugin.
Plugin is installable as a Go module.
Configured plugin as non-local plugin in Traefik.

What did you see instead?
Two different errors:
ERRO[2023-09-05T00:10:28+10:00] Plugins are disabled because an error has occurred.  error="unable to set up plugins environment: unable to download plugin github.com/strigo/traefik-auth-middleware: error: 500: {\"error\":\"Failed to get plugin<EMAIL_ADDRESS>
or
ERRO[2023-09-05T00:10:46+10:00] Plugins are disabled because an error has occurred.  error="unable to set up plugins environment: unable to download plugin github.com/strigo/traefik-auth-middleware: error: 404: {\"error\":\"Unknown plugin<EMAIL_ADDRESS>
What version of Traefik are you using?
Version:      2.10.4
Codename:     cheddar
Go version:   go1.20.7
Built:        I don't remember exactly
OS/Arch:      darwin/arm64
What is your environment & configuration?
experimental:
  plugins:
    cf2nomad:
      moduleName: github.com/strigo/traefik-auth-middleware
      version: v0.1.0

Add more configuration information here.
If applicable, please paste the log output in DEBUG level
No response

Created a new tag and it magically works.. 🤷