Simplify using different service connections for azurerm backend and providers

Description
When the azure storage account backend and azurerm provider use different service connections, users have to do one of the following:

Ensure the identity (i.e. service principal) backing the service connection has access to both the backend storage and the subscription targeted by the azurerm subscription.
Set ARM_ACCESS_KEY environment variable when executing commands that use the azurerm provider and backend such as plan, apply, etc.

This is reported to occur when the azurerm backend and azurerm provider target two different subscriptions.
Ask
Execute init (azurerm backend) and azurerm provider commands (plan/apply/destroy etc) using different service connections WITHOUT having to

grant the service connection identity used by the azurerm provider access to the azurerm backend storage account
provide azurerm backend storage account access key (when executing azurerm provider commands such as plan/apply/destroy)

Approaches Considered
Store Access Key in State
If the access key is set via -backend-config=access-key=<my-key> at the time terraform init is run, it will be stored in the local terraform.tfstate file on the agent. When subsequent azurerm provider commands are run, terraform will use this key to access the backend storage account (as opposed to service principal or managed identity).
Since the storage account could be new, the key would most likely need to be looked up at the time the TerraformCLI task executes init. Alternative would be to allow the user to configure the access key.

Issue #278 affected us as well, which was unexpected as we weren't targeting v0.15 yet. Fortunately the work-around was successful to supply the subscription_id in the commandOptions.
This issue is important for us to be able to secure TF State in a separate subscription than the deployed App resources.


Added directory breadcrumb buttons to see path and navigate back

Added directory breadcrumbs to

be able to view the current path one came to the current directory
be able to quickly navigate upwards

Before, you need to click Return several times - and you could not see the path.
Please note, this is the first time I'm using React, so I'd be glad if someone could have a look and check if this is the way to go.

I took a quick look, the idea is great, but we need to work on layout:
I suggest using links via React Breadcrumbs component: https://react-bootstrap.github.io/components/breadcrumb/
Also, we're displaying the OID, which does not seem necessary, at least on screen (can be in a tooltip).

Thanks you for your feedback, as soon as I have some spare time, I'll give this a try.
WRT the OID, I agree that it is distracting in most cases, but I'd like to have it in a way that I could copy it if required (e.g. for some CLI actions). Maybe this works with a tooltip.

@jkowalski I now had time to do the changes you suggested. What do you think?
I like it better :slightly_smiling_face:

This is very cool, can you rebase to latest main and we can merge...

@jkowalski merged main


Fetch existing Rekor entry on create conflict

Summary
Adds a fetchOnConflict option to tlog.createDSSEEntry which allows it to retrieve/return an existing Rekor entry in the event that the entry being creating matches an existing record. The default behavior is still to throw an error in the event of a conflict (HTTP status code 409), but the fetchOnConflict flag  can be enabled to override this behavior.

@feelepxyz today's round of dependabot updates seem to have cleaned-up the package-lock stuff. I rebased and everything is looking better now.


Breakpoints not resolving properly in attach configuration on Windows

From @mousetraps on September 27, 2016 21:19
Testing https://github.com/Microsoft/vscode/issues/12600
Node v6.6.0 (32-bit), Windows
/* app.js */
var screenName = 'hello';
var sc = ""; // set breakpoint
setTimeout(function() {
    console.log('done');
    a(screenName);

    process.exit(); // set breakpoint
},1000)

function a(screenName) {
    console.log(screenName); // set breakpoint
}

From cmd line: node --inspect --debug-brk app.js, then run attach debug configuration

Copied from original issue: Microsoft/vscode-node-debug2#37

Ohhh, your command prompt is using an uppercase drive letter. But if you do a launch, it launches with a lowercase drive letter.
I'm glad that I just noticed this exists - https://github.com/Microsoft/vscode-chrome-debug-core/issues/107 - it's the only way to fix this.

From @mousetraps on September 27, 2016 21:46
Diagnostic log:
vscode-node-debug2.txt

Fixed

Ignore...


after_move:filename behaves differently from after_move:filepath when extracting audio

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Hello
I'm trying to extract the audio from a video and I want yt-dlp to print the name of the resulting file.
The command I'm using is this one:
yt-dlp -no-warnings --no-simulate --extract-audio --audio-format mp3 --output "temp/%(title)s [%(id)s]<PHONE_NUMBER>907.%(ext) s" "https://www.youtube.com/watch?v=nDzYcScPU_g" --print after_move:filename
As mentioned in the README file, I'm using --print after_move:filename to get the name of the final file after all post-processing is done (in this case, I'm expecting an audio file ending in .mp3, not a video file ending in .webm)
The problem is that --print after_move:filename prints out the name of the video file, before the audio is extracted.
Note that if I use --print after_move:filepath instead, the path returned refers to the correct audio file (ending in .mp3), so the issue presents itself only when using after_move:filename.
I resolved this issue using filepath instead of filename, but I think both options should behave equally when used with after_move
Thank you
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
[debug] Command-line config: ['-vU', '--no-simulate', '--extract-audio', '--audio-format', 'mp3', '--output', 'temp/%(title)s [%(id)s]<PHONE_NUMBER>907.%(ext)s', 'https://www.youtube.com/watch?v=nDzYcScPU_g', '--print', 'after_move:filename']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (pip)
[debug] Python 3.11.4 (CPython arm64 64bit) - macOS-13.5-arm64-arm-64bit (OpenSSL 3.1.2 1 Aug 2023)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.07.22, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[youtube] Extracting URL: https://www.youtube.com/watch?v=nDzYcScPU_g
[youtube] nDzYcScPU_g: Downloading webpage
[youtube] nDzYcScPU_g: Downloading ios player API JSON
[youtube] nDzYcScPU_g: Downloading android player API JSON
[youtube] nDzYcScPU_g: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] nDzYcScPU_g: Downloading 1 format(s): 251
[debug] Invoking http downloader on "https://rr6---sn-8vq54voxpu-hm2k.googlevideo.com/videoplayback?expire=1692374406&ei=JkHfZJ36Ns21-gaAu4-wDw&ip=<IP_ADDRESS>&id=o-AHSGp_Mx9NBf1jgYIGRCMPB8MLIVcvC1Wr4crIyWk3C_&itag=251&source=youtube&requiressl=yes&mh=rm&mm=31%2C29&mn=sn-8vq54voxpu-hm2k%2Csn-8vq54voxpu-hm2r&ms=au%2Crdu&mv=m&mvi=6&pcm2cms=yes&pl=17&initcwndbps=1392500&spc=UWF9f9CAyXqgb-1KlWdZKT7iduq5A58&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=422908&dur=29.981&lmt=1568736129836683&mt=1692352383&fvip=1&keepalive=yes&fexp=24007246%2C24363392&beids=24350018&c=ANDROID&txp=2301222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgSjhX1nLUd5uD0WLgbryHZrYAelkx7FW_KgRtODiTblkCIEJsJbamKfSzPlidsYUfmuCXSwH_GOSLytzG-g801eF4&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAONTdgYm8-RqYNbalexWN-HhVvmuzTLkPB-tGksiQX3qAiEA970YGP6QJh0whiqjivvFJ46FtgEXdbZd9gFCiuV0ZwQ%3D"
[download] Destination: temp/UH OH, STINKY (ITALIAN NEAPOLITAN VERSION) [nDzYcScPU_g]<PHONE_NUMBER>907.webm
[download] Download completed
[debug] ffmpeg command line: ffprobe -show_streams 'file:temp/UH OH, STINKY (ITALIAN NEAPOLITAN VERSION) [nDzYcScPU_g]<PHONE_NUMBER>907.webm'
[ExtractAudio] Destination: temp/UH OH, STINKY (ITALIAN NEAPOLITAN VERSION) [nDzYcScPU_g]<PHONE_NUMBER>907.mp3
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:temp/UH OH, STINKY (ITALIAN NEAPOLITAN VERSION) [nDzYcScPU_g]<PHONE_NUMBER>907.webm' -vn -acodec libmp3lame -q:a 5.0 -movflags +faststart 'file:temp/UH OH, STINKY (ITALIAN NEAPOLITAN VERSION) [nDzYcScPU_g]<PHONE_NUMBER>907.mp3'
Deleting original file temp/UH OH, STINKY (ITALIAN NEAPOLITAN VERSION) [nDzYcScPU_g]<PHONE_NUMBER>907.webm (pass -k to keep)
temp/UH OH, STINKY (ITALIAN NEAPOLITAN VERSION) [nDzYcScPU_g]<PHONE_NUMBER>907.webm

As mentioned in the README file, I'm using --print after_move:filename to get the name of the final file after all post-processing is done

No, it specifically asks to use filepath and not filename. The latter behaves as it does for compat reasons.
https://github.com/yt-dlp/yt-dlp/blob/876b70c8edf4c0147f180bd981fbc4d625cbfb9c/README.md#L1391
https://github.com/yt-dlp/yt-dlp/blob/876b70c8edf4c0147f180bd981fbc4d625cbfb9c/README.md#L1383
https://github.com/yt-dlp/yt-dlp/blob/876b70c8edf4c0147f180bd981fbc4d625cbfb9c/README.md#L1280


Delay When Executing SweetPad Commands in Cursor/VS Code

Hi!
I have noticed there is some delay (3 to 5 seconds) when executing the commands, going from:
Executing task: sweetpad: build

to
🚀 Executing command:
xcodebuild -scheme Meshing -configuration Debug -workspace /Users/rudrankriyam/Downloads/Meshing/Meshing.xcodeproj/project.xcworkspace -destination platform\=iOS\,id\=00008140-000104303633001C -resultBundlePath '/Users/rudrankriyam/Library/Application Support/Cursor/User/workspaceStorage/c26896c610692a109a35c94975a16cde/sweetpad.sweetpad/bundle/Meshing' -allowProvisioningUpdates build

Do you know what can be the reason behind this?

Hello! Before performing an actual "build" action, the extension tries to detect schemes, configurations, and build settings by executing the xcodebuild -showBuildSettings and xcodebuild -list commands. I think the slowdown comes from these commands because, when I've executed them for the first time, I also noticed that they run slowly. Of course, the results are cached for subsequent calls, but unfortunately, the first execution will always be slow.
One way to improve this is by parsing the files manually, but I’m not sure I’m ready to commit to this. You can also can debug this by setting log level to the "debug" in .vscode/settings.json and see all comands that extension executes:
{
  "sweetpad.system.logLevel": "debug"
}


Export tree exports to 3.4 tree

The passive tree exports to https://www.pathofexile.com/passive-skill-tree/3.4.0/XXXXXXX instead of https://www.pathofexile.com/passive-skill-tree/3.5.0/XXXXXXX

