Board Review: .NET DPG Client Libraries

We would like to review the output of the Data Plane Code Generator (DPG) prior to starting to GA DPG Client libraries.
Contacts and Timeline

Responsible service team:
Main contacts: @annelo-msft, @lirenhe, @AlexanderSher, @ShivangiReja, @chunyu3, @pshao25
Review date requests: Could we meet the third week of May? We also need for the meeting to be 4-6 pm to accommodate our developers in China

About the Service

Link to documentation introducing/describing the service:
Link to the service REST APIs:
Link to GitHub issue for previous review sessions, if applicable:

About the client library

Name of the client library:
Languages for this review:

.NET

APIView Link:
Link to Champion Scenarios/Quickstart samples:

We will be reviewing the some of the existing DPG library APIs, as well as the grow up story, with a specific example of Metrics Advisor. The issue will be updated with more specific scenarios closer to the release date.

scheduled for 5/19 4-6pm pst

Client-side evolution discussion: https://gist.github.com/annelo-msft/8582310e0aab5c3dfa378de2c11849bb

Recording (MS INTERNAL ONLY)


Custom stattest Profile (DataDriftProfileSection(), CatTargetDriftProfileSection())

Hi,
I would like to request some help in changing the statistical tests used in DataDriftProfileSection(), CatTargetDriftProfileSection() on a numerical/categorical level.
Here is what I have so far:
# Initialization
column_mapping = ColumnMapping()
column_mapping.task = "classification"
column_mapping.target = "target"
column_mapping.prediction = None
column.mapping.id = "id"
column_mapping.datetime = "date"

column_mapping.numerical_features = ["N1", "N2", "N3"]
column_mapping.categorical_features = ["C1", "C2", "C3"]

# Calculation
data_drift_profile = Profile(sections=[DataDriftProfileSection(), CatDriftProfileSection()])
data_drift_profile.calculate(historical, last_quarter, column_mapping=column_mapping)

How can I apply a specific metric inside each Profile() section for numerical and categorical variables?
I viewed the following "Options for Statistical Tests" but am unable to incorporate this into the Profile() section:
https://github.com/evidentlyai/evidently/blob/main/docs/book/customization/options-for-statistical-tests.md

Hi!
Thank you for the question.
If I understand your question correctly, you want to apply different stattests for num and cat features with JSON profile.
You can do it with options parameter for Profile like:
drift_options = DataDriftOptions(
        cat_features_stattest="kl_div",
        num_features_stattest="ks"
  )
my_profile = Profile(
      sections=[DataDriftProfileSection(), CatTargetDriftProfileSection(), NumTargetDriftProfileSection()],
      options=[drift_options]
 )

my_profile.calculate(
      reference_data=reference_data, current_data=current_data, column_mapping=data_mapping
)

Let me know If I've missed something in the question and your case!

That was exactly what I was missing thank you!


Design Wireframes

Description: Before starting the development process, it's important to have a clear idea of what the application will look like. This issue involves creating wireframes for the different pages and features of the application.
Tasks:

Identify key pages and features of the application
Sketch wireframes for each page/feature
Review wireframes and iterate based on feedback

Task done with UXPin
Wireframes: https://preview.uxpin.com/37fee8b2b66a5b1fb885d877170b7abdbfd77169#/pages/162551491


[FLINK-10311][tests] HA end-to-end/Jepsen tests for standby Dispatchers

What is the purpose of the change
This adds tests to verify that jobs can be cancelled properly when there are standby masters.
cc: @tillrohrmann
Brief change log

See commits.

Verifying this change
This change added tests and can be verified as follows:

Tested manually.
The changes themselves are tests.
Added Clojure unit tests..

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

cc: @igalshilman

Merging


Eufy app is not listed

Eufy app is not listed under "Add integrations" in the Configuration menu.

please do not expect me to jump in an issue with one liner. You need to tell what you have do so far captured on README.


Error on Gnome-shell 3.38

Getting this on gnome-shell 3.38 when trying to start
Extension<EMAIL_ADDRESS>TypeError: meta is null
addLayout@/home/nico/.local/share/gnome-shell/extensions/gnomesome@chwick.github.com/menubutton.js:45:24
                                                    _init@/home/nico/.local/share/gnome-shell/extensions/gnomesome@chwick.github.com/menubutton.js:53:22                   initSettingsMonitor/indUpdate<@/home/nico/.local/share/gnome-shell/extensions/gnomesome@chwick.github.com/manager.js:192:39
                                                    initSettingsMonitor@/home/nico/.local/share/gnome-shell/extensions/gnomesome@chwick.github.com/manager.js:208:9
                                                    _init@/home/nico/.local/share/gnome-shell/extensions/gnomesome@chwick.github.com/manager.js:102:14
                                                    enable@/home/nico/.local/share/gnome-shell/extensions/gnomesome@chwick.github.com/extension.js:15:15

Same here
`The settings of extension<EMAIL_ADDRESS>had an error:
Error: Requiring Clutter, version none: Typelib file for namespace 'Clutter' (any version) not found

Stack trace:
@/home/may/.local/share/gnome-shell/extensions/gnomesome@chwick.github.com/convenience.js:8:17
@/home/may/.local/share/gnome-shell/extensions/gnomesome@chwick.github.com/gnomesome_settings.js:6:38
@/home/may/.local/share/gnome-shell/extensions/gnomesome@chwick.github.com/prefs.js:7:27
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:204:33
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

`

Thanks for the report. I deprecated methods of 3.36 that were removed in 3.38. Gnomesome is running on my Ubuntu 20.10 machine now!


repository: proposal - Add workflow to process stale issues and PRs

This PR contains a proposal to improve the quality of life of maintainers and of the community by reducing the number of open issues and PRs that are no longer relevant.
It contains a github workflow based on the stale github action that will run on weekdays at 3 AM and 3PM UTC. When it runs it will automatically mark PRs and issues that did not receive any activity in the last year as stale: the Stale label is applied and an informative comment is posted.
This will give a chance to people involved in the issue/PR to reply, likely with new information, which will will remove the label.
However, If there is no reply within 60 days, that means that the issue/PR is no longer relevant, and therefore they should be closed. At this point people can still reopen the the issue/PR or create new ones.

No thanks.  We have many issues which are years old and still valid, as judged by our bug-scrub process.

Hi @bboreham

We have many issues which are years old and still valid
Issues that are still relevant can be still be protected with with the 'Never Stale' label.

The motivation for this PR is that I wanted to help with triaging... The idea is that all issues should be intentionally left open or should be closed if no longer relevant/the community has not plans to implement.
We have old issues such as this one that were never triaged, but maybe they don't make sense anymore or they fell through the cracks somehow. The bot would create notifications that you could feed into your bug-scrub process.

as judged by our bug-scrub process.

Is this process documented somewhere?

Thanks for sharing your experience @beorn7. I agree with your perspective and therefore I will close this pr to reduce the noise.


Infinite scrolling in channelview where messages are not fully populated

Describe the bug
If a usercard is not fully populated with messages, the window will infinitely scroll with the middle click scroll
To reproduce

Find a usercard with few messages populated
Middle click to begin scrolling
Move mouse down

Screenshots

Chatterino version
Chatterino Nightly 2.2.3-beta2 (commit 05aab8684, 22.11.2020)
Operating system
Windows 10

Can reproduce on Arch Linux 5.9.11 chatterino 5258ddd, worth noting that when I move mouse to the top, usercard messages scroll to top as well:

Unable to replicate, did something change since 5258ddd. I am using d59bb805

Can still replicate on 74960bf4, the usercard is not supposed to be scrollable and you need to middle click on the message to get this to work.

Occurs in regular ChannelViews as well:


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fixed incorrect error message in get_fields().

+1

Please update the test as well: model_meta.tests.GetFieldByNameTests.test_get_fields_only_searaches_forward_on_apps_not_ready

Sorry about the double pull request. New one #3919 should address the comments.


horse accesories not loading in game

i have a porblem with the resource when i load it everything works fine
but atm i restart the server the horse accesories are not loading in game or in the horse menu but the do save in the DB

this error occurs because it does not force the update of the db, if you buy a new accessory, refresh the list and you will see the accessories appear

I also seem to have this issue, the horse accessory menu is blank, even if you have bought all the accessories.


front-end homework 2

drift video

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
19

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
19

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


Fix #1535

Q
A

Bug fix?
[x ]

New feature?
[ ]

New sample?
[ ]

fixes #1535

What's in this Pull Request?
This should fix the problem with selecting an item from a lookup the first time without interacting with any other control in the DynamicForm.

@GuidoZam - thank you for the fix!


about init

when I use the triplet_attention.py in the root, I get following error:
[ValueError: Fan in and fan out can not be computed for tensor with fewer than 2 dimensions]
from:
if "conv" in key:
init.kaiming_normal_(self.state_dict()[key], mode="fan_out")
May I ask how to solve it.

This doesn't seem to be a problem with Triplet attention module but rather with the tensor input you're passing which seems to be < 2 dimensions which is not supported.


Typo in Codelab: Android Basics: LiveData

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-livedata?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-livedata#3
In which task and step of the codelab can this issue be found?
3. Change the backing field currentWordCount type to LiveData, because it is immutable. Android Studio will show some errors which you will fix in the next steps.
Describe the problem
the above mentioned backing field "currentWordCount" should be "currentScrambledWord".

@manuelsucco
Thank you so much for reporting this issue. This is fixed and will be published soon.


Improve products and navigation

add to cart button in subcategories/slug pages
add to cart button in products/index
view all subcategories button in categories/slug page and categroeis/index page
view all products button in subcategories/slug and subcategories/index page
add link to categories/index on the products link in nav

add product variants in product page


Bump 7.17 branch to 7.17.2-SNAPSHOT

This PR bump chart version and Docker images to 7.17.2-SNAPSHOT version to test 7.17.2 development version.
See New branching model for more details.

ok to test


Can we bicep build without caching?

Or is there any way to clear the cache, or validate that the cache is still correct, other than by hand?
We were pushing tags for modules the way we do with docker container images -- so that we have a "1" and a "1.1" that get updated to point at the latest patched version of that release (e.g. "1.1.5") ...
A strategy I thought was recommended in #4186
However, because of bicep's caching, on a laptop where I've done a build referencing ":1" (or edited a file in VS Code that references it) my local cache of ":1" is stuck pointing at whatever version was available when I did that build, and there seems to be no way to get bicep to ignore the cache and fetch latest, or at least check the validity of the cache. Nor can I find a way to clear the cache except by hand...
The --force switch on bicep build as @alex-frankel referenced in #8268 would be really handy right now 😉

Yeah, we only have --force on bicep restore.

@jaykul -- does using --force on bicep restore unblock you? We can leave this issue open to track adding --force to bicep build, which would be useful.

It looks like that will work.
However, I should point out:

Our current process is calling New-AzResourceGroupDeployment so any of this requires some extra work for us.
We frequently run more than one deployment in sequence as part of a release
That bicep restore --force doesn't check whether things need redownloading, but simply redownloads everything

