Backporting patches: SAML2 (forced) metadata resolution, nested JWTs

Maybe it should have been in a v4.5.0, but anyway, let's merge that in a v4.4.1. Do you need the v4.4.1 release now?

Thanks much. I don't need it just yet, (will do some internal testing with the SNAPSHOT) but it would be great to have it out before Apr 30th, so we could include it in the next CAS 6.3.x release.

OK. I'll do the release next week. Ping me on Wednesday/Thursday if you don't see the release coming.

Sure thing, thanks again!

I finally created a version 4.5.0. It will be available soon in the Maven central repository.

That's great. Thanks!


autest-site or autest-suite?

Now there is a directory /tests/gold_tests/autest-site.
IIRC, it used to be autest-suite.
A test suite is usually a collection of test cases. I guess it was not a very good name. As I can see, autest-suite is more like a collection of extensions.
I don't know what a test site is. Any explanation would be appreciated.
However, from source of autest,  the option is --autest-site now.
It could be a typo. If yes, let's fix it. Probably good to rename it to autest-ext to avoid confusion.

@dragon512  ?

It's supposed to be "site". It corresponds to the Python / Perl directories like "site-lib". It is intended to contain AuTest support for the "site".


[FEATURE] Run api in IIS

How to run it on IIS server not console ?

Do you mean to run locally? If that's your question, just select in visual studio your preferred running config:

If you are asking for deployment information, this is the documentation from Microsoft itself: https://learn.microsoft.com/en-us/aspnet/core/tutorials/publish-to-iis?view=aspnetcore-7.0&tabs=visual-studio


why maxNonHeap result is minus?

Please answer these questions before submitting your issue.

Why do you submit this issue?
[X] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

maxNonHeap will affect the front-end display logic for 'free'. So the backend helps to confirm when maxNonHeap is minus. How should the frontend be displayed when maxNonHeap is minus.

For the front end pr, please see https://github.com/apache/skywalking-rocketbot-ui/pull/161

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

I see agent core souse(org.apache.skywalking.apm.agent.core.jvm.memory.MemoryProvider), use MemoryMXBean.getNonHeapMemoryUsage.getMax get maxNonHeap value.
see jdk document: https://docs.oracle.com/javase/8/docs/api/java/lang/management/MemoryUsage.html

getMax
public long getMax()
Returns the maximum amount of memory in bytes that can be used for memory management. This method returns -1 if the maximum memory size is undefined.
This amount of memory is not guaranteed to be available for memory management if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.
Returns:
the maximum amount of memory in bytes; -1 if undefined.

Let's enhance UI to support this.


Add js/rust bindings for inline source map generation

Fixes https://github.com/embroider-build/content-tag/issues/61
Right now I just added an extra argument to make it a non-braking change, but if you feel like we want to have second argument be an object that accepts the filename: string and input_source_maps: boolI can also change it to that

Thanks.
I think the suggestion of changing to an options object and accepting a breaking change is good, please update to that version.

@ef4 this is my first time reading and writting rust so I gave it my best shot, as far as I could tell it doesn't support to have an optional object as an argument in rust, so I took care of that in js space and make sure to always provide all arguments with defaults to the rust based function.
As I don't have knowledge of rust code might need cleanup from someone who actually know what they are doing, but at least I ran all tests and it seems to be working :)
Let me know if you have any feedback

@ef4 does it look good to you, can this get merged/released?


[BugFix]Fix no bucket num bug when create table in shared data mode

Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

better to optimize the error message if there is no be(cn) and backendNum is 0