yeah this happens every single patch.  openarl should take out the version number from the export at all.
If you enter no number its just the most recent tree which everyone wants. also it should lead to https://www.pathofexile.com/fullscreen-passive-skill-tree/ instead


.sln removal

I believe that remove all visual studio project files from the project is more proper than keep then, the cmake setup can generate them

I maintain the slns and vcxprojs for other purposes, and the CMake files. Generally speaking if you want to build with MSBuild, use the SLN/VCXPROJ files. If you want to build with CMake using the VS Generator or Ninja, that's also fine.


Update flowkit to Cadence v0.30.0

Description
Automatically update to:

onflow/cadence v0.30.0
onflow/flow-go-sdk v0.30.0
onflow/flow-go 076c0fd2a2f9
onflow/flow-emulator v0.41.0
onflow/cadence-tools/test v0.3.0

No idea why CI fails ...


Rust provider tries to open Cargo.toml in wrong folder

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I have a cargo workspace and nixpacks plan . or nixpacks build . both say:
Error reading crates/apollo-core/src/Cargo.toml
In my workspace, there's no Cargo.toml in any src/.  There's one at the workspace root and one in crate root.  My workspace structure looks like:
.
├── Cargo.lock
├── Cargo.toml
├── crates
│   ├── apollo-core
│   │   ├── Cargo.toml
│   │   └── src
│   │       └── lib.rs
│   ├── rest-server
│   │   ├── Cargo.toml
│   │   └── src
│   │       └── main.rs
│   └── wasm-connectors
│       ├── Cargo.toml
│       └── src
│           └── lib.rs
├── nixpacks.toml
└── rustfmt.toml

To reproduce
Create a Rust workspace using a structure as described in the bug report and do nixpacks plan .  This fails.
As an experiment I tried nixpacks plan ./crates/rest-server, which succeeds, but produces the wrong plan because cargo doesn't know it's inside a workspace.  The actual build fails.
Expected behavior
No response
Environment
macOS.  nixpacks 1.21.3

Same problem


spotdl url - get friendly link instead of direct download

Requested Feature
Hello,
It would be nice to have an option like spotdl url-friendly that would return the list of Youtube Music (or wtv provider) original links instead of the actual direct download.
This would be useful for users who would like to inspect the links on a browser and/or download the music later with another tool.
Thank you.
Possible implementation
Add option: spotdl url-friendly that would return the list of Youtube Music (or wtv provider) original links instead of the actual direct download.

Cool idea, I will work on this

Great, thanks.


feat(import): add progress bar for store import

Description

This pull request adds a progress bar to the store import feature. Previously, the import process did not provide any visual feedback to the user, making it difficult to determine the progress. With this change, a progress bar is displayed, indicating the number of tuples being imported. This improves the user experience and provides better visibility into the import process.
See video below in slow-mode (or test with super long file) :
https://github.com/openfga/cli/assets/55068936/adb5790c-16f3-4001-bf28-b971b6f0185e
How to test

Open this PR in Gitpod (it would automatically run the required commands to install deps.) or in local.

Add a demo.fga.yaml file under cmd/fga

Under cmd/fga directory run the following command:
go run main.go store import --file <your_fga_yml_file>.fga.yaml

Demo file
# /workspace/cli/cmd/fga/test.fga.yaml

name: Model Tests # optional

# model_file: ./model.fga # you can specify an external .fga file, or include it inline
model: |
  model
    schema 1.1

  type user

  type organization
     relations
       define member : [user]
       define admin : [user with non_expired_grant]

   condition non_expired_grant(current_time: timestamp, grant_time: timestamp, grant_duration: duration) {
     current_time < grant_time + grant_duration
  }

# tuple_file: ./tuples.yaml # you can specify an external file, or include it inline
tuples:

   # Anne is a member of the Acme organization
  - user: user:anne
    relation: member
    object: organization:acme

  # Peter has the admin role from February 2nd 2024 0AM to 1AM
  - user: user:peter
    relation: admin
    object: organization:acme
    condition:
      name: non_expired_grant
      context:
        grant_time : "2024-02-01T00:00:00Z"
        grant_duration : 1h
  - user: user:peter
    relation: admin
    object: organization:acme
    condition:
      name: non_expired_grant
      context:
        grant_time : "2024-02-01T00:00:00Z"
        grant_duration : 1h
  - user: user:peter
    relation: admin
    object: organization:acme
    condition:
      name: non_expired_grant
      context:
        grant_time : "2024-02-01T00:00:00Z"
        grant_duration : 1h
  - user: user:peter
    relation: admin
    object: organization:acme
    condition:
      name: non_expired_grant
      context:
        grant_time : "2024-02-01T00:00:00Z"
        grant_duration : 1h
  - user: user:peter
    relation: admin
    object: organization:acme
    condition:
      name: non_expired_grant
      context:
        grant_time : "2024-02-01T00:00:00Z"
        grant_duration : 1h

References

fixes #320
Review Checklist

[x] I have clicked on "allow edits by maintainers".
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected

Here is how it would look: (Added custom time sleep to record demo)
https://github.com/openfga/cli/assets/55068936/c6660d8f-e7a0-4e3e-9dbb-794a5068f1e1

Finally, the lints are passing now (in my fork -- ref). Checks on this PR needs to be approved by collaborators.
:shipit:

Hey @rhamzeh 👋🏼
I've squashed all of my commits to e3b63f5

Why lints tests are failing? it is also not showing any error 🤔

