Ha Doan: Welcome to JS, 3 weeks

Learning Objectives
Priorities: 🥚, 🐣, 🐥, 🐔 (click to learn more)

There is a lot to learn in this repository. If you can't master all the material
at once, that's expected! Anything you don't master now will always be waiting
for you to review when you need it. These 4 emoji's will help you prioritize
your study time and to measure your progress:

🥚: Understanding this material is required, it covers the base skills you'll
need for this module and the next. You do not need to finish all of them but
should feel comfortable that you could do them with enough time.
🐣: You have started all of these exercises and feel you could complete them
all if you just had more time. It may not be easy for you but with effort you
can make it through.
🐥: You have studied the examples and started some exercises if you had time.
You should have a big-picture understanding of these concepts/skills, but may
not be confident completing the exercises.
🐔: These concepts or skills are not necessary but are related to this module.
If you are finished with 🥚, 🐣 and 🐥 you can use the 🐔 exercises to push
yourself without getting distracted from the module's main objectives.

1. What is Programming
What is a program? What is a programming language? How do programs and people
fit together?

[x] 🥚 Data in, Data Out: You understand that computer programs are used
to transform data, and can explain a JS program from this module in terms
of the data that goes in and the data that comes out.
🥚 Three Audiences: You can explain how a single file of code is used to
communicate with 3 different audiences:

[x] Developers: You can explain how code formatting, comments, logs and
variable names make it easier (or harder!) for a developer to understand
a program.
[x] Computers: You can explain how a computer follows your instructions
to store, read and modify data in program memory.
[x] Users: You can explain how the computer creates a dynamic user
experience by following different executions paths depending on user
input.

[x] 🥚 Tracing Variables: You can complete a trace table for a program
that uses only variables, and can check your work using the "trace"
button.
🥚 JavaScript Syntax: Given a program, you can identify these parts of
JavaScript syntax:

[ ] Primitives
[ ] Operators
[ ] Identifiers
[ ] Keywords
[ ] Checks
[ ] Blocks
[ ] Function Calls

[x] 🥚 Pseudo Code: You can explain what pseudo code is, how it's used and
why it's helpful.
[ ] 🥚 Program Goals: You understand that a full JavaScript program can be
explained as a series of smaller goals, and can write names for the goals
in a simple working program.
🐣 Program Analysis: You can study a simple working program and identify:

[ ] The program's behavior (data in, data out)
[ ] The program's goals
[ ] The program's syntax and language features
[ ] Which parts of the source code are for which audience (users, devs,
computers)

[ ] 🐥 Same Behavior, Different Code: You can study simple programs with
the same behavior (data in, data out) but different source code and
explain how the differences matter for each audience.

2. Just Enough JavaScript
Go in depth on JavaScript you need to know for writing interactive text-based
programs in the browser. Along the way you will learn how each language feature
works in small programs.

🥚 Listening and Reading: You can read code out loud, and understand your
classmates when they read code to you. You don't need to understand how a
program works to master these learning objectives!

[ ] Listening You can exactly re-write a program that a classmate has
read
[ ] Reading You can read a program out loud and guide your classmates to
re-write exactly the same code without them seeing the program. Every
indentation, semi-colon, comment and spelling in their program must be
identical to yours.

🥚 Static vs. Dynamic Analysis: You can explain and use these two ways of
studying a program, each can help you understand different aspects of your
code. To help understand this concept, the options panel in Study Lenses is
organized into static and dynamic study options:

[ ] Static: Studying the text in a code file without running it. Some
static study methods are creating a flowchart, analyzing variables,
filling out a trace table, and drawing on code.
[ ] Dynamic: Running code and studying the computer's behavior. Some
dynamic study methods are running code and reading console logs, using
the trace button, and stepping through in the debugger or JS Tutor.

[ ] 🥚 Tracing Execution: You can complete a "steps" trace table for all
JS language features in Just Enough JavaScript, and can correct your table
using console output from the "trace" button.
[ ] 🥚 Analyzing Variables: You can list all the variables in a program,
and answer these 5 questions for each variable:

Where is the variable declared?
What is the variable's scope?
Is the variable initialized with a value?
How many times is its value used (read) in the program?
How many times is the variable assigned a new value?
What types are assigned to this variable during the program's execution?

[ ] 🥚 Completing Programs: You can successfully fill in blanks for a
program when the missing words are provided, including distractors.
[ ] 🐣 Translating Pseudo Code: Given a program written in Pseudo Code,
you can translate it to working JavaScript.
[ ] 🐣 Comparing Programs: You can compare two programs with similar code
and explain if they have the same behavior or not. If they do not, you can
explain how they behave differently and why.
[ ] 🐥 Constructing Programs: You can reconstruct a program's lines and
indentation, successfully ignoring distractor lines.
[ ] 🐥 Linting: You can find and fix simple linting errors in JavaScript
programs.
[ ] 🐔 Writing Programs: You can write small programs that log specific
values, or pass specific test cases.

3. Understanding Programs
Learn how to understand a larger programs by finding connections between the
details and the big picture. By the end of this chapter you will know how to
read a new program and do a simple code review.

[ ] 🥚 Stepping Through: You can pause a script in a your browser's
debugger, arrange the debugger, collapse extra panels, and step through a
script written with Just Enough JS. At each point in execution you can
make a prediction of the next line before executing, and can check your
prediction using the scopes panel.
[ ] 🥚 Imperative Programming: You can explain what the Imperative
Programming paradigm is, and can explain how you know the programs in
Welcome to JS are Imperative.
[ ] 🥚 Logging: You can tracing specific aspects of a program's execution
and log them to the console.
[ ] 🐣 Naming Variables: You can analyze how a variable is used in a
program and give it two names:

Generic: You can give a generic name to a variable based on how it is
used in the program.
Specific: You can give a specific name to a variable based on how it's
used and the program's domain (the program's specific data and use-case).

[ ] 🐣 Describing Programs: You can read a program and describe it with
comments using to the methodology from /describing-programs:

Zoom Out
Zoom In
Find Connections
Describe Goals

[ ] 🐥 Code Review: Given a working program you can review the code for
clarity, correctness and style.

Week 1
I Need Help With:
Nothing so far except I'm a bit slow self-studying at the moment. I need to work more on time management!
What went well?
I think I've got the hang of it. Definitely, the logic of Javascript interests me a lot!
What went less well?
I just realized I worked better and more efficiently in a group. That explains I'm a bit behind...
Catching up right now!
Lessons Learned
Check the examples, do the exercises and repeat just don't jump right at the exercises.
Sunday Prep Work
I'm still at 'what-is-programming'

I just realized I worked better and more efficiently in a group. That explains I'm a bit behind...

you can organize study groups, it can be a good idea to do some learning together

I need to work more on time management!

yes, and please check Discord more often and interact as much as you can

Week 3
I Need Help With:
Nothing so far, however, I did not do all the exercises (I assumed I understood them 😕 ?). I will have more time for the 3rd part on Friday
What went well?
Understanding why the code was put in a certain order and tracing
What went less well?
Writing the code myself, so far, I am not confident to write it on my own but I did understand the exercises.
Lessons Learned
It gets more confusing and I should prepare myself
Sunday Prep Work
Starting with the new chapter tmr

Writing the code myself, so far, I am not confident to write it on my own but I did understand the exercises.

That's ok, writing your own code is still a 🐔 skill for now.   There will be plenty of time and exercises to learn about writing your own code soon.

I Need Help With
For loop but Dnyandeo really helped me out
What went well?

The exercises last Sunday! We were able to finish all but two exercises left although we joined online. Our group will meet up today to finish the rest
debugging!

What went less well?

The theory part, I was sick early this week so I could only start reading it now

Sunday Prep Work
-Finishing up the UX/UI assignment

For loop but Dnyandeo really helped me out

happy to hear that


Include tasks in sdists

This allows people to invoke tests from the sdists

Thanks!

@toddrme2178 FYI I just made a new Pscript release that includes your work. Will also release other Flexx packages today.

Thank you!


nf4 still unsupported?

In the example: example/CPU/QLoRA-FineTuning/qlora_finetuning_cpu.py
It mentions on a comment that nf4 is not supported on cpu yet but when I change the example from int4 -> nf4 it still runs without errors or warnings related to nf4.
Is nf4 now supported?  Otherwise if it is defaulting back to int4 I think it's worth printing an error or warning.
bnb_config = BitsAndBytesConfig(
        load_in_4bit=True,
        bnb_4bit_use_double_quant=False,
        bnb_4bit_quant_type="int4",  # nf4 not supported on cpu yet
        bnb_4bit_compute_dtype=torch.bfloat16
    )

Hi @epage480 ,
Thanks for your validation. Yes, NF4 is currently supported.
The CPU QLoRA example uses the quantization backend of bitsandbytes, which has already enabled NF4 on Intel 4th Gen Xeon (SPR) platform as shown here.


.gitignore in a template is ignored

npm publish does not upload .gitignore. ref: https://github.com/npm/npm/issues/3763

直した


(maint) Fix server list setting test

Applied commit https://github.com/puppetlabs/puppet/commit/6cb9d307541d9ccf356ab13a35db2bea444ac109 which did not target 5.5.x branch

Jenkins please test this on fedora30-64


New version: Rizin.Cutter version 2.3.2

- [X] Have you signed the Contributor License Agreement?

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?

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

Resolves #115801

Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Executable-Error


Remove mobile deactivation

Questions
Answers

Description?
Removes call to removed feature of mobile deactivation.

Type?
refacto

BC breaks?
yes

Deprecations?
no

Fixed ticket?
-

How to test?
No test needed.

@Hlavtox could you check the failing test before I test the PR ? ^^


Create bnmit.txt

@Suhass149 I am sorry, I have to close this request without merging, because you requested to add a non-existent domain to this repository:
$ host bnmit.edu.in
Host bnmit.edu.in not found: 3(NXDOMAIN)

Please ensure you are familiar with this repository rules located at the bottom of this page and submit a new request with correct information. Thank you for the understanding!


DCOS-11784: Remove unused CSS

retest this please

retest this pelase

retest this please
please please please please


& TonyBagnall [DOC] Remake get_started page

Completely remakes the get_started page. Converts the glossary page to .md and adds some placeholder terms.
current get started page: https://www.aeon-toolkit.org/en/latest/get_started.html
new getting started page: https://aeon-toolkit--346.org.readthedocs.build/en/346/getting_started.html
current glossary page: https://www.aeon-toolkit.org/en/latest/glossary.html
new glossary page: https://aeon-toolkit--346.org.readthedocs.build/en/346/glossary.html
(this is mostly minor, removes the Scitype term and adds some todo placeholders)

I have a few changes to make actually, I will do so on this PR

See #45


Fix RuntimeNNPA and zdnn dependency order

fix ordering of RuntimeNNPA and zdnn when calling addCompilerConfig
don't use set_union since it sorts the vector

Signed-off-by: Gong Su<EMAIL_ADDRESS>

Jenkins Linux amd64 Build #5799 [push] - fix ordering of Runtim... started at 14:42

Jenkins Linux s390x Build #5814 [push] - fix ordering of Runtim... started at 15:42

Jenkins Linux ppc64le Build #4936 [push] - fix ordering of Runtim... started at 15:45