[FE PR Coverage Check]
:disappointed: fail : 1 / 2 (50.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/CatalogUtils.java
1
2
50.00%
[308]

[FE PR Coverage Check]
:heart_eyes: pass : 4 / 5 (80.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
3
4
75.00%
[1600]

:large_blue_circle:
com/starrocks/catalog/CatalogUtils.java
1
1
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 2 / 3 (66.67%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
1
2
50.00%
[1598]

:large_blue_circle:
com/starrocks/catalog/CatalogUtils.java
1
1
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 1 / 2 (50.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
1
2
50.00%
[1598]

@Mergifyio backport branch-3.1


Kick-off release 1.17.2

Signed-off-by: Shikugawa<EMAIL_ADDRESS>
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

This PR should have merged after https://github.com/envoyproxy/envoy/pull/15220


Add foundry-cast-cli extension

Description
This extension adds commands for Foundry Cast CLI, a powerful tool for Ethereum developers.

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Thanks for the review!

You could maybe check if Foundry was installed, something like how Eagle is doing it
I don't have any knowledge here so I just entered some random numbers, could you look into dying gracefully instead?

Ok, I added an error message, so now if you try to use the extension without the binary installed it will warn you.

Do you mind creating a screencast of the extension so I can see the flow?

Sure!
https://github.com/raycast/extensions/assets/48695862/7e2c9e5f-c1ca-4ecd-a800-56033983a3df

Hey @pernielsentikaer can I have another review please?

Do you think that it could make sense to have "commands" inside one like Toolbox doing it? Or maybe grouped into a few commands - 26+ commands is a lot 🙂
Again, I'm not the right audience, so let me know what you think

I can look into that for sure

hi @pernielsentikaer
I've been trying to push updates to this branch but getting this error upon calling yarn publish:
error -  getting fork
fork extensions repo: Error Body: {"message":"refusing to allow an OAuth App
to create or update workflow `.github/workflows/pull_request_merge.yml` without `workflow` scope",
"documentation_url":"https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository"}

Any idea what I might be doing wrong?

Hi @pernielsentikaer
I've taken your advice and put all the commands under a list, it's much cleaner now. The extension only exports 1 command.
Here's a video of how it looks:
https://github.com/raycast/extensions/assets/48695862/ad4dc117-f30b-4032-8b38-5472d64e6d8f

Hi @pernielsentikaer would love a review when you can! Been stale for 10 days :)


checking compatibility of untested platforms

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

@wjcunningham7 resolve conflicts


Generics interface conditional type

Search Terms

Generics conditional type
Suggestion

interface Array<T> {
     // allow for all type
     some(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;
}

interface  Array<T when T is number> {
    // only when `T` is number
    sum(): number;
    avg(): number;
    max(): number;
    min(): number;
}

Use Cases

const a = ['a', 'c', 'd'];
// a.sum()   // not allowed

const b = [1, 2, 5];
const c = b.sum(); // ok
console.log(c); // 8

Examples

Checklist
My suggestion meets these guidelines:

[ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[ ] This wouldn't change the runtime behavior of existing JavaScript code
[ ] This could be implemented without emitting different JS based on the types of the expressions
[ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[ ] This feature would agree with the rest of TypeScript's Design Goals.

What about Array<string  | number>?

What about Array<string | number>?

I write some  extension methods for Array, but it is not work as expectedly.

Currently ,  interface declarations with the same qualified name, it Declaration Merging
https://github.com/microsoft/TypeScript/blob/master/doc/spec.md#7.2

Please note that the spec is completely outdated and abandoned.

You can already do this today; no new syntax is necessary:
interface  Array<T > {
    sum(this: Array<number>): number;
}

declare const a: string[];
a.sum(); // Error
declare const b: number[];
b.sum(); // OK

@RyanCavanaugh Thanks!😁


Combat simulation

Describe the feature you'd like to request
Add a method to simulate a combat between pokémons.
Describe the solution you'd like
Not applicable
Describe alternatives you've considered
Not applicable

I'm gonna work on this feature

I would suggest using this repository as a reference to the battle algorithm. It is really simple, and we could provide some utility to the pokenode-ts' users.
Full documentation at the end on any battle in the website
Description of the Battle Algorithm provided in pvpoke
Battle Rating
Battle Rating is a metric used to represent each battle's outcome. It is the backbone of PvPoke's rankings. The Battle Rating formula is:
Battle Rating = (500 * (Damage Dealt / Opponent's HP)) + (500 * (HP Remaining / HP))
Pokemon Stats
A Pokemon's actual stats are a result of its base stats, IV's, and a CP multiplier (determined by level). The stats shown are a Pokemon's actual stats at the given CP or level. "Overall" is a product of the three stats and gives a general idea for performance, mostly useful for comparing Pokemon of the same or similar species.
Move Selection
When using the auto select option, the simulator calculates which moves would be optimal in the current matchup. It does this in the steps below:

Sort Charged Moves by DPE (damage per energy) and select the best move for the "Main" Charged Move. Some Charged Moves deal a lot of damage but take longer to charge, while others charge quickly but deal less damage. DPE helps determine each Pokemon's most efficient move in the matchup.

Sort remaining Charged Moves by damage per energy squared and select the best move for the "Secondary" Charged Move. Since this weighs moves by energy, fast-charging moves are more likely to be selected than slow ones. This method for selecting a Secondary Charged Move was chosen because the battle algorithm prioritizes fast Charged Moves over the Main Charged Move in certain scenarios, so this helps give Pokemon access to their faster attacks even if they aren't as efficient on paper as other options (e.g. Dragonite with Dragon Claw or Magneton with Discharge).

Calculate TDO (total damage output) for each Fast Move and select the best option. TDO is simply the product of DPS (how much damage a Pokemon deals per second, on average) and how much time the Pokemon lasts in battle.

Battle Algorithm
Pokemon GO's Trainer Battles take place in 0.5-second "turns", and the simulator increments through each of those turns while determining the best possible action for both combatants. To determine those actions, the simulator performs the following checks:

If the Main Charged Move is available, use it immediately.
Use the Secondary Charged Move if:

It would KO the opponent
The opponent has a shield
The opponent's next action would result in a KO

If the opponent is using any Charged Move and shields are available, block it.
If none of these are true, use the Fast Move.

This algorithm produces the following behavior:

Pokemon will use any move available if it would result in a KO.

Pokemon will use any move available to deal the most possible damage before they feint.
Pokemon will always shield themselves if possible.
Pokemon will use their fastest Charged Move to remove an opponent's shields.

This behavior may not always represent human play or strategies, but it's intended to give each Pokemon the best result in the specific battle.

I found another possible implementation, it is more simple but it is not and PHP and it is well documented.
https://towardsdatascience.com/gotta-simulate-em-all-pokemon-390553008e2d

Hi @moyzlevi, thanks for contributing to pokenode-ts!
I'll check these options and study the Battle Algorithm, so I can help you with this feature.


Full Throttle Remastered [PCSB01053]

App summary

App name: Full Throttle Remastered
App serial: PCSB01053
App version: 1.00

Vita3K summary

Version: v0.1.8
Build number: 3228
Commit hash: https://github.com/vita3k/vita3k/commit/12224d7c
CPU backend: Dynarmic
GPU backend: OpenGL

Test environment summary

Tested by: yuztale
OS: Linux steamdeck 5.13.0-valve36-1-neptune
CPU: AMD
GPU: AMD
RAM: 16 GB

Issues

The whole intro video is badly rendered (see screenshot). While playing, the main character may wrongly appear behind other objects of the scene (see the screenshot with the trash). Other than that, the game seems playable, but the game play might be hindered by the graphic bugs.
Screenshots

Log
vita3k.log
Recommended labels

color bug
graphics bug
Ingame +

Vita3K summary

Version: v0.2.0
Build number: 3691
Commit hash: https://github.com/vita3k/vita3k/commit/31826697
CPU backend: Dynarmic
GPU backend: Vulkan

Test environment summary

Tested by: Slade
OS: Microsoft Windows 10 Professional (build 19045)
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
GPU: NVIDIA GeForce GTX 1060 6GB
RAM: 16 GB

Issues

Some of the intro issues have been fixed, with colours represented properly, however, in some scenes the characters aren't drawn. Eg. Image 5 should have two people sitting in the car.
The main character is no longer drawn at all in the game (Images 6 & 7).
When the main character interacts with objects, they disappear too.
None of the character sprites show up in the bar. This issue could persist throughout the game, but it is very difficult to play and proceed further to verify.

Screenshots

Log
PCSB01053 - [Full Throttle Remastered].log
Recommended labels

Ingame -
graphics bug
regression


Custom element error when using Vitest + Vue Testing Library

The error:
Failed to resolve component: b-collapse
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
This is just one component, it occurs for every bootstrap component AFAIK.
Adding it as a custom element (obviously) doesn't work.

Hi you need to provide the steps and methods that is causing this error.

I get the warning in the terminal when I run the Vitest command. It happens when I run a test with any b-component in Vitest.
The test code in bootstrapTest.test.js:
import { render } from '@testing-library/vue'
import { test } from 'vitest'
import TestBootstrap from '../mock/TestBootstrap.vue'

/**
 * Test Bootstrap component
 */
test('Test', async () => {
  const { getByText } = render(TestBootstrap)
})

The TestBootstrap.vue component:
<template>
  <b-card> </b-card>
</template>

The warning:

It's only a warning but it seems like it causes various fatal errors/problems during testing.

This happens when either a component does not import a child component, or when you yourself do not import the child component in the test. None of these instances occur at this moment and will be only caused by contributor error.


tests::test_task_queue_is_full fails on Mac Mx

Describe the bug
Unit test tests::test_task_queue_is_full
To Reproduce

On a Mac M1
cargo test -- test_task_queue_is_full
The test fails

Expected behavior
The test passes
Screenshots
If applicable, add screenshots to help explain your problem.
Meilisearch version:
9a08757a70e8a929b3328bba0032e54b052094c7
Additional context
Tested on Mac M1

Fiexd by #5110


I think this is an bug(with URL), when I change state

I have code:
$stateProvider.state('myState', {
            url: '/mystate',
            template: '
mystate
'
        }).state('home1', {
            url: '/home1',
            template: '
home1
'
        });

$transitions.onBefore({ from: 'myState', to: 'home1' }, function () {
     return false;
});

I also have test:
it('should go over the states and location correctly', function () {
$location.path('/home1');
$rootScope.$digest();

expect($state.current.name).toBe('home1');
expect($state.current.url).toBe('/home1');
expect($location.path()).toBe('/home1');

$location.path('/mystate');
$rootScope.$digest();
expect($state.current.name).toBe('myState');
expect($state.current.url).toBe('/mystate');
expect($location.path()).toBe('/mystate');

$location.path('/home1');
$rootScope.$digest();

expect($state.current.name).toBe('myState');
expect($state.current.url).toBe('/mystate');
**expect($location.path()).toBe('/mystate');** - I think the test should run correctly on this line

but I have an error: Expected '/home1' to be '/mystate'.  :(
});

thanks for the bug report.  What version of ui-router are you reporting against?  alpha.5 fixed a few url updating issues: https://github.com/angular-ui/ui-router/issues/2723 https://github.com/angular-ui/ui-router/issues/2730

http://plnkr.co/edit/McLtIy7oj8hpNtwwXYLd?p=preview

Thanks for fast response.
I thought that the installed version 5 :(


Fix issues with lizard executable logic

Lizard executable expects the following:

lizard [options] [PATH or FILE] [PATH] ...
But current code puts PATH (source_directory) before the options

The check for 'which lizard' ignores 'params[:executable]' option

@liaogz82 can't figure out how to add reviewers, so pinging you instead 👍

Give me some time to check the CI review. thanks

wait... you are PRing from your own fork. The CircleCI is not running because of that.
let me google for solutions to the CI problem. May take a bit longer. Please don't remove the fork for now

Hm... interesting, I've been using forks before on other open-source repos.
It should have picked it up, the changes are on my fork, but the PR is on main repo.

oh btw, the rake release will be done manually once the bug get solved.

https://circleci.com/gh/liaogz82/fastlane-plugin-lizard/25
strange. it is passing here.

Strange indeed, because I definitely broke the test that checks the order of input folder and -l swift option 🤔
I've just pushed updates with new rspecs and fixed rspec for position of source folder.

Wow, that's fast, but this CI run was using new tests:
    when specify custom executable
      uses custom executable
      should raise if custom executable does not exist <-- this one's new

@liaogz82 Sounds good to me.
Thanks 🎉


Set coverage report to only core checks

What does this PR do?

Marketplace CI will check for code coverage, but it doesn't use codecov. This PR allows codecov report to be generated only on core integrations.
Motivation

Add coverage for marketplace PRs.
Additional Notes

See https://github.com/DataDog/marketplace/pull/262
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Bit confused - this PR initially added min_cov option, but now it's specific to codecov?

Bit confused - this PR initially added min_cov option, but now it's specific to codecov?
Is there another PR to add the option or is that deemed unnecessary now?

Originally min_cov was added as an option in ddev test so it can be passed as a parameter for --fail_under for coverage.py. However, the same functionality can be added directly in the .coveragerc file without creating a brand new min_cov parameter: https://coverage.readthedocs.io/en/latest/config.html#report. I applied this change in the corresponding marketplace PR, and I removed the extra stuff in this PR related to min_cov.
I still kept the change limiting codecov coverage report to core checks, since marketplace doesn't use codecov, so the running ddev test with coverage would fail on marketplace.


RPM probe parser not working with latest opennti release

Hi,
For some special reason which I do not understand why the rpm parser does not work anymore.
I cannot find it in the database as well, but I can see the the script logs into the router and execute the command.
BR
Al

Hi,
Could you please enable more verbosity in the logs, then check if after it execute the command there is some kind of message related to 'parser found'.
In order to increase debugging just edit 'logging_level:' from 20 to 10 in the config file...
https://github.com/Juniper/open-nti/blob/master/data/open-nti.variables.yaml
If parser found log appears, perhaps the xml xpath on each 'match' term does not do any matches..
let me know what do you have

hi,
it looks really weird here it is what I see in the logs.
xxxxxx-re0]: Executing command: show services rpm probe-results | display xml
[xxxxxx-re0]: Parsing command: show services rpm probe-results | display xml
[xxxxxx-re0]: Looking for a match: //esp-statistics/esp-encrypted-bytes
[xxxxxx-re0]: No match found: //esp-statistics/esp-encrypted-bytes
so I found the parser which had those matches
junos_parsers]# grep esp-statistics *
show-security-ipsec-statistics.parser.yaml:        xpath: //esp-statistics/esp-encrypted-bytes
show-security-ipsec-statistics.parser.yaml:        xpath: //esp-statistics/esp-decrypted-bytes
replaced the file:
cp show-services-rpm-probe-results.parser.yaml show-security-ipsec-statistics.parser.yaml
and now I see the rpm KPI's in MEASUREMENTS.
cheers,
Al

forgot to attach the commands.yaml
data]# cat commands.yaml
GENERIC COMMANDS
#NOTE:  Commands will be executed & parsed as text/regex ONLY if there isn't any valid xml output for that command
(so please check the output of the command with "| display xml" before building the parser or adding it in this file)
generic_commands:
commands: |
show services rpm probe-results | display xml
show isis statistics | display xml
show bgp summary | display xml
show chassis routing-engine | display xml
show pfe statistics traffic | display xml
show system processes extensive
show system buffers
show system statistics icmp | display xml
show route summary | display xml
tags: PE

Hi
One key thing is that each parser file contains a regex-command statement, that regex-command must be unique across al parsers.
I think the problem you had is that somehow the 'show-security-ipsec-statistics.parser.yaml' parser has a regex-command that match with 'show services rpm probe-results | display xml' so the open-nti import both parsers but it only use the last one it import.
Regards

@m4ccbr  is this problem still there?


[OAP-RPMemshuffle] Integration spark 3.0.0

Integrate RPMem shuffle plugin to Spark 3.0.0 formal release

LGTM.


Fixup responsiveness

This CL makes the page a bit more responsive by stacking the contents on smaller screens. Tables are made to fit width for better display.
Fixes an error with the C chained struct output.

Note, this depends on #21 landing first.


Port initial resources docs

Summary

Ported overview (internal preview)
Ported merged dictionaries (internal preview)
Ported resources in code (internal preview)
Ported how to create article; added more examples (internal preview)

Fixes #1025

@gewarren This is being merged into a working branch, the links will be resolved as I get these ready for publishing from the working branch


Internal Improvements

This PR is some simple internal refactoring to make things more flexible, maintainable, etc. - will add more detailed descriptions in each commit

This PR cuts down on some code duplication (in both the validation of the inputs in each sampler and the Kennard Stone algorithm) and makes the internals a little easier to read.


[Header] Blank screen is displayed when user select "Без локації" in a dropdown location item

Environment: Windows 10, Chrome 90.0.4430.85
Reproducible: always
Build found: last commit from https://speak-ukrainian.org.ua/dev/
Steps to reproduce

Go to 'https://speak-ukrainian.org.ua/dev/'
Click on 'location item' dropdowm
Select 'Без локації'

Actual result
The work of the application crashes and a white blank screen is displayed

Expected result
'Без локації' item is available and shows all clubs for all the cities
User story and test case links
"User story #371
Labels to be added
"Bug", Priority ("high"), Severity ("high"), Type ("Functional")

https://github.com/ita-social-projects/TeachUA/issues/392


Display Zone Size & Position in FancyZones Layout Editor

Hi @knchmpgn
thank you for your feedback.
The feature is tracked as part of this issue https://github.com/microsoft/PowerToys/issues/463
Feel free to add your comments there.
I'm closing this one as duplicate.
Thank you.


Issues with repacking voices (Demonbane)

Thanks a ton for this tool. Unfortunately with specifically the voice.npk file (cg and script work fine as far as I can tell) for Demonbane, I am having problems with repacking the voice.npk even when I make no modifications to it at all. There's a mixture of results depending on what exactly I do but either the game is not able to play voices when the line comes up or sometimes it just crashes.
I know this is similar to #30 and #39, so I tried to follow some of the advice there, but unfortunately I was not successful. Here are the two files in the hex editor. The left is the original and the right is the repacked version (but contents unmodified).

A thought of mine was that the SegmentationMode value is the problem. I am passing -SG 0, but it doesn't seem to affect the value. I also noticed the repacked version has a slightly smaller file size for some reason even though the contents should be identical.
If I pass -SG 1 instead (shown below), the outputted file size is exactly the same as the original and now the initial offset matches. The SegmentationMode is still 1 however and it does not work either.

I tried some various -MS values as well, but that didn't seem to change anything about the file. I'm sure I'm doing something wrong here, but I haven't been able to figure it out. Any help would be appreciated.

Let me ask you to extract the repacked npk and check if any file was different of the original ones, if yes we may have here a repack bug.
Also, there are a param that you can test, the -MV can be 1 or 2, try both as well.
The SegmentationMode, when 0 means that the file content is fragmented, and the 1 means the file isn't fragmented, this change internally how the engine read the file content but should automatically set to 0 when it needs to be fragmented.
So it will be naturally 1 when the file is not fragmented and that can be even with -SG 1, because the segmentation is usually only required for bigger files such as videos, when the file is small there are no need to be fragmented, and in that case the SegmentationMode will be 1, that's why it does not change the value when you call with -SG 1.

Using -MV did not seem to make any difference.

Let me ask you to extract the repacked npk and check if any file was different of the original ones

I ran sha256sum on all the files in the extraction from the original npk and the extraction from the repacked one. All of the checksums matched and there were no differences. Just to clarify from my earlier post, it's only some lines that don't play when using the repacked npk not all of them.

try change this line
https://github.com/marcussacana/MwareStuff/blob/a282a0e1efa757b4c96aeb529318e46d2fa99750/NPK3Tool/NPK.cs#L165
to:
 Entry.SegmentationMode = 0;

You can build with visual studio or visual code
if works comment it to me implement a proper fix.

Nice, that works. All I have to do is pass -SG 1. I checked various scenes and all the lines played. I even replaced one particular ogg file to double check it and it finally worked.

Fine, tomorrow I will do a proper update to fix it then.

Fixed with new version, try it if you want.

I can confirm that the new version works. Thanks a lot!


this.userRes.remove   Err SyntaxError: Unexpected end of JSON input

i used http://www.django-rest-framework.org/
// Will make DELETE request to https://domain.net/api/users/1
           this.userRes.remove({id: 1}) // also alias is availabe to this.userRes.delete
               .$observable
               .subscribe(
                   res => console.log(res),
                   err => console.log('Err', err)
               );

when i  DELETE this data,i got a error Err SyntaxError: Unexpected end of JSON input
server return data not json
it return data is null, header is 204,like this:
Request URL:https://<IP_ADDRESS>/users/55/
Request Method:DELETE
Status Code:204 No Content
Remote Address:<IP_ADDRESS>

dear @troyanskiy  ,could help me?
thank you very much

I will need to test that.
It will take time

thank you very much

Empty body bug has been fixed.
Please update the library.

thank you


DOC:All files are scattered

What's wrong with the existing documentation
All files are scattered. Will be arranging all files of html, css,js,images properly within their respective folders.
Add ScreenShots
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hello @sahajoydeep !
I believe this issue is now already resolved on our website.
Keep looking for new issues or go through the existing issues for contributing on our repo.
Happy Coding!! ✨


feat(PX-4058): partner profile page transition

This PR is just a migrating plan from partner2 to partner. We'll start to implement it after its approval. Please take a look into.

[X] 1. New partner profile page https://github.com/artsy/force/pull/7682

replace /partner2 with /partner

[X] 2. Add redirects for the old routes https://github.com/artsy/force/pull/7677
We have to implement a middleware to manage an overlapping redirection logic to the new routes in these files: partner2 routes and partner routes.
The current routes desktop should be redirected in accordance with the next schema:

/:id                              ->  /partner/:id
/:id/overview              ->  /partner/:id/overview -> /partner/:id/
/:id/contact                ->  /partner/:id/contact
/:id/works                   ->  /partner/:id/works
/:id/shows                  ->  /partner/:id/shows
/:id/artists                  ->  /partner/:id/artists
/:id/artist/:artistId      ->  /partner/:id/artists/:artistId
/:id/articles                ->  /partner/:id/articles
/:id/about                   ->  /partner/:id
/:id/collection            ->  /partner/:id/works
/:id/shop                    ->  /partner/:id/works
/:id/article/:articleId  ->  It is shouldn't be redirected. Should be used the current version of the page
Mobile routes:
/:profileId                            ->  /partner/:id/
/:profileId/overview            ->  /partner/:id/overview -> /partner/:id/
/:profileId/artists                 ->  /partner/:id/artists
/:profileId/artist/:artistId     ->  /partner/:id/artists/:artistId
/:profileId/contact               ->  /partner/:id/contact
/:profileId/articles               ->  /partner/:id/articles
/:profileId/shows                 ->  /partner/:id/shows
/:profileId/collection            ->  /partner/:id/works
/:profileId/shop                    ->  /partner/:id/works
/:profileId/article/:articleId -> It is shouldn't be redirected. Should be used the current version of the page

[ ] 3. Metaphisics https://github.com/artsy/metaphysics/pull/3193

update href field for Partner, Profile and maybe https://github.com/artsy/metaphysics/blob/master/src/lib/routing.ts

[x] 4. Update links to the partner page https://github.com/artsy/force/pull/7685
We would like all links to the partner page in the current version of app to use updated routes instead of current to avoid the future redirect logic. We found several places we could update but we're not completely sure if they have to be updated.

desktop:
https://github.com/artsy/force/blob/master/src/desktop/components/article/templates/mixins.jade#L109
https://github.com/artsy/force/blob/master/src/desktop/models/partner.coffee#L31
?? https://github.com/artsy/force/blob/master/src/desktop/models/artwork.coffee#L214
?? https://github.com/artsy/force/blob/master/src/desktop/models/partner_artist.coffee#L12

mobile:
https://github.com/artsy/force/blob/master/src/mobile/components/article/templates/sections/images.jade#L39
https://github.com/artsy/force/blob/master/src/mobile/components/artist_list/template.jade#L5
https://github.com/artsy/force/blob/master/src/mobile/models/show.coffee#L50
https://github.com/artsy/force/blob/master/src/mobile/models/partner.coffee#L32
?? https://github.com/artsy/force/blob/master/src/mobile/apps/articles/routes.coffee#L20
?? https://github.com/artsy/force/blob/master/src/mobile/apps/home/templates/current_shows.jade#L5
?? https://github.com/artsy/force/blob/master/src/mobile/models/artwork.coffee#L58

v2:
https://github.com/artsy/force/blob/master/src/v2/Apps/Purchase/Components/OrderRow.tsx#L68

[x] 5. Remove profile page header and footer https://github.com/artsy/force/pull/7688
We want to remove the header and footer from the old partner page to prevent the possibility of old tabs navigating.
Header:

Footer:

[ ] 6. Remove unused code

This looks good! Thanks for all the research. I haven't vetted it fully but the approach seems right to me. (Pinging @anandaroop as this work is very similar to what we did for fairs-- do you see anything missing?)
The ordering could be changed up a bit:

Since we don't currently have any /partner routes (I don't think!), we could even start by renaming /partner2 -> /partner
Then, adding the redirect middleware will effectively "launch" the page (so we should wait until we're ready to launch to do that step!)
After that, the rest is cleanup.

To answer some of your questions:

Looks like the /about page currently just shows the partner bio, so I think we can redirect to our new overview page (/partner/:id).
For /collection and /shop...

:id/collection is a filtered view on a works page, with some adjustments because we only show this option for institutions.
Similarly, :id/shop is a filtered view on a works page (only showing for-sale works) that is also custom for institutional sellers.
My take on ☝ is that we should redirect to the /works page for both and keep it simple. However, I'd also like to run this by Joh tomorrow when she's back so we can make sure to handle any pushback.

We should also add a last step, which is to delete all of the irrelevant old code. 😄
Things we should track in tickets as follow-ups (not launch-blocking):

Removing that partner-specific "article" view
Updating our sitemap job to point to the new URL
Removing any pre-rendering of these pages that might be happening for SEO

@sweir27 Could you please describe these two points in more detail?

Updating our sitemap job to point to the new URL
Removing any pre-rendering of these pages that might be happening for SEO

@ivan-badyulya / @kiryl-zubarau - can we close this PR?

I think yes! 😄


How to stop?

I launch
bindsym $mod+Shift+Print exec wf-recorder -g "$(slurp)"
how to stop?

Send SIGINT to the process.

this breaks the recordable file and then it is impossible to play it! in fact wf-recorder -g "$ (slurp)" works only from the terminal and ends correctly with the usual Ctrl + c ...
how to assign this to hotkeys? and how to complete correctly so that the recording file does not break?

Ctrl-C is literally SIGINT, are you killing wf-recorder with the correct signal?
Also note I am not using Sway and I do not know how to set this up. But some guys have shared their configurations here: https://github.com/ammen99/wf-recorder/pull/31
Hope this helps.

#31 excellent - it works, thanks


[Event Request] Codeunit 904 - Whse.-Assembly Release - OnBeforeDeleteWhseRqst

Hello AL-Team,
we need a new publisher to set custom fields:
Function [External] DeleteLine(AssemblyLine : Record "Assembly Line")
[...]
    REPEAT
      IF (NOT AssemblyLine2.CompletelyPicked) OR
         (NOT (Location."Require Pick" AND Location."Require Shipment"))
      THEN
        KeepWhseRqst := TRUE; // if lines are incompletely picked.
    UNTIL (AssemblyLine2.NEXT = 0) OR KeepWhseRqst;

  // >> NEW
  OnBeforeDeleteWhseRqst(AssemblyLine2, KeepWhseRqst);
  // << NEW

  IF NOT KeepWhseRqst THEN BEGIN
    IF Location."Require Shipment" THEN
      DeleteWhsePickRqst(AssemblyLine,FALSE)
    ELSE
      DeleteWhseRqst(AssemblyLine,FALSE);
[...]

Publisher definition:
LOCAL [IntegrationEvent] OnBeforeDeleteWhseRqst(VAR AssemblyLine : Record "Assembly Line";VAR KeepWhseRqst : Boolean)
Publisher properties:
IncludeSender: FALSE
GlobaVarAccess: FALSE

Note: implemented as

OnDeleteLineOnBeforeDeleteWhseRqst in BC 14.4
OnBeforeDeleteWhseRqst in BC 15


Delete Repo

This is the bash script to delete a repo by PAT of the user.
Issue No #27

@sahil-sagwekar2652 Is any changes required. Please let me know.
Thanks

Looks good, great work! Please use 'resolves', 'fixes' or 'closes' keyword to reference the issue.


code_transformers dartSdkDirectory not working properly when SDK installed as Debian package

Originally opened as dart-lang/sdk#21225
This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

Install Dart SDK with Debian (deb) package
call dartSdkDirectory method and it returns null

What is the expected output? What do you see instead?
Expected to see /usr/lib/dart as result, but receives null
What version of the product are you using?
Dart VM version: 1.6.0 (Tue Aug 26 13:49:30 2014) on "linux_x64"
On what operating system?
Debian linux (Jessie)
Please provide any additional information below.
The issue is that debian package is installed into the path /usr/lib/dart, but code in dartSdkDirectory detects the dart SDK by dart-sdk subdir. So I see two possible solutions, modify dartSdkDirectory function to detect sdk dir with some more advanced algorithm, or deply dart sdk in Debian package to the /usr/lib/dart-sdk folder.

 Comment by kasperl

cc @blois.
Added Area-Pkg, Pkg-CodeTransformers, Triaged labels.

 Comment by dgrove

Bob - would you be willing to take a look at this?

Set owner to @munificent.

 Comment by kasperl

Issue dart-lang/sdk#21243 has been merged into this issue.

 Comment by sethladd

See also https://github.com/google/stagehand/pull/140

 Comment by sethladd

See https://github.com/dart-lang/bleeding_edge/blob/master/dart/pkg/code_transformers/lib/src/dart_sdk.dart#L22

 Comment by sethladd

This also seems to affect Dart SDK installs via homebrew on Macs.

 Comment by sethladd

Set owner to @sigmundch.

 Comment by munificent

Sure thing.

Removed Priority-Unassigned label.
Added Priority-Medium, Accepted labels.

 Comment by sethladd

See also https://code.google.com/p/dart/issues/detail?id=21783
and https://github.com/dart-lang/homebrew-dart/issues/18

 Comment by zoechi

this seems related too

https://github.com/angular/angular.dart/issues/1270
http://stackoverflow.com/questions/27308501
http://stackoverflow.com/questions/27112722
https://groups.google.com/a/dartlang.org/forum/#!msg/misc/cmbur7_B21Y/uhN5TiXUYwoJ
https://code.google.com/p/dart/issues/detail?id=16994

 Comment by sethladd

We might be able to close this now?
https://codereview.chromium.org//795433002

 Comment by sigmundch

I think so - I just published the changes in code_transformers 0.2.3+2

Added Fixed label.

 Comment by zoechi

http://dartbug.com/20376 looks like a dup


Support filtering datasets by tags

Fix https://github.com/huggingface/huggingface_hub/issues/2265 cc @jacobmarks

Thanks for the review :)

Thanks for the prompt response and updates to the docs @Wauplin ! This is awesome :)


kv-client(cdc): add more logs to help debug slow regions

What problem does this PR solve?
Issue Number: close #9980
What is changed and how it works?
add more logs to help debug slow regions.
Check List
Tests

No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/retest

/check-issue-triage-complete

/retest


Azure OAI in v0.8.63-vscode got Error: Error parsing response body: SyntaxError: Unexpected token 'A', "Authorizat"... is not valid JSON

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: macOS
- Continue version: v0.8.63 and v0.9.245
- IDE version: VSCode 1.96.0
- Model: Azure OpenAI GPT-4o
- config.json:

    {
      "model": "gpt-4o-20240806",
      "contextLength": 128000,
      "title": "GPT-4o",
      "systemMessage": "You are an expert software developer. You give helpful and concise responses.",
      "apiKey": "...",
      "apiBase": "...",
      "apiVersion": "2024-09-01-preview",
      "apiType": "azure",
      "provider": "azure",
      "useLegacyCompletionsEndpoint": false,
      "deployment": "gpt-4o-20240806"
    },

Description
We have our own API server and auth service for Azure OpenAI, the apikey used in the config is actually a JWT (with 2 dots in it to split the header, payload and signature), not sure if something added from 0.8.63 that parses the apiKey and breaks json body.
0.8.63 and the latest prerelease 0.9.245 both have this error, haven't tried any other prerelease versions but suppose to be the same error.
Rollback to 0.8.61 and any versions before are ok without any error.
To reproduce
No response
Log output
ERR [Extension Host] Error handling webview message: {
  "msg": {
    "messageId": "7ffda989-d52d-40a6-9331-c428151fff3b",
    "messageType": "llm/streamChat",
    "data": {
      "messages": [
        {
          "role": "system",
          "content": "When generating new code:\n\n1. Always produce a single code block.\n2. Never separate the code into multiple code blocks.\n3. Only include the code that is being added.\n4. Replace existing code with a \"lazy\" comment like this: \"// ... existing code ...\"\n5. The \"lazy\" comment must always be a valid comment in the current context (e.g. \"<!-- ... existing code ... -->\" for HTML, \"// ... existing code ...\" for JavaScript, \"{/* ... existing code */}\" for TSX, etc.)\n6. You must always provide 1-2 lines of context above and below a \"lazy\" comment\n7. If the user submits a code block that contains a filename in the language specifier, always include the filename in any code block you generate based on that file. The filename should be on the same line as the language specifier in your code block.\n\nExample 1:\nInput:\n.js\nimport addition from \"addition\"\n\nclass Calculator {\n  constructor() {\n    this.result = 0;\n  }\n    \n  add(number) {\n    this.result += number;\n    return this;\n  }\n}\n\nUser request: Add a subtract method\n\nOutput:\n```javascript test.js\n// ... existing code ...\nimport subtraction from \"subtraction\"\n\nclass Calculator {\n  // ... existing code ...\n  \n  subtract(number) {\n    this.result -= number;\n    return this;\n  }\n}\n```\n\nExample 2:\nInput:\n```javascript test.js (6-9)\nfunction helloWorld() {}\n```\n\nOutput:\n```javascript test.js\nfunction helloWorld() {\n  // New code here\n}\n```\n\nAlways follow these guidelines when generating code responses.\n\nWhen using tools, follow the following guidelines:\n- Avoid calling tools unless they are absolutely necessary. For example, if you are asked a simple programming question you do not need web search. As another example, if the user asks you to explain something about code, do not create a new file."
        },
        {
          "role": "user",
          "content": [
            {
              "type": "text",
              "text": "Hi"
            }
          ]
        },
        {
          "role": "assistant",
          "content": ""
        }
      ],
      "title": "GPT-4o",
      "completionOptions": {}
    }
  }
}

Error: Error parsing response body: SyntaxError: Unexpected token 'A', "Authorizat"... is not valid JSON

Looks related to #3388 and #3427 .

Hi folks, thanks for the notice here. Tracking updates to this issue, and other related issues with Azure after the 0.8.63 release, in this thread: https://github.com/continuedev/continue/issues/3477

https://github.com/continuedev/continue/issues/3477#issuecomment-2557668758


Add more languages

Support multiple languages,Such as Chinese
支持多种语言，如中文
感谢

It's on the list for the 4.0 release, but it's a huge effort and might take a while to do

It's on the list for the 4.0 release, but it's a huge effort and might take a while to do

As long as you make the code you need translated publicly available, someone will come to complete the translation work.

As long as you make the code you need translated publicly available, someone will come to complete the translation work.

Yes that is the issue, making the underlying code work with translations

I'll see tomorrow if I can plan it out and start working on it, it will take precedence over held instruments

Ok it took me something like 12 hours of work to extract all the text into a single file, if someone wants to help adding the Chinese translations (or any other translations that is), the file is here:
https://github.com/Specy/genshin-music/blob/Dev/src/i18n/locales/zh/index.ts
Just need to replace the right side of each string with it's translated counterpart, anything inside {{ }} doesn't have to be changed
example:
//original
 delete_song: `Are you sure you want to delete the song "{{song_name}}"?`
//translated (in italian)
 delete_song: `Sei sicuro di voler cancellare la canzone "{{song_name}}"?`

@qaq1000w you can directly change the English one, I made a copy of the English one as reference to translate, @cangerjun seems to be working on the PR to add Chinese in #42,

Something like this? 类似这样？

It seems that a separate file is given for each language, which can be revised by translating the corresponding part. Nevertheless, this issue may not cause much trouble.

@qaq1000w你可以直接改英文的，我把英文的复制了一份作为参考翻译，@cangerjun似乎正在致力于在#42中添加中文的 PR ，

this is good

你把KEY的翻译写成语音高是不对的，key就是曲调的意思，键盘用简谱谢谢。

@qaq1000w你可以直接改英文的，我把英文的复制了一份作为参考翻译，@cangerjun似乎正在致力于在#42中添加中文的 PR ，

this is good

在所有用到key的句子你都翻译成了音高，音高一般是指按键的音高。
然后bpm我认为并不需要翻译，翻译后很不习惯（节拍数很少有人这样讲），

@qaq1000w你可以直接改英文的，我把英文的复制了一份作为参考翻译，@cangerjun似乎正在致力于在#42中添加中文的 PR ，

this is good

在所有用到key的句子你都翻译成了音高，音高一般是指按键的音高。 然后bpm我认为并不需要翻译，翻译后很不习惯（节拍数很少有人这样讲），

我现在没有在弄了

已经合并你的了，我去邮箱中和@Specy 说一下好了

@cangerjun I've merged the changes and published it in the app, if you want to make changes to the translation go ahead, i'm not sure what i'd have to change. I'll also ask reviews of the translation to other chinese users to make sure everything is correct

@qaq1000w你可以直接改英文的，我把英文的复制了一份作为参考翻译，@cangerjun似乎正在致力于在#42中添加中文的 PR ，

this is good

在所有用到key的句子你都翻译成了音高，音高一般是指按键的音高。 然后bpm我认为并不需要翻译，翻译后很不习惯（节拍数很少有人这样讲），

我现在没有在弄了

已经合并你的了，我去邮箱中和@Specy 说一下好了

有道理，这里key指的是调高（主音的音高）也好，还有bpm不用翻译也是。大佬有时间改一下可以嘛（这个是理论水平不够嘿嘿）。

If you find any issues in the translation or parts which were not translated, please let me know here

I added a few more things that need to be translated in here, including instrument names. Could someone translate them?
I also added the flags and put the language selection option in the settings of the composer and player

I added a few more things that need to be translated in here, including instrument names. Could someone translate them?
I also added the flags and put the language selection option in the settings of the composer and player

我已经完成翻译工作，而且在昨天的提交中我上传了一份README-ZH 文件，并且下原版README.me文件中添加了一段切换不同语言文件的代码。
I have completed the translation work, and in yesterday's submission, I uploaded a README-ZH file and added a code to switch between different language files in the original README.me file.

@cangerjun you had translated the instruments name and the other things that needed translation, but you closed the PR, there are still some thing left to translate, could someone finish those out?
I'll publish it live after those are finished

If you find any issues in the translation or parts which were not translated, please let me know here

It seems that the replacement is incomplete?
The drop down menus of note type and instrument remain in English.

What do you say?

Ah right I forgot the "note name type", I'll check later why the instrument aren't being translated

If you find any issues in the translation or parts which were not translated, please let me know here

It seems that the replacement is incomplete? The drop down menus of note type and instrument remain in English. ![图片]
What do you say?

Ok i managed to fix this, it would take a lot of more effort to support adding the translation to "note name type" so for now i'll keep it as it is, i've fixed the instruments translation though

I added those plus a few more in the latest commit, check that commit to know which lines were added and that still need translation

If you find any issues in the translation or parts which were not translated, please let me know here

It seems that the replacement is incomplete? The drop down menus of note type and instrument remain in English. ![图片]
What do you say?

Ok i managed to fix this, it would take a lot of more effort to support adding the translation to "note name type" so for now i'll keep it as it is, i've fixed the instruments translation though

Got it.

 I think it's settled. @ptr2019

Yes, I see.

I added those plus a few more in the latest commit, check that commit to know which lines were added and that still need translation
We are almost there!

Looking on it awa.

Ok so, everything seems to be done, i'll give this a few days to test everything out, if there are no issues i'll publish it

Ok so, everything seems to be done, i'll give this a few days to test everything out, if there are no issues i'll publish it

Nevermind! There are a few more xD look at the latest commit here

I have one more key to add:
how_to_install: "How to add to home screen" //opens the blog on how to install the app to home screen

I was suggested to change those keys here: https://github.com/Specy/genshin-music/commit/4bbd943ad74ee283e491dbad75ea6c1d2da663e9 are they correct? @ptr2019

Yes, some of the wrong translation are corrected ("编辑" for "edit", while "退出" for "exit"), while some of the specific terms in the game are reasonable (e.g., ”屁琴“ as nickname for 低音提琴/”contrabass“. I have consulted on this) .

I have also confirmed that ”变音记号“ is the correct term for "accidental". Again, sorry for the lack of professionalism in music composition area.
To sum up, I have no objection on changing those keys.

Then ”连接“ is a general term appropriate to indicate "connect to something".
Glad to devote my efforts.  It is quite a nice experience~

I've merged the translations to the main branch in commit 15591be, I also published the V3.4 update live (includes the translations)
Thanks for everyone who helped translating!


Copy url button not clickable on mobile

Video:
https://twitter.com/i/status/1568167177915621377
Bom ver-te a construir merdas! MORE SHITY WEBSITES PLEASSSSSEEE

Not that this one is shity. You know what I mean.

Wow, calling my websites shiity
Wow ahahah
Fixed! :D


Issue with shuttle-turbo

Path: /resources/shuttle-turso
When I implement the code snippet in the docs I get the following error at compilation:
error[E0277]: the trait bound TursoOutput: IntoResource<Connection> is not satisfied
--> src/main.rs:17:1
|
17 | #[shuttle_runtime::main]
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait IntoResource<Connection> is not implemented for TursoOutput
|
= help: the trait IntoResource<libsql::database::Database> is implemented for TursoOutput
= help: for that trait implementation, expected libsql::database::Database, found Connection
= note: this error originates in the attribute macro shuttle_runtime::main (in Nightly builds, run with -Z macro-backtrace for more info)
Here is my Cargo.toml:
[package]
name = "chinese-writer"
version = "0.1.0"
edition = "2021"
[dependencies]
axum = { version="0.7.5", features=["macros","form"] }
lazy_static = "1.5.0"
libsql = "0.5.0"
serde = "1.0.207"
shuttle-axum = "0.47.0"
shuttle-runtime = "0.47.0"
shuttle-turso = "0.47.0"
tera = "1.20.0"
tokio = "1.28.2"
tower-http = { version="0.5.2", features=["fs"] }
and my main.rs:
use axum::{
routing::get,
Router,
};
use libsql::Connection;
use tower_http::services::ServeDir;
use shuttle_axum::ShuttleAxum;
mod handlers;
#[shuttle_runtime::main]
async fn app(
#[shuttle_turso::Turso(
addr="libsql://zidian-francisstephan.turso.io",
token="{secrets.DB_TURSO_TOKEN}")]
client: Connection
)-> shuttle_axum::ShuttleAxum {
let router = Router::new()
.route("/", get(handlers::index))
.nest_service("/assets", ServeDir::new("./vol/assets"));
Ok(router.into())

}

Hey there - thanks for letting us know!
This looks like it needs correcting. You need to use libsql::Database as per the updated source code, as using a connection tends to time out if you don't use it for more than 10-15s and cause the connection to not work anymore.

Fixed by #292


[community input needed] Envoy "Phippy" character

Hi all,
We have the opportunity to have an Envoy "Phippy" character created, as in the characters here: https://www.cncf.io/phippy/
The guidelines are here: https://github.com/cncf/foundation/blob/main/phippy-guidelines.md
The TL/DR is we need both an animal and a character name.

The character name must start with 'E'.
The animal name can start with 'E' but doesn't have to. (It would be nice for alliteration reasons.)

As such we are soliciting community ideas for our character name and animal. Animal/character that is somehow related to "networking" is obviously better.
Some ideas proposed so far:

@ggreenway mentions "emu", "eel", and "eagle"
@phlax mentions "edgar"
@alyssawilk likes "echidna"
@keith mentions "elephant"
@phlax also likes "rabbit", and the idea of burrows connecting lots of rabbits
@jmarantz mentions "beavers" and "nautilus"

Feel free to add ideas here in the issue!

Edwige the owl
Reference to Hedwig the owl from Harry Potter. In the Harry Potter world, owls are used to deliver letters.
Crows, pigeons have also been used to deliver letters and messages in the real world (but that doesn't start with an E! Sorry, I just find those relate to networking quite nicely :-) )

Eddie, the "cat"
https://img-9gag-fun.9cache.com/photo/avAxGbb_700bwp.webp

Eddite, the "cat"

I suggest Ellory the Elephant. Ellory is a gender neutral name that means  cheerful and provides some fun alliteration. There's also a wide variety of different art styles that work well for elephants, here are some examples that I think fit well with the other characters:

I like the Elephant, it is related to the network(elephant flow).

im very opposed to using an elephant - it has all the wrong associates - large, big footprint, lots of memory, slow and unwieldy - the reasons why it is a good association for something like postgres
looking through animals that start with "e" im also thinking that we should broaden the search to other animals as the options are too limited and i think the associations of the animal are more important than the first letter
broadly the associations i think we want to convey

connectivity
envoys in the ambassadorial sense
small
lightweight

i also think universality (at least in the globally recognisable sense) is a desirable characteristic. And preferably not an animal with negative or scary associations.
as mentioned in this ticket i am quite keen on rabbits for the reason that they fit with the above associations, and their burrows can connect into larger warrens - which opens the possibility of stories around rabbits acting as envoys between warrens and also passing/exposing information "at the edge"
mostly i think corvids are a bad diea for their scary associations
likewise owls which have strong symbolic association with death altho are also often associated with wisdom and teaching also
pigeons are a possibility as carriers of messages, but im not really seeing an association of messengers connecting in to networks

Old English sheep dog - Emma

Cat - Kate
Because she has many eyes

I'm assigning this to the 11yo granddaughter, because, why not?
My thoughts are that we have to also avoid all prior O'Reilly jacket art
Will check in tomorrow.

Perhaps Egret? Live on every continent, they are migratory, fish in sea and fresh waters (and spend plenty of time hoofing it too). Doesn't appear to be an OReilly mascot either.


fix: numbers in ExpressionField now recognized as such

Description
Numbers in expression fields were getting recognized with a valueType of "integer", which didn't match the expected type of "number", leading to numbers getting turned into generic blank objects.
Task Item
fixes #3366
Screenshots

Coverage increased (+0.01%) to 53.247% when pulling 572f96ea3ca561c46b4d19ac40b98824468b6823 on beyackle/fixNumberValue into eea273423512f7b1fb3b7a0290db8ba99b395d76 on main.


New Resource MSFT_TeamsMessagingPolicy

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

This change is

Codecov Report

Merging #285 into Dev will increase coverage by 0.11%.
The diff coverage is 97.43%.

@@            Coverage Diff             @@
##              Dev     #285      +/-   ##
==========================================
+ Coverage   88.02%   88.14%   +0.11%
==========================================
  Files          67       68       +1
  Lines        6139     6217      +78
  Branches       10       10
==========================================
+ Hits         5404     5480      +76
- Misses        725      727       +2
  Partials       10       10

Impacted Files
Coverage Δ

...eamsMessagingPolicy/MSFT_TeamsMessagingPolicy.psm1
97.43% <97.43%> (ø)

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 c71dfc3...15931c6. Read the comment docs.


Add React Router

@jvcjunior what version react-router do you want ?

@BrianCortes we intend to use the latest version

@italopessoa I will try to add react router 4 🥇

Cool! Feel free to contact us on gitter :)

@italopessoa, @jvcjunior  I have a problem when I am trying to do a commit

@BrianCourtes

Use double quotes;
Put a space between the parameter (-m) and the message;
You must use a "change type", like "feature: " or <config: ".

Fix these and you'll be fine.
Happy for your contribution, btw.


Clean up release YAMLs before publishing them

ko tends to replace manifests which didn't pass a filter (label selector) with null documents:
apiVersion: myapi/v0
Kind: Example

---
       # <-- this is a null document, e.g. where a CRD used to be
---

---

---

apiVersion: myapi/v0
Kind: Example

---

# ...

It also keeps all license headers while concatenating manifests:
# Copyright 2021 TriggerMesh Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");

apiVersion: myapi/v0
Kind: Example

---

# Copyright 2021 TriggerMesh Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");

apiVersion: myapi/v0
Kind: Example

---

# ...

Both of them are harmless, but since we treat this output as release artifacts, we could as well keep them readable by cleaning up these unnecessary parts:
# Copyright 2021 TriggerMesh Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");

apiVersion: myapi/v0
Kind: Example

---

apiVersion: myapi/v0
Kind: Example

---

# ...

Closing because not important.


Replaced LoadBalancer services with ClusterIP (default)

Fixes #104

@pranavgaikwad :+1: Good one, this should avoid the services taking too long to be removed and avoid random failures when velero attempts to restore in the same namespace


unnecessary computed

Version
2.5.17
Reproduction link
https://codesandbox.io/s/0mn6735xw0
Steps to reproduce
When a Computed property is based on dependency which is only a property of an Object.
It just like this:

An Array, a = [1, 2 ,3]
Computed test property return a[0]
Every time, this Array changed(push/unshift/pop...deep watch), computed test will run even this value of test never change.

Please see codesandbox demo (https://codesandbox.io/s/0mn6735xw0) for more infomation.
What is expected?
this computed should be cached
What is actually happening?
unnecessary computed

Normally, it's not a big problem.
It's huge when you try to compute and render large data like stock data which is an Object.
I did some job to try to resolve this problem.
https://github.com/chiaweilee/why-did-you-computed

Well, I believe it's also a problem of project writer. Maybe we should not write code like this, we have better way to use property.

See #5776, this should be resolved by the new reactivity system in 3.0

Helpful! Thanks.
Indeed, It is not easy to resolved.

I am tring to do this:
transform the computed property into a FP like function, which work like this:
$computedTest () {
  return $transform(this.dependencyA, this.dependencyB, ...)(function (A, B) {
    ... // compute here
    return $result
  })
}

This transform base on FP which use same arguments got same result
Result cached(use tag of function and arguments)
Return cached if exist(avoid compute)

It works for my project which did a lot of computes of stock data.

Closing as this cannot be implemented with Object.defineProperty


docs(index)📝: Add Bible study rotation schedule section to documentation

Introduced a new section for the Bible study rotation schedule.
Provided a link to the Google Docs for easy access to the schedule.

🚀 Deployed on https://deploy-preview-47--cbcgb-com-sgbs-training.netlify.app

@cy93lin please feel free to merge!


Improve Logout Functionality

Motivation
Detail in https://github.com/aerogear/aerogear-android-sdk/issues/96
Improves usage experience for - https://github.com/feedhenry/mobile-security-android-template/pull/36
Description
Adding a callback for the logout function so it lets the user know if the logout has succeeded or not.
Progress

[x] Add Logout Callbacks https://github.com/aerogear/aerogear-android-sdk/pull/118/commits/8b08cbe4201d0f65fd5dca69f420a55a9852b6a3
[x] Update Example App to use Logout Callbacks https://github.com/aerogear/aerogear-android-sdk/pull/118/commits/8b08cbe4201d0f65fd5dca69f420a55a9852b6a3
[x] Expose a deleteTokens() function to handle offline logouts or other. https://github.com/aerogear/aerogear-android-sdk/pull/118/commits/7bf77a429580c2553a9c197244985e0665328237
[x] Update Docs https://github.com/aerogear/aerogear-android-sdk/pull/118/commits/bbbebe60de80b03fd2953ea46879833c38dcbd75
[x] Create logout test. https://github.com/aerogear/aerogear-android-sdk/pull/118/commits/62ca6bbdad72aba2e530f56062adaad87993ae8e

Additional Notes
Updated the Callback interface so that onSuccess can be called without the requirement to pass some data.

@secondsun Updated the test. Ok to merge?


Changed compiler:compile to javafx:compile

If you want to run with javafx:run you have to compile it with javafx:compile. You will get an error if when you compiler:compile and then javafx:run.

javafx:compile task is no longer available in javafx-maven-plugin.


Carthage installation

Please add Carthage as a way of installing SwiftyOnboard!

Hi,
Some are articles to help you:

Ruthlessly Simple Dependency Management with Carthage
Carthage Tutorial: Getting Started
Making Carthage-compatible Frameworks with Swift
Creating Cross-Platform Swift Frameworks for iOS, watchOS, and tvOS via Carthage and CocoaPods 👍

On your README.md add   on top and add section for the installation with Carthage.

Carthage has been added :)


the sound is played twice the same time

I use audioplayers: ^0.17.0  ,
the sound is played two times at a time, is this a bug or just because i use an emulator ?
Flutter doctor result ;
N:\Flutter\wmwt_app>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 2.0.1, on Microsoft Windows [version 6.3.9600], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.0)
[√] Connected device (3 available)

• No issues found!

This is my code :
AudioCache player = AudioCache();
String sound = 'audio/sound1.wav';
play() {
  player.play(
    sound,
    mode: PlayerMode.LOW_LATENCY,
  );
  print('play sound 1');
}

This is the message in terminal :

I/flutter (14246): play sound 1
D/WSP     (14246): Reusing soundId 1 for /data/user/0/com.flutterapp.wmwt_app/cache/audio/sound1.wav is loading=false xyz.luan.audioplayers.WrappedSoundPool@93b2349
I/flutter (14246): play sound 1
D/WSP     (14246): Reusing soundId 1 for /data/user/0/com.flutterapp.wmwt_app/cache/audio/sound1.wav is loading=false xyz.luan.audioplayers.WrappedSoundPool@664744e

Thank you

Your log shows that your play method is been executed twice, so this isn't likely to be an issue with Audioplayers, but somewhere in your code where the method has been called more than one time.
Also, you should update to 0.19.0, there were quite a lot of fixes between those two version.


LocalValueVariable: Provide backwards compatibility for SQL-ish data source

Provides a fix for SQL data source queries used in a repeated row scenario (discovered when dogfooding dashboard scene for viewers). The root cause problem lies in the SqlDatasource implementation which relies on variable.multi and vairbale.includeAll  to format the string correctly.
This PR brings two  properties to the LocalValueVariable. Marking them as ommited in LocalValueVariabel for a reason being LocalValueVariable is used ONLY in the repeats scenatio which assume a variable being a multi one.
@zoltanbedi  I would love to fix this in SqlDatasource as the dependency there on the multi/include all sounds not solid - think about a single value variable that has include all option enabled, but not selected. How does formatted the value differs in such a scenario compared to selecting the same option selected from a variable without include all enabled? In the firs scenario the value will be wrapped in '' while in the other it won't.

📦 Published PR as canary version: 2.0.1--canary.549.7667651026.0

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

@dprokop are you going to fix this or should we?


fix(rewarded-ad): wrong signal when load ad failed

This fix wrong signal fire when reward ad failed to load.

Thank you so much!
As I can see your change is correct, I will just test it in a few hours and approve if works.

Yes, i just randomly figure it out when i use a toast to show "No video available" and without the fix, when turn the internet off and open the app. The toast just popup crazily. kk

Thank you, this should be fixed at #4 but was strangely unresolved


Simple Example

We need a simple NodeJS v3 example. I'm sure it's somewhere in the HUGE folder of examples... The search continues...

Hello @wayofthefuture,
The simplest examples are here: https://github.com/sendgrid/sendgrid-nodejs
What endpoint(s) are you interested in?
Thanks!

@thinkingserious Same here... Struggling with this for about one hour.
The docs should contain a really simple/minimal example.

@IonicaBizau,
I'm sorry to hear that.
Did you use the examples in the README? Where did you look?
With regards to the mail helper, we have on our roadmap to make it more user friendly. I've added the votes on this thread to that task so that it may climb higher in our queue.
I'm going to close this ticket and point you here for tracking: https://github.com/sendgrid/sendgrid-nodejs/issues/252
Thanks!

@thinkingserious Great, I commented there. In fact, I really liked they way how 2.0.0 was working.

@IonicaBizau,
We like how 2.0.0 was working too. We will get back to that level of ease of use soon, especially given all the great feedback the community has been giving us.
Thanks again for taking the time to let us know your thoughts.

@thinkingserious What it was confusing, too, was the fact that the first result for sendgrid nodejs example is the version two: https://sendgrid.com/docs/Integrate/Code_Examples/v2_Mail/nodejs.html
That's definitely not compatible with 3.x.x, but there is no big alert like:

⚠  This is using version 2.x.x or something.**

What is missing in the current version is just a nice high level function which receives the human readable properties and does its job in a nice way (like client.send was doing). 🚀

@IonicaBizau,
Excellent! I've let our documentation team know.
The high level function is coming, It will be implemented in the mail helper.


OpenAPI mismatches

@benbierens since it is in Done&Merged in the project, I assume we can close this. If not please reopen.

I don't know, but I have also discovered some inconsistencies which I have fixed here: https://github.com/codex-storage/nim-codex/pull/886
I guess we just need to play with the API more to discover more issues ;-)

I can just throw away my customizations in the dist-tests and run only with the openAPI spec. Then we will know very quickly if it's correct! :D


Fix otherMetricsDataTTL config not working

Please answer these questions before submitting pull request

Why submit this pull request?

[x] Bug fix

[ ] New feature provided

[ ] Improve performance

Related issues

Bug fix

Bug description.
There is no setter of otherMetricsDataTTL method in StorageModuleElasticsearchConfig.This can lead to dayMetrics only stored 2 days default.
See https://github.com/apache/skywalking/issues/4388
How to fix?
Add setter annotation.

New feature or improvement

Describe the details and related test reports.

Please make your commit log clear. Such as creating a new branch from the latest upstream master.. And why we need the setter?


Review UI

Report flag on project detail page should be red
Pop up on what the report flag does and a form and what the form is for
change the UI elements for the edit and delete buttons on the project details

plan to get outsourced, from kesler and shannen

use the close beta testers to do this


Add element to group indices by their corresponding values

Jelly Ġ.

Should this be a digraph or placed onto a monograph of some sort?


feat(rest): Add unique user-agent to requests

Closes #44.
Exemple: figmarine-rest/git (node v22.10.0 runtime)

Codecov Report
Attention: Patch coverage is 66.66667% with 10 lines in your changes missing coverage. Please review.

Project coverage is 78.68%. Comparing base (0199e80) to head (3be71ce).

Files with missing lines
Patch %
Lines

packages/rest/src/interceptors.ts
65.51%
9 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
- Coverage   80.00%   78.68%   -1.32%
==========================================
  Files          16       16
  Lines         275      305      +30
  Branches       66       77      +11
==========================================
+ Hits          220      240      +20
- Misses         48       57       +9
- Partials        7        8       +1

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

:tada: This PR is included in version 1.0.2 :tada:
The release is available on pnpm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.3 :tada:
The release is available on pnpm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Question: Adding a proof key and signature

Hello,
I've watched the video with some overview of IdentityServer and posibilities with token called pop token. And there was interesting schema how implement this type of pop token.
Is it possible to get some examle or some points around this area - pop tokens - for IdentityServer4 and .NET Core?

https://speakerdeck.com/leastprivilege/mobile-applications

We don't have pop token support in IdentityServer4 since the attitude on way proof of possession has changed (and the PoP spec was never finalized). The new spec uses the HTTP token binding spec, and they are not yet finalized either.


Improve formatting in router README

Just to make things a little more readable so bullet points are separated compared to being a run-on paragraph

Thanks!


Downloading an Image

Hello there,
Is it possible to download an image ( not a screenshot, an actual image from a site ) and save it locally from puppeteer and how?
If not -> request feature ;)
thanks ?

