Add support for swift-testing

Support running swift-testing tests the same as XCTests. If a test run has both types, swift-testing tests will be run first followed by XCTests.
First a list of XCTests and swift-testing tests to run is parsed from the test request. Test type is determined by a tag on each vscode.TestItem[], either "XCTest" or "swift-testing".
swift-testing tests are launched by running the binary named PackageTests.swift-testing inside the build debug folder. This binary is run with the --experimental-event-stream-output flag which forwards test events (test started, complete, issue recorded, etc) to a named pipe. The SwiftTestingOutputParser watches this pipe for events as the tests are being run and translates them in to ITestRunner calls to record test progress in VSCode.
There are different named pipe reader implementations between macOS/Linux and Windows.

Command line test arguments still need to be consolidated down to suites if all items in a suite are included in a a test run. Currently all the tests to be run are passed as individual arguments, which can overrun the command line length.

I can tag 0.9 any time, although I've been trying to maintain a beginning-of-the-month cadence.

@grynspan We have a few other things to finish before doing the next release of the extension, so you can probably hold off for a two weeks or so before doing a swift-testing release.


I have a error :(

I have a error. When i type text in Pronounce by yourself: i get ConfigError

Hey could you send a screenshot of your error here and i will take a look at it for you.


Reset Azure Migrate Appliance Configuration Manager - Hyper V

Is there a process to reset the configuration manager and register it to pick up a new migrate project?

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

ID: 0aaa51e6-31dc-a56a-3c63-e5f4ea815ac1
Version Independent ID: a1207bbd-b81a-e6df-0826-876cafa9e5bc
Content: Set up an appliance for Azure Migrate Server Assessment/Migration for Hyper-V VMs
Content Source: articles/migrate/how-to-set-up-appliance-hyper-v.md
Service: azure-migrate
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

Thanks for your comment. We are actively investigating and will get back to you shortly. Thanks for your patience.

@Robbiem06 not sure I understand what "reset" means in this context but I was able to find the following information in the FAQ. let me know if this is what you are referring to. If not, will need your help in clarifying your scenario

We will now close this issue. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.

I also would love the ability to 'reset' Azure Migrate appliance instead of having to reinstall from ovf file


Aurora PostgresQL Schema Backup Failing Due to Case Sensitive Naming

System information:

Operating system (distribution) and version  - Windows 10, 64 bit
DBeaver version   - 6.0.5
Java version  : 8
Additional extensions: None

Connection specification:

Database name and version : Aurora PostgreSQL 9.6
Driver name : Driver 42.2.0.jre7
Do you use tunnels or proxies (SSH, SOCKS, etc)?  Yes

Describe the problem you're observing:
While taking a backup for NossilBI schema, as the schema name has Caps. Can you please update the backup script to consider such exceptions.
pg_dump.exe --format=c -n "NossilBI" --verbose --host=<IP_ADDRESS> --port=51149 --username=postgresusr postgres
Backup started at Mon May 20 12:22:12 EDT 2019
pg_dump: last built-in OID is 16383
pg_dump: no matching schemas were found
Backup finished at Mon May 20 12:22:13 EDT 2019
Process exit code: 1
Steps to reproduce, if exist:
Create Schema with Case Sensitive, Ex NossilBI
Create few tables and views,
Take Backup
Include any warning/errors/backtraces from the logs

pg_dump.exe --format=c -n "NossilBI" --verbose --host=<IP_ADDRESS> --port=51149 --username=postgresusr postgres
Backup started at Mon May 20 12:22:12 EDT 2019
pg_dump: last built-in OID is 16383
pg_dump: no matching schemas were found
Backup finished at Mon May 20 12:22:13 EDT 2019
Process exit code: 1

Thanks for the bug report

verified

Thanks, can you please let me know, when can i use the code to update.


CI is failing on master branch

cc: @unnawut
https://circleci.com/gh/omisego/elixir-omg/tree/master

I am on that @okalouti.

@okalouti @pgebal pls elaborate what both of you are looking at/reporting.
The link is showing failing nightly builds and failing run_load_test_on_deployed_env. I think @pgebal is taking run_load_test_on_deployed_env .
@okalouti are you looking at nightly builds failing?

Sorry for not being precise. I am taking run_load_test_on_deployed_env @okalouti

Hey @InoMurko. I was pointing to the nightly builds failing, yes.

cool @okalouti ! there were some attempts already: https://github.com/omisego/elixir-omg/pull/1287

The part with failed load tests is solved. We decided to switch them off until we come up with a good way on how to run them for build_test_deploy CI pipeline.

macos barebuild sometimes fails, I;ll look into that


Delete old Inventory plugin.

This is the old inventory plugin from many months ago. Since then, inventory has changed greatly. Not sure if this is still needed as it represents technical debt.
CC: @pilhuhn @ammendonca

@pilhuhn Please merge if you agree.

Merged #301.


Timers: Make antipoison/venom timers work off the poison varplayer

This commit allows the poison timer to be much more accurate as it
receives periodic updates from the server, and covers edge cases where
poison may be delayed or cured from sources besides potion clicks.
(banked potion drinks, HP orb "Cure" menu option, etc.)
This commit removes the initialDelay field from GameTimer as the field
was used only to chain antivenom timers into their follow-up antipoison
timers.
Fixes #1471
Fixes #10724

So what is the point of this change? You could've just improved Timers plugin then, instead of adding duplicate functionality

I could've (and probably should've) added it to the timers plugin, but the poison plugin is nothing more than a timer plugin right now as well. The fact there was a poison plugin which already did timers made me add it onto that. The fact it's duplicate came from me forgetting to remove the old antipoison timers.
Other question would be why is the poison plugin a seperate plugin when it's basically a timer plugin?

Timers contains all potion timers, so this should be there

What about just deleting the poison plugin (really why does that even exist?) and then moving this all to timers

Updated PR title to actually explain what it does, and added the timers to the timers plugin again.

Why does this show ~18 seconds for antivenom when the wiki says that antivenom lasts 1 minute?

Wiki is wrong, or antidote++ also protects against venom. Drinking antivenom sets the poison var to 41, and antidote++ to 40.
The randomness comes from the fact the poison cycle stays the same, think of it like stat boosts: if you boost your stats with only 5 seconds left on the counter they'll tick down after those 5 seconds. Antipoison works the same way.

I don't understand your reply. If I drink an anti venom it will show anti-venom timer for maybe a short time (0 seconds, or 3 seconds, or more) and then after that it will change to anti poison for ~11 minutes or so.

If you drink it while poisoned/venomed/with antipoison active there'll be up to 30 ticks less protection than if you drink it without having anything active. This also applies to normal antipoison and poison/venom itself. Sometimes if you get venomed it'll hit almost instantly, that's the same thing happening here.
After the (up to) 18 seconds of antivenom it should change into 12 minutes of antipoison (poison value of -40, like antidote++). I don't really think there's a way to test venom protection other than to ask a jmod for confirmation.

This maybe clarifies what I mean. Quick change to display ticks instead of seconds. As you can see drinking antipoison doesn't change when the poison value changes.

this would likely solve #1471

I've rebased this PR and updated the original post to reflect the (multiple) issues it will close if merged.

This still needs rebase. It may be better if you just open your own PR and take it since the original author is no longer with us.


[Android] Close BLE connection after network commissioning

Problem
For each commissioning flow in the Android CHIPTool, the BLE connection is kept alive indefinitely, even after network commissioning / CASE establishment.
Change overview
Close the BLE connection after EnableNetwork (DeviceProvisioningFragment.Callback#onCommissioningComplete).
Testing
Commissioned and controlled all-clusters-app on m5stack

@chrisdecenzo @jelderton @jmartinez-silabs @LuDuda @mspang @saurabhst ?


New config option: Ignore priorities data

See here.
What change(s) does this PR introduce?
Allow user to ignore Priority data. See PR submitted to fivetran/dbt_jira, linked above.
Did you update the CHANGELOG?

[x] Yes

Does this PR introduce a breaking change?

[ ] Yes (please provide breaking change details below.)
[x] No  (please provide an explanation as to how the change is non-breaking below.)

The package still includes Priority data by default.
Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)

[x] Yes

Is this PR in response to a previously created Bug or Feature Request

[ ] Yes, Issue/Feature [link bug/feature number here]
[x] No

See PR submitted to fivetran/dbt_jira, linked above.
How did you test the PR changes?

[ ] CircleCi
[x] Local (please provide additional testing details below)

Ran on my local Windows machine against Redshift.
Select which warehouse(s) were used to test the PR

[ ] BigQuery
[x] Redshift
[ ] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)

Updated changelog.


[NEW FORMAT RELEASE NOTES]

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[x] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screenshot.

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

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65e57f5c8cd50734e55cee42--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65e9e3f8837adc265c515b34--harness-developer.netlify.app


Add overrideMaterialFillMode property to Mesh

As discussed in forum thread here: https://forum.babylonjs.com/t/add-mesh-overridematerialfillmode/39475/
It seems to work fine for playground /#WX0F9G. The model has 2 meshes, each with bunch of instances, both share same material. The playground example changes overrideMaterialFillMode on the other mesh only.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/13688/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13688/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13688/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13688/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13688/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13688/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13688/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13688/merge#BCU1XR#0

However, I wonder why you put getFillMode on the subMesh, when it is only related to the material and mesh?

Because SubMesh seemed to be the only common factor between all use cases where fillMode is used.
Say, take a look at: https://github.com/BabylonJS/Babylon.js/blob/e787edeef240a3954df881d3710cc2c475e601ea/packages/dev/core/src/Meshes/abstractMesh.ts#L1795
Right now it is pretty short and clear: subMesh.getFillMode(material).
If that was changed to a material method like you suggested then it would be: material.getFillModeForMesh(subMesh.getRenderingMesh()) which is not only much longer but also can create confusion as to which mesh to use.

Instead of adding overrideMaterialFillMode as a direct property of Mesh, you should instead add it inside the _InternalMeshDataInfo structure: this structure was added to overcome the 128 property limitation.

Interesting. I'll take a look if I can figure that out.