Jenkins Linux s390x Build #5814 [push] - fix ordering of Runtim... passed after 1 hr 0 min

Jenkins Linux amd64 Build #5799 [push] - fix ordering of Runtim... passed after 1 hr 9 min


feat: added example support for artifact command in root.go (#11898)

Yes, it fixes by adding the example support for the artifact command.
Fixes #11898
Motivation
I have made my changes to support more detailed information when someone triggers or runs artifact cobra command.
Verification
by running - argo artifact my-wf

hey, u could run the pre-commit hooks without facing protoc-gen-gogo plugin not found error?

@nikzayn You'll have to push the doc file as well

closing due to staleness


Extend non-utf8 example for Windows

This PR extends the non-utf8 example for Windows. For platforms not(any(unix, windows)), a fn main() {} stub is used.
Without this change, running cargo test and cargo run --example non-utf8 leads to build errors while on Windows.

build error
cargo test
   Compiling xflags v0.2.1
error[E0433]: failed to resolve: could not find `unix` in `os`
  --> examples\non-utf8.rs:18:18
   |
18 |     use std::os::unix::ffi::OsStringExt;
   |                  ^^^^ could not find `unix` in `os`

error[E0599]: no function or associated item named `from_vec` found for struct `OsString` in the current scope
  --> examples\non-utf8.rs:21:19
   |
21 |         OsString::from_vec(vec![254].into()),
   |                   ^^^^^^^^ function or associated item not found in `OsString`

error[E0599]: no function or associated item named `from_vec` found for struct `OsString` in the current scope
  --> examples\non-utf8.rs:22:19
   |
22 |         OsString::from_vec(vec![255].into()),
   |                   ^^^^^^^^ function or associated item not found in `OsString`

error: aborting due to 3 previous errors

bors r+
On Thursday, 11 March 2021, memoryruins @.***> wrote:

This PR extends the non-utf8 example for Windows. For platforms not(any(unix,
windows)), a fn main() {} stub is used.
Without this change, running cargo test and cargo run --example non-utf8
leads to build errors while on Windows.
build error
cargo test
Compiling xflags v0.2.1
error[E0433]: failed to resolve: could not find unix in os
--> examples\non-utf8.rs:18:18
|
18 |     use std::os::unix::ffi::OsStringExt;
|                  ^^^^ could not find unix in os
error[E0599]: no function or associated item named from_vec found for struct OsString in the current scope
--> examples\non-utf8.rs:21:19
|
21 |         OsString::from_vec(vec![254].into()),
|                   ^^^^^^^^ function or associated item not found in OsString
error[E0599]: no function or associated item named from_vec found for struct OsString in the current scope
--> examples\non-utf8.rs:22:19
|
22 |         OsString::from_vec(vec![255].into()),
|                   ^^^^^^^^ function or associated item not found in OsString
error: aborting due to 3 previous errors

You can view, comment on, or merge this pull request online at:
https://github.com/matklad/xflags/pull/12
Commit Summary

Extend non-utf8 example for windows

File Changes

M examples/non-utf8.rs
https://github.com/matklad/xflags/pull/12/files#diff-4beb3cd174a889b487720121800b27db13e53d190cfc99950970b15ad135c9c4
(21)

Patch Links:

https://github.com/matklad/xflags/pull/12.patch
https://github.com/matklad/xflags/pull/12.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/matklad/xflags/pull/12, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANB3MYVM4CDG75GTWFBNU3TDEM4NANCNFSM4ZA76HRA
.


Add bash completion

https://github.com/spf13/cobra/blob/master/bash_completions.md

We could add a docker-app completion like kubectl does?
Settings Commands:
  [...]
  completion     Output shell completion code for the specified shell (bash or zsh)

It's basically free, thanks to cobra.

This commit added a completion command https://github.com/docker/app/commit/900341a8b2312e6a3f5bd9948bb7b45eba12ef5c and this should be in the next release.


Cross HMC LPM

@PraveenPenguin need your approval

@sacsant Please approve

@sacsant Please approve

Reviewed the code. LGTM


Introduce validations through CEL for Gateway and GatewayClass.

What type of PR is this?

/kind feature
What this PR does / why we need it:
Add support for CEL based validation for Gateway and GatewayClass. This allows us to have more complex validations than those supported by the OpenAPIv3 spec without the need of an additional validation webhook. Upcoming PRs will gradually extend this to HTTPRoutes (and other remaining resources) as well.
References:

https://kubernetes.io/docs/reference/using-api/cel
https://kubernetes.io/blog/2022/09/23/crd-validation-rules-beta/

Notes for the reviewers:

The tests included in this PR perform error string comparisons. I understand that this may not be the most ideal choice but it helps establish some confidence that the validations are in fact working correctly.
Tests aren't currently being run parallely for easier debugging when reading the test output. The tests itself barely take anytime so we may not have the need to run them parallely at the moment.

Which issue(s) this PR fixes:

Fixes #
Does this PR introduce a user-facing change?:

Introduce validations through CEL for Gateway and GatewayClass.

(just a note that this has some implications on #1514)

Just to be clear, we've manually tested this as well right? I know we've added some automated tests, but we've performed some manual deployments of CRDs and exercised things a bit on an implementation using those CRDs, e.t.c.?

That's a very valid concern and I completely share the sentiment. Yes I have manually tested it to an extent. But yes this could be critical and all the testing we could get here is welcomed. (I'll continue testing on the side whenever I can and quickly revert back if something seems off)

I'm happy to LGTM this, but I'll also hold so that we can decide if we want to merge now or after v0.8.0.
/lgtm
/hold

Chatted with @shaneutt and I think we're good to merge this. @gauravkghildiyal's pretty busy right now so I'm going to file a follow up PR shortly that addresses the last bits of feedback I have.
/hold cancel


OSX Installation Issues

Getting errors when importing in IDA after pip installation (IDA 6.9.151221, OS X 10.11.4):
Python>import sark
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/sark/__init__.py", line 28, in <module>
    from . import (core,
  File "/Library/Python/2.7/site-packages/sark/codeblocks.py", line 2, in <module>
    import networkx
  File "/Library/Python/2.7/site-packages/networkx/__init__.py", line 68, in <module>
    import networkx.utils
  File "/Library/Python/2.7/site-packages/networkx/utils/__init__.py", line 2, in <module>
    from networkx.utils.decorators import *
  File "/Library/Python/2.7/site-packages/networkx/utils/decorators.py", line 7, in <module>
    from decorator import decorator
ImportError: No module named decorator

Python>import sark
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/sark/__init__.py", line 28, in <module>
    from . import (core,
  File "/Library/Python/2.7/site-packages/sark/codeblocks.py", line 2, in <module>
    import networkx
  File "/Library/Python/2.7/site-packages/networkx/__init__.py", line 43, in <module>
    from networkx import release
ImportError: cannot import name release

Not sure how to fix this one!  Looks like it changes on subsequent attempts to import.

You might be able to use some of the ideas here - https://github.com/tmr232/Sark/issues/13#issuecomment-203789419
I can't help too much as I don't have IDA on OSX, but I recommend making sure you can import all of Sark's dependencies.

Is this still relevant?

Haven't come back around to try the recommendations; will do that shortly.


Multiple errors from a single validator

Is your feature request related to a problem? Please describe.
As a developer I would like to validate multiple fields with a single validator. This would allow me to perform server-side, asynchronous validation for an entire form section but still display distinct error messages for each field.
Describe the solution you'd like
I would like to be able to specify more message + errorPath combinations in a single validator return objects.
Perhaps:
{
  groupValidator: [
  {
    errorPath: 'password',
    message: 'Please choose a stronger password!',
  },
  {
    errorPath: 'username',
    message: 'This username is already taken!',
  },
  ]
}

Describe alternatives you've considered
The validation error return object of a validator could also be an array or it could be an object with multiple named validators.
For example:
{
  passwordValidator: {
    errorPath: 'password',
    message: 'Please choose a stronger password!',
  },
  usernameValidator: {
    errorPath: 'username',
    message: 'This username is already taken!',
  },
}

Additional context
Add any other context or screenshots about the feature request here.

Looks great! Thank you for the quick implementation 👍
Will this be a part of v5 or are you planning on keeping this for next?

it will be part of v5

Hi, the fix is now included in the dev version 5.10.0-dev.ad26817d which you may use until the stable release 5.10.0 is available (scheduled for Saturday).

This issue has been fixed and released as part of v5.10.0 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!


How to upload & run container in Azure Container Registry

need more detail on how to actually push and run this container in Azure Container Registry.

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

ID: cc19d2e0-5960-c165-083c-a9dcf9976c91
Version Independent ID: 58d32965-6909-2461-5158-aa66d904bf3c
Content: Docker containers - Language Understanding - Azure Cognitive Services
Content Source: articles/cognitive-services/LUIS/luis-container-howto.md
Service: cognitive-services
GitHub Login: @diberry
Microsoft Alias: diberry

@meghanahickey
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate
@diberry
Hi Dina, this is a customer now asking more detail on how to actually push and run this container in Azure Container Registry, can you please check it and update the document as necessary? Thanks a lot!

@YutongTie-MSFT Will do.
@meghanahickey Hi Meghan, Thank you for letting us know this area of the documentation needs to be improved. #in-progress

Hello @diberry, @YutongTie-MSFT, Is there any documentation available "How to run LUIS container in Azure" instead of localhost:5000. Also I would like to deploy Azure bot  framework and LUIS Docker container. Can anyone please help ?

@mansetaashok The Cognitive containers can be deployed in several different Azure services: Azure Container Instances, Azure Stack, and Azure Kubernetes Service. Which did you want to use? Azure bots can be deployed as a web service through Azure Web App Bot service. There is middleware in the bot framework that can talk to LUIS as well as the web app bot settings for LUIS configurations. Which, if any of this, are you looking for?

Hello @diberry, I have a Azure bot service which is already running with LUIS through Azure DevOps pipeline. The bot application has deployed using Azure deployment center.  Now I would like to create a docker image for my bot application and build it through DevOps azure pipeline. The image should be build and push to the Azure Container Registry . Since my LUIS container is working on my local computer could you please help how can I build and deploy docker container for Luis and my bot application on Azure

@mansetaashok LUIS and the bot won't be able to live in the same container, so they each need to be in their own container. Once you have each in a container and running locally, you should be able to push your containers to your own private azure container registry. The devops pipeline should then be able to access those two containers. You can have the two containers run in a private network so that only the bot is exposed externally, via docker compose or kubernetes.

@diberry, Thank you for your response.   I am trying to build Azure pipeline for my bot framework and build/push image to the Azure Container Registry.  As a next step I would like to bring another container for Luis to the ACR or Azure Container Instance. Could you please help me with some basic steps or documentations.   I am bit confused about the package file I have downloaded from LUIS application to my local computer. Should it be stored into the "Azure storage file share" to mount the input for LUIS container?  I am new to this.  It would be really helpful for me if I get some basic information to bring LUIS container to the Azure instead of local host.  Thank you.

@mansetaashok This is an interesting use case, the documentation should cover it but doesn't. Let me find the answers and get back to you.


cluster upgrade plan: remove misleading message

Why is this PR needed?
Remove this misleading message from cluster upgrade plan. We can
improve this situation by properly composing a list of addons based
on:

Current addons version (for the current cluster version)

This is essentially our skuba-config ConfigMap contents

Desired addons version (for the current cluster version)

This is essentially mapping the current versions and projecting
them to their desired versions in the versions.go file, for the
current cluster version.

Desired addons version (for the next cluster version)

As the previous step, but projecting to the next cluster version.

By performing this logic, our cluster upgrade plan would be more
complete, so that we can report:

Whether a skuba addon upgrade apply is required before trying to
upgrade the platform (current addons version does not match desired
addons version for the current cluster version)

Versions that will be bumped when upgrading the platform

Whether a skuba addon upgrade apply is required after upgrading
the platform (desired addons version for the current cluster version
does not match desired addons version for the next cluster version)

/cc @SUSE/caasp-qa
Merge restrictions
(Please do not edit this)
We are in v4-maintenance phase, so we will restrict what can be merged to prevent unexpected surprises:
What can be merged (merge criteria):
    2 approvals:
        1 developer: code is fine
        1 QA: QA is fine
    there is a PR for updating documentation (or a statement that this is not needed)

Removing from 4.1.0 given this https://github.com/SUSE/skuba/commit/0cba02dc11b958de1ccd1812b070785a92df0efb is not in caasp-release-4.1.0 branch


[BUG] There are no new builds in the repo for Fedora IoT

I am trying to deploy Fedora IoT 38 & Microshift on a Raspberry Pi 4.
Microshift is not launching correctly, I was checking and the build is 4.8.0 and not for Fedora 38.
I was checking the repos and there are no new builds for 1,5 year now.
There are plans to start building Microshift again for Fedora IoT?
Find attached some screenshots of the actual status of the repos.

Hi, @pablo-suazo , unfortunately the team has had to focus on some productization work, and that has meant pausing some community work like this. We do intend to get back to creating Fedora builds, but I can't promise a timeline.

/close


dispatch-build-bottle: cleanup

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

The upload input will be made into a boolean in
Homebrew/homebrew-core#127026.
linux_wheezy is no longer a valid input to the workflow, so let's get
rid of that.

Thanks @carlocab!


Climate frontend card on iOS not showing first operation mode in dropdown

Home Assistant release (hass --version):
0.57.2
Python release (python3 --version):
Hass.io, so 3.6?
Component/platform:
Demo Climate component
Description of problem:
The first selectable Mode is missing on iOS (11.1.1). Tested iOS app and Safari on iOS, see attachments.
Tested on iPhone 7 and iPad Pro.
It worked fine in 0.56.
Works on Android and in Windows (Chrome and Edge).
Expected:
First mode to appear on mobile dropdown.
Problem-relevant configuration.yaml entries and steps to reproduce:
climate:   -platform: Demo
iPhone 7:

iPad Pro:

LG G3, as it should look like:

I thought this was an issue with the app but it looks to be a mobile web issue..
https://community.home-assistant.io/t/climate-component/34817

I am seeing this with the Roku component as well on mobile. Can't access the top few items on the input list.

I tried Safari emulator and I could not reproduce on 0.60. Is this only visible on devices?

Still same problem.


feat: add viper provider for xload

Adds an xload.Loader implementation for github.com/spf13/viper

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0020145) 98.97% compared to head (ccef017) 99.06%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
+ Coverage   98.97%   99.06%   +0.08%
==========================================
  Files          35       24      -11
  Lines         781      535     -246
==========================================
- Hits          773      530     -243
+ Misses          8        5       -3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Not urgent. Can you add examples for all the config options

Rest LGTM


Support 256(or 24bit) Color Schemes

Unless I'm mistaken, there doesn't appear to be a way to use full RGB color (or 256-color) for customizing the appearance. For terminals that support it (most all nowadays), this would allow for even more customization beyond just the 16 ANSI colors.
It looks like the only supported styles now are
; Available styles:
; bold, underline, blink, inverse, invisible, (light)black, (light)red,
; (light)green, (light)yellow, (light)blue, (light)magenta, (light)cyan,
; (light)white

Perhaps {xterm-0-fg} - {xterm-255-bg} for indexing into the 256 color table, or something like {rgb-255,255,255-fg} for full RGB?

You should be able to use 256 colors using hex values: https://github.com/chjj/blessed#colors
The hex values will be coalesced to the closest color that the terminal supports.


Create LEARN.md

PR Description 📜
created Missing LEARN.md file
Fixes #219

Mark the task you have completed ✅

[X] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[X] I have performed a self-review of my own code or work.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] My changes generates no new warnings.
[X] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE

Thank you soo much for contributing to our repository 💗

@ayush-t02 please assign me also in this PR. Otherwise gssoc will not count it.


Feature Request: Connecting to Robot in separate Network

overview
Feature Request: Add the ability to connect to the robot with a specified DNS Name / IP Address. We cannot put the robot in the same network as our clients. So the autodiscover of robots does not work.
Please also provide an overview of what ports are used, so we can open the firewall accordingly.
current behavior
The robot cannot be discovered.
steps to reproduce
Place robot in separate network.
expected behavior
Robot is discovered.

Hi @mcous
Thank you for clarifying, it works well when using the IP Address in the config file.
However, it would be great if there's also a UI button for connecting to an IP address.
Thank you,
Aurel

Ping @pantslakz:
As a user who is able to connect to my robot over USB-to-ethernet (and connect the robot to Wi-Fi / obtain the robot's IP and MAC addresses) but who has a Wi-Fi network that does not support automatic discovery, I would like to tell my app to attempt to find a robot at that known address even though it can't automatically find it.
Reasons a Wi-Fi network may not support automatic discovery (which is based on a technology called mDNS):

Network is built up of several smaller networks, as in the original feature request, which mDNS cannot traverse
Network may block mDNS for security reasons

Reasons the initial USB success is important:

The "Wireless" section of the connectivity card contains the IP address the user would end up entering in this list

In the future we can and should automate this

The "Wireless" section also contains the MAC address that the network administrator could use to assign the robot a static IP address on the network, which would make this feature more reliable

Without a static IP, the network may assign a robot a different IP address after a period of time, meaning the user would then have to find that new address and enter it into the app as a new entry

Is there any additional information you need for this ticket?

This feature is now being tracked in the following tickets:

#2740
#2741
#2742


Error when uploading attachments using php 5.6+ (but works with 5.5)

When I try to upload an attachment using the php proxy I get this error on the server
Unable to process request. java.lang.String cannot be cast to com.esri.arcgis.discovery.json.JSONObject
I have tried troubleshooting this a lot but I cant seem to get anywhere. Any help would be much appreciated.
The request details are like below ( urls obscured )
https://proxurl.com/proxy.php?https://serverurl.com:6443/arcgis/rest/services/editingservices/servicename/FeatureServer/0/106765/addAttachment
debugging proxy screenshots below
Request

Response

Results of proxy verification:
Check PHP version 5.4.2 or newer?   Pass [v5.6.21]
Check if directory is writable? Pass
Check for PDO Sqlite extension? Pass
Check for Curl? Pass [v.7.40.0]

I added some extra logging to the proxy and here is what I found was in the queryArray that curl is POSTING
05-30-16 03:51:30 | key:f       value:json
05-30-16 03:51:30 | key:attachment<EMAIL_ADDRESS>05-30-16 03:51:30 | key:token       value:TOKENVALUE

Found the issue: It was a simple version compatibility problem ( https://stackoverflow.com/questions/25934128/curl-file-uploads-not-working-anymore-after-upgrade-from-php-5-5-to-5-6)
php version 5.6 does not support the @ special character for files
You can do one fo the two methods you can either set
The two lines 1175 and 1177
$this->proxyData[$key] = "@" . $this->unlinkPath;
$query_array[$key] = "@" . $this->unlinkPath;
To
$this->proxyData[$key] = new CURLFile($this->unlinkPath, $file['type']);
                    $query_array[$key] = new CURLFile($this->unlinkPath, $file['type']);

And add CURLOPT_SAFE_UPLOAD before line 1193
        curl_setopt($ch, CURLOPT_SAFE_UPLOAD, true);

The other option is to set CURLOPT_SAFE_UPLOAD to false above line 1193 but that was not recommended

@godsmustbcrazy - Thanks for opening this issue and also finding the solution.  I'm going to re-open this issue to keep track of this problem until we fixed it in the php proxy.

@godsmustbcrazy thanks.  Looking into this with @bsvensson.  This is long over do but I think we've reached a point in time where we have to consider version specific fixes and get with the team responsible for addAttachment logic..  Interesting.  I was not aware of the point you made with php version 5.6 does not supporting the @ special character for files.  Thanks.

#365 has been merged.
Closing.
Note also that the resource-proxy is moving to only support PHP 7.1 and later - see #449.


GPS Widget and HRM Widget stopped the clock loading correcly

Just a quick bug I found where my bangles clock would not load correctly with either of the apps loaded.
Some times it would load (but the bt 2 push would then not work for the launcher) but most of the time is just loaded a black screen where the clock should be. Widgets were still there but the launcher for apps would not load from the push of bt 2.
Have not looked at the code but thinking that it might just be messing with the running of the clocks as that would explain the bt 2 not working?

I was using on the 2v08 of the firmware, did not test with any other firmware,

Ahh - yeah, the widgets both say Requires firmware v2.08.167 or later
Obviously it'd be nice if they didn't totally break everything on older firmwares though! I've just pushed a fix and will get this into the official BangleApps soon

Aww that's ok then :-) thanks


haste-inst mixes up package databases on OSX

haste-boot seems to be broken on OS X (10.8.2 64bit 7.6.3) under some circumstances; it would seem that the culprit is haste-inst accidentally looking at the vanilla GHC package database.
haste-boot log: http://lpaste.net/92355
Originally reported in #57 by @hansonkd.

Fixed on master since some time ago.


Please invite me to the Community Organization

Name
Folarin Lawal
Discord Username (if applicable) E.g John#412
No response
Questions & suggestions?
None

Welcome to the community, @Madflows. 😄


fix: Do not make KameletBinding/Pipe an array

Fixes: #186

@lordrip yes I think that would need a non trivial refactoring. In order to support multiple CRs (no matter if it's in a single file with --- separator or just multiple file), We need to partition non-visual entities as well, say non-visual-entity[0-3] belongs to visual-entity[0], non-visual-entity[4-6] belongs to visual-entity[1], etc.


Initial setup and configurations

Heroku Postgresql

[ ] Create a new account in Heroku
[ ] Create a wiki page with Heroku's information (links, credentials, etc.)
[ ] Infrastructure code (decoupled)
[ ] Use containers (https://kubernetes.io / https://www.docker.com)
[ ] Deploy script

[ ] Continuous Integration (see #9)

[ ] Create a new account in Heroku
[ ] Create a wiki page with Heroku's information (links, credentials, etc.)
[ ] Infrastructure code (decoupled)
[ ] Use containers (https://kubernetes.io / https://www.docker.com)
[ ] Deploy script

[ ] Continuous Integration (see #9)

Stack

Flask
postgreSQL
Vue.Js

Stack

Flask
postgreSQL
Vue.Js

I am taking over the Flask+Postgresql part link

I am taking over the Flask+Postgresql part link

@ordavidil installed Herolu postgresql addon, see here the DB credentials

@ordavidil installed Herolu postgresql addon, see here the DB credentials

@ordavidil please see the updated readme, and let me know if were able to clone the repo and follow the instructions correctly.
I already implemented (but did not finish checking) an initial version of the flask-sqlalchemy part on https://github.com/noamoss/similiarity-hub/pull/11, based on these definitions. I will update when ready for review.

@ordavidil please see the updated readme, and let me know if were able to clone the repo and follow the instructions correctly.
I already implemented (but did not finish checking) an initial version of the flask-sqlalchemy part on https://github.com/noamoss/similiarity-hub/pull/11, based on these definitions. I will update when ready for review.


How do I adjust the parameters to train longer texts?

I am a Chinese undergraduate student in my fourth year. I want to apply the PARSeq algorithm for my graduation project. The theme of my graduation project is to recognize the content of handwritten English compositions written by Chinese students.
To make the training results closer to the situation of Chinese students, I use the "TAL_OCR_ENG Handwritten English Dataset" composed of handwritten English compositions written by Chinese students for training. However, the images in this dataset are texts in lines, with a maximum of 84 characters. And the image size is also 1024*64 (I have converted them into lmdb format). For this reason, I modified the parameters in the project's configs/main.yaml file (the commented parts are the original ones).
model:
convert : all
img_size:[1024,64] #[32,128]
max label length:84 #25

Then I encountered such an error.

I found the model's weight file(parseq-bb5792a6.pt) and used the following code to obtain the values corresponding to these two keys. Here is the code:
import torch
state_dict = torch.load('parseq-bb5792a6.pt')
print(state_dict['pos_queries'].size())
print(state_dict['pos_queries'])
print(state_dict['encoder.pos_embed'].size())
print(state_dict['encoder.pos_embed'])

The output is as follows:
torch.Size([1, 26, 384])
tensor([[[-0.2878,  0.6814,  0.6265,  ...,  0.2775, -0.9483, -1.3894],
         [-0.1677,  0.0833, -1.1526,  ...,  0.2640, -1.6646,  1.3602],
         [-0.1629, -1.0639, -0.6476,  ...,  0.0539,  1.0622,  0.2378],
         ...,
         [-0.2537, -0.1642, -0.0805,  ..., -0.5252,  1.0414,  1.1540],
         [ 0.7677, -0.3650, -0.2111,  ..., -1.2969,  1.3790,  0.8811],
         [ 2.4873,  0.0518,  0.0538,  ...,  0.9509,  1.1482, -0.8854]]])
torch.Size([1, 128, 384])
tensor([[[ 0.0365,  0.2923, -0.1244,  ..., -0.0261, -0.1939, -0.0601],
         [ 0.1204, -0.0830, -0.1651,  ..., -0.2746, -0.2278,  0.0237],
         [-0.0267, -0.1396, -0.3435,  ..., -0.4587, -0.2056,  0.0276],
         ...,
         [-0.3353,  0.1193, -0.7265,  ..., -0.2727,  0.5336, -0.0109],
         [-0.1968,  0.0527, -0.4795,  ..., -0.3073,  0.6965, -0.0116],
         [-0.0808,  0.2386, -0.2626,  ..., -0.1301,  0.6203, -0.0302]]])

How should I adjust the settings to be able to train on the dataset I want?

Hi, please check out the finetuning-related questions in the FAQ.
The parameter changes you made also changed the following:

Number of patch embeddings in the encoder
Number of position tokens in the decoder

Because of this, you cannot use the training pipeline for finetuning. You may try to use the existing weights by loading them manually per torch.nn.Model prior to training.


Roll engine 20f5000bc5ee..760fea25cf41 (3 commits)

https://github.com/flutter/engine/compare/20f5000bc5ee...760fea25cf41
git log 20f5000bc5eef9fcf099084ed0440566392719b0..760fea25cf41aa2541f29a3123eabacd92a5a204 --no-merges --oneline
760fea25c remove m prefix from fields in the Android PlatformViews code (flutter/engine#9020)
75678602b Minor fixes/adjustments to the GLFW shell (flutter/engine#8990)
effc21473 Roll src/third_party/skia a8ceb775c12f..d93ee53affd3 (8 commits) (flutter/engine#9018)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


Add config isa to c api

I wanted to expose selecting the target isa (x86 or x64 for example) to the c-api.

Selecting a target isa doesn't make sense for a JIT. It must always match the host isa to prevent crashes. Even switching between the 32bit and 64bit version of an isa often isn't possible. (Linux has a way to switch between 64bit and 32bit x86 execution within a process, but I don't know of any other OS that supports this) If you want to switch between the old and the new x86_64 backend, then there is already the experimental_x64 feature flag. The new x86_64 backend is not complete enough to be usable at the moment though.

Hi @bjorn3 @bnjbvr thanks for the comments. Yes, full disclosure I was experimentation in trying to use the C-API (instead of wasmtime cli) to test modules that contained newly supported wasm instructions against the new backend. At current, I did not see how to access the experimental_x64 flag and was forced to comment out code and rebuild the wasmtime lib everytime I wanted to compare results between the two backend and was thinking support could be added to the api like the second line here:

wasm_config_t *config = wasm_config_new();
wasmtime_config_arch_set(config, x64);
wasm_engine_t *engine = wasm_engine_new_with_config(config);
assert(engine != NULL);

Of course this wouldn't work if the arch wasn't supported by the platform but that was understood. So the goal wasn't anything like cross-compile. In general ... I was wondering if it made sense to add a way to access most of the same flags available to the cli.
Once enough instructions are lowered (which may be the case with @bnjbvr latest push, the experimenting that I was doing can be done with a script that calls the wasmtime cli but messing around with the C-API was helping me understand parts of the internals a little better so I went that route. I was thinking that separate engine, separate store, separate instance, etc that this was possible, but from @bjorn3 comments it sounds like it is not.

You have to pass --features experimental_x64 to cargo build.

You have to pass --features experimental_x64 to cargo build.

I do that now. It's not enough. The guard in codegen/src/isa/x86/mod.rs is what I have to comment out:

if isa_flags.use_new_backend() {
    #[cfg(not(feature = "x64"))]
    panic!("new backend x86 support not included by cargo features!");

    #[cfg(feature = "x64")]
    super::x64::isa_builder(triple).finish(shared_flags)
} else {
    Box::new(Isa {
        triple,
        isa_flags,
        shared_flags,
        cpumode: level1,
    })

FYI ... it's not clear to me when --features=experimental_x64 is needed because

[features]
default = ["disas", "wasm", "cranelift-codegen/all-arch"]

Is already set in cranelift/cargo.toml by default. Separately there is the set use_new_backend flag that can be passed to cranelift cli and I think this is the flag that I am trying to toggle (in a more generic way) with the wasmtime c-api.

I thought experimental_x64 caused use_new_backend to be set by default.

Some clarification here:

clif-util compiles with support for all the architectures, and this what you see in cranelift/Cargo.toml, so this includes the support for building the x64 backend. Then, one needs to set the use_new_backend to dynamically request the new backend to be used. (This was mostly a workaround around the construction of the TargetIsas, which map 1:1 with the host target triple parsed by --target; we needed a way to distinguish between x86_64 in the old backend vs in the new backend)
wasmtime doesn't compile with support for all the architectures by default; by using --experimental_x64, you enable build support for the x64 new backend. But then the use_new_backend flag must be passed with --cranelift-other-flags.

Closing this draft PR. @bnjbvr clarified somethings for me here but beyond that I believe API updates have made what was intended here obsolete.


scaling functions similar to D3

It would be better if there are scaling functions present similar to D3js so that we can easily convert list from one scales to another. So we could something like this
R.linearScale = (domainMin,domainMax) =>
                   (rangeMin,rangeMax) =>
                       (n) =>
                         rangeMin + (n - domainMin) * (rangeMax - rangeMin) / (domainMax - domainMin)

const initialScaleData = [0, 1000, 3000, 2000, 5000, 4000, 7000, 6000, 9000, 8000, 10000];
let linearScale = R.linearScale([0,1000]);
let converter = linearScale([0,100]);

console.log(R.map(converter(n),initialScaleData))

This could be implemented way better than this. similarly for logscales etc..

I believe this is the first time we've heard requests for functions such as this.
While these are functions I occasionally use myself, I don't see them being general-purpose enough to fit in the library.  What do you think about adding them to the Cookbook?

@CrossEye  I edited the Cookbook https://github.com/ramda/ramda/wiki/Cookbook#linear-scaling-of-array

Thank you @Rafi993!


Suggestion - A fix of white title bar in dark mode (no-mica version)

add "Palette.WindowText": "#ffffff" to dark-config.json
Before:

After:

+1 for this one. Looks awesome!

+1
love the theme but really averse to needing to run another software (micaforeveryone).  the no-mica version is right up my alley but the titlebars being white was a non starter.  assumed it must have been an oversight seeing as much older qbittorrent themes were able to darken titlebars without any other dependencies.


increase mining nodes timeout from 20 to 40 seconds

Avoid the error "unable to set up mining node: connection timeout"
LND's unit test is using BTCD integration/rpctest/rpc-harness to bring up mining nodes. The timeout for setting up a mining node is currently 20 seconds and is hard coded within BTCD without any external interface which allows it to be increased.
Many times these 20 seconds are too short for LND's tests under Travis which cause the test to fail with "unable to set up mining node: connection timeout"
This commit patches BTCD prior to the build and changes the 20 second to 40 second.
In order to see the problem just change 40 to 3 and rerun the tests.

This isn't a proper solution, we should instead expose the timeout at the rpctest package level rather than using sed to modify the source code during test execution.

@Roasbeef So why do you close it?
The problem is still here. If you want to solve it differently that is great.
Suggest you reopen


Apply similar optimizations to SPECK2D as in SPECK3D.

This work is ongoing and very close to finish now. So closing the issue.


Bounty by UT

This is a test Bounty by Utkarsh - @Burhan

Submitted PR, it works!

Testing Re-opening


Incorrect parsing of string that starts with "0Dxxxxx"

Describe the bug
When reading a model that has storagenodes with id "0D05252", the string is parsed incorrectly as "0e05252"
A small test model is enclosed.
dflowfm.zip
To Reproduce
Steps to reproduce the behavior:
from hydrolib.core.dflowfm import FMModel
mdu = "FlowFM.mdu"
model = FMModel(mdu)
print(model.geometry.storagenodefile.storagenode[1].id)

The above steps returns: 0e05252
Expected behavior
The above steps should return" 0D05252
Screenshots
This can be verified in the nodeFile.ini:

Version info (please complete the following information):

OS: Windows
Version 0.5.2

Additional info
In my use case of Eindhoven, this is rather critical because there are more than 1000 nodes are parsed wrongly after reading. See below figure, the red nodes are parsed wrongly.
The wrongly parsed string will be written again but wont match the network node ID anymore, causing run to fail.

Another issue was reported via support: https://issuetracker.deltares.nl/browse/SOFTSUP-648

A side-effect of our fix is that you can now also set attributes that are floats using the Fortran scientific notation, e.g.:
from hydrolib.core.dflowfm import FMModel
mdu = "FlowFM.mdu"
model = FMModel(mdu)
model.geometry.storagenodefile.storagenode[1].area = "1d3")

@xldeltares Could you verify that this issue is fixed in branch: bug/559_Incorrect-parsing-of-string-starting-with-0D?

@tim-vd-aardwegAfter testing the reported bug in the example model enclosed, I confirm that the issues has been fixed in bug/559_Incorrect-parsing-of-string-starting-with-0D.  Glad that this has been fixed and thanks!


Renaming the package from ClustForOpt to TimeSeriesClustering

We are currently in the process of renaming the package. It is unclear if it has to be re-registered, which would require everyone to add it again to their julia package list:  https://github.com/JuliaRegistries/General/issues/2770
@mleprovost I saw that you forked the package, appreciated! Because of the rename, there could be a chance that there are hickups, but should be resolved in the next 2-3 days.
In the meantime, you should be able to use the package under its old name as ClustForOpt (just do using ClustForOpt) as is.

Requested a rename with a new uuid: https://github.com/JuliaRegistries/General/pull/2898


Split permutation from sponge construction

Work towards #29; this doesn't touch the constraint system implementation yet,
in order to be able to get design feedback on the software part.

The poseidon::PoseidonParameters struct is renamed to poseidon::Parameters
but otherwise remains unchanged.

The poseidon::PoseidonSpongeState struct is renamed to poseidon::State
and redefined to hold just the state itself, as well as the parameters needed
to run the permutation.  It exposes a permute(&mut self) method, rate() and
capacity() accessors, as well as Index, IndexMut, AsRef, and AsMut
impls that allow access to the state.

The poseidon::PoseidonSponge struct is renamed to poseidon::Sponge and
holds a State and a DuplexSpongeMode.  In other words, it consists of the
state, together with the extra data tracking how that state is being used to
implement a higher-level duplex construction.

The CryptographicSponge trait is changed so that new() takes an owned,
Self::Parameters, not a borrowed one.  This allows the caller to decide
where to copy data, instead of forcing the sponge implementation to clone
internally.  Or, a CryptographicSponge implementation could declare the
associated Parameters type to be some shared type (like an Arc wrapper)
that avoids the need to copy at all.

The SpongeExt trait that allows converting back and forth between a state
and a sponge is deleted; it's not safe to pass between abstraction layers
that way.

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (master)
[x] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[x] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

(A rendered copy of the docs is available here: https://rustdoc.penumbra.zone/main/ark_sponge/poseidon/index.html)

Hey, just bumping this -- if this approach seems good I can also apply it to the constraint implementations.

Feel free to apply to the constraints implementations.


Allow more space for market codes in the market selector

The Chore
We need to allow more space in the market selector to accomadate longer codes for points markets
Tasks

[ ]
[ ]

Additional details / background info

we should enlarge the popover a bit to have enough space for names and prices


fix sdk-feature-store.ipynb Workbench link

I think Nishant just wanted to fix the one broken link. If there are further issues with the notebook, we can fix it in a separate PR. You can log the issues in Github Issues.

Thanks @ivanmkc. It seems like majority of the comments were addressed with https://github.com/GoogleCloudPlatform/vertex-ai-samples/pull/790. I added the remaining fixes and also fixed the URL links. As for the comments about the headings, I don't think the extra headings are needed because many of the code blocks are referencing headings from before or are introducing simple methods like get that don't need a heading and take away from the notebook workflow. Please take a look when you get the chance @andrewferlitsch.


Update m12-strings-english.txt

MalBound finished TPT 800-899 (which the problem is on L808).

Jeffman can fix TPT 800-899 after the whole TPT is completed.


Looking for some techanjs help ...

(this is obviously not an issue but more a 'help wanted' label !)
Hi all,
I just wanted to shout out that I'm looking for some help to get some techanjs charts implemented. The work relates to my post on here earlier .... ( https://github.com/andredumas/techan.js/issues/46 ) and in particular drawing bespoke technical indicators (when the data is already calculated / supplied from a rest endpoint). Before I go to Elance etc - thought I'd quickly ask on here.
If anyone is interested to help or knows of someone else who might - please ping me an email 'swissalex90 at hotmail.com' or @_AlexCurtis
Tks - Alex

@AC90  Any luck?

Closing due to no activity. Tonnes of other sites around to find people to do work ;)


Which Exe to Attach to?

When I've been remote debugging ASP.NET Core apps I've been attaching to my exe i.e. MyASPApp.exe in this example but the demo attaches to dotnet.exe.
Is there pros/cons to either approach?  Same difference?
Attaching to my exe feels safer compared to attaching to dotnet.exe.  Seems like I could effect other apps, no?

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

ID: c4215ecb-721f-9b0b-66ae-042ffd7c9842
Version Independent ID: 0d58ec46-8b09-f184-24f3-ac53ac0d1b50
Content: Remote Debug ASP.NET Core on a Remote IIS Computer - Visual Studio
Content Source: docs/debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@spottedmahn That's very interesting. I don't think that it was possible to connect to MyASP.exe in previous versions of the remote debugger and/or VS. If attaching to MyASP.exe gets you the debugger features you expect, yes, that sounds safer. I will need to test this before changing the doc, as that may not work in VS 2017. What version of VS are you running?

Works in VS 2017 on a .NET Core 2.0 web app for me.

@spottedmahn I'm updating the doc, mentioning the method you described. I can't get a repro on a local IIS, so I will also leave in the dotnet.exe info for the time being until I have better info.

Hi @Mikejo5000 - I think I figured it out today why I'm seeing the differences: full framework vs core framework...
When targeting the full framework the exe is the app name.  In core, I guess only a dll is produced and that DLL runs under dotnet.exe
Reference: Attaching the debugger


Non profitable order executed

Describe the bug
SOR executed a losing funds order: https://cardanoscan.io/transaction/c64934e42fb581dd0917027004b0930b949d4b78e49063deb5a7103b8de1a787?tab=utxo.
bot address: addr1vy0csc8ze26e9e9wr0q2f4xkxpsj6pt8q62vy9yvm4zuy3gtj6jug
Expected behavior
Orders executed should not be losing funds.
Station (please complete the following information):

OS: Debian
Version: 11

Additional context
SOR is running from docker (version 3.8)
SOR Config:
ENV BOTC_FP_NFT_POLICY='compiled-scripts/minting-policy'
ENV BOTC_FP_ORDER_VALIDATOR='compiled-scripts/partial-order'
ENV BOTC_EXECUTION_STRAT='OneSellToManyBuy'
ENV BOTC_RESCAN_DELAY='30000000'
ENV BOTC_MAX_ORDERS_MATCHES='5'
ENV BOTC_MAX_TXS_PER_ITERATION='4'
ENV BOTC_RANDOMIZE_MATCHES_FOUND='True'
ENV BOTC_ASSET_FILTER='[{ "commodityAsset" : "1d7f33bd23d85e1a25d87d86fac4f199c3197a2f7afeb662a0f34e1e.776f726c646d6f62696c65746f6b656e", "currencyAsset" : "lovelace"},{ "commodityAsset" : "1ddcb9c9de95361565392c5bdff64767492d61a96166cb16094e54be.4f5054", "currencyAsset" : "lovelace"},{ "commodityAsset" : "25f0fc240e91bd95dcdaebd2ba7713fc5168ac77234a3d79449fc20c.534f4349455459", "currencyAsset" : "lovelace"},{ "commodityAsset" : "279c909f348e533da5808898f87f9a14bb2c3dfbbacccd631d927a3f.534e454b", "currencyAsset" : "lovelace"},{ "commodityAsset" : "29d222ce763455e3d7a09a665ce554f00ac89d2e99a1a83d267170c6.4d494e", "currencyAsset" : "lovelace"},{ "commodityAsset" : "51a5e236c4de3af2b8020442e2a26f454fda3b04cb621c1294a0ef34.424f4f4b", "currencyAsset" : "lovelace"},{ "commodityAsset" : "533bb94a8850ee3ccbe483106489399112b74c905342cb1792a797a0.494e4459", "currencyAsset" : "lovelace"},{ "commodityAsset" : "5c1c91a65bedac56f245b8184b5820ced3d2f1540e521dc1060fa683.4a454c4c59", "currencyAsset" : "lovelace"},{ "commodityAsset" : "5d16cc1a177b5d9ba9cfa9793b07e60f1fb70fea1f8aef064415d114.494147", "currencyAsset" : "lovelace"},{ "commodityAsset" : "5dac8536653edc12f6f5e1045d8164b9f59998d3bdc300fc92843489.4e4d4b52", "currencyAsset" : "lovelace"},{ "commodityAsset" : "681b5d0383ac3b457e1bcc453223c90ccef26b234328f45fa10fd276.4a5047", "currencyAsset" : "lovelace"},{ "commodityAsset" : "682fe60c9918842b3323c43b5144bc3d52a23bd2fb81345560d73f63.4e45574d", "currencyAsset" : "lovelace"},{ "commodityAsset" : "6ac8ef33b510ec004fe11585f7c5a9f0c07f0c23428ab4f29c1d7d10.4d454c44", "currencyAsset" : "lovelace"},{ "commodityAsset" : "6c8642400e8437f737eb86df0fc8a8437c760f48592b1ba8f5767e81.456d706f7761", "currencyAsset" : "lovelace"},{ "commodityAsset" : "75fcc276057db5fc48eae0e11453c773c8a54604c3086bf9d95ac1b7.43485259", "currencyAsset" : "lovelace"},{ "commodityAsset" : "7914fae20eb2903ed6fd5021a415c1bd2626b64a2d86a304cb40ff5e.4c494649", "currencyAsset" : "lovelace"},{ "commodityAsset" : "804f5544c1962a40546827cab750a88404dc7108c0f588b72964754f.56594649", "currencyAsset" : "lovelace"},{ "commodityAsset" : "8a1cfae21368b8bebbbed9800fec304e95cce39a2a57dc35e2e3ebaa.4d494c4b", "currencyAsset" : "lovelace"},{ "commodityAsset" : "8cfd6893f5f6c1cc954cec1a0a1460841b74da6e7803820dde62bb78.524a56", "currencyAsset" : "lovelace"},{ "commodityAsset" : "8daefa391220bd0d8d007f3748d870f7f3c106040314c8515ccc35a5.464c4143", "currencyAsset" : "lovelace"},{ "commodityAsset" : "8db269c3ec630e06ae29f74bc39edd1f87c819f1056206e879a1cd61.446a65644d6963726f555344", "currencyAsset" : "lovelace"},{ "commodityAsset" : "8db269c3ec630e06ae29f74bc39edd1f87c819f1056206e879a1cd61.5368656e4d6963726f555344", "currencyAsset" : "lovelace"},{ "commodityAsset" : "8fef2d34078659493ce161a6c7fba4b56afefa8535296a5743f69587.41414441", "currencyAsset" : "lovelace"},{ "commodityAsset" : "95a427e384527065f2f8946f5e86320d0117839a5e98ea2c0b55fb00.48554e54", "currencyAsset" : "lovelace"},{ "commodityAsset" : "9a9693a9a37912a5097918f97918d15240c92ab729a0b7c4aa144d77.53554e444145", "currencyAsset" : "lovelace"},{ "commodityAsset" : "9abf0afd2f236a19f2842d502d0450cbcd9c79f123a9708f96fd9b96.454e4353", "currencyAsset" : "lovelace"},{ "commodityAsset" : "a0028f350aaabe0545fdcb56b039bfb08e4bb4d8c4d7c3c7d481c235.484f534b59", "currencyAsset" : "lovelace"},{ "commodityAsset" : "a3931691f5c4e65d01c429e473d0dd24c51afdb6daf88e632a6c1e51.6f7263666178746f6b656e", "currencyAsset" : "lovelace"},{ "commodityAsset" : "b34b3ea80060ace9427bda98690a73d33840e27aaa8d6edb7f0c757a.634e455441", "currencyAsset" : "lovelace"},{ "commodityAsset" : "b6a7467ea1deb012808ef4e87b5ff371e85f7142d7b356a40d9b42a0.436f726e75636f70696173205b76696120436861696e506f72742e696f5d", "currencyAsset" : "lovelace"},{ "commodityAsset" : "c0ee29a85b13209423b10447d3c2e6a50641a15c57770e27cb9d5073.57696e67526964657273", "currencyAsset" : "lovelace"},{ "commodityAsset" : "da8c30857834c6ae7203935b89278c532b3995245295456f993e1d24.4c51", "currencyAsset" : "lovelace"},{ "commodityAsset" : "dda5fdb1002f7389b33e036b6afee82a8189becb6cba852e8b79b4fb.0014df1047454e53", "currencyAsset" : "lovelace"},{ "commodityAsset" : "e52964af4fffdb54504859875b1827b60ba679074996156461143dc1.4f5054494d", "currencyAsset" : "lovelace"},{ "commodityAsset" : "edfd7a1d77bcb8b884c474bdc92a16002d1fb720e454fa6e99344479.4e5458", "currencyAsset" : "lovelace"},{ "commodityAsset" : "f43a62fdc3965df486de8a0d32fe800963589c41b38946602a0dc535.41474958", "currencyAsset" : "lovelace"},{ "commodityAsset" : "f66d78b4a3cb3d37afa0ec36461e51ecbde00f26c8f0a68f94b69880.69425443", "currencyAsset" : "lovelace"},{ "commodityAsset" : "f66d78b4a3cb3d37afa0ec36461e51ecbde00f26c8f0a68f94b69880.69455448", "currencyAsset" : "lovelace"},{ "commodityAsset" : "f66d78b4a3cb3d37afa0ec36461e51ecbde00f26c8f0a68f94b69880.69555344", "currencyAsset" : "lovelace"},{ "commodityAsset" : "fbae99b8679369079a7f6f0da14a2cf1c2d6bfd3afdf3a96a64ab67a.0014df1047454e5358", "currencyAsset" : "lovelace"}]'
ENV BOTC_POREFS='{ "refAddr": "addr1w9zr09hgj7z6vz3d7wnxw0u4x30arsp5k8avlcm84utptls8uqd0z", "refNftAC": "fae686ea8f21d567841d703dea4d4221c2af071a6f2b433ff07c0af2.4aff78908ef2dce98bfe435fb3fd2529747b1c4564dff5adebedf4e46d0fc63d", "nftPolicyRef": "062f97b0e64130bc18b4a227299a62d6d59a4ea852a4c90db3de2204a2cd19ea#1" , "scriptRef": "062f97b0e64130bc18b4a227299a62d6d59a4ea852a4c90db3de2204a2cd19ea#2" }'

SOR is running from docker (version 3.8)

@4TT1L4 I am not much familiar with our docker setup, could it be that the author is not using the latest commit of SOR repo?

@sourabhxyz the image was built from commit: 4a1557dd33927d384f16fe7c5e8c671e2932dc01

Yes, that's the old one. Use commit 921f3d3f22b146da671a5eff9b3e42a5fb19a4d9 or later.

Most recent version is still losing funds
https://cexplorer.io/tx/bcc877dffd55cbaeada786e2a6fee8adc131450e945370b972ddb954319a311e
addr1v9pkqtuhj429uty3zpkvzku3s436c9kqxp93d2pcqvf8tgcfcepal

Also running into losing fund issues:
Tx: https://cexplorer.io/tx/0b60fe6ca081b2a47b68cdd20dbe5b424a451a7704789ec72d7805c6cd12278f
Address: addr1v92xqu74grwyl6pv6m6p6f062vasds74rmtjpyq6lacl3rgdcw8gc
I am running the SOR via docker with an image built from source using this commit

@sourabhxyz the issue seems to be still present.
I have reopened the issue.

I personally feel something is up with the docker image, as my SOR personally never matched at loss. @4TT1L4 could you verify that docker image is indeed built using latest commit?
@caike In your configuration, currency is set as lovelace for all tokens right?

I personally feel something is up with the docker image, as my SOR personally never matched at loss. @4TT1L4 could you verify that docker image is indeed built using latest commit? @caike In your configuration, currency is set as lovelace for all tokens right?

Yep. I am pretty much using the default configuration from the README:
"scanTokens": [
      {
         "commodityAsset": "c6e65ba7878b2f8ea0ad39287d3e2fd256dc5c4160fc19bdf4c4d87e.7447454e53",
         "currencyAsset": "lovelace"
      }
   ]


Bug report: area filter breaks when switching between languages

Discussed in https://github.com/orgs/tech-acs/discussions/13

Originally posted by baakal May 16, 2023
When using area hierarchy with multiple language the filter doesn't work: in queryfragement the name of the area heirarchy is used, it would be better if we add slug-id field so that it becomes non language dependent.

Resolved in V4


Ordering of WasmPlugin and AuthorizationPolicy

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
Hi folks,
I have an AuthorizationPolicy with custom action which connects to external authz. I’m trying to add a WasmPlugin before AuthorizationPolicy but seems like it is always coming next to external AuthorizationPolicy. I have tried with AUTHN and AUTHZ phase in WasmPlugin and with high priority but still no luck.
SampleCode
apiVersion: extensions.istio.io/v1alpha1
kind: WasmPlugin
metadata:
  name: auth-wasm
  namespace: default
spec:
  selector:
    matchLabels:
      app: nginx
  url: http://host.minikube.internal:9000/main.wasm
  phase: AUTHN
  priority: 100

apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  name: auth-policy
  namespace: default #Change
spec:
  selector:
    matchLabels:
      app: nginx  #Change
  action: CUSTOM
  provider:
    name: test-ext-authz-http
  rules:
    - {}

Expecting WasmPlugin to come after AuthPolicy but not working.
Version
istioctl version: 1.17.2
kubectl version: 1.27.2

Additional Information
No response
Affected product area

[ ] Ambient
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Control Plane Revisions

Can you share your listener configuration, from https://github.com/istio/istio/blob/8652668835700c4e278dac4437a9e736602bc559/pilot/pkg/networking/core/v1alpha3/listener_builder.go#L363-L383, we do order them as documented

IC, you are using custom authz, it is inserted in front of all others.
@howardjohn Do you remember why you put it like this in #38595

I think that PR was just retaining the existing ordering which was probably accidental

@yangminzhu Tracked custom authz filter was put in front by you, do you remember the ctx?

Hi @yangminzhu, any update on this?

Yangmin is no longer working on the project so I wouldn't expect a response
On Sun, Jul 16, 2023 at 11:02 AM amar1104 @.***> wrote:

Hi @yangminzhu https://github.com/yangminzhu, any update on this?
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/45511#issuecomment-1637152889, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXN2SD7KSJKGRSGNYSDXQQUCZANCNFSM6AAAAAAZJB6WXI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Just not sure if there was some more considerations

How about we define a new PluginPhase_AUTHZ_CUSTOM (as this is reflecting current reality) and modify protobuf accordingly, so customers can also inject custom WASM plugins before this new stage (which is now not possible).
https://github.com/istio/istio/blob/7c506844cf3f58b504c97a1a2e5a41ca0a37d25d/pilot/pkg/networking/core/v1alpha3/listener_builder.go#L396
		// TODO: how to deal with ext-authz? It will be in the ordering twice
		filters = extension.PopAppendHTTP(filters, wasm, extensions.PluginPhase_AUTHZ_CUSTOM)
		filters = append(filters, lb.authzCustomBuilder.BuildHTTP(httpOpts.class)...)
		filters = extension.PopAppendHTTP(filters, wasm, extensions.PluginPhase_AUTHN)
		filters = append(filters, lb.authnBuilder.BuildHTTP(httpOpts.class)...)
		filters = extension.PopAppendHTTP(filters, wasm, extensions.PluginPhase_AUTHZ)
		filters = append(filters, lb.authzBuilder.BuildHTTP(httpOpts.class)...)
		// TODO: these feel like the wrong place to insert, but this retains backwards compatibility with the original implementation
		filters = extension.PopAppendHTTP(filters, wasm, extensions.PluginPhase_STATS)
		filters = extension.PopAppendHTTP(filters, wasm, extensions.PluginPhase_UNSPECIFIED_PHASE)

https://github.com/istio/api/blob/master/extensions/v1alpha1/wasm.pb.go#L291
// The phase in the filter chain where the plugin will be injected.
type PluginPhase int32

const (
	// Control plane decides where to insert the plugin. This will generally
	// be at the end of the filter chain, right before the Router.
	// Do not specify `PluginPhase` if the plugin is independent of others.
	PluginPhase_UNSPECIFIED_PHASE PluginPhase = 0
	// Insert plugin before Istio authentication filters.
	PluginPhase_AUTHZ_CUSTOM PluginPhase = 1
	// Insert plugin before Istio authentication filters.
	PluginPhase_AUTHN PluginPhase = 2
	// Insert plugin before Istio authorization filters and after Istio authentication filters.
	PluginPhase_AUTHZ PluginPhase = 3
	// Insert plugin before Istio stats filters and after Istio authorization filters.
	PluginPhase_STATS PluginPhase = 4
)

// Enum value maps for PluginPhase.
var (
	PluginPhase_name = map[int32]string{
		0: "UNSPECIFIED_PHASE",
		1: "AUTHZ_CUSTOM",
		2: "AUTHN",
		3: "AUTHZ",
		4: "STATS",
	}
	PluginPhase_value = map[string]int32{
		"UNSPECIFIED_PHASE": 0,
		"AUTHZ_CUSTOM":      1,
		"AUTHN":             2,
		"AUTHZ":             3,
		"STATS":             4,
	}
)

This would require a change in the protobuf API definition, so I do not know what other impact his has.
Original sample code of this issue adjusted:
apiVersion: extensions.istio.io/v1alpha1
kind: WasmPlugin
metadata:
  name: auth-wasm
  namespace: default
spec:
  selector:
    matchLabels:
      app: nginx
  url: http://host.minikube.internal:9000/main.wasm
  phase: AUTHZ_CUSTOM
  priority: 100
---
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  name: auth-policy
  namespace: default #Change
spec:
  selector:
    matchLabels:
      app: nginx  #Change
  action: CUSTOM
  provider:
    name: test-ext-authz-http
  rules:
    - {}

Strong -1 on adding new phases before we sort out the existing order.

The ask of the market is clearly flexibility.
Your remark that any AuthZ plugin (even a custom one) should always run after an AuthN plugin because to requires to pass data, does not make any sense. Custom plugins, specifically those designed on WASM will often combine AuthN and AuthZ.
My proposal is flexible and has no impact on existing cases.

You can solve this by adding new phases to Wasm, or you can solve it by changing where ext_authz is placed in the chain. Besides, the order of HTTP MX, cors, etc are also significant. My recommendation is to rationalize the extension ordering in a consistent way, that is not tied to the current inadequate Istio implementation. AUTHZ_CUSTOM is an Istio quirk, it is not something that's portable to other possible mesh implementations.

CC @keithmattix who's also adding Lua to the mix.

My recommendation is to rationalize the extension ordering in a consistent way, that is not tied to the current inadequate Istio implementation

I agree with this, but is it practical for us to do in Istio give backwards-compatibility challenges?

Having a documented ordering of extensions that is not in code would be a good progress, for example. Note that Istio is still changing order version-to-version, we did not make any promise on the fixed ordering between versions yet.

I believe the current implementation is not in line with the Istio documentation. According to the Istio documentation below, we should put the WASM plugin before custom authz.

Name
Description

UNSPECIFIED_PHASE
Control plane decides where to insert the plugin. This will generally be at the end of the filter chain, right before the Router. Do not specify PluginPhase if the plugin is independent of others.

AUTHN
Insert plugin before Istio authentication filters.

AUTHZ
Insert plugin before Istio authorization filters and after Istio authentication filters.

STATS
Insert plugin before Istio stats filters and after Istio authorization filters.

Right, before we add any more complexity about ordering, we need to clean the house and get some internal consistency to start with. I'd like to see a complete ordering, authn/authz/telemetry/MX/Envoyfilter/Lua/Wasm/alpn/cors/rate limit all sorted correctly. @boeboe I understand that you want wasm before authz, but do you need ext_authz to be first?
CC @aryan16

Also, it's very plausible to have two instances of the same filter in two places. I am aware of some ext_authz uses that need it in two places.

@kyessenov the use case at hand is a wasm filter that needs to preceed the custom ExtAuthZ filter to do predecoration.
I agree the final solution needs cleanup and a lot more flexibility, but let's take small steps.

Every day we see requests to add 1 more small hack to address 1 more small
use case. In isolation each one is fine - if we accept 1 a day then the
project will fall apart under it's own complexity (if it's not too late
already).
Definitely agree with Kuat that we need a better understanding of the
ordering
On Wed, Oct 4, 2023, 11:46 PM Bart Van Bos @.***> wrote:

@kyessenov https://github.com/kyessenov the use case at hand is a wasm
filter that needs to preceed the custom ExtAuthZ filter to do predecoration.
I agree the final solution needs cleanup and a lot more flexibility, but
let's take small steps.
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/45511#issuecomment-1748190144, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXKFWZWKVUQ4EAEO3RDX5ZJUJAVCNFSM6AAAAAAZJB6WXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYGE4TAMJUGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I agree, we need to look at the requests holistically. Is someone willing to collect all Wasm ordering requests and come up with a proposal?

Related: #46899
On Thu, Oct 5, 2023 at 7:35 PM Lin Sun @.***> wrote:

I agree, we need to look at the requests holistically. Is someone willing
to collect all Wasm ordering requests and come up with a proposal?
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/45511#issuecomment-1749904154, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXMF55O7E3STLILYG2TX55VAZAVCNFSM6AAAAAAZJB6WXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZHEYDIMJVGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@linsun I can try to organize that information, and we can discuss later how to evolve Istio to be more internally consistent.

Thanks a lot for the update and bring this issue back!
Is there any chance to re-evaluate the decision of the order for the custom-authz filter?
Depending on the angle when reading the documentation, could seem a bit inconsistent having some kind of authz running before the authn (even tho it seems this has been like this forever); Given that authz relies on identity; there could be a hidden dependency from authz on authn.
Please take this comment just as a food for thought; and thanks again for your contributions.

@linsun I can try to organize that information, and we can discuss later how to evolve Istio to be more internally consistent.

Perfect, thank you @kyessenov - I'd love to help as needed.

I am also happy to help if more hands are needed :)

not stale

not stale

I created a new issue to tracke the ordering of CUSTOM AuthorizationPolicy: https://github.com/istio/istio/issues/51173

I think that PR was just retaining the existing ordering which was probably accidental

@howardjohn  Could we change the order of the HTTP filter chain to position JWT authentication before external authorization ? This doesn't seem to harm anyone. I would like to utilize the JWT information in the external authorization service, and it feels somewhat strange for JWT authentication to occur after JWT authorization.


snakemake python 3.12 support

I took a spin with Python 3.12b2 and tried to run some tests. I run into the following issues(non-complete list, so feel free to add your findings):
snakemake

[x]  distutils is deprecated sorted in 9b8c362
[x] https://github.com/snakemake/snakemake/issues/2459

dependencies

[x]  NumPy does not support python 3.12
https://github.com/numpy/numpy/issues/23808
[x]  The asyncore module is deprecated and will be removed in Python 3.12. (in plac used by YTE https://github.com/yte-template-engine)
https://github.com/ialbert/plac/issues/65

NumPy 1.26.0 support python 3.12.0

plac is updated and seems to work in snakemake tests

python 3.12 works well


viewing mapping rules taking far too long

Takes ~1 minute!

I believe this has now been fixed.


Library - Validate CBOR structs according to the cddl schema for nodes/models/portal

The ockam_api crate exchanges many structs with the Controller. Those structs are serialized using CBOR and should conform to the cddl schema.
Currently there are only a handful of structs tested for conformance to the schema:

project (and related structs)
space (and related structs)
subscription (and related structs)

The purpose of this issue is to complete the testing by:

adding more quickcheck properties similar to the ones above
adding missing schema.cddl definitions where necessary
additionally remove the lifetime annotations on structs, like this one (and replace CowStr<'a> with String)

To the following list of structs:

nodes/models/portal/CreateInlet
nodes/models/portal/CreateOutlet
nodes/models/portal/InletStatus
nodes/models/portal/OutletStatus
nodes/models/portal/InletList
nodes/models/portal/OutletList

[!NOTE]
Related epic: https://github.com/build-trust/ockam/issues/6235

We love helping new contributors! ❤
If you have questions or need help as you explore, please join us on Discord. If you're looking for other issues to contribute to, please checkout our good first issues.

@nazmulidris @mrinalwadhwa hello there!
Could you assign this issue to me? Looks pretty straightforward and simple

@wowinter13 That's awesome, this is all yours. Please let us know if you have any questions as you explore. You can also ask questions on the contributors discord https://discord.ockam.io


Use nord4 for [JavaScript] Variable Other Object

Hi there.
I noticed a little inconsistency in js object coloring. I believe nord4 should be used within the already existing scope selector here?
For reference, here is how it used to look like and how it looks now.
Notice both the styles object and the nested object properties.

What do you think?

Superseded by #115.


Update LRO codegen to use latest go-autorest features

Codegen for LROs has been updated to use azure.NewFutureFromResponse
when creating a Future.
The Result method on generated future types uses Future's new internal
logic for retrieving the final result.
Added missing LRO tests and updated dependencies.

Feel free to merge 👍


fix(stlyes): alert action buttons for alerts

Error only appeared on the storybook visual regression testing page.

Preview environments are getting posted here, as soon as they are ready!


Node ControlBlock List Breakages

Manipulating a list inside of the control block of a node causes the controls to break.
2022-10-13-17-40-39 List Break Issue.webm
The normal inspector works fine.
Recreate by adding this to a node.
    public List<ScriptableObject> testList;

    public override bool needsInspector => true;
    public override bool HideNodeInspectorBlock => false;

2022-10-13-20-37-16 Issue 22 Fixed.webm


Automate your cycle of Intelligence

Katonic MLOps Platform is a collaborative platform with a Unified UI to manage all data science activities in one place and introduce MLOps practice into the production systems of customers and developers. It is a collection of cloud-native tools for all of these stages of MLOps:
-Data exploration
-Feature preparation
-Model training/tuning
-Model serving, testing and versioning
Katonic is for both data scientists and data engineers looking to build production-grade machine learning implementations and can be run either locally in your development environment or on a production cluster. Katonic provides a unified system—leveraging Kubernetes for containerization and scalability for the portability and repeatability of its pipelines.
It will be great if you can list it on your account
Website -
Katonic One Pager.pdf
https://katonic.ai/

Closed by #82


Cannot close Untitled tabs

Issue Type: Bug
When I try to close an untitled tab it shows a dialog asking to "Don't Save", "Cancel" or "Save", and whatever I click, the tab doesn't disappear.
It's been happening for a couple of weeks and the amount of untitled tabs in growing and it's very annoying to work like this.
I even have many untitled tabs with the same number, for example i have three Untitled-4 and two of them are "linked" (they highlight when I click in any of them) but the other one is independant.
I've search in github for an issue like this but didn't find it.
Thank you in advance.
VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:38:50.094Z)
OS version: Linux x64 4.15.0-128-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz (4 x 3300)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 1, 1

Memory (System)
15.56GB (0.16GB free)

Process Argv
--crash-reporter-id 156dbbb3-5063-4ddf-b230-c6429b34a095

Screen Reader
no

VM
0%

DESKTOP_SESSION
mate

XDG_CURRENT_DESKTOP
MATE

XDG_SESSION_DESKTOP
mate

XDG_SESSION_TYPE
x11

Extensions (17)

Extension
Author (truncated)
Version

atlascode
atl
2.8.5

codetogether
gen
3.2.0

code-streaming
git
0.2.10

beautify
Hoo
1.5.0

githd
hui
2.2.4

vscode-peacock
joh
3.9.1

chat
kar
0.35.0

code-beautifier
mic
2.3.3

mssql
ms-
1.10.1

python
ms-
2021.2.625869727

jupyter
ms-
2021.3.619093157

vsliveshare
ms-
1.0.3912

vsliveshare-audio
ms-
0.1.91

vsliveshare-pack
ms-
0.4.0

debugger-for-chrome
msj
4.12.12

vscode-yaml
red
0.16.0

gitblame
wad
6.0.2

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30256636
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
dockersubsetcf:30265999
pythontbcf:30265426
vspre833cf:30267465

I've found this issue already "resolved" in here: https://github.com/microsoft/vscode/issues/117316
In my case is produced by GitDuck Extension, so I've disabled it.


Using Airephp as a form builder

#180 this is a take on this issue - which replaces the laravelcollective/html package - with glhd/aire-bootstrap - this does the same thing as the laravel collective package, but looks a lot cleaner.
New Code

This only changes the contact form - the sign-up form is the other place which will need to be updated. If this is approved, I will make changes there too.

I'm a bit lazy and haven't previewed these changes, but just reading about aire seems to imply that it uses tailwind classes by default, and I'm not sure if it'd work since I don't think that tailwind is set up in this project. While the fix is probably just specifying the bootstrap classes manually, I wouldn't mind switching to bootstrap to tailwind :)

It looks like they have a Bootstrap theme available: https://airephp.com/bootstrap

Aire allows the templating, it's currently using (in this demo) bootstrap theme but if we ever decide to twice to tailwind it's an easy transition.

@allella merge it!


Add more verbose versions of clockTicks

Can be used to supply simulators such as Verilator with accurate timing information, which it in turn can use to produce accurate VCDs.

@cuddlefishie The current test strategy is to make sure that:

The new functions draw the same conclusions w.r.t. clock ticks as clash-prelude's clockTicks.
The new functions agree with each other.

This does fail to test that the timestamps the functions produce actually make sense. I did check by staring at the output really hard :eyes:, but if you want me to write a proper test I'll do so.

I did check by staring at the output really hard 👀, but if you want me to write a proper test I'll do so.

I've been shamed by @hiddemoll, I'll do it anyway.


Can't run code

Challenge http://freecodecamp.com/challenges/waypoint-learn-how-script-tags-and-document-ready-work has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
Everytime I try to run the code the page just sits there. I've tried multiple browsers and the issue continues. All the info with the red X's and green checks disappears when I have the code entered correctly. But when the code is wrong the info comes back. Everything is green except for Create a script element.

@cherriblssm thanks for posting this issue!
Please, provide the description of your issue/code/screenshot, thanks!.

Please review the Guidelines for Contributing, thank you!.

@bugron Description is updated. Sorry about that I hit the wrong key and had to go back in and add it.

@cherriblssm actually I'm able to pass the tests.

This is what it does every time I try.

Am I doing something wrong that I'm just not seeing?

@cherriblssm what browser are you using?

@bugron Internet Explore and Microsoft Edge

@cherriblssm we officially support only Chrome browser but FF should work fine in most cases. IE/Edge is not supported.

@bugron I will go download Chrome. Thank you for your help.

@cherriblssm you're welcome but please, try in Chrome or FF now to ensure that everything is OK in that browsers, thanks.

@bugron Just tried in Chrome and it's working beautifully. Thanks again.


Make it possible to read from different branch on bitbucket

Added feature to set branch for bitbucket server to read different acl from different branches. For example we need in different environments two different ksm to watch different branches: master and dev. Developers can test in dev without PR to simplify work, but for master they always need PR.
Without branch param working as before.
Added tests for bitbucket acl
PS. i did not write anything in scala for 3-4 years, any syntax comments are welcome

Makes sense
On Thu, Mar 19 2020 at 8:11 AM, Ivan <<EMAIL_ADDRESS>> wrote:

@Ivanbmstu commented on this pull request.
In src/main/scala/com/github/simplesteph/ksm/source/BitbucketServerSourceAcl.scala
(
https://github.com/simplesteph/kafka-security-manager/pull/78#discussion_r394850505
) :

@@ -68,7 +76,7 @@ class BitbucketServerSourceAcl extends SourceAcl { )
request.header("Authorization", s"Basic $basicB64") - val response:
Response = HTTP.get(request) + val response: Response = http.get(request)

i need override http in tests to mock get requests for Unit testing. I did
not find how to mock properly HTTP static object.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (
https://github.com/simplesteph/kafka-security-manager/pull/78#discussion_r394850505
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AE7CW2JIY5MXFEZMTRTBKODRIHHRVANCNFSM4LORFDXQ
).

Should i append this feature to CHANGELOG.md at 0.0.9-SNAPSHOT?

Yes please ! Forgot about that :)
On Thu, Mar 19 2020 at 8:42 AM, Ivan <<EMAIL_ADDRESS>> wrote:

Should i append this feature to CHANGELOG.md at 0.0.9-SNAPSHOT?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (
https://github.com/simplesteph/kafka-security-manager/pull/78#issuecomment-601056271
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AE7CW2LB5F56R5CZSOCH2ATRIHLIFANCNFSM4LORFDXQ
).

Done

Thanks a lot for this, great PR!


[embedded] Start diagnosing metatype/value_metatype instructions in embedded Swift

Currently, PerformanceDiagnostics are used in embedded Swift to flag uses of existentials in SIL (instructions that have RuntimeEffect::Existential). We should also diagnose RuntimeEffect::MetaData, but that is today overly conservative, so let's start with ValueMetatypeInst + MetatypeInst instructions only (which in IRGen directly emit a metadata reference, so we know they are not going to work).
Adding a simple test of directly using a metatype, and a more complex test where type(of:) is used which produces a metatype.

@swift-ci please test

@swift-ci please test


Red Bow [PCSE01434]

App summary

App name: Red Bow
App serial: PCSE01434
App version: 01.00

Vita3K summary

Version: v0.1
Build number: 1395
Commit hash: https://github.com/vita3k/vita3k/commit/76189aa

Test environment summary

Tested by: IllusionMan1212
OS: Windows 10 Pro
CPU: Intel Core i5-7200U
GPU: AMD Radeon 520
RAM: 8 GB

Issues
Crashes while saving. (i've investigated this and it seems like the game tries to write some null data to the slot_param)
Screenshots
None
Log
vita3k.log

Vita3K v0.1.5 2609-653b0fa1
playable
no problems so far
vita3k.log


Consider Switching from String-based CSS to JavaScript Object Syntax for Styles.

Hi, I’ve been working with the Adapter class and appreciate the way it isolates styles for components. However, I’d like to share some feedback about the current string-based CSS approach:

Hard to Write and Debug: Writing styles as strings can feel unintuitive. Without auto-complete or syntax checking, it’s easy to make mistakes, and catching them often only happens at runtime.

Lack of Integration with Tools: IDE features like IntelliSense, auto-complete, and TypeScript support are unavailable for string-based CSS. These are tools I rely on heavily to code efficiently.

Doesn’t Feel Like JavaScript: Modern JavaScript often uses object-based styles, where properties like background-color are converted to camelCase (backgroundColor). It’s cleaner, aligns with JavaScript conventions, and is easier to work with in dynamic contexts.

For example, instead of this:
const cardStyle = `
  display: block;
  min-height: 5rem;
  width: 100%;
  color: red;
`;

I’d prefer this:
const cardStyle = {
  display: "block",
  minHeight: "5rem",
  width: "100%",
  color: "red",
};

This approach:
Makes styles easier to write and maintain.
Allows tools like auto-complete and type checking to catch errors early.
Aligns better with the JavaScript ecosystem.

This could be a good idea, I think we can have both options, CSS string or CSS JSON Object.

For a quick fix in your case to enable auto-completion / syntax checking, you can try plugin comment-tagged-templates. I've used it in my project with adapter and it works great.

Also, most developers prefer to use tagged template like html``, or css``. VSCode and other famous IDE (Zed) can understand and parse code inside correctly. So in Adapter 3.0 will instead provide CSS Parser as a tagged template in stead of directly integrated inside the class Adapter

From my quick research, Apply CSS JSON directly might have some limitation about CSS nest selection. Since the CSSStyleDeclaration object is tied to specific DOM elements and only supports flat, element-level styles.
So, I think we can go for implementation like JSS which parse CSS JSON into CSS String then register it to the HTML Document.

Relate to #42


no sound with hifiberry dac pro+ and out rca

Hi everybody,
Sorry if I'm not in the right place but I need help!
I have a raspberry 3 plugged with a hifiberry dac pro +.
Everything works fine I can listen to Spotify (premium account) since volumio but I would like to use raspotify to listen to the music from the Spotify apk.
I did some research and I get to have the choice in the spotify apk to have the sound on my raspberry but the sound does not come out in rca since the hifiberry but only in hdmi?
could you help me?
A big thank you in advance

I come back to you to find out if you had an idea about my request or if I'm not specific enough.

Google search for 'blacklist rapi hdmi sound'. Makes the berry the default and disables the pi's onboard sound, which I'm guessing won't be a loss.

Yop I use  hifiberry dac + jack, it works well.
See my project (french) : https://forum.hardware.fr/hfr/OverclockingCoolingModding/Divers-8/raspberry-meuble-connecte-sujet_285963_1.htm

My conf
`# Device name on Spotify Connect
DEVICE_NAME="RaspiRadio"
Bitrate, one of 96 (low quality), 160 (default quality), or 320 (high quality)
BITRATE="320"
Additional command line arguments for librespot can be set below.
See librespot -h for more info.

To make your device visible on Spotify Connect across the Internet add your
username and password which can be set via "Set device password", on your
account settings, use --username and --password.

To choose a different output device (ie a USB audio dongle or HDMI audio out),
use --device with something like --device hw:0,1. Your mileage may vary.

OPTIONS="--username xxxxxx --password xxxxxx --device plughw:CARD=sndrpihifiberry"
Uncomment to use a cache for downloaded audio files. It's best to leave this
as-is since permissions are properly set on directory `/var/cache/raspotify'.
#CACHE_ARGS="--cache /var/cache/raspotify"
~
`

Try raspbian image with HiFiBerry auto-detection https://www.hifiberry.com/build/download/ and install Raspotify on it


feat(plugin-outline-pane): add locateEvent params in onMoveHook

节点被拖动回调onMoveHook抛出locate位置参数e

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


👀 Spike - Sorting by nested field in type object

cc @Ben0189 @JackDevAU @wicksipedia
#2735
Description
Implement a sorting function for object types in TinaCMS schema when they are defined as a list list: true. The sorting should be based on a nested field within the object schema, such as a date field. The goal is to provide more flexible control over the ordering of list items, ensuring they are displayed according to the values of the specified nested field.
The feature will require investigating if sorting should happen at build time or runtime. A proof of concept (POC) should be developed to demonstrate the functionality and feasibility of this feature.
Acceptance Criteria

[ ] Sorting must work for object types where list: true is set in the schema.
[ ] Sorting should be based on a user-specified nested field (e.g., a date field).
[ ] Create a POC to test sorting within the list group component.
[ ] Investigate whether sorting should occur at build time or runtime.
[ ] Estimate the time required for full implementation.

Tasks

[ ] Investigate the feasibility of sorting functionality for object types in the schema.
[ ] Estimate the time and effort required to implement sorting based on nested fields.
[ ] Create a POC to demonstrate the sorting implementation, paying attention to when the sorting will occur (build time or runtime).

Figure: Example of a list of objects with a nested date field

Just fyi, the linked issue is for sorting (filtering/pagination) of indexed data via the api, not UI


Color highlighting for FrontMatter

I often use Frontmatter at the start of my Obsidian files. This is useful for the DataView plugin, among other things.

The issue is the keys and values are all the same color. It would be nice if they were configurable so it was easier to tell the difference.

Just want to +1 this! Would be really useful.

I think this has been addressed with the recently added Properties feature. I get different colours now :)

Hmm, I'm not seeing that. I see all the same color in source mode, using the minimal theme. (Screenshot is with Solarized, but I see the same color of text for the key/value pairs with other color palettes.)

ahh yes in source mode, it is the same colour. I guess I mostly use Edit mode now which displays the frontmatter/properties differently.
I'll fine tune my original request to see if css properties can be defined for the keys and values for frontmatter in Source mode. :)


How to Synchronously Write WAV to Disk?

I want to synchronously write data from memory to disk, in other words, I need to ensure that the file is written to the disk instead of a buffer.
Thanks

flush the file object after every write.