Does TinyChart inference work on a CPU?

I'm running the inference notebook and just changed device to 'cpu':

import torch
from PIL import Image
from tinychart.model.builder import load_pretrained_model
from tinychart.mm_utils import get_model_name_from_path
from tinychart.eval.run_tiny_chart import inference_model
from tinychart.eval.eval_metric import parse_model_output, evaluate_cmds

def show_image(img_path):
    img = Image.open(img_path).convert('RGB')
    img.show()

# Build the model
model_path = "mPLUG/TinyChart-3B-768"

tokenizer, model, image_processor, context_len = load_pretrained_model(
    model_path,
    model_base=None,
    model_name=get_model_name_from_path(model_path),
    device="cpu"
)

img_path = "my_image.png"
show_image(img_path)

text = "Create a brief summarization or extract key insights based on the chart image."
response = inference_model([img_path], text, model, tokenizer, image_processor, context_len, conv_mode="phi", max_new_tokens=1024)

I get an AssertionError on the last line:
AssertionError: Torch not compiled with CUDA enabled

Hi @matsuobasho,
TinyChart can be able to run on the CPU theoretically, but it may not yet supported by this code. I am  going to check it and update the code this week.

I'm running the inference notebook and just changed device to 'cpu':
import torch
from PIL import Image
from tinychart.model.builder import load_pretrained_model
from tinychart.mm_utils import get_model_name_from_path
from tinychart.eval.run_tiny_chart import inference_model
from tinychart.eval.eval_metric import parse_model_output, evaluate_cmds

def show_image(img_path):
    img = Image.open(img_path).convert('RGB')
    img.show()

# Build the model
model_path = "mPLUG/TinyChart-3B-768"

tokenizer, model, image_processor, context_len = load_pretrained_model(
    model_path,
    model_base=None,
    model_name=get_model_name_from_path(model_path),
    device="cpu"
)

img_path = "my_image.png"
show_image(img_path)

text = "Create a brief summarization or extract key insights based on the chart image."
response = inference_model([img_path], text, model, tokenizer, image_processor, context_len, conv_mode="phi", max_new_tokens=1024)

I get an AssertionError on the last line: AssertionError: Torch not compiled with CUDA enabled

@matsuobasho I just update the code to support cpu inference. However, I do not encounter the error you have mentioned. You can first pull the new code and try again. If it still does not work, could you provide more information about the error? (e.g. the stack traces)

@zhangliang-04 thank you for making this update.  I incorporated the changes and it seems to be running.  HOWEVER, the inference_model step has been running for the past 25 minutes on a 60 KB png file.
I'm running on Windows 10 with 16 GB of RAM and a 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz CPU (3 years old).
At this processing speed, TinyChart is not useful.
Perhaps something is wrong in the default settings?


Enable test-new-project-works in CI for Windows

The test-new-project-works GitHub Actions job runs the built Ambient executable on each platform, and uses it to create a new project which it then checks for validity. This lets us test that the built executable is valid for that platform.
Unfortunately, I've had to disable it for Windows because the runner keeps running out of space. This can be solved by either freeing up space in the VM, or by reducing the size of the build. Suggestions and PRs welcome! (If you do test this, you'll probably want to do it on your own fork)
The action in question:
https://github.com/AmbientRun/Ambient/blob/a7349ba3c296cc70c8e6c7b98247e2b630f610ea/.github/workflows/ci.yml#L180-L211

I will like to work on this

By all means! Good luck and let us know how you go 👍


Wrong string value when enum has no other attributes

Hey, me again.
I got a little bug here.
Starting from the planet example, I'm trying to only customize the enum string value. If I remove all the attributes and just try to provide an string value, like this:
type planet int

//go:generate goenums planet.go
const (
	unknown planet = iota // invalid
	mercury               // Mercury
	venus                 // Venus
	earth                 // Earth
	mars                  // Mars
	jupiter               // Jupiter
	saturn                // Saturn
	uranus                // Uranus
	neptune               // Neptune
)

the generated names are all lower case, ignoring the provided value
const _planets_name = "unknownmercuryvenusearthmarsjupitersaturnuranusneptune"

As soon as I have one attribute, I get the capitalized string values.

Fixed in v0.3.1

Should the stringToXXX method also use these provided custom values to parse instead of the regular? And since it's doing a ToLower on the value, what happens if I provide CAPS values. It would need to lowercase the values in the switch statement as well. I'm wondering if the ToLower should be driven by an generator option as this might not be desirable in all cases (but that's not the purpose of this issue).
Finally, the .String() method doesn't seem to work (at least I think it doesn't, unless I'm doing something wrong).
fmt.Println(domain.DiscountTypes.PERCENTAGE.String())

output empty string.

Fixed in v0.3.2 There should be no need for a generator flag - code should handle this correctly now. Removed two lower and work with spacing and values defined.

Not quite fixed yet.
With the following definition (without the unknown value)
type discountType int
const (
	percentage discountType = iota + 1 //doing +1 here because I assume we wanna stay away from the zero value if there is no invalid value
	amount
	giveaway
)

if I output a value, it outputs the wrong value
fmt.Println(domain.DiscountTypes.PERCENTAGE.String()) //outputs "amount" instead of percentage.

Is it allowed to not have the unknown value in the definition? If not, then something should fail at generation time.

This is a smaller bug for non 0 indexed iota and works correctly with 0 indexed iotas.
I'm going to write more exhaustive test suite.  You do not need to have a unknown type or worry about 0 indexed.   I moved from using the index for this calculation and is an oversight.

@matdurand I have added test cases for the string representations - if you are still having any issues please let me know -
This should be fixed in v0.3.4

I have extended the Error message to be more descriptive and I have also set the index offset for when you are using the ParseXXX with an int input.  Thanks for the help on this @matdurand

@matdurand I will close this issue soon if no more feedback.  Thanks

Sorry, I forgot to comment, but it works, closing it now!


Selected unread message font is not bold

I have a setting to mark unread only manually. So when I navigate (2-column view) between unread messages, the selected one's text boldness gets canceled.
I know that it's the same in the default theme, but there selection is blue and this is not so noticeable. In this theme, this looks a bit strange to me, like if the message was immediately marked as read. Could you change it?
Here are screenshots:

not selected:

selected (looks like read, but the blue dot shows that it's not):

Thats a nice catch! It looks better with bolder text.
I changed it to look like this:

You can get it from the new release. Thanks :)

Thanks!


Remove references to the persistent committees

What is wrong?
https://github.com/ethereum/eth2.0-specs/pull/376
How can it be fixed
Remove all references of

SHARD_PERSISTENT_COMMITTEE_CHANGE_PERIOD (solved)
persistent_committees
persistent_committee_reassignments

close via #250


import declarations

Import declarations should be converted to await import() or require() before evaluation.

fixed by 86512e91c2ce29dd0e5110433ea2091dd5ec82c7


Don't get an iOS release built with debug mode=off

Hi,
we don't get an release build running for iOS (with debug=off).
With debug=on it works, The error message simply says:
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) were found.
I use an apple dev cert of type iOS development and the provisioning profile I use is also of type iOS development with two registered devices assigned,
What do I need to do to be able to build an iOS release? with debug=off

Try a production certificate.  See: https://github.com/eclipsesource/tabris-js/issues/581#issuecomment-134127135

You need a production certificate for release builds.


about NVidia GPU use example

I have an RTX 4060 graphics card, how do I deploy a gpu version of the model with this project

You need a gguf model file to use llama.cpp, not safetensors.

Thanks, I understand llama.cpp is used to load the quantized gguf model.
One more question, which parameter in the sample code is used to enable the use of the local GPU, and how to choose which local gpu to use

@CrazyJson ,
You need install coda in your pc
if you install cuda11, you should be choose this package
cuda12 use this package

i have the same problem, i download and install Cuda12 ,  but not use my GPU still use RAM!

do you have the cuda toolkit installed? You need that to supply the CUDA runtime packages

yes i did


Add redis migrator, for moving all keys from one redis to another

+1

Ok @jfrost, added the argument parsing bits.
Passed all testing locally, Thursday will be the final test

It works!


update the doc for standalone DevOps Tools v0.1.3

update the doc for standalone DevOps Tools v0.1.3

@MSraye : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[Feature] Implement ICO methods

The release of the NEX ICO Template introduces several handy methods that are interesting. Specifically,the crowdsale handling methods that allow the client to check if the sales is active and if the address is whitelisted.
While this set of methods are not an official standard, the rise of contracts following these set of standard has been increasing and it is beneficial to include them as part of the API offering.
Specifics

Comb through the NEX ICO template and find the methods to implement. Focus on methods that are useful from a client perspective (what methods are useful for a light wallet?)
These methods are to belong in the api/crowdsale.js file.

References

The methods you are crafting are probably similar to what is found in api/nep5.js

I'll go through the template later this week if that's 🆗 . 👌

@snowypowers so there are three functions that seem interesting to me, two of which are crowdsale related:

crowdsale_status: gets the KYC Status of an address
crowdsale_available: the amount of tokens left for sale in the crowdsale

This one is more general, but seems interesting to add as well:

circulation: the total amount of tokens in circulation

The rest are token owner functions

I have just read through the Orbis Contract and while it is nice that they are using C#, there is now a difference in methods:
Python:
crowdsale_status returns a boolean or a integer depending on whether have you contributed.
crowdsale_available returns an integer
C#:
checkKYC is the equivalent of crowdsale_status but returns strings 'on' or 'off'
C# does not offer the crowdsale_available equivalent

hmm, that's stupid. Is it still worth it implementing this if there are no standards in KYC/crowdsale operations?

There isn't but an implementation will help consolidate it. This won't have enough impact to be a NEP but implementation and support will make it easier for the community to come together. This is a good chance for discussion about some standardization.

In regards of achieving consensus - even if it's not impactful enough - wouldn't it be best to propose it as a NEP? Or spark the flame in the community to get it close to a NEP proposal?


added webhook support to gitness