What bothers me is that conceptually, fillMode is not related to subMesh, so having the method in the subMesh class doesn't seem right...
Let's see what @sebavan thinks.

Yeah I understand. I was spending quite bit of time trying to think how to do it myself.
A static function would require adding imports everywhere. Mesh or Material submethod requires calling SubMesh.getRenderingMesh() anyway in many cases so it kind of is tied to SubMesh anyway.
Anyway, how I ended up thinking of it is just a @internal helper function. Its not a getter or property tied to SubMesh itself. Just a helper function to get the required fillMode when dealing with SubMeshes. (Like all code parts that used fillMode were)

Pushed a fix for not using _InternalMeshDataInfo and restored the 128 test

I would also remove the scene parameter from it as it is only used once in scene. so we prevent extra checks in all the other cases.

Scene override is used by effectLayer._renderSubMesh() and mesh.render(), so yeah I suppose that is kind of redundant to centralize. Could make more sense if additional render paths that use it are added in future.
I'll go ahead and move the helper function to Mesh and remove that scene arument then.

Ok, did those changes now.
Looks like it gained couple extra .getRenderingMesh() calls. Personally I'm not sure if that is better if it always and only ever uses subMesh renderingMesh for the override anyway..

@MiikaH We gave this one more thoughts with @Popov72 earlier today and we think this could do it https://github.com/BabylonJS/Babylon.js/pull/13708 so instead of adding tons of feedback here I drafted it to discuss the difference before merging.
It is all your code just remapped a tiny bit without the part not related to the rendering (as we figured those info are really geometry based)
What do you think ?


find_or_create methods should create via #create method

As cool as merge is we don't get any callbacks / validations with it

find_or_create_by does this, for what that's worth. I don't remember
where the merge-powered find_or_create came from or what its rationale
was but maybe someone is counting on that? The lack of validations and
callbacks was always a game-killer for me when I tried to use it, so no
objections from me to modifying it.
On Thursday, September 24, 2015, Brian Underwood<EMAIL_ADDRESS>wrote:

As cool as merge is we don't get any callbacks / validations with it
—
Reply to this email directly or view it on GitHub
https://github.com/neo4jrb/neo4j/issues/973.


Update ru_ru.json

Updated to match changes in version 2.3.0-beta.4+1.21.
Translation file slightly reworked to match en_us.
(you can private message me or mention me on discord if you have any questions)

Yeah sorry I haven't finalized the translatable text set for v2.3.0 yet, and several of the existing keys have been changed. Probably best to wait until the release is out fully before PRing an update.

That's what I plan to do, thanks for the answer :)


sasjs flow

The official SAS Job Flow creator is a licensed product and not all clients will have it available.  So we need to create a rudimentary scheduler.  This will take a JSON file as input, and submit all the jobs sequentially, logging the results to an output CSV.
If a job errors, then the flow stops.
The input JSON will look like this:
{
  "name": "myAmazingFlow",
  "flows": {
    "firstflow": {
      "jobs": [
        {
          "location": "/Projects/job1"
        },
        {
          "location": "/Projects/job2"
        },
        {
          "location": "/Projects/job3"
        }
      ],
      "predecessors": []
    },
    "secondflow": {
      "jobs": [
        {
          "location": "/Projects/job11"
        }
      ],
      "predecessors": [
        "firstflow"
      ]
    },
    "anotherflow": {
      "jobs": [
        {
          "location": "/Public/job15"
        }
      ],
      "predecessors": [
        "firstflow",
        "secondflow"
      ]
    }
  },
    "yetanotherflow": {
      "jobs": [
        {
          "location": "/Public/job115"
        }
      ],
      "predecessors": []
    }
  }
}

This will contain a flow with 4 milestones:

firstflow  (triggers 3 jobs at once, runs immediately as no predecessors
yetanotherflow (triggers 1 job, runs immediately as no predecesors)
secondflow (triggers as soon as firstflow is complete and ONLY if the jobs all finish with SUCCESS status)
anotherflow (triggers once firstflow and secondflow are complete, but ONLY if all finish with SUCCESS)

As soon as each job is complete, a CSV file is updated showing hte following attributes:

jobLocation
startTime
endTime
duration (formatted)
logLocation

Syntax:
sasjs flow execute --source /local/flow.json --logFolder /local/log/folder --csvLocation /local/some.csv

I would change the syntax to sasjs flow execute --source /local/flow.json --log /local/log/folder -- /local/some.csv to go inline with other commands

Agreed syntax: sasjs flow execute --source /local/flow.json --logFolder /local/log/folder --csvFile /local/some.cs


Mute which output in generate-ttl.sh

Was printing /usr/local/bin/realpath on Mac. Guess it is not the intention.

That is correct.
Though doesnt this syntax work better? &> /dev/null less logic and all output goes to null

True. What's the best approach for fixing this? a new additional commit or overwriting this one ?

As you prefer, I will squash and merge the commits from the PR if you do multiple ones.
Note that most of the time I am not on a macOS system, so please verify that something works before pushing.

Done. Made sure everything compiles fine from scratch on Mac.

Thanks!


Timeout when copying many log curves 🐛

When copying a lot of mnemonics (around 450 in this particular case), it sometimes fails with a timeout error. The mnemonics were copied to a new log without any existing curves.
"Failed to copy log data." - "The request channel timed out attempting to send after 00:01:30. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout."
It seems like the error is logged from this try/catch in CopyLogDataWorker.cs, which is a part of copying the log header, before copying actual data.

Note: This might be WITSML server-related, as I could not reproduce it with the same log on another WITSML server. If it is server-related we should still investigate why it happens and if it's possible to request a timeout increase from the API.

maybe could be solved by using ETP


Add Native Token Staking Contract

Drop-in sdk.Coins staking contract compatible with cw20-stake. All tests passing. This seems like a cleaner approach than merging the proposal and staking modules.
This makes progress on syncing DAO DAO with the protocol level as referenced in #543. Easiest way to do this while accounting for slashing is by nesting validator staking contracts under a root staking contract.
I also have something that automatically provisions staking reward distributors for any token. At the protocol level it would make airdrops extremely simple.

hello! thanks for the contribution. @mccallofthewild would you mind expanding on what you'd like to use this contract for? i am very happy to review, just curious so i can situate it.
we also have a native token staking contract here: https://github.com/DA0-DA0/dao-contracts/tree/main/contracts/voting/dao-voting-native-staked, though it does not have staking hooks so i could see why this would be preferable. have you seen that one? i'd be interested in your thoughts on if that's worth improving, or if we should replace it with this.

to fix the lint issue:
just lint

to fix the typescript generation:
just gen


multiple_test_classes

we are running the experimental examples of the multiple test classes.

Multiple test classes example
1.Here totally 3 file are there, and file name called data_structures.sv queue.svh stack.svh. In the data_structures.sv file using the packages to developing the codes. and other two files are developed the codes using the class only.

2.In this above file we are passing the test cases using the TEST_BEGIN and  TEST_END macros.
`TEST_BEGIN(handles_zero_input)
`FAIL_UNLESS(factorial(0) == 1)
`TEST_END

3.If you have to run also we will not get output. we are running this file using the runSVUnit -s questa command.
4.More about the macros TEST_BEGIN follow this below link.

2.In this above file we are passing the test cases using the TEST_BEGIN and  TEST_END macros.
`TEST_BEGIN(handles_zero_input)
`FAIL_UNLESS(factorial(0) == 1)
`TEST_END

3.More about the macros TEST_BEGIN follow this below link.

Need more work, will come back to it later when we have time.

Problem
4.If you use this command for running runSVUnit -s questa will not get output.
and it will show like this.

Problem
5.If you use this command for running runSVUnit -s questa will not get output.
and it will show like this.

This is related to packages issue tracked down in #78

This needs more time to complete based on the issue being resolved.


To add poster for kubernetes session to the posters folder

A contribution for the hacktober issue #6
Thank you for letting me contribute, please let me know any changes that need to be made.

A contribution for the hacktober issue #6 Thank you for letting me contribute, please let me know any changes that need to be made.

The poster looks fine to me, thank you for your contribution.
Keep Contributing,
Happy Hacktober


Switch to MaxViewPort for ItemsRepeater

Description

Use MaxViewPort now when EffectiveViewPort changes, instead of the EffectiveViewPort.
Motivation and Context

Closes #418
How Has This Been Tested?

Visited test pages with Repeater on them.
Screenshots (if appropriate):

/azp run

@ranjeshj I'm not sure if we should take this change as an improvement or rejecting until we plan out how we want this to look in the end?

Closing this until we have figured out the right heuristic for all use cases.


Maximum sum subarray

Great work @manishkeshwani please give this repo a star if it really helped you to complete your PR.
Also follow me for follow back if you want to get connected with me for any such open source contribution program. Thank you 😊


Set environment variable when running commands

How would this feature be useful?
Setting an environment variable in the environment of session.run'd commands would allow the child process to know it is being executed by nox and perhaps even what session of nox is being. Personally, I would find this useful when session.runing bash or code (using nox as a development environment manager) so that I can adjust my PS1 with the name of the session I'm in.
Describe the solution you'd like
When running any command with session.run, the command environment is adjusted to set the NOX_CURRENT_SESSION variable with the name of the current session.
Describe alternatives you've considered
It's entirely possible to do this myself using env argument to session.run. However it is something innocuous that takes the burden off the user without considerable maintenance effort.
Anything else?
No response

This seems like a nice enhancement and shouldn't be disruptive to folks. I'd be for this.


DROPMALFORMED should remove rows which do not match the prescribed schema if specified

My understanding of the parsing mode "DROPMALFORMED" means that it should remove rows which do not match the prescribed schema.
With the following table as a test (test.csv):
Name,Age,Height
Bob,10,180
Joe,20.5,200
Tom,30,Dan

And the prescribed schema
val strictSchema = new StructType(
    Array(
      StructField("Name",StringType,true),
      StructField("Age",IntegerType,true),
      StructField("Height",DoubleType,true)
    )
  )

The following test should pass.
val df = new com.databricks.spark.csv.CsvParser()
      .withUseHeader(true).withParseMode("DROPMALFORMED")
      .withSchema(strictSchema).csvFile(sq,"test.csv")
df.count shouldBe 1

Instead the error is given upon execution of the count command
Job aborted due to stage failure: Task 1 in stage 50.0 failed 1 times, most recent failure:
  Lost task 1.0 in stage 50.0 (TID 74, localhost): java.lang.NumberFormatException: For input string: "20.5"

The error being a problem with parsing the second row "Age" value as an integer.

Relevant test cases: https://github.com/databricks/spark-csv/pull/163

closed by https://github.com/databricks/spark-csv/pull/163


Add .gitignore

来信已收到，谢谢

来信已收到，谢谢

来信已收到，谢谢

I'd add *.no to guarantee we don't push any actual code.

来信已收到，谢谢

I'd add *.no to guarantee we don't push any actual code.

@karliwson .gitigNOre already covers for .no ;)

