❌Windows won't start!!!

What happens?
There is this error on startup. I have a recovery disk, but how can I restore the bootloader?

How this happens?
Explain exactly the steps you did:

Download HackBGRT-(version).zip and extract all files.
Start setup.
Install

Log file
Impossible

I found the instructions myself on the Internet and corrected them

I don't get it, why do your people keep trying with 1.5.1 while the recent version is 2.4.0?

I don't get it, why do people keep trying with 1.5.1 while the recent version is 2.4.0?

Because it really works and replaces the logo. And the latest version had absolutely no effect on starting Windows. There is, of course, a small drawback that version 1.5.1 is not very stable and during installation, according to all the rules, you have to press a key to boot into Windows. But fortunately, after several installations we managed to do it well. But after that I would like to have a tool for opening access to the disk with the bootloader in order to replace splash.bmp there because when I installed it again to change splash.bmp, I got an unbootable PC...

I obviously do not accept any "bug reports" about the 8 years old version.
The recommended choice is to use the most recent version. If it doesn't seem to do anything (probably because some kind of antivirus or other safety measure prevents changing the default boot loader), do not uninstall it but go to the UEFI Setup and choose the correct boot entry manually.
If this is not possible for you (for example, your computer doesn't show the HackBGRT boot entry), there's still a better way for you: the installer has the legacy option which works pretty much like the legacy 1.5.1 version. There should be absolutely no need to use the old version.
And in any case, if you have installed a version which works for you, then of course you have to use the setup from that version to change the configuration.
If you mix different versions, it's totally going to break. Always use just one version.

probably because some kind of antivirus or other safety measure prevents changing the default boot loader

I don't have any third-party antiviruses, and "Secure Boot" is disabled...

go to the UEFI Setup and choose the correct boot entry manually

And how to do this?

If this is not possible for you (for example, your computer doesn't show the HackBGRT boot entry), there's still a better way for you: the installer has the legacy option which works pretty much like the legacy 1.5.1 version. There should be absolutely no need to use the old version.

I don't know, but this option also had no effect...

And in any case, if you have installed a version which works for you, then of course you have to use the setup from that version to change the configuration.
If you mix different versions, it's totally going to break. Always use just one version.

I used one version, but for some reason the old logo came back and I decided to delete and install again, but then I accidentally deleted some file and it no longer wanted to be installed.
Every time I reinstall, I feel some difference in the effect (I don’t know what this is connected with), although I use the same version...
It seems to me that in my case, if it was installed correctly, then it is better not to touch anything except splash.bmp, but this requires access to the disk with the bootloader without repeating the installation process

I don't have any third-party antiviruses, and "Secure Boot" is disabled...

Looks like sometimes Windows restores the boot loader (or rather, BootOrder) by itself.

go to the UEFI Setup and choose the correct boot entry manually

And how to do this?

UEFI Setup is what people still tend to call BIOS. The setup.exe has an option for this, or you can search instructions based on your computer. Usually you can get there by pressing F2, F11, F12 or Delete right when you power on your computer, depending on your computer. How to navigate and change the settings depends on your computer.

I don't know, but this [legacy] option also had no effect...

Feel free to show the log again. (You can first remove the old log to avoid unnecessary old info).

Every time I reinstall, I feel some difference in the effect

Shouldn't be any...

It seems to me that in my case, if it was installed correctly, then it is better not to touch anything except splash.bmp, but this requires access to the disk with the bootloader without repeating the installation process

That's why the current version has an option for just copying files. I hope we get it working for you.

Looks like sometimes Windows restores the boot loader (or rather, BootOrder) by itself.

I don't know.

UEFI Setup is what people still tend to call BIOS.

Strange, I didn’t find a choice of boot entries in the BIOS... I’ll look on the Internet.

Feel free to show the log again. (You can first remove the old log to avoid unnecessary old info).

Okey.

Shouldn't be any...

I don't know, but it is so...

That's why the current version has an option for just copying files.

Yes, but the installation process itself is complicated. The old version does not need a certificate or anything else. But perhaps you can install the old version and change the files using the new one?

Yes, but the installation process itself is complicated. The old version does not need a certificate or anything else.

The old process required disabling Secure Boot. There's a trade-off.
The most legacy-like configuration can be installed with command prompt: setup.exe install skip-shim install enable-overwrite. (I will also fix skip-shim in next version so that you can omit the first install there and avoid copying some unused files.) This option will not be available in the menu because I want to minimize the number of bug reports about non-bootable computers.
If even this doesn't work, then I would be very interested to know if version 1.5.1 truly still works.

But perhaps you can install the old version and change the files using the new one?

You could do that, and you actually did that according to your first screen shot, but your setup broke because you had the new config options which are not compatible with the old loader.

The old process required disabling Secure Boot.

The most legacy-like configuration can be installed with command prompt: setup.exe install skip-shim install enable-overwrite.

Ok I'll try to install the latest version this way.

I would be very interested to know if version 1.5.1 truly still works.

Yes, it really works, but the bootloader broke because I deleted the files, and it didn’t want to be reinstalled so that they could be restored...

The most legacy-like configuration can be installed with command prompt: setup.exe install skip-shim install enable-overwrite.

How can I change splash.bmp after such an installation?

You can first edit the image and then use the same command to re-install (or more simply setup.exe skip-shim install).

Okey, thanks

Thanks a lot! Now everything works great! Let's see if anything changes after re-installing to change the logo...

Yes, I reinstalled it a few more times to adjust the logo and everything is fine. Thank you very much!!!

You're welcome.


Unsent chunk of publisher leaked after publisher exit unnormally

Required information
Operating system:
Ubuntu 18.04 LTS
Compiler version:
GCC 7.5.0
Eclipse iceoryx version:
v2.0.2
Observed result or behavior:
Chunk In use of the iox-introspection-client should be 0 after the iceperf-bench-leader process exit directly.
MemPool | Chunks In Use |    Total | Min Free | Chunk Size |Chunk Payload Size
--------------------------------------------------------------------------------
       1 |             1 |        2 |        0 |        168 |          128

Steps to Reproduce

run the following programs normally:

./iceperf-bench-leader -n 100 -t iceoryx-cpp-api
./iceperf-bench-follower
./iceperf-roudi
./iox-introspection-client --all

add code like following file(or send Ctrl-C to the ./iceperf-bench-leader ):
iceoryx_examples/iceperf/iceoryx.cpp in sendPerfTopic() method:

    m_publisher.loan(payloadSizeInBytes).and_then([&](auto& userPayload) {
        auto sendSample = static_cast<PerfTopic*>(userPayload);
        sendSample->payloadSize = payloadSizeInBytes;
        sendSample->runFlag = runFlag;
        std::cout << std::endl << "going to exit(0)! ..." << std::endl;
        std::exit(0);
        std::cout << "never go this line!!!" << std::endl;
        m_publisher.publish(userPayload);

the iceperf-bench-leader will exit immediately, and start it again.

From the second time restart of iceperf-bench-leader, the Chunk In Use grow up to 1.
MemPool | Chunks In Use |    Total | Min Free | Chunk Size |Chunk Payload Size
--------------------------------------------------------------------------------
       1 |             1 |        2 |        0 |        168 |          128

And after the third time, the Chunk In Use grow up to 2.
Analysis
The code will exit immediately without send any message, but the unsent chunk should be released by RouDi process after the RouDi detect the leader process exit.
Any idea to make up for these scenarios? Thanks.

@qujian oh btw, having two chunks in use is totally okay. The leader as well as the follower are holding two chunks, one which was received and the new one which will be published. The time for this is short but since there is no sleep between the transmission the chance is quite high that the introspection samples its data during this period of time.

Closing this issue. Feel free to reopen if there are more questions.


upload dev build + add JDK 18 to the matrix + version bumps.

upload a dev build as CI step.

verified that it works. It will only upload the artifact during integration, not during PR checks to conserve resources.
example at bottom of the page:
https://github.com/apache/roller/actions/runs/2080694025
link to all builds for master branch:
https://github.com/apache/roller/actions/workflows/main.yml?query=branch%3Amaster
retention is set to 90 days


Can't remove notes in charting menu of newest update

I don't know if this is my problem or not but when I go to the charting menu, I can place notes but I can't remove them.
I can remove the notes on the first line of the chart, but nothing else.
I already tried getting the ChartingState from the latest versions, but it keeps the same error.

i don't know how to fix this. this literally never happened to me frf

are you scrolling down? maybe u can only remove stuff on the beat that ur on i think?

Yeah I can't remove any either

fixed


Check Dependabot TOML parsing issue is fixed.

It looks like I'm hitting this bug: https://github.com/dependabot/dependabot-core/issues/10523.
Check in a week or so to see if it's fixed.

Just an update. Dependabot is still broken.


Multi-Selection Dragging

For large datasets especially in molecular epidemeology, it's common to want to select groups of nodes that aren't necessarily connected to eachother, as well as then be able to drag all these nodes at once to make the network more legible rather than spending a long time dragging one by one.
Users can typically do this by doing something such as holding shift + mouse button press and dragging on the network to create a rectangle, and on release - highlight all the nodes within said rectangle.
Is there any way to select multiple nodes?  Not just highlight nodes that are connected to a selected node.
I see the selectedNodeId variable is used like so:
<vis-graph
  [nodeLabel]="nodeLabel"
  [events]="events"
  selectedNodeId="2"
></vis-graph>

Please see the images below for reference.  Thanks in advance!  Excited to collaborate with eachother :)

@mossy426 That would really be a great feature. We'll keep it in mind for the next component update. I can't give any estimate though on how soon we'll be able to add it.


[Feature] Ui for Profile Page

Description
@pooranjoyb
we can design beautiful ui for profile route
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)

Congratulations, @dhruv8433! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

@dhruv8433 do you mean you want to add a loader or what?, please explain in detail.

@Mahitej28
i want to design ui page for profile section something like this,
where user's  order and everything displayed

Profile is fine I guess. We can revamp the current UI and not change it completely I'd say. @dhruv8433

Exactly the current UI is good if u want you can just do modifications and share a figma design file with us of the ui

Thank you @Mahitej28

Updates ? @dhruv8433

@pooranjoyb
what about kind of this...

Seems kinda good tho :)
Your thoughts @Mahitej28 @AjayAsnani ?

Yes looks good can go ahead with this.

Update @dhruv8433 ?

It will competed till tommorrow


Duplicate permissions in documentation

It seems that the documented permissions have an erroneous duplicate entry in them. See screenshot.

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

ID: 92b18eba-07a5-dbbf-b697-0264e326f4d4
Version Independent ID: 8c025ef6-38a6-eca5-7729-8f040fbbbe10
Content: Concepts - Access and identity in Azure Kubernetes Services (AKS) - Azure Kubernetes Service
Content Source: articles/aks/concepts-identity.md
Service: container-service
GitHub Login: @palma21
Microsoft Alias: jpalma

@jhyot Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate. We will update you accordingly.

@palma21 Can you please check and add your comments on this doc update request as applicable

Thank you for the feedback.
We've added a task to our backlog and will prioritize accordingly.
#please-close


How is blocking behavior in poll_oneoff handled in the browser?

In the legacy 0.x branch, poll_oneoff can only handle clock events, and it keeps spinning until the timeout has reached, which will block the whole event loop (https://github.com/wasmerio/wasmer-js/blob/0.x/packages/wasi/src/index.ts#L1369). Is this still the case for the current version?

In the current version we skipped poll_oneoff because it added too much weight to the wasm. We could re-add it back with tokio soon

@syrusakbary is there any news on this? or how could I make this available? I'm trying to run a simple hello world which I compiled from Haskell.
I'm getting an error and my understanding is that __wasi_poll_oneoff@http://localhost:5173/test.wasm:wasm-function[4813]:0x126747 is not available.

Full error message
  Uncaught Error: Error while running start function: RuntimeError: JsValue(RuntimeError: unreachable executed
@http://localhost:5173/node_modules/.vite/deps/@wasmer_wasi.js?v=c5b6a40e line 665 > WebAssembly.compile:wasm-function[667]:0x73220
@http://localhost:5173/node_modules/.vite/deps/@wasmer_wasi.js?v=c5b6a40e line 665 > WebAssembly.compile:wasm-function[982]:0x79dd4
@http://localhost:5173/node_modules/.vite/deps/@wasmer_wasi.js?v=c5b6a40e line 665 > WebAssembly.compile:wasm-function[439]:0x57b3c
@http://localhost:5173/node_modules/.vite/deps/@wasmer_wasi.js?v=c5b6a40e line 665 > WebAssembly.compile:wasm-function[70]:0x2890
@http://localhost:5173/node_modules/.vite/deps/@wasmer_wasi.js?v=c5b6a40e line 665 > WebAssembly.compile:wasm-function[455]:0x64fad
__wasi_poll_oneoff@http://localhost:5173/test.wasm:wasm-function[4813]:0x126747
poll@http://localhost:5173/test.wasm:wasm-function[4788]:0x1259cb
fdReady@http://localhost:5173/test.wasm:wasm-function[1427]:0x58d35
base_GHCziIOziFD_zdwwriteRawBufferPtr_entry@http://localhost:5173/test.wasm:wasm-function[1488]:0x5aed5
StgRun@http://localhost:5173/test.wasm:wasm-function[4203]:0xe3aa9
scheduleWaitThread@http://localhost:5173/test.wasm:wasm-function[4160]:0xe032e
rts_evalLazyIO@http://localhost:5173/test.wasm:wasm-function[4017]:0xd56de
hs_main@http://localhost:5173/test.wasm:wasm-function[4020]:0xd5876
main@http://localhost:5173/test.wasm:wasm-function[28]:0x6f24
__main_void@http://localhost:5173/test.wasm:wasm-function[4817]:0x12682b
_start@http://localhost:5173/test.wasm:wasm-function[21]:0x6a75
_start.command_export@http://localhost:5173/test.wasm:wasm-function[4947]:0x132514
x/B2.wbg.__wbg_apply_0b1f3c47d1bbe0ea/<@http://localhost:5173/node_modules/.vite/deps/@wasmer_wasi.js?v=c5b6a40e:624:24
U@http://localhost:5173/node_modules/.vite/deps/@wasmer_wasi.js?v=c5b6a40e:196:15
x/B2.wbg.__wbg_apply_0b1f3c47d1bbe0ea@http://localhost:5173/node_modules/.vite/deps/@wasmer_wasi.js?v=c5b6a40e:623:12
@http://localhost:5173/node_modules/.vite/deps/@wasmer_wasi.js?v=c5b6a40e line 665 > WebAssembly.compile:wasm-function[106]:0x2d182
start@http://localhost:5173/node_modules/.vite/deps/@wasmer_wasi.js?v=c5b6a40e:385:14
@http://localhost:5173/main.js:23:21
)
    __wbg_new_342a24ca698edd87 Library.esm.min.js:25
    start Library.esm.min.js:25
     main.js:23
<EMAIL_ADDRESS>    __wbg_new_342a24ca698edd87 Library.esm.min.js:25
     @wasmer_wasi.js:185970
    start Library.esm.min.js:25
     main.js:23
    AsyncFunctionNext self-hosted:668

FWIW, there is no facility (that I am aware of) in WASM to "yield", that is unwind the stack and hand control over to the main thread with the ability to resume from the same point later. So coroutine-like operations in C programs that were not designed to be async is not really possible, you will have to write your C code to facilitate this.
Two options come to mind:

Write your async event loop in JS and issue calls to C that will not have to block. If you need a timeout, it would mean that you will have to setTimeout in JS.
Run the WASM in a Web Worker and use SharedArrayBuffer + Atomics to communicate between the worker and the main thread, like I did in https://github.com/corwin-of-amber/wasi-kernel/blob/master/src/kernel/streams.ts. This will allow you to implement a polyfill where the worker is "blocked" but the UI is still operational. Again you will need to setTimeout from the main thread but at least the worker will resume from where it was.

The new @wasmer/sdk package now runs WebAssembly code in a Web Worker in the background, which means it won't block the browser's event loop. Spawning a WASIX program, communicating with it, and waiting for it to exit are now all asynchronous operations.
I don't know the exact commit to the wasmer-wasix crate which fixed it, but syscalls like poll_oneoff are now backed by Rust futures and will go to sleep (Atomic.wait() in the browser) until it is ready. Executing WebAssembly code will still block, but at least it won't do a busy wait and peg your CPU to 100%.
We also allow WASIX binaries to do networking and use epoll(), it's just that the networking layer hasn't been wired up to @wasmer/sdk yet, so users can't access it.


VS Support more languages than listed.

VS supports more languages in addition those already listed.  They are:
Russian - 1049
Turkish - 1055
Portuguese (Brazil) - 1046
Polish - 1045
Czech - 1029
Source : https://www.microsoft.com/en-us/download/details.aspx?id=48157

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

ID: 3a0c8040-b34d-4930-c5f2-7a3d74d01b27
Version Independent ID: b90c390e-87e5-b668-600b-65bcd8e7949e
Content: -LCID (devenv.exe) - Visual Studio
Content Source: docs/ide/reference/lcid-devenv-exe.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@TerryGLee -- please review the above-mentioned PR 6153.


[Discuss] Operating System compatibility of tools and actions

The next step in cross-platform (Windows and Linux) support is to find a way to handle code and actions that can not work on a specific platform in a better way than crashing 💣
For the test suite, we for now solved this by disabling the tests with tags. The tests are not run ("pending test") and the test suite as a whole can pass. But this of course only works for tests - there is no similar mechanism that can warn a user when they use an action in their Fastfile - yet.

My current idea is to add a list of "operating system compatibility" to each action:

known good,
known bad
or unknown.

By default (and if this "compatibility mapping" is missing) all actions are assumed to be "known good" for macOS (they were developed on and for macOS after all) and "unknown" for all other operating systems.
After manual testing and confirmation, this can manually (Pull Request to the action source code) be changed to "known good" or "known bad" in the code.
Before an action is run, a global "before" method that is run for all tools/actions can check this mapping and output a warning in the console or even block the execution of the tool/action with an error message.

This concept is quite similar to how the platform support (on which an action can be used in the Fastfile) is defined:
def self.is_supported?(platform)
  [:ios, :mac].include?(platform)
end

This is used to generate the list of supported platforms in the docs:
https://github.com/fastlane/fastlane/blob/8a2e328892c34ff5d1d450a759a480cb325c5008/fastlane/lib/assets/ActionDetails.md.erb#L22
But also to output an error if the platform is not listed:
https://github.com/fastlane/fastlane/blob/8a2e328892c34ff5d1d450a759a480cb325c5008/fastlane/lib/fastlane/runner.rb#L294-L304

The definition of compatibility could look like this (pseudocode):
is_compatible(operating_system)
  compatibility = {
    "macos": true,
    "linux": false,
    "windows": null
  }
  return compatibility[operating_system]
end

This method, then, could be used in similar ways than is_supported: generate documentation on operating system compatibility of tools/actions and error/warning generation at runtime.
(I think it might also be possible to switch the "pending tests" from a static tag written in the test file to also use this compatibility mapping on runtime to decide if a test should be run on the platform or not.)

What do you think?

PS: An additional useful feature could be to be able to define a "message" regarding a "false" value:

This action uses Xcode which is not available for this operating system.

The pending tests already do something like that, so it would be neat to keep that. The compatibility definition would have to be different then, of course.

Sounds great to me, nice write-up 👍

As someone who is new to Fastlane, can I take this as a clue that Fastlane is targeted mostly towards developers working locally in MacOS?  In other words, not much of Fastlane will work on a cloud (Linux) Jenkins?

Yes and no. Yes, Fastlane is/was focused on macOS. No, not locally but also on cloud servers (e.g. CircleCI). But you should get pretty far with Linux as well (at least as long as you don't require any macOS specific tooling in your actions like Xcode etc.) We are currently working on improving and most importantly documenting that support: https://github.com/fastlane/fastlane/issues/11687

After not actively thinking about this for half a year but testing fastlane on Windows and Ubuntu, I think it might make more sense to simplify this to only add a "setting" to the actions that definitely do not work on a platform. No default_compatibility and just an optional is_incompatible list of platforms where an action definitely does not work (yet).
First implementation of this in https://github.com/fastlane/fastlane/pull/13703

Ok, https://github.com/fastlane/fastlane/pull/13703 - is_incompatible is now somehow fleshed out and actually working.

An issue to keep in mind is compatibility between different versions of the same item of software. Software is regularly upgraded, many on average every 2-3 years. Between major upgrades, minor upgrades or 'service packs' can be released, mainly intended to correct problems or bugs. It is important to manage this process, known as 'version control', to ensure that all users are equipped with the same version of the software. If different users have different versions, compatibility problems can arise, even within the same software.


Add a legend and vary color by copy number

Increase the darkness of the shade with increasing copy number
Fix resetting of color between increased copy number and inverted cells.
Add a color array to mobx store

Used this for the shades of #6a6a6a from https://www.color-hex.com/color/6a6a6a

That's a seriously cool gif.  Feedback: The legend needs a second row which is the red color for inversion under increasing copy numbers.  We had talked about combining copy and inversion coloring rules.  This makes it more explicit: two color palettes, one neutral gray for + strand and one red tinted for - strand.
This is great progress!  Keep up the good work.
P.S. How did you make that smooth gif?

What do you think about the legend blocking the matrix?

The legend needs a second row which is the red color for inversion under increasing copy numbers. We had talked about combining copy and inversion coloring rules.

What's the color would be best for cells which have increased copy number and  are inverted? Also do you mean a second coloumn?
What do you think about this?

or

For the gif:
There are probably easier ways to do it though like firefox add ons but I couldn't find one fast enough so I used quicktime to record the screen into a video (.mov) file then converted it to a gif using ffmpeg.
I got the instructions for generating the gif here superuser: How can I get ffmpeg to convert a .mov to a .gif?.

I skipped the convert because it was small
I set resolution 1366x768 to have a visible gif

Something like this?

Hi Njagi, This is a terrific improvement.  I like the two spectrums, especially the one going to black because it preserves a consistent meaning for darkening color = higher copy number.  I think the legend could be compacted much more, so that the color boxes take up the majority of the space.  Perhaps vertical text would help?  I also find color matching Text in a legend makes things clear.  You could make the actual text of "Inverted" red and allow it to overlap with the other column space.  The color connects these ideas in our mind.  You could also put "Inverted" at the bottom or along the side to indicate it's not competing, but complementing the idea of "Copy Number".


bumped codex to v0.4.0 for cipher upgrades

Codecov Report

Merging #65 into master will increase coverage by 0.41%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
+ Coverage   40.63%   41.05%   +0.41%
==========================================
  Files           8        8
  Lines         379      380       +1
==========================================
+ Hits          154      156       +2
+ Misses        217      216       -1
  Partials        8        8

Impacted Files
Coverage Δ

main.go
6.75% <0%> (+0.04%)
:arrow_up:

requestParser.go
79.51% <100%> (+0.5%)
:arrow_up:

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 e9357cd...d1e3360. Read the comment docs.


Image not found error

An image not found error appears in the console while viewing the site:

GET https://pycon-staging.global.ssl.fastly.net/2016/site_media/static/img/pycon-2016.png 404 (Not Found)

@hatlas can you use the official URL, https://staging-pycon.python.org/2016/, and verify this doesn't occur there?  That fastly.net URL was just temporary, I think (hope).

Verified that this issue isn't present on official URL. therefore closing.


Query for subjects based on filenames

I need to get a subject's ID given only the filename of its image (The ability to search by any metadata would be a huge bonus, since I think the only standard way we store this is actually on the Media resource).
Maybe something like /subjects?metadata[filename]=foo.jpg would be cool?
The goal here is to be able to generate gold standard classifications JSON given a CSV that only has filenames to identify the subjects.

Cc: @mrniaboc

We figured something else out.


Allow conversion from date strings to "unix" timestamp.

Description:
Allow conversion from date strings to "unix" timestamp.
"unix" timestamp is number of seconds since Jan 1, 1970 UTC.
This allows scripts that use templates to generate time
deltas in seconds if desired from state attributes such
as last_updated.
Some examples:
timestamp now is
{{ as_timestamp(now) }}
timstamp of last change is
{{ as_timestamp(states.binary_sensor.garage_door.last_changed) }}
seconds since last change is
{{ as_timestamp(now) - as_timestamp(states.binary_sensor.garage_door.last_changed) }}
Related issue (if applicable): #
None
Example entry for configuration.yaml (if applicable):
None
Checklist:
If code communicates with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Looks good! :dolphin:


gen-csv should find out the latest CSV version

Feature Request
Is your feature request related to a problem? Please describe.
Assume this tree:
$ tree deploy/
deploy/
└── olm-catalog
    └── knative-eventing-operator
        ├── 0.9.0
        │   ├── 300-eventing-v1alpha1-knativeeventing-crd.yaml
        │   └── knative-eventing-operator.v0.9.0.clusterserviceversion.yaml
        ├── 0.10.0
        │   ├── eventing_v1alpha1_knativeeventing_crd.yaml
        │   └── knative-eventing-operator.v0.10.0.clusterserviceversion.yaml
        └── knative-eventing-operator.package.yaml

and assume I want to generate the CSV for version 0.11.0.
Currently I have to do this:
operator-sdk olm-catalog gen-csv            \
  --from-version  0.10.0                    \
  --csv-version   0.11.0                    \
  [...]

I have to find out the from-version myself and feed it to operator-sdk olm-catalog gen-csv, which is not easy (details at the bottom).
Describe the solution you'd like
I would like to have a call like this:
operator-sdk olm-catalog gen-csv            \
  --from-latest-version                     \
  --csv-version   0.11.0                    \
  [...]

and operator-sdk should figure out the --from-version for me.
--from-latest-version (just made it up) is the important thing here! I suggest creating a flag like that.
Outcome would be:
$ tree deploy/
deploy/
└── olm-catalog
    └── knative-eventing-operator
        ├── 0.9.0
        │   ├── 300-eventing-v1alpha1-knativeeventing-crd.yaml
        │   └── knative-eventing-operator.v0.9.0.clusterserviceversion.yaml
        ├── 0.10.0
        │   ├── eventing_v1alpha1_knativeeventing_crd.yaml
        │   └── knative-eventing-operator.v0.10.0.clusterserviceversion.yaml
        ├── 0.11.0
        │   ├── eventing_v1alpha1_knativeeventing_crd.yaml
        │   └── knative-eventing-operator.v0.11.0.clusterserviceversion.yaml
        └── knative-eventing-operator.package.yaml

Additional info
In our project, we want to call gen-csv subcommand with a Bash script.
However, finding out the previous version and passing it as --from-version is hard with Bash. That is because of semver complexities. For example, 0.10.0 is a greater version than 0.9.0, but not when you simply sort nested directory names. So, alphabetic sorting won't work.
However, if the CLI would do that for me, that would be great! CLI could simply use https://github.com/coreos/go-semver.

cc @camilamacedo86

I am not sure if I follow up properly the feature request here.
Would you like to run operator-sdk olm-catalog gen-csv  and then it automatically set the from and the new version following up semver? Am I right?

I think finding out the new version is kind of easy with Bash scripts (we have a version.go file which can be read by the script).

The version.go is not necessarily the same version of CSV. Note that the tags of CSV not necessarily will be or follow up the project tags as well.

I am more interested in that cli sets from version automatically.
On Tue, Nov 26, 2019, 3:28 PM Camila Macedo<EMAIL_ADDRESS>wrote:

I am not sure if I follow up properly the feature request here.
Would you like to run operator-sdk olm-catalog gen-csv and then it
automatically set the from and the new version following up semver? Am I
right?
I think finding out the new version is kind of easy with Bash scripts (we
have a version.go file which can be read by the script).
The version.go is not necessarily the same version of CSV. Note that the
tags of CSV not necessarily will be or follow up the project tags as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/operator-framework/operator-sdk/issues/2267?email_source=notifications&email_token=AAC37HHCIA75FQKUNZDUKYDQVUI5NA5CNFSM4JRP2OE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFF2U6Q#issuecomment-558606970,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC37HE3HEOTLYCPK6XLORTQVUI5NANCNFSM4JRP2OEQ
.

It still not clear for me. Could you please exemplify as for example?

For the example in the first comment of this issue; I'd like to run the command x
Then, I would expect the result X.

Ok, will do that when I get home
On Tue, Nov 26, 2019, 3:35 PM Camila Macedo<EMAIL_ADDRESS>wrote:

It still not clear for me. Could you please exemplify as for example?

For the example in the first comment of this issue; I'd like to run
the command x
Then, I would expect the result X.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/operator-framework/operator-sdk/issues/2267?email_source=notifications&email_token=AAC37HF4A6JT3XERENG4SD3QVUJ2TA5CNFSM4JRP2OE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFF3HTI#issuecomment-558609357,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC37HGQFZBIP2EDYCP5ZE3QVUJ2TANCNFSM4JRP2OEQ
.

@camilamacedo86 Updated the issue description. Let me know if you need further clarification.

Hi @aliok,
Yes, it is clear enough now. Really thank you for the clarifications.
It need to be discussed with the team, so I will label it. Also, feel free to collab with a PR if you think that you could easily provide the solution as well.

Also, feel free to collab with a PR if you think that you could easily provide the solution as well.

I was planning to give it a try already :)

Hi @joelanford, @hasbro17 and @estroz,
WDYT? It shows reasonable for me but low priority. It would be adding new flag as for example --from-latest-version to the operator-sdk olm-catalog gen-csv  command which would automatically identify the latest tag used for the CSV.

@aliok you can sort by semantic version with GNU sort:
$ echo -e "0.1.0\n0.2.0\n3.0.0\n0.0.5\n0.0.12" | sort -V
0.0.5
0.0.12
0.1.0
0.2.0
3.0.0

You can do something like:
$ find deploy/olm-catalog/operator-name/* -maxdepth 1 -type d -exec basename {} \; | sort -V | tail -1

to get the latest version. Does that solve your issue?

hi @estroz
thanks, it does actually.
I would still prefer the hypothetical --from-latest-version though :)
Let me know what you guys think and I can send a PR for that.

@aliok sounds good. I'll let a few others comment on this, and if we find its a feature we want in operator-sdk then you can spend time on the PR.
One goal of the SDK is to have a low-complexity CLI, so we strive to keep the number of flags to a minimum, especially when there are 1-2 line bash wrappers that give you the same functionality of 10+ lines of Go code. This is the main reason why I hesitate to ok this right now, not that it isn't a useful feature.

Hi @aliok,
After @estroz solution in https://github.com/operator-framework/operator-sdk/issues/2267#issuecomment-558833237 it shows that could be easily solved by adding it as Makefile target.
In this way, it is the same scenario of https://github.com/operator-framework/operator-sdk/pull/1600#issuecomment-506730405 and then I am afraid that we should NOT move forward with.  As an example of a similar scenario see https://github.com/operator-framework/operator-sdk/issues/1964#issuecomment-542335647.
So, could we agree in close this one since this need can be easily solved by creating a target in the Makefile with the above solution?


check for group in IsNodeMetadata

What does this PR do?

This PR checks for the resource group in IsNodeMetadata to avoid returning true for nodes that are not in the empty kubernetes group.
Motivation

Some resources might have the name nodes, but they belong to another (custom) API Group (i.e. not the empty group in kubernetes). IsNodeMetadata should return false in these cases.
Additional Notes

Currently there is an issue in the resource-group-version mapping for generic metadata collection, which, in some cases, leads to watching metrics.k8s.io/v1beta1, Resource=nodes instead of /v1, Resource=nodes.
This will be fixed in a separate PR.
This fix done in this PR is useful to avoid using the metadata collected for metrics.k8s.io/v1beta1, Resource=nodes as if they were native node metadata, resulting in incorrect data.
Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

No need for qa, we have automated testing.

/merge


[Network] Server rewind

This is more of a question and possibly feature request:
In FPS type games it's common that the Server goes back in time (for a maximum of N ticks) to check if someone's bullet hit another player (if a client says he hit someone but the server did not see it on his tick, due to network delay).
Most FPS games favor the shooter (which means you can run around the corner and get hit like a second afterwards because the player shooting you had a latency of ~500ms), while others favor the one running away.
Is it currently possible to implement something like this with this library?
I know that Godot does not allow rewinding a scene and doing so would cause a lot of other problems (all clients would rewind their states too during that tick)
However it'd be already "good enough" to get history data for that action:

Where did the shooter aim at ? (at the tick we acknowledged the shot)
Where was the player that got shot? (at the (tick + travel time of the bullet))

If i was able to know this i could reconstruct an invisible bullet + hitbox of the player and use smth like raycasting to check it.
Edit: Assuming i have Aim and position of all players stored in previous state snapshots(!)

Well, this is rather difficult to be (properly) done purely from GDScript. I'm not sure if GNative would be any better. My original intention was to perform the entire correction and re-simulation automatically, but that required to indeed "warp back in time", which is not exactly easily done, much less in a generic way.
What I can do, however, is provide means to retrieve a specific snapshot, get data from it then the server code could act on that information.


docs(readme): update branch description

Description:
Since I got confused and did mistake while cherrypicking.. :p
Related issue (if exists):

Coverage remained the same at 97.079% when pulling feb0fb2e2bc2b4c2582cbbf152bff39f0eb598a2 on kwonoj:bump-docs into 36fded0652a13ab688036ac847b3d090af2b4966 on ReactiveX:master.


Change supported extension type to reflect the latest change in the Pageduty webhook.

https://chat.zulip.org/#narrow/stream/9-issues/topic/doc/near/1197978
Fixing the documentation of the Pageduty webhook integration.

As they will be deprecating V1 and V2, perhaps we can think of adding support for V3

I think it's well worth adding support for the V3 format while we're paying attention to this, especially if it's not complicated to support V2 and V3.  @adambirds FYI.


Bump julia version and add JuliaFormatter

Closes: #46, #47

Locally works ok to me:

Will explore to set again the Documenter CI keys for CD

@mforets Any idea for this? Otherwise I would merge and address the docs pages deployment as a follow-up

sounds good, thanks for adding the formatter.


Clean up API documentation

Includes:

Many small changes to grammar and formatting
Added format field where applicable (e.g., format: "MMDD")
Added missing 400 and 404 error responses to a few endpoints

Codecov Report

Merging #938 (38dafb5) into master (d2fc452) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #938   +/-   ##
=======================================
  Coverage   91.30%   91.30%
=======================================
  Files          66       66
  Lines        5246     5246
=======================================
  Hits         4790     4790
  Misses        283      283
  Partials      173      173


FileUploadInput: "accept" property should be trim of space

Info
For the accept property, if there is a white space in front of the MINE Type, it will give invalid type error message.
Example:

accept="application/pdf, image/png" will give error message when you upload a png file (there is a white space in front of it)
accept="application/pdf,image/png" will allow upload of png file

Acceptance Criteria

Whitespace should not affect if a mimetype can be used in the accept property

@lizhuomeng71 Re-review this and verify if it's still an issue

Hi Team, it's still an issue for MINE type. like , image/png. but not for extension.

This has been reviewed, and still determined to be an issue, the story has been updated to reflect the exact issue

@lizhuomeng71 Can you re-review that this is still an issue?


Update CONTRIBUTING.md

Fixing broken link and some grammar issues.

Codecov Report

Merging #47 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #47   +/-   ##
=======================================
  Coverage   54.51%   54.51%
=======================================
  Files          23       23
  Lines         343      343
  Branches       55       55
=======================================
  Hits          187      187
  Misses        154      154
  Partials        2        2

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 66a60da...09a298f. Read the comment docs.

Thanks!


Fix rating not being parsed

Hey Evan,
first of all: Thanks for this nice project!
While playing around with it for my use case, I discovered that the Rating (at least in XMP files) is not parsed correctly.
It will always stay 0, due to the source var in XMP being a uint8, so the wrong parsing function is used.
I've changed the call and can verify that the updated parsing yields the correct results for XMP files generated by Lightroom CC.
Side note: I tried to get the tests that read 1.xmp and its JSON to fail, but was unable to. That might be on my end, so I'd be interested in how the file-based tests work.
If you'd like, I can also provide the XMP to you, just let me know 😄

@evanoberholster Happy New Year! Do you happen to have some minutes to take a look at this PR?

@mholt thanks for approving, but it looks like I cannot merge the PR on my own. Would you mind doing the honors? Thanks :heart:

I don't have commit privileges, I just wanted to support your change as I think this project is really useful.


Internally inconsistent warning without any further detail about error

Hi,
I use Rswift and after a project merge have been getting this warning:
warning: [R.swift] project.pbxproj is internally inconsistent.

Perhaps a merge conflict?

Obviously the detail of the inconsistency is missing, so very hard to fix. Would anyone know under what circumstances no info on error is generated?
From reading the code it looks like either deadRefs or orphanObjs must not be empty, but I can't see a code path that would generate an empty error detail.
thanks,
Daniel

That's weird, and shouldn't happen. It sounds like a bug in XcodeEdit.
I think there are either dead references or orphan objects, but for some reason they're not reported.
For debugging this issue, it would be really useful to have the project file. Would it be possible for you to send the project.pbxproj file? My email address is<EMAIL_ADDRESS>

Hi @tomlokhorst,
thanks for getting back so quick.
I'll try to email the project file later today.
Cheers,
Daniel

Closed due to inactivity


add more redis tags

This adds key information to the most commonly used redis commands.

@yurishkuro what do you think?

LGTM, but would like to have a unit test to exercise OT API.

I'll update this to include a test.

I removed the install fixtures thing from conftest.py and changed it to use a real fixture.


Inconsistent Querying Results of 'cpu' and 'cuda' in N3Tree

K = 16
tree = svox.N3Tree(data_dim=4,
                   radius=K,
                   center=[K, K, K],
                   data_format='RGBA',
                   device='cpu') # or with 'cuda'
print(tree[20,20,20].corners)

In 'cpu' mode it outputs [16., 16., 16.] as expected, however in 'cuda' mode, it outputs [16., 0., 0.]

OK I find the problem. I parse K with a numpy int which is not supported.


Firewall default open-out.rules addition

When using SIP VoIP [Linphone] the firewall requires opening ports.
However, firewall deny trapping shows that fragmented ip-proto-17 datagrams are not handled and must be reassembled.

I suggest you consider modifying the default /etc/ipfw-profiles/open-out.rules to include
$cmd reass all from any to any in
As I'm not confident Trident Firewall IPv6 can handle reass you might use
$cmd reass ip4 from any to any in
In addition to the current Firewall Manager services pick list, for SIP you might consider adding the supplementary default Linphone ports too:
9078/udp Linphone Video
7078/udp Linphone Audio

To Reproduce
Install Linphone and log firewall deny events with ports open:
9078/udp
7078/udp
5061/udp		sip-tld	#SIP over TLS
5061/tcp		sip-tld	#SIP over TLS
5060/udp		sip		#Session Initilisation Protocol (VoIP)
5060/tcp		sip		#Session Initilisation Protocol (VoIP)
You should see fragmented datagrams of ip-proto-17, and use of the Linphone default ports.
Modify open-out.rules to include reass and the issue should clear.
More detail on installing Linphone SIP VoIP is on our community forum where I raised a report.
[https://discourse.trueos.org/t/sip-voip-settings/3772]
Expected behavior
Firewall would not block SIP if defined ports are open.
OS Version:
Fresh install of U8 to blank disc.
FreeBSD trident-4783 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC-NODEBUG  amd64
Thanks,
Steve

No longer a valid issue. Moving to void linux in 2010


Menu backgrounds are red (#ff0000)

vscode 1.64.2
Ultimate Dark Neo package updated on 2022-02-04 (version specification gives v0.0 - I supposes it's not set correctly in manifest)
I suppose it comes from those following lines in color-theme.json
    "menu.background": "#ff0000",
    "menu.selectionBackground": "#ff0000",

It hurts my eyes :)
Great theme however, I like it with Victor Mono, thank you.

Sorry about this. Using macOS, this didn't catch my attention until now. Thanks for letting me know! :)

Thank you for the fix! Le 25 févr. 2022 07:43, rubjo @.***> a écrit :
Sorry about this. Using macOS, this didn't catch my attention until now. Thanks for letting me know! :)
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>


Pop functionality of box is missing

Due to conflict with Stacks naming "pop" could not be used, so popFromStart() and popFromEnd() method names were used.


A gradual tooling migration to package:vm_service

Currently the flutter_tool is still using the homemade vmservice.dart library for most interactions. While this library is working well enough to stay functional for some time, it has some problems:

it doesn't have good test coverage besides unrelated integration testing.
It isn't developed alongside the VM service APIs.
Some additional API design issues that play into the above, which makes meaningful unit tests difficult to write with this library.

Thus there is some long-term risk of breakages caused by it falling out of sync with the implementation, and some additional risk imposed because changes to untested code are risky.
To mitigate this risk, the tooling should migrate to the official package:vm_service which is maintained by the dart team. To reduce the risk of the migration, we must do so gradually. We can take advantage of some oft ignored features in Dart:
Bootstrap
FlutterVmService will implement VmService and a noSuchMethodForwarder. Any members that conflict are renamed on the FlutterVmService. On connection FlutterVmService will also create a VmService instance which is stored as a private member.
Update Process
In as small of a scope as reasonably possible, we'll move the old API usage to the new API. Some of these changes might still be quite large, as the interfaces are quite different. For example, migrating the stream API:
before:
  Future<Stream<ServiceEvent>> get onDebugEvent => onEvent('Debug');
  Future<Stream<ServiceEvent>> get onExtensionEvent => onEvent('Extension');
  Future<Stream<ServiceEvent>> get onIsolateEvent => onEvent('Isolate');
  Future<Stream<ServiceEvent>> get onTimelineEvent => onEvent('Timeline');
  Future<Stream<ServiceEvent>> get onStdoutEvent => onEvent('Stdout');

  Future<Stream<ServiceEvent>> onEvent(String streamId) async {
    await _streamListen(streamId);
    return _getEventController(streamId).stream;
  }

after:
  @override
  Stream<vm_service.Event> get onDebugEvent => onEvent('Debug');

  @override
  Stream<vm_service.Event> get onExtensionEvent => onEvent('Extension');

  @override
  Stream<vm_service.Event> get onIsolateEvent => onEvent('Isolate');

  @override
  Stream<vm_service.Event> get onTimelineEvent => onEvent('Timeline');

  @override
  Stream<vm_service.Event> get onStdoutEvent => onEvent('Stdout'); // WriteEvent

  @override
  Stream<vm_service.Event> onEvent(String streamId) {
    return _delegateService.onEvent(streamId);
  }

updated code
@@ -507,13 +507,10 @@ class IOSDeviceLogReader extends DeviceLogReader {
     if (device.majorSdkVersion < _minimumUniversalLoggingSdkVersion) {
       return;
     }
-    // The VM service will not publish logging events unless the debug stream is being listened to.
-    // onDebugEvent listens to this stream as a side effect.
-    unawaited(connectedVmService.onDebugEvent);
-    _loggingSubscriptions.add((await connectedVmService.onStdoutEvent).listen((ServiceEvent event) {
-      final String logMessage = event.message;
-      if (logMessage.isNotEmpty) {
-        _linesController.add(logMessage);
+    _loggingSubscriptions.add(connectedVmService.onStdoutEvent.listen((vm_service.Event event) {
+      final String message = utf8.decode(base64.decode(event.bytes)).trim();
+      if (message.isNotEmpty) {
+        _linesController.add(message);
       }
     }));

Exit condition
Once all interactions are done through implemented VmService apis, the delegate service implementation can be returned in-place of the old FlutterVmService API.
Supersedes https://github.com/flutter/flutter/issues/31688
This does not address flutter_driver, which will likely need to be a large client migration. The process there will be necessarily different.

If VMService 3+ is available for us now, we could also update the tracing tests to use that instead of the home spun version in that test.

The first part has landed. The next step is to gradually shrink the existing implementation by increasing the amount of delegation to the package:vm_service classes.


Keywords in infobox repeat commas

As I input keywords in the front matter of an entry, I separate them with commas. however, the commas appear double in the infobox. Maybe I don't know how to separate them in the infobox

Hello Gabriela!
It looks like this is the desired way tags from github pages works. The line of code is right here:
<i class="octicon octicon-tag"></i> {{ page.tags | array_to_sentence_string }}
The array_to_sentence_string thing works exactly like described here: Join an array of things into a string by separating with commas and the word “and” for the last one.
You should try using the tags on your page separated by spaces, like this: tags: database open-source

Hey @valterlima! thanks for the response! But I have a question, what if I want to use a tag with two words, such as "environmental monitoring"... having a dash between them doesn't make sense.

I'm not sure as I'm unable to test it right now, but I think you can use like this:
tags: ['The is a tag', 'This is another tag']

Right, this works too:
tags:
  - database
  - open source
  - some other tag


Discuss codifying elli_middleware behaviour

Elli middlewares export any of init/2, preprocess/2 and postprocess/3, and many elli_handler modules are also elli_middleware modules. Right now it's sort of casual. The elli_middleware module checks whether these functions are exported and acts accordingly. I think it'd be cool to spec out a proper behaviour so we can validate code at compile time and such.

Perhaps the functions above should be optional callback a in elli_handler instead.

When erlang started in interactive mode and Elli is just another dependency (i.e. elli_prometheus tests), you can't just set {callback, elli_middleware} because it won't pass valid_callback since module isn't loaded yet. So either we should force module loading before/in valid_callback or  don't call it at all.
This of course applies to 3d part middlewares too.

Which module isn't loaded, elli_middleware or e.g. elli_prometheus?

elli_middleware! Basically in interactive mode erlang won't load module until it called or its metadata asked.

https://github.com/elli-lib/elli_prometheus/pull/11/files#diff-ccb26da865ea3c50c86dd4ae91942d2fR22

I made the change from parsing Mod:module_info/1 to erlang:function_exported/3. Should we revert back?

yeah!

Done.

Awesome, thanks!


Footer section

Want to add a custom footer section that show cases the social links

Hey @Rahul-Palamarthi can I work on this issue?

@AyushDhimanIITR assigned to you

@AyushDhimanIITR I will be working on it


Fix pod not exiting when a task fails

retest this please

retest this

retest this please

restart this please

restart this please

retest this please

retest this please


Implement AWS_BYTE_CUR_INIT_FROM_LITERAL

This is mostly for unit testing stuff.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hang on this isn't as useful as I thought it would be

Changed my mind, rather than defining a static, it's more useful to have an init macro.


step by step prompting and colons in prompts

there appears to be, at least in ChatGPT-3.5 a meta-cognitive 'think step-by-step' approach in every response.
I couldn't get def split_into_steps to output the correct answer with anything but the prompt in its current form.

Thank you for contributing! Could you run pre-commit to fix the formatting?

so, I fundamentally changed the 'think step-by-step' example.  it was way harder than I imagined it would be.  it took me hours of trying prompts.  My guess is that the ":"'s are encouraging the model to infer meaning outside the scope of the problem. so, I used ": :" as an identifier and the model immediately got the answer right.

Well done! 👏


Missing symbols for many Project Reunion binaries.

Describe the bug
Visual Studio is unable to find symbols for the following Project Reunion binaries on the Microsoft Symbol Server:

dcompi.dll (x86/x64) Available as of 30/05/2021
Microsoft.InputStateManager.dll (x86/x64) Available as of 30/05/2021
Microsoft.UI.Input.dll (x86/x64) Available as of 30/05/2021
Microsoft.DirectManipulation.dll (x86/x64) Available as of 30/05/2021
Microsoft.UI.Windowing.dll (x86/x64)
Microsoft.UI.Windowing.Core.dll (x86/x64)

Steps to reproduce the bug

Throw an exception or hit a breakpoint basically anywhere within a WinUI 3 project with native code debugging enabled, the default myButton_Click handler works fine.
Open the Modules viewer in Visual Studio (Debug -> Windows -> Modules)
Note the Project Reunion binaries marked Cannot find or open the PDB file.

Expected behavior
Visual Studio and other tools are able to load symbols for all Project Reunion binaries.
Screenshots

Version Info
NuGet package version:
Microsoft.ProjectReunion 0.8.0-preview
Microsoft.ProjectReunion.Foundation 0.8.0-preview
Microsoft.ProjectReunion.InteractiveExperiences 0.8.0-preview
Microsoft.ProjectReunion.WinUI 0.8.0-preview

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

21H1 (19043)
Yes

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

Additional context
I'm honestly not sure if we're meant to be able to access Microsoft.UI.Windowing however the Microsoft.ProjectReunion.InteractiveExperiences package does exist and is consumable.

It appears some additional symbols are now available on the Microsoft Symbol Server, however some still aren't. I've updated the primary issue to reflect this.

Also missing (0.8-preview):

DWriteCore.dll
Microsoft.Web.WebView2.Core.dll

Any updates? Really don't want this issue to bleed into 1.0 release!

@DefaultRyan is looking into this

I tried the latest 0.8.7 build, and I don't see Microsoft.UI.Windowing.Core.dll included there, but I am now successfully loading symbols from WebView2. There are missing symbols for the old 0.8.x version of DWriteCore, but I don't realistically see that binary getting serviced any time soon.
If there are any other remaining symbol issues, or new ones that have cropped up, please let us know.


Make errorCode accessible in exceptions

com\checkout\helpers\ApiHttpClient is throwing generic PHP exceptions.
Please throw a custom exception class instance instead so that I can access the errorCode and eventId in my exception handler.

You can get error messages using the following codes:
if ($Api->getExceptionState()->hasError())
{
$Api->getExceptionState()->getErrorMessage();
}

Error messages are for humans and might change. I need the error codes.

@fsalomon this has been added in https://github.com/CKOTech/checkout-php-library/pull/38#event-613497640
When catching exceptions you can now use the below:
catch (com\checkout\helpers\ApiHttpClientCustomException $e) {
echo 'Caught exception Message: ',  $e->getErrorMessage();
echo 'Caught exception Error Code: ',  $e->getErrorCode();
echo 'Caught exception Event id: ',  $e->getEventId();
}


Changed the lastPage calculation ceiling to flooring

When calculating the lastPage (or total pages) in the constructor the ceiling method returns 10 pages for 91/10 which should be 9 pages with one result on the 9th page. I changed the ceiling to flooring, which I assume would be the correct behavior.

But then where would the 91st records be displayed?

Page
Rows

1
1-10

2
11-20

...
...

8
71-80

9
81-90

10
91-100

I just verified again. De facto the error wasn't in the ceiling @crynobone, but in the array_slice used before LengthAwarePaginator from my code. Sorry for that.


feat: implement the broadcaster

Overview

Closes https://github.com/celestiaorg/orchestrator-relayer/issues/114
Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Codecov Report

Merging #115 (684ef0f) into main (d3ccfbd) will decrease coverage by 18.82%.
The diff coverage is 75.00%.

@@             Coverage Diff             @@
##             main     #115       +/-   ##
===========================================
- Coverage   61.44%   42.62%   -18.82%
===========================================
  Files          11       14        +3
  Lines         625      929      +304
===========================================
+ Hits          384      396       +12
- Misses        194      486      +292
  Partials       47       47

Impacted Files
Coverage Δ

orchestrator/orchestrator.go
0.00% <0.00%> (ø)

orchestrator/broadcaster.go
100.00% <100.00%> (ø)

orchestrator/retrier.go
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Pandas HTML Charts, split into two if showing top and bottom 10

For top ten and Bottom Ten Split into 2 charts, One that is titled " Top Ten" and one "Bottom Ten", and are titled that way.
Right now these are done lazily by calling .to_html(max_rows=20). So make independent DFs for each top and bottom and call .to_html on them.

WIP in #40

Closed in #40 .


Add Chinese Simplified (zh-CN) Lorem and Text provider

Lorem has moved to another repo https://github.com/ganlvtech/faker-chinese-lorem .
even after reading #1011 , I still don't know how to provide a Lorem provider gracefully.
The base text was written in 1926, and the previous link was wrong by my mistake. I have fixed it. Now, it reference to a correct location.

[x] Readme changed.
[x] Text long enough.
[x] No lorem provider.
[x] Test case added.

@pimjansen What do think about adding ext-mbstring to package.json

@ganlvtech not a fan of this since it would mean a breaking change. We are not allowing it till we start with Faker 2.0 later this year.
So for 1.x we cant

Any update？


Build error with RN 0.71

What happened?
I created a fresh 0.71 project, then do an Android build and get the following error:
detox build --configuration android.emu.debug:
> Task :app:processDebugAndroidTestManifest FAILED
/Users/richardwillis/Projects/chevin/MyProject/android/app/build/intermediates/tmp/manifest/androidTest/debug/tempFile1ProcessTestManifest14921285148522303281.xml:27:9-33:20 Error:
        android:exported needs to be explicitly specified for element <activity#androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
/Users/richardwillis/Projects/chevin/MyProject/android/app/build/intermediates/tmp/manifest/androidTest/debug/tempFile1ProcessTestManifest14921285148522303281.xml:34:9-40:20 Error:
        android:exported needs to be explicitly specified for element <activity#androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
/Users/richardwillis/Projects/chevin/MyProject/android/app/build/intermediates/tmp/manifest/androidTest/debug/tempFile1ProcessTestManifest14921285148522303281.xml:41:9-47:20 Error:
        android:exported needs to be explicitly specified for element <activity#androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

What was the expected behaviour?
No response
Was it tested on latest Detox?

[X] I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

[ ] I have followed the instructions under Identifying which synchronization mechanism causes us to wait too much.

Help us reproduce this issue!
No response
In what environment did this happen?
Detox version: 20.1.1
React Native version: 0.71.0
Has Fabric (React Native's new rendering system) enabled: (yes/no)  Yes
Node version:
Device model:
Android version:
Test-runner (select one): jest / other
Detox logs
No response
Device logs
No response
More data, please!
No response

Largely speaking, doesn't seem Detox-related :/

If I disable androidTestImplementation('com.wix:detox:+') the android build works again, so it seems detox related to me.

The README states:

Future versions are most likely supported, but have not been tested yet. Please open issues if you find specific issues with newer React Native versions.

I am thus trying to help by opening an issue. Have I done the wrong thing? Do you require any other information? Do you want me to create an example repo? I don't know why you have closed the issue with your comment, very odd.

@badsyntax Oh sorry for the misunderstanding. I didn't close the issue, I just marked it as an issue preferable for posting/discussing on SO or discord; Our bot closes the issue automatically.
Have you trying taking up on the suggestion action in the error's description? - Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

Same here. Tested in brand new app. Please reopen the ticket or provide the solution.

I had this same problem and it was because I had an error in the "build.gradle" configuration
Make sure that put this step on "allprojects" repositories instead on "buildscripts" repositories, i fix that and now all works fine.

@luisfuertes thank you, i can confirm that change has fixed it for me. in hindsight it seems like a silly mistake on my part, i guess the docs could be updated to support the new layout of build.gradle in 0.71, which is:
Working build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        buildToolsVersion = "33.0.0"
        minSdkVersion = 29
        compileSdkVersion = 32
        targetSdkVersion = 32

        // https://wix.github.io/Detox/docs/introduction/project-setup
        kotlinVersion = "1.7.20"

        // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
        ndkVersion = "23.1.7779620"
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:7.3.1")
        classpath("com.facebook.react:react-native-gradle-plugin")
        // https://wix.github.io/Detox/docs/introduction/project-setup
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
    }
}

allprojects {
    repositories {
        maven {
            // https://wix.github.io/Detox/docs/introduction/project-setup
            url("$rootDir/../node_modules/detox/Detox-android")
        }
    }
}

I had this same problem and it was because I had an error in the "build.gradle" configuration
Make sure that put this step on "allprojects" repositories instead on "buildscripts" repositories, i fix that and now all works fine.

FWIW this got me too, fixing the location of the maven detox stuff solved my issue.


Black area on Normal Maps

@Perfare, I encountered this problem with the normal map.
The problem came from the normal maps: The red channel lacks information ( in the normal map file it's pure white).
This is what it looks like on UE4:

Here is the exported normal map:

@Perfare I found the solution: greyscale the normal map. Would you consider add this as an option?

@Perfare Anyone?

Would really appreciate the greyscale option. This gets very tedius to fix when you have 1000s of files.

I found the fix for me was making a Photoshop action to move the channels around to the correct order. Still took about an hour to process them all.

If possible, please describe the procedures, so the author may use to build an algorithm :)


authorize authors to call srrcheck

Do you want me to merge and deploy this?

yes, please! :smile:


Fixes gh-1459 Thread-safe WeightCalculatorWebFilter

Cherry-picked to 2.1.x and then merged forward to master via c773e05787f38b77c3dd64ef3ae62c250d3e9cf4

So the test causes errors with java 11 :-(


Reload callback not working

Hi,
The list is not updating when I trigger reload callback function after modal close.
// Inside my view
 <div tasty-table
             bind-resource-callback="showStudents.loadAllStudentsRecords"
             bind-init="showStudents.init"
             bind-reload="reloadCallback"

// Inside my controller
...
Other implementations here
...
vm.reloadCallback = function () { alert("Called"); };

vm.delete = function (studId) {

        // Show modal
        var modalInstance = $uibModal.open({
            templateUrl: 'AppScripts/Views/Student/DeleteStudent.html',
            controller: 'DeleteStudentCtrl as deleteStudent',
            backdrop  : 'static',
            keyboard  : false,
            resolve: {
                studentId: function () {
                    return studId;
                }
            }
        });

        modalInstance.result.then(function (status) {
            if (status === 'ok')
            {
                vm.reloadCallback();
            }
        });

The alert was executed when i call the reloadCallback function but the list is not updated
By the way im using "controller as" syntax.

I also tried to remove first the modal implementation so i will stay on the same controller, but reloadCallback still not working

Is your callback firering? If I add the atrribute bind-reload="reloadCallback" to my table, the entire table will not be rendered:

i also have this issue anyone found solution on this ? please help

hi, i have the same problem....


Add Vim Support for jupyter notebook of python interactive window

The new jupyter notebook of python interactive window doesn't support VIM extension. Will Vim extension support be added in the future?
https://github.com/microsoft/vscode-python/issues/5959

I believe this is more of a consequence of how the extension built the feature, you should go through their repo first and maybe VS Code could provide APIs to help support this.


pin_memory should be true only if gpus are specified

Hey folks,
First of all, thank you for this amazing package. It has saved many hours of coding :)
I was using for the first time the pl data modules when I hit the following line
cifar10_datamodule.py#L132. The problem is: when I am training/evaluating/testing on CPU, the data module try to pin the data and try to reserve a batch size memory amount in gpu. Nothing goes wrong if I have GPU with enough memory ran, but, when I try to run in CPU mode with all my GPUs in use I get the following error:
RuntimeError: Caught RuntimeError in pin memory thread for device 0.
Original Traceback (most recent call last):
  File "/lib/python3.7/site-packages/torch/utils/data/_utils/pin_memory.py", line 31, in _pin_memory_loop
    data = pin_memory(data)
  File "/lib/python3.7/site-packages/torch/utils/data/_utils/pin_memory.py", line 55, in pin_memory
    return [pin_memory(sample) for sample in data]
  File "lib/python3.7/site-packages/torch/utils/data/_utils/pin_memory.py", line 55, in <listcomp>
    return [pin_memory(sample) for sample in data]
  File "lib/python3.7/site-packages/torch/utils/data/_utils/pin_memory.py", line 47, in pin_memory
    return data.pin_memory()
RuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-bld/pytorch_1595629427478/work/aten/src/THC/THCCachingHostAllocator.cpp:278

The fix is simple and we can borrow the code from the pl core implementation as in pytorch_lightning/accelerators/accelerator_connector.py#L90
Bests.

@igormq mind sending a PR? if not I can address this.

I think the main thing here is to just include the pin_memory flag in the datamodules. I think by default it makes sense to set it to True either way? please correct me if I'm wrong 😄

@nateraw I think even beyond the pin_memory flag, some other flags should also be included such as the shuffle and drop_last flag. What do you think? I can work on a pull request for updating the flags in the datamodules.

@briankosw sure! for the shuffle and drop_last flags, lets just make sure we use sensible defaults. 😄  Thanks!!


Trying to sign a JWT Token with RSA256

Hi there
I need to mint a JWT using RS256 to use to validate a connection to a Google Firebase database via my app.
I have a Private Key from Firebase that looks something like:
"-----BEGIN PRIVATE KEY-----\nMIIEvQIBADds4tTHG53.........................................oBDP6N8=\n-----END PRIVATE KEY-----\n"
This is supplied in a string format and there are around 1600 characters in the key.
I can create the payload with the required claims, however I am struggling with taking the payload and creating a signed token using RSA256.
From your instructions I determined that I might need to do the following:
Use RSAPKCS1Signer to generate signed token:
let payload : JSONWebToken.Payload
let privateKey : RSAKey

let signer = RSAPKCS1Signer(hashFunction: .SHA256, key: privateKey)
let jwt = try JSONWebToken(payload : payload, signer : signer)
let rawJWT : String = jwt.rawString

The two issues I have is that the privateKey won't accept the Private Key string I have, I believe it is looking for a DER certificate format.
I also cannot see how to set it to use RSA256, which is a requirement for the Firebase Database.
Can you please help shed some light on how best to approach this?
Thanks for any help you can provide.

This kind of private key should work (you can look at the tests for exemples) but the newline characters should not be escaped (no \n). How do you create the RSAKey and what is the error ?

Thanks for taking a look at this.
I removed the newline characters.
I set a variable privateKey to the string:
privateKey = "privateKey = "-----BEGIN PRIVATE KEY-----MIIEvQIBAD............etc etc......END PRIVATE KEY-----"
Then I get the error at line:
let signer = RSAPKCS1Signer(hashFunction: .SHA256, key: privateKey)
The error is "cannot convert value of type 'String' to expected argument type 'RSAKey'
The privateKey was provided by Google Firebase in the form of a text file. I have copied the private_key from this file. The file comes in the following format:
{
"type": "service_account",
"project_id": "myappname",
"private_key_id": "private_key_id goes here................",
"private_key": "-----BEGIN PRIVATE KEY-----MIIEvQIBADANBgk..........etc.etc.etc.-----END PRIVATE KEY-----",
"client_email"<EMAIL_ADDRESS>"client_id": "client_id goes here..",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-ah1mm%40myappname.iam.gserviceaccount.com"
}

The security framework do not support importing this kind of private key (only public).
One solution is to generate a p12 identity file :

copy the content of private_key in a file (private.key)
generate a self signed certificate from the private key (all fields can be left blank)
openssl req -key private.key -new -x509 -days 365 -out cert.crt
generate the identity p12 with the private key and the certificate :
openssl pkcs12 -inkey private.key -in cert.crt -export -out identity.p12
add the identity.p12 in the app bundle

Use the p12 to sign JWTs :
let p12Url =   Bundle.main.url(forResource: "identity", withExtension: ".p12")
let p12Data = try! Data(contentsOf: p12Url)
let keys = try RSAKey.keysFromPkcs12Identity(p12Data, passphrase : <p12 pass>)
let signer = RSAPKCS1Signer(hashFunction: .sha256, key: keys.private)
let jwt = try JSONWebToken(payload : <payload>, signer : signer)

One last thing : I don't know how firebase work, but if you include the private key or the p12 in the app bundle, anyone will have access to the key and it may not be something you want.


Update to Swift 4

Minimal changes in the file and project to be fully compatible with Swift 4.

Done, please check if it is fine.
I had a problem in ViewController with this latest release, I am getting here:
"Type 'GradientColors' (aka '(top: UIColor, bottom: UIColor)') has no member 'blue'" but I'm not sure what it is, and I also didn't modify it.


The plugin home page has a link to configure firebase for each of the platforms, and this link won't open!

The plugin home page has a link to configure firebase for each of the platforms, and this link won't open!
https://pub.dev/packages/firebase_ml_vision
https://codelabs.developers.google.com/codelabs/flutter-firebase/#4

I've updated the readme https://github.com/FirebaseExtended/flutterfire/commit/2913cea6657d5c64118bdcdd814ea0cf2523e1c3 to remove this link as these codelabs are no longer available


UFW Integration

Checklist

[x] I searched existing Issues, and did not find a similar enhancement request
[x] This enhancement request is about the VPN setup script, and not WireGuard VPN itself
[x] I read the README
[x] I followed instructions to configure VPN clients

Describe the enhancement request
UFW is the default firewall configuration tool for Ubuntu. As such it is widely used on many Ubuntu-based servers for firewalling. Currently wireguard-install completely bypasses UFW by adding rules through the wg-iptables service.
As per the ubuntu manpages UFW supports the forwarding and filtering functionality required by the Wireguard VPN. Some of it can be accomplished through the ufw command, while the rest has to be performed through direct modification of /etc/ufw/before.rules.
On a host with UFW installed and enabled, instead of creating the wireguard-iptables service, wireguard-install should append the post-routing rules to /etc/ufw/before.rules:
*nat
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -s <IP_ADDRESS>/24 ! -d <IP_ADDRESS>/24 -j MASQUERADE

COMMIT

and run the following commands:
ufw allow from any to any port $port proto udp
ufw route allow from <IP_ADDRESS>/24
ufw reload

I think that the last rule in wireguard-iptables can be ommited, as /etc/ufw/before.rules already has the following:
# quickly process packets for which we already have a connection
-A ufw-before-input -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A ufw-before-output -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A ufw-before-forward -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT

but that would require verification.
Is your enhancement request related to a problem? Please describe.
UFW clashing with wireguard-iptables.
Additional context
N/A

@MikPisula Hello! Thank you for your detailed suggestion. Currently, this project has no plan to support UFW. Your suggestion will be considered for future improvements. You are welcome to adapt this project to your needs according to the license.


Qwen-VL-Chat has an error

System Info
A100-PCIe-40GB
Tensorrt-LLM-verison:0.12.0
Who can help?
@sunnyqgg
Information

[x] The official example scripts
[ ] My own modified scripts

Tasks

[x] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
The effects of using trt-llm-0.12.0 with fp16 and fp32 precision are significantly different from those of Qwen-VL found at https://github.com/QwenLM/Qwen-VL.
trt-llm-0.12.0 with fp16：

trt-llm-0.12.0 with fp32：

https://github.com/QwenLM/Qwen-VL:

Expected behavior
The reasoning results should be consistent with https://github.com/QwenLM/Qwen-VL.
actual behavior
tensorrt-llm not support
additional notes
no

Hi, @Kefeng-Duan, can you help me solve this problem? thanks！

Similar issue to https://github.com/NVIDIA/TensorRT-LLM/issues/2241


⚠ Samsung has degraded performance

In 7bd8bf7, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2582 ms

Resolved: Samsung performance has improved in f8d18d5.


Multi-root capability systems vs. The Infinite Cap and CSR initialization

Problem Statement
At present, the Zcheripurecap draft presumes the existence of a single all-permissive Infinite cap (§2.3.2).  This is incompatible with multi-root capability encodings (CHERIoT is once again the motivating example).  This could have just been a nuisance, as in many cases the specification is careful to test relevant permissions or phrase certain comparisons as "ha[ving] infinite bounds" or similar, but then...

The spec requires that the following CSRs can initialize to this Infinite capability: pcc (§3.2.1), mtvecc (§3.7.3), mepcc (§3.7.7), stvecc (§3.8.2, if S), sepcc (§3.8.6, if S), dinfc (§3.14.9, if Sdext), ddc (§5.8.7, if Zcherihybrid), vstvecc (§6.7, if H), vsepcc (§6.11, if H).

In Zcherihybrid and with Sdext, ddc becomes Infinite on entry to debug mode, with the new CSR dddc holding the old value (§5.6).

There is some provision for multiple roots in an informative note in §3.14.9:

A future version of this specification may add writeable fields to allow creation of other capabilities, if, for example, a future extension requires multiple formats for the Infinite capability.

However, I think some more broadly-scoped verbiage is appropriate, and in particular, there should be provision for other initialization behaviors.  A hypothetical Zcheriot would like something slightly tweaked from CHERIoT's initialization, say...

pcc initializes to the executable memory root (with cursor address set to the boot offset; the Infinite-like form, with cursor = base, can be obtained with an AUIPC 0; GCBASE; SCADDR sequence).
mtvecc initializes to the read-write memory root
mepcc initializes to the sealing type root

Straw proposal
I think I'd like to have §2.3.2 define Root Capabilities and The Infinite Capability, when it exists, something like this:

Capabilities form a partial order, defined by subset inclusion on authorized actions.  A root capability is maximal in this partial order; a root capability is not an attenuated form of another capability.  In general, capability encodings (recall [the note before 2.1; that probably wants a name and link target]) may have several root capabilities, but many, including the encoding of §2.1, have exactly one, which we call the Infinite capability.

We can then require CSR initialization to root capabilities:

In §3.2.1,

The pcc's metadata and tag are reset to a root capability bearing at least Execute (X), Access System Registers (ASR), Read (R), and Capability (C) permissions.

For mtvecc (§3.7.3) and mepcc (§3.7.7), at least, and possibly all the rest,

This CSR's reset value is a root capability bearing platform- and encoding-specific permissions. (For systems for which there is a unique Infinite capability, that is the reset value.)

Some background:
CHERIoT made a choice to have separate W and X roots because any code that requires both needs porting to handle the new ISA and so adding a requirement for two pointers (one to write, one to execute) is fine.
CHERIv8 did not make this choice because POSIX and Win32 both have APIs (mmap and equivalents) that return a single pointer that can (with the right flags) be used for both write and execute. Note that this true even on platforms such as OpenBSD with W^X guarantees: the pointer returned from mmap is not changed, the permissions of the mapping are changed with mprotect and then the pointer changes from permitting write to permitting execute.
I am personally of the opinion that we should fix POSIX for CHERI (as Brooks proposes), any code actually doing this kind of thing needs porting and most JITs already hold multiple pointers so that they can have a writeable mapping and an executable mapping in different places. It’s one bit of additional friction for adoption though, so it’s high risk.
Note that none of this affects hybrid mode. In hybrid mode, stores are indirected via DDC and jumps via PCC, so a read-write DDC and a read-execute PCC provides the same semantics as non-CHERI systems.
CHERIoT also makes the sealing root distinct. We wanted to do this for Morello, but didn’t in the end because Morello is a superset architecture. It’s easy for a first-stage bootloader to separate out a sealing root for experimentation in a single-rooted hierarchy, it’s not possible to combine the two in a multi-routed hierarchy.
When we started designing the CHERIoT permission compression system, we created a table of all combinations and marked them as essential, desirable, unlikely to be useful, and actively harmful. The actively harmful list included things like permit-seal and permit-store in the same capability. These are harmful because the permissions refer to distinct namespaces and so a single capability that holds both is a type confusion exploit waiting to happen.
I would strongly encourage any system that supports sealing to also maintain this distinction. It permits some compression in the permission encoding (none of the memory permissions are required on the sealing root), though this is not required. Even if the encoding is orthogonal, maintaining the ‘no permissions authorising actions on disjoint namespaces’ rule is probably a good idea.
I would suggest that most of these SCRs should be initialised to null or to a capability with a disjoint root.
In addition to execute, write, and seal, I would eventually like to add an SCR / CSR permission, which generalises ASR and allows delegating permission to access specific system registers. There is a RISC-V proposal to allow indirect access to CSRs and this could be generalised to take a capability operand. If PCC has ASR, you can access everything (necessary for bootstrapping) but without ASR you have a mechanism for authorising individual CSRs / SCRs.

@rnw30 points out, over on https://github.com/CHERIoT-Platform/cheriot-sail/issues/21, that CHERIoT requires X permission on whatever ends up in its equivalents of mtvecc and mepcc, so I think I'd like to amend my proposal, keeping the pcc text, but then...

make mtvecc and mepcc's initialization to root caps optional (that is: if tagged, a root cap),
make mscratchc (§3.7.4) optionally initialize to a root cap, and
make mstdic (§9.2.5) optionally initialize to a root cap.

I am personally of the opinion that we should fix POSIX for CHERI (as Brooks proposes), any code actually doing this kind of thing needs porting and most JITs already hold multiple pointers so that they can have a writeable mapping and an executable mapping in different places. It’s one bit of additional friction for adoption though, so it’s high risk.

While I have proposed a replacement for the mmap interface that would support W^X better (see https://people.freebsd.org/~brooks/talks/bsdcan2018-mmap/is-it-time-to-replace-mmap.pdf), I've since been able to overcome most of the issues we had with mmap except for W^X at the pointer level. Even Arm's "always return RWX caps" solution works well enough in practice.
I do suspect we could come up with a solution for JITs that is both sound and usable, but we'd need to have a solid collection of examples to convince ourselves that we aren't breaking any "common" use cases. (I'm currently pondering some sort of int mexchange(void **, int newprot, int flags); which might use the revocation machinery to ensure that pointers with the old value are replaced.) Unfortunately, there's quite a lot of code that assumes you can make RWX capabilities so there's probably at least a master project worth of work to demonstrate viability.


Redundant models ConditionalHeatPort

Modelica.Magnetic.FluxTubes.Interfaces.ConditionalHeatPort and Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort are identical to Modelica.Thermal.HeatTransfer.Interfaces.PartialElementaryConditionalHeatPort and should be set obsolete for now and removed later.

Duplicate of #359 (7.5 years ago, sigh), but scheduled there for next major release.

The three partial heat port models in the packages FluxTubes, Analog and HeatTransfer are not compatible as they are using different variable names:

Variables
FluxTubes
Analog
HeatTransfer

loss power
LossPower
LossPower
lossPower

temperature of heat port
T_heatPort
T_heatPort
TheatPort

Therefore I propose to switch the milestone to the next major release where conversion scripts are allowed. I propose to keep the partial model in HeatTransfer and remove the other other two partial models in the next major release. In this case we could even consider to maintain the name T_heatPort instead of TheatPort.
In addition to the conditional heat port models, the vectorized version of Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort should also go to the sub-package Modelica.Thermal.HeatTransfer.Interfaces. Then we have everything in one place.
I am not sure: shall we still mark the partial models in FluxTubes and Analog as obsolete, as they are not compatible to the partial model in HeatTransfer?

One more thing to note is the different location of the heat port of the icon.

Appearance
FluxTubes
Analog
HeatTransfer

location of heat port
lower center
lower center
lower left

Unifying the three models may cause some models to have misplaced heat ports.


Feature request: In-line contour labels

I don't see any means at present in hvplot (or for that matter, in the geoviews / holoviews / bokeh ecosystem) to provide for in-line contour labels, such as provided by matplotlib.pyplot's clabel method.
Is this by design (or does this capability exist and I'm just not aware of it)? I.e. since one can mouse over them and see the values, there is no need to provide them?  Traditionally, those who like to generate and view contour-line plots of meteorological variables, such as sea-level pressure or 850 hPa temperature expect to see labels on at least some of the contour lines.

This was just not technically possible in the past, but with some more recent improvements this is almost within reach.


TwitterAdsLineItemApiImpl.getAllLineItems() parameters marked as Optional they are not

The method TwitterAdsLineItemApiImpl.getAllLineItems() has a few parameters marked as Optional, but when passing null values you get a NullPointerException.
Many thanks in advance,
Luis

Hey @lpereirafernandez thank you for pointing this out, we will quickly go over the issues you've raised over this week and fix as many as possible, we would be rolling out a major release in a couple of weeks (adding media support) but i'll see if we can send a small push for these items beforehand


[SVY-17275] 2<IP_ADDRESS> is incompatible with upgraded angular-tree-grid

https://support.servoy.com/browse/SVY-17275

really annoying that they release minor versions when they moved up a full angular version
(that package is not the only one doing that)

Feel free to deny my PR and change where needed. I just wanted to point out the issue.


Add the correct pro endpoint

Thank you for creating this.
I've added the correct endpoint that needs to be used when using API keys.

@vladc Thank you!


Completed in https://github.com/BrightspaceUI/core/pull/144


chore: update some dependencies in 1.5

Reason for Change:

resolve some ping from CVE scanners
Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] relevant PR labels added

Notes:

/azp run Azure Container Networking PR


37signals Provider

Added 37signals as a provider

Coverage remained the same at 100.0% when pulling f1266d6c4f5c1a1492fbbc00db864a51b3958ca4 on nilesuan:master into 0b3226498c87a737366211b1a5b745d73a5717e2 on thephpleague:master.

Please also make a PR to the gh-pages branch so that your provider will appear on the website!
Code looks good, merging. Thank you!


vscode-extensions.esbenp.prettier-vscode: 9.14.0 -> 9.15.0

Description of changes

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)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

vscode-extensions.esbenp.prettier-vscode


feat: allow users to pass in additional props and export the type

Changes Made:
Added a MarqueeProps type that extends HTMLDivElement. The type includes additional props such as onChange to allow users to pass more custom props.
Exported the MarqueeProps type for users who may want to reference or extend it.
Reasoning:
This change enhances the flexibility of the Marquee component, allowing users to pass a wider range of props, including native ones like onChange.
Examples:
// Example 1: Using additional props like onChange
<Marquee onChange={(event) => console.log('Marquee changed!', event)}>
  {/* ... */}
</Marquee>

// Example 2: Reference or extend MarqueeProps
interface MyExtendedMarqueeProps extends MarqueeProps {
  customProp: string;
}

const MyExtendedMarquee: React.FC<MyExtendedMarqueeProps> = ({ customProp, ...rest }) => (
  <Marquee {...rest}>
    {/* ... */}
  </Marquee>
);

Hi! thank you the PR, can you replace single quote with double quote as i haven't setup prettier / husky.

Sure, let me fix the quotes.


Run demo 'helloworld' failed

When I try to run 'helloworld'
I got this
~  micro run github.com/micro/services/helloworld
{"Id":"runtime.Runtime.Create","Code":401,"Detail":"An account is required","Status":"Unauthorized"}
and log info is this
 file=cmd/util.go:133 level=warn [Auth] Error refreshing token: invalid token provided

You must now login to use micro. You can use the default account user: admin, pass: micro
Do micro login to complete this.


Typescript error when having an Event without props and custom typed events

We have a setup where we defined our custom events. Some of them don't have props and are like this
type Events = {
  // ... some events
  test: never;
}

When I know call plausible("test") I get the following error:
Argument of type '[]' is not assignable to parameter of type 'undefined'

Published as<EMAIL_ADDRESS>Thanks a lot @cstrnt!


dx(script-setup): add generic type to defineExpose

Currently, the public API for a component defined using defineExpose is not typed when this component is used elsewhere (as discussed in #4397).
My current workaround is to define the API as an interface and casting the object in the component:
MyComponent.d.ts
export interface IMyComponent {

    doSomething(): void;

}

MyComponent.vue
<script setup lang="ts">
    import type { IMyComponent } from './MyComponent';

    const publicAPI: IMyComponent = {
        doSomething() {
            // ...
        },
    };

    defineExpose(publicAPI);
</script>

But writing that is cumbersome, I'd prefer doing the following:
defineExpose<IMyComponent>({
    doSomething() {
        // ...
    },
});

So that's what this PR allows :). Given that it's optional, it shouldn't affect people who isn't using this approach.
I tried extracting this pattern into my own method which I called definePublicAPI, but I was getting a warning so I guess defineExpose cannot be used for composition.

Hello!
This does not cover the case when ref values passed to defineExpose(). And as result u can't use same interface for expose and access.
MyComponent.d.ts
import type { Ref } from 'vue';

export interface IMyComponent {
    something: Ref<string>;
}

MyComponent.vue
<script setup lang="ts">
    import { ref } from 'vue';
    import type { IMyComponent } from './MyComponent';

    const something = ref('some string');

    defineExpose<IMyComponent>({
        something,
    });
</script>

As docs says: "refs are automatically unwrapped just like on normal instances"
(https://vuejs.org/api/sfc-script-setup.html#defineexpose)
Elsewhere
<tenplate>
    <MyComponent ref="component"/>
</template>

<script setup lang="ts">
    import { onMounted } from 'vue';
    import { MyComponent, IMyComponent } from './MyComponent';

    const component = ref<IMyComponent>();

    onMounted(() => {
        console.log(component.value.something) // now it's string but IMyComponent says this is Ref<string>
    })
</script>

@PurpleTape
A workaround is to add the string type as follows. I hope this weakness of the <script setup> syntax should be revolved in a clean way but not all this or that way of workaround.
import type { Ref } from 'vue';

export interface IMyComponent {
    something: string | Ref<string>;
}

@albertjin, thank you!
I came to a similar decision. If anyone is interested:
// Keep types somewhere
import {
    Ref, ComputedRef, WritableComputedRef, UnwrapNestedRefs,
} from 'vue';

export type VueRef<T> = Ref<T> | ComputedRef<T> | WritableComputedRef<T>;
export type VueUnwrapRef<T> = UnwrapNestedRefs<T>;

// Component types
import { VueRef, VueUnwrapRef } from '@/types';

export interface IComponentWrapped {
    value: VueRef<string>;
}

export type IComponent = VueUnwrapRef<IComponentWrapped>;

// Component
import { ref } from 'vue';
import { IComponentWrapped } from './component-types';

const value = ref('something');

defineExpose<IComponentWrapped>({
    value,
})

// Usage
import { ref } from 'vue';
import { IComponent } from '@/component/component-types';

const myComponent = ref<IComponent>();
console.log(myComponent.value) // 'something'


ADE Annual Review

@caffreyj Can you be ready to do the annual review for ADE today at the TAC meeting? Structure of the review defined at https://tac.openmainframeproject.org/process/project_stages.html#tac-review

@caffreyj Can you be ready for the ADE annual review at the 1/20/2022 meeting of the TAC?

Current usage

Latest Changes

fix provided for log4jshell CVE

Thanks @caffreyj - can you be on the call tomorrow to present?

yes and answer any questions

Great - thank you!

Approved by the TAC on 2/10/2022
https://github.com/openmainframeproject/omp-landscape/pull/446