You can get image href and then simply GET it with request from Node.

See https://github.com/GoogleChrome/puppeteer/issues/299#issuecomment-328295644

@Nicolas-vrcc how about this?
don't forget to require fs
var viewSource = await page.goto('http://bolawow.com/wp-content/uploads/2018/02/fcsm-bilbao-1.jpg');
fs.writeFile("./anu.jpg", await viewSource.buffer(), function(err) {
    if(err) {
        return console.log(err);
    }

    console.log("The file was saved!");
});

is there any way to do this download directly without navigating to a different page?

@zwhitchcox new page , download then close?
Or using request like previous comment ?

I found this link that probably would help. It makes use of the 'DevTools Protocol' available in puppeteer.

Thanks, @shrotavre, I didn't know about element.screenshot, and I was just screenshotting the image manually.
Unfortunately, security's really tight on this site (I'm not doing anything nefarious), so that's the only solution that works.

@sonyarianto , sometimes these images are webp/RIFF-images even if the url indicates '.jpg' and etc. But simple image conversion for the buffer can help:
sharp = require('sharp'); ... let bufferJpg = sharp(await viewSource.buffer()).toFormat('jpg').toBuffer() ...

doesn't work with bigger images though.
https://effigis.com/wp-content/uploads/2015/02/Airbus_Pleiades_50cm_8bit_RGB_Yogyakarta.jpg
UnhandledPromiseRejectionWarning: Error: Protocol error (Network.getResponseBody): Request content was evicted from inspector cache