I would include everything in the .gitignore

来信已收到，谢谢

I'd add *.no to guarantee we don't push any actual code.

@karliwson @merajmasuk Why overcomplicate it? We only need one character in the .gitignore file:
*

LGTM

Please add .gitignore to the .gitignore


msgpack-c version dependency

The msgpack-c version dependency is not properly documented.
The documentation in README.md suggests using HEAD on msgpack-c/master, but this is not really a workable solution. For example, the msgpack-c developers just renamed msgpack::type::DOUBLE to msgpack::type::FLOAT.
I think it would make more sense to back out https://github.com/tavendo/AutobahnCpp/commit/b44ee2e0582923fe8e175eff1ec726582575f4e2 and specifically depend on msgpack-c 0.5.9, which will at least be a fixed target.
Additionally, the install instructions for msgpack-c are not quite correct. The C++ bindings are header-only, and thus don't require building.

Here is the commit where the msgpack-c developers made the change I mentioned above: https://github.com/msgpack/msgpack-c/commit/737e6703df2cad06cfb16e3e0e34a02ec5212c38

msgpack-c 0.5.9 does not implement v5 of the MsgPack spec. v5 of the spec has provisions for distinguishing between blob and string types.
Until the next msgpack-c is released, an easy workaround would be to set the MSGPACK_USE_LEGACY_NAME_AS_FLOAT macro as https://github.com/msgpack/msgpack-c/commit/737e6703df2cad06cfb16e3e0e34a02ec5212c38 suggests.

I see. Would it make sense to specify a commit of msgpack-c to use in the install instructions, then?

The install instructions are for msgpack-c head exactly for the reaons @ecorm mentions:

the latest tagged release is 0.5.9
0.5.9 lacks v5 support

When msgpack-c does a new release, we can update the install instructions to 0.5.10+ (or 0.6+).
I leave this issue open ...

msgpack-c now has a new release for version 1.0.0.

Thanks!


Add dark theme to website

Hi @akshitagupta15june , I am Nilesh, I would like to work on this issue. I will be making a PR as soon as I am done with resolving the issue.
Please assign it to me.
Thank you.

"Hi there! I'm excited to contribute to this project for GSSOC'23'. I've taken a look at the codebase and I believe I can make some valuable improvements. I'll start working on it right away. If you have any specific requirements or suggestions, please let me know. Looking forward to collaborating with you all on this! "

Hello @akshitagupta15june ma'am ,
I'm Anushka Anand . I want to work on this issue under Gssoc'23. I am really eager to work on open source projects and contribute to this community.
Skills
HTML5, CSS3, JS, Bootstrap | Python, Django | Php, mysql | MERN | Responsive Design | Adobe Photoshop |
Can you please assign this issue to me.

Hello @akshitagupta15june ,I'm Manasi can you assign this to me under GSSOC'23.
Teach Stack- MERN stack


WIP: Login pattern (DO NOT MERGE)

Closes #553
Moves Login Pattern to /Patterns, describes three basic variants (A discrete page login; a modal dialog login, and a menu item login.)
Changelog
New

src/pages/patterns/login-pattern/
src/pages/patterns/login-pattern/images
src/pages/patterns/login-pattern/index.mdx

Removed

src/pages/experimental/patterns/login-pattern/
src/pages/experimental/patterns/login-pattern/images
src/pages/experimental/patterns/login-pattern/index.mdx

Still requires Images for all three variants. I'll start some of them this week cc @laurenmrice

Addressed here: https://github.com/carbon-design-system/carbon-website/pull/707

This content tenor should be better reflected in the new work.


spurious llm command output ("Skipping model...") with llm-replicate installed

When I have llm-replicate installed and configured, I get spurious messages when running many llm commands.  For example
% llm models
Skipping model 'dolly-v2-12b'
Skipping model 'oasst-sft-1-pythia-12b'
Skipping model 'replit-code-v1-3b'
[...]

These "Skipping" messages do not appear when I uninstall llm-replicate.
I installed it using llm install git+https://github.com/simonw/llm-replicate/ to get around #22.

This can be closed too now : 021e50e94665ca65e0a421f93f39005c76b5fc42


DO NOT MERGE - Update to bci

Signed-off-by: Jonnatan Jossemar Cordero<EMAIL_ADDRESS>

Closing in favor of a new pr that meets updated requirements.


Kernel Panic Every connect to the power management

Dear developer, i'm using raspberry pi zero that connect with Power Management Indoor Corgi RPZ-PowerMGR Rev.1.1 .
But everytime the raspberry pi connect to the power management, it cause a kernel error like my screenshot below..
Do you know how to solve it?

Installing cgpmgr does not affect raspberry pi kernel. Your raspberry pi boots fine without the RPZ-PowerMGR expansion board, but when you connect the RPZ-PowerMGR, does it cause a kernel panic?
Double check if conifg.txt is modified correctly following to the usage.
If the problem still persists, some kind of defect is suspected on the product. Please contact technical support<EMAIL_ADDRESS>or the store where you purchased it to replace with new one.


imp(statemachine)!: check length of unbounded string fields in messages

Description

closes: #4859
Co-authored-by: Jacob Gadikian<EMAIL_ADDRESS>Commit Message / Changelog Entry
imp(statemachine)!: add length validation of string fields in messages

see the guidelines for commit messages. (view raw markdown for examples)

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (see CONTRIBUTING.md).
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[x] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

Codecov Report

Merging #4992 (6a0eda4) into main (016443d) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #4992      +/-   ##
==========================================
+ Coverage   79.87%   79.89%   +0.02%
==========================================
  Files         189      189
  Lines       13254    13269      +15
==========================================
+ Hits        10586    10601      +15
  Misses       2244     2244
  Partials      424      424

Files
Coverage Δ

...ps/27-interchain-accounts/controller/types/msgs.go
94.02% <100.00%> (+0.58%)
:arrow_up:

modules/apps/29-fee/types/msgs.go
92.30% <100.00%> (+0.22%)
:arrow_up:

modules/apps/transfer/types/msgs.go
96.61% <100.00%> (+0.38%)
:arrow_up:

@crodriguezvega any plan for back porting this to v4.5.x thanks

@crodriguezvega any plan for back porting this to v4.5.x? thanks


Parse showKey before precache

The second image is requested to be precached before the first image is loaded. However, the showKey is not loaded until the first image infomation is fetched, so the second image cannot be precached properly.
The behavior is described in https://github.com/3003h/FEhViewer/pull/306#issue-2010720094

(Only ser 2 is not cached)

thanks

Oh sorry it looks like the indents there are wrong
https://github.com/3003h/FEhViewer/pull/307/files#diff-fe72a06eb7b1f1288dfd01142c652c53e3fa1c507c14ff5014f23c6f53562690R578-R580
https://github.com/3003h/FEhViewer/pull/307/files#diff-fe72a06eb7b1f1288dfd01142c652c53e3fa1c507c14ff5014f23c6f53562690R602-R604


Add ChineseLunarLanderWithRover

Closes #2831, closes #2834

Abstract shows up in the CKAN client as 嫦娥 三号，玉兔月球车，中文区. We should hardcode name and abstract to avoid any issues using that character set may bring up, and to keep all abstracts in the same language (English).

The author made a new KS page specifically for English users

Pretty cool of him.


Leverage validation on returned type of expressions

Part of improving expression inputs

This work is no longer applicable as it is handled under other feature work for R12.

This work is no longer applicable as it is handled under other feature work for R12.


Constraint error when attempting to insert list with a build association (with sequence)

Consider a chat application with the following schema (users table has a unique index on emails column):

When I want to insert a list of chat_memberships like so:
    chat_room = insert(:chat_room)

    insert_list(
      20,
      :chat_membership,
      chat_room: chat_room,
      user: build(:user)
    )

I get the following error, even thought the user factory has a sequence for the email field:
     ** (Ecto.ConstraintError) constraint error when attempting to insert struct:

         * users_email_index (unique_constraint)

     If you would like to stop this constraint violation from raising an
     exception and instead add it as an error to your changeset, please
     call `unique_constraint/3` on your changeset with the constraint
     `:name` as an option.

     The changeset has not defined any constraint.

However if I setup my data like this instead, it works:
    chat_room = insert(:chat_room)

    users = build_list(20, :user)

    Enum.each(users, fn user ->
      insert(:chat_membership, user: user, chat_room: chat_room)
    end)

Is this the intended behaviour?
I've created a bare minimum phoenix app to reproduce this issue: https://github.com/josephan/ex_machina_sample
Factory file:
https://github.com/josephan/ex_machina_sample/blob/master/test/support/factory.ex
The test file that demonstrates the issue: https://github.com/josephan/ex_machina_sample/blob/master/test/ex_machina_sample_web/sample_test.exs
In this app there is a users table and a chat_rooms table.
These tables have a many to many relationship with chat_memberships table.

Hi @josephan thanks so much for the detailed description along with an app to reproduce the issue! I can't begin to tell you how incredibly helpful that is. I haven't had the time to take a look at the app yet, but I think I know what might be going on. If it's not it, I'll take a look at if for sure when I have few more minutes.
Looking at the description you posted, I think the issue comes from the fact that factories are built eagerly. So when you call build(:user) we're building the %User{} struct immediately. In other words, in the first scenario, this is what is happening:
# this
    insert_list(
      20,
      :chat_membership,
      chat_room: chat_room,
      user: build(:user)
    )