The linter seems to have some awkward output with the lints being flagged occurring before that output (lines 31-36), output is below
cmd/store/import.go:48: line is 176 characters (lll)
func createStore(clientConfig *fga.ClientConfig, storeData *storetest.StoreData, format authorizationmodel.ModelFormat, fileName string) (*CreateStoreAndModelResponse, error) {
cmd/store/import.go:65: line is 203 characters (lll)
func updateStore(clientConfig *fga.ClientConfig, fgaClient client.SdkClient, storeData *storetest.StoreData, format authorizationmodel.ModelFormat, storeID string) (*CreateStoreAndModelResponse, error) {
cmd/store/import.go:98: line is 264 characters (lll)
func importStore(clientConfig *fga.ClientConfig, fgaClient client.SdkClient, storeData *storetest.StoreData, format authorizationmodel.ModelFormat, storeID string, maxTuplesPerWrite, maxParallelRequests int, fileName string) (*CreateStoreAndModelResponse, error) {

I pushed the lint fixes and squashed the commits down

Thanks ❤


A ordinary python FizzBuzz

A ordinary python FizzBuzz, BUT  @with emotions ^_^

Thank you for your PR!
Unfortunately a solution similar to yours has already been submitted :/
Emotes don't really make the solution unique :(
The goal is to find creative/abstract new solutions to FizzBuzz.
See The top 5 samples here.
Thanks anyway! :)


Bug Report - Magnifier causes the terminal menu to disproportionately enlarge

Environment
Running Microsoft Windows [Version 10.0.18362.175], Windows terminal version 0.2.1715.0 while using Windows Magnifier.
Steps to reproduce
Run Windows Magnifier from any means of doing so, and launch Windows Terminal. Zoom in to any percent beyond 100% and press the main menu button on the top of the window.
Expected behavior
The menu should scale well with Windows Magnifier and should fit the rest of the desktop.
Actual behavior
The menu becomes overgrown disproportionately to the zoom level of the desktop itself to the point of usability issues.

This is amazing!

Lucky us, this is a XAML bug! Unlucky for this repository, it's an external tracking issue. :smile:

Is there an actual issue on microsoft/microsoft-ui-xaml for people to track this issue? Or is it an internal issue number?

Just updated to v0.3.2171.0 and while the display of the menu is improved when magnifier is running compared to the previous version, the problem is still there.


Implement a compiler embedding API and shared library stub/loader.

This patch does a number of earth moving activities:

Decomposes iree_compile_lib into a "chunky", ABI stable API for invoking the compiler. Care is taken to properly segregate the command line environment and allow it to be used to implement both single-shot command line tools and multi-tenant online scenarios.
Re-implements iree-compiler on top of the new API. There are still a few lingering bits around command line processing which privilege tools that are built-in to the main compiler library. Will need to see what we want to do about these.
Adds a stub implementation which can be statically linked in to access the compiler API by delay loading the backing shared library dynamically at runtime.
Adds a test which exercises this the dynamic loading stub.

There is still a bit of cleanup to do in followon patches (i.e. some things in weird places).
With this, we now have a fully self contained compiler shared library and ABI-stable intended API that it exports along with a static helper library to delay load it at runtime. This will allow us to decouple the IREE compiler build from consuming frameworks (i.e. TensorFlow, Jax, PyTorch) and avoid cross-build-system, static linking mondo builds.

PTAL


graphql: Apply authorization on /_search endpoint

Describe the bug
Apply authorization for _search endpoint (graphql)
Currently authorization is applied only for dist-spec routes and not for graphql.
On a request context we store the repositories on which a user has read access, and later used them when the user GETs the catalog for example, to filter out the repos on which he doesn't have access.
Do the same for _search endpoint.

See: https://gqlgen.com/recipes/authentication/


[synth] Feedthrough paths on data bus interface

With the Writeback stage enabled, there is a feedthrough path from data_rvalid_i and data_err_i back to data_req_o
lsu_resp_valid_o --> outstanding_memory_access --> data_req_allowed --> lsu_req
data_err_i --> wb_exception --> instr_kill --> instr_executing --> lsu_req

This may be a tricky one. If we've got back to back loads then the second load shouldn't execute (i.e. send its request) until it knows the first one has succeeded, it can't do this until it knows the response to the first load (to see if it was an error response and hence whether or not the first load will take an exception). We could always prevent the second load from sending its request until the first load has actually retired, thus cutting the path, but when we have a single cycle memory response we'd like to be able to execute back to back loads. If we make a load wait for a previous one to retire first we'll get stall cycles.
We could allow the second load to just start anyway, at which point Ibex will be generate two outstanding accesses at once. It can already do this but currently limited to misaligned cases where both requests are associated to one instruction, this will cause two unrelated loads/instructions to be outstanding at once so this would be a new behavior. This would be something we'd want to control with a PMA setup (so allow the speculative load to normal memory but not to device memory).
There's also the question of stores which have the same issue, however there we can't speculatively start a second store until the first has completed. Perhaps as with the load we could allow the second speculative store at which point a store failure becomes an imprecise exception (which have been pondering anyway).
For performance I think we either need to leave this path or, or introduce the speculative behaviors described above.

I could also try a quick RTL hack to stall between back to back memory accesses and run coremark/embench and see what the impact of that is.

The performance impact of stalling to stop back to back memory accesses is significant:

Coremark without stall: 3.09, with stall: 2.92, 5.8% change
8.3% slowdown in Embench

So I don't think the simple fix is a good idea, I do note the cv32e40p (previously RI5CY) contains a very similar path:
https://github.com/openhwgroup/cv32e40p/blob/dde01442d11123763dccdf030b4bd3fbf4d9b4fe/rtl/riscv_load_store_unit.sv#L387-L421
Simply leaving it in could be a possibility, we should do some further timing investigation to determine how much of a potential issue it is, was this causing an issue in OpenTitan FPGA timing?

Agreed that seems like too much of a performance hit.
It's not an issue in the FPGA at the moment. It starts to show up if we remove the pipelining on the d-side, but I think it's still meeting the target frequency.

Ultimately we do need to remove pipelining, for the SRAM data access at least, to ensure good performance (i.e. data/response return cycle after request). I think we may end up with a split setup where the data SRAM is like a tightly coupled memory with as little logic between it and the Ibex IO as possible with everything else accessible via the memory system sitting behind some pipeline logic.

I've taken a look with a yosys run, this path is 9 levels of logic, which doesn't seem too bad. I think we're going to have to allow some feedthroughs in Ibex, we should come up some guidance around how long they can be and ensuring they are documented.

So we can make some progress with this, would it make sense to document the existing feedthrough paths? (And maybe even run something in CI to check we don't gain any).
@GregAC, @tomroberts-lowrisc: What do you think?

So we can make some progress with this, would it make sense to document the existing feedthrough paths? (And maybe even run something in CI to check we don't gain any).
@GregAC, @tomroberts-lowrisc: What do you think?

The "maybe even run something in CI" part is tracked in #651.

The "maybe even run something in CI" part is tracked in #651.


check for CMDLINE_EXTEND

If I am not mistaken - when this is not set the cmdline options added inside the bootimage are not applied.
Change-Id: I7bb2afabc02ed26a3a40503352cf2361a9e7453e

Ok my bad - this does not work. the option is not available on arm64. The rebuild did not pick up the config changes.


rboot for esp arduio lib

sorry to open ticket for my question, but I found your reference link on some of pages, I was wondering whether your lib can officially merge to the Arduino ESP8266 lib so could have your lib benefit in Arduio environmental

I've never used arduino ide with esp8266, but as it's just c++ using the standard tool chain, with a few libraries tacked on (as far as I understand it), then it should work fine. You'd need to tweak the build files, and then add in the ota code.

I've never used arduino ide with esp8266, but as it's just c++ using the standard tool chain, with a few libraries tacked on (as far as I understand it), then it should work fine. You'd need to tweak the build files, and then add in the ota code.


Add text objects

How didn't we have these?? Major oversight :)
Merge after #229.

I'd suggest to rebase this PR now.

Contains is unstable so this will have to do :)

Approved, but don't forget the changelog. :-)


Fix layer_norm_eps in BERTEncoder

https://github.com/dmlc/gluon-nlp/issues/1183#issuecomment-621659400

Job PR-1215/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-1215/1/index.html


Add support for MLJ (machine learning in Julia)

Relevant packages:

MLJ.jl: A Julia machine learning framework
MLJBase.jl: Base code for implementing the MLJ interface for machine learning models
MLJModels.jl: A place for a MLJ model implementations
MLJRegistry.jl: Holds metadata for models implementing the MLJ interface at MLJBase


Use latest schema version for ARM Template parameter file

Schema : https://github.com/Azure/azure-resource-manager-schemas/blob/master/schemas/2019-04-01/deploymentParameters.json

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

@neilpeterson

Yep this looks correct and also aligns with the tools snippet.
https://github.com/microsoft/vscode-azurearmtools/blob/master/assets/jsonsnippets.jsonc#L66
Thanks @wilfriedwoivre!

Shipping in 0.10.0 on Monday

Shipped yesterday


Excluding attributes

Hi - thanks for the package, very helpful!
It doesn't seem like the model.attributes.exclude option is implemented? Is there another way to exclude an attribute from a graphql type?

that would be strange since i am using this feature in production, I will still re-check this. But the way attributes are excluded might change after merging PR#12

could you check it again @luke-j ? it should be fixed


Updates to SMZ3 and SM64, adding DKC3

My comments are resolved ( but I unfortunately can't approve this pull-request myself )

because this is a PR for many games we need the ok from all games first.

i would like someone who actually knows smz3 to look over the changes for that yaml. im gonna assume Marechal's review for DS3 is sufficient. SM64 looks mostly fine from my end and already left notes for DKC3 and the main weights.

I undid my changes for SMZ3 because I think we will need several more changes to it before we roll the next async.

Lowering RL chance is fine, so I approve of that. I am going to ping the other game maintainers that haven't looked at this yet so they can review the changed weights or settings.
@PoryGone for DKC3 (Added)
@N00byKing for SM64 (Options Changed)
@espeon65536 for OOT (Weight Lowered)
@KonoTyran for MC (Weight Lowered)
@lordlou for SM (Weight Lowered)
@Jarno458 for TS (Weight Lowered)
@TheCondor07 for SC2 (Weight Increased)

I'm fine with what I see wrt DKC3. I trust Figment's judgement on these things (I don't really do asyncs generally).

sm64 changes lgtm

For what it's worth, the changes for the weights of TS and SM are small because of the large drop in LttP. MC and OOT were cut by about 35% each, TS by 13%, and SM by only 2%. SC2 essentially doubled.

Sounds good!

All good for me too!


Build and run urfave-cli-genflags via its Makefile

What type of PR is this?

bug
cleanup

What this PR does / why we need it:
Without this, running make generate can result in errors about missing github.com/urfave/cli/v2 because the top-level go.mod context is in use rather than the cmd/urfave-cli-genflags/go.mod.
Which issue(s) this PR fixes:
NA 😬

Can this help avoid make dependency on go build https://github.com/golang/go/issues/46687 ?

@abitrolly I don't think so (?) If anything, I'm adding more dependence on make here 😅 , although it's only for when one wants to run go generate.

I see. If that doesn't affect cd cmd; go build then that's probably ok.


The order of dynamically added columns from a single stmt is lost

CrateDB version
latest master
CrateDB setup information
No response
Steps to Reproduce
cr> create table t (x int) with (column_policy='dynamic');
CREATE OK, 1 row affected  (1.668 sec)

cr> insert into t values (1);
INSERT OK, 1 row affected  (0.044 sec)

cr> update t set b=1, a=1, d=1, c=1;
UPDATE OK, 1 row affected  (0.159 sec)

cr> select * from t;
+---+---+---+---+---+
| x | b | a | c | d |
+---+---+---+---+---+
| 1 | 1 | 1 | 1 | 1 |
+---+---+---+---+---+
SELECT 1 row in set (0.002 sec)

Expected Result
cr> select * from t;
+---+---+---+---+---+
| x | b | a | d | c | // <-- b,a,d,c as it was provided by the set clause
+---+---+---+---+---+
| 1 | 1 | 1 | 1 | 1 |
+---+---+---+---+---+
SELECT 1 row in set (0.002 sec)

Actual Result
cr> select * from t;
+---+---+---+---+---+
| x | b | a | c | d |
+---+---+---+---+---+
| 1 | 1 | 1 | 1 | 1 |
+---+---+---+---+---+
SELECT 1 row in set (0.002 sec)

Not only update loses the order. I will look into copy from, insert, alter and get more details.
Not sure about sub-columns of the objects need to be fixed, since the ordering is not as immediately accessible as the top-level columns.

found while working on : https://github.com/crate/crate/pull/12754
and the test case was : testUpdateNewColumnTableDefault

ALTER does not suffer from this column order issue.

Fixed for update, insert, and copy from.

Not sure about sub-columns of the objects need to be fixed

also fixed, closing.


about data preparation

Dear Sir,
Thanks for your outstanding work!
I would like to know how to find convert_coco2ytvis.py file, I did not see it in your repo.

Hi @chen742 ,
If I am getting you right, I believe it's at the root folder of this repo.

Dear @sukjunhwang
Thanks for your prompt reply, I got it!


Mac builds fail with "No gfortran found, exiting"

Original author: Jim Phillips (@jcphill)
Original issue: https://charm.cs.illinois.edu/redmine/issues/1925

Fortran support was neither requested nor required.  Break is likely due to this change:
commit e82ae8242b3dde160c5a5cc4cfec6f4d86613859
Author: Evan Ramos <evan`hpccharm.com>
Date:   Fri May 18 16:48:04 2018 -0500
Call conv-mach-gfortran.sh from conv-mach-darwin.sh

Change-Id: Id6a48c630e30ea88f888d9628aa564bf59bbe767

Original date: 2018-05-29 21:45:05

~~https://charm.cs.illinois.edu/gerrit/4237~~ https://github.com/UIUC-PPL/charm/commit/61e5995ef530fca7cebdfc1c224d047476fb8b87


main section implementation

In this commit :

I created the home section of the website. it has items displayed as a grid. it has a likes section and a place for the title.
every card is dynamic
I added a navbar


Update utils.py to reflect changes in ipware

The following is to update the recent change to ipware from using get_real_ip to get_client_ip

This will also solve #324

Can you relase this pr fastly. Currently I can't use the project


Move developer API key to config file

This allows users to use their own developer api key if they want to.

It's great to come back from vacations and find a beautiful pull request that fixes #13! Thanks!

Based on your feedback I made some changes. First changed the entry to api_key to make it more consistent.
Second, on second thought I think its better if we just leave the config sample without api_key for basic users and add another section in readme.md file for advanced users where they can have the entry for the api_key in config. so basically both configs are valid.

Good job, thanks a lot!


Introduces paychannel logic

Summary of changes
Changes introduced in this pull request:

Introduces paychannel logic from lotus

Please provide suggestions to improve and pay careful attention to the possibility of deadlocks. The testing suite associated with paychannel in lotus utilizes v2 paych actor which is why it is missing here. Will need to be added and adequately tested in future.
Background information regarding paychannel usage and functionality can be viewed here.
Reference issue to close (if applicable)

Closes
Other information and links

let's revisit this once we get around it again.


formidable doesn't get along with koa-body

fileBegin event from formidable never gets triggered when using koa-body(works fine with koa-better-body) It's really weird that It worked until yeserday and it randomly stopped working. file path should be /uploads/file_name but since fileBegin event never get triggered, file path is always like PROJECT_FOLDER/upload_3b1ae29425ef0e8f45a121173cec0d27/. Does anyone have any idea about this?
import Router from 'koa-router'
import IncomingForm from 'formidable'
import shortid from 'shortid'
import path from 'path'

const router = new Router()

router.post('/image/cover', async (ctx, next) => {
    let form = new IncomingForm();
form.encoding = "utf-8";

form.on("fileBegin", function(name, file) {
    let regex = /[^.]*/
    console.log("file name is", file.name)
    let fileName = file.name.replace(regex, shortid())
    file.path = path.join(__dirname + '/../uploads/', fileName)
});
    console.log(ctx.request.body.files.cover.path)
    //ctx.body = { url: URLpath }
})

Thanks @imkimchi for reporting.
The code itself looks okay and should work.

It's really weird that It worked until yeserday and it randomly stopped working

Could you please answer:
a) They both were working together until that day ? Then may be bug in your code ?
b) Or it stopped working after you added Formidable or Koa? Then may be bug in Formidable/Koa (then we will to investigate).
c) Perhaps versions got changed with e.g. NPM install and newer versions were not compatible?
Waiting for your answer to decide what to do with the issue (to close or investigate further).
Thanks.

closing as it seems to be resolved by using koa-better-body


Treat accessor dataarrays as members of parent dataset

Code Sample
import xarray as xr
import pandas as pd

# What I'm doing with comparison, I'd like to do with actual

comparison = xr.Dataset({'data': (['time'], [100, 30, 10, 3, 1]),
                         'altitude': (['time'], [5, 10, 15, 20, 25])},
                        coords={'time': pd.date_range('2014-09-06', periods=5, freq='1s')})

# With altitude as a data var, I can do the following:
comparison.swap_dims({'time': 'altitude'}).interp(altitude=12.0).data
# And
for (time, g) in comparison.groupby('time'):
    print(time)
    print(g.altitude.values)

@xr.register_dataset_accessor('acc')
class Accessor(object):
    def __init__(self, xarray_ds):
        self._ds = xarray_ds
        self._altitude = None

    @property
    def altitude(self):
        """ An expensive calculation that results in data that not everyone needs. """
        if self._altitude is None:
            self._altitude = xr.DataArray([5, 10, 15, 20, 25],
                                          coords=[('time', self._ds.time)])
        return self._altitude

actual = xr.Dataset({'data': (['time'], [100, 30, 10, 3, 1])},
                    coords={'time': pd.date_range('2014-09-06', periods=5, freq='1s')})

# This doesn't work:
actual.swap_dims({'time': 'altitude'}).interp(altitude=12.0).data
# Neither does this:
for (time, g) in actual.groupby('time'):
    print(time)
    print(g.acc.altitude.values)

Problem description
I've been using accessors to extend xarray with some custom computation. The altitude in the above dataset is not used every time the data is loaded, but when it is, it is an expensive computation to make (which is why I put it in as an accessor; if it isn't needed, it isn't computed).
Problem is, once it has been computed, I'd like to be able to use it as if it is a regular data_var of the dataset. For example, to interp on the newly computed column, or use it in a groupby.
Please advise if I'm going about this in the wrong way and how I should think about this problem instead.
 Something like

import xarray as xr
import pandas as pd
import xarray.testing as xrt

@xr.register_dataset_accessor('acc')
class Accessor(object):
    def __init__(self, xarray_ds):
        self._ds = xarray_ds
        self._altitude = None

    @property
    def altitude(self):
        """ An expensive calculation that results in data that not everyone needs. """
        if self._altitude is None:
            self._altitude = xr.DataArray([5, 10, 15, 20, 25],
                                          coords=[('time', self._ds.time)])

            # Here we add the calculated altitude to the dataset as a new data variable
            self._ds['altitude'] = self._altitude

        # Return just the altitude dataarray
        return self._altitude

expected = xr.Dataset({'data': (['time'], [100, 30, 10, 3, 1]),
                         'altitude': (['time'], [5, 10, 15, 20, 25])},
                        coords={'time': pd.date_range('2014-09-06', periods=5, freq='1s')})

actual = xr.Dataset({'data': (['time'], [100, 30, 10, 3, 1])},
                    coords={'time': pd.date_range('2014-09-06', periods=5, freq='1s')})

# Return newly-calculated altitude, but also store it in the actual dataset for later
altitude = actual.acc.altitude

# Check that worked
xrt.assert_equal(actual, expected)
xrt.assert_equal(actual['altitude'], actual.acc.altitude)

The only problem I see with this is that actual.acc.altitude must be called before actual.altitude, otherwise it will result in the data_var being used before it is created.

That's true, but unless you start subclassing dataset then isn't that always going to be the case?
You have some quantity which you can only calculate with either a function or an accessor method on the dataset, wouldn't you need to alter the __getitem__ method on the dataset object (or some subclass of it) in order to get the behaviour you're describing?

I think the cleanest way to do this in the long term would be to combine some sort of "lazy array" object with caching, e.g., along the lines of what's described in https://github.com/pydata/xarray/issues/2298. I'm not sure what the best solution in the short-term is, though.

I think #2298 is what I'm really waiting for and would solve the use cases I listed above. I'll have no trouble using the accessor methods in the time being.
Thanks, @shoyer


#65 accept null/undefined value for placeholder

Coverage remained the same at 100.0% when pulling 97ddeeb24d668edc2edb7f57d9c8f2f0c37a0e57 on nor3:master into 8b5b47f3c076b363ab51c219914e749ad2e939bc on skolmer:master.


Refactor curlatLng to currentLatLng

Description (required)
Fixes https://github.com/commons-app/apps-android-commons/issues/5559
What changes did you make and why?
Refactor the variable curlatLng to currentLatLng
Tests performed (required)
Tested {build variant, e.g. ProdDebug} on Samsung A50 with API level 33.
Screenshots (for UI changes only)

Thanks @nicolas-raoul for approving my first open source PR. This was fun.


How to add KITTI classes?

Hi,
I'm trying to add two classes(Truck and Van) for model to train.
So, I modified some parts of files and trained model.
Changed file list and contents are below.

configs/smoke_gn_vector.yaml
(line 7)  DETECT_CLASSES: ('Car', 'Cyclist', 'Pedestrian', 'Truck', 'Van')

smoke/configs/defaults.py
(line 52)  _C.DATASETS.DETECT_CLASSES = ("Car", "Cyclist", "Pedestrian", "Truck", "Van")
(line 116)  _C.MODEL.SMOKE_HEAD.DIMENSION_REFERENCE = ((3.88, 1.63, 1.53),
(1.78, 1.70, 0.58),
(0.88, 1.73, 0.67),
(10.11, 2.59, 3.25),
(5.08, 1.90, 2.21)
)

smoke/data/datasets/kitti.py
(line 19) TYPE_ID_CONVERSION = {
'Car': 0,
'Cyclist': 1,
'Pedestrian': 2,
'Truck': 3,
'Van': 4
}

smoke/data/datasets/evaluation/kitti/kitti_eval.py
(line 8) ID_TYPE_CONVERSION = {
0: 'Car',
1: 'Cyclist',
2: 'Pedestrian',
3: 'Truck',
4: 'Van'
}

smoke/modeling/smoke_coder.py
(line 254)
sc = SMOKECoder(depth_ref=(28.01, 16.32),
dim_ref=((3.88, 1.63, 1.53),
(1.78, 1.70, 0.58),
(0.88, 1.73, 0.67),
(10.11, 2.59, 3.25),
(5.08, 1.90, 2.21)))
=============================================================

after that, i tested on test datasets and get poor result.
It only could detects a little of Car class and most of inference results were empty text files(0 bytes).
Did I missed something?
If anyone tried to add other KITTI classes, please notice me which parts were wrong... :D
Thank you.

Hi，I have the same problem, the training model with my own data，but the inference results were  empty text files(0 bytes), have you solved it?

Hi，I have the same problem, the training model with my own data，but the inference results were empty text files(0 bytes), have you solved it?

Hi, @xiongqf-alice,.
Actually, I didn't solved it.
I'll reopen this issue.

Hi，I have the same problem, the training model with my own data，but the inference results were empty text files(0 bytes), have you solved it?

Hi, @xiongqf-alice,. Actually, I didn't solved it. I'll reopen this issue.

Hi, I solved it, you only need to modified ImageSets/train.txt, the train.txt as follows:
000001
000002
000003
.
.
.

I also observe the losses situation, it seems that the ”location“ in reg loss degrates well, but the 'dim' and 'ori' are very bad ,they are totally not deline T T.  The hm_loss is also bad.

Hi，I have the same problem, the training model with my own data，but the inference results were empty text files(0 bytes), have you solved it?

Hi, @xiongqf-alice,. Actually, I didn't solved it. I'll reopen this issue.

Dear yhchang1120, have you solve this problem?? I do the same modify as yours , i add to 10 classes, but also get poor results. Have you modify anything else to solve this problem?


Switch Site name and page title on default

Japanese users and I was also wondering why the page title order default has been
SITE NAME :: PAGE NAME
I would like to propose to switch to PAGE NAME :: SITE NAME order by default.
By changing the /concrete/config/concrete.php
Request from Japanese users
http://concrete5-japan.org/community/forums/feature-requests/post-13251/
They want to comply the site to meet WCAG standard
https://www.w3.org/TR/WCAG20-TECHS/G88.html
https://www.w3.org/WAI/WCAG20/quickref/#qr-navigation-mechanisms-title
Thanks.

We'd support this

Thank you.  I'm Japanese users.
As one of the reasons, titles are should be able to identifying  individual page information by bookmark and browser tab on the accessibility.
Please come down by all means.

Sorry, I was too lazy to send very simple PR for long time.
Here you go.


Time not displaying correctly

I have a function that creates data like this:
let fake_pulsewidth_data = (0..10)
    .map(|i| {
        let x_min = time_range_displayed.start;
        let x_range = time_range_displayed.end - time_range_displayed.start;
        let x = x_min + x_range / 10 * i;

        let y_min = self.series_scale.vertical.start;
        let y_range = self.series_scale.vertical.end - self.series_scale.vertical.start;
        let y = y_min + y_range / 10.0 * i as f32;
        (x, y)
    })
    .collect();

These are being plotted like so, where the following ranges are:
time_range_displayed: 2019-04-16T23:50:03.046417Z..2019-04-17T23:50:57.860785Z
self.series_scale.vertical: 0.0..10.0

As seen, this works correctly when the time range is quite large (>1 day).
However, when a much smaller time range is used (~ 5 mins), the datapoints are not being rendered correctly:
time_range_displayed: 2022-03-11T02:53:04.282941Z..2022-03-11T02:58:02.182941Z
self.series_scale.vertical: 0.0..10.0

It is unclear to me why this would be occuring. My suspicions are with the data passed into the series. I can see that the axis labels are correctly labelled, so this isn't anything obvious with the scaling functions.
If you could provide a solid reproducer than that'd be great.

The issue is that you're coercing an i64 to an f32 and we're then naturally getting some truncation.
One possible solution is to make the Data type generic for types other than f32. However, this upsets a great deal of code given many coercions to f32 for screen coordinates. I'm also quite keen to stay within 32-bit registers given their performance on WASM.
Another solution is to normalise the data passed into a series in terms of f32 i.e. scale it down to what is required. This then implies that the scale used for the horizontal axis is different to the one used for the series... but they can represent the same span of time. Right now, the scale used for the series axis assumes an epoch of 1/1/1970. However, we could instead assume an epoch of the earliest start date in the data i.e. just subtract the earliest start date from all the data values. Then create a horizontal scale for the series that also has the earliest start date subtracted and represents milliseconds.

The above suggestion feels like a reasonable solution. Closing.


Book Link is not clickable

My  Server is running Paper 1.19.2
InteractiveBooks 1.6.3 (Latest Build #136)
PlaceHolderAPI 2.11.2
Vault 1.7.3-B131
and i downloaded Vault and Player  Placeholder
i tried it with  the example book the tooltip and run command work  fine but nothing is happening when i try clicking the link

I tried and it works for me.

glad that it works for you prob u are using something diffrent
https://i.imgur.com/peia85O.png

It seems that you are using an incorrect syntax, can you post the book?

example_book.zip
its the example_book generate in the Plugins folder and i didnt change anything

Put the link in quotation marks.

Thank you very much Leonardo!
now it works


Keyword Search

As a User, I want A Keyword Search, so that I can enter input to be searched.

Success Criteria:

[ ] Given that I am on the Search Page, when I enter input into the search bar, then I should be able to see the search results.


MGDOBR-677: Plug SE instance deletion to APIs

JIRA: https://issues.redhat.com/browse/MGDOBR-677
It's only possible to delete SE Instances with no processors inside at the moment.
So, to test this PR, you should try to delete instances with and without processors inside. It's possible to delete instances from the table in the home screen and from the "actions" dropdown inside the instance detail page.
If you run the app against the mocked APIs, "Instance one" is the only one with processors, while the others have none.

@sjamboro we are missing your review :slightly_smiling_face:
adding also @jomarko who maybe has some time to look at it.


setting up crab config directory + including link to link mapping tools

@bfonta FYI
The "link mapping tools" are require to define a mapping adapted to the BC+STC algorithm using the "old" V2 geometry. BC+STC can't yet be used with the current V3 geometry; the adaptation is apparently WIP.

Ok, then let us go for subtree as long as you can use it, as it also brings a hard copy of the files, and let us use your fork. In my case the repository is sitting on CMSSW_12_5_0_pre1 and git --version returns 2.35.3. Subtrees are available from 1.7.11 onwards.
Can you please update the PR? This file has some nice quick introduction to subtrees.

I don't remember why we discussed this, but we clearly never used it. Closing it for now.
@portalesHEP Feel free to comment.

After a quick chat with @isehle, we realized this PR is most likely outdated. We will create a PR with an updated crab file soon. It would be nice to include some instructions on how to run it, including CMSSW version and available options.


added Encoding parameter with value Unicode

Line 774 contains parameter Encoding with Unicode as value
However previously on lines 632, 704, and 709 this value is not defined
This means that there will be a mismatch for all users with unicode
characters in their names, all of these users will be shown as removed
and added, which will trigger emails for every group they are a member
of.
By providing this parameter this issue is solved

Thanks @sometings ! Sorry again for the delay 🚶

no worries :)


Simplify events handling

Let's replace current events system with three kind of events:

add - when new element is added (separate event per element)
delete - when element is deleted (separate event per element)
change - whenever some change occurred in set.

It can be called once per many simultaneous changes, e.g. once per 2 adds and 3 deletes if they where done one after another.
It also can be called when in summary no elements where added and deleted, but ordering of elements in set have changed (e.g. when having { 1, 3 } set, we do set.clear(); set.add(3); set.add(1);. no add, and delete events will be invoked, however change event will occur.
It should also be allowed (for performance reasons) to emit change when change not necessarily may have occurred  (and compute of whether it indeed occurred is expensive).

Would change, if it's conditions to run are met, suppress add and/or delete events?

@mtuchowski definitely not, add must be emitted for each added and same with delete. change is supplementary to those two

Seems sane ;)


FAQ: why is my code lousy

Add @def hascode = true

do you have @def hascode=true ? on that page

I should add this to the FAQ as it’s a question that has popped up a few times; basically @def hascode=true ensures that the local  file highlight.pack.js  is loaded on the page via <script …> ; otherwise the page does not have it and so your code will  only display as a lousy pre block. (see _layout/head.html in the first few lines you’ll  see a conditional on hascode)

This kind of conditional loading allows to have some pages loading javascript and some others not if not necessary.

closed by #19


Linking of docpage is not complete

https://restic.readthedocs.io/en/stable/045_working_with_repos.html#removing-files-from-snapshots

https://github.com/restic/restic/blob/f96896a9c0fa682fcba508b0af71d0f82baff8d8/doc/045_working_with_repos.rst?plain=1#L213

Hi @stdedos ,can i work on this issue.

Yes @leeebaljith, of course. I merely reported it - as I am not proficient with rst, and a quick eye-check reveals everything to be okay.

sure, am also new to this ### rst . I checked the specified "command, see :ref:backup-excluding-files " on line N.O 213, and the respective Custom Anchor link is placed correctly on 040_backup.rst at line N.O 218. This is the update for now. suppose if i missed some thing here. please let me know. I will further check this and try to solve this on tomorrow.

This has already been fixed by #4244, the fix is included in the "latest" version of the documentation and eventually in the next restic release.

Closed as duplicate of the referenced issue, but sure
It's fun that a newline caused that issue 😅
Thank you for noticing 😄


favicon refers to .png while only .ico exists

The src/webui/template/index.html refers to icon/png, favicon.png whereas in verdaccio/website/static/img/ only a favicon.ico exists and as such browsers give a 404 for favicon.

I'm open to fixing this.
@juanpicado
Do you think the project is open to some changes in the web ui?
I think that we could match the verdaccio design on the web ui. (colors, buttons, etc)

One of the reasons we introduced React was been able to scale, add new stuff and btw I think people will love #357
About the logo in the header, I wonder how would looks like with https://github.com/verdaccio/verdaccio/blob/master/assets/bitmap/verdaccio-blackwhite.png

for me it feels like something is missing. what do you think?

Yeah, you are right. Well, I'm not a designer, but I think the first option is taking a lot of space, maybe, should be a bit subtle. What do you think?
cc: @ayusharma

What about this one?
This way we can even insert the title on the header.

About the tile ... something to keep on mind .. I live in Austria and all the time I see stuff like this Donaudampfschiffahrtsgesellschaftskapitän ... which means "Danube steamship company captain".
I like the logo and the title. I'd like to have more opinions on this topic. I hope someone pop ups around here.

@lgaitan do you have plans to deliver theme soon? ... It'd be cool to release it on v3.

I was thinking in the new skin.  The custom theme I guess can wait.

I think we have invaded this ticket which is a completely different topic, sorry for that.

Fixed @clintwood next beta you will be able to see the icon


Impossible to delete the seed

What happened:
Seed cannot be deleted. I executed the following command:
kubectl delete seed region1-01-dev region2-01-dev

Only region2-01-dev was removed. The region1-01-dev seed hangs with the following messages:
time="2019-08-20T08:50:26Z" level=info msg="Error syncing ControllerInstallation provider-openstack-zfbxm: secrets \"seed-region1-01-dev\" not found"
time="2019-08-20T08:50:27Z" level=info msg="Error syncing ControllerInstallation provider-openstack-zfbxm: secrets \"seed-region1-01-dev\" not found"
time="2019-08-20T08:50:27Z" level=info msg="Error syncing ControllerInstallation provider-openstack-zfbxm: secrets \"seed-region1-01-dev\" not found"

kubectl debug:
$ kubectl describe ControllerInstallation provider-openstack-zfbxm
Name:         provider-openstack-zfbxm
Namespace:
Labels:       registration-spec-hash=842fd387167b39bd
              seed-spec-hash=4fc26771b078f3ee
Annotations:  <none>
API Version:  core.gardener.cloud/v1alpha1
Kind:         ControllerInstallation
Metadata:
  Creation Timestamp:             2019-08-20T08:16:49Z
  Deletion Grace Period Seconds:  0
  Deletion Timestamp:             2019-08-20T08:35:51Z
  Finalizers:
    core.gardener.cloud/controllerinstallation
  Generate Name:     provider-openstack-
  Generation:        17
  Resource Version:  573831
  Self Link:         /apis/core.gardener.cloud/v1alpha1/controllerinstallations/provider-openstack-zfbxm
  UID:               dbb4a34d-c322-11e9-b854-0a58645f0007
Spec:
  Registration Ref:
    Name:              provider-openstack
    Resource Version:  464166
  Seed Ref:
    Name:              region1-01-dev
    Resource Version:  571486
Status:
  Conditions:
    Last Transition Time:  2019-08-20T08:50:27Z
    Last Update Time:      2019-08-20T08:50:27Z
    Message:               Referenced Seed does not exist: secrets "seed-region1-01-dev" not found
    Reason:                SeedNotFound
    Status:                False
    Type:                  Valid
    Last Transition Time:  2019-08-20T08:50:27Z
    Last Update Time:      <nil>
    Message:               The condition has been initialized but its semantic check has not been performed yet.
    Reason:                ConditionInitialized
    Status:                Unknown
    Type:                  Installed
  Provider Status:
    Resources:
      API Version:  v1
      Kind:         ConfigMap
      Name:         gardener-extension-provider-openstack-configmap
      Namespace:    extension-provider-openstack-zfbxm
      API Version:  storage.k8s.io/v1
      Kind:         StorageClass
      Name:         gardener.cloud-fast
      API Version:  v1
      Kind:         ServiceAccount
      Name:         gardener-extension-provider-openstack
      Namespace:    extension-provider-openstack-zfbxm
      API Version:  rbac.authorization.k8s.io/v1
      Kind:         ClusterRole
      Name:         gardener-extension-provider-openstack
      API Version:  rbac.authorization.k8s.io/v1
      Kind:         ClusterRoleBinding
      Name:         gardener-extension-provider-openstack
      API Version:  v1
      Kind:         Service
      Name:         gardener-extension-provider-openstack
      Namespace:    extension-provider-openstack-zfbxm
      API Version:  apps/v1
      Kind:         Deployment
      Name:         gardener-extension-provider-openstack
      Namespace:    extension-provider-openstack-zfbxm
      API Version:  autoscaling.k8s.io/v1beta2
      Kind:         VerticalPodAutoscaler
      Name:         gardener-extension-provider-openstack-vpa
      Namespace:    extension-provider-openstack-zfbxm
Events:             <none>

Environment:

Gardener version: 0.27.6
Kubernetes version (use kubectl version): 1.15.0
Cloud provider or hardware configuration: openstack
Others: gardener-extensions to 0.9.3

Looks like a race condition. Region2 secrets were not removed, but region1 secrets were removed:
$ kubectl -n garden get secret | grep seed
root-dev-seed                                                 Opaque                                7      2d23h
seed-region2-01-dev                                           Opaque                                6      17h
seed-soil-dev                                                 Opaque                                6      2d22h

Just started to cleanup the seeds and shoots for the new clean deployment and noticed this:
$ kubectl -n garden get secrets
NAME                  TYPE     DATA   AGE
seed-region1-01-dev   Opaque   6      28h
seed-region2-01-dev   Opaque   6      45h
seed-region3-01-dev   Opaque   6      45h
seed-soil-dev         Opaque   6      4d2h

Not sure whether it is related. In the initial issue the seed-region1-01-dev was removed before removing the seed, in this situation seeds were removed, but not the secrets.

I think this should be fixed with the introduction of the Gardenlet #1601. Please reopen if you think it's not.


Proposed change to be more specific with words

Regarding the discussion at #174 I think the correct words should be this ones, from the perspective that the message is intended to call attention but also to showcase how seyfert improves from discord.js. But at the same time being careful to not claim fake information.

bro please upgrade your english level before proposing anything


Resolve day-1 experience related bugs

https://msazure.visualstudio.com/Unified Platform KPIs/_queries?tempQueryId=1399c6d3-39c4-4982-ba88-30a1a1705e47
#21490

Closing this in favor of #21759


Much slower than standard compass command

Hi!
I tried to use gulp-compass, but it is so much slower than invoking compass compile or compass watch. Regular compass compile takes no more than 0.5 sec to compile all the files, with gulp-compass it takes even few seconds.
My task:
gulp.task('compass', function() {
  return gulp.src(SASS_FILES_PATTERN)
    .pipe(compass({
        config_file: path.join(ROOT_PATH, 'config.rb'),
        css: 'css',
        sass: 'sass',
        project: ROOT_PATH,
    }));
});

What could be wrong with this configuration?

I found this line in lib/compass.js:
  var child = spawn(compassExecutable, options, {cwd: opts.project || process.cwd()}),

It spawns a new child process per file, and therefore results in performance degradation.
However, in grunt-contrib-compass, it calls compass only once with options like this:
$ compass compile --force
    --sass-dir=web
    --css-dir=web
    --images-dir=web/images
    --javascripts-dir=web
    --environment=development
    --output-style=expanded
    --relative-assets
    --trace
    --time

All files are processed at once. That's the reason why gulp-compass is much slower than grunt-contrib-compass.

Any more on this? I am using ver 2.0 and I am seeing 10 seconds to process a relatively small project (4 files with maybe 100 lines each).

Hi @red2678
I'd recommend you to use gulp-sass and node-bourbon as an alternative solution.
var gulp = require('gulp');
var bourbon = require('node-bourbon');
var sass = require('gulp-sass');
var sourcemaps = require('gulp-sourcemaps');

var sassConfig = {
    src: ['web/**/*.{sass,scss}'],
    dest: 'web/',
    options: {
        includePaths: require('node-bourbon').includePaths,
        outputStyle: 'nested'
    }
};

gulp.task('sass', function() {
    return gulp.src(sassConfig.src)
        .pipe(sourcemaps.init())
            .pipe(sass(sassConfig.options))
        .pipe(sourcemaps.write('/', {includeContent: false}))
        .pipe(gulp.dest(sassConfig.dest));
});

Thanks @cheton :+1:  I unfortunately had to revert to gulp-sass. Too bad because I love compass, but as I started to dev more yesterday, the aforementioned 10 seconds was getting up to 14+. I will check out gulp-bourbon, thanks!

@red2678 You could also use gulp-spawn to spawn a child process to run compass command with options like --sass-dir and --images-dir to include all your files/directories.
An example usage for compass might look liks this:
compass compile --force
    --sass-dir=web
    --css-dir=web
    --images-dir=web/images
    --javascripts-dir=web
    --environment=development
    --output-style=expanded
    --relative-assets
    --trace
    --time

It should significantly save your time!

2.0.4 support watch mode.

+1 for this

In case it's unclear to anyone how to implement watching, in v2.0.4 you can set up your gulp-compass configuration object to take in the key pair task: "watch" (see the bottom of the README).
.pipe(compass({
    // the rest of your configuration here
    task: "watch"
}))

This watches for changes and only runs the process on the relevant file.

Thank you @oddurs, it was unclear to me. Refactoring to use that makes things noticeably faster for me since as you said it only runs the process on the relevant file, not all files.

Adding the watch task doesn't help me: now the compass task doesn't "finish" and doesn't conclude the runsequence and therefore gulp serve isn't triggered anymore (I think)
Here it does everything between brackets, but doesn't run site task anymore
 gulp.task('default', ['clean'], function (done) {   runSequence(['index', 'copy', 'scripts:huisstijl', 'scripts:angular', 'compass:huisstijl', 'compass:other', 'stats'], 'site', done); });
And here, because not everything in the default task gets finished it doesn't run serve...
gulp.task('serve', ['default', 'lint'], function () {     browserSync.init({         notify: true,         server: {             baseDir: ['dist'],             middleware: [                 modRewrite([                     '^/huisstijl(.*) /$1 [L]'                 ])             ]         }     });
I have a large project and I'm at 21seconds to compile... obviously impossible to work with.


sqlalchemy.exc.ArgumentError

Bug description
When I login to surperset, it always shows that Query has only expression-based entities, which do not apply to relationship property "XXX"
How to reproduce the bug

login

Screenshots/recordings

Superset version
master / latest-dev
Python version
3.9
Node version
Not applicable
Browser
Chrome
Additional context
SQLAlchemy                1.4.0
SQLAlchemy-Utils          0.38.3
Flask-SQLAlchemy          2.5.0
clickhouse-sqlalchemy     0.2.0
Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

The issue remains unresolved. Specifically, there are problems related to defining the relationship with the User model, as well as other issues involving query expressions that do not apply to relationship properties.
Regarding the relationship definition, the code attempts to establish a connection between the current model and the User model through the changed_by attribute. However, it seems there might be a mismatch or incorrect configuration that prevents this relationship from being properly established.
Additionally, the error messages "Query has only expression-based entities, which do not apply to relationship property 'SqlaTable.database'" and "Query has only expression-based entities, which do not apply to relationship property 'Slice.changed_by'" suggest that there are queries being executed that are not compatible with the relationship properties defined in the models.


Withdraw StudioCLI 23.3.4

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

The URL still works - why is the package being removed?

Hi @TotTheMax,
The URL still works - why is the package being removed?

Hello,  version 23.3.4 is not complete. We'll have a full version coming up.

Hi, The package corresponding to our 23.3.4 version has some defects and incomplete features, and 23.9.0 version is a fully functional version


samples: tflite-micro: fix link to original magic_wand sample

Fixes link to orignal magic_wand sample in the tflite-micro repository by using a permalink to its location prior to removal.

Thanks, @hasheddan! I actually stumbled upon this deadlink before and wasn't sure how to best fix it. Would it make more sense to point to its new home instead? https://github.com/tensorflow/tflite-micro/issues/2157


create search for song functionality

About this issue
Create a functionality that allows the user to search for any song by song name with the Spotify API.
These songs must display in the Result box
Search for song functionality
This functionality is all about giving the user the opportunity to search for any songs from Spotify with this Spotify API itself.
We give the user an element/searcher to input a certain keyword, name or reference specifically for songs ...

How to search the songs with the Spotify API ?
You can learn about it here in the Spotify API documentation
We are using the next endpoint
https://api.spotify.com/v1/search?q=${query}&type=track&limit=8
Queris:

we are calling the v1 endpoint
search?q=${  the user search input  }
type={  type of content your asking for  }
limit={  limit of elements returned  }

api/spotify/searchSongs
You need to create a api/spotify/searchSongs endpoint for this application. This way, you can do API requests in a secure way. You can learn about next.js endpoints here!

remember to use the next.js 13.4 sintaxis, because documentation is sometimes not up to date!

This endpoint should be called from the client. Then, the api requests may be executed in the backend.
I really recommend checking the experimental code of this app and how the whole flow and structure of the api requests and functionalities were built. This since the way the experimental app was build is supposed to be very similar to this app structure
Spotiy-Playlist-Retriever
Returned data
If all the api calls are successful. The information returned must consider the following elements:

id
song-name
artists
album
uri (very important)

State management
You can learn about this app state management in #21 Pull Request
The PR must save the expected-returned data of each song in the SpotifyContext, because this way the rest of the components may have easier access to this data.
So, this means that when new data is received from the SongSearcher, based on the input, the data must also be updated in the context for displaying in other components.
Display the data
Each of the songs returned form the previous request of songs, must be displayed in the Result Box wich is the SongsContainer
Here’s how it should look according to the design:

How to display this data in the layout ?
Make use of the SongContainer component and just fill the attributes with the correct info.
Like this:

see song as the object containing the data of an specific song: id, song-name, artist, album, uri

This way everything should display correctly 👍
You may also check the new pull request #28

Hi, I was attempting to resolve this issue but in my local environment when I try to signup it shows
INVALID_CLIENT: Invalid redirect URI
My redirect URI is http://localhost:3000/api/auth/callback/spotify
Can you please help
I have changed the environment variable to my client ID and client secret
spotify_err.webm

Hi! Nice receiving this message!
Yeah I will try to help you!
What I initially see is that if you already set the CLIENT_ID and CLIENT_SECRET in your local environment with the correct values under this names:
SPOTIFY_CLIENT_ID
SPOTIFY_CLIENT_SECRET
you could try doing this:

If you know the Spotify API, you know that you need to use the spotify dashboard to create an application in order for the Spotify service to give the CLIENT CREDENTIALS, here's the step by step process in case you need it.  Now in this application you just created, in the Settings button you need to set the Redirect URIs field with the group of uris your application may be redirected to. So the URI you send me must be set in this field this way:

If the problem persists and your app is throwing the following warnings

better set the variables in your .env.local doc as:
NEXTAUTH_SECRET= a key string not greater than 20 characters
NEXTAUTH_URL= the current page link in this case http://localhost:3000/

For the key string I can recommend you this page as a key generator I used the first 20 characters of the SHA 128-bit Key

That way if I am not wrong your app should be locally equal to mine and everything should work correctly!
Please if you don't understand anything or if you keep having this problem don't hesitate to contact me, maybe there's something I am not considering!

IMPORTANT
This issue is not up to date. I need to add some other points to consider while creating this functionality!
I will try to work on this as soon as possible!

Hi, I was attempting to resolve this issue but in my local environment when I try to signup it shows INVALID_CLIENT: Invalid redirect URI My redirect URI is http://localhost:3000/api/auth/callback/spotify Can you please help I have changed the environment variable to my client ID and client secret spotify_err.webm

resolved

Hi, I was attempting to resolve this issue but in my local environment when I try to signup it shows INVALID_CLIENT: Invalid redirect URI My redirect URI is http://localhost:3000/api/auth/callback/spotify Can you please help I have changed the environment variable to my client ID and client secret spotify_err.webm

resolved

Great!
I will be working on this branch as well!

HI @Matdweb when I try to make api calls for the songs I am getting invalid token error

HI @Matdweb when I try to make api calls for the songs I am getting invalid token error

Hello @aasimtaif !
I am truly sorry I didn't see your message here!
Ok I don't know how is your code being build but, if you have make any changes to the way the access token has been call or you are making it differently, then check the following:

(if you haven't move anything from the pulled code I did, go to the no changes section)

changes

if you are having problems with the access token I definitely recommend you take a look to the #22 PR. Here you will find all the important information of this functionality.

Since this code is already pushed to deployment you can also check the console in the browser from the deployment link https://jamming-sooty.vercel.app/ and test functionality yourself

Also check the way you are calling the api/spotify/accessToken endpoint created to fetch the access-token from spotify but from the backend
You need to pass the refresh-token as the body of the request. The refresh-token is the token retrieved from the session object of the app. This is accomplish this way:

and you are supposed to call the endpoint this way:

All of this means that if you just access the http://localhost:3000/api/spotify/accessToken  and do not provide the correct body you will have errors
no changes
If you haven't made any changes to the lib/ folder the backend should be working correctly as mine!

Now, If you are trying to make api requests and call the already created in the state getAccessToken() function (you can find out how all of these functions work in the state PR #21) and there's no problem with that then I would need to see like a gif or video of what you are doing and would need to check the code to try to understand

As you did in the #16 PR, already closed, you need to make this exactly the same but using the new getAccessToken() function created to retrieve the token. This means that you need to give some time when the user is changing the input value because it could be that if you are making too many requests at once you could have errors. So the tip is to use the setTimeout as you did in your #16 PR

I will look forward for your answer! 🚀

Thanks for replying. I am sorry to say that I won't be able to contribute for a week  due to my university exams> I will try to resolve the issue and contribute as soon as I can

Thanks for replying. I am sorry to say that I won't be able to contribute for a week due to my university exams> I will try to resolve the issue and contribute as soon as I can

Hi!
No problem!
Thanks for the answer!
Do you think you can start working on this the 26th Setember?
Just let me know. I appreciate your work!

Thanks for replying. I am sorry to say that I won't be able to contribute for a week due to my university exams> I will try to resolve the issue and contribute as soon as I can

Hi! No problem! Thanks for the answer! Do you think you can start working on this the 26th Setember? Just let me know. I appreciate your work!

I can start working from 27th Sep bcoz my last paper is on 27th,

Thanks for replying. I am sorry to say that I won't be able to contribute for a week due to my university exams> I will try to resolve the issue and contribute as soon as I can

Hi! No problem! Thanks for the answer! Do you think you can start working on this the 26th Setember? Just let me know. I appreciate your work!

I can start working from 27th Sep bcoz my last paper is on 27th,

Got it, ok!
Thanks!

Hi @aasimtaif !
I hope everything went great with your exams!
I would love to know about what you will be doing here and if you got to resolve the problem you said you had with the requests!
And don't hesitate to contact me if you need something

Hi @aasimtaif!
I would love to hear from your work in this issue :)

Hi @aasimtaif !
I would like to know about you otherwise I will need to continue with the project by myself!
If you need more time it is ok but let me know!


Upgrade github actions with new node version

Fixes #126

Seems to work: https://github.com/corona-warn-app/cwa-app-ccl/actions/runs/3419483556/jobs/5693061213

I just noticed some dependencies might need additional updating, but I'm not entirely sure because of the limited test capability of this issue, without creating a local environment of sorts (private repo, some tool, ...)
Namely: richardsimko/update-tag and softprops/action-gh-release

@brianebeling

richardsimko/update-tag looks like it was fixed in v1.0.6 so there should be no need for a workflow update. @v1 will refer to the latest v1 version with the fix.

softprops/action-gh-release on the other hand has apparently not been fixed yet although there are open issues and PRs attempting to fix it.

softprops/action-gh-release has been fixed in https://github.com/softprops/action-gh-release/releases/tag/v0.1.15. Since there was no change to the major version it should not require any change to the CCL workflows to use the updated version.

@mlenkeit
Since there seems to be a new CCL release planned I would suggest merging this PR.
The same action updates have been made in other repositories, e.g. cwa-website with positive results and no side-effects.

@MikeMcC399 yes, I'll include these changes.


Mobile - Sort and Filter Functionalities for Spots

Transferred issue to @begumyivli, can be viewed through #631.


gcov output, is for some reason not showing, in this example

however, if we run gcov from terminal, the outputs are generated, so..
PS C:\work\multicon\main_computer\trunk\QNX_UnitTestTest\Debug> gcov.exe .\src\QNX_UnitTestTest.o File '../src/QNX_UnitTestTest.c'
Lines executed:100.00% of 3
Creating 'QNX_UnitTestTest.c.gcov'
Lines executed:100.00% of 3
QNX_UnitTestTest.zip

I'm having a similar issue while running GoogleTest sample1. The last return line is being hit, by the sample tests and gcov is correctly getting it, but the extension is not showing any hits for this specific line:


Non translucent navigation bar aren't positioned properly

Step 1: Are you in the right place?
This is a bug directly related to the code of this repository
Step 2: Describe your environment

Objective C or Swift: 5
iOS version: 12.2
Firebase SDK version: 6.6.0 (Firebase/Auth)
FirebaseUI version: 8.0.4 (FirebaseUIAuth)
CocoaPods Version: 1.5.2

Step 3: Describe the problem:
The pickerViewController doesn't seem to be handling translucent navigation bar properly. It will push the scroll view down leaving a empty padding underneath the navigation bar.
This results is poor padding outside of the safe area for devices with notch.
Steps to reproduce:
Set the properly isTranslucent of the picker's navigation controller ('s navigation bar) to false
See last section for code sample.
Observed Results:

The scrollview embedded in the picker gets push down

Expected Results:

It should properly support the "translucence"?

Relevant Code:
They are many ways to achieve this, here's 3 of them:

In your AppDelegate, call UINavigationBar.appearance().isTranslucent = false in the viewDidFinishLaunchingWithOptions
in your controller presenting your picker, you can access the root navigation controller as well:

let authUI = FUIAuth.defaultAuthUI()
authUI?.delegate = self

let providers: [FUIAuthProvider] = [
    FUIEmailAuth(),
    FUIGoogleAuth(),
    FUIFacebookAuth()
]

authUI?.providers = providers

if let controller = authUI?.authViewController() {
    controller.navigationBar.isTranslucent = true
    present(controller, animated: true)
}

You can also extends from the default picker and set the isTranslucent property from your viewDidAppear to actually see the difference:

import UIKit
import FirebaseUI

class LoginPickerVC: FUIAuthPickerViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
    }

    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)

        navigationController?.navigationBar.isTranslucent = false
    }

}

Work around:

I suppose one could set the navigationbar.backgroundColor to match his/her default color with the translucence.
Obviously (and it might help people facing the same issue), setting this particular navigation bar non translucent will fix the padding issue (you can achieve this through the last 2 code sample for example)

Illustration:

Closed in #754.


Add payload encoding on burp "nested insertion" way

I found that the encoding used by burpbounty is buildUnencodedRequest, maybe add the encoding of buildRequest, like this https://forum.portswigger.net/thread/design-new-extension-problem-with-buildrequest-and-url-encode-5d4b35a6
Can solve more problems. Can this requirement be added?

Hi @nancheal !
That post, Antoni, is me. I have implemented correctly and the payload is not encode if you dont want. Have you any problem with the encode?
Thanks.

thanks for replay, i mean if the payload in "buildRequest" way, the feature(https://portswigger.net/burp/documentation/scanner/auditing#nested-insertion-points) will take effective(https://forum.portswigger.net/thread/design-new-extension-problem-with-buildrequest-and-url-encode-5d4b35a6) like a "auto encode" with burpsuite, but "buildUnencodedRequest" way may not Produces the above effect, would a "auto encode" will be possible? a big thanks

Hi @nancheal,
The burp extender api has no method to implement this, this is done only by its native scanner. I will look to implement it in the future, thanks for the suggestion!
Best regards.

@wagiro, thanks for accept this suggestion, I noticed that backslash-powered-scan (https://github.com/PortSwigger/backslash-powered-scanner) can request such an "auto-encode" request eyIxMjMxMiI6ImRhc2R3cWRxd2QkenE9JTNjJTYxJTYwJTI3JTIyJTI0JTdiJTdiJTVjJnpxd
which decoding is {"12312":"dasdwqdqwd$zq=%3c%61%60%27%22%24%7b%7b%5c&zq%3d"},
I think it should be this buildRequest (https://github.com/PortSwigger/backslash-powered-scanner/blob/master/src/burp/PayloadInjector.java#L113) make "auto encode" worked.
and the buildRequest wiki page(https://portswigger.net/burp/extender/api/burp/iscannerinsertionpoint.html) - "Note: Scan checks should submit raw non-encoded payloads to insertion points, and the insertion point has responsibility for performing any data encoding that is necessary given the nature and location of the insertion point." maybe the buildRequest can "auto encode", i guess


add iso3166 code of Republic of Kosovo

Republic of Kosovo was missing in the ISO 3166 file.
Reference: https://en.wikipedia.org/wiki/Kosovo

Great. Thanks!


feat: add print API

What This PR Does
Adds print to comptime and runtime APIs. It is identical to printOut and printErr, but allows for printing to an arbitrary File.Writer. I also refactored those methods to consume print and de-duplicate code.

I've got a struct that takes a writer as a parameter and has a configurable formatter. I plan on using this in my graphical formatter. This makes the APIs play nicely together.
That is to say, it will probably still be stderr or stdout but the user gets to decide

Sounds cool!


Allow passing 0-length lists of coordinates to DataFrame.

This is an oddity I noticed when working on documentation for the DataFrame.read method in somacore. It's not a bug per se but is a special case that I found unexpected. I dug through back to #538 where this was introduced and didn't find the reasoning behind this particular behavior. It's fine to keep as-is but I figured I would see if we do want to keep this behavior.

Currently, DataFrame allows passing a sequence of coordinates shorter than the number of indexed dimensions:
# df has 4 dimensions

df.read(coords=[1, 2, 3, 4])
# -> [1, 2, 3, 4]
df.read(coords=[1, 2])
# -> [1, 2, unrestricted, unrestricted]
df.read(coords=[1])
# -> [1, unrestricted, unrestricted, unrestricted]

However, this pattern does not continue down to 0 dimensions:
df.read(coords=[])
# -> Not allowed

despite the fact that not passing coordinates at all is allowed:
df.read(coords=None)
# -> [unrestricted, unrestricted, unrestricted, unrestricted]

This change treats the zero-length array equivalent to an array of any other length:
df.read(coords=[])
# -> [unrestricted, unrestricted, unrestricted, unrestricted]

Codecov Report
Base: 79.75% // Head: 90.62% // Increases project coverage by +10.87% :tada:

Coverage data is based on head (5ebd4f4) compared to base (badb5d6).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #910       +/-   ##
===========================================
+ Coverage   79.75%   90.62%   +10.87%
===========================================
  Files          72       30       -42
  Lines        3689     2006     -1683
===========================================
- Hits         2942     1818     -1124
+ Misses        747      188      -559

Flag
Coverage Δ

python
90.62% <100.00%> (-0.05%)
:arrow_down:

r
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

apis/python/src/tiledbsoma/dataframe.py
97.16% <100.00%> (ø)

apis/python/src/tiledbsoma/dense_nd_array.py
89.09% <100.00%> (ø)

apis/python/src/tiledbsoma/sparse_nd_array.py
98.85% <100.00%> (ø)

apis/python/src/tiledbsoma/tdb_handles.py
93.19% <0.00%> (-0.69%)
:arrow_down:

src/include/tiledbsoma/common.h

inst/tiledb/include/tiledb/schema_base.h

R/SOMADenseNdArray.R

src/include/tiledbsoma/column_buffer.h

R/SOMAMeasurement.R

inst/tiledb/include/tiledb/array_schema.h

... and 36 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


NSFW words generated by Text.words in en

The English text.json file (https://github.com/lk-geimfari/mimesis/blob/master/mimesis/data/en/text.json) has some words in the "normal" section that should probably be in the "bad" section. Some candidates for moving to "bad" that I spotted while browsing the list: "cock", "cocks", "pussy", "blowjob", "blowjobs", "booty", "busty", "butt". I only quickly browsed the file, that list is probably very incomplete.
There are also words that are in both "bad" and "normal", although I'm not quite sure why some of them are in "bad", e.g. "camel".
I haven't checked any of the other localisations, other than en.

This is pretty bad. Can you please create PR with fixes?

Can confirm that there are some "bad" words under the "normal" category in Spanish too.


Feature/camel-case-stp-682

Description

controlling the name field

camel casing is not actually that important. we don't do any validation on this, but I'm disallowing spaces
showing error message when a space is entered

Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

[x] Unit test
[x] Click test

Checklist:

[x] My changes do not introduce any new linting errors
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation and versioning
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have rebased onto master and there are no code conflicts

@jenbutongit please add an acceptance criteria to facilitate the review.


FaaS Gateway doesn't work with the JSON format

Expected Behavior
The response should be a JSON-formatted version of the 'text' body.
Current Behavior
The response is currently null or '' for all entries.
Possible Solution
Convert the textual response to JSON.
Steps to Reproduce (for bugs)

Clone repository on Playing With Docker.
Visit the UI page.
Select func_nodeinfo
Select JSON response.
Note null response, test again with Text and observe non-null response.

Can be reproduced with any of the functions that give an output.
Context
Just found it playing around with the default FaaS
Your Environment

Playing with Docker defaults.

(tagging @developius)

This is only to indicate the client-side rendering of the response. The nodeinfo function is plaintext not JSON hence null.

Ah, is there any way to define a function as only having one response format defined?

@popey456963 welcome to FaaS!
There's some documentation here regarding request/response format ->
https://github.com/alexellis/faas/tree/master/watchdog
Essentially the default is whatever content-type comes in - also comes out, but you can override the output content-type easily with an environmental variable.
The gateway UI is just a tester page - for most cases you will send in plain text via the UI.
You can also access the functions curl or your existing websites/apps/APIs.


Fix markdown headers

Just a really minor thing - fixes the header formatting (when viewed inside the Atom Editor)

Thanks.


[BUG] "With achievements" filter not working correctly

Many games without achievements still show with the filter on, not sure why. Only a few (about 100 out of 3800) seem to be hidden this way, not sure why either.

Hello @MakoSipper
Can you please tell me some examples?
names and appids are ok

https://store.steampowered.com/app/556180/Mysterium_A_Psychic_Clue_Game/
Doesn't get filtered out when I select "With achievements", although it doesn't have them.

You are right,
for some reason, this game has 0 achievements (which technically is different to no achievements).
I'll solve this asap.
Thanks

@MakoSipper
This should already be addressed

Fixed in October 2019 release.
Complete changelog at https://steam-backlog.com/changelog


Is the service offline?

I added the service and the bot to my account as it described in readme.md. But GitHub Project Notifier#1101 stays offlline, doesn't response to any command and doesn't send notifications.

Hi there, thanks for the issue. The app is no longer being hosted because it doesn't work with the new GitHub Projects. I have updated the main README to clarify.


Write to stdout

In theory one should be able to do the same with println instead of directly writing to stdout, but no idea how to use it to print the bytes as is

I added two separate options, one that prints secrets as hex. This option would be also useful for a future json that allows you to parse the output programmatically pretty easily afterwards and then the --secret-only option that would help your use case, it is also passed to the search command as it can also display only one item if the all argument is not passed.


chore(deps): update common-dev-assets digest to 472db52

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
626548c -> 472db52

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

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


IRIs of individual terms should be dereferenceable over HTTP

All HTTP URIs in the Linked Data universe should be deferenceable. This is a critical part of Tim Berners-Lee's four Linked Data principles:

Use HTTP URIs, so that people can look up those names.
When someone looks up a URI, provide useful information...

Currently,  the gist ontology URIs are dereferenceable, but the URIs of individual terms are not. This appears to be a violation of the principles stated above, as I understand them. In many implementations I am familiar with, the URIs of individual terms can be dereferenced to receive just that individual term's definition (when the namespace ends in a slash) or the entire ontology (when the namespace ends in a hash). Examples: BIBFRAME, Schema.
This in turn suggests to me that the URIs of individual terms should be versioned, for the same reason that owl:imports should refer to versioned URIs: otherwise, the user cannot control what is returned from his request;  see discussion on issue #127.
In summary, the proposal is that gist terms should have URIs something like https://ontologies.semanticarts.com/gist9.0.0/Person; that these should be dereferenceable; that, like ontologies, the unversioned URI should redirect to the latest version so that a user can control what is returned from his request; and that https://ontologies.semanticarts.com/gist9.0.0/Person and http://ontologies.semanticarts.com/gist8.0.0/Person are independently dereferenceable.
This of course returns us to my earlier discussion on versioning and namespaces, where my proposal to version term URIs was countered by the argument that URIs should be stable and not change every time a new version is released. This is a valid objection, but I'd like to discuss how these two principles should be reconciled.
Even if the gist namespace were hash- rather than slash-final, a request for an individual term should at least return the entire ontology rather than a 404 error. However, I believe the namespace was recently changed from hash to slash, presumably for good reasons, so that is likely not a realistic option.
At a minimum, this issue can be partially addressing by making unversioned term URIs dereferenceable.

URIs of concepts used to be dereferenceable.  IT returned a text page for humans; I don't think it ever returned OWL to a machine.  Not sure what happened to this functionality.

Versioning URIs of individual terms is a bit of a holy grail. Opens up major can of dependency worms, for which no rubust technology exists to support.

I think when you look up a term URI, which is unversioned, you get the current released version's term.   Not sure how else you'd do it.

I think I could write a little API/service that we could run on our web site that would do this.

There is a plan to serve SA ontologies and terms from the DCA server with a lot of additional functionality. I am starting to work on the URI resolver which will handle mapping various URI prefixes to content in triplestores. This will eventually provide content negotiation and additional functionality for exploring ontologies.

Ignore issue of versioned IRIs (which has been dropped) and focus on dereferenceability. Adding to current project to get a status update from @Jamie-SA.

@rjyounes Is there a standard or common way of dereferencing a term? (What info to include, how to present it.) Or, do you have an example you like?

Via content negotiation, it should return either the RDF or, if HTML is requested, some sort of documentation, such as Widoco. I don't know if this is a standard but this is what I see online.
Sometimes RDF is returned in the browser, sometimes in a download file. I have a preference for the former - you can always paste it into a file if that's what you want - because if you just want to view it quickly you want an immediate response.
IMO it would be ideal to return just the portion of the ontology or documentation for that individual term, but I don't see it done that way in most of the major the examples I've looked at - skos, prov, dcterms. Schema does (at least in the HTML version). Most are returning the entire document, but in the case of HTML the requested term is displayed at the top of the page. Perhaps there are technical barriers to returning just the single term - @Jamie-SA could comment.

Section 2.3 of the book Linked Data by Heath and Bizer provides an excellent discussion. I don't think there's a free version online, though.

Thanks. I found some good info here:
http://tomheath.com/papers/bizer-heath-berners-lee-ijswis-linked-data.pdf

There is a bit of a technical problem if the namespace has a hash symbol (#) in it, which many old namespaces have. The problem is that what follows the hash is not sent to the server, therefore the server can only see that namespace being requested and not the specific term.
This can be addressed with javascript on the client side, but that requires programming versus just serving a file.

@Jamie-SA Right, but fortunately our namespace ends in slash rather than hash.

And this is one of the reasons it was changed years ago (it used to end with a hash).

@rjyounes @Jamie-SA
Jamie, can you have another look at this, it is deferred, should we close or activate?