and hangs on https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4

@Nicolas-vrcc how about this?
don't forget to require fs
var viewSource = await page.goto('http://bolawow.com/wp-content/uploads/2018/02/fcsm-bilbao-1.jpg');
fs.writeFile("./anu.jpg", await viewSource.buffer(), function(err) {
    if(err) {
        return console.log(err);
    }

    console.log("The file was saved!");
});

This is a good solution for most images! 👍
But when the response has the HTTP header content-disposition, Chrome would close the page before response.buffer() resolve and the file would not be emitted to file as expected.


Bluetooth: Host: add hci error to errno translation for INVALID_PARAM

when checking return values of functions like bt_le_scan_start, one would assume to get -EINVAL when supplying Invalid parameters. the current implementation just spits out -EIO, which can be very misleading.

@CodingGhost thanks! Note that you don't need to close the PR and open a new one to fix issues found by CI (e.g. the failing Compliance Check). I assume this is what happened with
#66444. Just use git push --force to your original PR branch.

Thanks for the hint, I made that PR from the web UI, as I was on a PC where I didnt have the repo checked out, thought it would save some time but seems like its the opposite, as I have to clone it now anyways to force push as you said because my commit message is too long😅


window::Event::FileDropped & window::Event::FileHovered are not working on Wayland

Is your issue REALLY a bug?

