[Doc] Add specific documentation on the available fw cmd controllers

The existing documentation was honestly speaking rather misleading than helpful :) I hope this improved now

Codecov Report

Merging #765 (beaf8b2) into master (e7f9962) will decrease coverage by 4.90%.
Report is 366 commits behind head on master.
The diff coverage is 25.91%.

:exclamation: Current head beaf8b2 differs from pull request most recent head 498995a. Consider uploading reports for the commit 498995a to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #765      +/-   ##
==========================================
- Coverage   35.78%   30.88%   -4.90%
==========================================
  Files         189        7     -182
  Lines       17570      832   -16738
  Branches    11592      505   -11087
==========================================
- Hits         6287      257    -6030
+ Misses        994      133     -861
+ Partials    10289      442    -9847

Flag
Coverage Δ

unittests
30.88% <25.91%> (-4.90%)
:arrow_down:

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

Files Changed
Coverage Δ

...ontroller/test/test_load_diff_drive_controller.cpp
11.11% <0.00%> (ø)

...ive_controller/test/test_diff_drive_controller.cpp
12.66% <7.81%> (ø)

diff_drive_controller/src/odometry.cpp
42.16% <11.11%> (ø)

diff_drive_controller/src/speed_limiter.cpp
46.55% <11.11%> (ø)

...iff_drive_controller/src/diff_drive_controller.cpp
47.13% <46.94%> (ø)

...de/diff_drive_controller/diff_drive_controller.hpp
100.00% <100.00%> (ø)

...troller/include/diff_drive_controller/odometry.hpp
100.00% <100.00%> (ø)

... and 189 files with indirect coverage changes


Route planning with custom pattern

Create a route planner that in the constructor you could add the pattern you want and it sort the swaths following that order.
Versions of the spiral pattern could be coded with this planner as:
f2c::rp::CustomOrder sorter(swaths, {1, 2});
or
f2c::rp::CustomOrder sorter(swaths, {6, 1, 5, 2, 4, 3});
or
f2c::rp::CustomOrder sorter(swaths, {1, 6, 2, 5, 3, 4});

Maybe we should change the name of this class to f2c::rp::CustomPattern. While f2c::rp::CustomOrder needs the order vector to be the same size of the swaths, f2c::rp::CustomPattern doesn't.
Rules are:

If number of swaths / order size < 1, don't do anything
Else if number of swaths % order size == 0, do the pattern in bulks of order vector size.
Else do the pattern in bulks of order vector size. The last swaths not covered by the pattern mantain the order.

So f2c::rp::CustomPattern sorter(swaths, {3, 2, 1, 0}); would convert swaths
(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) ---> (3, 2, 1, 0, 7, 6, 5, 4, 8, 9)


[Question] [Documentation] - Player live file

I am using the BlueMap Command Line Tool and would like to display the player's position in my single player world.
I found a player file in the web/live folder and would like to save the data there.
Can you tell me if this is possible and how the data needs to be saved?
Maybe this could be included in the documentation.

I didn't test it but you should be able to put {"players":[{"uuid":"your-uuid","name":"your-name","world":"id-of-the-world","position":{"x":your-x-position,"y":your-y-position,"z":your-z-position}}]} in your players file in the live folder next to the data folder.