# is equivalent to this
    insert_list(
      20,
      :chat_membership,
      chat_room: chat_room,
      user: %User{name: "some name", email<EMAIL_ADDRESS>    )

See how the user struct is built, so you're trying to use the same email for the 20 chat memberships?
In the second case, you're building 20 user structs with 20 different emails (assuming you're using sequences or something like that):
 # this
    users = build_list(20, :user)

    Enum.each(users, fn user ->
      insert(:chat_membership, user: user, chat_room: chat_room)
    end)

# is equivalent to this
  users = [%User{name: "john", email<EMAIL_ADDRESS>%User{name: "john", email<EMAIL_ADDRESS>..., %User[name: "john", email<EMAIL_ADDRESS>
  Enum.each(users, fn user ->
     insert(:chat_membership, user: user, chat_room: chat_room)
  end

In the second case, you're building 20 different users, so creating the chat memberships doesn't cause a problem. Does that make sense?

@germsvel: while you've articulated what the cause of this issue is, can you suggest a solution beyond passing every association into a factory as a pre-created object? This behaviour is not what I expected when I started using ExMachina for factories.

Are there any updates or suggested fixes on this issue?

Currently there's no other way for this to work. build/2 is just an Elixir function that is evaluated when called. There's very little magic happening. That why these are the same:
# this
insert_list(
  20,
  :chat_membership,
  user: build(:user)
)

# is equivalent to this
user = build(:user)
insert_list(20, :chat_membership, user: user)

The build(:user) will always get evaluated before insert_list/3 gets called.
That being said, I've been considering adding an alternative like build_lazy/2 (still trying to find a good name) that would either capture the building in an anonymous function or create a struct that represents the factory that is to be built. I did a spike in this branch to see how it would work. Right now, that branch would let you do something like this:
insert_list(20, :chat_membership, chat_room: chat_room, user: build_lazy(:user))

The user struct would get built at the time when we're creating each of the 20 chat memberships -- so it would generate a different user for each chat membership.
What do you all think?

@sgerrand @ckoch-cars , I just opened https://github.com/thoughtbot/ex_machina/issues/402. I'd love to hear your thoughts on it. I think it solves the problem we run into here.

Thanks @germsvel! I'll review it shortly.

Opened a PR for this work. Let me know what you think -> https://github.com/thoughtbot/ex_machina/pull/406

I'll go ahead and close this issue since I believe it should be resolved by #408.
We should now be able to fix this by passing a function to delay the evaluation of user:
# instead of doing this
insert_list(
  20,
  :chat_membership,
  user: build(:user)
)

# we can now do this
insert_list(
  20,
  :chat_membership,
  user: fn -> build(:user) end
)

I think I've hit an edge case on this where the self-referencing aspect of this lazy doesn't work as expected for a full schema. e.g.
def post_factory do
  %Post{
    author: build(:user),
    contributors: fn post -> [post.author] end
  }
end

this seems to try to insert the user twice


Automations already running.

The example automation at : https://docs.teslamate.org/docs/integrations/home_assistant/ does not specify a mode for the "Update Tesla location" automation.    HomeAssistant has defaulted this to 'single', and I am getting many errors in the logs.
Logger: homeassistant.components.automation.tesla_updatelocation
Source: helpers/script.py:1375
Integration: Automation (documentation, issues)
First occurred: February 27, 2022, 12:21:55 AM (16294 occurrences)
Last logged: 8:17:15 AM
Tesla: UpdateLocation: Already running
What is the recommended mode for this automation?   I would think that Single would work as the action should be rather quick, but it is not.   Best to make this queued?  Parallel?

Hi, thanks for raising the issue.
I use this in my automation config:
mode: single
max_exceeded: silent

Closing as no feedback


Optionally size vm.nr_hugepages and kernel.sem according to database settings

vm.nr_hugepages and kernel.sem are related to number of databases, SGA sizing and processes limit. Currently these kernel parameters are manually configured (i.e. fixed value or percentage of RAM). I'll provide an enhancement to optionally calculate vm.nr_hugepages and kernel.sem according to oracle_databases dict and ASM configuration.

Implemented by: https://github.com/oravirt/ansible-oracle/pull/451


StateT slides

This PR contains the content of the slides for the StateT videos.

@raulraja there are some code examples that don't carry any explanations in the slides as I plan to do that with doodles and the script. Also, I aknowledge that I don't follow exactly the structure of the previous videos as we've covered a lot of stuff already with the State video, even though I think most of the basics about StateT and monad transformers are explained here at some early level. Hope it's OK!

@jdesiloniz sounds good, ping me when the script is ready for review and please use ^ deckset's speaker notes in this same document which is how we have been doing it lately and works out better for @benjymontoya and reviewers. Thanks!
https://docs.decksetapp.com/English.lproj/Presenting/01-presenter-notes.html

@raulraja hey Raul, I've updated the slides adding the script under the speaker notes. I've also moved a lot of the text in the slides to be in the script so code is more readable. Hope it works OK!

@raulraja sorry for the delay. Could you take a look at the provided example for the Applicative builder before I tag Maureen for the language review? Thanks!

@MaureenElsberry Hi! :). I understand that the contents of the slides/script won't experience further changes. Could you take a look at these? Thanks a lot!!

@MaureenElsberry Thanks a lot!!
@raulraja if you don't have any concerns, I'd merge this to move on the recording of the script :)

Hi! Isn't the script already there? I can see the ^comments below each slide.

@JorgeCastilloPrz Awesome, thanks Jorge!! :)


feat: Adding the Terraform module to deploy SD-Core Bundles

Adding the Terraform module to deploy

SD-Core Control Plane
SD-Core User Plane
SD-Core

Note:
This repository is aimed to keep sdcore-control-plane, sdcore-control-plane and sdcore  TF modules.
This PR is scoped to add only the sdcore-control-plane TF module.

One general comment - I think each module should have output.tf to expose the names of the applications that can have external integrations and the endpoints for those integrations. For the CP module that would be AMF (fivef-n2), NMS (fiveg_gnb_identity) and grafana_agent (send-remote-write and logging-consumer). For the UP module that should be UPF (fiveg-n3 and fiveg-n4) and grafana_agent (send-remote-write and logging-consumer). For all-in-one combination of both.

The output.tf files are added for all the sdcore modules.

Terraform check action fails because of default TF modules path. This will be fixed after merging: https://github.com/canonical/sdcore-github-workflows/pull/31

That looks good to me. Well done @gatici!

Thanks for your great help and guidance @Gmerold !!


Sensor Updates

Hi, first of all thanks for doing this, really useful. One question I have, are the sensors supposed to automatically update on the device? I have some sensors and assigned to buttons on the Loupedeck but they only show the static value when I assign them. I am assuming HomeAssistant isn't able to send the sensor information to this plug-in on a regular basis? Thanks again

Hi @m4tthall73 - sensors are supposed to be reflected (in real time) on your Loupedeck.
There was an issue reported before, so after updating the plugin to work with the new SDK I checked and whenever temperature changes on Home-Assistant I can see the values on my device. What kind of sensor are you trying to monitor?
Could you do me a favor please, go into Home-Assistants developer-tools and change the value of some sensor manually and see if it changes on your Loupedeck. Do you maybe have a light switch bound to the Loupedeck as well? Does it change when you toggle through HA?

Thanks for the quick reply and apologies for not responding sooner.
So, it seems I might have jumped to conclusions a little. Some of the sensors appear to be updating immediately whereas a couple do not. After a little investigation I believe it might be where the sensor name is over a certain size and might have been automatically resized when adding? I verified this with one of the sensors which wasn't working to rename it to something shorter and it started working fine.
And on the subject of those with longer names, some of them do not automatically resize properly and I am unable to resize manually, as it still clips the text.
Does any of this make sense? :-)
Thanks!

Do you have an example for me that is working and not working, @m4tthall73 ?
Where would you say is the length where it breaks?
To be honest it sounds like a bug in the Loupedeck software to me when it comes to repainting the screen with long names but I'm not sure yet.

I have one device which was called Living Room Zen WiFi Router. I have a sensor on this called connected devices. Therefore, this automatically came up as Living Room Zen WiFi Router Connected Devices. When I added this the count was static. When I renamed the device to ASUS Router and then the sensor was ASUS Router Connected Devices, it updated dynamically. I appreciate these names are probably a bit too long anyway but I find it helps organising in Home Assistant.
One that still isn't working is my google ping, which is from the Ping (ICMP) integration. Decide is called google.com. Sensor is Round Trip Time Average. However, this is showing a static count for "google.com Round Trip Time Average" on Loupedeck. Looking at the actual button on the device the text looks like a slightly different size, so assumed there was some kind of auto resizing that occurred when adding but have no idea if that makes any difference.
Again, on that last point, sometimes the text/images don't seem to crop correctly and manual resizing doesn't fix it.

Thanks

OK, playing around with this a little more, I think (not 100% sure) it is for anything that gets resized whether that occurs manually or automatically. Does the resizing cause some kind of snapshot of the data at the time of resizing, and therefore doesn't update after that?


Issue in associated functions with future

Description:
$subject. Program hangs with below code.
Steps to reproduce:
function testAsyncNonNativeBasic6() returns boolean {
  future<float> f1 = start addSlower(5.0, 5.0);
  boolean a = f1.isDone();
  float v1 = wait f1;
  boolean b = f1.isDone();
  future<any> f2 = start infiniteFunc();
  boolean c = f2.isCancelled();
  boolean d = f2.cancel();
  future<any> f3 = start io:println("NATIVE ASYNC BLOCKING");
  boolean e = f3.cancel();
  future<any> f4 = start runtime:sleep(100);
  boolean f = f4.cancel();
  return !a && v1 == 10.0 && b && !c && d && !e && !f;
}
function infiniteFunc() {
  int i = 0;
  while (true) {
    i = i + 1;
  }
}

Test case BasicAsyncOperationsTest.testAsyncNonNativeBasic6 is disabled with https://github.com/ballerina-platform/ballerina-lang/pull/12184
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

PR merged, hence closing


Make config change detection more robust

Fix 2 issues with config change detection:

Objects received via Get() don't have kind and apiVersion set, while
those from Watch() do, leading to false positives.
Compare the unmodified config (prior to applying defaults) to the
updated one from Watch().

Fixes #92
Signed-off-by: Andy Goldstein<EMAIL_ADDRESS>

LGTM.


Request bodies should be marked as required

using openapi module v4.5.1 i get a request descriprion like this:
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteRequest"
              }
            }
          }
        },