[X] My issue is indeed a bug!
[X] I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.

Is there an existing issue for this?

[X] I have searched the existing issues.

Is this issue related to iced?

[X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?
File Drag & Drop events of window work on X11 but not on Wayland.
OS: Fedora 40 GNU/Linux
DE: Gnome 46
Version: iced 0.12
What is the expected behavior?
File drag & drop should work on Wayland too. window::Event::FileDropped & window::Event::FileHovered should be generated.
Version
crates.io release
Operating System
Linux
Do you have any log output?
No response

It's unimplemented in winit: https://github.com/rust-windowing/winit/issues/1881 (so it's blocked on it)
It should have Platform-specific notes though (both in winit and iced)


added option for cmp popup row offset

Behavior Before

Behavior After

this can already be done by in the config


feat: cast send --create

Previously, cast send would not allow for an optional to, which would preclude people from deploying raw bytecode. This addresses it in the same way that cast estimate --create works. Also refactors the cast send logic to a separate file.

Works like a charm! Thank you @gakonst

thank you sirs

Could anyone provide and example how to use it ?
`
cast -V
cast 0.2.0 (d94e3c6 2024-04-01T00:19:33.859963491Z)
cast send --create 0x60806040526004600655348 "constructor()" --private-key $SK
error: unexpected argument '--private-key' found
cast send --create 0x60806040526004600655348 --private-key $SK
error: unexpected argument '--private-key' found
`

