Update for latest version of IntelliJ

About two months ago, Rider 2021.1 Since then I get the following error:

Plugin error: Plugin 'Draw.io Integration' (version '0.1.1') is not compatible with the current version of the IDE, because it requires build 203.* or older but the current build is RD-211.7142.19

Are you planning an upgrade?

The current version of the plugin on the marketplace is v0.1.5. Can you please try to trigger you IDE to update the installed plugins?
The marketplace reports for v0.1.5 the following versions to be compatible:

12:10	Plugin error: Plugin 'Draw.io Integration' (version '0.1.1') is not compatible with the current version of the IDE, because it requires build 203.* or older but the current build is RD-211.7142.19
12:15	No IDE or plugin updates available

The product screenshot shows it is compatible with the 2020 wave of products. But the current version of Rider is already 2021.

It looks like the issue was that you renamed the plugin. That's why I didn't get the updates. So I uninstalled the old "Draw.io Integration" plugin and installed the new "Diagrams.net Integration". Now it works.

Oops, you're right! We renamed it just before we finally published it to the store. Sorry for the confusion. Glad you found it!


Toyota TSS2: parse distance button

Needs some cleaning up, especially in regards to handling the parameters, but figured I'd write up a quick draft just to get something going and gather some official feedback from the comma team to see which direction y'all wanted to go. But this is the gist of controlling personalities via the "Distance" button on the steering wheel for Toyota/Lexus.
Not too sure if y'all want the extra function to restore the previous drive's personality, but I put that in there since it's certainly a very nice QOL change since it defaults to the "Relaxed" personality upon ignition.
I added a bunch of comments as I went to help clear up the "why", but feel free to ask any questions or provide any inputs or critiques and I'll be happy to accommodate!

Thanks! @sshane will clean this up and get it merged as the first example, then the community can do the rest of the brands.

We can do SDSU in a follow up PR


⚠ Bofrost.at has degraded performance

In 2dbf71b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1259 ms

Resolved: Bofrost.at performance has improved in 2121745.


auto reapply skills?

so after the typical 3 wave maps and skills can be used again, is there a way to have the AI apply the skills again?

All skills have different cooldowns and servants die when they are killed.
So, it's outside the scope of this app to use skills by itself.
And it's not an AI, just uses image matching to do things.
You'll have to explicitly tell it which skill to use on which wave/turn.

servants die when they are killed


Introduce randomization iterator

We should introduce a new command that runs the tests in random orderings for a certain number of iterations. This would be useful as an offline job that helps verify the stability of the given test suite.
Currently this can be approximated by building the app once and then pointing to the output as the source for the test. In pseudo-code:
ember build
for 0...N
  ember exam --path dist --split 3 --parallel --random

We should set up a simple way to invoke this (maybe ember exam:iterate <num> <pass-through options>) and report all test failures at the end.
Should probably look into seeing if we can leverage/learn from ember-try for this, as they already run test suites multiple times.

Implemented via #56.


Complicated!

Is this the only way to get metadata saved? I thought this was a default feature of ComfyUI

ComfyUI does save a TON of metadata, in fact your entire workflow is in every image you generate... it's just not in the same format as A1111 which a lot of other things rely on (such as CivitAI)


Release 0.8.0.RC1

Resolved via https://github.com/r2dbc/r2dbc-pool/commit/e86929c746e2cde5393524b7af7616ebfb6a39ae.


Separate run defined commands from ad-hoc execution

Currently #38 utilizes conda project run [command] [args ...] to run either a defined command or any executable in the path of the activated env in your shell.
The run command should instead only execute defined commands, with optional arguments. A separate command, perhaps exec will support ad-hoc, one-time execution for undefined commands

I had a look at similar projects and the API they offer. Not that this was particularly fun to do :) but I tend to think that there's so much prior art on this that it makes sense to look around and maybe converge on a solution that has already been adopted elsewhere to ease the adoption of conda-project. I chose to look at poetry, hatch, pdm and tox. You'll note these are Python projects only.
TL;DR

poetry, hatch and pdm have a run command that allows to run arbitrary commands.
poetry with poethepoet plugin, hatch and pdm can execute named commands in environments via their run command. hatch and pdm give precedence to names commands over arbitrary commands when they clash (this is irrelevant for poetry as the poethepoet plugin does not allow to run arbitrary commands).
tox's run command is limited to execute non-arbitrary commands in environments, the new tox exec command can be used to run arbitrary commands in specific environments.
Only poethepoet allows to pass named arguments to the CLI
Substituting arguments is done by templating the command with {args:default} and substituting that with whatever is passed after the command (hatch, pdm) or whatever is passed after -- (tox).

poetry
poetry run runs the given command inside the project’s virtualenv. The example in their doc is poetry run python -V.
poetry can also run scripts (entry points) defined as such in a pyproject.toml file and executed with poetry run my_entrypoint.
[tool.poetry.scripts]
my_entrypoint = 'my_package.module:main'

poetry doesn't support more than that directly when it comes to executing tasks, there are however plugins that take care of it. I chose to focus on poethepoet.
This is basically a pretty advanced task runner, whose configuration can be defined in a pyproject.toml file. It offers different kind of tasks (commands, scripts, shell, sequence, expression, switch, ref).
This is how command tasks are defined, that type of command being what we are focusing on in this issue (example taken from their README):
[tool.poe.tasks]
format = "black ."  # strings are interpreted as commands by default
clean = """
# Multiline commands including comments work too. Unescaped whitespace is ignored.
rm -rf .coverage
       .mypy_cache
       .pytest_cache
       dist
       ./**/__pycache__
"""
lint = { "cmd": "pylint poethepoet" }  # Inline tables with a cmd key work too
greet = "echo Hello $USER"  # Environment variables work, even though there's no shell!

CLI arguments can be defined per command, setting their name, default value, type, options, etc. In the example below I create the my_echo command with two CLI arguments, you'd invoke it with poetry poe my_echo --host domain --port 5006.
[tool.poe.tasks.my_echo]
cmd = "echo ${host} ${port}"
args = [{ name = "host", default = "localhost" }, { name = "port", default = "9000" }]

An advantage of defining the inputs this way is that they can be inspected via the command line. This is a part of the output of poetry poe:
CONFIGURED TASKS
  my_echo
    --host
    --port

Also of interest for this discussion, extra arguments passed to the CLI following the task name are appended to the end of a cmd task. So calling the my_python command below with poetry poe my_python --version will call python --version.
[tool.poe.tasks]
my_python = "python"

From what I have seen, it is not possible to combine passing extra commands together with named arguments to the CLI.
hatch
hatch run works the same as poetry's run, it executes the command in an environment as if was activated. Their default example is hatch run python -c "import sys;print(sys.executable)".
hatch run is not limited to that though, it can also execute scripts, which are really command tasks. The following bit shows how to add a bar command to the default environment, that is then executed running hatch run bar.
[tool.hatch.envs.default.scripts]
bar = "echo bar"

hatch can handle multiple environments and have scripts linked to environments, the cov command/script below can be executed running either hatch run tests:cov or hatch env run --env tests cov.
[tool.hatch.envs.tests]
dependencies = [
  "pytest",
]
[tool.hatch.envs.tests.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=hatch_demo --cov=tests {args}"

I have not found a way to pass named CLI arguments to hatch, the only option to extend a script being to use the {args} template with an optional default value {args:default} as in hello = "echo {args:hello}".
Named scripts take precedence over arbitrary commands. For example, hatch run python will run the python script (python = "echo bar") instead of running the Python executable.
pdm
pdm run can run arbitrary scripts. The example in their docs is pdm run flask run -p 54321.
It can also run scripts defined in the pyproject.toml file, executed with pdm run <scriptname>.
[tool.pdm.scripts]
hello = "echo hello"

Any following arguments will be appended to the command, so executing pdm run hello bob would print hello bob in the console.
I haven't seen any way to pass named CLI arguments.
tox
tox doesn't really advertise itself as a project management tool like the previous tools, it focuses instead on testing, but its features are anyway pretty close so it's interesting to look at how its API.
tox run is used to run the commands of environments. Additional positional arguments can be passed to a command if it defines {posargs} or {posargs:default}, by passing them after --. In the example below running tox run -e py310 will display hello in the console, and running tox run -e py310 -- hey will display hey.
[tox]
env_list = py310

[testenv]
allowlist_externals = echo
commands =
    python -c "print('{posargs: hello}')"

tox exec is used to run arbitrary commands in an environment, for example running tox exec -e py310 python --version. The exec commands was added in the recently released tox 4, quoting their docs: We redesigned our CLI interface, we no longer try to squeeze everything under single command, instead now we have multiple sub-commands.

Regarding whether conda project run should be allowed to execute arbitrary commands, the summary above shows that's a feature offered by poetry, hatch and pdm and as such would make sense for conda-project. The new tox exec command goes in favor of having a conda project exec command dedicated to that.
One pretty important point that was not mentioned above is that the existing conda run command is used to execute arbitrary commands. It seems to me that this is enough to allow conda project run to execute arbitrary commands, isn't it?

So would you then recommend run for ad-hoc commands and exec for defined commands?

As for templating and expanding commands via the CLI, I haven't seen an approach that covers both of them. The approach I liked wrt templating is the one from poethepoet that allows to define named CLI arguments. I've been using doit a lot lately and it has the same feature, I found it very pleasant to work with a task runner whose tasks and parameters can be inspected via the CLI (e.g. doit help command_name). Wrt expanding, having to separate these extra arguments with -- as tox does made sense to me.
I'm not sure to which extent this is possible but merging these two concepts this would look like small example. A command could be defined with names arguments (here --port).
dashboard:
  cmd: panel serve app.py --port ${port}
  args:
  - name: port
  - default: 5006
  - type: int
  - description: The port to serve the app to.

And it would be possible to call it passing additional arguments provided after --:
conda project run dashboard --port 5007 -- --show

But to be honest, this needs a little more thinking :) Running tasks is certainly a core feature of conda-project and similar tools provide pretty advanced features like different type of tasks (commands, shells, composite tasks) and more. I can already sense the influx of feature requests coming in!

So would you then recommend run for ad-hoc commands and exec for defined commands?

Seems to me having a single run command is fine, being both in line with the other Python project management tools and conda itself. I'm not particularly worried about nameclashes.

The above discussion all sounds very reasonable to me. I'm inclined to support run for both arbitrary commands (to match conda) and for predefined commands, particularly if both arbitrary and predefined ones will accept additional arguments. I wouldn't object to keeping them separate, but haven't ever noticed any particular issue with having them combined in anaconda-project.

Thank you for the input.