and it's missing "required": true field which means someone could call the endpoint without body

I agree this should be fixed. We should make sure "required": true is not set when we use emptyRequest, though. Would you be interested in submitting a PR for this? I can guide you and indicate where are the files to change.

@julienrf seems easy enough, submitted


Prometheus write request" err="invalid temporality and type combination for metric "calls"

Bug Report
With the latest release: 4185d2d, we started getting the following error from prometheus:
ts=2024-04-03T10:19:52.235Z caller=write_handler.go:214 level=warn component=web msg="Error translating OTLP metrics to Prometheus write request" err="invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\"; invalid temporality and type combination for metric \"calls\"; invalid temporality and type combination for metric \"duration\""

This error wasn't there before:
Error translating OTLP metrics to Prometheus write request" err="invalid temporality and type combination for metric \"calls\"

Huh. Don't recall seeing that locally... I think that would be spanmetrics?

@austinlparker you are right!
I've messed up something on my end.
All good with the new release.


[AutoRelease] t2-cosmosdb-2024-09-19-29269(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/5476
Recording test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=984
BuildTargetingString
azure-mgmt-cosmosdb
Skip.CreateApiReview

issue link:https://github.com/Azure/sdk-release-request/issues/5476


feat(xrpl_cli): --pretty renders offers as table

cc @allanbrondumkr

OK, I applied the changes we discussed above (your input is very useful!). Can you review again?

OK, I applied the changes we discussed above (your input is very useful!). Can you review again?

Looks good now


VS Code Fails Python Command due to Unactivated Conda Env in In Terminal

VSCode Version: 1.49.1
OS Version: Windows 10
Python 3.6.12
Conda 4.8.4

VS Code Extensions

Anaconda Extension Pack : 1.0.1
Python 2020.8.109390
Profile Python with PyVmMonitor 0.0.3

Steps to Reproduce:

 run the command
profile python module with PyVmMonitor

The conda environment is being activated AFTER the command to run the python profiler ! I do not have an OS version of Python installed, only pythons installed in conda environments. I do this so that I can tell exactly where python, pip and conda and running etc.
Microsoft Windows [Version 10.0.19041.508]
(c) 2020 Microsoft Corporation. All rights reserved.
D:\Projects19\repos\mine\finance\IntelStockScraper>python "f:/Program Files/Brainwy/PyVmMonitor 2.0.0/public_api/pyvmmonitor/init.py" --profile=lsprof d:/Projects19/repos/mine/finance/IntelStockScraper/StockMarketPrediction.py
'python' is not recognized as an internal or external command,
operable program or batch file.
D:\Projects19\repos\mine\finance\IntelStockScraper>C:\ProgramData\Anaconda3\Scripts\activate Py36Tf115CPU_GOLD
(Py36Tf115CPU_GOLD) D:\Projects19\repos\mine\finance\IntelStockScraper>
(Py36Tf115CPU_GOLD) D:\Projects19\repos\mine\finance\IntelStockScraper>
(Py36Tf115CPU_GOLD) D:\Projects19\repos\mine\finance\IntelStockScraper>python
Python 3.6.12 |Anaconda, Inc.| (default, Sep  9 2020, 00:29:25) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

NOTE running from VS code (hitting F5) sometimes results in this erro - hitting F5 a few more times without closing/changing anything else will eventually work and run the python script
import nump as np
Exception has occurred: ImportError
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

The Python version is: Python3.6 from "C:\Users\marcu.conda\envs\Py36Tf115CPU_GOLD\python.exe"
The NumPy version is: "1.19.1"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: DLL load failed: The specified module could not be found.
File "D:\Projects19\repos\mine\finance\IntelStockScraper\blank.py", line 31, in
import numpy as np

Does this issue occur when all extensions are disabled?: Yes/No
It needs the python extension, so I didnt try this.

This sounds like a race condition, and it also sounds like it has to do with the Python extension. Can you try filing an issue at https://github.com/Microsoft/vscode-python?


Change class to className

To keep code and YAML consistent, use className to allow app dev to set classes of a widget.
React approach for reference:
https://react.dev/reference/react-dom/components/common#applying-css-styles

@evshi please see this as it needs to be consistent on React side.

@justEhmadSaeed FYI


Type in title's page

Hey folks, there's a type in the title! Database Fleet Manager is (our) different product, this should be Kubernetes Fleet Manager :)

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

ID: 6350ce5d-eb15-0766-923d-f39116d6fcda
Version Independent ID: 63e906d3-6fdf-6296-c9e4-b1fe397ab113
Content: Microsoft Azure Database Fleet Manager management client library for .NET - Azure for .NET Developers
Content Source: api/overview/azure/preview/resourcemanager.containerservicefleet-readme.md
Service: fleet
GitHub Login: @azure-sdk
Microsoft Alias: azsdkdocs

Page updated: https://review.learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.containerservicefleet-readme?view=azure-dotnet&branch=main


Portal teleportation broken or causing out of memory when disabled in config.yml

When MyWorlds portal teleportation is disabled in the config.yml it either does not work or reportedly causes an out of memory problem of the server.
https://www.spigotmc.org/threads/myworlds.233689/#post-2501139

Fixed in new upcoming BKCommonLib version. Workaround included in MyWorlds.


Rename sortBy to sort

Chased a bug for an hour, then I realised that this library has a different name for sort (sortBy) than I'm used to from mongoose (sort).
In order to prevent backward incompatibility with older paginate versions, you could make sortBy an alias for sort that will additionally throw a deprecation warning in the console.
If it's ok with you, I could implement this myself.

Feel free to do a PR :) Sounds great, thanks @surdu.


rebin to new kedges, or something

I've been running into this problem with people's files, where they estimated power in 0.001 bins, and I want to go to 0.005, but there are like 402 bins, so rebin(5) crashes saying the number of bins isn't evenly divisible. I know, I can carefully figure out how to "select" to a divisible number of bins before calling, but that is a nuisance. My ideal solution would be a function rebin_to_dk(0.005) which went along, dropped existing bins into the appropriate new bins based on kavg, defining new kedges, where any mismatch would be simply resolved by not requiring the new kedges to have exactly dk... they just would be if it was possible given the old and new (i.e., no smearing - every old bin goes to exactly one new bin)(another version of this is to let me put in my own new nominal kedges, where similarly the kedges that come out would not necessarily be exactly those)