Could anyone provide an example how to use it ?
cast -V
cast 0.2.0 (d94e3c6 2024-04-01T00:19:33.859963491Z)

cast send --create 0x60806040526004600655348 "constructor()" --private-key $SK
error: unexpected argument '--private-key' found

cast send --create 0x60806040526004600655348 --private-key $SK
error: unexpected argument '--private-key' found

Additional args must come before the bytecode and the bytecode must immediately follow the --create flag. The following will work:
cast send --private-key $SK --create 0x60806040526004600655348


Possible Windows 11 incompatibility

Hey dude!
Loved your project. I wanted to install it, but for some reason, when running boot.bat, I get the following screen in the vcxsrv server display:

Even after clicking cancel, the desktop environment won't show up,
although the distro clearly works fine through the terminal.

I may have to tweak something in the bashrc file, but I'd like to know if this happens because I'm running Windows 11 or not.
Have a good one.

Update: Tried modify some stuff on the bashrc file, and when executing gnome-session, I get the "Oh no! Something has gone wrong." message.
Tried to install it on a Windows 10 machine, still didn't work. Would love to know if someone managed to get this to run first try.

i have this issue right now.
before windows update, I can run this distro smoothly
but after 24H2 update, i can't display into xserver anymore.
I believe this because XDG runtime, but I cannot repair it.
I wonder if the dev can do something.