thanks again, all. For #73 run will support both defined and ad-hoc commands with no -- spacer for arguments. Defined arguments take precedence on collision. Let's separately talk about templating and defined parameters.


Rebuild single index

Hello,
I have many real time indices and it takes several minutes to rebuild them using ts:rebuild. If I'm working on/troubleshooting an index file how I can just rebuild that one index without having to wait for all indices to rebuild?
Thanks!

Perfect! Thanks for the quick reply


Adds 'aad app delete' command. Closes #3008

Adds aad app delete command. Closes #3008

Awesome @nanddeepn! We'll review it asap 👏

Thank you. Did some minor changes and merged manually


Typo

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem (if available).
Link to article:
Tell us where exactly a problem occurs.
Problem:
What's wrong with the article?
Typo in the word Federation- see attached screenshot

@sesmailjee Thanks for taking the time to send us feedback.
I've reassigned to this issue to the content owner for awareness and an eventual fix.
Thanks for your contribution to the docs community!


Point::new and casting of location coordinates

I am just making some simple tests with rust and I some mildly interesting casting handling where creating new Point actually takes what ever values is given even Point is shorter. Conversion back to f64 just prints something garbage. Not very safe I think.
use geocoding::{Point};
struct Mining {
    id: u64,
    location: Point<f32>
}
fn main() {
    let mine = Mining{ id: 1, location: Point::new(2.128703454232323, 41.40139) };
    println!("Hello, world! {lat}", lat= mine.location.x() as f64); # Hello, world! 2.1287033557891846
}

This has nothing to do with geocoding: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=78a6084509f482cdd5433d5d4f218fab
You appear to be running out of precision when defining location. I would gently encourage you to familiarise yourself with the semantics of Rust's floating-point implementation before claiming that a particular library is doing something odd, especially given that it is readily discernible that the Point implementation and x() method don't alter numerical input or output in any way.


Don't overwrite click event for all checkboxes on the page

Limit the wiring of the change event for checkboxes to only the ones that Browse Everything owns. The current code [1] wires all checkboxed on the page:
   $(document).on 'change', 'input:checkbox', (event) ->

Perhaps we could limit the checkboxes by CSS class.
[1] https://github.com/projecthydra-labs/browse-everything/blob/master/app/assets/javascripts/browse_everything/behavior.js.coffee#L290

@hectorcorrea yeah, my bad. There's one there already, I just forgot to add it to the listener:
https://github.com/projecthydra-labs/browse-everything/blob/master/app/views/browse_everything/_file.html.erb#L27


How to remove x-frame-options: DENY

Hello,
Please help me how to remove x-frame-options: DENY in my app.
My app use custom server express and i18next-express-middleware. In my custom server I never use x-frame-options. But this alway show in header. How to remove it. I try with res.removeHeader('x-frame-options'); But it not working.

Next doesn't set this header.

Just stumbled upon this, I guess this is Now behavior.


request help: How to get Spring env value from Docker environment

Issue description
As I know the plugin is based on the Spring framework.
I have configured below in the application.yaml:
redis:
  url: ${REDIS_URL:redis://localhost:6379}

Now, I want to set REDIS_URL by the docker environment.
Eg:
  apisix:
    container_name: apisix.example.com
    image: apisix:3.2.0-debian-javaplugin
    volumes:
      - ./apisix/conf/config.yaml:/usr/local/apisix/conf/config.yaml
    environment:
      - REDIS_URL=redis://kimchi:6379

Expected: apisix-java-plugin should start succeed with REDIS_URL=redis://kimchi:6379
Actual: apisix-java-plugin can not get REDIS_URL from env

My trace

I ensured when the container started, I could get the correct REDIS_URL by cmd java -jar my_plugin.jar (run it directly by hand, not via ext-plugin.cmd
I'm not a Lua developer, but I checked the log, I suspect the Java app maybe run by Lua script,  and in this way, the plugin can't  get the value from the environment

Environment

apisix:3.2.0-debian
apache-apisix-java-plugin-runner-0.4.0
Apisix and Apisix Plugin run in the same container
config.yaml

deployment:
  role: data_plane
  role_data_plane:
    config_provider: yaml

ext-plugin:
  path_for_test: /tmp/runner.sock
  cmd: ['java', '-jar', '-Xmx1g', '-Xms1g', '/usr/local/apisix/token_revoker_plugin.jar']

It looks imposible, From the document

Nginx will hide all environment variables by default
https://apisix.apache.org/docs/apisix/external-plugin/#when-managing-by-apisix-the-runner-cant-access-my-environment-variable


[Bug]: The test email is failing in Admin setting page

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The test email is failing in the Admin setting page

Steps To Reproduce

Go to the admin setting page
Click on the email tab
Add all the related details
Click on send a test email
The Test email failed toast bar is displayed

Environment
Deploy Preview
Version
Self-Hosted

@RakshaKShetty Is this still an issue?

@RakshaKShetty, can't reproduce this, so closing. Please reopen if otherwise.


drop-down components

[ ] should use globalId instead of ref to connect drop down
[ ] move toggle icon to stylable SVG
[ ] css class drop-down-input should be called nativeInput
[ ] css class drop-down-list should be called list
[ ] should extract colors and variables to theme
[ ] minimum width should be removed
[ ] change private methods to private (render, itemClick)

render() is public (by React typings)

@tyv - correct, removed from issue


question prompt and fs write file content

GIVEN a command-line application that accepts user input
WHEN I enter a description, installation instructions, usage information, contribution guidelines, and test instructions
THEN this information is added to the sections of the README entitled Description, Installation, Usage, Contributing, and Tests

completed


Do not fetch app versions for pod.

Summary:
There is not need to fetch any pod versions since each instance has it's
pod spec attached.
JIRA issues: MARATHON-8564

Unfortunately I don't see a way to backport this to 1.6 and 1.7.


Load books image over HTTPS

@bohraji can you tell me more about what I have to do in this task.

So basically the issue is that our page is loading in https but the images we use for books are loading in http. So we have to load our images that we add over https.

This seems to be done. Closing.


 This is because ray.so switched to client side rendering and the API is now not available anymore.
The URL https://ray.so/api/image?code=${base64Text}&theme=${preferences.theme}&darkMode=${preferences.darkMode}&background=${preferences.background}&spacing=${preferences.padding} is returning a status code 500, for example https://ray.so/api/image?code=cHJpbnQoJ0hlbGxvIFdvcmxkJyk&theme=candy&darkMode=true&background=true&spacing=64.
To fix this issue, I suggest we replace copy image with generate image which just opens a browser window with the selected text already filled in, i.e. open https://ray.so/?theme=${preferences.theme}&background=${preferences.background}&darkMode=${preferences.darkMode}&spacing=${preferences.padding}&code=${base64Text} instead, for example https://ray.so/?theme=candy&background=true&darkMode=true&spacing=64&code=cHJpbnQoJ0hlbGxvIFdvcmxkJyk
CC @gt-codes
Checklist

[X] I read the extension guidelines
[X] I read the documentation about publishing
[X] I ran npm run build and tested this distribution build in Raycast
[X] I checked that files in the assets folder are used by the extension itself
[X] I checked that assets used by the README are placed outside of the metadata folder

Thanks! I still plan to fix the server-side generation of images, but your fix will make the command useful again 👌


condaenv is broken in 26 at least with Miniconda 3

See
https://github.com/JetBrains/gradle-python-envs/commit/cc1be34411aa5708c9e2238bc3edfd30c9302b4d#r31733255

Hi @throwable-one!
Please try 28 version
@anuraaga env.name used in conda definition is already used for directory creation, so there is no need to specify env.name explicitly in command


Adding logging for retryClient succeed on retry

NetflixOSS » eureka » eureka-pull-requests #497 SUCCESS
This pull request looks good

NetflixOSS » eureka » eureka-pull-requests #498 SUCCESS
This pull request looks good


Add arc_read() function

I would find it really convenient to have a single function, e.g. arc_read(), that I could use to read in data from a ArcGIS service. Here is a reprex showing my existing workflow and an alternate workflow with this function:
library(arcgislayers)
library(rlang) # for %||%

url <- "https://geodata.baltimorecity.gov/egis/rest/services/CitiMap/DOT_Layers/MapServer/5"

# The way I usually use arcgislayers
data <- url |>
  arc_open() |>
  arc_select()

# The additional convenience function for reading layers
arc_read <- function(url,
                     fields = NULL,
                     where = NULL,
                     crs = NULL,
                     geometry = TRUE,
                     filter_geom = NULL,
                     ...,
                     .name_repair = NULL,
                     token = Sys.getenv("ARCGIS_TOKEN")) {
  arc_obj <- arc_open(url = url, token = token)

  arc_obj <- arc_select(
    x = arc_obj,
    fields = fields,
    where = where,
    crs = crs %||% sf::st_crs(arc_obj),
    geometry = geometry,
    filter_geom = filter_geom,
    token = token,
    ...
  )

  if (!is.null(.name_repair)) {
    if (is.function(.name_repair)) {
      nm <- .name_repair(names(arc_obj))
    }

    arc_obj <- rlang::set_names(arc_obj, nm)
  }

  arc_obj
}

url <- "https://geodata.baltimorecity.gov/egis/rest/services/CitiMap/DOT_Layers/MapServer/5"

data <- arc_read(url)

Created on 2023-11-29 with reprex v2.0.2
This reprex also shows the potential of adding a .name_repair parameter. If you'd be OK with picking up a {vctrs} dependency you could use vctrs::vec_as_names() or re-implement comparable flexibility.

I don't think arc_open() |> arc_select() is too much hassle but I think a single function would be useful—especially when so many vector layers are fairly small and read into memory quickly without any issues.
I'd also note that most of the common read functions don't require you to read everything into memory:

sf::read_sf() supplies a wkt_filter parameter that is similar to filter_geom (and you can use the query parameter to select specific columns or attributes or filter rows)
readr::read_delim() has col_select (comparable to fields) and skip
googlesheets4::read_sheet() also has range and skip
arrow::read_parquet() works with URLs as well as any Arrow input stream and also has col_select

arrow::open_dataset() is designed for multi-file datasets which is why the limitation makes sense there. You could have arc_read() kick back an error if the feature count from the initial metadata exceeds some default threshold.

Let's go ahead and make a pr. Why not? be sure to use rlang::names_inform_repair() if names are changed. Let's set n_max = 10000 as a safe maximum (I've seen some insanely detailed polylines recently where 300 take longer to read in 5,000 polygons). After using arc_open() its probably best to use obj_is_layer() in case somehow we read in a map or feature server.

Nice. Thanks! Would you be interested in me including the col_select argument as an alias for fields? Internally inconsistent but maybe nice for familiarity based on those other read functions.

That is almost exactly how I have it started. Stayed up late getting it working (getting col_names to parity with the standard tidyverse functionality was a bit tricky) but the PR may not be until next weekend. I think it could also easily support arc_raster (that is how I wrote it so far)

Closed by #118


How to iterate over each Sentence using python-docx

i am currently using VBA on Word and would love to switch to python-docx. So i had a question. Within VBA it has a paragraph and sentence object and i can iterate over every sentence like this... Word VBA know what a paragraph, sentence and word and its easy to iterate and make specific changes.....
How can i accomplish this with python-docx? is the Word VBA object model available to me in python-docx? thanks for any insight.
'//  loop over each sentence and word in a Word document (using VBA IDE in MS Word)
Dim s As Range
For Each s In ActiveDocument.Sentences
              s.Select

             for each wrd in s
                      wrd.Select
     next
next

python-docx has no concept of sentence, word, range, or selection. If you need those you'll have to implement them yourself. python-docx (and indeed WordprocessingML which is what a .docx file is made up of) have only the concepts of paragraph and run. Sentence, word, range, and selection are built on top of these paragraph and run objects, but not in python-docx, at least not yet or for the foreseeable future.


Revert "Use coreutils toolchain for copy_file action (#622)"

This reverts commit 01ca8f94324f7bc0b2865173a58de06b82dccbac.
Using the coreutils toolchain for copy actions causes downstream issues in rules_js and rules_ts which use these actions. This is difficult to fix forward in rules_js and rules_ts without causing a breaking change by requiring WORKSPACE users to call the register_coreutils_toolchains() macro.
Reverting this should not be a breaking change for 2.0.0. If users were using the toolchain, the implementation will now just revert to bash.
Type of change

Bug fix (change which fixes an issue)

FYI @dzbarsky
What's the path to roll this forward again?

Hmm I thought the recommended usage was the macro to register all the toolchains (including coreutils)?

FYI @dzbarsky
What's the path to roll this forward again?

I think the path is to cut a 2.0.1 release and yank the 2.0.0 release from the BCR.
To re-add this we need to be ready to make breaking changes in rules_js and rules_ts because it becomes necessary for WORKSPACE users to load the register_coreutils_toolchains() macro. If that is considered a breaking change... I'm not too sure.


Space

Support Deta Space, major database changes, reverts one or two weird ideas I had like the library providing webhook error reporting

LGTM


(TEST) Validate build behavior

Apologies, doing some testing to see if I can get the build working again and accidentally targeted upstream instead of origin, will open a PR if/when I can get things to actually build.


TCO to review and update (if necessary) M365 Workshop slides for Power Platform

💡 Summary
SCuBA will hosting workshops to cover M365's SCBs and the team is requesting the TCOs to review and update the slides to match the current language approved in the v1.0 version.
Motivation and context
JCDC, OCC, and CISA front office reviews may discover changes to the language of the policies and the rationale sections. In order for the workshops to stay synced with the latest version of the SCBs, TCOs are expected to review and update the workshop slides to match version 1.0.
Implementation notes
Please provide details for implementation, such as:

Review latest SCB released by CISA front office
Review M365 Workshop slides provided by @mheller93766. HSSEDI Linked below. For those who do not have access to the HSSEDI environment @mheller93766 has provided the slides via email
Ensure the language of the policies and the rationales are synced with the latest version of the SCB

Acceptance criteria
How do we know when this work is done?

[ ] M365 Workshop Slides and SCB policy and rationale languages have been reviewed and synced by the TCO

currently blocked due to awaiting final version from CISA front office

Please have this completed by Jan 12th to meet CISA's review deadline.

@mheller93766 slides have been updated to be synced with the latest SCB. Minor update were made.


Nest config flow

Description:
Add a config flow to configure Nest. Backwards compatible!

Move Nest component to be folder based and split component up
When client id/secret is provided via configuration.yaml, the config flow can be used to configure your Nest account. I did not incorporate asking for client id/secret inside the config flow as that requires a developer account, I don't find that suitable for a UI config flow.
Config flow is structured in a way that creates foundation for other components to add authentication implementation. This foundation is not done yet, as I didn't want to clutter this PR. In the future, if a user is logged into the cloud component, they will be able to do a full OAuth2 flow without the user having to register their own developer account.

Basic functionality is already working.
To do:

[ ] Merge frontend PR to allow placeholders in translations https://github.com/home-assistant/home-assistant-polymer/pull/1274
[x] Add tests for Nest config flow
[x] Use config entry forwarding instead of discovery to load other Nest platforms
[x] Import existing access tokens

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):
nest:
  client_id: bla
  client_secret: bla

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

without the user having to register their own developer account.
Does that mean HA Cloud will have to pass Work with Nest certification? I have little doubt about that, some guy in SmartThings community want to similar things and rejected by Nest several times. Nest said, such "usage" should ask each user register their own developer account.

Does that mean HA Cloud will have to pass Work with Nest certification?

Yes. Home Assistant Cloud will work directly with partners to pass certification.

@balloob since you are working on config flow, can you add another workflow?
Current implement if I understanding is right, likes
load_config() ---> client_id/client_secret --> if access_token_cached --> import(access_token)
                                                |--> else redirect user to input pin -> cache access_token

can you change it to
load_config() ---> if access_token_cached --> import(access_token)
                   |--> else if no client_id/secret --> ask user input client_id/secret -->
                   |--> else if has client_id/secret --> redirect user to input pin -> cache access_token

By this way, I don't need save my client_secret in conf file anymore


fix(masks): time-picker, date-picker, date-range-picker > updates to mask behavior

PR Checklist
Please check if your PR fulfills the following requirements:

Tests for the changes have been added/updated: [Y]
Docs have been added/updated: [Y]
Does this PR introduce a breaking change? [N]
I have linked any related GitHub issues to be closed when this PR is merged? [Y]

Describe the new behavior?
time-picker, date-picker, and date-range-picker will now only display masks when they are focused. Also masks will hide on blur when no value is populated.
Additional information
Closes: https://github.com/tyler-technologies-oss/forge/issues/314

I will need assistance tracking down the issue with the animations. How should I proceed from here? @DRiFTy17

I will need assistance tracking down the issue with the animations. How should I proceed from here? @DRiFTy17

@jake-crawford-tyler I started looking into this earlier today, but I've been hopping back and forth between a number of different tasks all day... I was able to fix the issue regarding the floating label animation when focusing the field with the mask format visible though.
I still need to track down the issue in the date-range-picker when tabbing between the inputs, and then finish reviewing the latest changes.
Sit tight for a bit and I'll update your PR with some changes, and give it all another review.

Perfect, thank you @DRiFTy17 , I appreciate the help!


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test-source

Docs Build status updates of commit 2c99b26:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2019-11-22-03-28-28 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2019-11-22-03-28-28

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Change Port Number

Hi, i use my printer at port 7127, but the extension only accepts 7125, how can i change?

I will work on a fix, might need your help to test

I'm also one to leverage a different port than 7125. Happy to test as well.

Thanks folks, we will be implementing this feature in the next few days

Closing the issue, it will be available in 0.3.0


domd, displbe: change revision to master

The common product should use master as a
source branch for development.
Signed-off-by: Andrii Chepurnyi<EMAIL_ADDRESS>

Acked-by: Volodymyr Babchuk<EMAIL_ADDRESS>

ack added


Fixed missing 9Be; nuclear wallet additions

Hi Henrik! Just a couple of fixes.
It should be clear enough, but let me know if you need more explanations :)
Cheers

Everything looks good. Merging with the main branch :)