Pull Request Title
/claim #997
Description
This pull request introduces functionality to support Git operations for the Gitness platform. The changes include:
ParseStaticGitContext Function: Adapts the method for parsing Git URLs to handle Gitness-specific URL patterns. This includes parsing pull request numbers, branch paths, blobs, and commits.
GetPrebuildWebhook Function: Retrieves existing webhooks for a repository and checks if a webhook with the specified endpoint URL already exists.
RegisterPrebuildWebhook Function: Registers a new webhook for a repository that triggers on push events, pointing to the specified endpoint URL.
UnregisterPrebuildWebhook Function: Unregisters an existing webhook from a repository using its ID.
GetCommitsRange Function: Compares two commits and returns the number of commits in the range between them.
ParseEventData Function: Parses webhook event data from Gitness, extracting relevant information about push events and affected files.
Dependencies
The GitnessProvider client must be configured to interact with the Gitness API.
Ensure that the appropriate Gitness API methods (ListWebhooks, CreateWebhook, DeleteWebhook, etc.) are available and correctly implemented.

[ x] This change requires a documentation update
[ x] I have made corresponding changes to the documentation

Related Issue(s)
This PR addresses issue #997

Thanks for the PR!
Please include the mandatory attachments as noted in the issue description.

This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 14 days). It will be closed if no further activity occurs. Thank you for your contribution.

Due to the lack of activity in the last 7 days since it was marked as "stale", we are closing this Pull Request. Do not hesitate to reopen it later if necessary.


Run the rmmv on electron

Can we provide an electron version of RMMV?

Unfortunately, it is outside the scope of this project.
This project improves the corescript of RMMV.
It might be possible to change the core script to work on electrons,
but it's doubtful how much it benefits.

thx for reply


Make category inherit Drop (so it can be used in templates)

Merged in 38ca5430bed203830bc4581eb27d3c39ba7f84e1.
Thanks for your contribution! :smiley:


Modify all of the iterators to allow returning an error on Next()

@benbjohnson not ready to merge yet (the errors don't get propagated in some places), but this is the initial work we should build on for getting Next() to return an error.

@benbjohnson this should now be ready for a review and merging.

:+1:


Fix link in advanced params

#1900

Travis automatic deployment:
https://pr1901--safereact.review.gnosisdev.com/rinkeby/app

This is a really minor change but with huge impact for app user experience. I'm going to add it directly to the release.


sqlite: flyway migrate fails, reports database is locked

I'm trying to setup flyway with sqlite, org.xerial:sqlite-jdbc and gradle.
While baseline works fine, migrate always reports database is locked
Unable to restore autocommit to original value for connection
java.sql.SQLException: database is locked
    at org.sqlite.core.DB.throwex(DB.java:859)
    at org.sqlite.core.DB.exec(DB.java:142)
    at org.sqlite.jdbc3.JDBC3Connection.setAutoCommit(JDBC3Connection.java:155)
    at org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:96)
        ...

How did you set up your datasource? Please include a small test case to reproduce.

sure. happens with the most basic setup. https://github.com/masc3d/flyway-issue-1180

issue persists with flyway/gradle-plugin 4.0. do you require more feedback?

adding a task using flyway directly works pretty much flawlessly.
/** masc20160330. workaround for flyway bug https://github.com/flyway/flyway/issues/1180 */
task flywayMigrateWorkaround << {
    Flyway flyway = new Flyway();
    flyway.setDataSource("jdbc:sqlite:${db_file}", "", "");
    flyway.migrate();
}
tasks.flywayMigrateWorkaround.group = "flyway"

btw flywayClean fails as well. looks like flyway-gradle-plugin is pretty much incompatible with sqlite.
  Unable to drop "main"."sqlite_sequence"
  [SQLITE_ERROR] SQL error or missing database (table sqlite_sequence may not be dropped)

Both the original and the sqlite_sequence issue have now been fixed. See my comment on #1499
Thanks for investigating!


Add neptune.ml logger

🚀 Feature
Create NeptuneLogger (similar to CometLogger) to integrate with neptune.ml.
Motivation
Jakub from neptune.ml here.
People use our tool to keep track of their deep learning experiments (similar to comet, wandb, mlflow).
As we support ML reasearch (our tool is completely free for individuals and research teams) I figured it would be good for both parties to integrate neptune with pl.
I also saw other tools like Comet, MLFlow, and Wandb with similar integrations here.
Solution/Pitch
I will prepare a PR with said integration and I only want folks to review/merge it.

Truth be told I've already prepared a PR (didn't submit it yet).
I just have one question. How do I update the docs?
Which files do I need to update?
Jakub

The docs are contained in the source files. See for example here for logging. The HTML can be generated with sphinx. See the Makefile in the docs subfolder.

Thanks @awaelchli!
Now I understand.
I will update those docs and submit my PR tomorrow/Monday.


[1654] Add infra team statuscake contact group

Context
Review the contact groups to make sure we don't miss notifications
Changes proposed in this pull request
Add the infra team contact group
Guidance to review
Run terraform-plan
Link to Trello card
https://trello.com/c/Z6eliKhq
Checklist

[ ] Attach to Trello card
[x] Rebased main
[x] Cleaned commit history
[x] Tested by running locally

 Review StatusCake contact groups


Optimize expression interpreter for simple case statement

Optimizations for simple case, searched case and coalesce

cc: @dain @martint

@nileema I think you should implement @cberner's idea of making fail() return UNKNOWN and then casting the result instead of having fail() being a parametric function.  Then I'd like @martint to take a quick review.

@martint updated

Typo in commit message "expresstion"

Two minor comments, but otherwise looks good


Manually implementing Guaka issue

Followed along with the "Getting Started - Manually implementing Guaka"
But couldn't make it work.
Run ./.build/debug/abc "Hello from cli" then the issue is:

hello: 'Hello from cli' is not a hello command. See 'hello --help'.
Did you mean this?
Hello from cli

From Package.swift

import PackageDescription
let package = Package(name: "abc",
dependencies: [
.Package(url: "https://github.com/oarrabi/Guaka.git", majorVersion: 0),
]
)

From main.swift

import Guaka
let command = Command(usage: "hello") { _, args in
print("You passed (args) to your Guaka app!")
}
command.execute()

After run swift build:

Compile Swift Module 'StringScanner' (5 sources)
Compile Swift Module 'Guaka' (24 sources)
Compile Swift Module 'abc' (1 sources)
Linking ./.build/debug/abc

Hello @pb-z,
I found the bug and I am working on a fix now.
Thanks for raising it!

@pb-z This has been fixed. Please delete the packages folder and run swift build again :)


Changed product name.

Changed "Apps" to "App" to reflect correct product name.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@jamesche75 : Thanks for your contribution to the Azure documentation! The author, @cephalin, has been notified to review your proposed change.

Hi James. Actually Web Apps for Containers is the intended name. However, thank you for spending your time taking care of our content and bringing it for discussion. #please-close

Can you please check that with the engineering team? I was specifically told for all of my documentation that the term is "Web App for Containers" and should not ever be "Web Apps for Containers". I made several PRs and yours is the only one that wasn't accepted. If you look in the portal and other communications we have on this, it's always "Web App for Containers". The plural form is Web App for Containers apps.

@jamesche75 You are indeed correct. Slightly embarrassing. I'll do a scrub through the docs to fix this.

Thanks. :) It is hard to keep up with all this stuff.  I might have missed some.


fix: add startup chunk dependencies plugin for module format

This PR add StartupChunkDependenciesPlugin for ModuleChunkLoadingPlugin, before the following code is missing for output: "module", which will cause entry chunk not running when entry chunk dependent other vendor chunks.
/******/ /* webpack/runtime/startup chunk dependencies */
/******/ (() => {
/******/ 	var next = __webpack_require__.x;
/******/ 	__webpack_require__.x = () => {
/******/ 		return __webpack_require__.e("commons-src_a_common_js").then(next);
/******/ 	};
/******/ })();

Summary

🤖 Generated by Copilot at 8f49b83
Added a new plugin and a test case for esm chunk loading with import(). The plugin ensures that common chunk dependencies are loaded before the module execution. The test case verifies the plugin functionality with a simple outputModule configuration.
Details

🤖 Generated by Copilot at 8f49b83

Import and apply StartupChunkDependenciesPlugin to enable async loading of startup chunk dependencies with import() (link,link)
Add outputModule experiment and splitChunks optimization to create a common chunk for modules matching /.common/ pattern in webpack.config.js (link)
Add a.common.js module that exports a loaded property (link)
Add index.js module that imports a.common.js and tests that its loaded property is true (link)

Tests are broken

I realized that this is not the right way for loading entry chunk's dependency chunks, __webpack_require__.e is using import() which is asynchronous, but it should be synchronous (import a from "a.common.js"), I don't know how to implement that so closing this PR and create a issue.


Computed field, type decimal, set for issues, isn´t shown:

Computed field, type decimal, set for issues, isn´t shown:
example:

The above computed field was applied to all projects.
When creating a new issue, computed field isn´t shown and when we save issue a error is triggered:

Sorry,  this isn´t a bug.


Added debug disable for app, added motion type filters to video events

Added in the missing debug input when I merged your master back into my fork.

Merged in your latest master.  Added the extra motion / image capture filters based on event.  The idea of a per child motion is probably a lot cleaner.

Decided to go a different direction -- which kind of merges the two concepts by mapping each event type to a separate attribute.  See https://community.hubitat.com/t/pre-release-google-sdm-api-nest-integration/52226/179
Declining this PR


feat: introduce mail filter abstraction

Coverage: 74.205% (-13.1%) from 87.349% when pulling 07da16effe9a1bb506f2ccedcc21a925671dc563 on mailfilter into 2445c8b50d24fe5cb06bc1a810a95bf1ce9a1b4e on main.


clickOnText can't scroll down ListView in a Fragment in a ViewPager

From<EMAIL_ADDRESS>on April 14, 2012 09:12:47
Robotium doesn't work well with a list view that can be scroll down in a ViewPager. What steps will reproduce the problem? 1.  What do you see instead? The About should be clicked but actually not. What version of the product are you using? On what operating system? 3.1, Android 4.0.3, Android 2.3 Please provide any additional information below.
Original issue: http://code.google.com/p/robotium/issues/detail?id=247

From<EMAIL_ADDRESS>on April 14, 2012 21:02:22
Fixed in 3.2.1. Feel free to resolve the issue.

From<EMAIL_ADDRESS>on April 15, 2012 00:16:01
Status: Invalid


Can you continue my fork?

I don't want to do with atom-community. Link to the fork

there is already active fork, check it
https://github.com/atom-community/atom
discord.gg/mbyjsyp3we

why don't will to do it with atom-community? the more fork is created, the less chance of a real continuation of this project