As a result, it looks like it will be significantly faster if I just Remove-Item ~\.bicep\br\* -Recurse -Force once, and then run all of our deployments (so we can take advantage of caching "for now" within this single set of deployments).


manual update to v1.0.6

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.
Here's what I've got...
For recipe/meta.yaml:

❌ Recipe maintainer "yusukeaso-astron" does not exist

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12387117462. Examine the logs at this URL for more detail.


Examples don't work with TF < 9

I've started with the exercises in chapter 2, but all of them are restricted to terraform < 9.  I'm not familiar enough yet with terraform to know if I can just rip that out, and if things should still work.
I also noticed that some of the AMI id's don't resolve.

Most of the examples will work just fine with Terraform 0.9, so feel free to remove that check. I only had it there as I haven't had a chance to run all the tests against them yet. I hope to do so in the next couple weeks.

just worked through ch2 today, Apr 24 2018
user_data = <<-EOF    doesn't work, needs to be   user_data = <<EOF
that's the only issue I had.  the ubuntu image still works.

user_data = <<-EOF doesn't work, needs to be user_data = <<EOF

<<-EOF works just fine for me with terraform 0.11. What issue are you seeing?

I'm using 0.11.5 on Linux - 4.13.0-39-generic #44-Ubuntu
Error: Error parsing /home/bbright/tf_up_and_running/main.tf: object expected closing RBRACE got: EOF
This error goes away when I delete the '-' before the first 'EOF'.
From https://www.terraform.io/docs/configuration/syntax.html

Multiline strings can use shell-style "here doc" syntax, with the string starting with a marker like <<EOF and then the string ending with EOF on a line of its own. The lines of the string and the end marker must not be indented.

ah yeah, here ya go.  This code results in the error I got, and it goes away by deleting that '-' infront of the EOF.
`resource "aws_launch_configuration" "example" {
image_id = "ami-40d28157" # ubuntu
instance_type = "t2.micro"
security_groups = ["${aws_security_group.instance.id}"]
user_data = <<-EOF
#!/bin/bash
echo "Hello, World, tf here" > index.html
nohup busybox httpd -f -p "${var.server_port}" &
EOF
lifecycle {
create_before_destroy = true
}
}
`

The key with the <<-EOF heredoc format is that its whitespace sensitive. It's designed to allow you to indent your source code, without the resulting string being indented. If you look at the chapter 2 code, it uses very careful indentation. If you copy that, you'll probably find that <<-EOF works for you too.

Ah, ok.  The difference in format in the book vs my format and the terraform.io example format did strike me as strange.
Thanks for your time!

Closing issue from ~2 years ago. _Terraform: Up & Running, 2nd edition came out in 2019 and is compatible with TF 0.12 and above only.


Problem with Chromecast

I have Problem with my chromcast on Raspberry pi,
in config file:
discovery:

media player:
  platform:cast

in home-assistant.log
cat home-assistant.log
15-10-29 13:12:53 homeassistant.components.media_player: Error while setting up platform cast
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 136, in _setup_platform
    self.hass, platform_config, self.add_entities, discovery_info)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/cast.py", line 38, in setup_platform
    import pychromecast
  File "/home/pi/.homeassistant/lib/pychromecast/__init__.py", line 12, in <module>
    from . import socket_client
  File "/home/pi/.homeassistant/lib/pychromecast/socket_client.py", line 21, in <module>
    from . import cast_channel_pb2
  File "/home/pi/.homeassistant/lib/pychromecast/cast_channel_pb2.py", line 9, in <module>
    from google.protobuf import reflection as _reflection
  File "/home/pi/.homeassistant/lib/google/protobuf/reflection.py", line 61, in <module>
    from google.protobuf.internal import python_message as message_impl
  File "/home/pi/.homeassistant/lib/google/protobuf/internal/python_message.py", line 74, in <module>
    from google.protobuf.internal import decoder
  File "/home/pi/.homeassistant/lib/google/protobuf/internal/decoder.py", line 488
    except UnicodeDecodeError, e:
                             ^
SyntaxError: invalid syntax

The Problem  is that pychromecast is Not installed successfull so i installed it again with pip3 install pychromecast with root privilegs

Does this issue needs further attention?

This has been fixed in 0.8. You can now install PyChromecast or any other dependency in the global environment and it won't be installed again in the local environment.


Show errors but not warnings from diagnostics

Is it possible to show only errors from diagnostics and ignore warnings?
Thanks!
Gaël

I looks that the solution was in the documentation:
  diagnostics_warn_symbol = '',
  diagnostics_info_symbol = '',
  diagnostics_hint_symbol = '',

For the diagnostic signs, the default highlighting has the same background color as the editor. So by using no symbol, it appeared that no sign was being generated.
To fully enable/disable specific diagnostic severities, I added a configuration variable, scrollview_diagnostics_severities, a list of the severities for which signs should be shown.
To enable just error signs, here is the corresponding VimScript and Lua configuration code.
" VimScript
let g:scrollview_diagnostics_severities = [luaeval('vim.diagnostic.severity.ERROR')]

-- Lua version 1 (config variable)
vim.g.scrollview_diagnostics_severities = {vim.diagnostic.severity.ERROR}

-- Lua version 2 (as part of setup)
require('scrollview').setup({
  ...
  diagnostics_severities = {vim.diagnostic.severity.ERROR}
})

In all cases, this must be set up before the plugin is loaded (i.e., in init.vim or init.lua, loaded at startup).
Thanks for reporting the issue @galou.

Woah, this was quick and unexpected (since I never used :ScrollViewNext). Thanks!


Add support for work stealing using multiple task queues in vectorized execution

In GitLab by @jonnygiger on Mar 1, 2022, 16:57
Currently all CPU tasks are added to a single queue which multiple workers can dequeue from. Creating multiple queues and distributing the tasks among the queues can reduce lock contention on the queue mutex and improve task-to-data affinity. Work stealing can be implemented to reduce load imbalance among the queues.

Has been implemented with #342


drive redirection in same user multiple sessions

Hi,
I know that when use xrdp to connect target, a directory named "thinclient_drives" in the target user's home directory will do the drive redirection job.
I want to connect the same target and same user twice or more times, and every session has a different local drive to redirection, when I try that, only the first session can mount thinclient_drives, other session's has an error message like: "FUSE xfuse_init_lib: 792 : ERROR: fuse_mount() failed".
I think the error occurred because thinclient_drives mounted by the first session, so it can't be mount again.
So, is there a config parameter or something to make the same user different drive redirection work?

Short answer:  It is impossible as of now.
Longer answer:
Multiple sessions for the same user is not the use case that developers expect. It is not recommended but allowed for the users who understand the pros and cons.  Multiple drive redirection still has a chance to be supported if there's a strong demand from many users and someone sponsors the feature.

See also #1136 which appears to be a duplicate.


setCookie() timed out