[heart]         Andrea Valentini reacted to your message:

From: Henrik Järleblad @.>
Sent: Thursday, October 31, 2024 8:47:47 AM
To: JuliaFusion/OWCF @.>
Cc: Andrea Valentini @.>; Author @.>
Subject: Re: [JuliaFusion/OWCF] Fixed missing 9Be; nuclear wallet additions (PR #52)
Everything looks good. Merging with the main branch :)
—
Reply to this email directly, view it on GitHubhttps://github.com/JuliaFusion/OWCF/pull/52#issuecomment-2449337825, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BLBQZB6CKRQEQ2Y22XMDAKTZ6HVDHAVCNFSM6AAAAABQ4DBCICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBZGMZTOOBSGU.
You are receiving this because you authored the thread.Message ID: @.***>


RFE: default openstack api_version to latest

Feature Request
libcloud/compute/drivers/openstack.py defaults to API version "1.1".
DEFAULT_API_VERSION = '1.1'

It would be nice to default to the very latest API version ("2.2" as of this writing) so that new libcloud users can get started with the latest code easily.

Yeah, this seems a reasonable change to me.
But perhaps we should default it to current latest (2.2) to avoid issues when a new version is released?
Having said that - are you willing to make that change? Should be a small code + tests change and we should also add entry to docs upgrade notes.

Yeah, this seems a reasonable change to me.
But perhaps we should default it to current latest (2.2) to avoid issues when a new version is released?
Having said that - are you willing to make that change? Should be a small code + tests change and we should also add entry to docs upgrade notes.


error while loading shared libraries: libLLVM-17-rust-1.75.0-stable.so for stable rust

Checklist

[X] I've looked through the issues and pull requests for similar reports

Describe your issue
Cross fails to compile any project which depends on the libc crate when using the latest stable toolchain, but works when using the latest nightly.
What target(s) are you cross-compiling for?
armv7-unknown-linux-gnueabihf, x86_64-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?

[ ] macOS
[ ] Windows
[X] Linux / BSD
[ ] other OS (specify in description)

What architecture is the host?

[X] x86_64 / AMD64
[ ] arm32
[ ] arm64 (including Mac M1)

What container engine is cross using?

[X] docker
[ ] podman
[ ] other container engine (specify in description)

cross version
cross 0.2.5 (f272b47 2024-02-06)
Example
% rustup default stable
  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.75.0 (82e1608df 2023-12-21)