ok, in the meantime here is what I usually do (dropping last bins):
factorout = 5
poles[:(poles.shape[0] // factor) * factor:factor]


port namedConst checker from gocritic

Actually, let's move namedConst to go-audit until it's false positives are not fixed.


Creds

User not found error
I tried default creds
admin
admin

Please create an complete video  how your set it up

no working

no working

i cant resolve this without proper error or output


About Embedded

Hello，thanks for your code. In the code, a "text_embedding/vector.txt" file is used to represent a 175 sentence vector as a 75200 vector. How to use a vector to represent a word? Do I need to train a text_embedding file for word transformation？

The text embedding is borrowed from the official repo. If you want to add more words, then you will need to obtain your own embedding dictionary. You may check the paper to see how did the author obtain such embedding vectors.


[Urgent] Frequent user page loading fail - page not found errors

Now this is more than 3 days (as of Feb 25) and happening more frequently.
Expected behavior
A user blog page should be shown.
Actual behavior
At least for the past 24 hours, user blog page loading is quite unstable. While the main busy.org page was always accessible to me, user pages couldn't be loaded many times even now.
How to reproduce
Just visit any user's page, e.g., https://busy.org/@blockchainstudio Page not found error occurs quite often.

discussions (blog)

comments

wallet

activity

Browser: Any
Operating system: Any

@Sekhmet I'd appreciate if you could check this. It's random but quite frequently for 3.5 days. Very annoying.


Improve mobile usability

The card that displays the weather information isn't responsive. It's far too narrow on mobile, and too wide on desktop. Can you look into making it be an appropriate size on all screen sizes.

Resolved. Website and all of its components are now responsive on all screens.


refactor: code optimizations using dart_code_metric

Description
Refactors code base using rules from dart_code_metrics to avoid anti patterns and maybe performance draw backs.
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[x] 🧹 Code refactor
[x] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

:tada: This PR is included in version 2.8.0-beta.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix: Add comment to output to fix comment replacement

Comments are not currently being replaced, new ones are created.
The comment at the beginning was missing.

That maker comment is already in the bottom of output:
https://github.com/exoego/esbuild-bundle-analyzer/blob/2f2d76a7b09dded912b74baf6326d5420ce19609/src/compare.ts#L86
Which version do you use?

Oh, then this makes sense why it is happening to us.
Our application is quite big, and the message is being truncated, so the comment does not exist.
I believe placing the comment at the start instead would fix this.
We're using the v1 tag, so the latest version.


Clarification on Embedded Rust programming philosophy

Hello,
I'm starting a new project with an stm32f0 device which I specifically chose to be able to develop Rust firmware. I made a few experiments with just registers and the cortex_m crate following along the Embedded Rust book's teaching examples to really understand how the architecture works, then started approaching this library for ease of use.
I have a few years of experience as an embedded C developer, a few months of tutorials and experiments with Rust and overall good comprehension of modern programming language features. I'm having a few difficulties in understanding what is the proper way to do things in Rust and I could use some clarifications.
I took the blinky example and started working from that: I wanted to add a systick interrupt to keep track of milliseconds elapsed since the start:
#[exception]
fn SysTick() -> ! {
    unsafe {
        MILLIS += 1;
    }
}

and then read the shared variable MILLIS to manage various temporized functions in the main cycle. When I tried this approach however I realized that it didn't work because the main cycle (following the blinky example) was wrapped in a CriticalSection context, disabling all interrupts by default.
When I tried moving the operations outside of the critical section (i.e. blinking the LED every 1000 milliseconds) the compiler meticulously pointed out that I had no way of accessing the PA0<Output<PushPull>> reference I was using to toggle the LED. Plus, I can't even create one without a critical section token.
In fact, there is no example in the repository that has concurrent main task and interrupts: it's either just the main cycle or just the interrupt, with the main cycle stuck in an empty loop (thinking about led_hal_button_irq.rs). So, my first question is: how would I proceed to obtain a main cycle that allows interruptions but has obtained a reference to the peripherals? The interrupt::free context moves the values so I can't use them afterwards; I know I can populate a Mutex or RefCell, but those are data structures used to share and sync references between threads, and I have no need for sharing: only my main thread will access those, with the interrupts occasionally setting flags and such.
While I was looking for a solution I also dropped the idea of keeping track of time via interrupt and instead I'm using a free counter. Nonetheless I expect to hit this obstacle again soon enough.
This is the code I've written so far, just to explain what I was trying to accomplish.
#![no_main]
#![no_std]

extern crate panic_semihosting;

use stm32f0xx_hal as hal;

use hal::{prelude::*, stm32};

use cast;
use cortex_m::peripheral::Peripherals;
use cortex_m_rt::entry;
use cortex_m_rt::exception;

#[entry]
fn main() -> ! {
    let mut p = stm32::Peripherals::take().unwrap();
    let cp = Peripherals::take().unwrap();

    cortex_m::interrupt::free(move |cs| {
        p.RCC.apb1enr.modify(|_, w| w.tim6en().set_bit());
        p.RCC.apb1rstr.modify(|_, w| w.tim6rst().set_bit());
        p.RCC.apb1rstr.modify(|_, w| w.tim6rst().clear_bit());
        let mut rcc = p.RCC.configure().sysclk(8.mhz()).freeze(&mut p.FLASH);

        let gpioa = p.GPIOA.split(&mut rcc);

        // (Re-)configure PA1 as output
        let mut led = gpioa.pa12.into_push_pull_output(cs);
        let tim = p.TIM6;

        // pause
        tim.cr1.modify(|_, w| w.cen().clear_bit());
        // restart counter
        tim.cnt.reset();

        let frequency = 1000;
        let ticks = rcc.clocks.pclk().0 / frequency;

        let psc = cast::u16(ticks - 1).unwrap(); // / (1 << 16)).unwrap();
        tim.psc.write(|w| unsafe { w.psc().bits(psc) });

        // start counter
        tim.cr1.modify(|_, w| w.cen().set_bit());

        let mut ts: u32 = 0;

        /* The main loop should be outside of the interrupt-free context */
        loop {
            if is_expired(ts, get_millis(&tim), 1000) {
                led.toggle();
                ts = get_millis(&tim);
            }
            check_overflow(&tim);
        }
    });

    loop {
        continue;
    }
}

static mut MILLIS: u32 = 0;

pub fn is_expired(start : u32, current : u32, delay : u32) -> bool {
    let finish = start.wrapping_add(delay);
    (finish.wrapping_sub(current) as i32) < 0
}

pub fn check_overflow(timer: &hal::stm32::TIM6) {
    cortex_m::interrupt::free(|_| {
        if timer.sr.read().uif().is_update_pending() {
            unsafe { MILLIS += 0xFFFF }
            timer.sr.write(|w| w.uif().clear());
        }
    });
}

pub fn get_millis(timer: &hal::stm32::TIM6) -> u32 {
    let mut result: u32 = 0;
    cortex_m::interrupt::free(|_| unsafe { result = MILLIS + timer.cnt.read().bits() });
    result
}

Please be patient if I'm missing a key aspect of Rust programming, I'm new to it and I promise I did my research before asking.

What you determined is exactly right, the CriticalSection is main is supposed to be used only for the duration of initialisation so safely setup shared resources and prevent interrupts from running prematurely.
If you have a look at the flash_systick.rs you can see how this would work.

I've added an improved example which transfers the control over some protected peripheral into the exception handler so it can be used without further CriticalSections: https://github.com/stm32-rs/stm32f0xx-hal/blob/master/examples/flash_systick_fancier.rs

Thank you for the confirmation. Both of those examples however use data sharing structures to access the peripherals outside of the initial critical section used for initialization; for what I have in mind I don't need to share them between the main cycle and the interrupt routine: it would be enough to access the led outside the critical section but still inside the main function.
Is the preferred way to use Mutexes and RefCells even in this scenario or do I have less convoluted options? I guess this question is more about Rust in general than its embedded side, since I'm basically asking how to access a reference after it has been moved to a closure.

it would be enough to access the led outside the critical section but still inside the main function.

No problem, just use them in the main function then. I've updated https://github.com/stm32-rs/stm32f0xx-hal/blob/master/examples/blinky.rs to show how to limit the duration of the CS and move initialised peripherals out of it for use in the main function.

Many thanks again. I didn't realize I could return values from the closure used in free, now everything is completely clear.

@Maldus512 Please feel free to add some text about your stumbling blocks and resolutions to the available documentation so other users can profit.


ISPN-5190 DefaultExecutorService throws ISE if constructed with ManagedExecutorService

https://issues.jboss.org/browse/ISPN-5190

@pferraro  I will be issuing a new PR with a better fix and tests.


'core-js/modules/es6.array.find' cannot be used with the json-schema API

hi. I'm having a bit of trouble, so let me share.
To load the json-schema, I wrote the following in .meshrc.yaml
sources:
  - name: qiita
    handler:
      json-schema:
        source: https://qiita.com/api/v2/schema

package.json is as follows
{
  "dependencies": {
    "@graphql-mesh/cli": "^0.0.16",
    "@graphql-mesh/json-schema": "^0.0.16",
    "@graphql-mesh/openapi": "^0.0.16",
    "@graphql-mesh/runtime": "^0.0.16",
    "graphql": "^14.6.0"
  }
}

And when I try to start the graphql-mesh server, I get an error like the following
$ yarn graphql-mesh serve
yarn run v1.22.4
warning package.json: No license field
$ /Users/daisuke/work/tttt/node_modules/.bin/graphql-mesh serve
error: Unable to serve mesh: Unable to load handler matching json-schema: Cannot find module 'core-js/modules/es6.array.find'
Require stack:
- /Users/daisuke/work/tttt/node_modules/string-interpolation/dist/Interpolator.js
- /Users/daisuke/work/tttt/node_modules/string-interpolation/dist/index.js
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>{"stack":"Error: Unable to load handler matching json-schema: Cannot find module 'core-js/modules/es6.array.find'\nRequire stack:\n- /Users/daisuke/work/tttt/node_modules/string-interpolation/dist/Interpolator.js\n- /Users/daisuke/work/tttt/node_modules/string-interpolation/dist/index.js\n-<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  at getPackage (/Users/daisuke/work/tttt/node_modules/@graphql-mesh/runtime/dist/utils.js:51:23)"}
✨  Done in 3.05s.

To fix this, I decided to install an older version of core-js.
{
  "dependencies": {
    "@graphql-mesh/cli": "^0.0.16",
    "@graphql-mesh/json-schema": "^0.0.16",
    "@graphql-mesh/openapi": "^0.0.16",
    "@graphql-mesh/runtime": "^0.0.16",
    "core-js": "^2.6.2",           // <------ add it.
    "graphql": "^14.6.0"
  }
}

I think we need to resolve these library dependencies.

string-interpolation, which is used by json-schema handler, doesn't have core-js dependency.
@dotansimha Do you have any idea why this happens?

Not sure, @ardatan
@daisuke-awaji can you please share a repo that has this issue? I don't think we have any dependency for core-js at all.
btw, you need to specify more details for json-schema handler. You can load the YAML validation schema to your IDE to get real-time autocomplete and validation, see Basic Usage in the README

Available in 0.0.17 🎉

Sorry for the late reply. Thanks for solving.


Add Mongolian

Hi, this is a PR with translations of all maps.

Awesome!  Thanks so much for doing this, this is great!
What thank you information can put for you (name or handle and a link) - you can see examples on the about page.

Link to my Siege page, I guess? Name and link: JPL6S

Sounds good, thanks!  Should be released to the site soon.  Thank you again for your work!  Amazing!


support global fields

<EMAIL_ADDRESS>on 11 Oct 2011 at 7:56:
Selector specifying which fields to include in a partial response

e.g. from blogger json:

  "fields": {
   "type": "string",
   "description": "Selector specifying which fields to include in a partial response.",
   "location": "query"
  },

http://googlecode.blogspot.com/2011/07/lightning-fast-performance-tips-for.html

gnurou on 23 Sep 2014 at 2:59:
This is currently a huge defect in the Go bindings and it is going on for
years. Despite the language being perfect for this kind of applications, it is
impossible to write a decent Google API client until this is solved. Can we
hope it will get the care it deserves?


Update grid_sheet_view.xml

Update titleview margin referenced by Material Guideline

The material guidelines don't specify a title on grid sheets, and because of that, they also don't specify margins for the title in that case. I don't think this change makes the behavior closer to the spec.
The grid itself uses 24 dp outside margins. Using a different margin for the title would probably make it look worse. Maybe a comparison screenshot would convince me otherwise, but right now I don't think we should merge this

I agree. Can you post a screenshot?

@markrietveld You are correct! But even with grid sheet, the left margin for title would be same as the left margin for title in list sheet.


Some OBJ disappears sometimes.

The handle of the bat disappears during some frames as the following screenshots show. Game file is zipped and attached.

chara_2head.gba.zip

exelotl — 今天21:46
@琪姬 I think you're exceeding the maximum number of sprite pixels per scanline
exelotl — 今天21:51
all the unused sprites are at (0, 0) though, so I think it won't cause the issue seen here?
however, there a lot of large double-size sprites layered over each other to create the character, so maybe the limit is still being reached?
GValiente — 今天21:53
no, there are 128
they are enabled (visible) by default
you have to disable them
but the bat issue seems to be because too much double size affine sprites in the same horizontal line
琪姬 — 今天22:12
2. Any solution?
GValiente — 今天22:13
try avoid using double size affine sprites as much as you can
琪姬 — 今天22:14
but (double size) has more pixels than (area clipped)?
GValiente — 今天22:14
yep
if a sprite is 64x64px, double size mode gives it 128x128px for the rotations and such
Thanks @exelotl @GValiente !

chara_2head.gba.zip

PinoBatch — 今天02:20
Move the biggest double-size rot/scale sprite to background 2
琪姬 — 今天07:19
It is a good idea but it still has limit in this situation. The bone animation may consist of many objects. It brings more problem if one of them is put to BG layer. I prefer all of them staying in OBJ layer. BG layer should be preserved for the background and effect in the game.
琪姬 — 今天07:22
yeah, the sprite is supposed to be smaller in the common case.
PinoBatch — 今天07:30
If you want to use rot/scale sprites for skeletal animation of fairly large objects, you have two options:
A. Prerender all directions and use regular (non-rot-scale) sprites.
B. Program for the Nintendo DS and use the 3D engine.


feat: Queue adapter to choice dynamically

To me, changes suggested by @lemaitre-aneo are required


Add support for wildcards

i.e. currently it only looks for words (using word boundaries) and not for inner strings.


Consider workaround for erlang:monotonic_time/0 on OTP <18

If there's a need, it shouldn't be too difficult to add support for OTP <18 via preprocessor directives or similar. I have no need for it personally, but I'll leave this issue open in case someone does.

See #10 for details.

Sounds like AdRoll may have a need for this. If so, we should work it out.

I think we're fine without it for these new releases.
Worst case, we can add workarounds later.

Closing for now. We can reopen should the need arise.


Can I read volume back from controller itself?

Hey, I am new to chewie but I find out that it is really amazing library. I have a question related to if we can read volume back from the controller?

Volume can be read from _videoPlayerController.value.volume. Since there is no mute or unmute event, to understand that chewie player is mute or not, you can add a listener to _videoPlayerController (not _chewieController) like below
void _chewieUpdateVolume() {
    if (null == _videoPlayerController) return;
    _mute = _videoPlayerController.value.volume == 0;
  }
_videoPlayerController.addListener(_chewieUpdateVolume);


Add json validation when ingesting jsonl files for training

Can be some simple bash like:
ls *.jsonl > file_names.txt
while read f; do
  if cat $f | jq -e . >/dev/null 2>&1; then
    echo "Parsed JSON successfully: $f"
  else
    echo "Failed to parse JSON: $f"
  fi
done <file_names.txt

in the data dirs.
Goal is just to check that json files aren't truncated somehow.  Can also add as a step when building index file for JsonlDatasets.

@suchenzang So to confirm, the json validation here is just making sure we can read a jsonl file and has nothing to do with the actual content of the files?

@suchenzang So to confirm, the json validation here is just making sure we can read a jsonl file and has nothing to do with the actual content of the files?

I think we also want to ensure that each json line is properly formatted.

Yup, seconding @punitkoura : this task came up because we found corrupted json files during one of our experiment runs (truncated line).  A simple validation here to check that we are including valid json when loading json files will help guard against this error in the future.

Fixes in #212

Fixed by @KUNAL1612 , closing


chore: add missing docs and tests for AsyncAPI 2.2 release

Description
This PR adds some missing docs and tests for AsyncAPI 2.2 support

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.713%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1952

Relevant Lines:
1997

💛  - Coveralls


WIP allow for granular section restyling via  convenience api

Summary
This is a work-in-progress PR for allowing more granular styling of the various components via the API currently used for cell styling (e.g. loc.body()). The motivation is that it's often desired to style e.g. all column labels at once. It looks like this was already started in part (there are many TODOs such as these).
This PR is nowhere near done yet, so please don't approve CI running (it will just make noise).
Early Example:
from great_tables import GT, style, loc
from superstore import superstore

(
    GT(superstore(10))
    .tab_style(style=style.text(color="red"), locations=loc.column_labels())
)

Checklist

[x] I understand and agree to the Code of Conduct.
[x] I have followed the Style Guide for Python Code as best as possible for the submitted code.
[ ] I have added pytest unit tests for any new functionality.

Hey, thanks for this incredibly comprehensive PR! At first I was nervous about the idea of a PR implementing all locations at once, but after seeing your changes, it seems very reasonable! Happy to kick the tires, help with anything :)

Here's my quick attempt at mapping the names here, to those used in the R library gt:

code
from great_tables import GT
import polars as pl

# I made this in a spreadsheet, then used pl.DataFrame.to_init_repr() :)
df = pl.DataFrame(
    [
        pl.Series("Location category", ['Header', 'Stubhead', 'Column labels', None, 'Stub elements', None, None, 'Body elements', None, 'Footer elements', None, None, None], dtype=pl.String),
        pl.Series("gt R package", ['cells_title', 'cells_stubhead', 'cells_column_labels', 'cells_column_spanners', 'cells_stub', 'cells_row_groups', 'cells_stub_summary', 'cells_body', 'cells_summary', 'cells_footnotes', 'cells_source_notes', 'cells_grand_summary', 'cells_stub_grand_summary'], dtype=pl.String),
        pl.Series("Great Tables", ['LocHeader', 'LocStubhead', 'LocColumnLabels*', 'LocSpannerLabel', 'LocStub', 'LocRowGroupLabel', 'LocSummaryLabel', 'LocBody', 'LocSummary', 'LocFootnotes', 'LocSourceNotes', None, None], dtype=pl.String),
        pl.Series("extra1", ['LocTitle', 'LocStubheadLabel', 'LocColumnLabel', None, 'LocRowLabel', None, None, None, None, 'LocFooter', None, None, None], dtype=pl.String),
        pl.Series("extra2", ['LocSubtitle', None, None, None, None, None, None, None, None, None, None, None, None], dtype=pl.String),
    ]
)
GT(df).sub_missing(missing_text="")

It seems like you may have surfaced two important things:

The R program sometimes maps to sub-locations. E.g. cells_title(groups=...) -> title or subtitle.
If you just represent the sub-locations directly (e.g. your use of LocTitle and LocSubtitle), then they can be used directly. This seems like a nice simplification :).