What are you trying to achieve?
I am trying to set a cookie in my tests I.setCookie({name: 'cookieName', value: 'cookieValue})'
What do you get instead?
I get this following error: Error: Evaluation timed out after 30000msec.  Are you calling done() or resolving your promises?

CodeceptJS version: 0.6.3
NodeJS Version: 8

@bendiggle Can you please provide more information. What helper do you use? Logs in verbose mode will be very helpfull

Hi @APshenkin thanks for getting back to me. I wasn't actually using it correctly as I was trying to set the cookie before going to a page.
However I have a new issue that hopefully you can help me with.
I am using the Nightmare helper. I am trying to set a cookie which will allow me to bypass a login screen in my app. The cookie is being set as I can see it when I use Nightmares cookies.get(). However, the cookie is not in the request in my app and therefore cannot get passed the login screen when it checks for the cookie.
Any ideas?

@bendiggle I will describe how I solved the same problem as you:
My test code was like this:
let token = yield I.getToken(login, password);
I.amOnPage('/404');
I.setCookie({name: 'auth', value: token})
I.amOnPage('/');

This will allow you to open main page and bypass a login screen. I recommend to get auth token via API using sync-request library if it's possible (or get it from DB directly etc.), because this will give you 100% guarantee, that problems in tests will not be associated with login screen (other way you can try to get cookie during your tests, but it may causes problems, if you have any issue on login screen)

@APshenkin I tried that previously but just by hard coding an up-to-date token. However, the issue I'm having is that in my app I am using express. So when my app goes to check for the cookie in the request, the cookie is an empty object and therefore not able to go passed the login. On the other hand, if in my tests I do getCookie and log out the response, the cookie exists.
Thanks for the help!


WICKET-5827 Allow to apply multiple Javascript / CSS compressors

Allow multiple ICssCompressors and IJavaScriptCompressors
CssUrlReplacementCompressor

The knowledge is there: https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/request/resource/CssPackageResource.java#L65
The problem is that it is not propagated.
I.e. CssPackageResource knows the scope class, but it doesn't give it to the ICssCompressor.

A possible improvement:

introduce IScopeAwareCssProcessor {process(String nonCompressed, Class scope, String cssName)}
check if the resolved ICssCompressor implements the new interface and use it if it does

What do you think of leaving the check of page away in the first step and then implement your suggestions in a further pull request?

Ok I think I got it, but the changes are not backward compatible to wicket 6.x

So for now, yep the CssUrlReplacer is a bit slow, because it is scanning for the images in different scopes and it is a limitation that you could not put images in other packages as those of the components, but I would recommend the changes of @martin-g in a separate pull request, because they require changes in various classes and they are not backward compatible. What do you think?

I'll take of this PR!

Thank you very much! I also applied the changes we discussed here for the wicket-6.x branch - https://github.com/apache/wicket/pull/88


Articles about Dragonfly

Hello!
Recently I have written two articles for Sitepoint that cover Dragonfly:

http://www.sitepoint.com/file-uploads-dragonfly/ - this is the main one
http://www.sitepoint.com/asynchronous-file-uploads-rails/ - this covers many details about Async uploading, but still backed by Dragonfly

Maybe you would like to add one (or both) of these links somewhere to the docs.
Cheers!

The first one is really great, helps you get started with dragonfly easily.

sorry for the delay - thanks these are great. I've added them to a new "articles" wiki see link from README and will start adding new articles here.

Cool!


Feat: Custom Cursor for Improved User Interaction

Describe the feature
Implement a custom cursor to enhance the user interface and make the browsing experience more unique and engaging. A custom cursor can provide visual feedback that complements the website's design, improving overall user interaction and aesthetic appeal. This feature will add a distinctive touch to the website, making it more memorable and enjoyable for users.
Add ScreenShots
https://github.com/Sayak-Bhunia/mystory/assets/137754636/cd271d0d-2fdb-4de6-99c5-20a1b198cb88
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Sayak-Bhunia please review and merge this pr. It has already been a week and a half


"View: Toggle Output" sometimes needs to be run twice to hide the Output

Does this issue occur when all extensions are disabled?: I think this is a vscode issue because it handles display of the Output window, but I don't know how to test this with Visual Studio Code Remote - SSH disabled.

VS Code Version: 1.72.2
OS Version: Windows 10 21H2

Steps to Reproduce:

Start vscode with a bunch of Visual Studio Code Remote - SSH windows that cause Output to appear during the SSH setup.
Run "View: Toggle Output" or press ctrl+shift+u
Observe that you have to run it twice to make the Output window go away the first time.

Yes this is as designed for all bottom panels. First time, it focuses the panel and the second time it hides.


feat: add required field validation

This adds required field validation analogous to the required field validation that exists in the Java generator (TODO: link to example in metal-java).
Required fields are validated by:

Creating a list of required property names
Unmarshalling the current object into a map with string keys
Validating that required property names appear as keys in the unmarshalled map

Templates are updated here: b5c00de1d6749f0b82bd8623d72b817c077099a9
Code is regenerated here: 3e16fd3516bd1ec717e7611179fd77d550eeaf63

It seems like we have to provide the full set of templates in order to modify just one or two, but I haven't confirmed that myself yet. We could also potentially keep the templates out of git (pull them out during CI, apply patches, and then generate code) but I feel like that's overly complicated.

I was wrong about this; we can provide a subset of the templates.  This PR has been updated to only include the templates that we are customizing in order to check for required fields.  It's still a good practice to contribute template changes upstream whenever possible to avoid drift, though; custom templates mean we will miss out on upstream template changes unless we periodically re-sync and/or add yet another complicated patching process.

We could also potentially keep the templates out of git (pull them out during CI, apply patches, and then generate code) but I feel like that's overly complicated.

That's what I was going to suggest.  It's no more complicated that the existing patching and it makes it clear what changes we are making to the templates. It also makes it clear when we need to reconsider those changes in light up new upstream default templates which CI would stamp out before patching, as you suggest.

This is being implemented upstream in https://github.com/OpenAPITools/openapi-generator/pull/16863

This PR upgrades openapi-generator in order to get required field validation from upstream: https://github.com/equinix-labs/metal-go/pull/172


changed M to N in windows.dpss

Reference issue
closes #12840
What does this implement/fix?
Changes symbol M to N in windows.dpss. Removed typos and increased consistency in symbols.

Straightforward doc fix and builds look okay, thanks @chapochn !

Perfect! My pleasure


HTML

Write a difficult html

Difficult HTML Example

Difficult HTML Example
This is an example of a difficult HTML page.

hello can you give a brief idea on issue ,what is the issue to be resolved


feat: config option for math fraction digits

Fixes #289
This PR adds a new platform config option called mathFractionDigits to control the rounding of values when resolving math.
The current hardcoded value found here is 3 and one could potentially need this value to be any number.
⚠ I suggest making the default value 4 as it tends to make more sense when trying to convert px to em and rem, but this is debatable. We might prefer to avoid breaking changes and keep 3 as default.
The variable name mathFractionDigits was borrowed from the .toFixed() function whose first argument is fractionDigits to which I prepended math for better context in relationship with the TS transform resolveMath. This is also to be discussed.
Usage
/* Style Dictionary config */
{
  platforms: {
    css: {
      options: {
        mathFractionDigits: 3
      },
      ...
    }
    ...
  }
}

Great! I cleaned things up a bit:

changed to unit test, from v4 style-dictionary is much more unit-testable since we don't have to write our outputs to the filesystem even if we are testing format lifecycle
small docs addition
changeset
squashed commits, adjusted commit msg

Thanks for contributing!

Excellent 👌 Thanks @jorenbroekema ! It's great to see your addition, this will be helpful for my next contribution ;)
Quick question: what is your stance regarding the use of the options object? I was under the impression that this was the right way to go when it comes to adding custom "options" to our Style Dictionary. I see that you pull the new variable out to be at the same level as the rest of the config.

Ah now that you mention it, it should probably be this:
transform: (token, _, platform) => checkAndEvaluateMath(token, platform?.mathFractionDigits),

The current code also happens to work because platform options tend to be put on the config.options object, but it's not exactly its intention to use it like that, if readonly props were a thing in javascript then this would be one.

https://github.com/tokens-studio/sd-transforms/pull/295 fixing it here

[question/clarification] I'm curious the rationale for exposing mathFractionDigits from within the Style Dictionary platforms config directly versus in the TransformOptions passed to register when registering the sd-transforms onto StyleDictionary, e.g.:
register(StyleDictionary, {
  platform: 'css',
  mathFractionDigits: 3,
});

The higher-level question is:
Where should options for sd-transforms get passed (Style Dictionary configuration vs. the TransformOptions passed during register)?
See this proposed PR for more context/details on the question; would appreciate your input/feedback. Thanks!

The answer depends on whether you want to register the option on a global level, then inside the register() function options 2nd param is appropriate, but in this case, it's a "transform" specific option, and transforms are always scoped by the platform, so I feel like putting the option in the platform config is more appropriate.
Generally speaking,  there is no API for passing options to transforms, the workaround for that lack of feature has always been to set options for transforms on the platform config layer. We'd need to break the API around transforms to make this more intuitive, and we didn't really get to that for the v4. I think we may also need to document this "workaround" a bit better, because it's a bit tricky for folks to figure out that transforms get the platform config passed in the transform function, and that this is how you configure transform options.

https://github.com/amzn/style-dictionary/issues/1298 this issue may be related btw.
Sometimes the current SD config API is a bit awkward, because certain transforms such as the math resolver transform, can be considered "global" in the sense that they would always be applied to all platforms, meaning you're duplicating some of the stuff in your SD config for each platform, and the same thing happens to the transform options, you have to apply it to each platform.
This is a bit annoying, and in the related issue in the SD repo I try to brainstorm a bit how we can re-architecture some of the SD config API to make a distinction between global transforms vs file-format related formatting transforms (e.g. not changing the value of the token, just formatting it slightly different e.g. rgb(r,g,b) -> UIColor(r,g,b).
So even though registering the math minimal fraction digits may seem a lot cleaner and less awkward to put on the register() call and thus global level, it stops people from changing the digits amount on a per platform basis, and the awkwardness is something that SD should solve imo and not necessarily sd-transforms package. If that makes sense.
What I do if I have many platforms, much of which is duplicate/overlapping stuff:
const basePlatform = {
  mathFractionDigits: 3,
}

const sd = new StyleDictionary({
  platforms: {
    css: {
      ...basePlatform,
    },
    ios: {
      ...basePlatform,
    }
  }
})


Unable to change security realm with OpenShift Login plugin enabled at app creation

When using the 'jenkins-persistent' template in OpenShift, if you try to switch your Access Control Security away from OpenShift Login to something else (OpenID in our case, but I've tried every other radio dial), when you click Save or Apply to make the change, Jenkins keeps "Login with OpenShift" as the Security Realm.
I am able to locally recreate this using code ready containers (crc) to spin up an  openshift 4.3 instance (4.3.10), deploy the standard jenkins-persistent template (Jenkins 2.204.2, plugin version 1.0.23, no options provided), and then try to change the auth to anything else besides Login with OpenShift.
What's strange is, if I spin up jenkins with -e OPENSHIFT_ENABLE_OAUTH=false and login as admin, I can see the plugin installed but not enabled; from there, I can change jenkins to use OpenShift for auth, and then it lets me switch back-and-forth as desired to any auth I desire.
If this is a plugin bug, I can file an issue with the plugin[1], but if I create the template without enabling the plugin, I am able to configure plugins as expected, even if I turn the plugin on.

https://github.com/openshift/jenkins-openshift-login-plugin

A friendly ping to see if I should triage this issue here or at the plugin page - thank you


Timeout error when converting a document

Using below Azure-Devops build pipeline script to install asciidoctor-web-pdf on 'ubuntu-latest'.
stages:
- stage: __default
  jobs:
  - job: UbuntuBuild
    timeoutInMinutes: 90
    pool:
      vmImage: 'ubuntu-latest'

    # Always clean workspace
    workspace:
      clean: all
    steps:
      - task: PowerShell@2
        displayName: Installing asciidoctor-web-pdf
        inputs:
          targetType: 'inline'
          script: |
            npm init -y
            npm i @asciidoctor/core asciidoctor-pdf --save-dev
            npx asciidoctor-web-pdf --version
            npm i -g @asciidoctor/core asciidoctor-pdf
            asciidoctor-web-pdf --version

And getting below installation step result log.
2021-07-26T09:39:57.6770290Z ##[section]Starting: Installing asciidoctor-web-pdf
2021-07-26T09:39:57.6780779Z ==============================================================================
2021-07-26T09:39:57.6781220Z Task         : PowerShell
2021-07-26T09:39:57.6781576Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2021-07-26T09:39:57.6781897Z Version      : 2.186.0
2021-07-26T09:39:57.6782198Z Author       : Microsoft Corporation
2021-07-26T09:39:57.6782599Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2021-07-26T09:39:57.6783056Z ==============================================================================
2021-07-26T09:39:58.0326311Z Generating script.
2021-07-26T09:39:58.0371146Z ========================== Starting Command Output ===========================
2021-07-26T09:39:58.0379176Z [command]/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command . '/home/vsts/work/_temp/5227e0e1-6b28-4150-bd43-d2c47511d99b.ps1'
2021-07-26T09:40:02.9829695Z Wrote to /home/vsts/work/1/s/package.json:
2021-07-26T09:40:02.9830584Z
2021-07-26T09:40:02.9831143Z {
2021-07-26T09:40:02.9831683Z   "name": "s",
2021-07-26T09:40:02.9832241Z   "version": "1.0.0",
2021-07-26T09:40:02.9833614Z   "description": "This is the new home for the K-Spice documentation",
2021-07-26T09:40:02.9834353Z   "main": "index.js",
2021-07-26T09:40:02.9834917Z   "scripts": {
2021-07-26T09:40:02.9835565Z     "test": "echo \"Error: no test specified\" && exit 1"
2021-07-26T09:40:02.9836176Z   },
2021-07-26T09:40:02.9836698Z   "repository": {
2021-07-26T09:40:02.9837261Z     "type": "git",
2021-07-26T09:40:02.9838171Z     "url": "https://kognifai.visualstudio.com/K-Spice/_git/kspice-docs"
2021-07-26T09:40:02.9839147Z   },
2021-07-26T09:40:02.9839687Z   "keywords": [],
2021-07-26T09:40:02.9840242Z   "author": "",
2021-07-26T09:40:02.9840987Z   "license": "ISC"
2021-07-26T09:40:02.9844137Z }
2021-07-26T09:40:02.9844584Z
2021-07-26T09:40:02.9845183Z
2021-07-26T09:40:15.8249538Z npm WARN deprecated<EMAIL_ADDRESS>🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
2021-07-26T09:40:16.6701280Z npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
2021-07-26T09:40:22.6013551Z
2021-07-26T09:40:22.6014968Z ><EMAIL_ADDRESS>install /home/vsts/work/1/s/node_modules/puppeteer
2021-07-26T09:40:22.6015683Z > node install.js
2021-07-26T09:40:22.6016078Z
2021-07-26T09:40:26.9864361Z
2021-07-26T09:40:33.6363320Z Chromium (848005) downloaded to /home/vsts/work/1/s/node_modules/puppeteer/.local-chromium/linux-848005
2021-07-26T09:40:33.6551771Z
2021-07-26T09:40:33.6553894Z ><EMAIL_ADDRESS>postinstall /home/vsts/work/1/s/node_modules/@fortawesome/fontawesome-common-types
2021-07-26T09:40:33.6554817Z > node attribution.js
2021-07-26T09:40:33.6555207Z
2021-07-26T09:40:33.7018180Z Font Awesome Free 0.2.35 by @fontawesome - https://fontawesome.com
2021-07-26T09:40:33.7019704Z License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2021-07-26T09:40:33.7020281Z
2021-07-26T09:40:33.7141006Z
2021-07-26T09:40:33.7142858Z ><EMAIL_ADDRESS>postinstall /home/vsts/work/1/s/node_modules/core-js
2021-07-26T09:40:33.7143602Z > node -e "try{require('./postinstall')}catch(e){}"
2021-07-26T09:40:33.7143868Z
2021-07-26T09:40:33.7645871Z Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
2021-07-26T09:40:33.7646798Z
2021-07-26T09:40:33.7648712Z The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
2021-07-26T09:40:33.7650324Z > https://opencollective.com/core-js
2021-07-26T09:40:33.7651220Z > https://www.patreon.com/zloirock
2021-07-26T09:40:33.7651573Z
2021-07-26T09:40:33.7652581Z Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
2021-07-26T09:40:33.7653039Z
2021-07-26T09:40:33.7825928Z
2021-07-26T09:40:33.7827829Z ><EMAIL_ADDRESS>postinstall /home/vsts/work/1/s/node_modules/@fortawesome/fontawesome-svg-core
2021-07-26T09:40:33.7828649Z > node attribution.js
2021-07-26T09:40:33.7829023Z
2021-07-26T09:40:33.8344827Z Font Awesome Free 1.2.34 by @fontawesome - https://fontawesome.com
2021-07-26T09:40:33.8346532Z License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2021-07-26T09:40:33.8347142Z
2021-07-26T09:40:33.8457713Z
2021-07-26T09:40:33.8459757Z ><EMAIL_ADDRESS>postinstall /home/vsts/work/1/s/node_modules/@fortawesome/free-brands-svg-icons
2021-07-26T09:40:33.8460578Z > node attribution.js
2021-07-26T09:40:33.8460797Z
2021-07-26T09:40:33.9006260Z Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
2021-07-26T09:40:33.9007806Z License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2021-07-26T09:40:33.9008439Z
2021-07-26T09:40:33.9118984Z
2021-07-26T09:40:33.9121097Z ><EMAIL_ADDRESS>postinstall /home/vsts/work/1/s/node_modules/@fortawesome/free-regular-svg-icons
2021-07-26T09:40:33.9121851Z > node attribution.js
2021-07-26T09:40:33.9122316Z
2021-07-26T09:40:33.9758169Z Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
2021-07-26T09:40:33.9759367Z License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2021-07-26T09:40:33.9759712Z
2021-07-26T09:40:33.9852332Z
2021-07-26T09:40:33.9853921Z ><EMAIL_ADDRESS>postinstall /home/vsts/work/1/s/node_modules/@fortawesome/free-solid-svg-icons
2021-07-26T09:40:33.9854616Z > node attribution.js
2021-07-26T09:40:33.9854837Z
2021-07-26T09:40:34.0357967Z Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
2021-07-26T09:40:34.0359526Z License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2021-07-26T09:40:34.0360108Z
2021-07-26T09:40:34.1462288Z npm notice created a lockfile as package-lock.json. You should commit this file.
2021-07-26T09:40:34.1528144Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/chokidar/node_modules/fsevents):
2021-07-26T09:40:34.1529552Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
2021-07-26T09:40:34.1531058Z
2021-07-26T09:40:34.1544271Z +<EMAIL_ADDRESS>2021-07-26T09:40:34.1545553Z +<EMAIL_ADDRESS>2021-07-26T09:40:34.1546339Z added 135 packages from 188 contributors and audited 136 packages in 28.867s
2021-07-26T09:40:34.2034563Z
2021-07-26T09:40:34.2035890Z 10 packages are looking for funding
2021-07-26T09:40:34.2036660Z   run `npm fund` for details
2021-07-26T09:40:34.2037074Z
2021-07-26T09:40:34.2038618Z found 0 vulnerabilities
2021-07-26T09:40:34.2039071Z
2021-07-26T09:40:34.8374642Z Asciidoctor Web PDF 1.0.0-alpha.12 using Asciidoctor.js 2.2.4 (Asciidoctor 2.0.15) [https://asciidoctor.org]
2021-07-26T09:40:34.8377903Z Runtime Environment (node v14.17.3 on linux)
2021-07-26T09:40:34.8378733Z CLI version 3.4.0
2021-07-26T09:40:36.5762674Z npm WARN deprecated<EMAIL_ADDRESS>🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
2021-07-26T09:40:36.6230145Z npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
2021-07-26T09:40:41.4066819Z /usr/local/bin/asciidoctor-pdf -> /usr/local/lib/node_modules/asciidoctor-pdf/bin/asciidoctor-pdf
2021-07-26T09:40:41.4068487Z /usr/local/bin/asciidoctor-web-pdf -> /usr/local/lib/node_modules/asciidoctor-pdf/bin/asciidoctor-web-pdf
2021-07-26T09:40:41.4304651Z
2021-07-26T09:40:41.4306660Z ><EMAIL_ADDRESS>install /usr/local/lib/node_modules/asciidoctor-pdf/node_modules/puppeteer
2021-07-26T09:40:41.4307503Z > node install.js
2021-07-26T09:40:41.4307951Z
2021-07-26T09:40:42.6878919Z
2021-07-26T09:40:49.2536786Z Chromium (848005) downloaded to /usr/local/lib/node_modules/asciidoctor-pdf/node_modules/puppeteer/.local-chromium/linux-848005
2021-07-26T09:40:49.2715437Z
2021-07-26T09:40:49.2717667Z ><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/asciidoctor-pdf/node_modules/@fortawesome/fontawesome-common-types
2021-07-26T09:40:49.2718419Z > node attribution.js
2021-07-26T09:40:49.2718591Z
2021-07-26T09:40:49.3202848Z Font Awesome Free 0.2.35 by @fontawesome - https://fontawesome.com
2021-07-26T09:40:49.3206605Z License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2021-07-26T09:40:49.3207320Z
2021-07-26T09:40:49.3295125Z
2021-07-26T09:40:49.3297592Z ><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/asciidoctor-pdf/node_modules/core-js
2021-07-26T09:40:49.3298436Z > node -e "try{require('./postinstall')}catch(e){}"
2021-07-26T09:40:49.3298946Z
2021-07-26T09:40:49.4029244Z
2021-07-26T09:40:49.4031134Z ><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/asciidoctor-pdf/node_modules/@fortawesome/fontawesome-svg-core
2021-07-26T09:40:49.4031716Z > node attribution.js
2021-07-26T09:40:49.4031938Z
2021-07-26T09:40:49.4709883Z Font Awesome Free 1.2.34 by @fontawesome - https://fontawesome.com
2021-07-26T09:40:49.4712045Z License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2021-07-26T09:40:49.4712919Z
2021-07-26T09:40:49.4787241Z
2021-07-26T09:40:49.4789773Z ><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/asciidoctor-pdf/node_modules/@fortawesome/free-brands-svg-icons
2021-07-26T09:40:49.4792370Z > node attribution.js
2021-07-26T09:40:49.4792771Z
2021-07-26T09:40:49.5291859Z Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
2021-07-26T09:40:49.5293632Z License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2021-07-26T09:40:49.5294233Z
2021-07-26T09:40:49.5360016Z
2021-07-26T09:40:49.5362361Z ><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/asciidoctor-pdf/node_modules/@fortawesome/free-regular-svg-icons
2021-07-26T09:40:49.5363290Z > node attribution.js
2021-07-26T09:40:49.5363748Z
2021-07-26T09:40:49.5831435Z Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
2021-07-26T09:40:49.5833127Z License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2021-07-26T09:40:49.5833781Z
2021-07-26T09:40:49.5946079Z
2021-07-26T09:40:49.5948034Z ><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/asciidoctor-pdf/node_modules/@fortawesome/free-solid-svg-icons
2021-07-26T09:40:49.5948996Z > node attribution.js
2021-07-26T09:40:49.5949369Z
2021-07-26T09:40:49.6428672Z Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
2021-07-26T09:40:49.6429784Z License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2021-07-26T09:40:49.6430127Z
2021-07-26T09:40:49.6590534Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/asciidoctor-pdf/node_modules/chokidar/node_modules/fsevents):
2021-07-26T09:40:49.6593140Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
2021-07-26T09:40:49.6593927Z
2021-07-26T09:40:49.6602575Z +<EMAIL_ADDRESS>2021-07-26T09:40:49.6603585Z +<EMAIL_ADDRESS>2021-07-26T09:40:49.6604283Z added 146 packages from 188 contributors in 14.392s
2021-07-26T09:40:50.2515900Z Asciidoctor Web PDF 1.0.0-alpha.12 using Asciidoctor.js 2.2.4 (Asciidoctor 2.0.15) [https://asciidoctor.org]
2021-07-26T09:40:50.2517139Z Runtime Environment (node v14.17.3 on linux)
2021-07-26T09:40:50.2517831Z CLI version 3.4.0
2021-07-26T09:40:50.7139667Z ##[section]Finishing: Installing asciidoctor-web-pdf

But while using 'asciidoctor-web-pdf' command like below to convert pdf file with latex equations:
asciidoctor-web-pdf $src -o $dest -a stem
get below error message:
2021-07-26T10:00:54.1568044Z Unable to generate the PDF - Error: TimeoutError: Navigation timeout of 30000 ms exceeded
2021-07-26T10:00:54.1571362Z > TIP: You can configure the timeout in milliseconds using PUPPETEER_DEFAULT_TIMEOUT, PUPPETEER_NAVIGATION_TIMEOUT or PUPPETEER_RENDERING_TIMEOUT environment variables.
2021-07-26T10:00:54.1981607Z Module pdf file: /home/vsts/work/1/a/Explorer/Resources/Modules/MPowerManagementSystem/help/ElectricCircuitBreaker.pdf

Any suggestion how to handle such errors.

Usually, when it takes more than 30 seconds the reasons is that Paged.js cannot fit the content on a page and loops endlessly.

Any suggestion how to handle such errors.

You should try to reproduce this issue locally. You can also use the --preview option to open the document in a local browser to troubleshoot (i.e., open DevTools).

Usually, when it takes more than 30 seconds the reasons is that Paged.js cannot fit the content on a page and loops endlessly.

Any suggestion how to handle such errors.

You should try to reproduce this issue locally. You can also use the --preview option to open the document in a local browser to troubleshoot (i.e., open DevTools).

Tried running it locally with the same timeout message as a result. Attached is the screenshot for the same.

Not sure, what/how can I troubleshoot the issue?
PS:

Tried using --preview option too but it simply opens it in a local browser.
Why instead of generating a pdf file, it's generating an HTML file?

Tried using --preview option too but it simply opens it in a local browser.

Yes it should open a local browser with your document. You can then open the DevTools and check the console (if there's any error).
You can also inspect the page to make sure that all the content is visible.

Why instead of generating a pdf file, it's generating an HTML file?

Because asciidoctor-web-pdf is using the browser (i.e., a web page) to generate PDF. So it generates an HTML page and then creates a PDF from it.

Is it possible to share this document? I can try to troubleshoot on my machine.

Is it possible to share this document? I can try to troubleshoot on my machine.

I investigated it further locally & found the root cause for one of my document.
Root cause: column widths in a table were not correct.
Solution: Changed column widths from fixed width size to 'auto' as below:
Before:
[cols="13,19,18,6,8,8,8,10,10"]
|===
|Trip/open action
|Test Criterion 1
...

Auto-widths:
[cols="auto,auto,auto,auto,auto,auto,auto,auto,auto"]
|===
|Trip/open action
|Test Criterion 1

Will check the same (tomorrow morning) for other documents having Timeout issue & will further update here. Thanks.

Is it possible to share this document? I can try to troubleshoot on my machine.

I have one more document with same timeout issue. But, I couldn't resolve that. Attaching a minimal script that I could prepare for your reference to test & figure out the problem. I guess, issue lies in starting line no 79  (!===).
test.txt
Kindly rename the file to .adoc while testing. Thank you in advance.

Any update please?

I have one more document with same timeout issue. But, I couldn't resolve that. Attaching a minimal script that I could prepare for your reference to test & figure out the problem. I guess, issue lies in starting line no 79 (!===).

Paged.js goes into an infinite loop probably because the table contains nested tables (i.e., it contains tables inside table cells).
Paged.js chunker has quite a few issues with tables. The good news is that they are planning on fixing these issues for Paged.js 1.0: https://gitlab.pagedmedia.org/tools/pagedjs/issues/332
The chunker is quite complex and I cannot tell you what exactly you need to change. Using auto width can certainly helps since it makes it easier to fit the content on the page (less constraints).

[cols="auto,auto,auto,auto,auto,auto,auto,auto,auto"]

I don't think this is the right syntax, you should use [cols="9"]. This definition means that you have 9 columns (and since we don't explicitly specify width, column will be adjusted automatically).
If I remove the sixth row (headEfficiencyOption) then I get a PDF:

fixed.pdf
fixed.txt

I believe that the nested table is too large and Paged.js cannot figure out how to fit it into the page (looping indefinitely).


Display headings in FireFox on macOS are thinner

Display headings (https://getbootstrap.com/docs/4.0/content/typography/#display-headings) in FireFox appear thinner than Chrome and Safari on macOS 10.12.6. Regular headings are OK. Bootstrap v4.0.0-beta.2

Not sure what we can do; it's something that's inevitable since we use the OS stack, thus not every font has every font weight we use.

This is not a macOS issue or a display class issue. All  tags look a lot thinner in FF and get even worse when using the applying a custom font size. The attached is on Windows with FF on the left and Chrome on the right using Home Page where .title has a font-size of 3.5rem.

it seems that the problem is actually that Chrome is a bit overzealous with its font weight. The currently used font-weight:500 renders far bolder/fatter in Chrome/Blink than in FF, Edge, IE...

Using just Firefox, it seems Chrome's interpretation of font-weight:500 is closer to what other browsers would use in the case of font-weight:600.

Not sure there's a clean solution here, as changes one way to try and make one browser more consistent to another may well result in making things worse in other combinations...

I doubt we can do anything here.
/CC @mdo

Closing as a won't/can't fix.


Threat model: AI Nutrition Pro

Architecture
This document outlines the architecture of the AI Nutrition-Pro application, including system context, containers, and deployment views. The architecture is depicted using C4 diagrams for enhanced clarity..
System Context diagram
C4Context
  title System Context diagram for AI Nutrition-Pro
  Enterprise_Boundary(b0, "AI Nutrition-Pro boundary") {
    System(anps1, "AI Nutrition-Pro API Service")
  }
  Enterprise_Boundary(b1, "OpenAI") {
    System_Ext(ChatGPT, "ChatGPT", "LLM")
  }
  Enterprise_Boundary(b2, "Meal Planner A") {
    Person_Ext(n1, "Dietitian A")
    System_Ext(apa, "Meal Planner A System")
  }
  Rel(anps1, ChatGPT, "Uses for LLM featured content creation", "REST")
  Rel(n1, apa, "Uses for diet creation")
  Rel(apa, anps1, "Uses for AI content generation", "REST")

AI Nutrition-Pro is API backend application that uses OpenAI ChatGPT as LLM solution. It connects to OpenAI server using REST.
Meal Planner A is one of many Meal Planner applications that can be integrated with AI Nutrition-Pro. It connects to AI Nutrition-Pro using REST.
Dietitian A uses Meal Planner A for making diets. For example, dietitian can generate new diet introductions based on existing ones. LLMs can create this content following personal style of dietitian.

Containers Context diagram
C4Container
    title Container diagram for AI Nutrition-Pro

    Container_Boundary(c0, "AI Nutrition-Pro") {
        Container(api_gateway, "API Gateway", "Kong", "Authentication of clients, filtering of input, rate limiting")
        Container(app_control_plane, "Web Control Plane", "Golang, AWS Elastic Container Service", "Provides control plane to onboard and manage clients, configuration and check billing data")
        ContainerDb(control_plan_db, "Control Plane Database", "Amazon RDS", "Stores all data related to control plan, tenants, billing")
        Container(backend_api, "API Application", "Golang, AWS Elastic Container Service", "Provides AI Nutrition-Pro functionality via API")
        ContainerDb(api_db, "API database", "Amazon RDS", "Stores dietitian' content samples, request and responses to LLM.")
        Person(admin, "Administrator", "Administrator of AI Nutrition-Pro application")
        Person(onboard_manager, "App Onboarding Manager", "Employee that is onboarding new Meal Planner applications to AI Nutrition-Pro application")
    }

    Person(ce1, "Meal Planner application manager", "Meal Planner employee designated to manage AI Nutrition-Pro integration")

    System_Ext(mealApp, "Meal Planner", "Application to create diets by dietitians")
    Person_Ext(n1, "Dietitian")

    System_Ext(chatgpt, "ChatGPT-3.5", "LLM")

    Rel(n1, mealApp, "Uses for diet creation")
    Rel(mealApp, api_gateway, "Uses for AI content generation", "HTTPS/REST")
    Rel(api_gateway, backend_api, "Uses for AI content generation", "HTTPS/REST")
    Rel(ce1, app_control_plane, "Manage billings, onboard new dietitians")
    Rel(admin, app_control_plane, "Configure system properties")
    Rel(onboard_manager, app_control_plane, "Creates new tenant. Onboarding new meal planner applications")
    Rel(backend_api, chatgpt, "Utilizes ChatGPT for LLM-featured content creation", "HTTPS/REST")

    Rel(app_control_plane, control_plan_db, "read/write data", "TLS")
    Rel(backend_api, api_db, "read/write data", "TLS")

External systems and persons

Name
Type
Description
Responsibilities

Meal Planner application
External system, web application
One of many Meal Planner applications that can be integrated with AI Nutrition-Pro. It connects to AI Nutrition-Pro using REST and HTTPS.
- uploads samples of dietitians' content to AI Nutrition-Pro  - fetches AI generated results, e.g. diet introduction, from AI Nutrition-Pro

Dietitian
External person
It's a customer of Meal Planner application. It's using Meal Planner to create diets for patients. It will see AI generated content directly in Meal Planner.
- creates diets  - consents to AI processing of data

ChatGPT-3.5
External system, API
It's OpenAI product, an LLM solution
It will be used to generate content based on provided samples.

AI Nutrition-Pro container context systems and persons

Name
Type
Description
Responsibilities

Web Control Plane
Internal system, Web application
It's written using Golang and deployed as Docker container into AWS Elastic Container Service. It uses Control Plane Database to store data. It's used in 3 roles: Administrator, App Onboarding Manager, and Meal Planner application manager.
Provide control plane to onboard and manage clients, configuration and check billing data

Control Plane Database
Internal database, Amazon RDS instance
Database
storing data for Web Control Plane

API Gateway
Internal system, API Gateway
Kong API Gateway
- authentication  - rate limiting  - filtering of input

API Application
Internal system, API application
It's written using Golang and deployed as Docker container into AWS Elastic Container Service
Provides AI Nutrition-Pro functionality via API.

API database
Internal database, Amazon RDS instance
Stored data: samples of dietitians' content, requests, and responses to LLM.
Storing data for API Application

Administrator
Internal Person
Administrator of AI Nutrition-Pro application.
- manage server configuration  - resolve problems

App Onboarding Manager
Internal Person
Employee that is onboarding new Meal Planner applications to AI Nutrition-Pro application.
- manage configuration of integrated Meal Planner application

Meal Planner application manager
Internal Person
Employee of Meal Planner
Manages AI Nutrition-Pro integration, e.g. configuration, api keys, billings.

/fabric create stride threat model

/fabric create summary

/fabric create summary

☝ Summary is created from issue body not from stride threat model. It's because agent is simple single_command.

/fabric create stride threat model


Add timezone parsing / serializing

This PR updates the full_tz branch with correct timezone parsing / serializing. I'll add some comments in the code to explain some of the changes. It uses the responds_to?(:time_zone) method you already had in place to check for ActiveSupport.

With this update, the full_tz branch might (?) have full time zone support (Supports parsing, serializing, and iterating time with zones--I think that's everything).
Without this update, I think the full_tz branch only supports iterating time with zone's, which I believe the master branch already supports (?).

Hi,
It would be very nice to have this official support of timezone parsing; can the author init a merge ?


ALC1150 on GA-Z170-Gaming-K3 motherboard

Hi there,
I couldn't get my work PC to work in terms of sound, using the latest version of AppleALC kext, in El Capitan. AppleHDA kext is native, and I cleared my config.plist. Also, I used Layout_id=1. Still..no sound.
Could you please, advise?

Hi,
It is not possible for me to help you right now, but I can check that everything goes by design if I look at the log. Please install a debug kext, add -alcdbg to boot arguments, and run
cat /var/log/system.log | grep AppleALC
Copy the results here within a spoiler tag or something.

Hi vit. :)
Will do. I just can't get my hands on a debug version of this kext.
Can you help?

Xcode has file list panel on the left. Compiled binaries display in the Products section, right click on the kext and choose Show in Finder. There also are precompiled binaries on the release page.

Ok, will try that, as well.
It's weird cause I do have Layout Id set to 1 in Clover.

As I suspected, it's a problem with the layout ID.
Here's the log, from the debug build:
mac:~ radu$ cat /var/log/system.log | grep AppleALC
Jun 17 00:23:11 localhost kernel[0]: calling mpo_policy_init for AppleALC
Jun 17 00:23:11 localhost kernel[0]: Security policy loaded: AppleALC Kernel Extension (AppleALC)
Jun 17 00:23:13 bucmac0053 kernel[0]: AppleALC: alc @ layout-id was not provided by controller at HDEF
Jun 17 11:57:10 localhost kernel[0]: calling mpo_policy_init for AppleALC
Jun 17 11:57:10 localhost kernel[0]: Security policy loaded: AppleALC Kernel Extension (AppleALC)
Jun 17 11:57:12 bucmac0053 kernel[0]: AppleALC: alc @ layout-id was not provided by controller at HDEF
Jun 17 13:05:41 localhost kernel[0]: calling mpo_policy_init for AppleALC
Jun 17 13:05:41 localhost kernel[0]: Security policy loaded: AppleALC Kernel Extension (AppleALC)
Jun 17 13:05:42 localhost kernel[0]: AppleALC: alc @ layout-id was not provided by controller at HDEF
Jun 17 13:40:44 localhost kernel[0]: calling mpo_policy_init for AppleALC
Jun 17 13:40:44 localhost kernel[0]: Security policy loaded: AppleALC Kernel Extension (AppleALC)
Jun 17 13:40:44 localhost kernel[0]: AppleALC: alc @ layout-id was not provided by controller at HDEF
Jun 17 16:04:58 localhost kernel[0]: calling mpo_policy_init for AppleALC
Jun 17 16:04:58 localhost kernel[0]: Security policy loaded: AppleALC Kernel Extension (AppleALC)
Jun 17 16:04:59 localhost kernel[0]: AppleALC: alc @ layout-id was not provided by controller at HDEF
Jun 17 16:22:31 localhost kernel[0]: calling mpo_policy_init for AppleALC
Jun 17 16:22:31 localhost kernel[0]: Security policy loaded: AppleALC Kernel Extension (AppleALC)
Jun 17 16:22:31 localhost kernel[0]: AppleALC: alc @ layout-id was not provided by controller at HDEF
Mac:~ radu$

Do not use clover configurator, edit Info.plist manually. This looks like not an AppleALC bug.

Info.plist? You mean config.plist, right?
I did use Clover Configurator to edit it. But it's still ok, even if I edit it manually.

What about the info.plist zip file I sent earlier? Does that help in any way?

What about FixHDA (or HDEF) in ACPI patches do not remember the exact name?

It's FixHDA, Vit. But it's not checked.
The only patch I applied in that section is Rename HDAS to HDEF. Is it necessary for your kext?

I think it is. I generally edit SSDT myself, so I am not sure what changes are ncessary for Clover. Read its manual ;)

Well...if the target of the kext is HDEF (which I suppose it is), then the rename is ok, since now I do have HDEF in ioreg (I had HDAS before).
I need to find a way to change my layout-id from 00 00 00 00 to 01 00 00 00 (if I'm not mistaken).
Any idea?

0 layout-id is missing layout-id, i.e. likely missing _DSM. You must fix your DSDT either with FixHDA or with SSDT edits. OEM DSDT does not contain _DSM methods in HDEF even if renamed.

Wit FixHDA I get a KP. I extracted the DSDT and...maybe I don't know where to look (most likely) but I seem to have _DSM. I wish Clover would work with this as it used to work with my previous build. :(
Can you help to get this fixed? I have no clue what where to go from here.

Try to use arbitrary device injection in clover. Read clover manual.
http://www.insanelymac.com/forum/topic/282787-clover-v2-instructions/?p=2163533

Hi, Vandroiy
I was looking into that this morning, but...in my boot.log, I don't have any Realtek device (I looked for 10EC and Realtek) so...I'm not sure where to start with this method. But interestingly enough, I can see the device in DPCI Manager.

Use bdmesg in terminal to get clover bootlog for PCI address information.
Also you should look Audio Device but NOT CodecID

Ha! Found it! :D
0:100  0:000  PCI (00|00:1F.03) : 8086 A170 class=040100

I suggest you to move to the clover topic. This place is for discussing AppleALC issues.
Closed...


Update Flet Mobile App SDK

Description
I am testing the Dropdown control.  The on_click event in option works properly on desktop if run like : flet run test.py -r -d ... However,  there is no response on the Flet App on ios/android , if run like this :  flet run test.py -r -d --ios or --android.
edited:  found additional problem, bgcolor also doesn't work on Flet App.  On the App, the dropdown bgcolor is always white. bgcolor works on desktop.
Code example to reproduce the issue:
import flet as ft

def main(page: ft.Page):
    def dropdown_changed(e):
        t.value = f"Dropdown changed to {e.control.data}"
        page.update()

    t = ft.Text()
    dd = ft.Dropdown(
        options=[
            ft.dropdown.Option("Red", data="Red", on_click=dropdown_changed),
            ft.dropdown.Option("Green", data="Green", on_click=dropdown_changed),
            ft.dropdown.Option("Blue", data="Blue", on_click=dropdown_changed),

        ],
        width=200,
bgcolor=ft.colors.BLUE,
    )
    page.add(dd, t)

ft.app(target=main)

Describe the results you received:
In Flet app on both ios and android, on_click and bgcolor has no response. It works, however, on desktop.
Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):
Flet version (pip show flet):
0.22

Give your requirements.txt file (don't pip freeze, instead give direct packages):
(The requirements)

Operating system:
Flet app on ios and android
Additional environment details:

The Flet app needs to updated (is in process).

@ndonkoHenri I am also having a problem when I want to display local images on iOS, similar to the issue #3037 for Android.
File System structure:
project
|-- assets
|-- images
|-- img.jpg
|-- main.py
Code in main.py:

def main(page: ft.Page):
    page.add(ft.Image(src=f'images/img.jpg'))   # Doesn't work with: page.add(ft.Image(src=f'./images/img.jpg')) as  well

ft.app(target=main, assets_dir='assets')

Images display on Desktop and Web, but doesn't on iOS.

You can add a QR code scanning button on this interface. Scan the QR code displayed by flet run --android .

I just installed version 0.24.1 of Flet and I still get the message "Unknown control: map" on my mobile. Do you have a target date for the availability of this feature on mobiles?

The Flet app has been updated in both stores:

Google Playstore: https://play.google.com/store/apps/details?id=com.appveyor.flet
Apple AppStore: https://apps.apple.com/us/app/flet/id1624979699?platform=iphone

They are compatible with the latest Flet version 0.24.1.
Give it a try and provide feedback.

Hi,
Unfortunately, I still have the same problem. The Map still does not
display and I receive the message "Unknown control: map". I updated Flet
App on my 2 mobiles (iPhone & iPad) and I have the problem with both.
Le ven. 6 sept. 2024 à 10:59, TheEthicalBoy @.***> a
écrit :

The Flet app has been updated in both stores:

Google Playstore:
https://play.google.com/store/apps/details?id=com.appveyor.flet
Apple AppStore:
https://apps.apple.com/us/app/flet/id1624979699?platform=iphone

They are compatible with the latest Flet version 0.24.1.
Give it a try and provide feedback.
—
Reply to this email directly, view it on GitHub
https://github.com/flet-dev/flet/issues/3096#issuecomment-2334248541,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7MAAYSSDIRIRS647DKD5U3ZVG7LZAVCNFSM6AAAAABGYHAVOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZUGI2DQNJUGE
.
You are receiving this because you commented.Message ID:
@.***>

Sorry about that! Apparently, Flet client doesn't include map module. Will fix it in the next update.

please let me know which version of google api you used and any other configuration

Flet app has been updated in both stores.

It works ! Awesome !

What about the problem of images not displaying on IOS. I have the same problem on my iPhone & iPad. In my Windows 11 development environment, everything works very well. My Flet App version on mobiles is v0.24.1 and as the same on Windows.
I tried many different tests with/without "assets_dir".
Made my tests with that code:
import flet as ft
def main(page: ft.Page):
    page.add(
        ft.Image(src="camera.svg", width=150, height=150),
        ft.Text("Hello World")
    )
ft.app(target=main, assets_dir="assets")

Same Issue for me on Android as well. using the most recent flet app too (0.24.1).


Cannot print entire blog entry

When attempting to print an entire blog entry that spans multiple pages (e.g., Cache Abstraction: JCache (JSR-107) Annotations Support) in Firefox or Chrome on Mac OS X Mavericks, only the first page prints. On the other hand, the entire article can be printed from Safari (but with poor layout and formatting).
Please ensure that the style sheets permit printing of entire blog entries in Firefox and Chrome browsers.

Can confirm this is still an issue on Chrome (43.0.2357.124) on Windows 7, but only when selecting portrait. Includes entire page when landscape.
Same behavior in IE9 (yes I know!)

Can confirm this is still an issue on Chrome (46.0.2490.86 m). Doesn't work in both landscape and potrait.

We've redesigned the website and I can't reproduce this issue now. Thanks!

I just confirmed that this is still an issue in Firefox on Mac.
Cache Abstraction - JCache.pdf


Guide does not work with latest version of the add-on

Trying to get the latest version of the add-on (1.1.0) to work.
I am having trouble figuring where to place the pem file.
I have pasted a full path in the add-on settings:

But the add-on always complained about "Not a private key / incorrect passphrase" error

Any idea on what is wrong or any place to check for log?
Any plan to update the guide to reflect changes in the latest version of the add-on?

The guide has been updated.  Thank you for your feedback.


Formatting on save is actually formatting after save

VSCode Version: 1.33.1
OS Version: Mac OS 10.13.6 High Sierra

Steps to Reproduce:

Open a JavaScript file with vscode-prettier running
Ensure formatOnSave is enabled
Make a change that does not adhere to the Prettier settings (priming it to format on save)
Save the file.

The file will save, and then format, causing unsaved changes to occur.

Does this issue occur when all extensions are disabled?: Yes/No

@LMulvey I've also noticed this too ... really annoying (especially when formatting then committing immediately after)

The file will save, and then format, causing unsaved changes to occur.

No, that's not how its implemented. There are two event, willSave and didSave, all our formatting logic is implemented during the willSave phase. This can only be an issue with the formatter extension not integrating well (as a formatter but as a bunch of commands)


Create CLI tool for exploring API more easily

Some notes I scribbled on a napkin:
# simple alias to binary
$ alias dcc=depcloud-cli

# list sources
$ dcc get sources

# list sources for module
$ dcc get sources --organization <> --module <>

# list modules for source
$ dcc get modules --source <>

# list dependents for source
$ dcc get dependents --organization <> --module <>

# list dependencies for source
$ dcc get dependencies --organization <> --module <>

Implemented here: https://github.com/deps-cloud/cli
Still needs to be published, but the core functionality is there.

Verified that the cli tool works with custom installations by setting DEPSCLOUD_BASE_URL. Just need to get it published. Work will resume under the CLI project.


is it mandatory to Make,  this available on all site collection?

is it alright if i leave that unchecked and just install on single site? At which moment does request come in admin center for approval? I left the box unchecked and have manually installed on one of the site colelction. I still dont see request in admin center and hence the error on webpart that, "AADSTS65001: The user or administrator has not consented to use the application with ID 'XXXXXX' named 'SharePoint Online Client Extensibility'. Send an interactive authorization request for this user and resource"

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

ID: 1aef3458-ceae-6f4b-8b81-a8351185a1ce
Version Independent ID: feb02688-2e08-8345-bd5c-98d80b47c2cf
Content: Consume enterprise APIs secured with Azure AD in SharePoint Framework
Content Source: docs/spfx/use-aadhttpclient-enterpriseapi.md
Service: unspecified
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Hi, I've followed all the steps, but when I add the package to the app catalog i got this error: App Package Error Message: Error in the application.
the azure function is correctly responding, any help ?


feat: introducing magic.link provider (email based authentication)

Description

Please explain the changes you made here

Adding integration with https://magic.link/ algorand extension allowing seamless auth options using email

Checklist

Please, make sure to comply with the checklist below before expecting review

[ ] Code compiles correctly
[ ] Created tests which fail without the change (if possible)
[ ] All tests passing
[ ] Extended the README / documentation, if necessary

@drichar hey, let me know if there are any tweaks to address, ill merge latest from main and if you got some further comments can patch those up

@drichar hey thank you for the review! Agree with all comments and I believe all should be addressed with last commits, also lmk if you are ok with tweaks in babel are ok, for some reason with latest magic sdks storybook started failing for me. Had to add extra plugin.

@aorumbayev Thank you for making these changes!
Yeah I'm fine with updating the Babel config for Storybook... I did update and remove some dependencies in https://github.com/TxnLab/use-wallet/releases/tag/v2.5.0 that might be the reason Storybook worked for you before and then didn't.
I've been thinking about the addition of the email argument to BaseClient's connect method, and wondering if it could potentially cause problems down the road. Perhaps it makes more sense to change it from from email?: string to arg?: any and doing a manual type check inside the individual provider(s)?
// something like:
if (typeof arg !== 'string') {
  throw new Error('Magic Link provider requires an email (string) to connect')
}

Then if some future wallet provider needs to accept an argument to connect – say, an object – we won't be forced to either add a new optional argument or introduce a breaking change?
Let me know what you think. Besides that, everything else looks great!


editor: b&w emoji support

fixes https://github.com/lockbook/lockbook/issues/1788 (in black & white)
todo

[x] release lb-fonts (https://github.com/lockbook/lb-fonts/pull/2)
[ ] stability issues with extended emojis (skin tones etc)

closing due to stability issues, will address in a different way (related to #2732)


[Question] Major version not bumped

Howdy
Noticed that when I released a major version release today, Changesets successfully published to npm but didn't update the version on Github.
Compare:
https://github.com/graphemic/prettier-config/releases/tag/v0.8.2
to:
https://github.com/graphemic/prettier-config/blob/main/CHANGELOG.md
and note that the npm package successfully bumpedf to 1.0:
https://www.npmjs.com/package/@graphemic/prettier-config
Wondering if there's a step I missed?

I'm not sure if I understand the reported problem. As far as I can see the v1.0.0 release on GitHub was created by our action: https://github.com/graphemic/prettier-config/releases/tag/v1.0.0

We can close, misfire on my part, sorry about that Mateusz!


Refactor of the FtpAdapter connection

Improve coverage of the FtpAdapter.
Refactor of the FtpAdapter connection.

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

See the complete overview on Codacy


Enhance Table Output Area Packaging Dyeing Printing

Adding new Field :

PackagingType = [ White, Dyeing, Batik, Textile, Digital Print, Transfer Print]
PackagingUnit = [ Piece, Roll, Pack]
PackgingQTY= Number of Quantitiy PackagingUnit


Error with offset

In the docs can read:
GET offset (integer) : The pagination offset
optional   min: 0 max: 50000 default: 0
If you use limit=10&offset=10000 it works and read the has_more=true, next_offset=10010 and the results' array containing 10 deviations. BUT if you use limit=10&offset=10001 nothing is returned even if you have seen that there are more deviations.
Also from web gallery with URL "...art.com/gallery/?catpath=/&offset=10000" you can see the results, but the same URL changed offset to 10001 shows "This section has no deviations yet!"

Hi there, I know this is an old thread, but I'm actually running into this same problem myself. For galleries larger than 9999 deviations, it is impossible to grab any past that number.

This is still broken after nearly 5 years.

Could you please leave a example of a gallery where this occurs? Preferably the link to the console for this call.

Could you please leave a example of a gallery where this occurs? Preferably the link to the console for this call.

For my own privacy, I'd prefer not to give a gallery, but I can give you the calls being used and what they return.
https://www.deviantart.com/api/v1/oauth2/collections/[folderid]?offset=[offset]&limit=1&mature_content=true&access_token=[access_token]&username=[username]
For any offset value over 9999, it will respond with "This section has no deviations yet!", regardless of what you set the limit to. However, this call works perfectly fine with every value below 10,000. This is problematic because my application grabs a random deviation from any given collection/gallery using some value between 0 and the total size of the collection/gallery (in many cases, over 9999).

I've also run into this issue. It happened to me in the /browse/tags endpoint as well and the /collections/{folderid} endpoint, so I assume it's common across any request with an offset > 10,000.
The exact point at which the API stops returning results varies and seems random, though I've never been able to get further than 10,000. Normally it breaks in the 9800-10000 range.
Here's an example using a random folder I found. It contains 20k deviations.
https://www.deviantart.com/api/v1/oauth2/collections/ED39828B-6764-BD7D-EE09-61239857045F?username=edwarddepp&offset=1000&limit=10&with_session=false&mature_content=true

Paging is only available to that depth. Sorry for the inconvenience.


Exploring testing ideas

Do not merge this. This PR is so that interested parties can follow the testing work.

This is now ready for some review. You can read the docs here: https://github.com/datawire/ambassador/tree/rhs/testing/ambassador/tests/poc
Keep in mind they are rst written for sphinx, so they are going to render slightly weirdly in a few cases. If you would like to see them as sphinx intended, then check out this branch and type make html in the poc directory.

This was merged in other forms.


Sourcekit/DocSupport: include fully annotated generic signatures for extension decls.

rdar://40906297
rdar://43820510

@swift-ci please smoke test

Why not include them for nominal types as well?

because they're included in the fully annotated decls for nominal types.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Plugin error from feature-classifier

Hi,
It is my first time to train a classifier, and all the previous steps were executed successfully, but when create the classifier using the following command:
##Train the classifier

qiime feature-classifier fit-classifier-naive-bayes --i-reference-reads silva_v132_97_341F-805R.qza --i-reference-taxonomy silva_v132_97_taxonomy.qza --o-classifier silva-341F-805R-classifier.qza

I got this error:
home/anaconda3/envs/qiime2-2018.2/lib/python3.5/site-packages/q2_feature_classifier/classifier.py:101: UserWarning: The TaxonomicClassifier artifact that results from this method was trained using scikit-learn version 0.19.1. It cannot be used with other versions of scikit-learn. (While the classifier may complete successfully, the results will be unreliable.)
warnings.warn(warning, UserWarning)
I don't know what does it mean and what should I do?
Thanks
Eman

Hi @emankhalaf - can you please post this question over on the QIIME 2 Forum - that is where we provide user support. Thanks!

Thanks
Eman
On Tue, May 1, 2018 at 10:04 AM, Matthew Dillon<EMAIL_ADDRESS>wrote:

Closed #398 https://github.com/qiime2/qiime2/issues/398.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/qiime2/qiime2/issues/398#event-1603410676, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AZOrV84oTKwFIzOkI_DJoTXtSGjnN0Bfks5tuGtugaJpZM4Tt-LB
.

--
Eman M Khalaf (PhD)
Lecturer of Microbiology
Faculty of Pharmacy
Damanhour University
e.mail<EMAIL_ADDRESS>Cell Phone:<PHONE_NUMBER>3084


[#4558] Change gRPC client/server options

#4558

Codecov Report

Merging #5777 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #5777      +/-   ##
==========================================
- Coverage   40.69%   40.67%   -0.02%
==========================================
  Files        2924     2924
  Lines       87879    87867      -12
  Branches    11561    11561
==========================================
- Hits        35763    35743      -20
- Misses      49024    49030       +6
- Partials     3092     3094       +2

Impacted Files
Coverage Δ

...m/navercorp/pinpoint/grpc/client/ClientOption.java
85.36% <100%> (+1.58%)
:arrow_up:

...m/navercorp/pinpoint/grpc/server/ServerOption.java
100% <100%> (ø)
:arrow_up:

...ctor/config/GrpcPropertiesServerOptionBuilder.java
100% <100%> (ø)
:arrow_up:

.../navercorp/pinpoint/grpc/server/ServerFactory.java
89.53% <100%> (-0.24%)
:arrow_down:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
56.25% <0%> (-18.75%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
79.22% <0%> (-1.77%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
72.5% <0%> (-1.67%)
:arrow_down:

...ollector/cluster/zookeeper/ZookeeperJobWorker.java
80.93% <0%> (-1.4%)
:arrow_down:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
70% <0%> (ø)
:arrow_up:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
85.36% <0%> (+2.43%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


[test-triage] chip_sw_lc_ctrl_kmac_reset

Hierarchy of regression failure
Chip Level
Failure Description

Test chip_sw_lc_ctrl_kmac_reset has 3 failures.
0.chip_sw_lc_ctrl_kmac_reset.4275221647
Line 615, in log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/0.chip_sw_lc_ctrl_kmac_reset/latest/run.log

      Offending '((!actual_sys_req[0]) || (!rst_sys_src_n[0]))'
  UVM_ERROR @ 2788.966824 us: (pwrmgr_rstmgr_sva_if.sv:92) [ASSERT FAILED] SysHandshakeOn_A
  UVM_INFO @ 2788.966824 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
  --- UVM Report catcher Summary ---

1.chip_sw_lc_ctrl_kmac_reset.4285064320
Line 617, in log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/1.chip_sw_lc_ctrl_kmac_reset/latest/run.log

      Offending '((!actual_sys_req[0]) || (!rst_sys_src_n[0]))'
  UVM_ERROR @ 2743.682536 us: (pwrmgr_rstmgr_sva_if.sv:92) [ASSERT FAILED] SysHandshakeOn_A
  UVM_INFO @ 2743.682536 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
  --- UVM Report catcher Summary ---

... and 1 more failures.

Steps to Reproduce

GitHub Revision: a029fa5c6
dvsim invocation command to reproduce the failure, inclusive of build and run seeds:
./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i chip_sw_lc_ctrl_kmac_reset --build-seed 710490551 --fixed-seed<PHONE_NUMBER> --waves fsdb

Tests with similar or related failures

[ ] chip_sw_lc_ctrl_kmac_reset

Failing in the nightlies for some time:

Tests
2022-11-07 08:08:10
2022-11-06 07:11:02
2022-11-05 07:11:23
2022-11-04 07:12:05
2022-11-03 07:11:23
2022-11-02 07:03:26
2022-11-01 07:10:18
2022-10-27 07:09:48
2022-10-26 07:06:46
2022-10-25 07:06:33
Suite

123
chip_sw_lc_ctrl_kmac_reset
0
0
0
0
0
0
0
0
0
0
chip_sw_lc_ctrl_kmac_reset

Had a quick chat with @vogelpi about this.
Lifecycle controller interaction with KMAC.
@msfschaffner / @tjaychen - is this something that you could assign internally. We could get someone to look at it, but there may be a ramp up needed.

This may be fixed tomorrow because the PR https://github.com/lowRISC/opentitan/pull/15998 has been merged recently.

Assigning to @engdoreis just while monitoring for close-out.

sorry all, I had not updated this yet.
but @cindychip and I had discussed that after the reset domain organization, this test will probably be completely deprecated.
Let me and Cindy have a look today.


[RUNTIME] Add CUDA graph rewriting

This branch is based on tlc-pack/relax that contains some utilizes latest constructs like call_builtin.
Supersedes #47

This is ready for review

Thanks Wuwei, I will do a sync to bring those changes in tlc-pack/relax in shortly later.

Some high-level comments:

Consider move most logics methods into CudaGraphContext (TLS)
Split generated functions into alloc_state()=>states and capture(states)=>graph. This way we don't need the TLS of capture context and can simply make most logics member of CudaGraphContext
Cache key: right now we are using function addr, which is fine as a first step. Need to add comment that we require the alloc and capture function to be unique. Consider possible alternative as followup (e.g. relax.builtin.func_index(gvar) that returns a unique integer index).
Add some documentations in the cuda_graph_runtime and rewrite_cuda_graph to describe high-level steps.

Will take a look after the sync

@vinx13 Could you please rebase the PR then we can start another round of review

closing for now in favor of mlc branch


Documentation section covered

I also noticed another rouge looking one here:

Huh, that's weird! Can you tell me what OS, browser, screen-size you are using? Those are being done by https://roughnotation.com/, I wonder if the annotations on their homepage are also placed in the wrong spot?

macOS, Chrome 90.0.4430.212,  1920 x 1080

I never could replicate this on my computers so closing this for now. If it's still an issue, I'm guessing it's related to https://roughnotation.com/ and there isn't much I can do on my side.


Analysis call getting cancelled

Describe the bug
Occasionally, when opening the view modal of an experiment or editing and updating the metrics data, multiple analytical calls are triggered. Consequently, this leads to the cancellation of previously initiated calls.
To Reproduce
One of the ways to reproduce is:

Create an experiment without any metrics data.
Navigate to the experiment detail view page.
Edit the experiment.
After adding some metrics data, save the changes and close the modal.

Code Review: @danoswaltCL

QA: @bcb37


Application errors when you add marker genes to dot plot after switching organism

Steps to reproduce:

Prod
Tissue = Spleen
Click info icon for macrophage, add genes to dot plot
Select Mus Musculus for organism (dot plot goes blank, marker genes panel remains)
Add tissue = spleen
Click "Add to dot plot" in marker genes panel
Application errors (probably because you are adding human genes to mouse spleen)

Desired behavior: Marker genes panel should close when organism filter is applied (let me know if you think a different desired behavior makes more sense - this is just my working idea).
)

Desired behavior: Marker genes panel should close when organism filter is applied (let me know if you think a different desired behavior makes more sense - this is just my working idea).

This makes sense to me


failed to run custom build command for ffmpeg-sys v4.3.3

--- stderr
Using stack size: Ok(3145728)
fatal error: '/usr/include/libavcodec/vaapi.h' file not found
fatal error: '/usr/include/libavcodec/vaapi.h' file not found, err: true
thread 'ffmpg-sys-build' panicked at 'Unable to generate bindings: ()', /home/max/.cargo/registry/src/github.com-1ecc6299db9ec823/ffmpeg-sys-4.3.3/build.rs:1279:10
stack backtrace:
0: rust_begin_unwind
at /rustc/b833ad56f46a0bbe0e8729512812a161e7dae28a/library/std/src/panicking.rs:575:5
1: core::panicking::panic_fmt
at /rustc/b833ad56f46a0bbe0e8729512812a161e7dae28a/library/core/src/panicking.rs:65:14
2: core::result::unwrap_failed
at /rustc/b833ad56f46a0bbe0e8729512812a161e7dae28a/library/core/src/result.rs:1791:5
3: core::result::Result<T,E>::expect
at /rustc/b833ad56f46a0bbe0e8729512812a161e7dae28a/library/core/src/result.rs:1070:23
4: build_script_build::thread_main
at ./build.rs:1276:24
5: core::ops::function::FnOnce::call_once
at /rustc/b833ad56f46a0bbe0e8729512812a161e7dae28a/library/core/src/ops/function.rs:507:5
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread 'main' panicked at 'called Result::unwrap() on an Err value: Any { .. }', /home/max/.cargo/registry/src/github.com-1ecc6299db9ec823/ffmpeg-sys-4.3.3/build.rs:629:10
stack backtrace:
0: rust_begin_unwind
at /rustc/b833ad56f46a0bbe0e8729512812a161e7dae28a/library/std/src/panicking.rs:575:5
1: core::panicking::panic_fmt
at /rustc/b833ad56f46a0bbe0e8729512812a161e7dae28a/library/core/src/panicking.rs:65:14
2: core::result::unwrap_failed
at /rustc/b833ad56f46a0bbe0e8729512812a161e7dae28a/library/core/src/result.rs:1791:5
3: core::result::Result<T,E>::unwrap
at /rustc/b833ad56f46a0bbe0e8729512812a161e7dae28a/library/core/src/result.rs:1113:23
4: build_script_build::main
at ./build.rs:623:5
5: core::ops::function::FnOnce::call_once
at /rustc/b833ad56f46a0bbe0e8729512812a161e7dae28a/library/core/src/ops/function.rs:507:5
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

ffmpeg 5 is not supported. Only ffmpeg 4.3 will work.

ffmpeg 5 is not supported. Only ffmpeg 4.3 will work.

Okay, thanks!
I found the cargo packages ffmpeg-next and ffmpeg-sys-next that support ffmpeg 5, but at some point it might be best to rewrite ffmpeg in rust completely... I assume this is just too daunting of a task and that's why it hasn't happened yet.


Qingwei/major fixes

Coverage decreased (-0.006%) to 30.338% when pulling 2fe75e12c5698997eeb81328e1d5b0ef23bcf7d2 on qingweibinary:qingwei/major_fixes into a528c69b0a41e08db71e30a3044b13fc83b73144 on binary-com:master.

Coverage decreased (-0.006%) to 30.338% when pulling 2fe75e12c5698997eeb81328e1d5b0ef23bcf7d2 on qingweibinary:qingwei/major_fixes into a528c69b0a41e08db71e30a3044b13fc83b73144 on binary-com:master.


sending messages from discord doesnt send in game

sending a message in the gmod chat, that is working with everything else, just sending messages in the discord channel doesnt relay to the chat of gmod.

discord app (dev) > Bot > message content intent turn on

ah, i am dumb, i keep forgetting that, thank you!


Fix grammar in docs

The grammar for the napari bullet is a bit off. I think this will make more sense.

Could you please also fix also README.rst and README_pypi.rst? Same grammar is used there.


Problematic ssize_t to int conversion in uv_fs_write

Version: 1.42.0
Platform: Linux/Unix (generic)

uv_fs_write returns an int, but the underlying Linux syscalls return a ssize_t. That conversion is problematic for large writes and has caused a few bugs in Node.js, including:

https://github.com/nodejs/node/pull/38546
https://github.com/nodejs/node/issues/40779

There are a handful of issues about related compiler warnings (#708, #2714), but I don't see an issue for the actual bug.
I think the only way to fix this without a breaking change is to add ssize_t uv_fs_write64 or ssize_t uv_fs_write2 or something. uv_fs_s's result property is already a ssize_t, so only the return type needs changing.

Somewhat fixed by https://github.com/libuv/libuv/pull/1501, but there was enough problems with it at the OS level, I changed my mind and think we are better off documenting the maximum size legal write (~2GB), and then expecting applications to handle that case themselves.

#1501 stalled on ABI issues, IIRC? I can see two ways to attack this issue:

limit reads and writes to ~2GB
change uv_fs_write() et al to return ssize_t or int64_t

(1) means libuv users now have to handle partial writes (but the current behavior is broken too)
(2) is technically an API and ABI break, although I expect in practice it'll be fine

#1501 stalled for several reasons, the primary one being that most kernels also can't handle reads and writes over 2GB either. This doesn't make much difference to reads (since those are chunked explicitly anyways), but makes it hard to form the return value for the write calls (and is an API break to make these all return off_t / int64_t, though perhaps we want to do that for v2 regardless). My ending suggestion was to make libuv return UV_EINVAL for all writes larger than some documented maximum (empirically, about 2^31 - 4096 bytes for unix and 511 MB for windows, or 0x7ffff000 and 0x1ff00000 respectively), and force the application (e.g. nodejs or julia) to chunk it as needed.

@vtjnash I see in https://man7.org/linux/man-pages/man2/write.2.html#NOTES that write(2) has a transfer limit of 0x7ffff000. Does that pertain to any individual uv_buf_t (for when writev() is called), or the entire write_queue_size? And what about returning UV_EFBIG instead of UV_EINVAL to be more explicit?

Each syscall (summed across all buffers in the vector)


[NETBEANS-54] Module Review refactoring.java

Add license to freemarker files:

Class.java.template
license-default.txt

Thank you for working on this.
Could you please create a topic branch? Then, please add your changes there. The master branch should be used to update with the upstream master branch.
https://github.com/apache/incubator-netbeans/pull/134 was already squashed and merged. But your master branch has their commits. So we have to squash to avoid adding some commits every time when we merge your current master branch into our master branch.

Create a topic branch: e.g. git checkout -b your-branch-name
Apply your backup to your topic branch
Push your topic branch
New PR

NOTE: I can be wrong. So you should google if you are not sure above.


Attribute 'axis' requires a constant argument

https://github.com/tensorflow/swift-models/blob/46c2d6bc47b89b3f0abd20089f77c0dfc25b8ae6/MNIST/MNIST.swift#L53
I am recieving a Swift Compiler Error: 'Attribute 'axis' requires a constant argument', when running MNIST model within XCode Version 9.3 (9E145) (macOs).
However, no trouble running the model with the command line.

Did you pass a -O flag to the compiler?