% cargo uninstall cross
[...]
% cargo install cross --git https://github.com/cross-rs/cross
[...]
% cargo new testcase
% cd testcase
% cargo add libc
% cargo build
[...]
Finished dev [unoptimized + debuginfo] target(s) in 0.46s
% cross build -v
+ cargo metadata --format-version 1
+ rustc --print sysroot
+ /usr/bin/docker
+ /usr/bin/docker version -f '{{ .Server.Os }},,,{{ .Server.Arch }}'
+ /usr/bin/docker info -f {{.SecurityOptions}}
+ rustup toolchain list
+ rustup target list --toolchain stable-x86_64-unknown-linux-gnu
+ rustup component list --toolchain stable-x86_64-unknown-linux-gnu
+ /usr/bin/docker run --userns host -e 'XARGO_HOME=/home/soruh/.xargo' -e 'CARGO_HOME=/home/soruh/.cargo' -e 'CROSS_RUST_SYSROOT=/home/soruh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu' -e 'CARGO_TARGET_DIR=/target' -e 'CROSS_RUNNER=' -e TERM -e 'USER=soruh' -e 'CROSS_RUSTC_MAJOR_VERSION=1' -e 'CROSS_RUSTC_MINOR_VERSION=75' -e 'CROSS_RUSTC_PATCH_VERSION=0' --name cross-stable-x86_64-unknown-linux-gnu-495a4-82e1608df-x86_64-unknown-linux-gnu-82bae-1707401153581 --rm --user 1000:1001 -v /home/soruh/.xargo:/home/soruh/.xargo:z -v /home/soruh/.cargo:/home/soruh/.cargo:z -v /home/soruh/.cargo/bin -v /tmp/tmp.cOSKY5EQKP/testcase:/tmp/tmp.cOSKY5EQKP/testcase:z -v /home/soruh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu:/home/soruh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu:z,ro -v /tmp/tmp.cOSKY5EQKP/testcase/target:/target:z -w /tmp/tmp.cOSKY5EQKP/testcase -v /nix/store:/nix/store:z -t ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main sh -c 'PATH="$PATH":"/home/soruh/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin" cargo build -v --target x86_64-unknown-linux-gnu'
   Compiling libc v0.2.153
     Running `/target/debug/build/libc-10fd0db5075c6882/build-script-build`
error: failed to run custom build command for `libc v0.2.153`

Caused by:
  process didn't exit successfully: `/target/debug/build/libc-10fd0db5075c6882/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=build.rs

  --- stderr
  thread 'main' panicked at /home/soruh/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/build.rs:206:9:
  failed to run rustc: rustc: error while loading shared libraries: libLLVM-17-rust-1.75.0-stable.so: cannot open shared object file: No such file or directory

  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
+ rustup component list --toolchain stable-x86_64-unknown-linux-gnu
% rustup default nightly
  nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.78.0-nightly (256b6fb19 2024-02-06)
% cross build
    Finished dev [unoptimized + debuginfo] target(s) in 0.04s

Additional information / notes
% rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/soruh/.rustup

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu (default)
nightly-2023-09-15-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu

installed targets for active toolchain
--------------------------------------

armv7-unknown-linux-gnueabihf
x86_64-unknown-linux-gnu

active toolchain
----------------

stable-x86_64-unknown-linux-gnu (default)
rustc 1.75.0 (82e1608df 2023-12-21)
% rustc -V
rustc 1.75.0 (82e1608df 2023-12-21)
% cargo -V
cargo 1.75.0 (1d8b05cdd 2023-11-20)

Could you try uninstalling stable-x86_64-unknown-linux-gnu then reinstall it

That seems to have worked. It now works for both architectures.
Thanks a lot!

Awesome! We actually have a warning for a similar issue, but I think this one is pretty much impossible to detect reliably.
https://github.com/cross-rs/cross/blob/f272b470f999c7e588fbcf5c0a159d14b5485ff4/src/rustup.rs#L129


fix: bug 1589 - filter de-selection

Whoops, you couldn't undo filter selections. Now, the "---" is "--any--" and the filtering logic actually recognizes as

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat(path ios files): [WIP] Support user to specify path for ios/android files

What: Closing issue #15

Why:

How: generate writeDirPath based on user input
Checklist:

[x] I read the contributor guidelines
[x] My commit messages & PR title follow Conventional Changelog Standard
[ ] I added tests for my new feature
[ ] I added documentation for my new feature

Thanks for your contribution, this is a great start! 😀
I definitely didn't make this clear enough in the issue, but I was picturing the user flow to look something like this:

User selects iOS & Android templates
We ask the user where they want their iOS files (defaults to ios/)
In a separate prompt, we ask the user where they want their Android files (defaults to android/app/src/main/java/com/pkg.name)
If the user does not select iOS templates, we don't ask the iOS file location prompt. Same with Android

Since we are now introducing a level of hierarchy into the prompt structure, we will have to change how we're asking the questions because some of the questions depend on a previous answer. Here's an example from the inquirer repo to see how they're handling this.

@peggyrayzis: You are welcome! I updated the code that follows above guide, please check. I also have a question, I am not sure what directory we need to generate on Android, is it correct if user enter hello/world then we will generate file android/app/src/main/java/com/hello/world/pkg.name?

Hey, sorry for the delay! Recently, I just left my job so I've been taking a break to recharge 😄
pkg.name refers to the name in your package.json file (your app's name if this is an existing RN project). So, if your app name is MyApp, your MainApplication.java will be placed in android/app/src/main/java/com/myapp by default. If the user enters anything in the prompt, then it will override the default & place the bridge module files wherever the user specifies.

Hey @peggyrayzis. Welcome back! I followed you on Twitter after checking your video at ChainReact and I knew you got a new job. Congratulation!!!
About this PR. Can you give me some hints about how to write tests for this? So I can move faster ;). Thanks!

Thanks! Super excited about my new role at Apollo 🎉
Sure, I'll try to steer you in the right direction. I was thinking of refactoring the tests folder structure anyway so this is perfect timing.  I'll add a new file for testing init() and add in some it blocks that you can fill in. Would that be helpful?


-36 Finder error when copying ~400 files into public

Stress-testing by dragging my collection of image macros into /keybase/public/rodbegbie/ -- After 7 files, failed with error -36.
my log id: a7f9cfffc386e891ab8e671c

Whoa, I've never seen this error before:
71580 2016-02-10T16:58:43.212234 ▶ [DEBU kbfs(BSR) bserver_remote.go:215] 1175d AddBlockReference id=019cd790167ef56ffe056ed5476c85b55ef0026e94739b095cbb1ca00369cacd45 uid=9ac028119adc92b16a1fb9669d2b2a00 err=AddRef to block with wrong status (1) [tags:FID=obERQ_EFalHoOMVkoQhtUA]

This might be related to another block reference bug that came in today (#1973).  I'll try to take a look in more detail tonight.

I started it again, and it got further, before stopping with the same Finder error.
New Log ID 5bc82ee1e876903ad29ec01c
(Also, there are now a bunch of 0 byte files in my public/rodbegbie/macros/ -- everything with a filename beginning with n–z is 0 bytes)

Yeah, I think this was similar to #1973 -- a race condition in our servers, that I think we just fixed.  Can you please try your test again when you get a chance?
(Note, depending on the size of the files and the throughput/speed of your connection to our servers, I wouldn't be surprised if you hit errors due to timeouts on OSX -- it would look the same to you, but the underlying cause would be different. So if you see the same error, please upload new logs.)

Thanks! Got the Error -36 again.  New logs: f677175d9f48903bbcd9051c

Cool.  The good news is that the original error didn't recur (it was a race, so that doesn't mean much, but it is encouraging).
The -36 error was indeed an I/O resulting from a timeout while flushing a file over the network:
2016-02-11T19:09:16.476098 ▶ [DEBU kbfs(FBO 99a6186b) folder_branch_ops.go:4154]
 1c58 Sync 0xc8213f62d0 [tags:FID=jfYLACwpuG47ArosCeSpLQ]
...
2016-02-11T19:09:35.528337 ▶ [DEBU kbfsfuse file.go:108] 1cb5 context deadline exceeded [tags:FID=jfYLACwpuG47ArosCeSpLQ]
2016-02-11T19:09:35.528473 ▶ [DEBU FUSE serve.go:817] 1cb8 -> [ID=0x8] Flush error=EIO: context deadline exceeded

This wasn't actually much data though -- we know we have a lot to optimize on the sending data side still, but this might have been the result of a temporary network/DNS hiccup, hard to tell.
But the good news is that the background process finished sync'ing the file for you in the background, so I think those files should be in your public folder successfully now.  Let me know if that isn't the case.  Thanks!

I've seen this error as well when just trying to open one/two files with coffee shop wifi. Unfortunately, the internet was too bad to send logs, so I'm just adding this note here as a reminder for me to add it when I can reproduce the issue again.
Keybase GUI Version: 1.0.14-20160302170014+fa02591

@jonalmeida you were just trying to open/read files, not write them?  I'm guessing your internet was slower trying to download the files than your file system timeout.  (Maybe there was a popup error saying "Operation timed out"?)  That may be slightly different than the write issue described earlier in this ticket.

@strib I was trying to edit the file iirc through vim. If I repro this while only reading, I'll open a new ticket then. Thanks!

The latest versions of KBFS for Linux and OS X (1.0.16-20160627110020+11e6f10 and higher) include both performance improvements, and timeout avoidance, so it should be possible now to upload large amounts of data on all but the worst network connections without seeing an error.  Performance will still be pretty slow, since it involves synchronous round trips to our servers, but it should be a bit faster than before, and more importantly error-free.
Please try it out when you get a chance and let me know if things seem better.  Thanks!

Version 1.0.20 has architectural changes that should greatly improve the large write experience.  If you're still seeing problems, please open a new issue.


Frontend Testing: Playground Sagas

Part of #581
Changes:

Added types to ./src/sagas/playground.ts
Added another test to /src/sagas/tests/playground.ts

Now also tests if the put action contains the correct string with a dummy editor value.

Pull Request Test Coverage Report for Build 1862

11 of 11 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 27.699%

Totals

Change from base Build 1854:
0.1%

Covered Lines:
1408

Relevant Lines:
4392

💛  - Coveralls

Looking Good
Could you add in one more case for when empty string is passed in as editorValue?

Done!


Weird spikes in the data

Hi,
I am having weird spikes, as you can see in HA there is more than 9.5Kw of energy produced this day.

But the total lifetime is not more than 8.5Kw

How can this be explained? Where do I have to look for a solution?

What sensor do you have under Solar Panels in your energy dashboard, it should be sensor.ecu_lifetime_energy?  and what does the graph look like if you view the history of that sensor inside HA?

This is the only sensor I see. So I think it is the right one?

Yes, it's the correct sensor.  What if you go to the history page in the sidebar, and then select sensor.ecu_lifetime_energy and pick the last day, what does that show?

Got a weird drop, around the same time the energy dashboard peaks looks like it. I already have set the scan_interval at 180 because the ECU crashes otherwise. Has it something to do with this?

I noticed the screendump on the EMA site. The integration does not modify the ECU data (or buffer) but only reads it. It is therefore striking that the ECU did not send correct data to the EMA site. At night, when the inverters are not working, the ECU makes sure that the internal data buffer is checked again against the EMA data that has been pushed during the day. Did you not do a new ECU or reinstall of the ECU?

Hi @HAEdwin,
Thanks for the info! Didn't know that.
It is exactly the same ECU, did a powercycle because the ECU was not reporting.
For now it is doing well the last 4 days. Did put the scan_interval on 300.

Great to hear that it is running well for four days, what kind of ECU model and firmware to you own? You mentioned spikes (more than ones), does it occur more often?

I've experienced the same issue today, and had it happened also on jan 11. The symptom is that the sensor value changes to 0 and then jumps back up to the total generated value (and in my case twice in quick succession apparently). See screenshots:
Energy panel:

The sensor

ECU's webpage ( [ECU-IP]/index.php/realtimedata/energy_graph )

As for my setup:

HA 2021.12.5 running via the docker 2.5-alpine image -- no useful logs
Intergation is up to date with HACS (3b7148a) (scaninterval @ 300s, had connection issues previously)
ECU-R with firmware ECU_R_PRO_2.0.3012 (I just noticed this -- might be reason of the issue? )
3x QS1 and 1x YC600

Would love to help in any way possible to fix this issue, and happily provide more info if necessary!

What do the other sensors from the integration report during the 0 reporting period?  Like sensor.ecu_current_power or sensor.ecu_today_energy?

sensor.ecu_current_power seems normal, ecu_today_energy appears to show the same drop. I also noticed that this seems to go paired with a signal loss, but maybe that could be because of bad/failed parsing of ECU data?

Didn't mean to close this, but I created a new version which will attempt to fix this by detecting a '0' value for ecu_lifetime_energy and throw an exception, which causes the integration to pull it's last cached value.  Hopefully this will fix the issue, it also will log the raw data to the HA log so we can see what was returned.

Awesome, I have updated and will keep an eye on this :+1:

I have updated it as well! Thanks for your time!

Sorry to bump this issue, not sure if completely related, but shouldn't the other two sensor's get the right right stateclass? And not use lifetime_energy, but actually today_energy or the current_power options to calculate solar production with the current version of Home Assistant.
so in sensor.py:
     sensors = [
         APSystemsECUSensor(coordinator, ecu, "current_power",
             label="Current Power", unit=POWER_WATT,
-            devclass=DEVICE_CLASS_POWER, icon=SOLAR_ICON),
+            devclass=DEVICE_CLASS_POWER, icon=SOLAR_ICON, stateclass=STATE_CLASS_MEASUREMENT),
         APSystemsECUSensor(coordinator, ecu, "today_energy",
             label="Today Energy", unit=ENERGY_KILO_WATT_HOUR,
-            devclass=DEVICE_CLASS_ENERGY, icon=SOLAR_ICON),
+            devclass=DEVICE_CLASS_ENERGY, icon=SOLAR_ICON, stateclass=STATE_CLASS_TOTAL_INCREASING),
         APSystemsECUSensor(coordinator, ecu, "lifetime_energy",
             label="Lifetime Energy", unit=ENERGY_KILO_WATT_HOUR,
             devclass=DEVICE_CLASS_ENERGY, icon=SOLAR_ICON, stateclass=STATE_CLASS_TOTAL_INCREASING),