Exactly softorangetech11 we have a form called atom-community already Please visit that to contribute your path

I said...
That I don't want to contribute there.
So what other way??? I know it's hard, but some other people can join in.

Why do you reopen the thread
There is a discord group already and if you can please joint and we have
all agreed to atom-community fork
On Sun, 10 Jul 2022 at 20:48, stech11 (SoftOrange Tech) <
@.***> wrote:

Reopened #25559 https://github.com/atom/atom/issues/25559.
—
Reply to this email directly, view it on GitHub
https://github.com/atom/atom/issues/25559#event-6965425975, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALRDXFXRSUWGT6UHDH7TJP3VTMSJLANCNFSM52XTOIGA
.
You are receiving this because you commented.Message ID:
@.***>

Why do you reopen the thread There is a discord group already and if you can please joint and we have all agreed to atom-community fork
…
On Sun, 10 Jul 2022 at 20:48, stech11 (SoftOrange Tech) < @.> wrote: Reopened #25559 <#25559>. — Reply to this email directly, view it on GitHub <#25559 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALRDXFXRSUWGT6UHDH7TJP3VTMSJLANCNFSM52XTOIGA . You are receiving this because you commented.Message ID: @.>

Literally???? I said. I don't want to.

OK, I'll agree this time.

What are your reasons , why you don’t want to ?????
On Sun, 10 Jul 2022 at 20:58, stech11 (SoftOrange Tech) <
@.***> wrote:

Why do you reopen the thread There is a discord group already and if you
can please joint and we have all agreed to atom-community fork
… <#m_-1566688744274161201_>
On Sun, 10 Jul 2022 at 20:48, stech11 (SoftOrange Tech) < @.> wrote:
Reopened #25559 https://github.com/atom/atom/issues/25559 <#25559
https://github.com/atom/atom/issues/25559>. — Reply to this email
directly, view it on GitHub <#25559 (comment)
https://github.com/atom/atom/issues/25559#event-6965425975>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALRDXFXRSUWGT6UHDH7TJP3VTMSJLANCNFSM52XTOIGA
https://github.com/notifications/unsubscribe-auth/ALRDXFXRSUWGT6UHDH7TJP3VTMSJLANCNFSM52XTOIGA
. You are receiving this because you commented.Message ID: @.>
Literally???? I said. I don't want to.
—
Reply to this email directly, view it on GitHub
https://github.com/atom/atom/issues/25559#issuecomment-1179789027, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALRDXFX3KPZRLB5ASEXEANLVTMTPFANCNFSM52XTOIGA
.
You are receiving this because you commented.Message ID:
@.***>

What are your reasons , why you don’t want to ????? On Sun, 10 Jul 2022 at 20:58, stech11 (SoftOrange Tech) < @.> wrote:
…
Why do you reopen the thread There is a discord group already and if you can please joint and we have all agreed to atom-community fork … <#m_-1566688744274161201_> On Sun, 10 Jul 2022 at 20:48, stech11 (SoftOrange Tech) < @.> wrote: Reopened #25559 <#25559> <#25559 <#25559>>. — Reply to this email directly, view it on GitHub <#25559 (comment) <#25559 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALRDXFXRSUWGT6UHDH7TJP3VTMSJLANCNFSM52XTOIGA https://github.com/notifications/unsubscribe-auth/ALRDXFXRSUWGT6UHDH7TJP3VTMSJLANCNFSM52XTOIGA . You are receiving this because you commented.Message ID: @.> Literally???? I said. I don't want to. — Reply to this email directly, view it on GitHub <#25559 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALRDXFX3KPZRLB5ASEXEANLVTMTPFANCNFSM52XTOIGA . You are receiving this because you commented.Message ID: @.**>

I understand, closed this already


BBR transmits too aggressively under throttled network

Describe the bug
With normal ISP broadband with 30Mbps up, speedtest utilize about 70Mbps with BBR. While effective bandwidth is of course within 30Mbps.
Aggressive transmiting behaviour might lead to latency increase and jitters... Maybe there is something odd with congestion window detection.
To Reproduce
Just run hysteria-linux-amd64-avx speedtest
To mitigate the issue, I have to lower maxStreamReceiveWindow or use brutal, which is not even a work around.
I am using 2.5.0.
Expected behavior
Transmit rate should not shoot much beyond 30Mbps.

and also kernel TCP BBR on linux works like 10 times better under the same network conditions, i tested on my local network with "tc qdisc replace dev enp2s14 root netem limit 999999999 delay 100ms 50ms loss random 10%" and set network card to 10mbit/s and got
hysteria bbr: 700kbit/s iperf3 (network card was transfering at 1.4mbit/s)
kernel bbr: 8mbit/s iperf3 (network card was transfering at 8.5mbit/s)
but with "tc qdisc replace dev enp2s14 root netem limit 999999999 delay 100ms 00ms loss random 10%" i get much more similar results, seems like hysteria bbr hates jitter

brutal also seems to have issues, but kernel module with sing-box works much better
tc qdisc replace dev enp2s14 root netem limit 999999999 delay 100ms 50ms loss random 10% and brutal at 6mbit/s
sing-box: 712kb/s (network transfer at 6.4mbit/s)
hysteria2: 135kb/s (network transfer at 6.6mbit/s)


Do a clearnace chore with OVH

During the CI sprint we got bitten by this. It might be needed for the Testbed sprint.
@lgierth will you take that? If you don't want to, I can try doing it.

@Kubuxu if you could take it that'd be awesome, OVH has been my personal nightmare :)

One piece of government issued ID confirming your Identity and date of birth.
An invoice addressed to you dated from within the last two months.
The front of the credit card used to pay this order, hiding the first 12 numbers of your card number.
The back of the credit card used, with the CCV number hidden.

Yay it's done \o/


as_gpconstr --> as_constraint_set?

I find the name as_gpconstr confusing and misleading (it can return Signomials, if I understand correctly).
What about as_constraint_set? Wouldn't that be more precise?

as_gpconstr cannot return Signomial constraints.

Maybe we need to update the docstrings a bit. I keep getting confused about the distinction between as_gpconstr and as_posyslt1.

Yeah, those should definitely be better documented.
The reasoning behind the names is that gpconstr is short for GP-compatible ConstraintSet, which is what that method returns, while as_posyslt1 returns a list of Posynomials.


Allow to use custom auth method

allow builds using custom auth (for container builder)
cleaned up go source
use log instead of logrus
use container builder for the build
kubectl 1.8.4
gcloud 182.0.9

LGTM


[BUG] Intel Xe Graphics (i7 1360p)

System Details

OS: Windows 11
Thorium Version: 117.0.5938.157
Intel NUC 13 PRO
CPU: 1360p
Intel Xe Graphics

Problem
Use hardware acceleration when available if is checked screen starts to flickering (for some reason on my LG C1 is changing colors/profiles of sounds I tried to deactivate what Intel and LG is saying about [old bug probably] nothing worked. ) If you deactivate it and restart it everything starts to work without it.
Screenshots
N/A
Additional Notes
Any suggestions to fix it?
Thank you.
OFF: Best browser ever mate, I love it <3

Please check whether the graphics card driver is normal and the latest version.
In addition, please provide the URL of the webpage with the flickering problem and the screen recording when the problem occurred. I will try to reproduce the problem after receiving the information you provide.

You can try it on youtube, you just need to try with hardware acceleration.
Driver Details
Up to date
Provider
Intel Corporation
Version
<IP_ADDRESS>52
Date
10/31/2023
Device Details
Adapter Compatibility
Intel Corporation
Video Processor
Intel® Iris® Xe Graphics Family
Resolution
3840 x 2160
Bits Per Pixel
32
Number of Colors
4294967296
Refresh Rate - Current
60 Hz
Refresh Rate - Maximum
120 Hz
Refresh Rate - Minimum
23 Hz
Adapter DAC Type
Internal
Availability
Running at full power
Status
This device is working properly.
Location
PCI bus 0, device 2, function 0
Device Id
PCI\VEN_8086&DEV_A7A0&SUBSYS_30378086&REV_04\3&11583659&0&10
Thank you.

https://github.com/Alex313031/Thorium-Win/issues/103#issuecomment-1795802443
https://github.com/Alex313031/Thorium-Win-AVX2/issues/112#issuecomment-1795843646
Please see my test results. No abnormalities were found during the test.

https://github.com/Alex313031/thorium/assets/36346905/955d20bf-acd1-41b7-b1d3-40671df370c9
https://github.com/Alex313031/thorium/assets/36346905/91f0735e-0e04-4e52-b1c6-38b6aee0b204
Let me know if you need anything else.

Thanks for the screen recording video, can you provide the url of youtube that appears in the screen recording video? I'll take the time to test it.

Does not matter what video, any video you would load on youtube or any website with video will do that if you have hardware acceleration on.


Explicity set encoding of release notes via reno config

Summary
The recent reno release 3.2.0 included a new feature [1] for setting the
character encoding that reno uses for all it's files. [2] This commit
sets this option in the reno config file to make the release note files
explicitly utf8. This is important (especially for windows users)
because we have literal inlines of the text drawer in some release notes
which use utf8 characters. This should avoid issues for users who's
system encoding is not compatible with the text drawer output in the
release notes.
Details and comments
[1] https://opendev.org/openstack/reno/commit/984bcba17e4e0b46763f42015d09680e5c5d5a04
[2] https://docs.openstack.org/reno/latest/user/usage.html#configuring-reno

@eddieschoute this should fix the issue you reported with reno lint in: https://github.com/Qiskit/qiskit-terra/pull/4525#issuecomment-638491192


v11 compatability?

With V11 having changed so much of Foundry, I was wondering if this will work with it, or if someone has a fork that does?

There is a fork linked in #17 that claims v11 functionality


[SPARK-41553][PS][PYTHON][CORE] Change num_files to repartition

What changes were proposed in this pull request?
Change num_files to repartition
Why are the changes needed?
num_files has been deprecated and might be removed in a future version. "
"Use DataFrame.spark.repartition instead.",
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA

@dongjoon-hyun Thank you.
"And the num_files argument doesn't actually manage the number of files, but specifying the partition number."
https://github.com/apache/spark/pull/33379
But in the documentation
https://github.com/apache/spark/blob/d95fb4c33f6f061190fae091868117d182659147/python/pyspark/pandas/generic.py#L674
"So, we should deprecate the num_files argument and encourage users to use DataFrame.spark.repartition API instead."
https://github.com/apache/spark/pull/33379
The use of DataFrame.spark.repartition API has not been documented.
So if we change back to num_files
Change "The number of files can be controlled by num_files." to "The number of partitions can be controlled by num_files."
Add a note instead of num_files to manage the number of files DataFrame.spark.repartition can be used.
And remove if num_files is not None:

Can one of the admins verify this patch?

Merged to master.
Thanks guys for reviewing and addressing them.

Small improvements.
It's a pleasure to work together with you.
Thanks.


after installing Sphinx and trying to set up the theme: UndefinedError("'get_nav_object' is undefined")

▶ make html
Sphinx v3.3.1 in Verwendung
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 1 source files that are out of date
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index
looking for now-outdated files... none found
pickling environment... erledigt
checking consistency... erledigt
preparing documents... erledigt
writing output... [100%] index
Theme error:
An error happened in rendering the page index.
Reason: UndefinedError("'get_nav_object' is undefined")
make: *** [html] Error 2

many thanks
cheers Ludwig

Can you give a bit more details? How did you install the theme? Which version do you have installed? How are you using it? (do you have a custom template, or just using the defaults?)

No feedback for more than a year, i'm closing this one.


README: Add pluto link

Hi! I love this package! Adding the link should make it easier for people to find Handcalcs.jl online
https://github.com/user-attachments/assets/aaf1d012-0c31-4c78-bd35-185fd6be2705

Cool! I am glad you like the package!

I love it!!
Actually if you are interested, you could write a short notebook for https://github.com/JuliaPluto/featured ! You can explain a mathematical idea, or you can showcase the features of Handcalcs.jl! I think the package is quite useful for teachers using Pluto and I think it is easy to use, so I think many people would benefit from the featured notebook :)

Oh yeah that would be awesome!! I will see what I can come up with, and I'll get back to you!


How to create the certificate?

Hi there, thank you for providing this helpful SDK.
I'm trying to implement STC Pay for my client, but I couldn't find an API document.
So my question is how to create the certificate?
I only have the Merchant API key