I can see my player in the list, but not on the map and my playerhead isn't loading.
I have testet both uuid`s wich I found on namemc.com).

ahh I think you have to put the playerhead somewhere with the uuid as the name

ahh I think you have to put the playerhead somewhere with the uuid as the name

yes you have to put your playerhead as png into assets/playerheads/ with your uuid as name

I can see now the playerhead, but it can't see it on the map.
It seems to be grayed out. (Button disabled)

what did you pit in the world tag in the players file?

render file
id: "1_17"
name: "1.17 Testwelt"
world: "1_17"
player file
{"players":[{"uuid":"4f64bf725a174033b8cdcc9f0a11adb5","name":"Estragon","world":"1_17","position":{"x":10,"y":150,"z":200}}]}

Ahh I see the world tag should be the value of maps.1_17.world in the data/settings.json

Thank you now it is working!
Vielen Dank für deine Hilfe ;)

@DreiMu Do you know where I can set the highres loading size (renderdistance) when the website is loaded?

Do you know where I can set the highres loading size (renderdistance) when the website is loaded?

You would have to change the sourcecode of the website (here) to do this, I don't see a config file for this

Ok, thank you!

Do you know where I can set the highres loading size (renderdistance) when the website is loaded?

Solution:

Open BLUEMAP-WEBFOLDER\js\app.NUMBER.js
Search for loadedHiresViewDistance:200
Replace the number.


Use EF 6?

Would be possible to use EF 6 for the Database context?
If not currently possible, do you think adding this functionality would be complicated as I see you have used EF Core mostly throughout the definition of MultiTenantDbContext.
If it wouldn't require a big change in the library, I would wish to include this, your guidance would very much be appreciated.

hi @michaelkaboro
I don't think it would be that complicated--I'm not aware that I am using anything that is not in EF6. The bigger challenge is that I use MacOS so I can't easily try to do an EF6 version. I could install Windows 10 easily enough I guess. It's probably something not in the next release.

Ok, I will work on this and send a pull request.
I don't think you would need to install Windows 10 though, for this, EF6 from version 6.4 is .net core compatible. Or is there something I am missing?

@michaelkaboro  No, I didn't realize EF6 was not .Net Core compatible. I'd welcome a pull request. I wonder if we should add a new project e.g. Finbuckle.MultiTenant.EntityFramework6.

EF6 v6.3 onwards is compatible with .net Core. Let me work on the EF6 version and do a pull request.

Thanks @michaelkaboro
Do me a favor and submit the pull request against the 6.0 dev branch. Also please set it up as a new Project in the solution, similar to the EFCore one. Hopefully not many changes are needed and the tests can all be carried over!

Doing some cleanup -- going to close this one out as we're not planning to target EF6 at this time,

@AndrewTriesToCode  Is the a time frame where you do plan on targeting EF6 / .net 6? Thanks sharing your project.

Working on it now, planning to release the same day .NET 6 drops officially

Just to be clear, I'm only testing out with EF Core 6, not legacy EF6


Another UpdatedAt field use case

What version of Go are you using (go version)?
go version go1.10.1 darwin/amd64
Which database and its version are you using?
PostgreSQL 10
Example data model:
type Student struct {
    ID                         uuid.UUID     `json:"id" gorm:"column:student_id"`
    Name                   string            `json:"name"`
    DateOfPassage   time.time      `json:"dateOfPassage" gorm:"date_of_passage"`
    CreatedAt            time.Time     `json:"createdAt" gorm:"created_at"`
    UpdatedAt           time.Time     `json:"createdAt" gorm:"created_at"`
    DeletedAt            time.Time     `json:"createdAt" gorm:"created_at"`
}

Every time I update a field in this model, Gorm update the UpdatedAt field, in most of the case it is a good thing.
Now, for exemple every time a student enter in the room I want to update the DateOfPassage field to now.
Gorm also update the UpdatedAt field... I don't want. Is there a way to prevent that?
Why I don't want to use the field UpdatedAt as DateOfPassage:

I have lots of property like that in a real use case
I want to keep the field UpdatedAt for user's modifications (Ex: when he change his Name)

use
db.Model(&student).UpdateColumn("date_of_passege", date)
This function execute update without calling callbacks. The code that update UpdatedAt field with time.Now is just a default gorm callback.


Write a TypeScript program to find the maximum sum of a contiguous subarray

Description
Write a TypeScript program to find the maximum sum of a contiguous subarray
Maximum subarray problem is the task of finding the contiguous subarray within a one-dimensional array of numbers which has the largest sum. For example, for the sequence of values −2, 1, −3, 4, −1, 2, 1, −5, 4; the contiguous subarray with the largest sum is 4, −1, 2, 1, with sum 6.
Input  : [-2, -3, 4, -1, -2, 1, 5, -3]
Output : 7

How to contribute

Save the solution in program/FindTheMaximumSumOfAContiguousSubarray.ts file
Add FindTheMaximumSumOfAContiguousSubarray.ts file in find-the-maximum-sum-of-a-contiguous-subarray folder

!assign


Add assert_file_contains, assert_file_size_equals. Also assert_file_empty, assert_file_not_empty from previous PR.

This works on OS X, but may need to be adjusted for linux. You'll want to revert 457d540 before merging.
Includes PR: https://github.com/ztombol/bats-file/pull/1

Will this be merged? I actually came for this originally and now realise those functions don't exist

@crazycodr You're welcome to use my repo, but this project appears to be unmaintained. @ztombol has not been active on GitHub for over 18 months.

Will probably fork it then
Le ven. 26 oct. 2018 12:02 p.m., e271828-<EMAIL_ADDRESS>a
écrit :

@crazycodr https://github.com/crazycodr You're welcome to use my repo,
but this project appears to be unmaintained. @ztombol
https://github.com/ztombol has not been active on GitHub for over 18
months.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ztombol/bats-file/pull/2#issuecomment-433458109, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEMduVuJSUEOyTMn3lYHozWLxRjbRF8Xks5uozH4gaJpZM4MvrJQ
.


fixed gzip decompression

It should be solved by the last pull request. I'm closing this now. In case of any issues, please raise a new issue.


L10n and i18n page can not found

Request type

[x] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[ ] Correction or update

Details

https://developer.mozilla.org/ko/docs/Web/Localization
can not found page

This page does not exist; did you find it linked from somewhere?

The English page has been deleted, so there should not be a Korean page either. If there is a link to it somewhere, that needs to be fixed.


Read multi-line audio configuration file.

https://github.com/TrickyTroll/good-bot/blob/d1f4053740872682a83d3a08351788e3f84615a3/goodbot/funcmodule.py#L388-L388

Closing the issue
This is no longer a problem. Users can provide many read instructions in the same scene.


Smooth scroll doesn't exist for Chrome

I'm trying to scroll the columns via mousewheel, but it is very jittery and jarring on Chrome.
Smooth scroll works perfectly for Firefox. Can the same be implemented in Chrome?

I've addressed this and created a pull request


MAINT: Use new conda envs w/ travis

Coverage remained the same at 100.0% when pulling 5eec69ad7ee8da1ff1fcb8aafa7ed42b292d6ab6 on jarvis into 793798bb3b5306618752fad33ca1a99bef645c7d on master.


CORS issue

I just npm ied the package and it was working for a while but now localhost:3000 is blocked by CORS. I was loving it while it was working 🤕
request error:
Access to fetch at 'https://rlp-proxy.herokuapp.com/v2?url=https://www.npmjs.com/package/@dhaiwat10/react-link-preview'
from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on
the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource
with CORS disabled.

nevermind, I'm a dummy. lol 😋

This is how I'm invoking it:
<LinkPreview
          id="Link"
          fallback={<Fallback />}
          url={props.link}
          width="60vw"
          borderRadius="0"
          openInNewTab={true}
          backgroundColor="#dac59f"
/>

This is weird. I just tried it out locally and everything is working fine for me. Can you try on another machine maybe? Or another browser?

it's working now. Though I made a customFetcher function and the element isn't making calls to the api I deployed. I'm using a js file. do you think changing it to a .jsx file would help? Or is they component only able to read typescript functions? This is the function:
// I've also tried just directly returning response.json() as well as just the naked response

async function customFetcher(url) {
    const response = await axios.get(
      `https://link-previews47.herokuapp.com/v2?url=${url}&
      description=${post.descriptionDisplay}`
    )
    const json = response.json()
    return json.metadata
  }

scratch that, cors is blocking me again, but if I can get this customFetcher to work it'll be inconsequential.

No idea to be honest. Lol


refactor(merge): Create better typings

Now refers n-arguments in all cases, including arguments with tailing concurrency and Scheduler
Adds dtslint tests

Please note the "unhappy path" in the dtslint tests. It's not ideal, but everything is much better than it was before. I just struggled with how to ensure merge(a$, 23, b$) didn't match the signature for (pseudo-code here:) merge(...args: ObservableInput<T>, concurrency: number)

Blocked on https://github.com/microsoft/TypeScript/issues/39595

Twitter brought me here. If I understand correctly y'all basically want to achieve something like f(...a: [string, ...string[], number]), here's a way you can do it. Notice the errors are pretty friendly as you would want them to be. If you like it, I can go deep and explain how it works or answer questions if y'all want.
Playground
declare function f<A extends Cast<Identity<StringStringsNumber<A>>, any[]>>(...a: A): A;

f('blah1', 1);
f('blah1', 'blah2', 1);
f(1);
f(1, 2);
f('blah1', 'blah2', 1, 2, 3);
f();
f('a');
f('a', 'a');
f(1, 'a');

type StringStringsNumber<A extends any[]> =
  Head<A> extends string
    ? Tail<A> extends number
        ? Pop<Shift<A>> extends string[]
            ? A
            : [Head<A>, ...Strings<Pop<Shift<A>>>, Tail<A>]
        : Tail<A> extends string
            ? Push<A, number>
            : Push<Pop<A>, number>
    : Head<A> extends undefined
        ? [string, number]
        : Unshift<Shift<A>, string>;

type Strings<A extends any[]> =
  Lazy<A, Cast<{ [K in keyof A]: string }, any[]>>

type Head<A extends any[]> = Lazy<A, A extends [] ? undefined : A extends [infer H, ...infer _] ? H : never>;
type Tail<A extends any[]> = Lazy<A, A extends [] ? undefined : A extends [...infer _, infer T] ? T : never>;
type Shift<A extends any[]> = Lazy<A, A extends [] ? [] : A extends [infer _, ...infer S] ? S : never>;
type Unshift<A extends any[], X> = Lazy<A, [X, ...A]>;
type Pop<A extends any[]> = Lazy<A, A extends [] ? [] : A extends [...infer P, infer _] ? P : never>;
type Push<A extends any[], X> = Lazy<A, [...A, X]>;
type Cast<T, U> = T extends U ? T : U;
type Lazy<A extends any[], T> = any[] extends A ? any[] : T;
type Identity<T> = { [K in keyof T]: T[K] }

Not to mention no pressure to go ahead with this, I can understand it might come across as "hacky" or whatever (altho it's not imo).
Also please feel free to ping me henceforth if you want some help with some really tricky TypeScript problem, I'll try my best! :) Not sure if y'all can tell but I'm also the guy behind this :P

Closed in favor of #5859


Remove Config Editor

Remove UI editor, because it works not pretty well.
If someone needs it again, can add and contribute a better Editor Config which is working

Fix #231
Fix #181
Fix #149


Fix info collect not working bug

New cli for collectInfo does not seem to work, fix the bug to keep the arguments in line with the Java code.

the pr will break compatible of the deprecated legacy bash CLI.
bin/alluxio-bash collectInfo local ./output/ --> bin/alluxio-bash collectInfo local --output-dir ./output/
this could be fixed if it's really needed

alluxio-bot, merge this please


feat: change american logo

Alaska Airlines Pull Request
Instead of the logo looking like:
AmericanAirlines
The logo now looks like
American
Airlines
Fixes: # (issue, if applicable)
Type of change:
Please delete options that are not relevant.

[x] Revision of an existing capability

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Orion Design System Team

The ciBuild step appears to be adding extra content to the bottom of the svg document:

:tada: This PR is included in version 3.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


New "Click to Exclude in Search" feature is underpowered

Type: Bug
If I search for a common string, say "dialog" in a front-end app, I get a whole bunch of hits across dozens of folders, including documentation, generated files, etc. This is a perfect situation for the new feature where I can right click to exclude a folder in search and in the simplest case it works fine. Where it fails is when I want to exclude multiple folders- each time I click "Exclude Folder from Search", it wipes out the previously excluded content. I expected it to hold onto everything I already excluded given the current search and append the new folder
VS Code version: Code 1.73.0 (Universal) (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:38:50.881Z)
OS version: Darwin arm64 21.6.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M1 Pro (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
5, 5, 5

Memory (System)
16.00GB (0.07GB free)

Process Argv
--crash-reporter-id 825a5761-84d3-4cb7-8987-50d7dc9db3e1

Screen Reader
no

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.2.6

vscode-deno
den
3.14.1

gitlens
eam
13.0.4

EditorConfig
Edi
0.16.4

prettier-vscode
esb
9.9.0

terraform
has
2.25.0

csharp
ms-
1.25.2

vsliveshare
ms-
1.0.5762

vsliveshare-audio
ms-
0.1.91

vsliveshare-pack
ms-
0.4.0

vscode-conventional-commits
viv
1.24.3

markdown-all-in-one
yzh
3.4.3

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848:30577860
nodejswelcome1cf:30587006
fc301958:30595537
vscutilityc:30590830
2e4cg342:30602488
gswce2:30605431
iaj6b796:30604794
dbltrim-noruby:30604474

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.73.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

/duplicate of #165997

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Parallels Support:  Box needed for Parallels provider

Attempted to get DrupalVm working with Parallels on El-Capitain.  When I do vagrant up I get the following error
The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.

If you're adding a box from HashiCorp's Atlas, make sure the box is
released.

Name: geerlingguy/ubuntu1404
Address: https://atlas.hashicorp.com/geerlingguy/ubuntu1404

When I visit that URL it appears that there is no box for the parallels provider .

Update I got parallels to work:
Config.yml
I had to change vagrant_box since there is no geerlingguy/ubuntu1204 box for parallels.    Searched here:
https://atlas.hashicorp.com/boxes/search?provider=parallels
Ended up picking:  parallels/ubuntu-14.04  although puphpet/ubuntu1404-x64  also seemed like a reasonable choice.
Parallels choked on the default ip address in vagrant_ip I changed it to  <IP_ADDRESS> I need to experiment looking for a better IP though.
vagrantfile
Since I have virtual box AND parallels installed out of the box I had trouble telling vagrant to use parallels instead of virtual box.  I found that I could simply move the parallels section above the virtualbox section:
  # Parallels.
  config.vm.provider :parallels do |p, override|
    override.vm.box = vconfig['vagrant_box']
    p.name = vconfig['vagrant_hostname']
    p.memory = vconfig['vagrant_memory']
    p.cpus = vconfig['vagrant_cpus']
  end

# VirtualBox.
  config.vm.provider :virtualbox do |v|
    v.name = vconfig['vagrant_hostname']
    v.memory = vconfig['vagrant_memory']
    v.cpus = vconfig['vagrant_cpus']
    v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
    v.customize ["modifyvm", :id, "--ioapic", "on"]
  end

After that I had a fully functioning DrupalVM!

@aweingarten - One other note—even though the Parallels config is by default later than the VirtualBox config, you can tell vagrant at runtime which provider to use (since I have VMware and VirtualBox I have to do this a lot):
# Build the VM with the VirtualBox provider, even if others are present/higher in Vagrantfile.
vagrant up --provider=virtualbox

# Same, but with VMware Fusion
vagrant up --provider=vmware_fusion

# Same, but with Parallels.
vagrant up --provider=parallels

Also, I just made sure example.config.yml contains a listing of boxes that can be used:
# `vagrant_box` can also be set to geerlingguy/centos6, geerlingguy/centos7,
# geerlingguy/ubuntu1204, parallels/ubuntu-14.04, etc.
vagrant_box: geerlingguy/ubuntu1404

I hope that's sufficient for now. I've only had a few people report using Parallels, so I don't want to spend too much time/documentation on using Drupal VM with Parallels, especially since I don't have a license or an official minimal box that I manage for it.

Any updates on Parallels?

Parallels' boxes are controlled by Parallels, and since I don't have a licensed copy of Parallels, I'm unable to provide anything better than 'hopefully it works'-levels of support for Parallels boxes.


Add support for 'sync' to publish

Is your feature request related to a problem? Please describe.
I am deploying a react-static site with a good bit of media (1GB of MP3 an growing). As is, it looks like amplify is pushing all of it every time, even though that isn't necessary. It would be more efficient to do the equivalent of an s3cmd sync, rather than pushing all files up every time I publish.
Describe the solution you'd like
I'd like to see amplify do the equivalent of an s3cmd sync, checking the hashes of the uploaded files against the ones that should upload, and only uploading new/changed files.
Describe alternatives you've considered
Publishing the MP3s to a separate bucket. This process just unnecessarily complicates deployments.
Additional context
N/A

This would be great, I'm getting +30 minute publish cycles...so anything we can do to reduce it by publishing just a delta would be great...even if it's just storing a hash list of the last files from amplify publish and then an amplify publish -delta command that just does the ones that have changed.

@GeorgeBellTMH We released Amplify Console Hosting support last year which could help with the publish lifecycle. Are you sing that option or S3+CloudFront?

I am fine now, there was another ticket that was the cause (basically it was uploading sequentially instead of in parallel)


Wayland api fixes

Align APIs used in Wayland driver to changes in LVGL core.

Thank you very much, Francesco!


helm upgrade is better to respect the live spec.replicas value

we use helm to upgrade a release, usually, the change is just the app version, and keep others same as before. spec.replicas is a required field for statefulset, so we must include it in the Chart, or it will have a default value of 1 if we delete it from the Chart.
the current helm upgrade will overwrite the live spec.replicas which is dynamically updated by horizontalpodautoscaler, for example, the value of spec.replicas in the Chart was 2, but it was eventually updated to 4 by the horizontalpodautoscaler. if we deploy a new version using helm upgrade, (we keep the original spec.replicas in the Chart, it is still 2), the spec.replicas is changed back to 2, and kubenets  will terminate pod-3, pod-2, pod-1 once(, only keep pod-0), which is very dangerous. we want helm upgrade can respect the live spec.replicas in the cluster and ignore the value in the Chart, thus it can maintain the necessary pods to serve the current loads.

https://github.com/helm/helm/issues/7090#issuecomment-605682145

@tianchengli Is this answered in https://github.com/helm/helm/issues/7090#issuecomment-605759355 by @naseemkullah ?

remove replicas field completely, it will respect the replicas number managed by HPA.

@hickeyma yes, the workaround there works for me. thanks.


Incorrect output for unit test example in tensorflow/tensorflow/lite/micro/examples/hello_world/hello_world_test.cc

@tensorflow/micro
System information
Laptop Model: Inspiron-7370
OS: Ubuntu 18.04.5 LTS x86_64
Host: Inspiron 7370
Kernel: 5.4.0-42-generic
Uptime: 4 hours, 48 mins
Packages: 2256
Shell: bash 4.4.20
Resolution: 1920x1080, 1920x1080
DE: GNOME 3.28.4
WM: GNOME Shell
WM Theme: Adwaita
Theme: Ambiance [GTK2/3]
Icons: Ubuntu-mono-dark [GTK2/3]
Terminal: gnome-terminal
CPU: Intel i7-8550U (8) @ 4.000GHz
RAM: 8GB
GPU: Intel UHD Graphics 620
Memory: 4790MiB / 7573MiB

TensorFlow installed from (source or binary): git clone https://github.com/tensorflow/tensorflow.git
Tensorflow version (commit SHA if source):
Target platform (e.g. Arm Mbed OS, Arduino Nano 33 etc.): Mbed OS board (but this is irrelevant since this test runs locally)

Describe the problem
When I make a change in the hello_world_test.cc file such as for example changing a value to something that I know should return an error such as checking:
input->data.f[0] = 4.f;
  invoke_status = interpreter.Invoke();
  TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, invoke_status);

  value = output->data.f[0];
  TF_LITE_MICRO_EXPECT_NEAR(-0.959f, value, 0.05f);

when I run this test
run make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test

I should obtain:
Testing LoadModelAndPerformInference
[whatever this value is] near value failed at tensorflow/lite/micro/examples/hello_world/hello_world_test.cc:94
0/1 tests passed
~~~SOME TESTS FAILED~~~

Instead, I obtain the following:
~~~ALL TESTS PASSED~~~'
tensorflow/lite/micro/examples/hello_world/Makefile.inc:33: recipe for target 'test_hello_world_test' failed
make: *** [test_hello_world_test] Error 1

In other words, the "tensorflow/lite/micro/testing/micro_test.h" framework incorrectly asserts if tests have passed and prints "ALL TESTS PASSED" when some tests have in fact failed. Also, it doesn't specify which tests failed (or the line in hello_world_test.cc). As seen in the error message this is probably a problem with the Makefile.

Please provide the exact sequence of commands/steps when you ran into the problem
me$ git clone https://github.com/tensorflow/tensorflow.git
me$ ls
/tensorflow
me$ cd tensorflow/tensorflow/lite/micro/examples/hello_world/
me$ nano hello_world_test.cc

Changed the test comparison values at the bottom to make them fail on purpose i.e
input->data.f[0] = 4.f; // this was "input->data.f[0] = 5.f;" so setting it to 4 should cause an error as sin(4) != sin(5)
  invoke_status = interpreter.Invoke();
  TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, invoke_status);

  value = output->data.f[0];
  TF_LITE_MICRO_EXPECT_NEAR(-0.959f, value, 0.05f);

me$ cd ~
me$ cd tensorflow
me$ run make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test
~~~ALL TESTS PASSED~~~'
tensorflow/lite/micro/examples/hello_world/Makefile.inc:33: recipe for target 'test_hello_world_test' failed
make: *** [test_hello_world_test] Error 1

Confirming that this issue is reproducible.
The root cause is the -e flag to bash at this line.
Modifying hello_world_test.cc to cause an error and then running the following command:
tensorflow/lite/micro/testing/test_linux_binary.sh tensorflow/lite/micro/tools/make/gen/linux_x86_64/bin/hello_world_test '~~~ALL TESTS PASSED~~~'

results in no output log on the terminal (while the error log is in the /tmp directory):
$ cat /tmp/test_linux_binary/tensorflow/lite/micro/tools/make/gen/linux_x86_64/bin/hello_world_test/logs.txt
Testing LoadModelAndPerformInference
-0.959f (-1.0*2^-1) near value (-1.0*2^-1) failed at tensorflow/lite/micro/examples/hello_world/hello_world_test.cc:119
0/1 tests passed
~~~SOME TESTS FAILED~~~

The issue is that the -e flag causes the test_linux_binary.sh script to exit before it has a chance to check whether the test passed or failed.
Removing the -e flag fixes the issue.
$ tensorflow/lite/micro/testing/test_linux_binary.sh tensorflow/lite/micro/tools/make/gen/linux_x86_64/bin/hello_world_test '~~~ALL TESTS PASSED~~~'
tensorflow/lite/micro/tools/make/gen/linux_x86_64/bin/hello_world_test: FAIL - '~~~ALL TESTS PASSED~~~' not found in logs.
Testing LoadModelAndPerformInference
-0.959f (-1.0*2^-1) near value (-1.0*2^-1) failed at tensorflow/lite/micro/examples/hello_world/hello_world_test.cc:119
0/1 tests passed
~~~SOME TESTS FAILED~~~

And running the test via the Makefile also works as expected:
$ make -f tensorflow/lite/micro/tools/make/Makefile -j8 test_hello_world_test
tensorflow/lite/micro/tools/make/Makefile:303: warning: overriding recipe for target 'tensorflow/lite/micro/tools/make/downloads/ruy'
tensorflow/lite/micro/tools/make/Makefile:303: warning: ignoring old recipe for target 'tensorflow/lite/micro/tools/make/downloads/ruy'
tensorflow/lite/micro/tools/make/Makefile:303: warning: overriding recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_grayscale'
tensorflow/lite/micro/tools/make/Makefile:303: warning: ignoring old recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_grayscale'
tensorflow/lite/micro/tools/make/Makefile:303: warning: overriding recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_int8'
tensorflow/lite/micro/tools/make/Makefile:303: warning: ignoring old recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_int8'
tensorflow/lite/micro/testing/test_linux_binary.sh tensorflow/lite/micro/tools/make/gen/linux_x86_64/bin/hello_world_test '~~~ALL TESTS PASSED~~~'
tensorflow/lite/micro/tools/make/gen/linux_x86_64/bin/hello_world_test: FAIL - '~~~ALL TESTS PASSED~~~' not found in logs.
Testing LoadModelAndPerformInference
-0.959f (-1.0*2^-1) near value (-1.0*2^-1) failed at tensorflow/lite/micro/examples/hello_world/hello_world_test.cc:119
0/1 tests passed
~~~SOME TESTS FAILED~~~

make: *** [tensorflow/lite/micro/examples/hello_world/Makefile.inc:34: test_hello_world_test] Error 1

I have an internal change under review that will fix this issue.


Upload file using "POST"

It's smilier to #413 . I closed that issue because I got the problem in upload method now....
Latest version (0.10.6)
Currently my parameter:
var params = {
	f_oc: "avatar-u",
	f_aaid: f_aaid,
	f_image: RNFetchBlob.wrap(s_filepath)
};

and my upload code is:
const url = "http://<IP_ADDRESS>:6671/content-u";

RNFetchBlob
.config({
	trusty : true
})
.fetch(
	'POST',
	url, {
		'Content-Type' : 'multipart/form-data',
	}, params)
.then((res) => {
	console.log(res);
	callback(res);
})
.catch((errorMessage, statusCode) => {
	console.log("Error: "+ errorMessage + " - " + statusCode);
})

The code seems like no problem but I got red screen error "JSON value (... params) of type NSDictionary cannot be converted to NSString"
I tried to follow the example to convert params to an array (Add [] ) but the app will force close.

I found the problem. This is the correct format of params.
Thanks
		var params = [{
			name: "f_oc",
			data: "avatar-u"
		}, {
			name: "f_aaid",
			data: f_aaid
		}, {
			name: "f_image",
			filename : 'avatar.png', // elements without property `filename` will be sent as plain text
			data: RNFetchBlob.wrap(s_filepath)
		}];

what is the name in the params? How to upload a file with params(other data)?

@gitlovenotwar  The name of the params is depends on your server. In my situation, the name is f_image.
filename parameter is use for make data not sent as plain text.
Finally the data is the path of the file and use "RNFetchBlob.wrap" function to make it sent as a file

okay, so name is the key for the server for the file name?, so in order to send more data, it will be like this?
body = [ {
   name: "f_image",
   filename : 'avatar.png', // elements without property `filename` will be sent as plain text
   data: RNFetchBlob.wrap(s_filepath)
},
// ... my other data to be sent
{
   name: "id"
   data: "1"
}, {
   name: "last_name"
   data: "Doe"
},
....]

Nope..  Name is the key of your data.
What's the meaning of "send more data?"

does the example on my code, correct?

Yes, that's correct

I see, thank you :)

@wayne1203 you're a God! thanks man, been struggling with this solution for almost a week! i was getting frustrated. Kudos for you mate.


feat(workspace): Add skeleton workspace data source

Pull Request
🤨 Rationale
https://dev.azure.com/ni/DevCentral/_workitems/edit/2527387
👩💻 Implementation

npm run generate
Add to provisioning example file
Fill in README
Update data source base and test routes

🧪 Testing
Validated the datasource is available locally
✅ Checklist

[X] This PR has a title that follows the commit message format.

:tada: This PR is included in version 3.2.0 :tada:
The release is available on:

v3.2.0
GitHub release

Your semantic-release bot :package::rocket:


feat: add aiding in errors (R&D)

This is something that I think it could be useful. But there's only so much we can do and this feels sooo hacky I'm considering dropping it.
Still. it's cool. It's thought for unexpected exceptions that one has in their streams. Rxjs does a good job obfuscating what went wrong... if the exception is raised in one of your functions, then you can find it in the stack trace, but if it's raised by rxjs (e.g. returning a non Observable-like in a switchMap), then it's very cryptic.
This makes 2 things:

Changes the name of the patched observable's next/error/complete functions to contain the debugTag (if it has any)
Adds the source stream that dispatched the error, so it can be studied later on if it turns out to be uncaught.

Result for the worst case (rxjs throwing an error):

Note the warning before the browser logs the uncaught exception, and in the stacktrace you get to see the last stream that did next

I think that this is really cool and that it's something that could be very useful to improve de development experience with RxJS.
The only question is: does this functionality have to be inside of rxjs-traces? Would it be possible for the consumer of rxjs-traces to implement this functionality themselves? I'm just thinking aloud, and FTR: I don't think that it's a big deal that this functionality lives inside of rxjs-traces, I just wish that it was possible to do this "from the outside".

The only question is: does this functionality have to be inside of rxjs-traces? Would it be possible for the consumer of rxjs-traces to implement this functionality themselves?

I've been thinking about this, because I'd like to make it more modular, but I think it's not: it uses trace info to find what tags are related to the operator that triggered the error, and the underlying tag to name the observer of those observables.


distributed training example for c++

Hi,
We have distributed training example for python (resnet50_trainer.py) instead of a C++ version.
Do we have a similar example in C++ version, or could someone give a quick idea or hint for the distributed training framework in C++?
Thanks!

Hi, there's no such example available in this repo. Caffe2 has most of its training tools in Python, without any underlaying C++ counterpart. If you have some concise example code, I'm happy to add it to this repo.


Update alexit.toml for testnet 15

Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[ ] Only one toml is added in this PR
[ ] The file being added is indeed a .toml file
[ ] The toml being added is to the correct folder, and only to the correct folder
[ ] The eth_hot_key and eth_cold_key are present
[ ] The email, discord, elements telegram, and twitter fields are present and valid

Update alexit.toml for v0.20 #1180
Add alexit as a pre-genesis validator #817


Rustup

@bors r+

:hourglass: Testing commit 885ea236018ed70fdcff44131e92510928c86496 with merge 10d8c3572cff05fe79d472c405a1ab171eadf1da...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 10d8c3572cff05fe79d472c405a1ab171eadf1da to master...


Greek characters occupy fullwidth

Description of the problem or steps to reproduce
The following script
let Δt = 0
let α = 0

echo Δt, α

results

Greek characters occupy fullwidth but should be halfwidth.
Specifications
Version: 1.4.0
Commit hash: af520cf
Compiled on January 26, 2018
OS: macOS
Terminal: iTerm2

This is not happening for me even with the same setup (macOS, iTerm2):

I'm not quite sure what the issue could be. What filetype is micro detecting?

That was .nim file (Nim programming language code) but also in .txt file, I can see the behavior.

How can I force to the non-east-Asian context?

My locale is:
$ locale
LANG="ja_JP.UTF-8"
LC_COLLATE="ja_JP.UTF-8"
LC_CTYPE="ja_JP.UTF-8"
LC_MESSAGES="ja_JP.UTF-8"
LC_MONETARY="ja_JP.UTF-8"
LC_NUMERIC="ja_JP.UTF-8"
LC_TIME="ja_JP.UTF-8"
LC_ALL=

and temporarily change and set locale variable LANG to "en_US.UTF-8"
# fish
set LANG "en_US.UTF-8"

resolves the problem. Reverting the locale to "ja_JP.UTF-8" reproduces the problem.


Audit syndication feed and templates

https://docs.djangoproject.com/en/1.8/ref/contrib/syndication/

everything looks good


[Questions] Mapping ALT in insert mode - OS: Windows

Hi,
I just want to recap something I tried in mapping Alt in Windows for Insert-mode. Want to see if the plug-in's author or anyone has any comments / suggestions.
Context:

I did a bunch of search and knew that mapping Alt isn't the easiest thing to do for vi/vim in general, for multiple platform. (not to mention code-mirror layer).
Still want to map `Alt for some quick navigation from home row in insert mode.
Ctrl is used by a lot of other plug-in's hotkeys as well as in other programs (hence, habits).
Please do note that I'm on Windows so Alt-[character] doesn't give special characters like Mac