This way in the energy configuration you can use the sensor.ecu_today_energy and not get the error: "The following entities do not have the expected state class:" on the Energy configuration page.

These state classes are is a newish feature and were not around when the integration was first made, so yes these sensors probably do need to be updated with additional flags on them.  I'll do that in the next release, or feel free to submit a pull request for the change.
If you read the docs here for STATE_CLASS_TOTAL_INCREASING:  https://developers.home-assistant.io/blog/2021/08/16/state_class_total/ it will consider the meter reset whenever it goes down in value.  In the end it won't really matter if you pick the lifetime or the today as the energy panel looks at the difference between the last value and the current value to figure out the energy.  That's the point of the STATE_CLASS_TOTAL_INCREASING flag.
The current power sensor on the other hand is the total power being generated at the moment, so that number will fluctuate depending on the position of the sun, clouds, etc.  So this is not the correct value to be used in the energy panel.

This should be addressed in the recently released v1.1.2.  It will not allow for a 0 value in the sensor.ecu_lifetime_energy so we shouldn't see the  graphs go crazy.  ecu_today_energy is also available as to the energy panel if you prefer to use that sensor.


Seekig audio player bar show a little glitch

Description
When seeking the audio bar to a certain point, the progress goes back for a moment before returning the position where the user has dragged it to.
Recording
271061962-63d6e678-53f4-4a87-854a-a7f6e9ef1af3.webm

HI @rygelouv ,
I am interested to work on the exciting project. I am a android developer


Updated Google.Chrome to version 92.0.4515.159

PS C:\Users\Test> winget install -m "M:\Git\winget-pkgs\manifests\g\Google\Chrome\92.0.4515.159"
Found Google Chrome [Google.Chrome]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://dl.google.com/edgedl/chrome/install/GoogleChromeStandaloneEnterprise64.msi
  ██████████████████████████████  76.2 MB / 76.2 MB
Successfully verified installer hash
Starting package install...
Successfully installed

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

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

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

Microsoft Reviewers: Open in CodeFlow

@ImJoakim you may try adding 1 or 2 after the dl in download link.


chore: pin API dependency

Which problem is this PR solving?
see https://github.com/open-telemetry/opentelemetry-js/issues/2212#issuecomment-843802116
Short description of the changes
As long as API is not GA breaking changes are expected therefore API version should be pinned.

regarding lint fails see https://github.com/open-telemetry/opentelemetry-js/pull/2204
No idea yet why collector-exporter-grpc tests fail

once published to npm, a user installing core and API versions with:
npm install @opentelemetry/node @opentelemetry/api
will get incompatible versions by default as api latest tag in npm points to 0.18.1.
User will have to actively understand that he needs to install a specific version of api like this:
npm install @opentelemetry/node<EMAIL_ADDRESS>for the setup to work, which might be missed easily and create confusion IMO.

I agree that tags on NPM should be also synced somehow. But that's not directly related to this PR I guess.

I agree that tags on NPM should be also synced somehow. But that's not directly related to this PR I guess.

opened an issue in api repo:
https://github.com/open-telemetry/opentelemetry-js-api/issues/72

added a commit to workaround the lint problems. Happy to remove if here are better solutions.
But the question why collector-exporter-grpc tests fail remains.

We are releasing the old rc.0 as rc.2 to fix users who have depended on carat ranges. We will deprecate all 1.0.0-rc.x versions on npm. New release candidates will be released as 0.x.y versions so that they can follow semver.

ok, closed this one and the corresponding one in contrib: https://github.com/open-telemetry/opentelemetry-js-contrib/pull/491

https://github.com/open-telemetry/opentelemetry-js-api/issues/74


Add Io trait for puts and print capabilities on the interpreter

This trait is similar to the Warn trait, except it allows writing to
stdout.
This change got tied up with introducing prelude modules in the core,
backend, and artchoke crates. Imports got reorganized in
artichoke-backend (again) which is why there is a lot of churn in this
commit.

This PR supports GH-442.


Add aliases option for layout renderer

For consistency and backwardscompatiblity
e.g.

 [LayoutRenderer("activityid")] ->  [LayoutRenderer("activity-id", "activityid")]
 [LayoutRenderer("logger")] ->  [LayoutRenderer("logger", "loggername")]

Would we like to release this one with the next version?

It would be nice to target 4.6 for this :)


Show time of the day

Sometimes, I forget to note the time when I worked / what I did that day. I use git-standup to see what I did on that day, but I can't see the time.
Could you add the local time like this:
8cd361b 08:21 ENH: Added foo feature (13 days ago) <Martin Thoma>
a924f92 12:34 BUG: Fixed bar bug (13 days ago) <Martin Thoma>
e592ccf 17:59 MAINT: Update blub (13 days ago) <Martin Thoma>

As mentioned in #101, there are several option you can use.
I think "git standup -D default" should be good for your case, unless you wanted exactly like the above format.

Thanks @akshayreddy. @MartinThoma you can use -D to provide the date format you need; it will be passed to --date flag of the git log e.g.
git standup -D 'format:%H:%m'


Imap & Spatie/Ray causes Apache segmentation fault

Describe the bug
imap & spatie/ray causes Apache segmentation fault
PHP versions
8.0.7, 7.4.20, 7.3.28
To Reproduce
Install the imap extension, then add spatie/ray to a project and call the function ray('test');.
Expected behavior
Ray output is sent to the Ray app and normal HTML content is sent back to the browser.
Screenshots/Logs

*Additional context
I initially raised this as an issuee in the spatie/ray repository however I believe it to not be at fault; disabling imap restores all functionality again.
Are you willing to submit a PR?
If I can figure out how to fix it!

I could not reproduce the issue. (See attached screenshot).
Please provide apache logs related to the crash to spatie/ray maintainers.


No module named 'django_serverside_datatable.django_serverside_datatable'

I've installed django_serverside_datatable on my Django 3.1.5 / Python 3.7 project. Added to my 'INSTALLED_APPS' settings. Added to my views.py.
When I launch the makemigrations command I get this:
File "/home/hmsadm/virtualenv_fiddle/lib/python3.7/site-packages/django_serverside_datatable/views.py", line 3, in <module>
    from django_serverside_datatable.django_serverside_datatable import datatable
ModuleNotFoundError: No module named 'django_serverside_datatable.django_serverside_datatable'

This is solved by changing line 3 of .../site-packages/django_serverside_datatable/views.py from
from django_serverside_datatable.django_serverside_datatable import datatable
to
from django_serverside_datatable import datatable

This is solved by changing line 3 of .../site-packages/django_serverside_datatable/views.py from
from django_serverside_datatable.django_serverside_datatable import datatable
to
from django_serverside_datatable import datatable

Fixed by https://github.com/umesh-krishna/django_serverside_datatable/pull/4


Feat: As a customer, I want to get the stock notification for a product when it's out of stock, and I can manage my subscription

Introduce components, selectors, ngrx and occ-services for notification preference, my interest and stock notification.
Breaking Changes:
Add new states in user-state.ts.
Closed #2285, #2268 and #5123

In general, we are trying to:

avoid the duplicate state in the store
load only what's needed for performance reasons (because spartacus, in contrast to the old
accelerator, works on a client-side, so each data that is not needed is making the experience worse)

I would suggest trying to load (and put to the store) only product codes for product interests entries (currently we fetch and keep product data in the store) and get the product using product facade/service?
The products are quite a big chunk of our store, and it's the first one that we want to optimize and keep normalized (only once in the store).
Also, we try to avoid using fields=FULL and prefer to explicitly specify what's needed, because:

FULL from the frontend perspective is unknown, which makes some additional performance improvements impossible,
we basically have two sources of truth for fields definition
So if it is possible to substitute FULL with some explicit fields, would also be good.


How to reproduce UD dependency parsing result?

I can't reproduce dependency parsing metrics (UAS=95.2, LAS=93.7) mentioned in the bottom of this page http://docs.deeppavlov.ai/en/master/features/models/syntaxparser.html
I use following script with Universal Dependencies 2.3 and conll18_ud_eval.py.
import io
from deeppavlov import build_model, configs

model = build_model(configs.syntax.syntax_ru_syntagrus_bert, download=True)

sentences = []

for line in io.open(sys.argv[1], 'r', encoding='utf-8').readlines():
    if line.startswith('# text = '):
        sentences.append(line[8:])

for sent in sentences:
    for parse in model([sent]):
        parse = parse.replace('\t\'\'\t', '\t"\t').replace('\t``\t', '\t"\t')
        print(parse, end="\n")

Below is the result I get for ud-treebanks-v2.3/UD_Russian-SynTagRus/ru_syntagrus-ud-test.conllu input.
Metric     | Precision |    Recall |  F1 Score | AligndAcc
-----------+-----------+-----------+-----------+-----------
UAS        |     94.11 |     93.26 |     93.68 |     94.75
LAS        |     92.78 |     91.95 |     92.36 |     93.41

What am I doing wrong?

@victorbocharov Probably, you have a mistake in reading/writing part of your code. Check this:
from deeppavlov import build_model
from conll18_ud_eval import load_conllu_file, evaluate, load_conllu
import io

model = build_model("syntax_ru_syntagrus_bert")
predictions = model.batched_call(sents, batch_size=32)
total_output = "\n".join(predictions) + "\n"
corr_data = load_conllu_file(test_file)
pred_data = load_conllu(io.StringIO(total_output))
result = evaluate(corr_data, pred_data)
for metric in ["LAS", "UAS"]:
    print("{} {} {} {} {:.2f}".format(metric, result[metric].correct, result[metric].gold_total,
                                      result[metric].aligned_total, 100*result[metric].aligned_accuracy))

The output is
LAS<PHONE_NUMBER>29 117329 93.86
UAS<PHONE_NUMBER>29 117329 95.24

Thank you for you help. Should we consider these results as results "with gold segmentation"?
What value of batch_size works faster on CPU?

Yes, I trained and evaluated all the models with "gold tokenization", the tokenizer in our pipeline is just nltk.wordpunct, so it will make some errors in untrivial cases (e.g., hyphens).
I did not test the model on CPU, only on GPU.

👍


Remove apparmor/loader

Moved this code to test/images/apparmor-loader/ in main k/k repository
as we need this in e2e tests.
Please see https://github.com/kubernetes/kubernetes/pull/67030
Change-Id: Ib805e676b9f2ddfc8648a080cef7a2ce9cf243d1

/hold
until https://github.com/kubernetes/kubernetes/pull/67030 is merged

/lgtm
merged

/assign @eparis @lavalamp @foxish
for the the /approve

/approve

/hold cancel


Implement continuous integration

Implement continuous integration i.e. Travis CI on master branch.

Commit b8c64da4ca57a72da0d2d4e742ed7e84d12fa8d1 adds Travis CI


Enhance the command line view of the game

hmmm, i do have something in mind maybe some ASCII art would help with the general look of the game?

Let me see what I can come up with.
On Tue, Aug 15, 2023, 14:33 M.Talha Yousif @.***> wrote:

hmmm, i do have something in mind maybe some ASCII art would help with the
general look of the game?
—
Reply to this email directly, view it on GitHub
https://github.com/sumitjhaleriya/Command_line-Casino_Game/issues/1#issuecomment-1678625668,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS7BQRLJ5IPDW2CONPTJ543XVM3P7ANCNFSM6AAAAAA3OO5MKI
.
You are receiving this because you authored the thread.Message ID:
@.***>


[ALPHA] V2 Alpha Blog Post

Replaces #5328
skip change file check

Looks good. Some minor copyedits. please update


Cannot resolve symbol 'NetworkUtils' in DisplayUrl of Toy appp

I am not able to build the project because android studio is showing error in  the following line:
URL githubSearchUrl = NetworkUtils.buildUrl(githubQuery);
This line is in the MainActivity.java in the following link:
https://github.com/udacity/ud851-Exercises/tree/student/Lesson02-GitHub-Repo-Search/T02.03-Exercise-DisplayUrl

We don't actively monitor this issue list enough to guarantee timely help. If you are enrolled in the Nanodegree program, I encourage you to consult a mentor.
If you are enrolled in the free course, you can ask your question in the forums here: https://discussions.udacity.com/c/standalone-courses/developing-android-apps


Accept Dispute Payout - Data could not be saved. P2SH inner scriptPubKey returned false

Brief Description: When attempting to Accept Dispute Payout, it give the error: Data could not be saved. P2SH inner scriptPubKey returned false
Operating System (OS and version): Windows 8
OpenBazaar version (shown on About OpenBazaar page in menu): 1.0.6
Hardware:
Reproducible (Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce):
This is the first time I have gotten the error, but my moderator received the same error while testing an earlier dispute. He was able to resolve his error restarting OpenBazaar, but I have not after several attempts.
Steps to reproduce:

Dispute sale
Moderator makes ruling
Click Accept Dispute Payout.

Observed Behavior:
It won't release funds and there doesn't seem to be a way to back out of the dispute.
Expected Behavior:
Accept Dispute Payout and release funds.
Additional info (links, images, etc go here):

@cpacia any thoughts on what that error means?

I can confirm this with my own case I'm moderating.
I follow steps to close dispute and I get a confirmation message it has been closed, but the funds never are released. If I go to my page and then back to the case page and click on the dispute I just closed it shows as not closed.
This is an issue I'm facing with a current dispute I'm moderating that should be closed by now. It's not a dispute, the thing was brought to me because the buyer couldn't confirm that he received funds because OB wouldn't allow it. I've talked with both and the dispute is ready to close for 4 days.

I believe this has been fixed. If not, we should open an issue on the server repo.


Auto update version ?

Would be great to have auto update feature with notification to end user

Feature transformed to update notification since update is more on https://github.com/AlbanMontaigu/boot2docker-vagrant-extension/issues/7


5  containers running - is that normal ?

I see the  following containers running after I executed "bash scripts/bootsrap.sh".  Is that normal ?
$ sudo docker container ls
CONTAINER ID        IMAGE                                                    COMMAND             CREATED             STATUS              PORTS               NAMES
a3ffb62392d9        apolloauto/apollo:dev-x86_64-20180530_1312               "/bin/bash"         11 hours ago        Up 11 hours                             apollo_dev
5c7bbeec3f1f        apolloauto/apollo:yolo3d_volume-x86_64-latest            "/bin/sh"           11 hours ago        Up 11 hours                             apollo_yolo3d_volume
55bea3efd614        apolloauto/apollo:localization_volume-x86_64-latest      "/bin/sh"           11 hours ago        Up 11 hours                             apollo_localization_volume
f18d54e91ff9        apolloauto/apollo:map_volume-sunnyvale_loop-latest       "/bin/bash"         11 hours ago        Up 11 hours                             apollo_map_volume-sunnyvale_loop
d857e80c9d8c        apolloauto/apollo:map_volume-sunnyvale_big_loop-latest   "/bin/sh"           11 hours ago        Up 11 hours                             apollo_map_volume-sunnyvale_big_loop

Yes, we bring up HDMaps and some other large data as docker volumes.

I see , is this also  the recommended  way to play back recorded data ?

It is also a solution. If you are playing recorded data, you can use the device to mount it. The docker has already mounted the /dev directory and can use it directly.

Closing this issue as there has been no communication in a while. If you have additional questions, feel free to reopen this issue. Thanks!


no resizeing

if the dj-mediatools are active this plug-in does not work

in this case change the order of the plugins.
the "plg_cntools_imageresizer" should be used as first.


Placed the Custom Actions pre-requisites at the top of the document i…

…nstead of the middle. These pre-requisites are easily missed if developers are writing custom actions.
Hey, I just made a Pull Request!

Restructured the location of the "enable built in actions" which is easily missed when developers are overrding the actions array with their own actions.
This would be considered as a pre-requisite when making these changes ergo prep meaning before.
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[X] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Hey :wave:
Thanks for the contribution, but we need the commit dco signed.
You can find out more here; https://github.com/backstage/backstage/pull/7908/checks?check_run_id=4145371727

Thanks for your first contribution @anthonyikeda 🙌


d2l-status-indicator -- can we have a setting to not transform the text?

In Wave, we love the d2l-status-indicator -- but currently we are overriding text-transform: capitalize with CSS for things like '1 of 2 Approved' as well as French lang terms which are multiple words, which we don't want capitalized.
It would be cool -- not necessary, but cool -- if we could provide some bool property to the d2l-status-indicator that disables the text-transform: capitalize CSS without needing to override it or wrap our own component.
Maybe this goes against the principal of keeping statuses one word -- however sometimes single words in English become multiple words in other languages... and it would be nice to have some easier & consistent way to control the capitalization.

Thanks for the inquiry @Chebsi . Technically this would be very easy. The bigger question here is from a design perspective, should we? For that, I'll loop @geurts in. 😄

Just seeing this now, sorry -- I think it would be better to drop the text-transform altogether. To do that, I think we'd need to find existing lang terms used in status indicators to address any impact. It seems unlikely anyone would use all lower case, but we may find some cases where the lang terms were set to all uppercase (which we later tried to discourage due to readability and screen reader concerns).

Thanks @geurts and @dbatiste! On my end, for the nova repo, I'm going to create a simple wrapper we can use temporarily until the component is updated. Let me know if you need any more info from me or if I can help out somehow


Add webpage for IDE work

Deliberately not linked up for now. That'll come later, possibly after the website redesign.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Since it's not linked from anywhere else I just went ahead and merged it. Definitely needs to be integrated into the contributing section of the site at some point though.


Push identical image to all Docker registries

The current GitHub Actions workflow builds and pushes separate Docker images for each registry. This results in the images published to each registry having a different hash, despite having the same version tag.
This change modifies the Docker publishing job in the release workflow so that a single step builds and publishes the same Docker image to all Docker registries. For reproducability, the timestamp of the image is also set to the last commit timestamp.

I assume we should make a similar update in all the repositories that push to both?

I have made a similar change for review in hyperledger/fabric-chaincode-java#368.