Hey Hussam, glad to see you around! I've been following your contributions on Hsoub I/O a while ago and your work is truly inspiring :D
Concerning STC Pay, the merchant will need to get in touch with STC's support because their system works differently and is based on cert authentication, so they'll request a cert from you which you can then use to send requests to their server (we used Let's Encrypt to generate the cert).
STC Pay was a PITA to implement and that's exactly why we released this open-source package, I hope it helps!

Hi Abdessamad,
Glad to hear that :D, and thank you so much for following up.
Oh, thanks for the explanation it's really saved me a lot of time, I think it's been a week trying to find the API documentation or something helpful.
We'll get in touch with the support team, hopefully we can get it done ASAP.
Thanks again for your charming work, let's keep in touch!


drivers/mmcsd: fix regression causing emmcsd not working

Commit 50a8ec6 broke many mmc devices.  Only if the flag priv->caps & SDIO_CAPS_4BIT_ONLY was set, it migth work. Without the flag, the mmc clock is never set (mmcsd_widebus() call is terminated early stopping the clock).  This flag is probably not very generic because most mmc hw support 1, 4 and 8 bit modes.
JEDEC specifies a bus width selection procedure, but it's not implemented in this mmcsd_sdio.c driver.  Thus, it's not known whether the hw supports 1, 4 anf 8 bit modes or a combination of them.
However, with priv->caps & SDIO_CAPS_4BIT_ONLY the driver suddenly assigns priv->buswidth = MMCSD_SCR_BUSWIDTH_4BIT making it the only way to have the driver working.
Fix this by relaxing the above mentioned restrictions.
Summary
emmc devices are broken with the current driver
Impact
probably all emmc drivers
Testing
Microchip RISC-V with emmc attached

Just for reference, the host wiring  was what was represented by the 1 bit only, 4 bit only. Of course you can use 1 bit on a 4 bit wired host.

@eenurkka Please rebase on master to pick up the CI changes that fixed the MAC builds

@davids5 , I think I'm late rebasing (merged already)

@davids5 , I think I'm late rebasing (merged already)

@eenurkka No worries. @xiaoxiang781216 and I cross posted


tlogserver : handle db down in smarter way (erasure coding way)

tlogserver currently failed in case of one of the db server is down.
We can actually continue the operation as long as the number of failed servers is no more than M (parity number) value.

note : tlog decoder already do this

Will be handled by 0-stor-lib


Not able to generate statistics in 3.6.10 Final release

Hi,
We are trying to generate_statistics in hibernate 3.6.10 Final jar version. but are not able to generate the same.
switching to older hibernate version 3.6.2 version the statistics are generated.
Do we require to do something different to generate statistics in 3.6.10 ?
Note: we have updated the property generate_statistics = true in persistence-config.xml
Env
Tomcat 8.5.x
Hibernate 3.6.10
Spring 4.3.x
Log4j2
Let know if you require more information.
Thank you.
Regards,
Karan Dave.

Hi @karand1985,
Which article are you referring to?

We are encountering this problem of statistics not getting generated in our dev environment.
On researching more on google we found this article
https://github.com/eugenp/tutorials/tree/master/persistence-modules/spring-hibernate-3
In this also hibernate 3.6.10 is used. so i raised the query if any thing is changed in this version to generate the hibernate statistics since, the hibernate version 3.6.2 generates statistics.
Regards,
Karan Dave.

Unfortunately, we can only help with questions that are specifically and directly related to the article - not with your own, custom application.
Please check the Hibernate change log and/or ask the Hibernate community. Also, StackOverflow is a great place to ask this kind of questions.


⚠ Bofrost.es has degraded performance

In 3bc60f0, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1404 ms

Resolved: Bofrost.es performance has improved in 76ebb70 after 6 minutes.


Night CI 2023-12-30: Failed

action url: https://github.com/spidernet-io/egressgateway/actions/runs/7366061980

same with #1110


Equalizer

🧐 Have you read the FAQ and viewed similar issues?

[ ] I have read the FAQ
[X] I have checked older issues, open and closed
[ ] I did a clean install of SpotX as described in the FAQ

Сountry of your account
Indonesia
What is your Spotify Plan?
Free
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify: <IP_ADDRESS>2.g7a9200fe
- Windows: Win10 Pro 22H2 19045.2006
- PowerShell: 5.1.19041.1682

📝 Description
sometimes the equalizer settings go back to default, even though it's never forced closed and the cache is never cleared via preferences or third party apps (CCleaner/Bleachbit/Wise Cleaner)
📸 Screenshots
No response

FAQ


Move to Kotlin DSL for Gradle

Looking at What's new in Gradle 7.0, I get the definite impression that Gradle are now encouraging developers to move away from Groovy and towards Kotlin.
I see this as something we would want to do before https://github.com/ably/ably-asset-tracking-android/issues/349.
Also acknowledging @ben-xD's comment here.
┆Issue is synchronized with this Jira Task by Unito

Another consideration with multi-project builds is that you won’t be able to use type-safe accessors when configuring subprojects within the root build script or with other forms of cross configuration between projects. We discuss both topics in more detail in the following sections.

https://docs.gradle.org/current/userguide/kotlin_dsl.html#sec:multi_project_builds

I think I will have to park this work for now as it ended up taking up lots of my time. Some notes:

Migration guides are quite optimistic and do warn little about issues you might have to deal with. I used  https://developer.android.com/studio/build/migrate-to-kts and https://docs.gradle.org/current/userguide/migrating_from_groovy_to_kotlin_dsl.html. It was easy to convert individual submodules' build.gradle files to KTS

It's not possible to apply from a custom Gradle script file using apply{from.... The recommended approach is using plugins block on root project or subproject level build.gradle files. I tried with a clean root level build.gradle file and attempted to configure JoCoCo plugin using this https://docs.gradle.org/current/userguide/jacoco_plugin.html with no luck. If that was possible I could at least configure JaCoCo and maven-publish plugins on root level build.gradle file.

It's not possible to set multiproject configuration on root level with "type safe accessors" which makes IDE completely useless. From https://docs.gradle.org/current/userguide/kotlin_dsl.html. Eventually we could move those android blocks to individual modules. I had tried with some with IDE complaining, so I stopped the process.

I had to invalidate caches / restart several times for IDE to properly detect my changes. I also had to clean Gradle caches on my system several times as a change would produce different output each time.

Restriction for apply {from some custom gradle script is temporary and support will come with later releases (I couldn't find the exact link in the time of this writing)

Based on all of this I thought it's best (for now) to park this work and wait for some more complete APIs and tooling support. I eventually depend on the IDE support when writing those and that was one of the most argument for conversion. It also ended up being quite a daunty task and I felt like the tooling is not quite yet ready for this.
What do you think @QuintinWillison ?

Fair enough. I trust your analysis.
@KacperKluka, have you got any further thoughts to add?
We'll keep this issue open but I'll apply the new blocked-by-external label that I just created for this issue. 😄

It might be also worth to say that https://github.com/ably/ably-asset-tracking-android/issues/269 will stay blocked until this one is done.
In the meantime, I will try to convert gradle files on my own demo project and play with different ideas. I don't expect to have any issues there since it's a simple one.

Give we decided to give up on https://github.com/ably/ably-asset-tracking-android/pull/494, I don't see any value in keeping this issue alive. We may as well persist with Groovy. It works and is clearly the most supported route by Gradle.


Durafetch Usage Scope

Currently I am writing a quiz app that uses websocket and durable objects, similar to a lite kahoot. Based on the docs, I would be able to access the quiz answers in sqlite table if its stored in the session's durable objects ?

Yes, anything you write via the Durable Object storage API (get, put) will be in the SQLite db on the machine running the CLI.


Allow iteration over headers, and enable multiple headers of a name

Hi there. I'm trying to convert to and from the http crate Request and Response types while actually sending the request through an embedded_svc::http::client::Client instance. I noticed while trying to rebuild the response that embedded_svc::http::Headers trait's API does not provide an iterator over header/value pairs, but rather provides a "key lookup" style API, e.g. let header = response.header("header name"). I have a few questions about this:

According to the http spec, it is possible for a request or response to have multiple headers with the same name (https://greenbytes.de/tech/webdav/rfc2616.html#rfc.section.4.2.p.4). However, having a "lookup" style API like this one seems to imply that each header name will only have one value. Would it be feasible to define (perhaps in a new trait) an iterator-style API that is capable of yielding multiple entries for the same header name?
In current known implementations of the Headers trait, does it simply return a comma-separated string to indicate multiple values for the given header? Or are multiple values by the same header name silently dropped?
With the current Headers trait, is there any way to enumerate all of the names of headers in a response? It seems not.

I think that the http crate does a really good job at capturing the nuances of the http protocol, so it'd be nice if the http traits here were expressive enough to allow for a full round-trip conversion without loss of information (for suitable body types).

In current known implementations of the Headers trait, does it simply return a comma-separated string to indicate multiple values for the given header? Or are multiple values by the same header name silently dropped?

Judging by this code the last parsed header with the same name will be present in the headers (silently dropping others).

With the current Headers trait, is there any way to enumerate all of the names of headers in a response? It seems not.

Currently, I don't believe so, I think you'd have to have a dependency on the implementation of the svc traits. Currently, in esp-idf-svc, headers are stored in a BTree.

I think that the http crate does a really good job at capturing the nuances of the http protocol, so it'd be nice if the http traits here were expressive enough to allow for a full round-trip conversion without loss of information (for suitable body types).

I agree! I've used it before, it's very nice! A PR would be most welcome :)

Sounds good. And just to clarify, I'm not expecting to get full parity with http, but just hoping to fix some rough edges, such as wanting to enumerate the headers in a request or response. I'm all for keeping things generic in a no_std-friendly way :+1:


Change all types to interfaces

By migrating from type to interface everywhere it is possible, we enable our end-user to override/add/remove types and properties it want to change.
This improves our modularity in general.
Also, clarify how to do this on documentation:
declare module 'axios-cache-interceptor' {
  interface CacheRequestConfig<R = any, D = any> {
    myType: string;
  }
}

Do you mind if I work on this one?

@denis-rossati its all yours


Testing Framework

@mondus  suggested potentially switching away from boosttest for unit tests.
ctest, boosttest, and googletest seem to be the popular 3.
With cmake as a dependency `ctest might make the most sense?

Looks like Gunrock uses googletest


python312Packages.xiaomi-ble: 0.32.0 -> 0.33.0

Diff: https://github.com/Bluetooth-Devices/xiaomi-ble/compare/refs/tags/v0.32.0...v0.33.0
Changelog: https://github.com/Bluetooth-Devices/xiaomi-ble/releases/tag/v0.33.0

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 350426

x86_64-linux

:white_check_mark: 5 packages built:

home-assistant-component-tests.xiaomi_ble
python311Packages.xiaomi-ble
python311Packages.xiaomi-ble.dist
python312Packages.xiaomi-ble
python312Packages.xiaomi-ble.dist


Cannot find class AndroidTokenStore

I am using version 0.9.0 and I am following the example here
But it seems like AndroidTokenStore does not exist in the library. Has it been removed in an update? if so what is the alternative method?

AndroidTokenStore belongs to JRAW-Android. Use that library to get all of the Android-related classes.

Yes I see it now. thanks


Add more code and test it

This example PR showcases the CI workflow that automatically adds a comment to the PR with a code coverage report.

[PR Coverage check]
:heart_eyes: pass : 12 / 14 (85.71%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
org/example/Library.java
2
3
66.67%

:large_blue_circle:
lib.rs
4
5
80.00%

:large_blue_circle:
tests/mod.rs
6
6
100.00%


tests/drivers/ipm: Enable on (uniprocessor) x86_64

[Let's just skip the SMP work in #14619 and commit the obvious workaround for now.   There's a giant task for 1.15 to make all the tests and subsystems SMP-safe anyway, there's no need to jump through different hoops for IPM of all things.]
This test was having trouble earlier (at least with some toolchains),
but whatever was causing that seems to have been fixed.  The only
remaining issue is that neither the IPM console code nor the test are
SMP-safe.  There's a bug (#14639) tracking the need to get these
working, but for now the straightforward workaround is just to disable
SMP.
And even long term, IPM is an oddball interprocessor communication
mechanism designed for asymmetric multiprocessing devices like Quark
SE and doesn't seem like an obvious fit for a SMP machine.
Fixes #12478
Signed-off-by: Andy Ross<EMAIL_ADDRESS>

Ran this on both my dev machine and an only-slightly-stale CI docker image and it worked for 30 runs each without failure.  Should be OK in the actual CI, but note that the earliest version of this bug was weirdly spurious and from an era before SMP became default, so..


Why this line of code exists?

@javAlborz
What is the intention of the following line?
https://github.com/magnussig/ml-ops/blob/main/Makefile#L23
It used to be:
$(PYTHON_INTERPRETER) -m pip install -e .

oops, that was a mistake, you can add it back


Added miopenGetConvolutionSptialDim api

Description
Added new MIOpen API, which will be used for ROCm5.5 onward.
Motivation and Context
https://github.com/ROCmSoftwarePlatform/MIOpen/pull/1917

@jeffdaily for the upstream PR, should I just fork from upstream and add this in?


Add an integration test for genesis ledger export

Explain your changes:

Add an integration test for genesis ledger export

Explain how you tested your changes:

Run the test on gcloud. CI.

Checklist:

[x] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[x] Modified the current draft of release notes with details on what is completed or incomplete within this project
[x] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[x] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[x] All tests pass (CI will check this if you didn't)
[x] Serialized types are in stable-versioned modules
[x] Does this close issues? List them

Closes https://github.com/MinaFoundation/mina/issues/38

!ci-build-me

!ci-nightly-me

!ci-build-me

!ci-build-me

!ci-build-me


Create FAT binary for MacOS to support x86 and ARM.

Builds in the MacOS library targeting both x86_64 and arm64 which should produce a single FAT library file that works on both architectures automatically.
fixes #13

There's a couple of hacks in here to work around the fact that the blst build system doesn't work well with Mac fat binaries.  Firstly blst uses the ar command to build an archive of the two compilation outputs (server.o and assembly.o).  We can set CFLAGS to get those .o files to be compiled as fat, but ar doesn't support fat archives - you need to use libtool -static which does essentially the same job but supports fat binaries and unfortunately has different CLI syntax. We can't make that work just by setting env vars so use ar to expand the built archive again then recreate it with libtool -static which fortunately works.
But then the final built jar has the fat library under Mac/x86_64/ directory and the swig code is configured to find the library to load based on the OS and arch names, so on ARM it would be looking in Mac/arm64. We get around that by just copying the library to Mac/arm64 directory. Down side is we're including two copies of the fat binary when we could just use one but it makes it work with the current version of blst. We may be able to push some changes back upstream to avoid these work arounds in future releases.

Can we get this one merged?

Can we get this one merged?

Unfortunately when I've been able to get people testing this on an M1 Mac the native library doesn't seem to load correctly when using an M1 native JVM.  It looks like the dylib is correctly multi-arch so I suspect there's something in the loading process that isn't writing out the right library or something like that.  Though it could still be that the compilation isn't right.

@ajsutton here’s an alternative approach that does not attempt to make a universal binary:
assumptions:
# must run within blst/bindings/java

# assume run on x86_64 arch Mac
# test compiler architectures
cc -dM -E -x c /dev/null | grep -q x86_64
cc -arch arm64 -dM -E -x c /dev/null | grep -q AARCH64

build steps:
# start clean
rm -f libblst.a supranational.blst.jar
rm -fr supranational

# CC for build of libblst.a
# CXX for build of SWIG layer
CC="cc -arch arm64 " CXX="c++ -arch arm64" ./build.sh

# os.arch of this JVM is x86_64, but we cross compiled above
mv supranational/blst/Mac/x86_64 supranational/blst/Mac/aarch64

# reset for new compile
rm -f libblst.a supranational.blst.jar

# build with defaults of x86_64
./build.sh

double check the output
lipo -info supranational/blst/Mac/x86_64/libblst.dylib
lipo -info supranational/blst/Mac/aarch64/libblst.dylib
jar tf supranational.blst.jar

@ajsutton here’s an alternative approach that does not attempt to make a universal binary:

ooo, that's really cool and definitely reduces the hackiness a step.  Have you been able to test if the resulting jar actually loads BLST on an M1 Mac using a native JVM?

@dwhjames I've switched over to your approach with a couple of tweaks to ensure we keep building a compatible library.  I note that you called the directory aarch64 and I previously had it as arm64 so there's a good chance that's all that was stopping it from working previously.
Attached is a zip file with the jblst jar built from this PR and a little test class that tries to init the BLST native library. It works on my x86 Mac but I don't have an M1 Mac to try it on.
blst-test.zip


Ensure the alert batch jobs are running

The user configured to execute the Alert batch jobs needs to have RunAs privileges setup on the Active Directory Domain.  This is needed because each rule is executed in the context of the user that created it. This ensures that the user creating the rule meets the security requirements needed to view the data returned from the form query. It prevents unauthorized access to the data in the case of a user changing roles.  Failure to configure a user with the RunAs privilege may result in unintended authorization failures that can lead to unwanted AOS restarts.
The user executing the Alert batch jobs must also be able to send email in the event the rule is configured to send an email notification.

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

ID: 6ff6f2d2-3ff9-6e7d-999f-1da5ecf248ab
Version Independent ID: 3f877db5-f3de-6ed3-0f8e-94b8361e444a
Content: Create alert rules - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/fin-ops/get-started/create-alerts.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @RichdiMSFT
Microsoft Alias: richdi

Bug 759226 has been logged to address this issue.

Thanks for your feedback. We are closing this issue because we are either unable to find relevant information or reproduce this. If you're still experiencing the issue described here, please reopen or create a new issue.


Docs: Add data source configuration gude content

Add and adapt content from internal document on data source configuration to plugin-tools website.

Actually this should be closed as shipped.


Subscriptions events for a page include page events which are not functional

When creating a subscription to a page, other page events are available to subscribe to (Page Create, Page Update, Page Trash etc...). I'm not sure if these should be there.
Since they are listed, I assumed they would deliver events for other pages created below the target page in the hierarchy. But this does not work.
Steps:

Create a page A
Create a page subscription to page A
Add Page event such as Page Create
In confluence,  Create page B below the page A in the hierarchy
Observed: No event is delivered
Expected: not sure..
A. Page events on a page subscription should capture events for any pages made below target page you are subscribing to.
or
B. When you select Page and the subscription type, page events should not be listed.

"Page Create" makes no sense on a page subscription as the page is already created. The other events are OK & should be able to subscribe to. Option A will not work. We would need a tree watcher on the Confluence side for this, which is not trivial to implement.


Broken link to "Kubernetes Design and Architecture" design doc

I've updated the broken link in the document with the right one from the design-proposal-archive repo.
Reference: https://github.com/kubernetes/website/issues/33893#issuecomment-1135497781

Hey, I have opened PR #34155 to fix all those links, please take a look.

#34155


The VDB name doesn't need to be uppercase

don't uppercase the VDB name when replacing the placeholders in the ddl
allow also capital letters in the vdb name

please create related JIRA isseu in FUSETOOLS2 project as we agreed durign team meeting. it allows to give more visibility to everyone, especially for QE team.

@apupier instead of FUSETOOLS do you want to use TEIIDTOOLS project? So that we can keep them in single place. I can create whatever categories and labels for these?

it will require that we update our dashboard to include also the TEIIDTOOLS project and see how to match the different state. This woudl need to be discussed with our QE Team too.
I don' tunderstand hwy you say that using TEIIDTOOLS will keep them in a single place. You are also creating issues for VS Code DataVirt in TEIIDTools? The Teiid Tool is plannign to work on the VS Code Data Virtualization extension?

Actually this vs code plugin is actively developed and maintained by the Fuse Tools team (at least for a foreseeable future) which led to the decision to have its ticket managed in our Jira project. Maybe we should discuss that with Paolo if you feel that this is not a good situation, Ramesh. Tbh I have no strong opinion on that. We just need to ensure that our QE team knows where the issues are as long as you don't bring in your own QE people.

it will require that we update our dashboard to include also the TEIIDTOOLS project and see how  > match the different state

yes, that is true. I agree it is more work that way

This woudl need to be discussed with our QE Team too.

QE typically looks at the ENTESB (at least AFAIK)

I don' tunderstand hwy you say that using TEIIDTOOLS will keep them in a single place.

All Teiid tools related stuff is there.

You are also creating issues for VS Code DataVirt in TEIIDTools?

No, so far you were just using github issues day to day, and we used ENTESB for tracking at QE and management. Now we are adding a third one.

The Teiid Tool team is planning to work on the VS Code Data Virtualization extension?

No, our team does not have any bandwidth currently for participating. What I am advocating is, instead of making a decision based on the team building maybe consider based on technology it supports?
I can certainly add FUSETOOLS with this component to DashBoard as I already manage 4 others here https://issues.redhat.com/secure/RapidBoard.jspa?rapidView=4173&projectKey=TEIIDTOOLS but making a suggestion if it better to use on that something more closely aligned with Teiid stuff. B

This woudl need to be discussed with our QE Team too.

QE typically looks at the ENTESB (at least AFAIK)

there is a dedicated Fuse Tooling QE Team which is looking to FUSETOOLS and FUSETOOLS2

Ok, I can always pull in from FUSETOOLS2, then

but making a suggestion if it better to use on that something more closely aligned with Teiid stuff. B

understand the concern

Ok, I can always pull in from FUSETOOLS2, then

thanks. at least in a first time, I think it will be easier.
it makes sense discuss moving to TEIIDTOOLS. We need to synchronize with QE and Doc to see if and how we can move to TEIIDTOOLS for VS Code Data Virtualization.

Guys, I really don't want to interrupt your discussion but I think it doesn't belong here. Can we take that to the appropriate chat channel instead or create a mail thread?

I think we need to sort out what is the right rule.
in DV Use case, it is mentioned:
This name must conform to an Openshift resource name.
OpenShift resource name have the following constraints (see [here](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names)):

contain no more than 253 characters
contain only lowercase alphanumeric characters, ‘-’ or ‘.’
start with an alphanumeric character
end with an alphanumeric character

this is not compatible with uppercased letters as proposed here

I have seen an example where it had mixed lower and upper case letters in the name. Unfortunately I can't find that example atm and it could have been just an error in that example too. I will reach out to Ramesh for clarification.

Closing as rejected. We stick to the rules of OpenShift resource naming.


Add userland Xorg keylogger module

Great work! I think you can change "OpSec safe to True" Also change line 67 to this
def generate(self, obfuscate=False, obfuscationCommand=""):

Once that is fixed up, please re-pull request to the dev branch and we'll accept the PR. Thanks!


Added CanSetRequiredFieldsFromJson method for OpenAPI generator

Changes
Added CanSetRequiredFieldsFromJson method for OpenAPI generator
Tests

[x] make test passing
[x] make fmt applied
~[ ] relevant integration tests applied~

Codecov Report
Attention: 9 lines in your changes are missing coverage. Please review.

Files
Coverage Δ

openapi/code/method.go
32.76% <0.00%> (-1.76%)
:arrow_down:

:loudspeaker: Thoughts on this report? Let us know!.


Share point online : context.ExecuteQuery() -> "Access denied" for File.

Hi,
I have an AAD registered app with Api permission "SharePoint/Sites.Selected". The permission for the app to access those selected sites are provided in the SharePoint online.
My app also set with Full Control to sitecollection scope in the SharePoint.
My request is authenticated successfully and authorized until executing ExecuteQuery() at Web and Root Folders contexts.
When I execute ExecuteQuery() for reading a file in the document library, "Access denied" exception is thrown. My assumption is, if the app has set with Full Control to sitecollection scope, it should allow to read the files in the permitted SharePoint sites. Correct me if I am wrong.
Need your inputs to resolve this issue.
Code snippet attached,
SP access  issues code snippet.txt
Thanks.

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


[Event Request] Codeunit::"Sales Post" - Function SetPostingFlags - OnBeforeCheckPostingFlags

We like to request the following Event:
Object: Codeunit::"Sales Post"
Function: SetPostingFlags
Publisher Event: OnBeforeCheckPostingFlags
Reason: To implement custom business logic
Where is the event placed:
OnBeforeCheckPostingFlags(SalesHeader, IsHandled);
if not IsHandled then
if not (Ship or Invoice or Receive) then
Error(ShipInvoiceReceiveErr);
end;
Event Code:
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckPostingFlags(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Deprecate unnecessary public variables in L2

Description
As part of cleanup for L2, we want to revert implicit functions created for public variables that will be deprecated on CEL2. This is done by:

Renaming the variable to deprecated_x
Making it private
Adding a public, view, onlyL1 function that returns the variable (for full compatibility until the L2 switch is flipped)

TODO:

[ ] Decide what still needs deprecated in GasPriceMinimum.
[ ] Final double check to see if anything else needs to be deprecated.

Other changes
Minor cleanup in tests.
Tested
Unit tests that verify the variables can still be retrieved on L1 but revert on L2.
Related issues

Fixes https://github.com/celo-org/celo-blockchain-planning/issues/653#issue-2564961955

Everything in GasPriceMinimum should be deprecated on L2

Everything in GasPriceMinimum should be deprecated on L2

+1


font-awesome: new package at 5.12.1

Description of package
Font Awesome 5
Installed manifest of package
/var/db/kiss/installed/font-awesome/version
/var/db/kiss/installed/font-awesome/sources
/var/db/kiss/installed/font-awesome/manifest
/var/db/kiss/installed/font-awesome/checksums
/var/db/kiss/installed/font-awesome/build
/var/db/kiss/installed/font-awesome/
/var/db/kiss/installed/
/var/db/kiss/
/var/db/
/var/
/usr/share/fonts/OTF/Font Awesome 5 Free-Solid-900.otf
/usr/share/fonts/OTF/Font Awesome 5 Free-Regular-400.otf
/usr/share/fonts/OTF/Font Awesome 5 Brands-Regular-400.otf
/usr/share/fonts/OTF/
/usr/share/fonts/
/usr/share/
/usr/

New package

[x] Latest upstream version.
[x] I agree to maintain this package.
[x] I agree to notify @dylanaraps if I can no longer maintain this package.

/var/db/kiss/installed/font-awesome/depends

Why is this in the manifest if there are no dependencies?

/var/db/kiss/installed/font-awesome/depends

Why is this in the manifest if there are no dependencies?

I don't know, I'm going to look at what has happened.

Solved was a previously depend, that it is no longer necessary.

Thanks


Broken link with regard to Text in Unity

Existing document: "Text in Unity" docs.microsoft.com
https://docs.microsoft.com/en-us/windows/mixed-reality/text-in-unity
Broken: Scroll to the bottom of the page to find a "See also" section linking to "Text Prefab in the MRTK". This link points to a 404 GitHub repo.
https://github.com/Microsoft/MixedRealityToolkit-Unity/tree/mrtk_release/Assets/MixedRealityToolkit.SDK/StandardAssets/Prefabs/Text
Perhaps this is a problem with link validation, or use of absolute paths?

Duplicate of Issue #1234, closing and tracking there.  Thanks @SarahSexton


chore: bdd-sbrp-import-1585581800 to 0.0.1

chore: Promote bdd-sbrp-import-1585581800 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


CDC ignore column/table/database name case

What is the purpose of the change
Ignore column case in CDC.
Brief change log

Change column name to lower case in craft and json.
Use CDC original column name in canal-json.

Verifying this change
Use current tests.
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency):  no
The public API: no
The runtime per-record code paths (performance sensitive): yes

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

https://github.com/tidb-incubator/TiBigData/issues/250

/run-all-tests

/run-all-tests


[stacked_themes] Exception (...) _themeManager@929083297' has not been initialized

I'm trying to implement themes on an app, but I get this error on launch
Exception has occurred.
LateError (LateInitializationError: Field '_themeManager@929083297' has not been initialized.)

Following this, I changed the main() to a Future, added the await ThemeManager.initialise();, wrapped the MaterialApp with a ThemeBuilder, etc.
But when I try to _themeService.toggleDarkLightTheme(); on a viewmodel, I get the previous exception. Any ideas?
You can see a (non) working example at https://github.com/sqrg/flutter_base_project, and the failing code is in https://github.com/sqrg/flutter_base_project/blob/master/lib/core/viewmodels/debug/debug_viewmodel.dart

In your project, line 19 in app.dart is incorrect.
Replace this line
LazySingleton(classType: ThemeService),

with this
LazySingleton(classType: ThemeService, resolveUsing: ThemeService.getInstance),

Follow the documentation https://pub.dev/packages/stacked#dependency-registration for more details.

Thanks! Now it's working :)


Uncaught Error: Trying to send an unexpected type of value through port addImportSub:Expecting...

[Enter steps to reproduce:]

...
...

Atom: 1.32.2 x64
Electron: 2.0.9
OS: Mac OS X 10.14.1
Thrown From: elmjutsu package 9.9.0
Stack Trace
Uncaught Error: Trying to send an unexpected type of value through port addImportSub:
Expecting a longer array. Need index 4 but there are only 4 entries but instead got: ["/Users/drunkengranite/projects/websites/cubicle-accounts-frontend/src/Toolbox/Input.elm","/Users/drunkengranite/projects/websites/cubicle-accounts-frontend","Html",null]
At /Users/drunkengranite/.atom/packages/elmjutsu/elm/indexer.js:2848

Error: Trying to send an unexpected type of value through port `addImportSub`:
Expecting a longer array. Need index 4 but there are only 4 entries but instead got: ["/Users/drunkengranite/projects/websites/cubicle-accounts-frontend/src/Toolbox/Input.elm","/Users/drunkengranite/projects/websites/cubicle-accounts-frontend","Html",null]
    at Object.send (/packages/elmjutsu/elm/indexer.js:2848:10)
    at /packages/elmjutsu/lib/indexer-worker.js:19:45)
    at Object.onDidInsertSuggestion (/packages/elmjutsu/lib/autocomplete-provider.js:569:17)
    at AutocompleteManager.confirm (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:649746)
    at subscriptions.add.suggestionList.onDidConfirm.e (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:642768)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1186984)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1188425)
    at SuggestionList.confirm (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:495970)
    at SuggestionListElement.confirmSelection (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1976045)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1186984)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1188425)
    at SuggestionList.confirmSelection (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:496031)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:347327)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1227611)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1223745)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:282763)

Commands
     -0:53.5.0 intentions:highlight (input.hidden-input)
  2x -0:53.4.0 editor:move-to-end-of-word (input.hidden-input)
     -0:52.9.0 datatip:toggle (input.hidden-input)
     -0:50.9.0 core:move-left (input.hidden-input)
     -0:48.7.0 core:move-right (input.hidden-input)
     -0:47.5.0 core:save (input.hidden-input)
     -0:24.2.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:22.9.0 core:move-left (input.hidden-input)
     -0:20.2.0 autocomplete-plus:confirm (input.hidden-input)
     -0:17.7.0 core:move-right (input.hidden-input)
     -0:15.2.0 intentions:highlight (input.hidden-input)
     -0:15 datatip:toggle (input.hidden-input)
  2x -0:13 core:move-left (input.hidden-input)
     -0:11.7.0 core:move-right (input.hidden-input)
  2x -0:10 core:backspace (input.hidden-input)
     -0:07.6.0 autocomplete-plus:confirm (input.hidden-input)

Non-Core Packages
atom-ide-ui 0.13.0
autocomplete 0.47.0
busy-signal 1.4.3
elm-format 3.2.0
elmjutsu 9.9.0
file-icons 2.1.26
go-plus 5.9.1
intentions 1.1.5
javascript-snippets 1.2.1
jenkins 0.3.5
language-elm 1.5.0
language-graphql 0.11.0
language-hcl 0.4.0
language-jenkinsfile 0.1.1
linter 2.2.0
linter-ui-default 1.7.1
markdown-preview-plus 3.7.1
Stylus 3.2.0

Just been getting this a lot with the latest package, feel free to close

Thanks a lot for reporting!


"[ERROR] watcher error " messages seen in the logs

Version: master-head
Steps:

Create a 3 node DO cluster
Just using the cluster , creating workloads, HPA and general testing has lot of watcher error messages in the logs as  below:

2019/10/02 22:18:20 [ERROR] watcher error &Status{ListMeta:ListMeta{SelfLink:,ResourceVersion:,Continue:,RemainingItemCount:nil,},Status:,Message:unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body),Reason:ClientWatchDecoding,Details:nil,Code:500,}
2019/10/02 22:18:20 [ERROR] watcher error &Status{ListMeta:ListMeta{SelfLink:,ResourceVersion:,Continue:,RemainingItemCount:nil,},Status:,Message:unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body),Reason:ClientWatchDecoding,Details:nil,Code:500,}
2019/10/02 22:18:20 [ERROR] watcher error &Status{ListMeta:ListMeta{SelfLink:,ResourceVersion:,Continue:,RemainingItemCount:nil,},Status:,Message:unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body),Reason:ClientWatchDecoding,Details:nil,Code:500,}
2019/10/02 22:18:20 [ERROR] watcher error &Status{ListMeta:ListMeta{SelfLink:,ResourceVersion:,Continue:,RemainingItemCount:nil,},Status:,Message:unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body),Reason:ClientWatchDecoding,Details:nil,Code:500,}
2019/10/02 22:18:20 [ERROR] watcher error &Status{ListMeta:ListMeta{SelfLink:,ResourceVersion:,Continue:,RemainingItemCount:nil,},Status:,Message:unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body),Reason:ClientWatchDecoding,Details:nil,Code:500,}
2019/10/02 22:18:20 [ERROR] watcher error &Status{ListMeta:ListMeta{SelfLink:,ResourceVersion:,Continue:,RemainingItemCount:nil,},Status:,Message:unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body),Reason:ClientWatchDecoding,Details:nil,Code:500,}

Will be just cleaning up the msg, the actual errors used to happen earlier as well

Verified on rancher:2.3.0-rc10.
Deployed a DO cluster with 3 nodes - all roles.
Error message is seen in rancher logs:
2019/10/04 15:16:54 [ERROR] watcher error unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body)
2019/10/04 15:16:54 [ERROR] watcher error unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body)
2019/10/04 15:16:54 [ERROR] watcher error unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body)
2019/10/04 15:16:54 [ERROR] watcher error unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body)
2019/10/04 15:16:54 [ERROR] watcher error unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body)


ReqMgr2 fails to load ACDC request with 500 Internal Server Error

Impact of the bug
ReqMgr2
Describe the bug
Apparently an issue introduced in the last release candidate 2.3.6rc6, likely from this development:
https://github.com/dmwm/WMCore/issues/12037
Where ReqMgr2 crashes with 500 Internal Server Error whenever we try to load an ACDC workflow in new state, e.g.:
https://cmsweb-testbed.cern.ch/reqmgr2/fetch?rid=vokovale_ACDC0_TC_Backfill_IDR_CMS_Multi_240716_125212_9384
It is very likely that other statuses are facing the same issue(e.g., rejected, etc).
After performing a status transition in the GUI and re-loading the same workflow, it also gives a 500 error.
How to reproduce it
Load any ACDC workflow in new status.
Or perform any workflow transition in the GUI and reload the page right after the transition is submitted.
Expected behavior
ReqMgr2 GUI should not crash and allowed changes per status need to work properly.
Additional context and error message
Example of the traceback:
[24/Sep/2024:01:27:39] HTTP
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/cherrypy/_cprequest.py", line 638, in respond
    self._do_respond(path_info)
  File "/usr/local/lib/python3.8/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond
    response.body = self.handler()
  File "/usr/local/lib/python3.8/site-packages/cherrypy/lib/encoding.py", line 223, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/site-packages/WMCore/ReqMgr/Web/ReqMgrService.py", line 601, in fetch
    table=json2table(filteredDoc, web_ui_names(), visible_attrs, selected),
  File "/usr/local/lib/python3.8/site-packages/WMCore/ReqMgr/Web/utils.py", line 141, in json2table
    key, val = cells.pop(attr)
KeyError: 'RequestStatus'
...
[24/Sep/2024:01:27:39] reqmgr2-b77b679c6-klv7w xxx "GET /reqmgr2/fetch?rid=amaltaro_ACDC_TaskChain_LumiMask_multiRun_HG2408_Val_240924_012713_5234 HTTP/1.1" 500 Internal Server Error ...

I forgot to fix one broken Unit test - the additional fix is at PR: https://github.com/dmwm/WMCore/pull/12111


WIP: move test into test_data_utils.py

Coverage increased (+18.4%) to 22.283% when pulling 4c292b980024fe9f165841c6d81519ceb1462e03 on wyshi:add_test_doc into e880158544056df4c1b0954ba9983ec2597e0cb4 on berkeley-stat222:master.

Coverage increased (+18.3%) to 22.162% when pulling 16cecb0a53ad71702b8c768e6bc7a28bbad99e74 on wyshi:add_test_doc into e880158544056df4c1b0954ba9983ec2597e0cb4 on berkeley-stat222:master.

Coverage increased (+18.3%) to 22.162% when pulling fa0b96ae9ef5238399c9eae6951578799149a1b6 on wyshi:add_test_doc into e880158544056df4c1b0954ba9983ec2597e0cb4 on berkeley-stat222:master.


react-native compatibility

https://github.com/tmijs/tmi.js/blob/master/lib/api.js
It would be great to have support for react-native in this file, currently it is falling back to the else statement and no document is found in react-native so it throws an error.
It seems like when I use the code in isExtension everything works fine, so would be nice to have a check in there too see if your using react-native and call that piece of code?
Actual behaviour:
document is not defined error is raised
Expected behaviour:
For api.js not to return an error
Error log:
ExceptionsManager.js:94 ReferenceError: document is not defined
    at client.api (api.js:49)
    at client._updateEmoteset (client.js:1252)
    at client.handleMessage (client.js:808)
    at client.js:1080
    at Array.forEach (<anonymous>)
    at client._onMessage (client.js:1079)
    at WebSocket.dispatchEvent (event-target-shim.js:818)
    at WebSocket.js:234
    at RCTDeviceEventEmitter.emit (EventEmitter.js:189)
    at MessageQueue.__callFunction (MessageQueue.js:395)

Server configuration

Operating system: Mac
Node version (if applicable): v8.9.4
NPM version (if applicable): 5.6.0
tmi.js version: latest

Fixed in PR :)


Dynamically creating Siddhi Streams

Hi Haoch,
We are using Flink and Siddhi to build an alerting framework for the security domain.
One thing that we'd like to be able to do is create ad-hoc Siddhi streams based on the rule that a user defines - I want to be able to pull in fields from multiple input streams / schemas and create a new Siddhi stream on the fly which consists of the field names mentioned in the rule that the user created.
We've researched  both Apache Eagle and the Flink-Siddhi project and from what we can tell, this is not supported functionality.
Any idea how we could achieve this ?
--Aarti

@aagupta1 I am not sure that if I got the point: you would like to have multiple existing streams with some fields, and would like to define another stream to extract fields from existing streams? Could you please share some use cases?


SUBMARINE-385. [k8s-e2e] Create k8s e2e test module

What is this PR for?

Add new travis job, create k8s by Kind & deploy submairne in k8s
Support developers to use kind to create k8s cluster in local / travis
depoly submarine in kind cluster
By calling the submarine's rest interface, determine whether the submarine is deployed correctly in k8s.  like this : curl http://<IP_ADDRESS>/api/v1/cluster/nodes

What type of PR is it?
Feature
Todos

[ ] - Support tensorflow in k8s e2e test
[ ] - Support pytorch in k8s e2e test

What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-385

How should this be tested?

https://travis-ci.org/liuxunorg/submarine/builds/650766597

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

Will merge if no more comments.


Services untrusted but mandatory

Brief description of your issue
Yesterday I deleted some untrusted Service after System Informer got my attention there, it din't show any hint of being official. Turns out it was a mandatory w10 service, I was not able to recover in any way. Since it is just a handful of services that are untrusted on a vanilla Windows, could you remove this untrusted status for these? Services like MsRPC, Ntfs, exfat. This is highly misleading.
Steps to reproduce (optional)
delete untrusted services
Expected behavior (optional)
No response
Actual behavior (optional)
No response
Environment (optional)
No response

To confirm, @git6578, are you talking about the "Verification status" column?:

in combination with the red highlighting of the entire row (indicating moderate security concerns), yes

I removed some assumptions in the signature verification code where we would assume there is "no signature" if we fail to access the file. We will now also show an appropriate string for the "Verification status" in the UI. The consequence, however, is if something is blocking us from accessing the file we will show a "blank" status and will not highlight "untrusted" modules. No information is probably safer than bad information in this scenario.
Changes are here: https://github.com/winsiderss/systeminformer/commit/e3c48d2248f169ece9af1212862a9d227edc39a8
Will be picked up by the next nightly.


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit db9f3ff:
:clock10: Full build: the average full build time is 7 min(s) 47 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit db9f3ff:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Create 0000-01-02-ThommyPC.md

Created a branch, created a file and made a commit, and opened a pull request

It is awesome.


Wrapper of ICU's UTF-16 encoded strings and conversion

u16_string module
This module is meant to ease the use of complex string operations provided by the ICU library. The module provides a wrapper for ICU's string structure : UChar * as well as conversion fucntions to/from String and CString
Remarks

In order to convert a String to a U16String, the string must be converted to a CString first. Since CString's are null temrinated, U16String's also have to be null terminated and cannot have embedded termination characters.
I am having some issues with DocUnits blocs thus there are no tests in the comments at the moment.
I added an other new operator to the CString class which only returns a null string

Note: I have one question, do the UChar* from ICU require 0-terminated strings?
If it is not the case, we could get away with strings that have a null byte in their contents (this is legal in Nit) when we start from any Text subclass

@R4PaSs No, they do not have to be 0-terminated in ICU. But since I am working with the Nit FFI, I still have to somewhat convert strings into char * to use the library.

First, thank you @R4PaSs @Morriar for yout feedback. I have modified the module by taking into account your suggestions.
The U16String class is now a subclass of Text so I redefined the chars function which uses the char_at_offset function of UCharString. The latter function returns a UTF-32 (UChar32 in ICU) character which rendered the need for a U16Char class useless.
I also decided to scratch the []= function as it was unnecessary for modules to come.

I have figured out how to deal with embeded \0 characters in strings and tried to clear some confusion with the capacity and code_units attributes.
There are 3 new private classes : U16StringCharView, U16StringCharReverseIterator and U16StringCharIterator which are meant to be used for the U16String.chars function. They are basically a copy of the same classes in the flat module as I thought it was the right way to do it.

@Morriar @R4PaSs Do you think that the last version is okay ?


Make the user know that their image has been uploaded ✅

The aim of the crowdsourcer is to send images to Pyronear in order to improve their early wildfire detection algorithm.
When the user clicks on the "Send" button, the image should be sent to a Pyronear bucket.
Once the image is sent, the user should know that the image has been uploaded. We could :

make a new page that says "Nice ! You're done ! Thanks for helping us protecting our forests 🤗"
make a component popping ahead of the page and saying "Nice ! You're done ! Thanks for helping us protecting our forests 🤗"


If an object is loaded with Autoload, configured position is ignored

I tried to instance a 2D label with autoload, configured the position in the scene, where the label is created, but when i start the program, the configured position is ignored, same with font-color etc...

I'm unable to reproduce this bug in 02d6669a3849c55e415f37b23b36b49f23319957 build. Could you provide sample project?

I'm working with the nightly build from 30.10.15, maybe this bug is fixed now...thx for your answer :)

You can get more recent nightly builds from http://fixnum.org/godot/ or http://archive.hugo.pro/godot/.

@Paradisebird It would be great if you could verify in some free moment if this issue is already fixed in newer Godot or not. The bug seems to be quite serious and it's still possible I'm doing something different than you.

Okay, i'll make a sample project on monday, sorry for my late answer (christmas, new year, holidays, you know ;) ) Happy new year btw :)

Okay, i'll make a sample project on monday, sorry for my late answer (christmas, new year, holidays, you know ;) ) Happy new year btw :)

Going to close this issue due to the lack of activity and inability to reproduce. It will still be reopened if someone can confirm it.
@BenjaDev If you have some free time on hand, can you try doing it again with newest Godot, and maybe uploading a test project?

thx for your effort! i'm quite busy at the moment, will have a look at it asap!


feat: add memory safe logging

Adds a new alternative logging library to console and console2, dubbed "safeconsole" that behaves almost identically to console2 but leaves memory intact, making it useful for logging and debugging memory manipulating inline-assembly code. This is achieved by replacing string arguments with bytes32 allowing you use the same string-syntax e.g. safeconsole.log("My int: %d", 34); without affecting memory (as long as your logging string is less than or equal to 32 characters long). The library also uses the 0age function pointer casting trick to ensure that all logging functions are pure and don't require function visibility changes.
Carried over from my repo forge-safe-log (renamed from "safelog" to avoid redundant sounding "safelog.log" writing). You'll also find the script that generated the library here.

Changed the pragma version to fix the incompatibility issue. Pragma is now >=0.6.2 <0.9.0.


pnpm should prefer npmRegistry config instead of global npm config

To configure the server, I create a config.json file then pass it to the server bootstrap command.
  "npmRegistry": "http://npm.xxxx.cn",

But I found that when pnpm install packages, it bypassed the npmRegistry config and directly used the global registry config.
As a result, the packages in the private npm registry could not be loaded correctly. The solution can only be achieved by modifying the global registry config.
Is it a bug or a feature?

i guess it's kind of a bug, the npmRegistry in config.json has higher priority


Unable to make complex initscripts compatible with configuration caching

Current Behavior
Unlike Settings and Project, ScriptHandler doesn't have a way of getting at the provider API, so it's not possible to rewrite logic to be configuration cache compatible, such as exec.
Expected Behavior
Init scripts should be able to be made compatible with configuration caching.
Context (optional)
No response
Steps to Reproduce

Perform an exec in an initscript
Note that configuration caching will complain about the operation

Gradle version
8.8
Build scan URL (optional)
No response
Your Environment (optional)
No response

Hi @DanielThomas, could you maybe expand on your use-case a little more?
While it's true that it's not possible to use providers directly during init script evaluation, depending on the use-case, it might be possible to use the one from Settings or even Project via the appropriate callback (e.g. beforeSettings, rootProject, etc).

Specifically, we have a VPN check that depends on an external process that we use to set Gradle offline as early as possible as we can in the build to allow dynamic dependencies in the initscript to be cached while offline, which means beforeSettings and rootProject are both too late, we need this to happen in initscript.


Firmware usb2pce-2023-06-14 and greater break compatibility with 8bitdo PCE controllers

Firmware usb2pce-2023-06-14 and usb2pce-2023-06-21 break compatibility with 8bitdo PCE controllers. Specifically, dpad Up and dpad Left no longer work. There may be other issues too but this is as much as I could test having no dpad left or up. Verified using two different 8bitdo PCE controllers. Reverted back to the June 8 firmware and it's working again.

Thanks so much for bringing this to my attention. This is the last controller I wanted to break support for. LOL
Good news is that I traced the issue down and fixed it. Appears to be related to the introduction of Switch controller support. Some how the receiver goes into Switch mode now that I support it and the third-party switch mode had a bug related to the conversion from analog values to dpad directions.
The update with the fix will be live shortly. But a work-around in the meantime is making sure your controller itself is set to default dpad mode rather than simulated left analog.
PCE Default Dpad Mode:
Hold SELECT + UP on the controller for about five seconds. You should see the LED flash and then the dpad will now send normal dpad buttons.
Undocumented 8BitDo PCE 2.4g options -> https://twitter.com/RobertDaleSmith/status/1570563632114831360

OMG! So my controller is in some weird mode? Sheesh I had no idea. Don’t even know how it got that way.

This issue should be resolved in the latest release.


M3-5183: React Query for Kubernetes - Part 2

Description 📝

This part of React Query for Kubernetes focuses on the Kubernetes Detail page
I'm sorry this PR is so massive, there was so much opportunity to clean up many components
Removes Redux Kubernetes references because the Kubernetes Detail page was the last thing to take care of

How to test 🧪

Test everything Kubernetes related
This PR mostly focused on the Kubernetes Cluster detail page (which contains nearly all of the Kubernetes functionality within the app) so focus mostly on functionality of this page (/kubernetes/clusters/:id/summary).

Test NodePools

Create
Delete
Resize
Autoscale

Test Kubernetes Clusters

Create
Delete
Upgrade to HA
Upgrade Version
Kubernetes Dashboard Link
Kubeconfig Download and View

@jdamore-linode  Great feedback. Thank you! 🚀
Fixed

Upgrade Tag showing for all Clusters on load
Improved Kubeconfig invalidation and reloading

No Action

I'm going to let Total Memory and Total CPUs flash 0. This is kind of a api/cloud design flaw with this landing page. We calculate these values from another endpoint for each Cluster and I don't want to block the landing page from loading by waiting on each call.