i have this issue right now. before windows update, I can run this distro smoothly but after 24H2 update, i can't display into xserver anymore.
I believe this because XDG runtime, but I cannot repair it. I wonder if the dev can do something.

feels bad man, bc it'd be great if it worked right off the bat. btw, could you help me in displaying it through the xserver? I'm still on 23H2, so perhaps it still works for me but I just configured it wrong.

btw, could you help me in displaying it through the xserver?
sorry I can't help much. I just followed the instruction and succeded at the first place


Ignoring the Spirit of a rule is detrimental to your cause.

From kruug🐉 :
There needs to be a realization between the difference of the spirit of a rule and the letter of the rule. Distro-agnostic issues should be allowed to be discussed, even if the person asking for support is on an unapproved distribution. If the problem is found to be because they're using such a distribution, fine. But ignoring valid issues because they happen to currently be on the wrong flavor isn't good.

We don't. They can ask for help on a supported distro if it happens on all distros

You do, and you're showing an example of it now.

"We don't, but we do because..."
That's your rebuttal.

That doesn't make any sense. You can ask for help on supported distros, you cannot ask for help on unsupported distros. It's very simple.

But the issue isn't always related to the specific distribution.

Yes, and once that issue happens on a supported distribution, they can ask for help with it.

Okay, it's obvious you're stuck in your ways.  Feel free to close this.


React Native example

we should probably add RN example to https://github.com/facebook/jest/tree/master/examples
I get asked about it a lot
cc @davidbrear

For the sake of conversation, I've created https://github.com/DavidBrear/jest-react-native-demo which attempts to use jest, react-native-mock, and enzyme but something has been odd because shallow rendering does not create the element with any properties.

I'll focus on this next week with the release of Jest 14. We are skipping 13 because we are superstitious. cc @zpao.

Any updates on this issue? I'm having trouble with using Jest and Enzyme as well.
Runtime Error
  - Error: Cannot find module './package' from 'index.js'
        at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:197:17)
        at Runtime._resolveModule (node_modules/jest-runtime/build/index.js:304:32)
        at Runtime._getNormalizedModuleID (node_modules/jest-runtime/build/index.js:465:31)
        at Runtime._shouldMock (node_modules/jest-runtime/build/index.js:511:27)
        at Runtime.requireModuleOrMock (node_modules/jest-runtime/build/index.js:263:14)
        at Object.<anonymous> (node_modules/enzyme/node_modules/cheerio/index.js:11:19)
        at Runtime._execModule (node_modules/jest-runtime/build/index.js:352:17)
        at Runtime.requireModule (node_modules/jest-runtime/build/index.js:202:14)
        at Runtime.requireModuleOrMock (node_modules/jest-runtime/build/index.js:266:19)
        at Object.<anonymous> (node_modules/enzyme/build/ReactWrapper.js:17:16)

I've got a working project setup (with enzyme), but I had to put an interesting hack in place for anything using the fetch API.  I have no clue why.  I'd appreciate any guidance.  https://github.com/astraldragon/riki

Thank you for your patience. We launched Jest 14.0 with experimental react-native support:

Blog Post
React-Native Tutorial

Please feel free to create new issues after trying out the new integration if any issues remain.


Installing groups of plugins with one command

There doesn't seem to be a neat way to add/update plugins on a server based on an S3-bucket using the encapsia_cli
e.g. we have the latest releases in the "production" S3 Insight folder(s) which I want to install onto a server.
Something like
$ encapsia --host encval-v15-uat plugins --s3-bucket encapsia-plugins/cmedcro/standards/production/insights install

I'd prefer an explicit option, similar to --versions and --lastest-existing (which is a bit off-key, maybe):
$ encapsia --host foo --s3-bucket path-to-s3 install --latest-available

or --all-from-s3 or similar.


Enable sawtooth process statistics in telegraf

Enable sawtooth process statistics in telegraf, these can be then
tracked in grafana.
Signed-off-by: S m, Aruna<EMAIL_ADDRESS>

See also Grafana support added to Raft PR #542
https://github.com/hyperledger/sawtooth-raft/pull/54


Error during installation of elixir

Im trying to install elixir using kiex, but im getting this error:
➜  ~ kiex install 1.4.4
Downloading elixir version 1.4.4
Installing elixir version 1.4.4
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
warning: refname 'v1.4.4' is ambiguous.
fatal: A branch named 'v1.4.4' already exists.
warning: refname 'v1.4.4' is ambiguous.
Switched to branch 'v1.4.4'
From https://github.com/elixir-lang/elixir
 * tag                   v1.4.4     -> FETCH_HEAD
Already up-to-date.
cd lib/elixir && "/home/diego/.kiex/builds/elixir-git/rebar" clean
Uncaught error in rebar_core: {'EXIT',
                               {undef,
                                [{crypto,start,[],[]},
                                 {rebar,run_aux,2,
                                  [{file,"src/rebar.erl"},{line,163}]},
                                 {rebar,main,1,
                                  [{file,"src/rebar.erl"},{line,58}]},
                                 {escript,run,2,
                                  [{file,"escript.erl"},{line,760}]},
                                 {escript,start,1,
                                  [{file,"escript.erl"},{line,277}]},
                                 {init,start_em,1,[]},
                                 {init,do_boot,3,[]}]}}