Feature Request: Turbines

Since big-reactors seems to be dead (9 months since last update) and this mod seems to not really have any turbines in it, I suggest adding in turbines for more effective energy generation.
As far as I know that would be really close to real life scenarios as well.
What I'd consider adding a slightly more complex system than BR does, basically allowing different coolant liquids (water/steam,cryotheum etc.) and in addition to variable coil material also more options for the material of the blades. Stronger materials mean that it can spin faster and improve efficiency by a bit. The energy production should depend strongly on the coil material though.

I can't really say too much in detail yet, but I plan, after the particle accelerator, to really enhance the fission part of the mod - I want to add centrifuges and turbines as more efficient ways of getting U-235 and RF, respectively ;)

Haven't commented here for a while, but this is how I see things happening:
Currently there is a temporary system in place involving steam and denser forms of steam that needs to be decompressed.
After I've updated the mod to MC 1.10, I want to have a different type of fission reactor in the game. The RF-producing one (passively cooled) will, as ever, require fuel cells of solid fissile material to run.
I plan on having a steam-producing reactor which requires molten salts of fissile material as fuel (a molten salt reactor). These fuels will require more work to create (more intricate processing system, involving fluorides, centrifuging etc.), but the reactors will overall produce more power (perhaps roughly 75% more power).
The structure of the actively cooled, molten salt reactors will be similar to the passively-cooled ones, except for obvious differences such as ports for water/steam input/output and the passage of the molten salt.
I haven't quite figured out exactly how the steam turbine generator should look or function, but I have two options. Either I go for a BR or Mekanism style turbine, which is essentially a big multiblock with a big, in-world turbine at the centre, or I go for a GregTech or Railcraft style turbine, where a multiblock is built, and then a turbine is placed in a GUI. Personally, I'm leaning towards the latter, because it gives me much more freedom when it comes to the interior structure of the turbine multiblock, but I will set up a poll on the Minecraft Forum thread and see if there's a clear favourite :)


Char before inserted completion is deleted, if line is indented by tabs