What I tried and results
The objective is I want to try mapping Alt + `[h,j,k,l] for navigation in insert mode. Before trying to map, I made sure: There's no shortcut mapped to that, and pressing the combo doesn't create any effect.
Tried:

map <A-h> <Left> - works in normal mode, not in insert mode.
imap <A-h> <Left> - doesn't work in insert mode
iunmap <A-h> (and j,k,l)  then imap <A-h> <Left> then still cannot Alt-hto navigate AND something weird happens. I cannot pressEscape` to get to normal mode. Actually I got to a mode that I didn't know which (characters don't always input as expected, some create random jump. (I also use the block cursor to show that i'm in normal mode. It was not a block cursor.)

Any ideas (or explanation why this doesn't work) is super welcome.
Thanks,
NA

I donno if it'd help you, but this is works for me:
imap <A-o> <Esc>o
map <A-o> <Esc>o

imap <A-u> <Esc>u
map <A-u> <Esc>u

imap <A-O> <Esc>O
map <A-O> <Esc>O

imap <A-j> <Esc>j
map <A-j> <Esc>j

imap <A-k> <Esc>k
map <A-k> <Esc>k

imap <A-l> <Esc>l
map <A-l> <Esc>l

imap <A-h> <Esc>h
map <A-h> <Esc>h

imap <A-p> <Esc>p
map <A-p> <Esc>p

imap <A-P> <Esc>P
map <A-P> <Esc>P

And you should check if you mapped smth on these keys in Obsidian, because it won't work if you did.

The workaround which works for me would be to exit out of insert mode, navigate, then enter insert mode again.
`
Moving right
imap  a
OR
imap  2i
Moving left
imap  i
OR
imap  a
`

The workaround which works for me would be to exit out of insert mode, navigate, then enter insert mode again.
imap <A-h> <Esc>i for moving left and imap <A-l> <Esc><Right>a for moving right


fix(track): handle res>1 for track interval interrogation

see https://github.com/deepgenomics/GenomeKit/blob/e2c8dd1e5a6f7482062892b043cb613450b4cd4b/src/genome_track_io.cpp#L576-L582
for how they are encoded

Many thanks for the fix!
My one concern is that the test case may not completely capture the wrong behaviour replicated earlier. I'm not 100% sure if I understand MiniGenome correctly, but the issue was that Interval objects with a start that was greater than 1/res of the chromosome length were not being included. The provided test case only span positions 10-35 if I understand this correctly, and so they'd be included even without this fix.

maybe you can clarify your tests then, because I still don't think it's clear what was your expected vs existing behaviour?


layer control and timeline out of sync

Thank you for a great timeline plugin.
I have several different layers on my map showing GeoJSON data through time with the timeline and it's working great. However, when I try to add a layer control where these layers can be switched on/off, it seems the layer control is not synchronizing with the timeline. The polygons are synchronized, but the different marker layers seem to not "listen" to the layer control and the timeline. When clicked on and then off in the layer control, the markers do not disappear from the map as they should when they are off time range, and they kind of "accumulate" on the map instead.
I tried playing around with layer/feature groupings and add them to the timecontrol, but then I just keep getting an error saying "Cannot read property 'filter' of undefined" in leaflet.timeline.min.js
and also referring to my own code line 624 (see image).

I am kind of stuck on figuring out the problem at this point. I hope someone can help.
You can see the map and the whole code here: http://prehistoricmap.com/homeland/test_icon.html

@mattbeets  im trying to make something similar you did.
the diference is that i have the same GeoJSON data shown in different layers on my map with a radio button control: points as circleMarker, points as a heatMap and points as a clusterGroup.
I'm trying to add a timeline with these layer control groups.
I have the layergroup working fine and i managed to make the timeline work adding it directly to the map like in the examples:
      timelineControl.addTo(map)
      timelineControl.addTimelines(myTimeLine)
      myTimeLine.addTo(map)

But when i try to add it to a layer so i can toggle using groupedLayer i'm getting similar errors

@mattbeets i managed to solve it by adding the timeline to a LayerGroup. Notice that the diferent syntax is because im using vue-cli3.
      let baseLayers = {
        "Tile layer": tileLayer,
        "Grayscale": grayscale,
        "Streets": streets
      }
        let overlays = {
        "Timeline layers":{
          "points": pointsTimeLineLayer,
          "Clusters" : timeLineClusters,
          "HeatMap": timelineHeatLayer,
        }
      }
      L.control.groupedLayers(baseLayers, overlays).addTo(vm.map)

      let myTimeLine = L.timeline(geoJSONData,
        {
          pointToLayer: bookmarkMarkerOptions, // bookmarkMarkerOptions is a function
          onEachFeature: addBookmarkPopUp, // addBookmarkPopUp  is a function
          getInterval: getInterval // getInterval  is a function
        }
      )

      myTimeLine.addTo(pointsTimeLineLayer)
      timelineControl.addTo(map)
      timelineControl.addTimelines(myTimeLine)

i Hope this solves your issue

Thank you so much, Marcelo.
Great work. I'll try it as soon as possible :)


Fix publish of dashboard blobs

Official builds are currently failing due to dashboard blobs not having the version number, which is required for arcade. This PR fixes that by ensuring that arcade can extract the version number from the path.
Microsoft Reviewers: Open in CodeFlow

Merging to unblock official build that is currently broken. Will address any feedback in a follow up PR.


Working with BinaryReader in C#

Topic Suggestion
Proposal Submission
Proposed title of article
[Languages]  Working with BinaryReader in C#
Proposed article introduction
BinaryReader is a C# class for dealing with binary data. It's part of the System.IO namespace. BinaryReader is a class that reads binary values from basic data types in a given encoding stream. BinaryReader works with Stream objects, hence we must supply a Stream object to its constructor to generate a BinaryReader object. To cope with binary data, the BinaryReader class contains three overloaded constructors.
Key takeaways
The reader will be able to understand the following:

What is binaryreader in C#
Implementing BinaryReader in C#
What are some of the read() methods different types of data while dealing with BinaryReader
StreamReader vs BinaryReader

Article quality
This article will be covered in an in-depth manner. I will explain all the concepts related to this topic covering all possible approaches. Proper examples with precise outputs and comments will be ensured as well as adding images wherever necessary. It will be interesting to read and beginner-friendly.
References
N/A

Thank you for your response and we thank you for submitting your topic. After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations as previously mentioned on your topic form by our content moderator.
We typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
BinaryReader is adequately covered in the official documentation. Thanks


LV2 version?

Hi. How about an LV2 build of the plugin? Thanks!

We do have LV2 version. You can download it from release page.

Ah fantastic, thanks! I was looking at the README and repo tags, and /releases only mentiones Linux, which I assumed as a Linux VST.

Could it be possible to add mentioned of the LV2 version in the README and repo tags? Thanks for the plugin!

Yeah, I should mention plugin formats in the README. For now, VST3 and LV2 are supported.


[ml_perf] The way flags files are threated are not friendly to list parameters

When define
--lr_rates=0.016
--lr_rates=0.0016
--lr_rates=0.00016
--lr_boundaries=25000
--lr_boundaries=37500

Only the last item of same name will be reserved
In expand_flags (https://github.com/tensorflow/minigo/blob/master/ml_perf/reference_implementation.py#L96)
  for arg in expanded:
    flag = arg.split('=', 1)[0]
    deduped[flag] = arg

Should change to the following code
  for arg in expanded:
    flag = arg.split('=', 1)[0]
    if flag in deduped.keys():
      # in the case of --lr_rate and --lr_boundaries, same key might appear
      # multiple times, make sure they all appear in command arg list
      deduped[flag] += " {}".format(arg)
    else:
      deduped[flag] = arg

and .flags files should be managed in a way that flags that should not appear twice or more won't appear twice or more.

Ugh, I didn't realize the Python code used list parameters: I primarily work on the C++ selfplayer and the C++ flags implementation doesn't support them.
Fortunately, the expanded flags code is only used for logging in the RL loop and doesn't affect the flags that the subprocesses run (they load the flag files directly). So, we can just remove the deduping code. I'll put together a PR this morning.


Fix VMClone OpenShift owner reference requirement

Signed-off-by: Alex Kalenyuk<EMAIL_ADDRESS>
What this PR does / why we need it:
Was seen before with https://github.com/kubevirt/kubevirt/pull/6957/commits/6ac5d6223f70b9bc876f5d5caa2d062ab4bc92a3;
Basically, OpenShift deploys enforcement that says we cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on.
https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#ownerreferencespermissionenforcement
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/retest

Thanks @akalenyu!
/lgtm


Skip new lines in log

This change is

Codecov Report

Merging #255 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #255      +/-   ##
============================================
- Coverage     19.49%   19.48%   -0.01%
  Complexity      247      247
============================================
  Files            73       73
  Lines          3027     3028       +1
  Branches        286      287       +1
============================================
  Hits            590      590
- Misses         2376     2377       +1
  Partials         61       61

Impacted Files
Coverage Δ
Complexity Δ

...ha/yad/steps/DockerImageComboStepFileCallable.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


FIX: parsing empty link references

Fix bug when in markdown template presents empty link reference [][]
For such values at time of mapping syntax tree to react components in this line
https://github.com/rexxars/react-markdown/blob/master/src/ast-to-react.js#L57
node. identifier is empty string and as result ref will be null.  As result later in line
https://github.com/rexxars/react-markdown/blob/master/src/ast-to-react.js#L105
at time of getting ref.href application will throw exception.
Fixed it. Test case added.

Fantastic, thanks! Released as v3.3.4


Echo char

INim 0.2.4
Nim Compiler Version 0.18.1 [Linux: amd64] at /usr/bin/nim
>>> "a"
a : string
>>> 'a'
Error: expression 'echo' is of type 'proc (x: varargs[typed]){.gcsafe, locks: 0.}' and has to be discarded; for a function call use ()
>>>

It should print:
a : char

:cactus:

Should be fixed now. Released in v0.2.5

@AndreiRegiani you can close it, I can confirm it works.

I can confirm it works.


Verify dj-rest configuration and usage

What is the expected enhancement?
Gateway is using a new lib used for manage the authentication with keycloak but we didn't verify the entire configuration in django. We would like to double check that the current configuration is correct and if we can improve it.

This issue can be used to un-block #624 potentially.

closing for no activity for now


Added ability to specify custom overlays in configuration

Analogous to adding base layers, custom overlays can be added in the config.js file:
BR.conf.overlays = {
    'Hill shading': 'http://{s}.tiles.wmflabs.org/hillshading/{z}/{x}/{y}.png'
};

Thanks for the PR! Sorry this got lost somehow.
Could you do a rebase with the current master, please?

Hey! No problem. I rebased the branch with the current master.

Thanks!


Poetry does not understand requires-python

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

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

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
1213

Relevant Lines:
1351

💛  - Coveralls


alert window xss

When I search for xss, an alert window with content xss is displayed.
https://www.nuget.org/packages?q=xss

Wow. I think this is the package, which is not even a real package...

The PackageId seems to be "upload", which is a pretty clever trick...
https://www.nuget.org/packages/Upload/

Thanks guys,well get this fixed

Just put up a PR to solve the issue. Fortunately it was only affecting strings shorter than 300 characters, so no elaborate script could have been run. However, regarding the package with an id of "upload", we should probably add some additional checks to the packageId to preventing certain ids that conflict with the route names from being published. This would include "upload-progress", "verify-upload", and "cancel-upload" as well.

We should fix routing, or the url patterns rather than block package names

Has been deployed, thanks again for reporting!


Python "isort" is ignoring the project configuration

Which configuration?
Type (custom or builtin): builtin
Filetype: python
Formatter: isort
Configuration(s) (post all the variants you tried):
     require('formatter').setup(
         {
             logging = true,
             log_level = vim.log.levels.WARN,
             filetype = {
                 python = {
                     require("formatter.filetypes.python").black,
                     require("formatter.filetypes.python").isort,
                 },
                 ["*"] = {
                     require("formatter.filetypes.any").remove_trailing_whitespace
                 }
             }
         }
     )

Expected behavior
The formatter should run isort with the project configuration (this is the default isort behaviour)
Actual behaviour
Runs isort with the default config even if a configuration file exists in the project root.
Additional context
/

Is vim in the project directory when you run the formatter; is the output of :pwd<CR> the project directory

Actually, this looks similar to #218

I can confirm that :pwd shows the correct path. That is, the root of the project which contains the isort config.

Unfortunately this still ignores the config :(


#65 skip comments

I've fixed the comments issue.
Now the processorBase detects the case when the comment-tag met, and skips the html until the end of comment-tag.
Also, I've met the case when attribute is not screened as expected:
 <a class=someclass>

CssProcessor tests fails badly!

All tests are fixed. Review please.

Fixed the review.
TagsProcessor looks ugly. The design seems have a huge issue.
I probably should take a rest and make an honest review later.
And run some integration tests (Playground) later.


Texture rendering not real aspect ratio when i play 960x540 videos

I use https://github.com/flutter/plugins/tree/master/packages/video_player/video_player/example to test my mp4 (960x540).
video link:
Widgets code:
          Container(
            padding: const EdgeInsets.all(20),
            child: AspectRatio(
              aspectRatio: _controller.value.aspectRatio,
              child: Stack(
                alignment: Alignment.bottomCenter,
                children: <Widget>[
                  VideoPlayer(_controller),
                  _PlayPauseOverlay(controller: _controller),
//                  VideoProgressIndicator(_controller, allowScrubbing: true),
                ],
              ),
            ),
          ),

result:

The width is larger than parent widget.
THS
[✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale
    zh-Hans-CN)
    • Flutter version 1.17.1 at /Users/lushijie/developer/flutter
    • Framework revision f7a6a7906b (2 weeks ago), 2020-05-12 18:39:00 -0700
    • Engine revision 6bc433c6b6
    • Dart version 2.8.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/lushijie/android_sdk/
    • Platform android-29, build-tools 29.0.2
    • ANDROID_SDK_ROOT = /Users/lushijie/android_sdk/
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.2

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[!] IntelliJ IDEA Ultimate Edition (version 2019.1.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

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

[✓] Connected device (1 available)
    • Nexus 6P • 84B5T15A17001747 • android-arm64 • Android 8.1.0 (API 27)

Hi @wangp8895
Just tested 960x540 aspect video in video_player https://imgur.com/a/YL3ndNq

  @override
  void initState() {
    super.initState();
    _controller = VideoPlayerController.asset('assets/test.mp4');

    _controller.addListener(() {
      setState(() {});
    });
    _controller.setLooping(true);
    _controller.initialize().then((_) => setState(() {}));
    _controller.play();
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

video_player: ^0.10.11+1

flutter doctor -v
[✓] Flutter (Channel dev, 1.19.0-1.0.pre, on Mac OS X 10.15.5 19F96, locale en-GB)
    • Flutter version 1.19.0-1.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 456d80b9dd (2 weeks ago), 2020-05-11 11:45:03 -0400
    • Engine revision d96f962ca2
    • Dart version 2.9.0 (build 2.9.0-7.0.dev 092ed38a87)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.2

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

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

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

[✓] Connected device (5 available)
    • SM M305F   • 32003c30dc19668f                     • android-arm64  • Android 10 (API 29)
    • iPhone 11  • 0EC80516-8F99-4A0C-89ED-2273579862F9 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator)
    • macOS      • macOS                                • darwin-x64     • Mac OS X 10.15.5 19F96
    • Web Server • web-server                           • web-javascript • Flutter Tools
    • Chrome     • chrome                               • web-javascript • Google Chrome 83.0.4103.61

• No issues found!

@TahaTesser   thanks for answer
It is ok when i use iphone and android simulator.
simulator:

Samsung Galaxy Note9:

Other phone has same problem!

i have the same problem when play low quality video with the video_player plugin,
[✓] Flutter (Channel unknown, v1.17.2, on Mac OS X 10.15.5 19F101, locale
    zh-Hans-CN)
    • Flutter version 1.17.2 at /Users/tian/development/environment/flutter
    • Framework revision 5f21edf8b6 (7 周前), 2020-05-28 12:44:12 -0700
    • Engine revision b851c71829
    • Dart version 2.8.3

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/tian/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio
      4.0.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.1

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio 4.0.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[!] IntelliJ IDEA Community Edition (version 2020.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

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

[✓] Connected device (4 available)
    • MI 6X      • 49b6a9be   • android-arm64  • Android 9 (API 28)
    • macOS      • macOS      • darwin-x64     • Mac OS X 10.15.5 19F101
    • Chrome     • chrome     • web-javascript • Google Chrome 84.0.4147.89
    • Web Server • web-server • web-javascript • Flutter Tools

! Doctor found issues in 1 category.

This bug is not device specific. In fact, it happens on every physical device. The reason why this occurs is because the math used to handle the SurfaceTexture transformation matrix is incorrect.
The following code applies the transformation matrix to the image, not to the texture coordinates within the image: https://github.com/flutter/engine/blob/master/shell/platform/android/android_external_texture_gl.cc#L64
The documentation for getTransformMatrix explicitly specifies that the matrix maps texture coordinates in the range of [0, 1]. This transformation must be applied to texture coordinates, not to the image. https://developer.android.com/reference/android/graphics/SurfaceTexture#getTransformMatrix(float[])
When Android decodes video, it sometimes utilizes a texture larger than the actual video. When this happens, the pixels at the sides of the video repeat so texel sampling near edges gives the correct color. This is why you can see stretched colors at the bottom of incorrectly-transformed videos, which can be seen in @tsx1453 screenshot.
Since Flutter applies the crop transform matrix incorrectly, the end result is horizontal stretching of the video bounds. Combined with the larger backing texture size, videos are squashed vertically (due to using the entire texture height) and then subsequently stretched horizontally.
cc @chinmaygarde

Screenshot for reference:
I was working on a change to the video_player plugin to allow you to hint the viewport resolution. At extremely low resolutions (like 180p) the effect is very noticable.

Hi @wangp8895,
Thanks for filing the issue, I verified on the latest stable version of flutter with video_player: ^2.1.6, but I am not able to replicate the issue.  I would request you to upgrade to latest stable version of flutter and use the latest plugin and verify the issue.

Output

Network
Asset

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

This is an issue that is device-specific, and does not reproduce on all devices. It also depends on the resolution of the video being played. I suggest testing with the video resolution above on the device used above to accurately reproduce this issue, as it still happens.


Wrong lock informations on Image.copy_from

I think there is something buggy/missing when Image.copy_from is used. It is not showing an missing .lock() call in the following case
extends Control

var i = Image.new()
var i2 = Image.new()

func _ready():

   i.load("res://transparent.png")
   i.convert( Image.FORMAT_RGBA8 )
   i.lock()

   i.set_pixel(0,0,Color(1,0,0,1))

   i2.load("res://transparent.png")
   i2.convert( Image.FORMAT_RGBA8 )
   i2.lock()
   i2.copy_from(i)
   #i2.lock() #this lock is needed to get the right colors. I get no error message, get pixel is used without lock()

func _input(event):
   for n in range(10):
   	print(i2.get_pixel(0,0))

This bug :angry:
Master branch

I'm getting the following error message:

ERROR: Image must be locked with 'lock()' before using get_pixel()
At: core\image.cpp:1904

But it appears only in the console window, not in the editor's output pane.

@AlexHolly, have you looked at the console window? Do you see the message there?

There is no message in console

i changed so errors in editor are redirected to the editor console, so you should see them now.
Will close this issue becaue of that.


[ROADMAP] Long Term Discussions

Architecture Support

[ ] RISC-V
[ ] WASM
[ ] ARM Endianness support
[ ] SVE Finalisation

Compiler Support

[ ] Microsoft Visual Studio

Code Quality

[ ] Codegen Testing
[ ] Overload Process
[ ] Lane API

Outreach Goals

[ ] Mimic nvcpp exmaples

Overload Process (https://github.com/jfalcou/eve/discussions/1316)
Current Plan

PR for the tag_invoke tooling + documentation in isolation. The documentation should also helps fixing this
PR for passing constants to the new tag_invoke
PR for temporary adaptation of current decorators to be compatible with the new ones
PR for passing algos to the new tag_invoke
PRs for passing "high level" math modules to new tag_invoke
PRs  for passing all other modules


New release?

Hi,
We are relying on WASI support (which was included in #63) and it would be great if rpassword with WASI support could be published to crates.io.
Thanks!

I've just published to crates.io with v6.0.0. See here for an overview of the changes:
https://github.com/conradkleinespel/rpassword/releases/tag/v6.0.0


ACMEDNS with reused credentials for many domains makes it impossible to issue a certificate

Describe the bug:

I configured cert-manager with ACMEDNS (DNS01 challenge) according to the official docs, reusing the same credentials block in the Issuer config for the main wildcard and multi-level wildcard domains (e.g. *.domain.com, *.clients.domain.com), using an ACME-DNS instance hosted on a different domain (e.g. acmedns.myotherdomain.com). It worked normally in this case.
Then I added ~6 more domains (*.z.com, cats.com, dogs.com, ...) and it started having troubles issuing the certificate.
Some challenges were ok, others were "invalid" or "pending" state forever.
I could see "msg"="propagation check failed" "error"="DNS record for ... not yet propagated" or Incorrect TXT record errors logged for many days.
After looking into the cert-manager code I figured out the problem could have been caused by the fact that challenges are run in parallel and I use a single acmedns instance with a single acmedns credentials. Starting cert-manager with --max-concurrent-challenges 1 caused the certificate to be issued. I can't easily verify (other than waiting for the next renewal).
If that is the possible cause, maybe it would be worth documenting it or at least keep this issue in the archive.
The admedns docs explicitly says You can specify multiple domains with the same credentials if you like.
Expected behaviour:

A certificate should be issued correctly.
Steps to reproduce the bug:

configure cert-manager with acme-dns for *.domain.com, *.clients.domain.com, cats.com, pets.com using a single instance of acmedns at acmedns.myadmehos.com and reuse the same credentials for every domain in the Issuer config.

Anything else we need to know?:
Environment details::

Kubernetes version: 1.19.4
Cloud-provider/provisioner: Scaleway
cert-manager version: 1.2.0-alpha.1, 1.1.0
Install method: e.g. helm/static manifests: Helm

/kind bug

Hi! I was wondering if we could create a small minimal working environment e.g. using kind in order to reproduce the issue? e.g.,

run acme-dns as a container with some credentials,
create a local kind cluster using the same docker network,
install cert-manager 1.1
create an issuer that tagets acme-dns,
create many short-lived certs (1 minute?),
wait until renewal

What do you think?

/priority important-soon
/area acme/dns01
/milestone Next

I think it might be a shortcoming of acme-dns. The readme says (emphasis mine):

Rolling update of two TXT records to be able to answer to challenges for certificates that have both names: yourdomain.tld and *.yourdomain.tld, as both of the challenges point to the same subdomain.

Meaning that if your configuration requires more than two challenges for the same acme-dns subdomain they will roll over each other.
My workaround is to issue one set of acme-dns credentials for each domain.

It is really acme-dns limitation, thanks @svvac for mentioning this possibility.
I have looked into the relevant acme-dns code, it uses LIMIT 2 in the SQL query. It then presents up to those 2 most-recent challenges.
Theoretically more than 2 TXT records could be supported but there is 4096 byte limit in DNS response and acme-dns author doesn't like the idea of supporting more than 2 records.

So the first possible workaround is appending --max-concurrent-challenges 1 (maybe even --max-concurrent-challenges 2; untested) argument to the cert-manager to limit the concurrent challenges. That way calls to acme-dns are serialized.

The other way way seems to be using multiple acme-dns subdomains (with their respective credentials) as @svvac suggested. I haven't tested this myself (yet) but it makes sense, this should also work.

Keeping the issue open as the cert-manager documentation for acme-dns should be amended to describe this limitation.

/milestone v1.3

TBD for v1.3: document on https://cert-manager.io the workaround/limitation for acme-dns

/assign

I'll take care of adding the documetation now

/milestone v1.4
/unassign

/assign maelvls

For future reference, here is a detailed explanation of why one cannot use more than 2 subdomains with acme-dns.
Imagining that I am running acme-dns on <IP_ADDRESS>, and if I want to have certificate for the subdomains mael.pw, blog.mael.pw and minio.mael.pw using a single acme-dns credential (da81d9b9-4ed1-5343-9a44-4e78f9ead5d9), my nameserver would look like this:
NAME                              TYPE    TTL    DATA
acme-dns.mael.pw.                 NS      300    acme-dns.mael.pw.
acme-dns.mael.pw.                 A       300    <IP_ADDRESS>
_acme-challenge.mael.pw.          CNAME   300    da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw
_acme-challenge.blog.mael.pw.     CNAME   300    da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw
_acme-challenge.minio.mael.pw.    CNAME   300    da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw

I then create this Certificate:
kind: Certificate
spec:
  issuerRef: acme-dns-mael-pw
  dnsNames:
    - mael.pw
    - blog.mael.pw
    - minio.mael.pw

cert-manager will first do a call to acme-dns.mael.pw to add the TXT records. The TXT records in my acme-dns's database will look like:
NAME                              TYPE  TTL    DATA
da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw.      TXT   300    D-XoblaY4uYM-PO8FrRcbRj45cQF-aYluYM4Xob
da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw.      TXT   300    D-52Wm4V7xoUpGax-F8FrPO45cQRcbRj-XoblaY4uYM
da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw.      TXT   300    D-UpGxoax52Wm4V7-52Wm4V7xoUpGax-Y4uYXobMla

Let's Encrypt then proceeds with trying out the challenges.
Since ACME servers have to follow CNAME records (like any other DNS client), the resolution of _acme-challenge.mael.pw. should looks like this:
_acme-challenge.mael.pw.
└── CNAME da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw
    ├── TXT D-XoblaY4uYM-PO8FrRcbRj45cQF-aYluYM4Xob
    ├── TXT D-52Wm4V7xoUpGax-F8FrPO45cQRcbRj-XoblaY4uYM
    └── TXT D-UpGxoax52Wm4V7-52Wm4V7xoUpGax-Y4uYXobMla

Let's Encrypt is able to work with these multiple TXT records, as per RFC 8555, sec. 8.4). When resolving the challenge's domain, it iterates over the values of the returned TXT records looking for D-XoblaY4uYM-PO8FrRcbRj45cQF-aYluYM4Xob.
When a TXT record is requested, acme-dns runs this function returns at most 2 TXT records for one given "domain" (in acme-dns's ligua, "domain" refers to the UID that identifies one set of credentials, for example da81d9b9-4ed1-5343-9a44-4e78f9ead5d9). I reproduced and simplified the function for the purpose of the demonstration:
func GetTXTForDomain(domain string) ([]string, error) {
    var txts []string
    q := db.Prepare(`SELECT Value FROM txt WHERE Subdomain=$1 LIMIT 2`) // 🔥
    rows, _ := q.Query(domain)
    for rows.Next() {
        txts = append(txts, rows.Scan())
    }
    return txts, nil
}

The 3 TXT records were properly registered by acme-dns; but when my acme-dns calls to the function:
values := GetTXTForDomain("da81d9b9-4ed1-5343-9a44-4e78f9ead5d9")
fmt.Printf("%v", values)

it only returns the 2 first TXT values!
D-XoblaY4uYM-PO8FrRcbRj45cQF-aYluYM4Xob
D-52Wm4V7xoUpGax-F8FrPO45cQRcbRj-XoblaY4uYM

The challenge for _acme-challenge.minio.mael.pw. will never succeed.
As detailed in joohoi/acme-dns#76, the reason for only returning two TXT records is due to one limitation one specific ACME server: Boulder. Boulder, which is Let's Encrypt's ACME backend, can only process DNS responses 4096 bytes long.


Missing sdist on PyPI

The package releases only binary wheels on PyPI but it's missing a source distribution. This makes it impossible to install it on platforms that aren't built as part of the cibuildwheel process, and it's a major hassle for Linux distributions that use sdist archives as source.
While at it, ideally please include tests in the archive.

Hey @mgorny! Do you have any tips on how to do that?

Thanks!


fix(quay): fix infinite progress bar when scan is unsupported

Fixes: https://github.com/janus-idp/backstage-plugins/issues/989
Description

Added logic to consider status of a security result and show Unsupported if scan results was unsupported.

Screencast
https://github.com/janus-idp/backstage-plugins/assets/6041994/1bc926f8-bc63-4884-a531-1b35aac87afa

/cc @karthikjeeyar @invincibleJai

/cc @fmenesesg if you wanna take a look


Build a single shared library

This PR links libvips.so.42 statically into libvips-cpp.so.42 as described in issue https://github.com/lovell/sharp/issues/2535. It also ensures that it can interoperate with a system-wide installed GLib by un-exporting the g_param_spec_types symbol on Linux.
On macOS the build script remains basically the same except that libvips.42.dylib is also statically linked into libvips-cpp.42.dylib.

Looks great, thank you Kleis. I'm going to publish a patch release of sharp first, then I'll come back to this and the related sharp PR later, probably at the weekend.
There are a couple of improvements relating to JPEG and PNG error handling in the forthcoming libvips v8.10.6 so I think we should probably wait for that as part of this improvement.

Looks great, thank you Kleis. I'm going to publish a patch release of sharp first, then I'll come back to this and the related sharp PR later, probably at the weekend.
There are a couple of improvements relating to JPEG and PNG error handling in the forthcoming libvips v8.10.6 so I think we should probably wait for that as part of this improvement.

Please can you rebase to pick up https://github.com/lovell/sharp-libvips/commit/75e522930531f5af48810032988dd3bf721d1e90 to ensure the build is still good then we can get this merged, thank you.

Brilliant, thank you Kleis.


Add ability to send notification email

Add ability to send a notification email on the response of the successful webhook

It's possible to set an email alert for various events within the Stripe Dashboard:
https://support.stripe.com/questions/set-up-account-email-notifications


9.0 triggers antivirus

Describe the bug
When trying to open the stable release of 9.0 it triggered Windows Defender.

Relevant log output or exception with stacktrace
No response
What game does this happen in
Irrelevant
Reference file in a Source 2 game
Irrelevant
Expected behavior
The program does not falsely trigger an antivirus
What version of VRF are you using?


Implement extended Multimap filters

Fix #1401

Strange. Where codecov and Travis-CI?

How can I force Travis-CI to build this PR?
@danieldietrich , @ruslansennov

Sometimes it happens...
I don't know what to do in this case

@ruslansennov, may be I need to close this PR and open new?

it makes sense


Error with pathgen

First of all, thanks for this amazing project... which seems like a good alternative to aclpwn which has lib issues nowadays.... The error that I am having is when using pathgen.py.
neo4j.exceptions.ClientError: {code: Neo.ClientError.Procedure.ProcedureNotFound} {message: There is no procedure with the name gds.shortestPath.dijkstra.stream registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.}

pathgen.py is using the Dijkstra's algorithm of the GDS library of Neo4j. You have to install the GDS plugin into Neo4j before using pathgen.py.

Thanks... for your response. That was the issue.... Just one question ? if you run pathgen alone... there should be any output ?

You're welcome :)
Do you mean pathgen.py without GDS or pathgen.py without autobloody.py?

pathgen with GDS without autobloody ? just like aclpwn with the argument > -dry to have something like > (USER@TESTSEGMENT.LOCAL)-[MemberOf]->(GROUP@TESTSEGMENT.LOCAL)-[MemberOf]->(ANOTHER GROUP@TESTSEGMENT.LOCAL)-[WriteDacl]->(TESTSEGMENT.LOCAL)

It generates a JSON file with the path but it's not meant to be readable by the user. I have a TODO on autobloody.py to add a simulate option but it's not done yet.


ippserver: Save documents with file extension corresponding to "document-format" Job Template attribute

When ippserver receives a Document Creation operation (Print-Job, Send-Document, not sure about Send-URI), it saves the file using a .prn file extension. It would be better if it saved it using a file extension corresponding to the MIME media type specified by the "document-format" Job Template attribute.

If ippserver were to save the file appropriately, the last three lines would instead hopefully report this:
2021-02-02T22:54:30.070Z  [Client 22] Request: document-format (mimeMediaType) image/jpeg
2021-02-02T22:54:30.070Z  [Client 22] Send-Document document-format='image/jpeg'
2021-02-02T22:54:30.070Z  [Job 2] Creating job file "./spool//TestPrinter/2-photo.jpg", format "image/jpeg".

This would make examining the files directly easier, and this would also help downstream "transform" tools to make transform choices without having to open the files. Transform tools that always open the file and act on the byte stream don't need this change but this change won't break their implementation.

ippeveprinter and PAPPL both do this, investigating...

The code is setting the extension based on the job->format value, checking whether it is initialized before the calls...

Looks like Send-Document only set job->format if "document-format" wasn't specified or was 'application/octet-stream'.
[master ade54d0] Fix spool filename with Send-Document (Issue #219)


feat(CategoryTheory/ConnectedComponents) : extracted a definition from Cat to be used by categories in general

It could be useful to add a (rfl) equational lemma for Functor.mapConnectedComponents which would assert that the image of the connected component of an object is the connected component of the image of this object.

Thanks!
bors merge


Pending publishes show at the end of list

The Issue
On one my installations, pending publishes are showing at the end of my claim list in Publishes, but normally they should be in the front.
See: https://www.screencast.com/t/JaRdV01pIMAE
System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

This is also happening to another user on an existing install. Will try fresh install today.

Think it has to do with installs that haven't had publishes when running the new version.

hopefully fixed in: https://github.com/lbryio/lbry-app/pull/1651


Empty sections should not be included in the generated documentation

Describe the bug
My GraphQL schema doesn't have any union type. Nevertheless, I see that the Unions section is present in the generated docs (but it's empty) and the Union landing page is generated.
This also happens when there are no schema items for other categories of types like enums, mutations or interfaces.
To Reproduce
Generate the docs for a schema without items of a certain category (mutations, enums, etc.).
Expected behavior
The sidebar section for the category that has no items should not be present and the corresponding landing page should not be generated.
Screenshots
Empty section in the sidebar:

@Fs00 thanks for logging this. Makes sense! I'll try to get this fixed up for upcoming the v4.1 release this week.


Missing oData Snippet

[Enter feedback here]
The last consideration on the page says "following sample ODATA snippet" but there isn't an oData snippet following that item, just a link to give feedback

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

ID: 94615c16-c84d-0308-171f-d09f3deaaa3b
Version Independent ID: 94615c16-c84d-0308-171f-d09f3deaaa3b
Content: Add canvas apps to solution by default (preview) - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/add-app-solution-default.md
Service: powerapps
Sub-service: canvas-maker
GitHub Login: @tapanm-MSFT
Microsoft Alias: hasharaf

Thanks for your comment, @DREWLFE. This issue has been assigned to the doc author for review.

Thank you for reaching out. Documentation has been updated, and the changes will be reflected soon.


BUG: Pressing delete symbol closes tabs list with Brave

Pressing the cross (x) at a list entry closes tab tab (as expected) but also removes the popup list from screen (not expected). With Google Chrome the popup list stays (as expected).

I'm not experiencing this in the current version of Brave although I don't often use that icon;

I'm not experiencing this in the current version of Brave although I don't often use that icon;

Same here, I don't seem to be facing this issue either.


Public List of Emojis Gone

The list of Noto Emojis used to be available at: https://www.google.com/get/noto/help/emoji/
But it is no longer available there.  Where can the list be found?

https://github.com/googlefonts/emoji-metadata provides metadata for all codepoints available in Noto Emoji.

Is there somewhere that repo gets used where I can browse the emojis?

@jamesward there's a list here but I'm not sure how complete it is: https://commons.wikimedia.org/wiki/Category:Noto_Color_Emoji

Thanks for sharing.  Any plans to have a maintained, full list, again?

There is now https://fonts.google.com/noto/specimen/Noto+Color+Emoji
On the glyphs tab, it shows an incomplete (and I think out of date) list of emoji

incomplete (and I think out of date)

why?

I'm not the maintainer of that page but it doesn't look to me like it has new emoji from Unicode 14 and 15. There are older emoji missing (not to mention skin tones, etc.)

you're right, we'll get it updated, thank you

@jbicha It should be updated now, please take a look https://fonts.google.com/noto/specimen/Noto+Color+Emoji/glyphs

I'm not the reporter, but it's my opinion you can close this bug now. Thanks!

You could have https://www.google.com/get/noto/help/emoji/ redirect to https://fonts.google.com/noto/specimen/Noto+Color+Emoji


[Question]  how do I get a compiled version in a fork?

Maybe you could help me, I'm not incredibly familiar with this.  Most repos I've forked had a compiled file that I'd just use.
I use bower.
I was using:
"ui-bootstrap4": "^3.0.5"
now I'm using:
"ui-bootstrap4": "git://github.com/MEEEEEE/ui-bootstrap4#master"
And I just include: "bower_components/ui-bootstrap4/docs/ui-bootstrap-tpls.js"
Do you just manually run the grunt docs task and commit it?  Any reason not including the dist task in the repo?

So, the dist task is in the grunt file, but something needs to run it. (There's no CI task setup for this repo that will automatically run it on commit.)
I wouldn't be against something like that being setup, but so far, I just run it when I make a new build and commit. (Near as I can tell that's how the original project worked, though their build system is a nightmare. I've slayed a few beasts, but it's still awful.) I'm completely open to any changes you might suggest.

I updated the version in package.json, and ran grunt docs.  It created the 3.0.6 files, but it also updated the 3.0.5 files and didn't update the ui-bootstrap-tpls.js or ui-bootstrap.js in the docs folder.  Should it be done differently?

Yes, it's documented in the readme:
https://github.com/Morgul/ui-bootstrap4#building-a-release
in short, grunt release:3.0.6

Did you get this working?

Closing this, since the issue seems resolved.


Two names error

Nateve do not support sentences like: "import numpy as np":
It writes "np" into a new line in the middle code file

Bug resolved


How to write tests properly?

I've been trying to write a test but I'm not successful in writing a somewhat more evolved test involving multiple assemblies. Ideally I would like to compile a C# class using 2 assemblies with the same name but different publickey. I know how to do it manually but not using the `dotnet compile' command and the project.json file.
Is there a way to do this?
On the other hand, I feel testing would be simpler if we could divide tests in 3 parts:
1 - Generate an assembly or sets of assemblies
2 - Run ilc on those assemblies
3 - Run resulting executable and check results
?
Currently 1 and 2 are run together via `dotnet compile --native'. It would be nice to split this.

See https://github.com/manu-silicon/corert/tree/cpp/tests/src/Simple/Collision for the example I have so far.

The project.json has a way to describe multi-file projects (e.g. https://github.com/dotnet/cli/blob/master/src/dotnet/project.json#L36). We have not tried it yet for CoreRT tests, so it may require some troubleshooting.
If you need to add multifile test, it is fine to add it as non-automated, and worry about automating it as separate step.

Currently 1 and 2 are run together via `dotnet compile --native'.

dotnet -v compile --native will print command line options of the individual commands that it is executing. Does it help?

I've been using the -v argument, this has actually been very helpful. I'll lookup the json stuff tomorrow and will try to make it work.


Support quick fix to convert impl Trait function arg to named generic

(and back)
Example:
trait Foo {}
fn bar(&impl Foo) {}

to
fn bar<F: Foo>(&F) {}

The to should also have F: Foo bound

The to should also have F: Foo bound. An example of similar assist: https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_assists/src/handlers/move_bounds.rs

Yeah, sorry. Updated.


Unused import of AtomicLong

https://github.com/dantheman213/java-spring-gradle-docker-mvc-rest-starter-app/blob/952bb93fd7af703959cd60815b6494948fdf4862/src/main/java/myapp/controllers/HomeController.java#L3

good catch. I'll update in code or you can also submit a PR.


kube-controller-manager is often not scaled down on hibernation

How to categorize this issue?

/area dev-productivity ops-productivity
/kind bug
/priority normal
What happened:
kube-controller-manager is often not scaled on hibernation. There might be something wrong with Scale on upstream side or dependency-watchdog can scale up kube-controller-manager again.
What you expected to happen:
kube-controller-manager to be scaled down.
How to reproduce it (as minimally and precisely as possible):

Hibernate a Shoot

Ensure that kube-controller-manager is not scaled down

$ k -n shoot--foo--bar get po
NAME                                       READY   STATUS             RESTARTS   AGE
kube-controller-manager-85489f686b-sgt4c   0/1     CrashLoopBackOff   5          4m6s

$ k -n shoot--foo--bar get deploy
NAME                         READY   UP-TO-DATE   AVAILABLE   AGE
aws-lb-readvertiser          0/0     0            0           45h
cloud-controller-manager     0/0     0            0           45h
gardener-resource-manager    0/0     0            0           45h
kube-apiserver               0/0     0            0           45h
kube-controller-manager      0/1     1            0           45h
kube-scheduler               0/0     0            0           45h
machine-controller-manager   0/0     0            0           45h

$ k -n garden-foo get shoot bar -o jsonpath='{.status.hibernated}'
true

Anything else we need to know?:
Environment:

Gardener version: v1.10
Kubernetes version (use kubectl version):
Cloud provider or hardware configuration:
Others:

I have succeed to reproduce the issue with the current master of the gardener.
The gardenlet has scaled down the kube-controller-manager but a few seconds later dependecy-watchdog` scaled it up and in the next hour it was still scaled to 1 replica.
Then I have updated the dwd to the latest master that contains https://github.com/gardener/dependency-watchdog/pull/23 and it now ignores clusters that are hibernated, hibernating or awaking which is great improvement.
@amshuman-kr could you please cut a new release of dwd? The new version needs more permissions - basically
diff --git a/charts/seed-bootstrap/charts/dependency-watchdog/templates/probe-rbac.yaml b/charts/seed-bootstrap/charts/dependency-watchdog/templates/probe-rbac.yaml
index fb244bd92..e0e0d8ea3 100644
--- a/charts/seed-bootstrap/charts/dependency-watchdog/templates/probe-rbac.yaml
+++ b/charts/seed-bootstrap/charts/dependency-watchdog/templates/probe-rbac.yaml
@@ -23,6 +23,14 @@ kind: ClusterRole
 metadata:
   name: gardener.cloud:dependency-watchdog-probe:cluster-role
 rules:
+- apiGroups:
+  - extensions.gardener.cloud
+  resources:
+  - clusters
+  verbs:
+  - get
+  - watch
+  - list
 - apiGroups:
   - ""
   resources:

has to be added here https://github.com/gardener/gardener/blob/b978feafc2ea7a93b865ecc27754ba44595f0c5f/charts/seed-bootstrap/charts/dependency-watchdog/templates/probe-rbac.yaml#L25

/ping @amshuman-kr

@amshuman-kr could you please cut a new release of dwd? The new version needs more permissions - basically

Sorry for the delay. Will cut dwd release.


[FR] - Machine Readability

Describe the feature you'd like
A standard output format for key and certificate creation that can be parsed easily by third party software.  I propose to use JSON for this purpose, although the current situation is very close to YAML already.
Describe alternatives you've considered
Having no standard and letting the community manage on it's own.
Additional context / screenshots
Some examples of current output.
type: Node operator verification key
title: Stake pool operator key
cbor-hex:
 5820cb078f5782cb2d196c516d9350e2ae08b0a25e8003c59f1c31df3c6e622518f4

type: Node operational certificate issue counter
title: Next certificate issue number: 0
cbor-hex:
 00

@oldcryptogeek The two examples you have posted there both have short lines of cbor-hex.
That format however line wraps the cbor-hex field.
If we switched to JSON, would be acceptable if its a single string for short hex chunks and an array of strings for longer chunks?
Eg these two are basically the same:
{
  "type": "Node operator verification key",
  "title": "Stake pool operator key",
  "cbor-hex": "5820cb078f5782cb2d196c516d9350e2ae08b0a25e8003c59f1c31df3c6e622518f4"
}

and the line wrapped version of the same.
{
  "type": "Node operator verification key",
  "title": "Stake pool operator key",
  "cbor-hex":
     [ "5820cb078f5782cb2d196c516d9350e2ae",
       "08b0a25e8003c59f1c31df3c6e622518f4"
     ]
}

In general, it's not advisable to have a json field with two possibilities for its type. In this case, a STRING or ARRAY. Most json parsers will struggle to parse this without a custom type adapter.
Please just use the line wrapped version only even if it only has a single STRING inside the array.

Resolved in an earlier version.


CHAOS-5623 Release notes 1.38.1

Release notes 1.38.1

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

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

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


[Bug]: Additional title tag is added

Version
System:
    OS: Windows 11 10.0.22631
    CPU: (32) x64 AMD Ryzen 9 7950X 16-Core Processor
    Memory: 16.70 GB / 31.16 GB
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @rsbuild/core: ^1.0.1 => 1.0.6
    @rsbuild/plugin-react: ^1.0.1 => 1.0.2

Details
rsbuild.config.ts is configured with template option ./index.html
In template there is a custom  tag, after launching dev server and looking at element you will get two  tags.

Reproduce link
https://github.com/Teraqz/rsbuild-title-demo
Reproduce Steps

npm install
npm run dev

tools.htmlPlugin is the configuration of the underlying htmlPlugin. It is recommended to use rsbuild html.template configuration, which will help rsbuild determine whether title is added repeatedly.
export default defineConfig({
  plugins: [pluginReact()],
  html: {
+    template: "./index.html",
  },
  tools: {
-    htmlPlugin: {
-      template: "./index.html",
-    },
  },
});


Completion specifies engine as "ada" but then says it's a "GPT-3" result at the end.

In the logs, you mean? The engine should be output in the log itself.
logger.debug("""CONFIG:
    Prompt: {0}
    Temperature: {1}
    Engine: {2}
    Max Tokens: {3}
    Top-P: {4}
    Stop: {5}
    Presence Penalty {6}
    Frequency Penalty: {7}
    Echo: {8}
    N: {9}
    Stream: {10}
    Log-Probs: {11}
    Best Of: {12}
    Logit Bias: {13}"""

In the logs, you mean? The engine should be output in the log itself.
logger.debug("""CONFIG:
    Prompt: {0}
    Temperature: {1}
    Engine: {2}
    Max Tokens: {3}
    Top-P: {4}
    Stop: {5}
    Presence Penalty {6}
    Frequency Penalty: {7}
    Echo: {8}
    N: {9}
    Stream: {10}
    Log-Probs: {11}
    Best Of: {12}
    Logit Bias: {13}"""

No, in the init.py code, there are several places where it prints "GPT-3
result" or says it's a GPT-3 result in the comments while specifying "ada"
as the engine (attached an example, buy you can also ctrl-f for "GPT"). Ada
would just be GPT-1. It would probably be clearest to say Open-AI API
result wherever the engine can be changed and isn't hard coded as davinci
On Tue, Feb 23, 2021, 11:16 AM Bram Adams<EMAIL_ADDRESS>wrote:

In the logs, you mean? The engine should be output in the log itself.
logger.debug("""CONFIG:
Prompt: {0}
Temperature: {1}
Engine: {2}
Max Tokens: {3}
Top-P: {4}
Stop: {5}
Presence Penalty {6}
Frequency Penalty: {7}
Echo: {8}
N: {9}
Stream: {10}
Log-Probs: {11}
Best Of: {12}
Logit Bias: {13}"""
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OthersideAI/chronology/issues/3#issuecomment-784408013,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC4ANH3ORWCBFIQIFATT2ZLTAPWH5ANCNFSM4XXUVLWA
.