Potentially replacing StyleInfo(loc="some_string")
It seems like defining all Loc sub-locations might also let us replace things like StyleInfo(loc="footnotes") with StyleInfo(loc=loc), where loc is the LocFootnotes object itself. Replacing all the string checks with isinstance would make it very easy to find references to Loc classes in VS Code, etc..!
In any event, this is looking really great! Thanks for this huge effort---I'm happy to check anything, do anything to support!

I'm going to try and complete this PR this week, if that's okay! It's looking really good, and I think will be nice to have for WIP on rendering GT objects interactively (in reactable-py) 😁

🚀


add news feature

news functionality implemented using new york times articles api

wit ai needs training to get intent of query in test_news

Hey @badmon, nice work!
By the way, did you see the attribution guidelines of the API?

I just did, seems to me we aren't breaking any rules ?

what further progress is there before  branch gets merged?

See https://developer.nytimes.com/branding, need to add "Data provided by The New York Times" at the end

I've trained wit.ai, the tests are now passing! :tada:
Also, can you rebase your work on master so that merge conflicts are resolved?

deleted my branch by mistaken -- is it possible for me to create another news-feature branch ?

oh my bad -- git reflog :+1:

funny thing is cant seem to find a template that allows me to display "data provided by new york times"

Keep the snippet in the subtitle, and put the attribution in place of 'View on Web'.

alright, on it!

still merge conflicts, kindly sync your fork with upstream

i have, still having conflicts

The conflict is in line number 6 in config.py
JOKES_SOURCE_FILE = 'data/jokes.json'

done ?

i just realized how terrible i am at git, i will do that soon

No problem, take your time :smile: Let me know if you need any help!
Using it is how you learn. Cheers!

want commands do i run to resolve the conflicts ? i tried git fetch upstream && git merge upstream/master

Nice work! Conflicts have been resolved.
Just one last thing, there should be changes in only 4 files here

Merged in #147


Roadmap

Where can I find roadmap for the next version of NativeBase?

and up-to-date changelogs (last entry was 9 months ago for 2.0.5, despite current version being 2.3.3).

@smooJitter We are in process of improving Docs
We will let you know about this

@doertli Agree to your statement

Thanks..  I’m just interested in knowing if we should expect new components

I have opened this issue on the docs repo here: #76
Since we split the docs and the source into separate repos.


2.x Fix #2773 (send empty extension for image with no extension)

Related:

#2773
#2774

Issue
The pull request in #2774 was still for the 1.x branch.
Solution
This pull request ports the changes from #2774 over to the 2.x branch. And it adds a test to make sure this works.
Impact
No errors for image URLs without extensions.
Usage Changes
None.
Considerations
When no image extension is given, Timber will just assume it’s a JPG. If you know it’s another image type, there’s no way to pass that. The question is: should you be able to pass that as a parameter?
Testing
Yes.

When no image extension is given, Timber will just assume it’s a JPG. If you know it’s another image type, there’s no way to pass that. The question is: should you be able to pass that as a parameter?
I would in favor of only introducing that when the need arises. There might be other things coming up with that as well that could be taken on in one go? And looking at the whole #2866 issue, who knows what will happen with sideloading in the future.

I would in favor of only introducing that when the need arises. There might be other things coming up with that as well that could be taken on in one go? And looking at the whole #2866 issue, who knows what will happen with sideloading in the future.

Yep, let’s see what we come up with when we work on the big image overhaul, before we jump into extending the current API.


