PHP7 interop tests are broken

Seems like it got broken by some cronet change?
[C]       Compiling src/core/ext/transport/cronet/transport/cronet_transport.c
src/core/ext/transport/cronet/transport/cronet_transport.c: In function 'execute_from_storage':
src/core/ext/transport/cronet/transport/cronet_transport.c:792:5: error: 'method' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     cronet_bidirectional_stream_start(s->cbs, url, 0, method, &s->header_array,
     ^
src/core/ext/transport/cronet/transport/cronet_transport.c:784:17: note: 'method' was declared here
     const char *method;
                 ^
cc1: all warnings being treated as errors
make: *** [/var/local/git/grpc/objs/opt/src/core/ext/transport/cronet/transport/cronet_transport.o] Error 1
Makefile:2171: recipe for target '/var/local/git/grpc/objs/opt/src/core/ext/transport/cronet/transport/cronet_transport.o' failed
+ EXITCODE=2
+ docker rm -f build_grpc_interop_php7_10952541-b36c-453d-bd05-55a8095bea17
build_grpc_interop_php7_10952541-b36c-453d-bd05-55a8095bea17
+ exit 2

FAILED: build_docker_php7 [ret=2, pid=12498]

The performance tests also seem broken:
[LD]      Linking /home/jenkins/workspace/gRPC_performance_master/libs/opt/libgrpc_unsecure.so.1.1.0-dev
src/core/ext/transport/cronet/transport/cronet_transport.c: In function ‘execute_from_storage’:
src/core/ext/transport/cronet/transport/cronet_transport.c:792:5: error: ‘method’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     cronet_bidirectional_stream_start(s->cbs, url, 0, method, &s->header_array,
     ^
src/core/ext/transport/cronet/transport/cronet_transport.c:784:17: note: ‘method’ was declared here
     const char *method;
                 ^
cc1: all warnings being treated as errors
Makefile:2171: recipe for target '/home/jenkins/workspace/gRPC_performance_master/objs/opt/src/core/ext/transport/cronet/transport/cronet_transport.o' failed
make: *** [/home/jenkins/workspace/gRPC_performance_master/objs/opt/src/core/ext/transport/cronet/transport/cronet_transport.o] Error 1
make: *** Waiting for unfinished jobs....

FAILED: make [ret=2, pid=2340]


Prototype

Improved separation of concerns over Parallel Scripture RCL
Cleaner abstraction of UI over Parallel Scripture RCL
Displays USFM scripture including alignment
Settings/Features

Change scripture resource
Resize text
Footnotes (need to confirm if in Parallel)

Tasks

Create UI Prototype with static data
Create headless RCL with correct inputs/outputs
Add loading of scripture with static settings

Refactor parallel scripture pane where needed

Add ability to add/remove scripture columns
Add scripture based settings


chore: Cli cleanup

No need to use a shell to execute remix-dev. Instead, export the CLI interface from remix-dev and use it directly in create-remix.

Looks like there's a merge conflict.


trackClonotypes ordering of clonotypes feature?

Is it possible to choose the order in which the clonotypes are displayed in the stacked bar chart when visualizing the trackClonotypes data? The default is alphabetical and I can't find any documentation info on how to change this e.g. by frequency, manually ordering. In contrast it's very clearly described for changing the order of the x-axis samples. Thank you so much!

Hey @tdm76 ,
Thank you for contacting us!
At the moment there is no such function in the Immunarch. We have taken your wish into our closest consideration as a feature to improve the package in the future.
I will get back to you with any updates.
Thank you so much for your contribution!
Please contact us with any questions or suggestions further along.
Best regards,
Maria Samokhina


Reuse refresh token to maintain authorization throughout an entire unity session.

Throughout an unity session, user authorizes once, and the received refresh token from the first token response is reused to get new access tokens after the first token has expired.

Squashed and merged & closing the PR.


Version 1.3.0 is not compatible with Netbox V3.4-beta1

Plugin version
v1.3.0
NetBox version
v3.4-beta1
Python version
3.8
Steps to Reproduce

Install Netbox v3.3.7
Install the plugin
Upgrade netbox via the usual upgrade steps to V3.4-beta1

Expected Behavior
Netbox should upgrade to the new version
Observed Behavior
Upgrade script fails with the message that the plugin requires Netbox Maximum Version 3.3.9

There are breaking changes in 3.4: https://github.com/netbox-community/netbox/releases/tag/v3.4.0


CSS Button Styling (CSS-2)

User Story
AS A player of the game
I WANT attractive & dynamic buttons
SO THAT my experience of the game feels modern
Tasks

[ ] Button appearance
[ ] Button hover appearance
[ ] Button active (clicked) appearance

Branch name: st-button-style

Issue resolved since buttons are generated and manipulated through/with Materialize


[Symbol.iterator] Syntax highlighting

From @TheColorRed on October 10, 2016 1:7
Version: 2.0.3
When using [Symbol.iterator](){} Syntax highlighting breaks.
Before:

After:

Copied from original issue: Microsoft/TypeScript#11474

From @basarat on October 10, 2016 5:22
Probably belongs here : https://github.com/Microsoft/TypeScript-TmLanguage :rose:

From @aluanhaddad on October 10, 2016 3:47
I am seeing this for all computed method names as well as for computed get and set accessor names within a class body.

@TheColorRed  this should be fixed in latest grammar as part of #257
You could try it out by installing vscode extension


Host terminal disappears

Describe the bug
When you use a container (e.g. using the keyboard shortcut Ctrl+Alt+F), you are only able to get back to the host terminal with keyboard shortcut Ctrl+Alt+Enter.
More details are in this discourse thread
What did you expect to happen?
To be able to select a Host profile in the terminal emulator.
Output of rpm-ostree status
tate: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 45min ago
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:gts
                   Digest: sha256:35148d883fbd3b07e7eed946860307cbbb44623781c5d37d032feece97aeb43e
                  Version: 39.20241019.0 (2024-10-20T22:26:25Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:gts
                   Digest: sha256:35148d883fbd3b07e7eed946860307cbbb44623781c5d37d032feece97aeb43e
                  Version: 39.20241019.0 (2024-10-20T22:26:25Z)
          LayeredPackages: piper

Output of groups
marzvrover wheel

Extra information or context
This has also been shown to happen in a fresh VM running the beta.

Still investigating this, hard to reproduce, but something is wonky with the boxes for sure.

@castrojo @marzvrover I just ran into this or similar (bluefix-dx:latest)
I was able to fix my Terminal launched via Ctrl + Alt + T / Ctrl + alt + Enter by tinkering with gsettings cli / dconf GUI
(... I have no idea if this was The Right Way :tm: 😬 )

find how Ptyxis is invoked (Settings > Keyboard > Custom Shortcuts > Host Ptyxis) and it looks like it expects a Profile where the Profile's UUID matches the Host Container ID)

cat /usr/libexec/distrobox-quadlet-ptyxis.sh

find the expected container GUID for Host

cat /usr/share/ublue-os/bluefin-cli/known-containers

recreate that Ptyxis profile (replace $GUID with the Host UUID from previous step ☝ )

gsettings set org.gnome.Ptyxis.Profile:/org/gnome/Ptyxis/Profiles/$GUID/
gsettings set org.gnome.Ptyxis.Profile:/org/gnome/Ptyxis/Profiles/$GUID/ palette 'Dracula'
gsettings set org.gnome.Ptyxis.Profile:/org/gnome/Ptyxis/Profiles/$GUID/ label 'Host'
gsettings set org.gnome.Ptyxis.Profile:/org/gnome/Ptyxis/Profiles/$GUID/ opacity 0.88

gsettings set org.gnome.Ptyxis default-profile-uuid $GUID

exit Ptyxis session, and relaunch it w/ the keyboard shortcut


Add Alberto to contributors

@betocantu93 LMK if you'd prefer to not be added.  Either way thanks again for #719.  Patches always welcome. ^_^

no problem @hjdivad, we have some serious use case for this kind of flexibility, so I'll be playing around and maybe update some docs while doing so


Prepare release 0.13.0

I've just noticed that a GitHub release wasn't created for this release (it's the last step of the playbook: https://github.com/heroku/libcnb.rs/blob/main/RELEASING.md#release) - so I've created one now:
https://github.com/heroku/libcnb.rs/releases/tag/v0.13.0


Diversity in open source games

I recently read some articles about diversity in computer games and I thought that open source games should be ideal for actually delivering a bit of diversity, because anyone can modify them. But first, it would be interesting to see what is there already. I guess that for example open source strategy games are pretty much neutral with respect to gender while for open source RPGs this could be more of an issue.
Important steps would be:

How is diversity or a lack thereof recognized or measured?
How much diversity is there in currently available open source games?
Which existing open source games would lend itself to increase diversity naturally?
Is there something completely missing?

First steps seem to do a bit easier then the last steps.

I believe with “diversity” here you mean “diversity of gender”. Right? I think the so-called mainstream media blows this topic WAY out of proportion.
In games that are just for fun, diversity would basically just boil down to more player character customization options. And with that, it's just another feature and that's perfectly fine.
But in some games, diversity can be counter-productive. If you're making a “serious” World War shooter, then adding women soldiers is probably a bad idea. It's not like they didn't exist, but they were super rare.
In the end, “diversity” is still a game design decision and should not be done just for the sake of it. It still has to make sense in the overall game concept. I think coherence is WAY more important. Everything has to make sense with everything.
Also keep in mind that “diversity” automatically also means that more models need to be made, and that's not always suitable for projects because of time and you eventually just want things to be done.
I'm not at all saying that diversity is neccessarily bad. Just that it shouldn't be done mindlessly. I absolutely do not believe the hype.

Thanks for the interesting comment. I meant all kinds of stereotypical role behaviors, including but not restricted to gender, sexual orientation, … I agree that it's a hype, but there is also a true core to it. It has to somehow fit, but if one assumes that we are rather not very diverse currently, then adding that capability (and open source would allow me that) should improve things on average.
This really needs to be debated more, because I would find it hard to come up with general guidelines, but maybe the usefulness of the whole thing becomes more clear along the way of doing it. It's worth a try.
I see the practical problems, that it's a compromise between effort and result, so going for the low hanging fruit again would be some strategy.
On the other hand, if somebody wants to play a "serious" World War shooter with the option of  additional women inside, I wouldn't object. It's a game after all and games have never to be realistic or reflect reality accurately. Maybe people would like it too. Wouldn't make it less serious in my eyes.
This goes the other way too of course. If somebody wants to have the "only male characters" option in a game, I wouldn't object either. The question is then probably only what the default setting will be.
The interesting thing is that we are all part of the current culture. It's probably not easy to take a look from outside. What will people in say 20 years from now think about the games we make now?


error when trying to create an user with a pw

the class User has two functions as properties
 @property
    def password(self):
        raise AttributeError('password is not a readable attribute')

    @password.setter
    def password(self, password):
        self.password_hash = generate_password_hash(password)

When i try to use User(password='something') as it's written in the tests i get an error.  init() got an unexpected keyword argument 'password'
Why?

@TheBubblePopped Have you made any changes to the __init__() method in this model?

Actually yes, i found the bug. Ty


Update export-flow-solution.md

Added note: Exporting a solution flow from the flow details page will no longer be possible.

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


[4.1][stdlib] Only deprecate flatMap starting with Swift 4.1

Explanation: The suggested replacement for this variant of flatMap (i.e. compactMap) was first introduced in Swift 4.1, so the deprecation should only be enabled from that version onward.
Risk: Minimal
Reviewed By: Ben Cohen
Testing: Automated test suite with a specific test case
Directions for QA: N/A

Fixes: https://bugs.swift.org/browse/SR-6970 and rdar://problem/37393816
(cherry picked from commit<PHONE_NUMBER>60590f4c183927c6e0edec210d286e)

@swift-ci Please nominate

Similar to https://github.com/apple/swift/pull/14605

@swift-ci Please test


Removing non-json text because it creates invalid json output

Fixes #859

Actually, why don't we just delete these lines?
If I type netctl policy inspect ..., printing "inspecting policy" doesn't really add any value, and as we've seen it breaks the expectation that the output is JSON


Test/bundle factory

The validators need to be tested in a much more intelligent way than this. Part of the motivation of isolating Worf was so the code could be come less dense and more testable. Validators currently need some serious love. The easiest way to make these tests pass right now is to use a real database backed model. The URL kwargs were also required, as a database hit is necessary in order to check for 404.
This will need work, but, tests pass.


Metadata issue warning is not friendly and is actively misleading

One unintended consequence of the implementation changes made for #2753 is error text on the submission status page that reads as if the draft is required to have an email address for each author.
That was not a requirement - it was only a limitation on self-serve submission, and the requirement is that an email address be provided to the datatracker as metadata as part of a manual submission process.
The form needs to generally be more polite and descriptive. It should focus more on why it is asking for changes, and should de-emphasize the use of the word metadata.
Specifically, when an email isn't found in the draft for an author, the message on the status form should be changed from
Found no email address. A valid email address is required.

To something like
No email found in the draft for this author.
If that is intentional, provide an email address to identify
the author here so that the datatracker can link the document
to the right person.

see #6114

This whole box
Meta-Data errors found!

Please make sure that your Internet-Draft includes all of the required meta-data in the proper format.

    If your Internet-Draft does include all of the required meta-data in the proper format, and if the error(s) identified below are due to the failure of the tool to extract the meta-data correctly, then please use the "Adjust meta-data" button below, which will take you to the "Adjust screen" where you can correct the improperly extracted meta-data. You will then be able to submit your Internet-Draft to the Secretariat for manual posting.
    If your Internet-Draft does not include all of the required meta-data in the proper format, then please cancel this submission, update your Internet-Draft, and resubmit it.

Note: The secretariat will not add any meta-data to your Internet-Draft or edit the meta-data. An Internet-Draft that does not include all of the required meta-data in the proper format will be returned to the submitter.

Needs to be rethought and presented in a way that helps the author move forward without causing unnecessary round-trips with the secretariat.


Dev Test: Number Line Distance 1.1.0-dev.2

Dev Test
Mentions: @marlitas, @amanda-phet
Simulation links

github repository for issues
phet top-level directory
sim: all_phet.html

Test Matrix
Please include all (non-screen reader) feature testing in these records if applicable.

[x] Latest macOS, Safari (Time = 2.5hrs)
[x] Windows 10, Chrome (Time = 2hrs)
[x] Windows 10/11, Firefox (Time = 2)
[x] Latest iOS, Safari (Time = 1)
[x] Windows 11, Chrome (Time = 3)

Light testing, or optionally skip if time crunch:

[ ] Latest macOS, Chrome (Time = .5)
[ ] Latest Chrome OS, Chrome (Time = )

Features included

 [ ] PhET-iO
[ ] Alternative Input
[ ] UI Sound
[ ] Sonification
[ ] Description
[ ] Voicing

Focus and Special Instructions
This publication includes the addition of region and culture characters that can be changed in the preferences dialog, as well as the addition of dynamic locales. Otherwise the logic or functions of the sim have not changed.
Any bugs that come up that can be replicated in the published version should receive an issue labeled as deferred. They will not be fixed for this upcoming publication unless highly prohibitive or concerning.
Issues to Verify
@amanda-phet and I looked at ways to manage fuzziness and felt that eliminating mip-maps may be the most efficient way to do so. We would like QA to keep an eye on the fuzziness of the artwork across different monitor resolutions and mention anything that looks particularly bad.

[ ] https://github.com/phetsims/number-line-distance/issues/72

For QA...

General features

What to Test

Click every single button.
If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Try to include browser version numbers
If there is a console available, check for errors and include them in the Problem Description.
Run through the string tests on at least one platform, especially if it is about to go to rc.
Check the Game Up harness on one platform.

PhET-iO features

What to Test

Make sure that public files do not have password protection. Use a private browser for this.
Make sure that private files do have password protection. Use a private browser for this.
Make sure standalone sim is working properly.
Make sure the wrapper index is working properly.
Make sure each wrapper is working properly.
Launch the simulation in Studio with ?stringTest=xss and make sure the sim doesn't navigate to youtube
For newer PhET-iO wrapper indices, save the "basic example of a functional wrapper" as a .html file and open it. Make
sure the simulation loads without crashing or throwing errors.

Accessibility features

What to Test

Specific instructions can be found above.

Make sure the accessibility (a11y) feature that is being tested doesn't negatively affect the sim in any way. Here is
a list of features that may be supported in this test:

Alternative Input
Interactive Description
Sound and Sonification
Pan and Zoom
Mobile Description
Voicing

Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.
Test all keyboard navigation inputs (if applicable).
Test all forms of input with a screen reader (if applicable).

Screen Readers
This sim may support screen readers. If you are unfamiliar with screen readers, please ask Katie to introduce you to
screen readers. If you simply need a refresher on screen readers, please consult the
QA Book, which should have all of the information
you need as well as a link to a screen reader tutorial made by Jesse. Otherwise, look over the a11y view before opening
the simulation. Once you've done that, open the simulation and make sure alerts and descriptions work as intended.

Platforms and Screen Readers to Be Tested

Windows 10 + Latest Chrome + Latest JAWS
Windows 10 + Latest Firefox + Latest NVDA
macOS + Safari + VoiceOver
iOS + Safari + VoiceOver (only if specified in testing issue)

Critical Screen Reader Information
We are tracking known screen reader bugs in
here. If you find a screen reader bug,
please check it against this list.

Keyboard Navigation
This sim supports keyboard navigation. Please make sure it works as intended on all platforms by itself and with a
screen reader.
Magnification
This sim supports magnification with pinch and drag gestures on touch screens, keyboard shortcuts, and mouse/wheel
controls. Please test magnfication and make sure it is working as intended and well with the use cases of the
simulation. Due to the way screen readers handle user input, magnification is NOT expected to work while using a screen
reader so there is no need to test this case.

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

Hi @marlitas! I have a couple of questions.

Was an Oceania character supposed to be included in this dev version?
I noticed that the paper airplane changes direction on the Latin American Character's shirt. Is that something you would like me to make an issue for?

No. The oceania character will be included in RC, but we didn't feel it was necessary to hold up the dev version for that.
I think that's an @amanda-phet question... but my assumption is that we would want to correct that...

Thanks @Nancy-Salpepi ! I had to reflect one of the drawings and didn't notice the airplane. I will upload a new png for the person.

Calling QA here.

@marlitas I uploaded a new LA person but I tagged the original (closed) issue for that commit. Hopefully that is ok! It is ready to be included in the RC.

All issues here have been addressed. Ready for RC.


Implement peer_connection_add_ice_candidate

Resolves #63

Is it possible to directly add a candidate string into peer_connection without using JSON format? Since cJSON is a dependency of the peer signaling library, I hope that peer_connection can be used without referencing cJSON

Yes! I will update PR to do that instead

Thanks!


"Download" button

fixes #5
reference: https://stackoverflow.com/questions/19327749/javascript-blob-filename-without-link

@Ciremun looks goode to me! :+1: Thank you for your contribution!


Add SSL/SSL_CTX_use_cert_and_key()

Add functions that will do the work of assigning certificate, privatekey
and chain certs to an SSL or SSL_CTX. If no privatekey is given, use the
publickey. This will permit the keys to pass validation for both ECDSA
and RSA. If a private key has already been set for the certificate, it
is discarded. A real private key can be set later.
This is an all-or-nothing setting of these parameters. Unlike the
SSL/SSL_CTX_use_certificate() and SSL/SSL_CTX_use_PrivateKey() functions,
the existing cert or privatekey is not modified (i.e. parameters copied).
This permits the existing cert/privatekey to be replaced.
It replaces the sequence of:

SSL_use_certificate()
SSL_use_privatekey()
SSL_set1_chain()
And may actually be faster, as multiple checks are consolidated.

The private key can be NULL, if so an ENGINE module needs to contain the
actual private key that is to be used.
Note that ECDH (using the certificate's ECDSA key) ciphers do not work
without the private key being present, based on how the private key is
used in ECDH. ECDH does not offer PFS; ECDHE ciphers should be used instead.

Checklist

[X] documentation is added or updated
[ ] tests are added or updated

This replaces #1130, now bing pulled from tmshort/openssl

Close this one in favor of #1130 (the akamai organization is being heavily modified, so this was just trying to be safe.)


MMM-OnScreenMenu Request

Wondering if there is a way to add a button for exiting the MagicMirror interface, to get to the desktop. Thank you, working great so far with my touchscreen!

Finally got around to adding the stop option to my menu, it's working great! Thanks again!!

@MSakana - In case you're interested, I found out how to interact with the electron window. I've added menu options to minimize the window (without exiting) and to toggle full screen mode.  Details are in the updated README.

Wow, that is perfect! Toggle fullscreen mode is exactly what I wanted. Thank you!!


ui: setup lint rule for primer

Do it after resolving https://github.com/primer/eslint-plugin-primer-react/issues/292

we gave up on primer and using tailwind instead. So no need to do this.


Support evaluate for one instance

Currently evalute throws error if used on on instance for example:
circuit(data[1,:])

throw error that num_examples not defined.
One way to circument this is to do:
circuit(data[1:1,:])

But would be nice for end user to not have to deal with this.

or similarly we get similar errors for:
circuit(BitArray(undef, num_variables(circuit)))
circuit(Array{Bool}(undef, num_variables(circuit)))

More details:
MethodError: no method matching num_examples(::DataFrames.DataFrameRow{DataFrames.DataFrame,DataFrames.Index})
Closest candidates are:
  num_examples(!Matched::DataFrames.DataFrame) at /home/pasha/.julia/packages/LogicCircuits/CjRCP/src/Utils/data.jl:21
  num_examples(!Matched::AbstractArray{T,2} where T) at /home/pasha/.julia/packages/LogicCircuits/CjRCP/src/Utils/data.jl:22

Stacktrace:
 [1] evaluate(::Plain⋁Node, ::DataFrames.DataFrameRow{DataFrames.DataFrame,DataFrames.Index}) at /home/pasha/.julia/packages/LogicCircuits/CjRCP/src/queries.jl:177
 [2] (::Plain⋁Node)(::DataFrames.DataFrameRow{DataFrames.DataFrame,DataFrames.Index}) at /home/pasha/.julia/packages/LogicCircuits/CjRCP/src/queries.jl:171
 [3] top-level scope at In[138]:1

You can now do circuit(true, false, true) as well as circuit([true, false, true]) to evaluate the circuit on a single instance.


fix(semantic-release): Adding semantic release

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


Added countdown text

@EliseKa When there is one day left should this be "Il reste 1 jour sur 14!"?

@smcmurtry
yes you're right, when there is one day left it should be "Il reste 1 jour sur 14!


refactor(ssr): extract StartClient, StartServer and Meta from @tanstack/start

Problem
目前 ssr 的实现需要项目依赖 @tanstack/start ，这是开发过程中的临时解，需要提取到 tnf 里。
Solution
Implement StartClient, StartServer and Meta in tnf.
Alternatives
No response
Importance
i cannot use TNF without it
Additional Information
No response

我来

Closed via #64


Reduce void | undefined only in conjunction with subtype reduction

Fixes #42786.

@DanielRosenwasser Will you cherry pick this one into 4.2?

@typescript-bot cherry-pick this to release-4.2


Add a Super Nintendo theme

Lots of greys and purples:

I love it but could you use the colours from the buttons for some of the discrete scale values or something? Otherwise it is quite uniform

Those are there, they're just not used in the shorter discrete example. I've reordered them to avoid the double-purple.
  code for plot
palette::palette(snes_palette) |> plot()

I think this makes the plot a little more vibrant:

What do you think?

Nice, looks much better to me

Awesome!!!


What's the default password?

in blueprint.yml the password is "88cceeb3a39d7f9172c228028e46cb69",
then ,what's the exact password?
Another, can you offer a full english version herbie cms?there are many strings are not english.
thanks.

The Password is md5 encoded. Please set a new one using one of the available md5 online encoders like http://www.md5.cz
I'm aware of the missing translations and I'm going to work on this. I'll keep you informed.

I know to use md5 encode tool.
But, for my paas demo platform, i cann't access the filesystem, i can't change the code. So i suggest you just change the md5 code to "getherbie.org" or "adminpanel". thanks.
Another issue, when i use herbie with heroku, and set apache's documentroot to "web"dir,, then the url for "@asset" is wrong.

The 2nd issue is fixed now.

Here is my (late) answer to your suggestion to set a default password like "getherbie.org" or similar. I think that this is not a good idea because someone would surely forget to reset a new password.


Improve component styling now that css-grid is fully supported

Please verify the version of auro-pane you have installed
No response
Please describe the bug
The component styles contains the following code:
@supports (display: grid) {
      display: grid;

      grid-template-columns: auto;
      grid-template-rows: 1.625rem 1.25rem;
    }

This can be cleaned up using https://caniuse.com/css-grid
Reproducing the error
None
Expected behavior
No response
What browsers are you seeing the problem on?
No response
Additional context
No response
Exit criteria
CSS styles use css grid

@jason-capsule42 can you better describe what the actual bug is? Is there an issue with the Ui as presented to the user? Is this a code preference? Is the code not working as expected? Lastly, is this still an issue?
We need to determine if this is an actual bug or a performance update/tech-debt.


Cluster wide default query context setting

Cluster wide default query context setting
Description
Sometimes when external solutions such as Looker connect to Druid, users cannot easily specify query context parameters.
This PR allows user to use runtime properties (druid.query.override.default.context.*) to override any default value in QueryContext. The order of precedence is as follow: hard_coded_default_value <- runtime_properties <- query_context_parameter
Note that this changes the key for setting vectorize and vectorSize in the runtime property from druid.query.vectorize and druid.query.vectorSize to druid.query.override.default.context.vectorize and druid.query.override.default.context.vectorSize respectively.
This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[x] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[x] been tested in a test Druid cluster.

QueryConfig.java
QueryLifecycle.java
QueryLifecycleFactory.java

@jihoonson @clintropolis @jon-wei Thank you for your comments. I addressed all the comments. Please let me know if you have any other concern.


High rate of rejected voluntary exits

Describe the bug
Sometimes there are high rate of rejected voluntary exit on mainnet

this happens more frequently on our test mainnet nodes
Right now it's likely we don't use correct state to validate a voluntary exit https://github.com/ChainSafe/lodestar/blob/3ee1d8a5acb09160827b185c79d2ead80442c0e7/packages/beacon-node/src/chain/validation/voluntaryExit.ts#L25
Due to that it may affect gossip score p4 params
Expected behavior

Low rate or 0% rejected voluntary exits on mainnet
May use state at VoluntaryExit's epoch (may use a metric to see epoch difference against current epoch). Make sure it does not effect performance of our regen module

Desktop (please complete the following information):

Version: v1.7.2

Right now it's likely we don't use correct state to validate a voluntary exit

What is the correct state to validate exits according to the spec?
Can you figure out from metrics or Loki logs the reason why those exits are invalid

the spec doesn't mention the correct state. Just double check, the state we use is good based on this comment:
// The only condition that is time sensitive and may require a non-head state is
  // -> Validator is active && validator has not initiated exit
  // The voluntaryExit.epoch must be in the past but the validator's status may change in recent epochs.
  // We dial the head state to the current epoch to get the current status of the validator. This is
  // relevant on periods of many skipped slots.

the validator_exit is rejected maybe because we hold the message for too long, up to 4 epochs

I'm not sure rejecting messages are suitable although that's what the spec said, it's our bad holding the message for too long not the peer
@dapplion since we have few voluntary exit, should we prioritize voluntary_exit topic over beacon_attestation topic?


Wrong Coloring

The "Bayerisches Nationalmuseum" (http://<IP_ADDRESS>/resource/?uri=https://d-nb.info/gnd/2005502-X) is colored in orange for "Groups" instead of red for "Actor".

On JILA the "Itten-Schule Berlin" is marked pink for "Persons" instead of red for "Actor". It also misses its link to GND (http://d-nb.info/gnd/1264172176).

On JILA the "Kleemann Galleries (New York, NY)" (http://d-nb.info/gnd/5245103-3) is marked pink for "Persons" instead of red for "Actor".

"Mongolische Vorfahren von Natascha D." is marked pink for "persons" instead of orange for "group"

"Mongolischer Grosselternteil von Natascha" is marked pink for "persons" instead of orange for "group"

"Chirurgische Klinik" is marked orange for "group" instead of red for "actor"

"Schüler und Schülerinnen der Textilfachschule Krefeld" is pink for "person" instead of orange for "group"

Note that these changes need to be done in the source data. e.g.
Entität: Assistenten von Johannes Itten an der Itten-Schule Berlin Typ: Person Rolle: Erwähnt (Empty) Beziehungen: Itten-Schule Berlin #GND1264172176 (employer) Anzahl: >1 (Quelle: Hs NL 11: Cf 2.6);

This is how it looks in CMI:
"Entität: Assistenten von Johannes Itten an der Itten-Schule Berlin Typ: Person Rolle: Erwähnt (Empty) Beziehungen: Itten-Schule Berlin #GND1264172176 (employer) Anzahl: >1 (Quelle: Hs NL 11: Cf 2.6)"
Could you specify what you mean?

Ah sorry, I remembered incorrectly. The distinction between Person and Group is specified via Anzahl. If you add Anzahl: >1 to Person entities that should be groups they should get converted

We corrected the data for the following persons:
"Mongolische Vorfahren von Natascha D."
"Mongolischer Grosselternteil von Natascha"
"Schüler und Schülerinnen der Textilfachschule Krefeld"
The other entities have been corrected - thank you. Except for:

"Itten-Schule Berlin" is marked pink for "Persons" instead of red for "Actor". It also misses its link to GND (http://d-nb.info/gnd/1264172176)
"Kleemann Galleries (New York, NY)" (http://d-nb.info/gnd/5245103-3) is marked pink for "Persons" instead of red for "Actor".
Bayerisches Nationalmuseum is missing the link to GND: http://d-nb.info/gnd/2005502-X

Itten-Schule should be fixed with next mapping (GND was in comment to other entity in Personenregister and entities referred to in those coments were understood as E21 Person. Now changed to E1 CRM Entity)

Kleemann Galleries (New York, NY) should be fixed with next mapping (Production participants where mapped as E21. Now generalised to E39)

Missing GND links are where entities are themselves GND URIs. Needs to be aded


Update from upstream

This pull request adds the latest upstream changes to keep our repository fresh and current. :coffee:
Hoping that @larsgrefer may finish https://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector/pull/714 soon.

@larsgrefer, I hate to nag you, but I feel as if it would help you and other devs when this would finally be added to AIMSICD. I like your effort with the switch to Realm, but maybe you can give this some love?


Add Scribe to landscape

Signed-off-by: Daniel Nebenzahl<EMAIL_ADDRESS>Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you added your SVG to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~30 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

LGTM

can you add an actual project here? e.g., https://github.com/scribe-public/gitgat

LGTM

Hi,
What else needs to be don in order for this PR to be merged?


[Bug]:[share_plus] Unable to build for web

Platform
web
Plugin
share_plus
Version
8.0.2
Flutter SDK
3.19.0
Steps to reproduce
flutter web build
Code Sample
No response
Logs
Target dart2js failed: ProcessException: Process exited abnormally with exit code 253:
../../../../.pub-cache/hosted/pub.dev/share_plus-8.0.2/lib/src/share_plus_web.dart:307:20:
Internal Error: Unknown external method j:method(ShareData|constructor#text)
  external factory ShareData.text({
                   ^
The compiler is broken.

When compiling the above element, the compiler crashed. It is not
possible to tell if this is caused by a problem in your program or
not. Regardless, the compiler should not crash.

The Dart team would greatly appreciate if you would take a moment to
report this problem at http://dartbug.com/new.

Please include the following information:

* the name and version of your operating system,

* the Dart SDK build number (3.3.0), and

* the entire message you see here (including the full stack trace
  below as well as the source location above).

Flutter Doctor
[✓] Flutter (Channel stable, 3.19.0, on macOS 14.4.1 23E224 darwin-arm64, locale en-PK)
    • Flutter version 3.19.0 on channel stable at /Users/hafeez/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bae5e49bc2 (7 weeks ago), 2024-02-13 17:46:18 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/hafeez/Library/Android/sdk
    • Platform android-34, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.87.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.84.0

[✓] Connected device (6 available)
    • Hafeez’s iPhone 12 Pro (mobile)     • 00008101-000E14CA3A8B001E                • ios            • iOS 17.3.1 21D61
    • Hafeez’s iPad (mobile)              • 46618cbc3abfaab6809d3489d98746f2d1f90adb • ios            • iOS 16.5 20F66
    • iPhone 15 Plus (mobile)             • 75D74010-5E0B-442C-9C2C-B34E06C9F7AA     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • iPad mini (6th generation) (mobile) • EEEC1BF7-CE12-4F9F-9B40-FEE34C2DEBFC     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)                     • macos                                    • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)                        • chrome                                   • web-javascript • Google Chrome 122.0.6261.112

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Checklist before submitting a bug

[X] I searched issues in this repository and couldn't find such bug/problem
[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

I cannot reproduce the issue, the project compiles for me.
> flutter build web
Resolving dependencies...
  ffi 2.1.0 (2.1.2 available)
  flutter_lints 3.0.1 (3.0.2 available)
  image_picker_android 0.8.9+3 (0.8.9+5 available)
  image_picker_for_web 3.0.2 (3.0.3 available)
  image_picker_ios 0.8.9+1 (0.8.9+2 available)
  image_picker_platform_interface 2.9.3 (2.9.4 available)
  leak_tracker 10.0.0 (10.0.5 available)
  leak_tracker_flutter_testing 2.0.1 (3.0.5 available)
  leak_tracker_testing 2.0.1 (3.0.1 available)
  material_color_utilities 0.8.0 (0.11.1 available)
  meta 1.11.0 (1.12.0 available)
! share_plus 8.0.1 from path .. (overridden in ./pubspec_overrides.yaml)
! share_plus_platform_interface 3.3.1 from path ../../share_plus_platform_interface (overridden in ./pubspec_overrides.yaml)
  test_api 0.6.1 (0.7.0 available)
  vm_service 13.0.0 (14.2.0 available)
  win32 5.2.0 (5.4.0 available)
Got dependencies!
14 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.

Upgrading .gitignore
Expected to find fonts for (MaterialIcons, packages/cupertino_icons/CupertinoIcons), but found (MaterialIcons). This usually
means you are referring to font families in an IconData class but not including them in the assets section of your
pubspec.yaml, are missing the package that would include them, or are missing "uses-material-design: true".
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 7848 bytes (99.5% reduction). Tree-shaking
can be disabled by providing the --no-tree-shake-icons flag when building your app.
Compiling lib/main.dart for the Web...                             24.9s

Can you provide the exact command you are using to build the project?

I tried running the example project

Did you try this? Were you able to compile the example project for web?

I got this problem just as I upgraded my plugins... It doesn't fix the problem, but it moved me onwards to build with share_plus: ^7.2.1 instead if that helps at all. I submitted the error to the compiler team as my error crashes the web compiler and they asked that I submit the report as a crash isn't what they wanted (O:

From the Dart team:
There was an issue with the Dart stable 3.3.0 SDK, which was then fixed in a patch release with Dart 3.3.1. The issue was that object-literal JS-interop constructors (such SharedData.files here) didn't work in dart2js unless the enclosing library had a @JS() annotation. Instead of reporting an error, the compiler crashed! I believe it was because this used to be required in the old interop, but we decided it shouldn't be required anymore, but then one part of the compiled wasn't adjusted to properly understand code without the annotation. More details available in the issue describing the 3.3.1 cherry-pick:
#55057
Since this is now released in the stable channel, most likely the only thing you need to do is to update to the latest stable release of Dart and Flutter.

Thanks for the help @butterbrain !
I can see that @imhafeez uses Dart version 3.3.0 in their flutter doctor output. In my case, I was already in Dart version 3.3.1. Probably also why the GitHub CI build process didn't catch this either.
Please @imhafeez confirm if that's the case and close the issue.

Thanks @butterbrain @miquelbeltran. It compiled successfully after flutter upgrade.
I am closing now.


Using the build script OpenCV-4.1.1-dirty-aarch64.sh

So I'm one of those folks trying to use the packaged installer with the magic flag turned on, e.g:
https://stackoverflow.com/questions/60081474/install-opencv-from-deb-file-in-docker
What I did:

Created a docker container with the following Dockerfile:

FROM nvcr.io/nvidia/l4t-base:r32.3.1 as base

ENV DEBIAN_FRONTEND noninteractive

WORKDIR /usr/src

RUN apt-get update && apt-get install -y --no-install-recommends make g++

COPY ./deviceQuery ./deviceQuery/

RUN make -C ./deviceQuery

FROM nvcr.io/nvidia/l4t-base:r32.3.1 as develop

COPY --from=base /usr/src/deviceQuery/deviceQuery /usr/src/deviceQuery
COPY ./torch-1.4.0-cp36-cp36m-linux_aarch64.whl /usr/src/.
COPY ./torch-1.4.0-cp36-cp36m-linux_aarch64.whl /tmp/
COPY ./OpenCV-4.1.1-dirty-aarch64.sh /tmp/

WORKDIR /usr/src

RUN apt-get update && \
    apt-get --yes install python3 python3-pip python3-wheel python3-numpy python3-scipy python3-dev \
    libopenblas-base mlocate && \
    sudo updatedb && \

    python3 -m pip install -U pip && \
    python3 -m pip install cython numpy /tmp/torch-1.4.0-cp36-cp36m-linux_aarch64.whl && \
    rm -rf /var/lib/apt/lists/* && \
    apt-get clean && \
    /tmp/OpenCV-4.1.1-dirty-aarch64.sh --prefix=/usr/local/ --skip-license && \
    rm *.whl

CMD ['tail -f /dev/null']

where I've copied in the installer OpenCV-4.1.1-dirty-aarch64.sh after saving it from a build with the same l4t image in a different container.

running /tmp/OpenCV-4.1.1-dirty-aarch64.sh --prefix=/usr/local/ --skip-license either in bash or during the build for the Dockerfile would move the binaries and lib files into its respective places in /usr/ or /usr/local - I've tried both

Finally I ran sudo ldconfig to update the python bindings

What I would expect
4) Running import cv2 in python3 would be successful, instead I get the dreaded segmentation fault error.
Python Version
3.6.9

I solved this by installing sudo apt-get install qt5-default
Maybe its because the QT flag was left on for my build because I can't understand why it would end up being a dependency


Add 1.19.1 as a supported version

Requires https://github.com/PrismarineJS/node-minecraft-assets/pull/22

Please extend with 1.19.2 (and 1.19.3)

I can modify this repo, but don't know how to generate the assets for the minecraft-assets which node-minecraft-assets depends on

Thanks, this is new project for me, so checking in how this works and if I can contribute in any way...

please do a release pr of dependent

please do a release pr of dependency

Not sure what you mean by this

It means you need to bump the npm package version in a release PR (see previous PRs). There is a workflow action that will trigger automatically publishing to npm which can then be used in prismarine-viewer/other packages.

fails

please re open if you want to work on it


readme: Fix bash syntax

Thanks, I was running on zsh so I didn't catch this

Hehe, I'm on fish so neither of these work. :D


nixos/services.prometheus.exporters.ipmi: new module along with underlying ipmi_exporter package

Description of changes
Bringing in new https://github.com/prometheus-community/ipmi_exporter exporter into existing Prometheus exporters framework.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[x] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 188754 run on x86_64-linux 1

2 packages blacklisted:

nixos-install-tools
tests.nixos-functions.nixos-test

1 package built:

prometheus-ipmi-exporter

Is that result unusual/unexpected? I can't tell.

Is that result unusual/unexpected? I can't tell.

I'm not sure. I've tested stuff locally and it works fine. Since all ofborg jobs pass, I guess everything is OK.

Sure. Keeping it in one PR okay?

Sure. Keeping it in one PR okay?

Yes!

Ugh, rebase went back too far...

I don't actually know how to fix this, I should probably recreate PR.

You can just force push to a new branch with the same name. There's no need to create a new PR.

I had to rebase then delete few commits, since previous rebase "touched" 9 extra commits making them diverge from master from what I understand. So that worked.

(Since because I split commit into two, I had to edit the "middle" commit, and git UX is atrocious.)


Could not link example blink for Nucleo64 STM32F303RE

I got the following error trying to compile the blink example for the STM32F303RE.

rust-lld error log
error: linking with `rust-lld` failed: exit status: 1
  |
  = note: "rust-lld" "-flavor" "gnu" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.1zatyt72j2nvv338.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.21n7h0o3jctaqwct.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.2r5valll98nq0yxt.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.308nglvz1fd2kk10.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.31gsx5az23k737mo.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.3dx73n44l4e015if.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.3ntu1gyt5ca3wi38.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.44g2xjeux4x46cdg.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.4mnhdpm2nyv86la2.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.4naaal1ok3c4xemm.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.55x5tadwp2rnt0x9.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.9b82ovfs2agj1gn.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.pazaxvcmqz5u03o.rcgu.o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795.s9urt31o9qsfti9.rcgu.o" "--as-needed" "-L" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps" "-L" "/path/to/project/target/debug/deps" "-L" "/path/to/project/target/thumbv7em-none-eabihf/debug/build/cortex-m-2fd1a8e6d25874b3/out" "-L" "/path/to/project/target/thumbv7em-none-eabihf/debug/build/cortex-m-rt-2100316a60da11aa/out" "-L" "/path/to/project/target/thumbv7em-none-eabihf/debug/build/defmt-dcf8dbeba0568f57/out" "-L" "/path/to/project/target/thumbv7em-none-eabihf/debug/build/stm32f3-0c9e140b792c9684/out" "-L" "/path/to/project/target/thumbv7em-none-eabihf/debug/build/cortex-m-rt-e97eb40fc8237973/out" "-L" "/home/nils/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabihf/lib" "-Bstatic" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libdefmt_rtt-0d410999536130db.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libdefmt-f00fe835de2640b0.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libcortex_m-56559b207976fe0d.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libaligned-1a7560077d02064d.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libas_slice-745fcc339b4c8ccb.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstable_deref_trait-812856d833b7407e.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libgeneric_array-982c30bca4e75e3f.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libgeneric_array-09033a9cd8cd62c4.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libgeneric_array-cf176f5edce2b95e.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libtypenum-ff9467418d54e116.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32_hal2-2c565610c9b9f015.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libchrono-572d54bc91f51079.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libnum_integer-cc30d5d71907a14e.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libnum_traits-25f97b3b71d2574c.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/liblibm-cf706319bdd7c8a9.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libcast-0b28ad7b064dfac7.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libcfg_if-f0905b992f2d6a32.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libcortex_m_rt-3aff3035a9133645.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libr0-eb0d4d2f80fb1fe8.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libcortex_m_rt-fc679c9dec16b97a.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libcortex_m-039d81d222b07560.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libembedded_hal-2975e04cc4cac382.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libvoid-47f217d30b4d30b2.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libnb-04defd24f4b073b9.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libnb-0a4ca79a0a5fa29a.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libvolatile_register-8bc92543b32933eb.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libvcell-eb41bddaf9059617.rlib" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/libbare_metal-fbdd2896b239bab4.rlib" "/home/nils/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabihf/lib/librustc_std_workspace_core-f5e50862e11e2490.rlib" "/home/nils/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabihf/lib/libcore-87c45edd00288221.rlib" "/home/nils/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabihf/lib/libcompiler_builtins-bf4341c12e226c41.rlib" "-Bdynamic" "--eh-frame-hdr" "-znoexecstack" "-L" "/home/nils/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabihf/lib" "-o" "/path/to/project/target/thumbv7em-none-eabihf/debug/deps/project-f3b793af3e647795" "--gc-sections" "-Tlink.x" "-Tdefmt.x"
  = note: rust-lld: error: undefined symbol: WWDG
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: PVD
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: TAMP_STAMP
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: RTC_WKUP
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: FLASH
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: RCC
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: EXTI0
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: EXTI1
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: EXTI2_TSC
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: EXTI3
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: EXTI4
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: DMA1_CH1
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: DMA1_CH2
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: DMA1_CH3
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: DMA1_CH4
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: DMA1_CH5
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: DMA1_CH6
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: DMA1_CH7
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: ADC1_2
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: undefined symbol: USB_HP_CAN_TX
          >>> referenced by stm32f3.c86517d0-cgu.13
          >>>               stm32f3-b1cc477b6ab5f559.stm32f3.c86517d0-cgu.13.rcgu.o:(__INTERRUPTS) in archive /path/to/project/target/thumbv7em-none-eabihf/debug/deps/libstm32f3-b1cc477b6ab5f559.rlib

          rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)

error: could not compile `project` due to previous error

I adapted the Pin::new call to use PA5 as that's where the LED is wired on my Nucleo64

Cargo.toml
[package]
name = "menu"
version = "0.1.0"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
cortex-m = "0.7.3"
cortex-m-rt = "0.7.0"
stm32-hal2 = { version = "^1.2", features = ["f303", "f3rt"] }
defmt = "0.2.3"
defmt-rtt = "0.2.0"

[features]
default = [
    "defmt-default",
]

defmt-default = []

What is the runner line set to in .cargo/config.toml?

runner = "probe-run --chip STM32F303RETx"
I use the onboard ST-Link.

And that does not seem to matter much, I got the same error when running cargo build alone.

Thank you. Could you please post your dependencies from Cargo.toml?

What happens if you change your cortex-m-rt version to 0.6.14?

Downgrading it, running cargo update, then cargo build compiles.
But now probe-run (launched by cargo run) fails with the following error:
$ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.85s
     Running `probe-run --chip STM32F303RETx target/thumbv7em-none-eabihf/debug/menu`
(HOST) INFO  flashing program (113.96 KiB)
(HOST) INFO  success!
Error: Operation timed out
$

And trying to flash and run with openocd & gdb, I fall on the breakpoint set on cortex_m_rt::Reset() followed by HardFaultTrampoline().

The cortex-m-rt version problem is due to incompatibility between the stm32-rs PACs and cortex-m-rt 0.7.
What happens if you unplug and plug in the board's USB port? Are you able to erase the flash memory using STM32CubeProgrammer? Is probe-run up to date?
(I'm not sure what's wrong, but these are all worth trying)

Another thought: Does your code use wfi or wfe?

What happens if you unplug and plug in the board's USB port?

Same output

Are you able to erase the flash memory using STM32CubeProgrammer?

Yes I am able to write all 0x0000_0000 to the whole flash memory.

Is probe-run up to date?

I installed it yesterday, it is.
$ cargo install probe-run
    Updating crates.io index
     Ignored package `probe-run v0.2.6` is already installed, use --force to override
$

Does your code use wfi or wfe?

The only thing I changed from the blink example is the led pin. I don't think I'm using those, but as I don't know what they are, I can't be certain.

What happens if you comment out everything below the defmt::info!("Hello, world!"); line from the blinky example? (Perhaps the F3 clock default is wrong)

If that works, try this for clock code:
use stm32_hal2::Clocks::Prediv;
let clock_cfg = Clocks {
    prediv: Prediv::Div2,
    ..Default::default()
}
clock_cfg.setup().unwrap();

Use this:
use stm32_hal2::Clocks::PllMul;
// ...

let clock_cfg = Clocks {
    pll_mul: PllMul::Mul8,
    ..Default::default()
}
clock_cfg.setup().unwrap();

What happens if you comment out everything below the defmt::info!("Hello, world!"); line from the blinky example? (Perhaps the F3 clock default is wrong)

I get the same issue, exactly.
Also, when I tried to run it with openocd and gdb, I had a breakpoint on main that was never reached, so there's that...

What does the memory.x file in your project root look like?

memory.x:
MEMORY
{
  /* NOTE K = KiBi = 1024 bytes */
  FLASH : ORIGIN = 0x08000000, LENGTH = 512K
  RAM : ORIGIN = 0x20000000, LENGTH = 80K
}

Here's the documentation that gave me those addresses (page 60 of the reference manual)

Yea - those are correct. I'll let you know what I come up with

Btw, re the Clocks thing I posted - I looked again at the RM, and the default setting should work. Where you get in trouble is if you try to use anything but the default on F303xD/E variants like this - then it'll be wrong, since those variants have 4 possible PLL source settings, and only the first does the same thing as the other 303 variants!

Are you able to get stm32-f3xx-hal working with your board?

Closing due to lack of response


Qa

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d094b0a). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #4   +/-   ##
=========================================
  Coverage          ?   78.97%
=========================================
  Files             ?        6
  Lines             ?      333
  Branches          ?        0
=========================================
  Hits              ?      263
  Misses            ?       54
  Partials          ?       16

Continue to review full report at Codecov.

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


Performance reduction with rails 5.2

Hi
I was using axlsx to create a workbook , stream and write to a downloadable xlsx file with rails 4.2. It used to take less than 60 seconds to create a downloadable xlsx file with 40,000 records, along with currency and date formatting. After upgrade to rails 5.2 , no more than 10,000 records can be added under 60 seconds. The total time includes fetch from db, parsing, excel creation and sending for download out of which
xlsx_package.to_stream.read
takes more time than it used to
Is there a reason for the performance reduction?

hey, check the discussion here

Any Update on this i am facing the same issue the performance decrement in rails 5.2.


(feat):add private variant in tx origin

Fixes #4055

needs cargo +nightly fmt

oops Thx

Thx I am getting errors on using nightly fmt

do you have nightly toolchain installed?

yup


Attempt to establish header for Content-Type

Hi, in attempt to establish custom header in a POST request of Content-Type: application/vnd.api+json, goes all the same Content-Type: application/json also comes back an error (Taking a look at your response status code (415) leads me to believe that you're not setting the Content-Type correctly in your request headers.). Prompt please as correctly it to make that the inquiry would pass normally (XCode 7.2, iOS 9.2)
I'm try:
1)
let headers = ["Content-Type": ""application/vnd.api+json""]
let request = alamofireManager.request(.POST, URLString,
parameters: postParameters,
encoding: .JSON,
headers: headers)

alamofireManager.session.configuration.HTTPAdditionalHeaders = ["Content-Type": "application/vnd.api+json"]

request.setValue("application/vnd.api+json", forHTTPHeaderField: "Content-Type»)

alamofireManager.session.configuration.HTTPAdditionalHeaders?.updateValue("application/vnd.api+json", forKey: «Content-Type")

Your Content-Type header is being overwritten by the one generated by the .JSON encoding type. To set the header while still using the result of .JSON encoding, use the .Custom encoding, like this:
request(.POST, URLString, parameters: parameters, encoding: .Custom({ (inRequest, parameters) -> (NSMutableURLRequest, NSError?) in
            let JSONEncodedRequest = ParameterEncoding.JSON.encode(inRequest, parameters: parameters).0
            JSONEncodedRequest.setValue("application/vnd.api+json", forHTTPHeaderField: "Content-Type")

            return (JSONEncodedRequest, nil)
        }), headers: nil)

This should accomplish what you want. And if you have more than one or two requests in your app, I would recommend following the URLRequestConvertible router pattern mentioned in our documentation so that you don't need to keep replicating this logic.

Thanks @jshier!


Update stack runner block_coinbase

This PR moves FindAuthor associated type from pallet-ethereum to pallet-evm. The reason for this is:

Projects that integrate pallet-evm alone require to access the author of the current block to be compliant with Solidity's block.coinbase in the runner.
Projects that integrate pallet-ethereum integrate pallet-evm anyway so it's still available.

This PR also makes use of this and implements runner::stack::block_coinbase.

@sorpaas This PR is now ready for review. @tgmichel is unavailable to next two weeks, and I offered to look after his PRs. Now that #409 is merged, this one is ready to go.
(I can't take his PR out of draft mode though)


DEL key goes to to previous slide (or frag)

Looks like SPC will already take you to the next slide or frag.  Should resolve #36.

ℹ Note that you can use ? to see a help-view of all available key-mappings.


alternate_protocols_cache: Create a filter for parsing Alt-Svc headers and populating the AlternateProtocolsCache.

alternate_protocols_cache: Create a filter for parsing Alt-Svc headers and populating the AlternateProtocolsCache.
Risk Level: Low
Testing: Unit and Integration
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

/assign @RenjieTang

/assign @alyssawilk

@alyssawilk I'm getting a docs failures which says:
Did you forget to add 'envoy.filters.http.alternate_protocols_cache.' to source/extensions/extensions_build_config.bzl?
But I did add to that file :/ Any idea what I'm missing?

ah, re docs failure it looks like this block is failing
    extension_metadata = EXTENSION_DB[extension]
    status = EXTENSION_STATUS_VALUES.get(extension_metadata.get('status'), '')
    security_posture = EXTENSION_SECURITY_POSTURES[extension_metadata['security_posture']]
    categories = extension_metadata["categories"]

Every time I've had that fail it was because I didn't have the extension registered.  Looks like you're failing another.
maybe security posture/  looks like that was recently moved from build files to  source/extensions/extensions_metadata.yaml
Also if that's the case can you update
tools/protodoc/protodoc.py
so the error message covers this failure mode?

ah, re docs failure it looks like this block is failing
    extension_metadata = EXTENSION_DB[extension]
    status = EXTENSION_STATUS_VALUES.get(extension_metadata.get('status'), '')
    security_posture = EXTENSION_SECURITY_POSTURES[extension_metadata['security_posture']]
    categories = extension_metadata["categories"]

Every time I've had that fail it was because I didn't have the extension registered. Looks like you're failing another.
maybe security posture/ looks like that was recently moved from build files to source/extensions/extensions_metadata.yaml
Also if that's the case can you update
tools/protodoc/protodoc.py
so the error message covers this failure mode?

I think I updated that file though, didn't I? (I was getting a different error about "metadata" being missing which was solved when I edited extensions_metadata.yaml)
git diff main source/extensions/extensions_metadata.yaml
diff --git a/source/extensions/extensions_metadata.yaml b/source/extensions/extensions_metadata.yaml
index ced4fb8ce..31a012ddb 100644
--- a/source/extensions/extensions_metadata.yaml
+++ b/source/extensions/extensions_metadata.yaml
@@ -83,6 +83,11 @@ envoy.filters.http.admission_control:

envoy.filters.http
security_posture: unknown
status: alpha
+envoy.filters.http.alternate_protocols_cache:

categories:

envoy.filters.http

security_posture: unknown
status: alpha
envoy.filters.http.aws_lambda:
categories:

envoy.filters.http

Ah! The .proto had an extra trailing '.' in the name of the extension which did not match the .bzl file. Fixed.

/retest

Oh, oops.  Matt's out this week as well.
@adisuissa for API pass?

/retest


Bind Kestrel options to config by default

From @danroth27 on April 17, 2017 20:5
Since config is in DI now by default we should support binding the Kestrel options to config by default (for UseKestrel()).
  "Kestrel": {
    "Endpoints": [ // Order matters!
      {
        "Address": "localhost",
        "Port": "44316",
        "Certificate": { // Implies HTTPS
          "Subject": "danroth27.com", // Pick the cert that matches the subject name with the latest expiry
          "StoreName": "My",
          "StoreLocation": "CurrentUser"
        }
      },
      {
        "Address": "localhost",
        "Port": "8080"
      },
      {
        "Address": "localhost",
        "Port": "44317",
        "Certificate": {
          "Path": "./mysslcert.pfx",
          "Password": "abc!123" // In user secrets: Kestrel:Endpoints:2:Certificate:Password
        }
      }
    ]
  }

Copied from original issue: aspnet/KestrelHttpServer#1703

@glennc @Tratcher @DamianEdwards @davidfowl

From @muratg on April 17, 2017 20:53
:eyes:

Or you can name your endpoints:
  "Kestrel": {
    "Endpoints": {
      "CertFromStore": {
        "Address": "localhost",
        "Port": "44316",
        "Certificate": { // Implies HTTPS
          "Subject": "danroth27.com", // Pick the cert that matches the subject name with the latest expiry
          "StoreName": "My",
          "StoreLocation": "CurrentUser"
        }
      },
      "LocalhostWithPort": {
        "Address": "localhost",
        "Port": "8080"
      },
      "CertFromFile": {
        "Address": "localhost",
        "Port": "44317",
        "Certificate": {
          "Path": "./mysslcert.pfx",
          "Password": "abc!123" // In user secrets: Kestrel:Endpoints:CertFromFile:Certificate:Password
        }
      }
    }
  }

We decided to do this in the new static WebHost API.

@muratg Please assign for preview1

@JunTaoLuo could you take this? Please sync up with @Tratcher.

A couple of updates:

We will need to be able to configure certificates for multiple purposes: SSL, token signing, etc.
It would be nice if you could reference a certificate configuration
It would make the model simpler if the source of the certificate is explicit (Store, File)

Proposed update:
{
    "Kestrel": {
        "Endpoints": {
            "LocalhostWithPort": { // Just a name, not schema
                "Address": "localhost",
                "Port": "8080"
            },
            "CertReferenced": { // Just a name, not schema
                "Address": "localhost",
                "Port": "44316",
                "Certificate": "IIS Express" // Reference cert by name
            },
            "CertInline": { // Just a name, not schema
                "Address": "localhost",
                "Port": "44317",
                "Certificate": {
                    "Source": "File",
                    "Path": "./mysslcert.pfx",
                    "Password": "abc!123" // In user secrets: Kestrel:Endpoints:CertInline:Certificate:Password
                }
            }
        }
    },
    "Certificates": {
        "IIS Express": { // Just a name, not schema
            "Source": "Store",
            "Subject": "localhost", // Pick the cert that matches the subject name with the latest expiry
            "StoreName": "My",
            "StoreLocation": "LocalMachine"
        },
        "SigningCertificate": { // Just a name, not schema
            "Source": "File",
            "Path": "./mycert.pfx",
            "Password": "abc!123" // In user secrets: Certificates:SigningCertificate:Password
        }
    }
}

@javiercn

@cesarbs Please sync up with @Tratcher and @davidfowl to get the design.

Please note that the logic for loading the Certificates section should be surfaced as an API that can be used in other contexts. For example, we will need to be able to get the list of certificates so that we can select one for signing purposes.

@cesarbs Looks like @JunTaoLuo merged the WebHostBuilderContext overloads today: https://github.com/aspnet/Hosting/pull/1020. So I think this is now unblocked.

Note that we will want to use the same cert loading logic in other places (ex signing certs). Some examples:
{
    "Authentication": {
        "Identity": {
            "SigningCertificates": { // Multiple inline
                "MySigningCert1": {
                    "Source": "File",
                    "Path": "cert1.pfx",
                    "Password": "*****"
                },
                "MySigningCert1": {
                    "Source": "File",
                    "Path": "cert2.pfx",
                    "Password": "*****"
                }
            }
        }
    }
}

{
    "Authentication": {
        "Identity": {
            "SigningCertificates": { // Single inline
                "Source": "File",
                "Path": "cert1.pfx",
                "Password": "*****"
            }
        }
    }
}

{
    "Certificates": {
        "MySigningCert1": {
            "Source": "File",
            "Path": "cert1.pfx",
            "Password": "*****"
        },
    },
    "Authentication": {
        "Identity": {
            "SigningCertificates": "MySigningCert1" // Single referenced
        }
    }
}

{
    "Certificates": {
        "MySigningCert1": {
            "Source": "File",
            "Path": "cert1.pfx",
            "Password": "*****"
        },
        "MySigningCert2": {
            "Source": "File",
            "Path": "cert2.pfx",
            "Password": "*****"
        }
    },
    "Authentication": {
        "Identity": {
            "SigningCertificates": "MySigningCert1 MySigningCert2" // Multiple referenced, space separated
        }
    }
}

@danroth27 Can you file an issue for the follow-up CertificateLoader changes?

https://github.com/aspnet/MetaPackages/issues/69


Automate releases

I want to add a GHA workflow that automates releases to crates.io. I propose using a variant of semantic-release, which uses conventional commits to determine the next release number and generate the release notes. I would also add a CI step that validates the format of the commit message, which would make the git history more consistent and helpful. @sseemayer let me know what you think.

I would be open to something like that in principle. Would you propose releasing after every merged PR, or bundling several merged changes together? How would you teach new contributors to interact with this system?

Would you propose releasing after every merged PR, or bundling several merged changes together?

I think releasing on every master merge would be ideal, in order to reduce the size and risk of the releases. I understand however that you might not be comfortable with that pace of releasing just yet, so I propose two alternatives:

We could release -beta versions on every master merge, and continue to do the stable releases manually.
We could also create a GitHub Actions workflow that would be triggered manually. This would reduce the toil when creating a release, and thus would probably make us release more often anyway.

We could wait until we are more confident in the unit tests to re-evaluate if we want to release on every master merge.

How would you teach new contributors to interact with this system?

I would add a CI job that would validate the commit title, and I would add a CONTRIBUTING.md file with documentation on our development workflow. First-time contributors will be prompted to read the file before opening their first PR (This is already supported by GitHub).

Releasing automatically after every merge is fine by me. I will admit to having to adjust my mental model somewhat, but I see the many benefits that such a model has (e.g. making sure that contributions land as quickly as possible). Let's go for your proposed ideal solution.

One more question, since we are in the 0.x stage of semantic versioning at the moment: How is a transition to 1.x handled?
I would want the compatibility-breaking releases that are automatically created to remain below 1.0.0, and make it a deliberate step to release a 1.0.0 release when we consider the API of the crate to be somewhat stable.

I think the semantic release tool will only bump the minor version when there's a breaking change, so we can decide when to bump to version 1.0.0.

Alright, then let's go for it!

Looks like semantic-release will bump the major version of the library on a breaking change, whether or not the major version is currently 0. There's an issue about that here and it looks like we're definitely not the only library maintainers expecting that feature. I propose we wait until version 1.x is out to automate the releases with semantic-release.

I think I will use this action to compute the next version number. The enable_prerelease_mode option will allow us to remain in beta mode (version 0.x) until we are ready to ship version 1.0.


feat: replace kube-apiserver watch with informer

What is the purpose of the change
Fix: #10535
Replace the watch mechanism with a high-performance informer mechanism.
Informer maintains a memory cache, which can return the results of List/Get requests more quickly and reduce direct calls to kubenetes API.
Brief changelog

Update fabric8_kubernetes_version from v5.3.2 to v6.1.1 because of adding informer api.
Replace all watch APIs.

Verifying this change
org.apache.dubbo.registry.kubernetes.KubernetesServiceDiscoveryTest can verify.

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #10543 (66172f6) into 3.1 (eb919e9) will decrease coverage by 0.06%.
The diff coverage is 57.23%.

@@             Coverage Diff              @@
##                3.1   #10543      +/-   ##
============================================
- Coverage     64.76%   64.70%   -0.07%
- Complexity      396      432      +36
============================================
  Files          1331     1331
  Lines         56520    56508      -12
  Branches       8370     8347      -23
============================================
- Hits          36606    36562      -44
+ Misses        15970    15959      -11
- Partials       3944     3987      +43

Impacted Files
Coverage Δ

...registry/kubernetes/KubernetesMeshEnvListener.java
0.00% <0.00%> (ø)

...egistry/kubernetes/KubernetesServiceDiscovery.java
77.56% <82.07%> (+77.56%)
:arrow_up:

...mmon/serialize/fastjson2/FastJson2ObjectInput.java
0.00% <0.00%> (-62.50%)
:arrow_down:

...mon/serialize/fastjson2/FastJson2ObjectOutput.java
0.00% <0.00%> (-56.25%)
:arrow_down:

...dubbo/remoting/zookeeper/ZookeeperTransporter.java
50.00% <0.00%> (-33.34%)
:arrow_down:

...on/serialize/fastjson2/FastJson2Serialization.java
57.14% <0.00%> (-28.58%)
:arrow_down:

...ng/zookeeper/curator5/Curator5ZookeeperClient.java
43.86% <0.00%> (-25.48%)
:arrow_down:

...nt/metadata/ServiceInstanceHostPortCustomizer.java
65.78% <0.00%> (-21.06%)
:arrow_down:

...n/serialize/fastjson2/Fastjson2CreatorManager.java
46.66% <0.00%> (-20.00%)
:arrow_down:

...ache/dubbo/remoting/transport/AbstractChannel.java
75.00% <0.00%> (-12.50%)
:arrow_down:

... and 71 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Color results of rendered images

Thanks for your work
I have a question, the geometry of mesh is nice. But can you provide the imge quality such as NeRF ?

Hello @small-zeng, Thanks for your interest.
We don't use rendering loss to supervise the map. And our inputs are point clouds rather than images. So there is no rendered image in our project.


Disabled Rules Not Working

In the setting I toggled on header-increment rule. In a Kanban file where I only use H2 headings without a H1 heading, I wrote disabled rules: [ header-increment ]. But linting still turn H2 headings into H1s.

Thanks, will push new release shortly with fix.


Won't compile on Raspberry Pi

Version 0.2.0 has a dependency on nix version 0.11.0, which does not compile on the Raspberry Pi. This is fixed in nix version 0.14.0. See https://github.com/nix-rust/nix/issues/1057

Shouldn't this be closed?

Shouldn't this be closed?

Thanks, closing.  Currently on nix 0.14.


env has a weird format, should be an attrset

Is your feature request related to a problem? Please describe.
The env options has a bit of an awkward format. I'm doing my configuration in Nix so I have to write it like
{
  env = [
    {
      name = "LIBCLANG_PATH";
      value = "${pkgs.llvmPackages_9.libclang.lib}/lib";
    }
    {
      name = "DEVSHELL_NO_MOTD";
      value = 1;
    }
    {
      name = "NIX_CONFIG";
      eval = ''"''${NIX_CONFIG:+$NIX_CONFIG$'\n'}builders = "${lib.escapeShellArg builderConfig}'';
    }
  ];
}

The TOML isn't much better, having to specify name/value repeatedly.
Describe the solution you'd like
I'd like to be able to write
{
  env = {
    LIBCLANG_PATH = "${pkgs.llvmPackages_9.libclang.lib}/lib";
    DEVSHELL_NO_MOTD = 1;
    NIX_CONFIG.eval = ''"''${NIX_CONFIG:+$NIX_CONFIG$'\n'}builders = "${lib.escapeShellArg builderConfig}'';
  };
}

I believe the TOML would also benefit from this shorthand, which I expect would look something like the following (although I'm a bit rusty at TOML):
[env]
DEVSHELL_NO_MOTD = 1
NIX_CONFIG.eval = '''"${NIX_CONFIG:+$NIX_CONFIG$'\n'}builders = "hard-coded builder config"'''

You should be able to define the type using coercedTo so the old version is coerced to this new version, thus allowing for merging modules that use both. The values themselves could also be done with coercedTo in order to convert the bare value form into { value = …; } (or just update the code to handle either).
Describe alternatives you've considered
A library function could be written that does the conversion, which would only be usable in Nix code, and is less discoverable and more awkward.
Allowing bare values (e.g. DEVSHELL_NO_MOTD = 1) could also be skipped in favor of writing this like
{
  env = {
    DEVSHELL_NO_MOTD.value = 1;
  };
}

although it's nice to make the most common expected form easier to use.

The attrset approach also means we'll get module-level enforcement that each env var is only specified once. With this, it would be nice to support merging prefix definitions, because prefixing can be done multiple times. This is probably not very useful with the TOML approach but would be useful with complex Nix configurations.
I also wonder if the submodule definition, where it has 4 options of which exactly one must be set, could be instead replaced by a oneOf of 4 separate submodules, each of which only defines one of the exclusive options. I haven't ever tried that but it feels like it might work, and would remove the manual assertions, and might produce better error message when merging as well I'm not sure.

I agree that it's cumbersome and would be happy to find another way to arrange this.
The main reason it's using a list is that eval and prefix depend on the order of evaluation. With an attrset, the ordering is lexigographical, which might not be the right order.
Consider:
env = {
  MY_VAR = "1";
  HELLO.eval = "${MY_VAR}";
};

Because Nix orders the keys alphabetically, HELLO would appear first in an iteration.
One thing I considered for a while was to split the set/unset from the eval/prefix ones. Set/unset would be an attrset that gets applied first, and then the eval/prefix is still in a list. I think that would work too but wasn't overwhelmingly better.

I didn't consider the idea that an eval might reference another env var set this way. Also I wasn't sure if an explicit goal here was to support something like
[[env]]
name = "FOO"
prefix = "bin"
[[env]]
name = "FOO"
prefix = "bin2"

I suppose the implicit realpath-ing of the value means you can't just say prefix = "bin:bin2" (although perhaps it should split on colons so you can say that?), so there is some value in this, although it's also not immediately obvious if the order here particularly matters.
I suggested using coercedTo so the old version would be coerced to the new one, I suggested doing it in this order so that way if I explore the resolved values (e.g. load up nix repl and look at devShells.${system}.default.config) I'd get the attrset version. However you could use coercedTo to convert the new version into the old and therefore allow using the current list style to enforce ordering.
That said, I do like the idea that it would apply set/unset first, then prefix, and then eval. I suppose it could apply this ordering only when processing the attrset version, otherwise you might be surprised at the behavior of
{
  env = [
    { name = "OLD_BAR"; eval = ''"$BAR"''; }
    { name = "BAR"; value = "some value"; }
  ];
}

though explaining the behavior would be simpler if it just applied always. Folks can use scripts if they really need to do fancy things like that (or use { name = "BAR"; eval = lib.escapeShellArg "some value"; }).
But of course applying it always is a backwards compatibility hazard, so we could also just say ordering isn't guaranteed when using the attrset version, use the list version if order matters or write a script to set the variables. But if you're okay with changing ordering then I would prefer to do set/unset, then prefix, then eval. This way set/unset won't ever overwrite prefix/eval, and then prefix next because it only depends on itself, and then eval because it can depend on anything.

If you're up for sending a PR, I suggest the following:
Change the env key to become an attrset of key=value, so the user can express things simply:
[env]
FOO = "bar"

Introduce envs which is the current list approach.
[[envs]]
name = "FOO"
value = "bar"

Have an adapter so that if a list is passed to env, it sets the envs and emits a depreciation warning.
Something like that?

That sounds like a good idea. And perhaps it can be defined/documented such that env is explicitly processed before envs.
What I've done locally is defined a similar env' type that works similarly, although it takes either a value or a submodule with value/prefix/eval so I can write things like
{
  env' = {
    FOO = "bar";
    BAR.eval = "$BAZ";
    QUX = null; # this unsets it, as does { value = null; }
  };
}

The unset-on-null-value part was a bit complicated, I did that by removing the default on value and adding an internal readonly option with a config definition in the submodule that checks options.value.isDefined.
Unfortunately I can't actually submit a PR without running afoul of my employer's OSS contribution policies.

Unfortunately I can't actually submit a PR without running afoul of my employer's OSS contribution policies.

I'm sorry to ask but are you using this project at work?

@zimbatm My employer has strict policies about employees contributing to OSS even for personal usage.

I don't know what to think. Reciprocity is important for the OSS ecosystem's health. We spend a lot of time building things for free, helping people out. It's human to do that.
If your company has very strict IP policies, another way to contribute back is to set up a support contract with us. This then helps us fund our lives and in consequence, allows us to do more projects like this<EMAIL_ADDRESS>).
Thanks for contributing your ideas and code samples, I think for now this issue will stay like that until some new event will revive it.

Not exactly trying to revive this issue, but would like to share a code snippet i'm using to set the env vars:
env = lib.attrsets.attrsToList {
  FOO = "";
  BAR = "";
};

From the NixOS 23.11 Release Notes

lib.attrsets: New function: attrsToList.

It won't handle those edge cases, but it's good enough most of the time.

Maybe just support this?
[
  { a = "b"; c = "d"; }
  { e = "$b"; }
]

Or this to not clash with existing options?
[
  { _.a = "b"; _.c = "d"; }
  { _.e.eval = "$b"; }
]


C++ Documentation?

Where is the C++ documentation for SoftwareBitmap. We really need examples, there seems to be differences between the CX and WinRT. For instance .. Where is IBufferByteAccess ? Which is required for the CX examples as far as I can tell, but it doesn't seem to exist in WinRT, If I have it correct we are meant to include robuffer.h, but <winrt/robuffer.h> doesn't work. The only mention I can find of IBufferByteAccess is here ..
https://docs.microsoft.com/en-us/windows/uwp/xbox-live/storage-platform/connected-storage/connected-storage-using-buffers

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

ID: eec6e5e4-d6fa-50e5-d197-5e0555df4214
Version Independent ID: 6ef061aa-fe44-add2-efe6-f0c02b18e5c6
Content: SoftwareBitmap Class (Windows.Graphics.Imaging) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.graphics.imaging.softwarebitmap.yml&version=GBlive&_a=contents
Product: windows
Git Login: wdg-dev-content
Microsoft Alias: wdg-dev-content

Hi, @Gavin-Williams, and thanks for filing this issue. You're right, there wasn't a clear link between the various topics here. I have fixes on the way to add more links to both the overall SoftwareBitmap topic and to that class's CopyToBuffer and CopyFromBuffer method topics. The links take you to the code example in https://docs.microsoft.com/uwp/api/windows.ui.xaml.media.imaging.writeablebitmap.pixelbuffer, as @lmadhavan mentions.
I'll monitor the live site for those changes going live.
Thanks!
Steve

UPDATE: So my updates are now live. I'll go ahead and close the issue.
Thanks again!
Steve


drivers: dts: Add SPI capability to bmi270 driver

Added SPI bus support for BMI270 gyroscope driver.
Signed-off-by: Dominik Chat<EMAIL_ADDRESS>

@MaureenHelm @mbolivar-nordic @galak Please review. I added requested changes

@MaureenHelm I fixed the required dev position.


The fcitx5-breeze repo has been migrated to GitLab

https://github.com/scratch-er/fcitx5-breeze#this-project-has-been-migrated-to-gitlab

Thanks for your report! I have changed the source of fcitx5-breeze package to GitLab and updated it to latest version.


[BitFinex] [Feature Request] FFR

Would really love to have the ability to lend at FFR. I guess I have a few ideas (stages):

If there is a market BID for FFR I want to take it. That's the simplest case.
Maybe keep part of the offers at FFR or if FFR is near (somehow determine that), then do offers at FFR not at a fix rate.

I love doing FFR but obviously sometimes FFR might not happen for days/weeks so doing regular orders makes more sense (reasoning why this bot would be awesome). Somehow being able to still enjoy FFR while using this bot would be idea. The first part of taking any FFR bid should be easy... the second part of when to do an FFR order might involve some thinking and decision making I haven't thought about. Maybe if it is within the order book depth you are making bids then do FFR. Thank you!

IMO, this defeats the purpose of having the bot. The bot is supposed to take more information in to account than the simple thing FRR does. Plus, FRR, I believe, is only calculated once per day whereas the bot calculates best rates constantly.
If I have my bitfinex account opened in browser, I can see the bot's activity in the bottom right corner as it cancels orders at lower rates and then places new ones at better rates.
Additionally, canceling/readding attempts to put you at the head of the line. I don't believe FFR does this.

Well, the bot is awesome for lending when FFR is not an option or when the market spikes up.
FFR gives us the opportunity to lend at 30 days while not missing opportunities if the market return rate goes up. Sometimes there will be a bid at FFR higher than the market because the market is at 2 days while FFR bid is asking for 30 days, so you are able to secure a higher rate then. FFR obviously doesn't.
I am not sure about point number two as it tricky as this conversation reveals, but point number one seems simpler and nice functionality :

IF there is an FFR bid AND the market is below the bid, then do an offer to match the bid.

That generally involves lending at 30 days vs 2 days, but it generally works out well. I doubt everyone would want this but personally that's what I've been doing manually and my FFRs perform better generally (there are spikes, at which point I ignored the FFR and lended above FFR).
That also opens the door for more interesting logic. If current rate is x% above FFR, maybe lending for more than 2 days makes sense.
Hope that makes sense and let me know your feedback, thank you!
By the way, FFR is calculated once per hour as per this post: https://support.bitfinex.com/hc/en-us/articles/213919009-What-is-the-Flash-Return-Rate-

@JCBauza see https://github.com/BitBotFactory/poloniexlendingbot/pull/554

Was added in above PR