make: *** [Makefile:116: clean] Error 1
Uncaught error in rebar_core: {'EXIT',
                               {undef,
                                [{crypto,start,[],[]},
                                 {rebar,run_aux,2,
                                  [{file,"src/rebar.erl"},{line,163}]},
                                 {rebar,main,1,
                                  [{file,"src/rebar.erl"},{line,58}]},
                                 {escript,run,2,
                                  [{file,"escript.erl"},{line,760}]},
                                 {escript,start,1,
                                  [{file,"escript.erl"},{line,277}]},
                                 {init,start_em,1,[]},
                                 {init,do_boot,3,[]}]}}
make: *** [Makefile:69: erlang] Error 1
Problem with Elixir build.  Aborting!
Please report via https://github.com/taylor/kiex/issues/new

I'm getting something quite similar. When I try to install 1.2
Downloading elixir version 1.2
Installing elixir version 1.2
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
fatal: A branch named 'v1.2' already exists.
Switched to branch 'v1.2'
Your branch is up-to-date with 'origin/v1.2'.
From https://github.com/elixir-lang/elixir
 * branch            v1.2       -> FETCH_HEAD
Already up-to-date.
/home/ubuntu/.kiex/bin/kiex: line 614: make: command not found
/home/ubuntu/.kiex/bin/kiex: line 617: make: command not found
Problem with Elixir build.  Aborting!
Please report via https://github.com/taylor/kiex/issues/new

@diegobernardes - you do not have Erlang built with crypto support. How are you installing / building Erlang?
@ybur-yug - you need to install make  - make: command not found

@lukebakken nvm, did a fresh install on my computer, everything with the lastest version and now its working. Erlang was installed from Kerl.

I am having the same issue here doing a fresh install using Kerl (from homebrew) to install Erlang 20.0 and Elixir 1.5
Installed kiex from command line on master when latest commit was https://github.com/taylor/kiex/commit/84d97a270d560de74275686c80f1d77f13826cab
Running on a macOS Sierra 10.12.5


fix(can): CAN device to always seek recovery

with the introduction of a new thread, the CAN state is polled regularly to ensure that the device will always seek recovery. The callback feature used in the past doesn't seem to be reliable.
fixes ORBP-185

Can you check the failed build pipeline @fouge?
region RAM' overflowed by 1268 bytes`

There are quite a few thread stack sizes defined in https://github.com/worldcoin/orb-firmware/blob/main/main_board/include/app_config.h
Which ones of them have been tuned? Maybe we can shave off a few kB by tuning some of them or even removing some threads?

There are quite a few thread stack sizes defined in main/main_board/include/app_config.h Which ones of them have been tuned? Maybe we can shave off a few kB by tuning some of them or even removing some threads?

If we find ourselves struggling for memory, we could potentially merge thread from https://github.com/worldcoin/orb-firmware/blob/main/main_board/src/temperature/sensors/temperature.c#L476 and https://github.com/worldcoin/orb-firmware/blob/main/main_board/src/power/battery/battery_ruby.c#L32, gaining 2048 bytes. But I think this would hurt the code readability and clear modularization, so for now maybe it's better to just tune the statically allocated sizes.

FYI @sri9311 @Qbicz
Zephyr has a target named ram_report (and rom_report as well), which helps to find which symbols are using a lot of RAM and can be reduced. It helped me find that RAM allocated for ISO-TP TX messages is just huge for our use case, so I was able to reduce it :)
there is also the puncover target.
let's merge https://github.com/worldcoin/orb-firmware/pull/109 before we merge that one.

FYI @sri9311 @Qbicz Zephyr has a target named ram_report (and rom_report as well), which helps to find which symbols are using a lot of RAM and can be reduced. It helped me find that RAM allocated for ISO-TP TX messages is just huge for our use case, so I was able to reduce it :)
there is also the puncover target.
let's merge #109 before we merge that one.

Omg puncover is gold, with Stack Worst Case Scenario analysis
You can merge #109 and rebase on it :+1:


HV-1363 : custom property selector

Allows to validate entities not following standard java bean convention (see HV-1363) via pluggable interface.
This PR is intended to start a discussion and review. Work is not yet finished (so please don't merge).
So far I have the following questions  :

PropertyAccessorSelector interface. Does it have too many / too little methods ?
What about reverse lookup ( string -> method ) :

Member find(Class klass, String property)

which is used in TypeConstraintMappingContextImpl ?

Not really sure how to pass ExecutableHelper to DefaultConstraintMapping (see ConfigurationImpl) since the former is instantiated in ValidatorFactoryImpl but the later is needed to construct metadata. Obviously both need to share same instance of ExecutableHelper.

I have purposefully omitted docs and unit tests until we agree on API and implementation.
Please forgive any inaccuracies I'm not, yet, fully familiar with whole codebase  .

Can one of the admins add this person to the trusted builders? (reply with: "add to whitelist" or "ok to test")

ok to test

Hey @asereda-gs, thanks a lot! We're going to look into this ASAP.

As you will notice, most of the code is passing ExecutableHelper as dependency. I'm not sure if there is a less verbose way.

Hey @asereda-gs, @gsmet, where are we with this one? Did you have a chance to explore the alternative SPI approach discussed above?

Sorry I got side-tracked with other stuff. Should resume work on Property model shortly.

@asereda-gs cool, thanks for the heads up. Feel free to ping us to discuss the design more in depth if you need any help!

Closing this one. @marko-bekhta is working on the new approach suggested by Gunnar.


npm 3 support for running website locally

Mostly cross-linking to this issue on the react-page-middleware, but I found the bug by trying to run the website locally to see what an update to docs looks like.
But just FYI, that you cannot npm start in the website/ directory to start a local server of the website with npm 3.

Good to know, thanks for reporting! I probably won't get to this any time soon (lots of other issues, conference, PTO).

I still have Node 4 and npm 2.7.1.

@ide Have you tried using npm 3 for RN development in general? What will we have to change? E.g. the shrinkwrap file, what else?

I haven't tried npm 3 for building the website. For general development I believe it works already. Not sure how shrinkwrap affects the behavior of npm 3's deduping of packages, however.

OK, thank you!

I still have the issue when running website locally (current react-native master)
OSX 10.11.1
<EMAIL_ADDRESS><EMAIL_ADDRESS>Index page works well but any /docs page generate error
Connect
500 Error: TypeError: Cannot read property '__reactAutoBindMap' of undefined

    at ..mypath../react-native/website/node_modules/react-page-middleware/src/guard.js:27:12
    at onOutputGenerated (..mypath../react-native/website/node_modules/react-page-middleware/src/index.js:96:9)
    at Object.renderReactPage.done (..mypath../react-native/website/node_modules/react-page-middleware/src/DefaultRouter.js:345:7)
    at renderReactPage (..mypath../react-native/website/node_modules/react-page-middleware/src/renderReactPage.js:130:17)
    at renderComponentPackage (..mypath../react-native/website/node_modules/react-page-middleware/src/DefaultRouter.js:331:3)
    at routePackageHandler (..mypath../react-native/website/node_modules/react-page-middleware/src/DefaultRouter.js:274:5)
    at onComputePackage (..mypath../react-native/website/node_modules/react-page-middleware/src/index.js:100:9)
    at ..mypath../react-native/website/node_modules/react-page-middleware/src/guard.js:29:10
    at onWarmed (..mypath../react-native/website/node_modules/react-page-middleware/src/Packager.js:270:9)
    at ..mypath../react-native/website/node_modules/react-page-middleware/node_modules/async/lib/async.js:116:25

It does work on
OSX - 10.10.5
npm - 3.3.6
node - v5.0.0

I'm pretty sure #5080 fixed this.


Honda: add Chinese Odyssey FW versions

add a carFW of odyssey_chn

Can you provide a dongle ID for this car?

It’s 3261da310f2a657b

What year Odyssey is this?

What year Odyssey is this?

It’s 2020.

Updated the base branch for you, you were trying to merge into a development branch for the 2022 Odyssey

@MaloneFan Can you get a route on this branch with rlogs uploaded?

@MaloneFan Can you get a route on this branch with rlogs uploaded? We need to update the old test route

I don't know how to do and I don't know what's rlogs. Can you give me a reference? Another, I had try the patch-3 at C3 on my car. But, C3 will show "CAN error: check connections".

All you need to do is install this branch: https://installer.comma.ai/MaloneFan/patch-3, then drive around to get a route. Put your device on WiFi and let me know when this is done. Then we can add your FW versions!

All you need to do is install this branch: https://installer.comma.ai/MaloneFan/patch-3, then drive around to get a route. Put your device on WiFi and let me know when this is done. Then we can add your FW versions!
The route will be public, so try to find a parking lot to drive from and end up at.

I got it, thanks. I installed the path-3 and drove my car today morning( 10/30).  The route path is https://useradmin.comma.ai/?onebox=3261da310f2a657b|2022-10-30--02-25-28

Unfortunately the log files are gone already, so I can't upload them


Match plugin version to Nx Version?

Just leaving this here as an idea. Might be useful to present the plugin (once stable) with versioning to match the Nx version it was built against.

Decided against this. Nx release cadence too rapid. New plugin releases only needed if breaking changes to plugin on Nx side.


opnsense original theme - sidebar hover update

opnsense original theme - sidebar update

@marjohn56
@fichtner
@fabianfrz
the same problem is here!
34 files that not belong to this pr. how can i get them away?

same here - will make it again! -> terrible mess!

Ok.. remember, when you update a branch, do a squash on the commits. That way you should stay out of trouble.

@marjohn56
I have learned again! :-(
thx for your great support again!


TypeScript: Mutation variables argument type is never when using union type

Describe the bug
I have a function performing a server operation.
const serverFn = async (variables: Variables): Promise<Response> => {
  const { data } = await axios.post('/endpoint', variables);
  return data;
};

And Variables type defined like this.
type Foo = {
  foo: string;
  id: 'foo';
};

type Bar = {
  bar: string;
  id: 'bar';
};

type Variables = Foo | Bar;

Essentially, the server expects different parameters based on the id attribute value. Calling serverFn() directly works fine with both variants. The problem is when using the react-query mutation.
const [mutate] = useMutation(serverFn);

const onClick = (): void => {
  mutate({
    foo: 'value',
    id: 'foo',
  });
};

TypeScript will complain that Type 'string' is not assignable to type 'never'. When I display the mutate annotation, I see the following.
const mutate: (variables: never, options: (MutateOptions<Response, Foo, Error, unknown> & MutateOptions<Response, Bar, Error, unknown>) | undefined) => Promise<...>

I thought I need to do some type annotation on my side to fix this issue. However, changing Variables type to a single object (e.g. Variables = Foo) will fix the TypeScript error. This leads me to thinking it's an issue with react-query type definitions.
I am using react-query version 2.5.14.

The new types are released, huzzah!


Add index annotations

Fixes #2

Not ready.. needs to clear on each annotate

This looks good.. thank you for working on this! I'll merge once it's ready :)

Hi @kennym , it is ready after my last commit, am using it already

Thank you @ktaragorn!

Great tnx, is it published to rubygems?