Fails to download from francetv

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
Hello
One week ago it was Ok.
Today doesn't work
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
(env_video_dnld) pavel@MISSURI:~/env_video_dnld$ yt-dlp -vU -F https://www.france.tv/films/longs-metrages/6075164-i-m-not-there.html
[debug] Command-line config: ['-vU', '-F', 'https://www.france.tv/films/longs-metrages/6075164-i-m-not-there.html']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [12b248ce6] (pip)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.5.0-35-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, requests-2.31.0, sqlite3-3.37.2, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1820 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[FranceTVSite] Extracting URL: https://www.france.tv/films/longs-metrages/6075164-i-m-not-there.html
[FranceTVSite] 6075164-i-m-not-there: Downloading webpage
[FranceTV] Extracting URL: francetv:be7dc086-c442-4685-8116-ddeac2248c31#__youtubedl_smuggle=%7B%22hostname%22%3A+%22www.france.tv%22%7D
[FranceTV] be7dc086-c442-4685-8116-ddeac2248c31: Downloading desktop chrome video JSON
[FranceTV] be7dc086-c442-4685-8116-ddeac2248c31: Downloading mobile safari video JSON
[FranceTV] be7dc086-c442-4685-8116-ddeac2248c31: Downloading MPD manifest
WARNING: [FranceTV] Failed to download MPD manifest: HTTP Error 403: Forbidden
[FranceTV] be7dc086-c442-4685-8116-ddeac2248c31: Downloading m3u8 information
WARNING: [FranceTV] Failed to download m3u8 information: HTTP Error 403: Forbidden
[FranceTV] be7dc086-c442-4685-8116-ddeac2248c31: Checking for geo-restriction
WARNING: Only images are available for download. use --list-formats to see them
[debug] Sort order given by extractor: res, tbr, proto
[debug] Formats sorted by: hasvid, ie_pref, res, tbr, proto, lang, quality, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, vext, aext, hasaud, source, id
[info] Available formats for be7dc086-c442-4685-8116-ddeac2248c31:
ID           EXT   RESOLUTION │ PROTO │ VCODEC MORE INFO
─────────────────────────────────────────────────────────
spritesheets mhtml unknown    │ mhtml │ images storyboard
(env_video_dnld) pavel@MISSURI:~/env_video_dnld$

Duplicate of #10175
Fixed in master. Update to nightly:
python3 -m pip install -U --pre "yt-dlp[default]"


Didn't rebase because I didn't have much time + had troubles (PR52 CONTINUATION)

Description
This is an continuation from this pr, I had to rebase but I don't have much time and so I pulled the current website
What
Added target="blank" to all links in footer except for the email one, which has target="_top"
Why
For better User Experience
How

Verification Steps
Opening website in browser
Checklist:

[ ] This pr is linked to the related trello card
[x] My code follows the style guidelines of this project
[x] I have requested a code review from (at least) two team members
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] This change has been verified by another team member

@laurafitzgerald @ciaranRoche Sorry for a new branch being made, I wrote why I did that in the description

@laurafitzgerald @ciaranRoche I still don't have admin permissions so I can't merge :<


Update readme

Can use https://github.com/hlxsites/maidenform as a guide. The "choosing the environment" part there is special to Maidenform, so can omit that.

@helms-charity The referenced URL https://github.com/hlxsites/maidenform is returning 404. Do you have an updated URL for the content you referenced?
Thanks

oh I guess it is private. Here, I will paste what that readme looks like.

Franklin Maidenform
Your project's description...
Environments

Preview: https://main--maidenform--hlxsites.hlx.page/
Live: https://main--maidenform--hlxsites.hlx.live/

Installation
npm i
# or
yarn

Start
npm run start
# or
yarn start

Local development

Create a new repository based on the helix-project-boilerplate template and add a mountpoint in the fstab.yaml
Add the helix-bot to the repository
Install the Helix CLI: npm install -g @adobe/helix-cli
Start Helix Pages Proxy: hlx up (opens your browser at http://localhost:3000)
Open the {repo} directory in your favorite IDE and start coding :)

Choosing the enviroment
When not running the production website (anything containing maidenform.com) you have the ability to change the default enviroment through two different means.
Currently three enviroment exits:

dev
stage
prod

You can change the environment for a single page by appending the following query parameter config with the environment name. For the homepage in local devolopment, this would result in https://localhost:3000/?config=stage for staging.
You can also modify the enviroment through the session storage this will make sure you can trough a full checkout process on the same enviroment. You would do that by adding an environment variable with the name of the desired environment. You can still override this setting by modifying the query parameters config.
Sitemap
The sitemap.xml is generated by gathering the content of two indexes though the helix-sitemap.yaml:

the static index
the products index

The static index is directly managed by Franklin upon publication and unpublication of pages.
The Products index is managed through a GitHub action, that will trigger the reindexing of the product pages it will gather the products from querying Commerce GraphQL. The product index is run daily or through a manual execution.
To be able to remove products pages from the sitemap:

The /products/query-index.xlsx should be emptied
The sync-commerce GitHub Action should be executed, this will ensure that only product currently available will be added


Sponser link, diary image added

Sponsors link added
Lecturer board hided
Diary image added

I have added the diary-3 page which wrote by Adv.Hirushani

I apologize for some mistakes which I made.
Thank You


"cmake --install build" has problem

command "cmake -S . -B build" and
"cmake  --build build"
seems no problem, when i use "cmake --install build", there is an error.
and there is actually no "E:/SEAL/build/lib/Release/seal-3.6.lib" such file exists.
how can i fix it?
E:\SEAL> cmake --install build
-- Install configuration: "Release"
-- Up-to-date: C:/Program Files (x86)/SEAL/include/SEAL-3.6/seal/util/config.h
CMake Error at build/cmake_install.cmake:43 (file):
file INSTALL cannot find "E:/SEAL/build/lib/Release/seal-3.6.lib": No
error.

thanks, i solved the problrm by using the command "cmake -S . -B build -G Ninja"


Error: Program(InvalidAccountData)

I am doing some tests, when I try to bash solana-token-creator.sh --edit-metadata-mode I always get Error: Program(InvalidAccountData).

Make shure you provideing the correct token mint address and field name. If you closed the mint you might not be able to update the metadata. If you created your token outside my token creator make sure you created with the —enable-metadata flag and then initialized the metadata.

ápr. 7. dátummal, 10:29 időpontban Emaborsa @.***> írta:

I am doing some tests, when I try to bash solana-token-creator.sh --edit-metadata-mode´ I always get Error: Program(InvalidAccountData)`.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

I am no really sure, I used your tool:
Do you want to disable mint? (y/n):
It's required for every token to function correctly.
y
|------------------------!!WARNING!!-------------------------|
| If you disable mint you cannot get any more of your token! |
| And you cannot update the metadata!                        |
| Please check everithing is correct before countinue!       |
|------------------------------------------------------------|

Do you want to countinue? (y/n):
n

You're done!! 🎉 Congratulations you've created a crypo!! 🎉

Theoretically I did not closed the mint. How can I check if it is closed?
Anyway, using bash solana-token-creator.sh --edit-metadata-mode allows me to edit the fields previously defined IV.3, right?

But to completly change the metadata you also need to update the off-chain metadata, becouse some programs display the off-chain some use the on-chain. And also It's a best practise to keep bouth of them the same, becouse comperaing them is used for metadata verification.


Release

@mpiannucci Now that Xpublish 0.3.0 is released with plugin support, do you want me to get PyPI and Conda-Forge releases going for this package? I've got them working for OpenDAP and EDR plugins.

Yea that would be great. I am close to being ready to release a more generally applicable api.

Ok, the repo should be prepped for releases. @mpiannucci while you could tag and create a Github Release now, it may be worth waiting for Conda-Forge to get caught up.
Currently the repo is getting initialized which may take an hour-ish https://github.com/conda-forge/xpublish-wms-feedstock
Once that's ready (we'll get tagged in a comment on an automatically generated commit), then creating a 0.1.0 release here will make a release on PyPI, and within 24 hours Conda-Forge should pick it up.

Sounds good. I have a new branch I need to merge in this week, so i will tag the release once the more robust branch is merged in.
Thanks for everything @abkfenris

And there the comment is https://github.com/conda-forge/xpublish-wms-feedstock/commit/52c7f1ce33da07a4f6071fd6d8deda449538ecea#commitcomment-113436771
The build is in progress, give it a few hours and it should be installable from conda-forge. https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=705710&view=results


Incorrect FontMetrics on Windows via PrinterJob Graphics

On Windows, the FontMetrics returned from Graphics.getFontMetrics(Font) within a PrinterJob are incorrect if the PageFormat has had the orientation explicitly set to PageFormat.LANDSCAPE or PageFormat.REVERSE_LANDSCAPE.  The issue is not present when explicitly setting the orientation to PageFormat.PORTRAIT. The attached code demonstrates the problem.
JPSFontMetrics.zip

@teamacs Which binary is this with?

@teamacs which binary is this with?

OpenJDK 8 with Hotspot (Latest release)
OpenJDK 8 with Eclipse OpenJ9 (Latest release)
OpenJDK 10 with Hotspot (Most recent nightly build)
OpenJDK 10 with Eclipse OpenJ9 (Most recent nightly build)

@teamacs Have you tried an Oracle JDK (8 or 10)?  I'm suspecting this is an OpenjDK upstream bug.

Yes, we have tried and confirmed it returns correct FontMetrics using the following:

Oracle JDK 8 (Windows and Mac OS)
Oracle JDK 10 (Windows and Mac OS)
OpenJDK 8 with Hotspot (Latest release on Mac OS)
OpenJDK 10 with Hotspot (Latest release on Mac OS)

OK this is going to take some digging.  Adopt doesn't apply any source patches over and above OpenJ9 at Eclipse or OpenJDK/Hotspot at OpenJDK upstream so I can only imagine its a bundle lib issue.

We have tested the following new releases and confirmed the issue also exists on Windows in these additional binaries:

OpenJDK 11 with Hotspot (Latest release)
OpenJDK 11 with Eclipse OpenJ9 (Latest release)
Oracle JDK 11 (Latest release)

I have just come across this issue in an App that has been upgraded to OpenJDK 11.  Is there a known workaround?

@karianna This seems like an support issue rather than build. Could this be transferred over to https://github.com/AdoptOpenJDK/openjdk-support?