When completing from the nvim-lsp source (using Scala Metals language server), one char before the inserted completion is deleted, e.g. the dot before a method or a parenthesis in front of the completed word.
After long config bisecting, I found that this curiously only happens, if the line is indented by tabs, not if it is indented by spaces.
Here is a recording of the behaviour (showing the difference between space and tab indents):
https://asciinema.org/a/RvlyJNxrJ9R8oQU1XT4kvfNmk
The full configuration used (https://gist.github.com/crater2150/256d81bf766144e4158176e632bb8ac8, mostly from Readme + Metals config):
call plug#begin(expand('<sfile>:p:h') . '/plugged')
Plug 'neovim/nvim-lspconfig'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/nvim-cmp'
Plug 'nvim-lua/plenary.nvim'
Plug 'scalameta/nvim-metals'

Plug 'hrsh7th/cmp-vsnip'
Plug 'hrsh7th/vim-vsnip'

call plug#end()

set completeopt=menu,menuone,noselect

lua <<EOF
  -- Setup nvim-cmp.
  local cmp = require'cmp'

  cmp.setup({
    snippet = {
      expand = function(args)
        vim.fn["vsnip#anonymous"](args.body)
      end,
    },
    mapping = {
      ['<C-d>'] = cmp.mapping.scroll_docs(-4),
      ['<C-f>'] = cmp.mapping.scroll_docs(4),
      ['<C-Space>'] = cmp.mapping.complete(),
      ['<C-e>'] = cmp.mapping.close(),
      ['<CR>'] = cmp.mapping.confirm({ select = true }),
    },
    sources = {
      { name = 'nvim_lsp' },
      { name = 'vsnip' },
      { name = 'buffer' },
    }
  })

  -- Setup lsp.
  metals_config = require("metals").bare_config
  metals_config.init_options.statusBarProvider = "on"
  metals_config.settings = { showImplicitArguments = true }
  metals_config.on_attach = on_attach
  metals_config.capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
EOF
augroup lsp
	au!
	au FileType scala,sbt lua require("metals").initialize_or_attach({})
augroup end

I'm not sure if this is specific to the metals language server, as I don't use any others currently. I may be able to try out something else tomorrow evening.
The small Scala example used in the recording can be found at https://github.com/crater2150/nvim-cmp-bug-demo

I don't met this problem with gopls.
The golang is always uses the Tab for indentation.

I found this issue on both tsserver and gopls. Though I doesn't seem to be consistent? Most of the time it happens when I type some characters and then confirm the first suggestion. I've attached a screencast to better explain it.
https://user-images.githubusercontent.com/51877647/139686298-4b83f9d8-a667-47ae-a02d-54a597b6a2d2.mp4
Minimal init.lua

@elianiva Thank you for your information. It's very helpful and I could reproduce.
In the first place, I feel that the native menu of nvim-cmp is not working properly.
I will fix it...

I'm sorry. The native menu just didn't work because the main branch was buggy a while ago.
I will re-test it.

Oh... after updating gopls, I'd reproduce it too.

@elianiva Thank you. I've fixed it by https://github.com/hrsh7th/nvim-cmp/commit/a881adb1d7da9946f3ba204c9426f78a7dc4af42
Hm... but I think the original issue report does not relate to this fix...

I don't met this problem with gopls.
The golang is always uses the Tab for indentation.

I am having this same issue with gopls as well.

@dolenam317 Could you provide the reproduction steps and minimal configuration?

I think mine might be a related issue. Typing in insert mode constantly prints Pattern not found, but only if native_menu is enabled. I can get it to reproduce with sumneko_lua, pyright, and rust_analyzer`.

@dolenam317 Could you provide the reproduction steps and minimal configuration?

Please see this.
You need to upload the minimal configuration and the reproduction steps.

https://github.com/hrsh7th/nvim-cmp/issues/352#issue-1025728784
I think the config can be more reduced.

It looks like the problem has gone away with the update to neovim 0.7


rive advanced canvas has missing and incorrect types for Vec2D

In order to use the code from rive-canvas that shows how to convert touch points into the coordinate system of the artboard, it is necessary to construct a 2d vector and also get the values from it.
Currently new rive.Vec2D in Typescript isn't possible since the type lacks a constructor that accepts x and y.
Also the return types of x and y are void.  Also seems strange that they are functions and not just properties like the other math types in Rive.
https://github.com/rive-app/rive-wasm/blob/master/js/src/rive_advanced.mjs.d.ts#L660
/**
 * Rive Vector class
 */
export declare class Vec2D {
  /**
   * Returns the x coordinate of the vector
   */
  x(): void;
  /**
   * Returns the y coordinate of the vector
   */
  y(): void;
}

I am reimplementing https://github.com/rive-app/rive-wasm/blob/master/js/src/utils/registerTouchInteractions.js#L18 in a Phaser friendly way.
Related: https://github.com/rive-app/rive-wasm/issues/262

Thanks for raising this @jrabek - we'll take a look at this and figure out what's going on. Also you're right..seems strange that it is methods for x and y. Also will take a look at changing that to properties and let you know if issues arise from that.

This should be fixed in 1.0.86. Just to be safe though, we'll still keep the x and y as functions on Vec2D but change them to properties in the next major bump of this runtime!

Closing for now, but happy to re-open if the new version is still an issue for you!


Readme issue

Hey there we are using this one for api in our projects, the issue is that whenever we generate the project. The generated readme does not contain how to add api , services, etc. but shows some boilerplate copying block. Maybe this is misconfigured or by any way, just wanted to share this one issue.
As new devs work on this, they have no idea how to to do things with this else running.

Can you elaborate, what kind of README being generated instead? If you can paste it here the excerpt.
I will fix it if it's related to the generator.

Hey , this one block
Getting Started
Clone the repo and make it yours:
git clone --depth 1 https://github.com/danielfsousa/express-rest-es2017-boilerplate
cd express-rest-es2017-boilerplate
rm -rf .git

Install dependencies:
yarn

Set environment variables:
cp .env.example .env

I have manually added this one from generator readme
Generate a new api:
yo astro:api

Generate a new middleware:
yo astro:middleware

Generate a new service:
yo astro:service

Generate a new utility:
yo astro:util

Generate a new boot task:
yo astro:boot

This way new devs can easily know how to do things , and thanks for responding.

I've simplified things on the README, also you don't need to copy .env.example manually, it's done automatically first time you generate new project.
Thanks

Hehe thanks, and I was saying I added the below lines, not the environment, keep maintaining...


require("codesnap.nvim").setup() didn't work

Hello, amazing plugin 😍, really missing a feature like that for Neovim, however I had issues running the Lua module
this didn't work for me using Lazy as plugin manager,
require("codesnap.nvim").setup({})

but this did
require("codesnap").setup({})

this might be a Lazy only behavior, so feel free to close this issue.

Hi! thx for use this plugin and report this issue, this seems like there is a mistake in the document, I'll fix it as soon as possible


Add taocpp/PEGTL

I dont't have a Mac though. Someone would have to generate the Xproj files...

Forget it, TAO who provides PEGTL also has a full JSON library here: https://github.com/taocpp/json. This is the one that should be tested.


[Request] Codeunit 12 "Gen. Jnl.-Post Line" PostFixedAsset

Dear ALAppExtensions team,
On behalf of 4PS I would like to request procedure 'PostFixedAsset' to be changed in Codeunit 12 "Gen. Jnl.-Post Line".
    //local procedure PostFixedAsset(GenJnlLine: Record "Gen. Journal Line") //old
    procedure PostFixedAsset(GenJnlLine: Record "Gen. Journal Line") //new
    var
        GLEntry: Record "G/L Entry";
        GLEntry2: Record "G/L Entry";
        TempFAGLPostBuf: Record "FA G/L Posting Buffer" temporary;
        FAGLPostBuf: Record "FA G/L Posting Buffer";
        VATPostingSetup: Record "VAT Posting Setup";
        FAJnlPostLine: Codeunit "FA Jnl.-Post Line";
        FAAutomaticEntry: Codeunit "FA Automatic Entry";
        ShortcutDim1Code: Code[20];
        ShortcutDim2Code: Code[20];
        Correction2: Boolean;
        NetDisposalNo: Integer;
        DimensionSetID: Integer;
        VATEntryGLEntryNo: Integer;
        IsHandled: Boolean;
    begin

We currently have all procedures PostSomething in this codeunit as local. Any specific reason why you need this one as global? I would prefer not doing that but find another solution for you case

Hi Alexander,
Thanks for your response.
The reason for this request is that we built functionality for hiring equipment (plant) that makes use of the Fixed Asset functionality of BC. We extended the Fixed Asset code by calling a procedure PostFaAcqOnOtherDeprBooks after calling PostFixedAsset. In the procedure PostFaAcqOnOtherDeprBooks we call the procedure PostFixedAsset (see below). When we move our code from codeunit 12 to an extension, it is impossible to call the procedure PostFixetAsset. This would mean that our customers would lose a lot of important functionality.
We noticed that the procedures that are called from PostFixedAsset are already global. They also use some of the global variables that are used in PostFixedAsset, like FADimAlreadyChecked, NextTransactionNo and NextEntryNo.
There are many events in procedure PostFixedAsset, which makes the procedure already a bit "global".
We kindly ask you to make this procedure global, because it is very important for our customers.
    local procedure PostGenJnlLine(var GenJnlLine: Record "Gen. Journal Line"; Balancing: Boolean)
    begin
        OnBeforePostGenJnlLine(GenJnlLine, Balancing);

        with GenJnlLine do
            case "Account Type" of
                "Account Type"::"G/L Account":
                    PostGLAcc(GenJnlLine, Balancing, GenJnlLine."Amount (LCY)");
                "Account Type"::Customer:
                    PostCust(GenJnlLine, Balancing);
                "Account Type"::Vendor:
                    PostVend(GenJnlLine, Balancing);
                "Account Type"::Employee:
                    PostEmployee(GenJnlLine);
                "Account Type"::"Bank Account":
                    PostBankAcc(GenJnlLine, Balancing);
                "Account Type"::"Fixed Asset":
                    //PostFixedAsset(GenJnlLine);  //**4PS.o
                    //**4PS.sn
                    begin
                        PostFixedAsset(GenJnlLine);
                        PostFaAcqOnOtherDeprBooks(GenJnlLine, FAAmount);
                    end;
                //**4PS.en
                "Account Type"::"IC Partner":
                    PostICPartner(GenJnlLine);
            end;

        OnAfterPostGenJnlLine(GenJnlLine, Balancing);
    end;

    local procedure PostFaAcqOnOtherDeprBooks(GenJnlLine: Record "Gen. Journal Line"; OrgFAAmount: Decimal)
    var
        SaveGenJnlLine: Record "Gen. Journal Line";
        GenJnlTempl: Record "Gen. Journal Template";
        FADeprBook: Record "FA Depreciation Book";
        FAPostGrp: Record "FA Posting Group";
        DeprBook: Record "Depreciation Book";
        TmpBalAcc: Record "Bank Account" temporary;
        GLEntry: Record "G/L Entry";
    begin
        //**4PS
        with GenJnlLine do begin
            if ("FA Posting Type" <> "FA Posting Type"::"Acquisition Cost") or
               ("Duplicate in Depreciation Book" <> '') or ("Use Duplication List")
            then
                exit;
            if "Journal Template Name" <> '' then begin
                if GenJnlTempl.Get("Journal Template Name") then
                    if GenJnlTempl.Type = GenJnlTempl.Type::Assets then  //* FA Fin. Journal
                        exit;
            end;

            FADeprBook.Reset;
            FADeprBook.SetRange("FA No.", "Account No.");
            FADeprBook.SetFilter("Depreciation Book Code", '<>%1', "Depreciation Book Code");
            if FADeprBook.FindSet then begin
                SaveGenJnlLine := GenJnlLine;
                repeat
                    if not DeprBook.Get(FADeprBook."Depreciation Book Code") then
                        DeprBook."G/L Integration - Acq. Cost" := false;
                    if DeprBook."G/L Integration - Acq. Cost" then begin
                        Validate("Depreciation Book Code", FADeprBook."Depreciation Book Code");
                        "Amount (LCY)" := OrgFAAmount;
                        "Gen. Posting Type" := "Gen. Posting Type"::" ";
                        "Bal. Account No." := '';
                        "VAT %" := 0;
                        "VAT Amount" := 0;
                        "VAT Amount (LCY)" := 0;
                        "VAT Bus. Posting Group" := '';
                        "VAT Prod. Posting Group" := '';
                        FAPostGrp.Get("Posting Group");
                        FAPostGrp.TestField("Bal. Acc. Acq. Extra Depr. Bks");
                        if not TmpBalAcc.Get(FAPostGrp."Bal. Acc. Acq. Extra Depr. Bks") then begin
                            TmpBalAcc."No." := FAPostGrp."Bal. Acc. Acq. Extra Depr. Bks";
                            TmpBalAcc.Amount := "Amount (LCY)";
                            TmpBalAcc.Insert;
                        end else begin
                            TmpBalAcc.Amount += "Amount (LCY)";
                            TmpBalAcc.Modify;
                        end;
                        PostFixedAsset(GenJnlLine);
                    end;
                until FADeprBook.Next = 0;
                if TmpBalAcc.FindSet then begin
                    repeat
                        "Account Type" := "Account Type"::"G/L Account";
                        "Account No." := TmpBalAcc."No.";
                        "Amount (LCY)" := -TmpBalAcc.Amount;
                        InitGLEntry(
                          GenJnlLine, GLEntry,
                          "Account No.", "Amount (LCY)", 0, true, "System-Created Entry");
                        InsertGLEntry(GenJnlLine, GLEntry, true);
                        TmpBalAcc.Delete;
                    until TmpBalAcc.Next = 0;
                end;
                GenJnlLine := SaveGenJnlLine;  //* Restore
            end;
        end;
    end;

Decided to add wrapper procedure to run PostFixedAsset externally, RunPostFixedAsset.

Hi Alexander, thank you very much! I think that this will solve our problem.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 51596.


[docs.libp2p.io] Getting started - Js tutorial is broken

Version: node version: v12.14.1
Platform: Ubuntu 19.10
Type: Question
Severity: Low
Description:
Following the Getting started tutorial on the official Libp2p website, I am stuck with this error when I run "node src/index.js" for the first time.
(node:14122) UnhandledPromiseRejectionWarning: TypeError: Expected String
at decodeUnsafe (/home/paris/DeFi/hello-libp2p/node_modules/base-x/src/index.js:63:45)
at Object.decode (/home/paris/DeFi/hello-libp2p/node_modules/base-x/src/index.js:110:18)
at Object.fromB58String (/home/paris/DeFi/hello-libp2p/node_modules/multihashes/src/index.js:68:27)
at Function.exports.createFromJSON (/home/paris/DeFi/hello-libp2p/node_modules/peer-id/src/index.js:265:17)
at Function.PeerInfo.create (/home/paris/DeFi/hello-libp2p/node_modules/peer-info/src/index.js:48:27)
at createPeer (/home/paris/DeFi/hello-libp2p/src/index.js:7:14)
at Object. (/home/paris/DeFi/hello-libp2p/src/index.js:41:1)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
(node:14122) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:14122) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

We are in the process of updating the libp2p examples on the libp2p docs site to match the current version of js-libp2p. In the interim I would recommend checking out the getting started guide in this repo, https://github.com/libp2p/js-libp2p/blob/master/doc/GETTING_STARTED.md.
Please let us know if you have any issues with the local guide, and we'll update here when the docs site has been fixed.
cc @vasco-santos

Hello @kawmaiparis
Thanks for reaching out! As @jacobheun mentioned we are currently working on some post release stuff, including the website. Meanwhile, look at this repo's gueting started guide.
FYI, I created a PR yesterday to add a notice to this issue on the website libp2p/docs#77 and I intend to update the tutorial content soon

Closing this as libp2p/docs#78 was merged! 🎉


⚠ Secret Website 2 has degraded performance

In 2da260f, Secret Website 2 ($SECRET_WEBSITE_2) experienced degraded performance:

HTTP code: 200
Response time: 13944 ms

Resolved: Secret Website 2 performance has improved in fce742a.


[WIP] Move identity into a separate area

I will not be merging this PR, but using the changes here to showcase what we need to do once we have a 2.1 templates branch/folder.
@SteveSandersonMS https://github.com/aspnet/templating/commit/2d7fa642b7808503949d1eb8faaebcf8875fa4dd is something that we might actually want to do.

@javiercn I'm not sure how useful 2d7fa642b7808503949d1eb8faaebcf8875fa4dd is, since we'll already have nightly builds of the template package corresponding to the nightly build of ASP.NET Core itself. Also (to support that) the tokens like $(TemplateAspNetCoreVersion) will be evaluated during the build process so they won't still be present post-build, so it doesn't look like this implementation would work, unless I'm misunderstanding your use case.
If this PR is not intended to be merged, could you close it when you're done with it?

@SteveSandersonMS 2d7fa64 is for being able to instantiate templates against whats currently on the dev feed and being able to work without having to build a nupkg for the templates. I was running into a lot of trouble iterating over the template changes and this makes it a lot easier. Maybe (probably) i'm doing something wrong and there might be an easier way to do this. I'll talk to you about this next time I see you.

@javiercn you aren't able to just run dotnet new against the feed?  dotnet new -i C:\GitHub\templating\template_feed
That's all I did in the past to test local changes

@HaoK Nope. You need to build so that the versions get replaced afaik and a .nupkg is built. That's why I want to have these settings so that you can just do something like dotnet new -i .\templating\src\Microsoft.DotNet.Web.ProjectTemplates.<>\content; dotnet new mvc -au Individual -acv 2.1.0-* -efcv 2.1.0-*
If you look at https://github.com/aspnet/templating/blob/dev/src/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/StarterWeb-CSharp/Company.WebApplication1.csproj#L31 the versions are replaced during build and a nupkg with fixed versions is created (the only way to create such nupkg I've found is through the command line build.cmd which does a full build and has to pass all the tests for the artifacts to get produced, which slows the process of iterating over the template). I want to avoid having to do that by just being able to point to the content of the template and get the packages from our dev feed. I don't know if there is a better/faster way of doing this, but I think both ways are complementary and this doesn't cause any issue as it's completely hidden for our customers. (None of these parameters show up on any UI) and as I said, it makes our lives way easier (unless there's a trick that I don't know)

Sounds like we just want the dev template versions to be 2.1.* instead of a fixed version to pickup the latest?

[Javier] the only way to create such nupkg I've found is through the command line build.cmd which does a full build and has to pass all the tests for the artifacts to get produced, which slows the process of iterating over the template

You don't have to go through the whole build.cmd process to get new template nupkgs locally. You can either:

Run dotnet pack at the repo root to rebuild all the template nupkgs. This takes 10-15 seconds.
Or, run dotnet pack <project> to rebuild a specific template nupkg. For example, dotnet pack src\Microsoft.DotNet.Web.ProjectTemplates.2.0. This completes in about 2 seconds.

Is that sufficient for your needs?

Closing this as another PR was already merged on the correct branch/version