Compiling TypeScript to WebAssembly

Compiling TypeScript to WebAssembly
WebAssembly lacks of application programming language, currently supported languages are mainly for system programming (C/C++/Rust). Some approaches embed a whole language runtime inside WebAssembly to support other languages (JS, python), but this is not friendly to footprint and performance.
On the other hand, TypeScript, as a statically-typed super set of JavaScript, can likely run faster on WebAssembly if we make use of the type information during compilation.
This issue is to track and discuss possible approaches to support compiling TypeScript to WebAssembly.
Motivation

Bring new programing language to WebAssembly to enhance the ecosystem

Basic ideas

Static compilation as much as possible
Support dynamic through a builtin runtime library
Leverage WebAssembly GC proposal

Expected benefits

Quick startup
Small module size
Friendly development experience to application developer

Use case

New programming language for IoT/FaaS/TEE
Accelerator for web-based applications

Dependent proposals

garbage collection (phase 3)

For object presentation and memory management

type import (phase 1)

For share type information between modules

stringref (phase 1)

For string encodings and interoperation between JavaScript and WebAssembly

component model (phase 1)

For module based distribution

exception handling (phase 3)

For supporting try-catch blocks in source code

Experimental implementation
https://github.com/bytecodealliance/wasm-micro-runtime/pull/2034
SIG
https://github.com/bytecodealliance/governance/pull/28/files

The source code of ts2wasm  compiler is under branch ts2wasm_experiment of WAMR:
https://github.com/bytecodealliance/wasm-micro-runtime/tree/ts2wasm_experiment

请问一下 当前 ts2wasm 项目编译生成的wasm模块，只能通过v8引擎运行吗？ 其他常用的wasm 运行时无法运行？这个是什么原因？是因为当前的wasm内部有什么特殊规范吗？

@Joneyao  ts2wasm rely on the WebAssembly GC proposal, we use latest version of binaryen to generate GC related opcodes, these opcodes only compatible to V8 version 11+, so currently we can only run the wasm module in these two approaches:

download latest V8 source code, and compile a d8 executable, see run_generated_module for more details
run in the browser (latest chrome is shipped with V8 version 11+), we will add some document on how to do this.

Note that the functionality of std libraries (like console.log) is under development, so currently the wasm module may lack of output capabilities, you can use chrome dev-tools to inspect the internal data (local/globals) inside the VM

Did you consider https://github.com/dudykr/stc as a possible base for typechecking? I don't know if it's possibly more mallable to the wasm case, but likely faster.

The source code of ts2wasm compiler is under branch ts2wasm_experiment of WAMR: https://github.com/bytecodealliance/wasm-micro-runtime/tree/ts2wasm_experiment

This branch seems to be removed or renamed. Where did it go?


Turning off the menu in some view controllers

I'm having unexpected results with the menu, though perhaps this has to do with me being new to coding than anything else. I expected to only have the menu appear in certain view controllers - those I made delegates of the menu. This would just be those view controllers actually listed in the menu, and not subsequent view controllers segued to. However, this does not seem to be the case as the menu is always accessible when swiping from the left edge of the screen.
Is there any way to turn off the menu in certain view controllers?

Hi @amjohnno ,
Set the view controller as a delegate of side menu in viewWillAppear function
self.sideMenuController()?.sideMenu?.delegate = self

and implement next function
func sideMenuShouldOpenSideMenu() -> Bool {
        return false
    }

Hi @evnaz. That worked perfectly. Thank you for your help. And for the menu!


Address spglib dict interface DeprecationWarnings

spglib.py:115: DeprecationWarning: dict interface (SpglibDataset['international']) is deprecated.Use attribute interface ({self.__class__.__name__}.{key}) instead
spglib.py:115: DeprecationWarning: dict interface (SpglibDataset['transformation_matrix']) is deprecated.Use attribute interface ({self.__class__.__name__}.{key}) instead
...

hope i didn't miss any. the amount of DeprecationWarnings i'm seeing locally went from 30 to 6 so i may have missed some but without a stacktrace, it's hard to trace them

This requires latest versions of spglib. So I have to think about it.

Why have you changed eigvecs -> eig_vecs?

forgot to revert

Then no problem.


$ go get -u gopkg.in/yaml.v2  returned error: The requested URL returned error: 502 package gopkg.in/yaml.v2: exit status 1

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.10.3
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
Darwin/amd64
What did you do?
run
$ go get -u gopkg.in/yaml.v2
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
success
What did you see instead?
cd /Users/{my.username}/work/go-workspace/src/gopkg.in/yaml.v2; git pull --ff-only
remote: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
fatal: unable to access 'https://gopkg.in/yaml.v2/': The requested URL returned error: 502
package gopkg.in/yaml.v2: exit status 1
it started happening today locally and on our CI builds

This is also affecting my CI builds. It also happened once yesterday with package golang.org/x/net/html/charset: unrecognized import path "golang.org/x/net/html/charset" (parse https://golang.org/x/net/html/charset?go-get=1: no go-import meta tags ()). Not sure if the two are related, that one was resolved almost immediately.


Sweep: Backend development

I need to develop a backend.
We need basic login user management, issue(task) registration, kanban modification, etc (authentication/authorization will be managed using JWT, Require email/password-based login for accounts and send mail via AWS SES to authenticate first-time signups and perform logic such as password changes.).
Python dependencies will use venv. (requirements.txt needs to be written)
Use alembic for future database migrations.
For other feature development, let Sweep think about and implement what features it needs on its own.

Checklist

[ ] backend/main.py

• Create a Flask application instance.
• Define routes for user management, task registration, and kanban modification.
• Add error handling for the application.

[ ] backend/models.py

• Define the User, Task, and Kanban models using SQLAlchemy.
• Define the relationships between these models.

[ ] backend/auth.py

• Implement the logic for JWT authentication and authorization.
• Implement the logic for email/password-based login.

[ ] backend/mail.py

• Implement the logic for sending emails via AWS SES.
• Implement the logic for authenticating first-time signups and performing actions such as password changes.

[ ] backend/requirements.txt

• List the Python dependencies for our application, including Flask, SQLAlchemy, PyJWT, and boto3.

Let the backend be developed via FastAPI.


Delete an account from the service

As a service provider
I need the ability to delete
So that the user can delete
Details and Assumptions
*Service uses IBM Developer Skills Network Cloud IDE with OpenShift

Acceptance Criteria
gherkin
Given that the account needs to be deleted
When the user needs it to be
Then the account can be deleted from the server

Copied!


Upgrade to Tailwind v3

Hi @alexdilley, do you have plans on upgrading the tailwind version to v3?

Also came up against this, so made a PR solving it:
https://github.com/alexdilley/rollup-plugin-tailwindcss/pull/4#issue-1826677156

I have been following this issue for a while, and there is a pull request that has not been merged yet. I am currently getting errors when trying to use Rollup with TailwindCSS because of this.


Dashboard - Undefined Color

When the number of elements included was higher than the number of colors defined then the panel-color was set as panel-undefined.

Thank you for great work


Experimental: Provide a non-null designator in GraphQL operations

https://github.com/graphql/graphql-spec/issues/867

This is implemented in the server.


Generator platform not match

Running CMake for IfcOpenShell.
CMake Error: Error: generator platform: Win32
Does not match the platform used previously: ARM64
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
An error occurred
How to deal with it? Thank you!

Please follow build instructions described in CppLogging build guide


Ideas for better name that avoids linguistic ableism

Congrats on a super neat project! I wish only that it had a better name.

Ableist language is any word or phrase that intentionally or inadvertently targets an individual with a disability... Examples of ableist language include “crazy,” “insane,” “lame,” “dumb,” “retarded,” “blind,” “deaf,” “idiot,” “imbecile,” “invalid (noun),” “maniac,” “nuts,” “psycho,” “spaz.”
Each of these words, when used flippantly, can be extremely insulting to individuals who find themselves with physical (“lame,” “invalid,” “dumb”) or mental (“crazy,” “retarded,” “psycho”) disabilities.

(via here)
Naming is a Hard Problem™ and I'm guilty of using this language too. I encourage you to consider a new name while this project is still new. Thanks!
Edit: From your own Code of Conduct:

Examples of behavior that contributes to creating a positive environment include:
Using welcoming and inclusive language
...
Showing empathy towards other community members

Naming is indeed hard, I took the name Insanity from the famous Quote that I cite in the readme header, when I considered using name KZCodeGen or similar then some German folks come to me and complain about what KZ means in Germany so it's hard finding something that works for everyone.
Maybe you have any ideas how we could name this different?

How does MetaSwift sound?

I think those are both excellent names, particularly the latter.

May I humbly suggest "Sorcery" or "SourceKitchen"? 😉

One chap mentioned "PreFlight": https://twitter.com/ambrstr/status/808078591732908032

just Meta (without Swift) actually sounds pretty good as well, especially when using it in context 'Meta is so meta that it generates its own code'

Maybe Check homebrew availability on such common words?

Meta works, but I actually really liked the name "Insanity". I saw a tweet about it and instantly clicked it.  It was bold, a bit crazy, and for me it described the project quite well. Especially that is was so "crazy" that it used itself to code-generate  boilerplate ;)
"This and that... for Dummies" seems to work, so you have to be that careful in selecting the name imho.

I did brew search and didn't see anything under:

meta
swiftception
sorcery
preflight

@LasseStorholt yeah, but a few different people raised the concern about the name, this is a good read http://www.autistichoya.com/p/ableist-words-and-terms-to-avoid.html
I'd rather rename this and make more people feel welcomed in the community so we can grow it together, rather than keep to old name and alienate or make people uncomfortable

In addition to the above, here are some ideas to make the first choices look better:

SwiftFactory
SwiftFlate - (inflate)
SwiftPress
SwiftDRY - (Don't Repeat Yourself)
SwiftHose - (Keep D.R.Y. With the Swift hose!), SwiftCascade

Why note SwiftWings ? 🙂

SwiftCeption
Metabolism (h/t @kaishin) : set of life-sustaining chemical transformations within the cells of living organisms

@krzysztofzablocki is there some good sounded Polish word related to the topic?

@artemstepanenko none that comes to mind, I'm liking Metamorph

I understand your concern @krzysztofzablocki, so here´s a suggestion that keeps some of the craziness of the original name. What about Swiftsanity ?

I'm not an expert on that matter as I'm not concerned personally, but wouldn't SwiftSanity have the same ableism problem as Insanity?

I recently discovered that there's a bird similar to swift, called swiftlet.
There's only one Swift repo called "swiftlet" and it has zero stars, so in my opinion it could be a great name for something meta for Swift like your project.

Here's my suggestion; I like 'Sorcery' but with a twist: Sourcery. Links to source and a great book.

I like Sourcery, Meta and Metamorph. Let's avoid any kind of ableist language or plays on ableist language. Sanity means "sound mental health." Is that the message we want to convey with SwiftSanity? I understand that some people here like the name Insanity but that's because it hasn't been used against you. There's privilege there and please recognize that. I'd love to use this project. Super cool tool but I won't until the name is changed and I imagine there's many who feel the same.

Also let's avoid adding "Swift" to the name too. I saw a blog post once that said to not reverence the language in the name unless there's multiple like "Sourcery-Swift" "Sourcery-Ruby" etc.

@istx25 Totally agree on all points

But my vote would be for Sourcery. I really like the name. I'd also like to rid the README of ableist language as well. Lot's of use cases of crazy and whatnot. Let's improve this project so everyone can enjoy it and be comfortable (or try our best).

Also, I had someone say something interesting to me.  It's a bit outlandish but it's true. A lot of talent in the tech industry has mental health issues and "but I like the name Insanity" only perpetuates ableism. We can use this project as an example for the future where a mistake was made (due to language barrier or whatever else) and we made the change for the better. It won't go unnoticed and people, like myself, will appreciate the effort to correct the mistake.
I'd love to even get more involved in this project if you need the help, to refactor the name throughout, maintain, etc.

@istx25 yeah the crazy wording was just playing on the name, we are going to remove it along with the rename, I literally didn't know what ableist means when I wrote this so this was educational and we should definitely try to avoid alienating anyone as that was never my intention

Totally fair! We (or at least I'm not) trying to attack you. I want this feedback to be as constructive as possible so we can rename and build on this great project. You've done a lot of great work and I would hate to see it tainted or not get the (positive) attention it deserves due to the name. I know there are a lot of differences between $language and English which often trips up people. Everything from ableist language to pronouns (like she/her, he/him, they/them) all work differently.

I just feel stupid for not knowing it, anyway we can correct this 👍
I like Metamorph and Sourcery the most, made a twitter poll so people can vote https://twitter.com/merowing_/status/808342488389980160

Metagen or Mutagen or something similar
Fom meta and generate and mutate

+1 @krzysztofzablocki being so open to feedback and input from the community :)

I like Sourcery the most, but there's also: http://getsourcery.com so… maybe that name is taken?
Meta is great, but I think Mutagen, Metamorph actually drifts away from the meaning of Meta-programming, and it implies turning your caterpillar into a butterfly. I think Metagen avoids those problems if you're looking for a longer name.

In my opinion, duplicate names are okay if they're completely different and that website seems to be completely different and unrelated to what this is. It's an open source project after all...

Swift was also tacken already, at least by the time it was releases, and even two times 😄

Sourcery is fine, I already reserved pod name but waiting for poll results

Loved the name ... :) Will miss it. I'm sure new one will be even better.

There's really nothing insane about needing this tool, it's simply helps developers deal with the reality of writing Swift projects. One naturally ends up having to write a lot of boilerplate to deal with the type system.
How about "Reality" instead?

And wow, calling him a tool wasn't a very nice.

 So you're correct. This project isn't severely mentally ill. It's really cool though! And I wasn't calling him a tool. I said people will perceive him as one and I don't want that. As I mentioned, I want this project to get the attention and use it deserves and when it's renamed, I'll probably use it and contribute back a lot.

Project has been renamed to Sourcery, 0.3.0 version is available under Sourcery podspec now, hope more people can contribute now ;)

I hope this isn't just adding extra noise, but I wanted to chime in and say I'm really pleased and impressed with how this whole issue was handled. Someone raised a thoughtful point, everyone was civil and kind, and change happened super promptly. I wish this was the norm rather than the exception, but excellent job nonetheless :).


skopeo: 1.11.0 -> 1.11.1

Diff: https://github.com/containers/skopeo/compare/v1.11.0...v1.11.1
Changelog: https://github.com/containers/skopeo/releases/tag/v1.11.1
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 216712 run on x86_64-linux 1

4 packages built:

haskellPackages.nvfetcher
nix-prefetch-docker
nvfetcher
skopeo


Remove debug message

I think this was while you were developing it and forgot to remove it :)?

Does indeed look that way ;)


Can't use v1 as the major version

Describe the bug
See https://github.com/LawnchairLauncher/lawnchair/actions/runs/3941872319.
Unable to resolve action `crowdin/github-action@v1`, unable to find version `v1`

To Reproduce
Steps to reproduce the behavior:

Apply uses: crowdin/github-action@v1 in GHA config.

Expected behavior
We can apply v1 as the major version to always use the latest 1.x.y like actions/checkout@v1.

Hello, does it work with 1.5.3 being specified?

Using<EMAIL_ADDRESS>is workable.

@Goooler thanks for your request. Currently, we are not releasing the major v1 tag but I already thought about that and planned to automate such a release process in the nearest future.

Seems you should tag your versions start with a v, see https://docs.github.com/en/actions/creating-actions/about-custom-actions#using-tags-for-release-management.

@Goooler yes, it's exactly what we a going to do, but we'd like to automate it with GH Actions. For example, like in this example - update-main-version.yml or by using the publish-action.

BTW, we are happy to accept contributions! 🙂
We'd like to prefer the actions/checkout's approach with some changes.
The desired workflow:

since we use Releases to create new versions, our new WF should be triggered on tag creation. So, when a new v1.x.x tag is pushed, the new workflow should run and force-push the v1 tag.

Also, the README.md and EXAMPLES.md samples should be updated.

@Goooler, I just released a new version of the Action and now it's possible to use the major v1 version
https://github.com/crowdin/github-action/releases/tag/v1.6.0

It works, thanks!


Update express/http to use generic instrumentation / avoid interpackage dependencies

@sledorze you had some comments for this


Added more customisation for Fastify skipList

So we can only skip specific requests (GET/POST/etc.) for specific routes.

@ozonep Could you please add tests for this?

@kobik Something appears to be wrong, CircleCI is not returning status, wonder if we need to tweak something on CircleCI panel side. Could you please either take a look or give me admin permissions for the repo so that I could take a look? Alternatively I could add GitHub actions CI instead, that one works with zero additional setup, as opposed to Travis and CircleCI.

Will add tests now.

@kobik Something appears to be wrong, CircleCI is not returning status, wonder if we need to tweak something on CircleCI panel side. Could you please either take a look or give me admin permissions for the repo so that I could take a look? Alternatively I could add GitHub actions CI instead, that one works with zero additional setup, as opposed to Travis and CircleCI.

will check that

@ozonep seems to be ok now

@ozonep Linting is failing, could you please fix the error?

Docs updated!

@kobik This well be a semver major. Are we ready to release that already, or you'd prefer to keep current major going for a while?

@kibertoad I haven't reviewed the changes, so I can't tell by myself. can't we make it somehow backwards compatible?

@kobik We could if you strongly prefer keeping it backwards-compatible, but that would add more conditional branching, make code more heavyweight and less performant, and would expose worse API to the end user, so I would vote against it.
It only affects fastify users and only those who use skiplist, though.

@kibertoad , so a major it is.
we need to add the breaking changes note in the changelog file and upgrade procedure from the previous version

@kibertoad i'd really like to this breaking change to be shipped with other breaking changes such as upgrading to ajv@8 in api-schema-build.


Show notification on typeahead geocoder no data

Looks good. +1
If I find myself in the unenviable position of introducing angular to someone, I think I'll have them read tests to learn about how the parts fit together.


DBeaver freezes due to a non-responding script tab

Description
When DBeaver freezes due to a non-responding script tab, it is impossible to close the specific tab
None of the below steps helped
1. Use Task Manager (Windows) or Activity Monitor (Mac)
First, ensure that DBeaver is not entirely unresponsive. If the entire application is frozen, you may need to force quit and restart it.
Windows:
Press Ctrl + Shift + Esc to open Task Manager.
Locate DBeaver in the list of running applications.
Right-click on DBeaver and select End Task.
Increase Memory Allocation
Sometimes, DBeaver freezes due to insufficient memory allocation. Increasing the memory available to DBeaver can help mitigate this.
Steps:
Locate the dbeaver.ini file in the DBeaver installation directory.
Open the dbeaver.ini file in a text editor.
Increase the values for the -Xms (initial heap size) and -Xmx (maximum heap size) parameters. For example:
-Xms1024m
-Xmx4096m
Save the file and restart DBeaver.
Update or Reinstall DBeaver
DBeaver Version
24.1.0
Operating System
Windows
Database and driver
PostgreSQL 14
Driver default settings . (SQLite JDBC driver) . Unable to confirm at this point since the Dbeaver is frozen
Steps to reproduce
Connect to the database.
One of the Script tab does not respond
Entire Dbeaver is frozen

Additional context
Connecting via TSH  (teleport)

i've turned off SSL and still get same behavior tried against linux install Version <IP_ADDRESS>406021658
Background Tasks shows "Loading SQL Source..." never finishes

I can run Show Table and it completes

Hello @ShaliChand, Could you please provide the log details,
https://dbeaver.com/docs/dbeaver/Log-files/#log-files

It's been a while since no update here. If the issue is still actual please let me know and provide additional information.


DISSOLVED OXYGEN (DO) + % unit = INVALID

Describe the bug
Currently, the WQX QC validation table considers % and % SATURATN as Invalid result units for the Dissolved Oxygen (DO) characteristic name. This is a placeholder to discuss whether we want to address this issue in autoclean and replace the characteristic name with Dissolved oxygen saturation before unit flagging, leave as is, or find another solution.
Additional note: % SATURATN is an invalid unit for Dissolved oxygen saturation as well. This combo might also be present in NWIS data.
Additional context
Add any other context about the problem here.
Reminders for TADA contributors addressing this issue
New features should include all of the following work:

[ ] Create the function/code.

[ ] Document all code using comments to describe what is does.

[ ] Create tests in tests folder.

[ ] Create help file using roxygen2 above code.

[ ] Create working examples in help file (via roxygen2).

[ ] Add to appropriate vignette (or create new one).

I like your idea of handling this in autoclean, before the flag functions would be run. I don't think there are a ton of other examples like this.
Alternatively, I remember creating a nonstandardized flag in the WQX validation table (in addition to valid/invalid). I think these ones should actually be marked as non-standardized, not invalid in the WQX validation table. Then I believe we only flag invalid combinations for removal, not non-standardized ones in the TADA flag functions, so these combos could then be handled in the TADA harmonization template?
Cristina A Mullin, PhD (she/her)
Water Data Integration Branch
Watershed Restoration, Assessment, and Protection Division
Office of Wetlands, Oceans and Watersheds
US EPA|Office of Water
<EMAIL_ADDRESS>From: Elise H. @.>
Sent: Thursday, August 3, 2023 9:18 AM
To: USEPA/TADA @.>
Cc: Subscribed @.***>
Subject: [USEPA/TADA] DISSOLVED OXYGEN (DO) + % unit = INVALID (Issue #318)
Describe the bug
Currently, the WQX QC validation table considers % and % SATURATN as Invalid result units for the Dissolved Oxygen (DO) characteristic name. This is a placeholder to discuss whether we want to address this issue in autoclean and replace the characteristic name with Dissolved oxygen saturation before unit flagging, leave as is, or find another solution.
Additional note: % SATURATN is an invalid unit for Dissolved oxygen saturation as well. This combo might also be present in NWIS data.
Additional context
Add any other context about the problem here.
Reminders for TADA contributors addressing this issue
New features should include all of the following work:

[ ] Create the function/code.
[ ] Document all code using comments to describe what is does.
[ ] Create tests in tests folder.
[ ] Create help file using roxygen2 above code.
[ ] Create working examples in help file (via roxygen2).
[ ] Add to appropriate vignette (or create new one).

Reply to this email directly, view it on GitHubhttps://github.com/USEPA/TADA/issues/318, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALGLGYCO7TZTH3IUO5WJADDXTOQHZANCNFSM6AAAAAA3CYQTCA.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>


Bug: no parameter named 'proxy' in plugin.pp

Module version: 0.15.1
Puppet version: v4.7.0
OS and version: Centos 7.2.1511

Bug description
elasticsearch::plugin { 'x-pack':
    ensure    => present,
    instances => 'es-01',
}

resulted in
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: no parameter named 'proxy' at
/etc/puppetlabs/code/environments/102389_elastic/modules/elasticsearch/manifests/plugin.pp:161 on Elasticsearch_plugin[x-pack] at
/etc/puppetlabs/code/environments/102389_elastic/modules/elasticsearch/manifests/plugin.pp:161

plugin.pp, lines 161-174
elasticsearch_plugin { $name:
  ensure      => $ensure,
  source      => $file_source,
  url         => $url,
  proxy       => $_proxy,
  plugin_dir  => $::elasticsearch::plugindir,
  plugin_path => $module_dir,
} ->
file { "${elasticsearch::plugindir}/${_module_dir}":
  ensure  => $_file_ensure,
  mode    => 'o+Xr',
  recurse => true,
  before  => $_file_before,
}

Please restart your puppet master or any other related puppet processes before attempting another run. This is a common problem when upgrading puppet modules; all existing types and providers must be cleanly loaded to ensure new and changed parameters are detected correctly.

It worked, thank you.


[BUG FIX] Death Knight DPS: Blood without Dancing Rune Weapon large inaccuracy

Describe the bug
When using the DK DPS sim and choosing blood dps, if you remove Dancing Rune Weapon talent for any reason (for example, to take the Unholy Blight talent instead), the damage for the spec drops drastically below expected loss/gain brought from Dancing Rune Weapon. I expect a drop by removing the talent of course, but the drop goes from 4,047 in full Phase 1 preset down to 1,237 which is clearly incorrect. I am unaware of how much lower Unholy Blight (with dark death glyph instead of DRW glyph) is, but that's why I was trying to sim for it and how I came across this result.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://wowsims.github.io/wotlk/deathknight/'
Click on 'Blood DPS' in the talent choices (Gear irrelevant, but I used full Phase 1 Blood)
Run a sim and note it is roughly 4k (4,047 in my current example)
Remove Dancing Rune Weapon talent and glyph (you can leave nothing in their place or select something else such as Unholy Blight and Dark Death glyph)
Run another sim with no other changes and note a drastic and unrealistic drop in damage down to roughly 1.2k (1,237 in my current example)
See error

Expected behavior
In my in-game testing, I am pulling less burst damage with the lack of DRW, but my constant throughput is still decent when talking about off-meta dps specs, and it results in a much more relaxed playstyle. I would assume a loss of maybe 5-15% dps, not nearly 70%.
Additional context
I looked at the results tab and it pretty much only auto attacks, tosses engineering bombs and casts Army of the Dead, nothing else at all. So, I went digging through the rotation logic for Blood in the DK sim folder and it seems as though the entire rotation is dependent on having taken DRW, so it's absence is likely causing a back-end logic issue with the sim, causing it's rotation to be completely non-functional, leaving it sitting on runes and runic power while it tries to activate a spell it doesn't possess.

I'll add support for this even trough it makes no sense.
People thinking that 1 talent point that gives them 600dps is a bad spent point is beyond me


Iterators are not suited for multi threaded applications

https://github.com/TealNerd/RadarJammer/blob/master/src/com/biggestnerd/radarjammer/VisibilityManager.java#L271 throwing a concurent modification exception.
possible reason is https://github.com/TealNerd/RadarJammer/blob/master/src/com/biggestnerd/radarjammer/VisibilityManager.java#L311
adding a uuid while the iterator is going through.  Blocking queue is maybe what you are looking for.
One solution http://stackoverflow.com/questions/5893096/how-to-make-a-concurrent-iterator-over-some-source
http://docs.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/BlockingQueue.html

the linkedhashset there used to be a queue but it wasnt bounded so theoretically could have gotten out of control if the server wasn't processing players as fast as they were moving. using a linkedhashset would preserve insertion order while having unique values

Don't use an iterator to loop then. Run through a normal for loop.

Or use a synchronized tag when looping.  You are still getting concurrent exceptions

yeah i dont actually remember why i used an iterator instead of a for loop


invalid precision

Hello @Empty2k12
Great crate, thank you. Recently I used this crate.
let write_query = Timestamp::Now.into_query("weather").add_field("humidity", 82);
let write_result = influxdb.query(&write_query).await;
println!("write_result : {:?}", write_result.expect("write into influxdb failed"));
The error message as follow:
DatabaseError { error: "influxdb error: \"{\"error\":\"invalid precision \\\"rfc3339\\\" (use n, u, ms, s, m or h)\"}\n\"" }
Any suggestion? or guidance?
Thank you

Hello @jayhuang75
rfc3339 is the most precise time precision. You can override it by setting
Timestamp::Hours(11).into_query("weather"), where 11 is the hours since the epoch. Timestamp also has other types for smaller precision such as second or nanosecond.
Which InfluxDB version are you using? I am not aware of a change that removes setting the rfc3339 precision.

@Empty2k12 , appreciated your quick response. I don't have the challenge with Timestamp::Hours(11).into_query("weather"), or with any other such as Seconds. The only challenge is the Now(), which leads to the error as above.
The version influxdb is the docker images influxdb:latest (1.8.0).
Thank you so much again for your help here. Appreciated.

Same here, with 1.8+, Timestramp::Now() causes the following error
DatabaseError { error: "influxdb error: \"{\"error\":\"invalid precision \\\"rfc3339\\\" (use n, u, ms, s, m or h)\"}\n\"" }


Guidance for implementing Carousel

Hi!
For me this library is great because it automatically "translates" rich responses to the format that individual platforms require.
I would like to extend this library to also support Carousels.
Am I correct in assuming that all I have to do is create a new type of RichResponse and change the getV1ResponseObject_ and getV2ResponseObject_ methods?
Or do you don't want to add features that only work for certain platforms and not all 14 supported ones?

Agree. There seems to be an example here but I couldn't make it work. https://github.com/dialogflow/dialogflow-fulfillment-nodejs/blob/master/samples/actions-on-google/functions/index.js
The fact that the carousel cards are in an object (that doesn't have ordered keys) instead of an array is pretty suspicious. The same thing goes for Lists, ended up going to the default actions on google package.

This library is best if you are interested in multiple integrations or aren't sure what integration you plan on using this library is the best place to start.
If you're using Node.js Dialogflow fulfillment and are only interested in the Actions on Google integration the actions-on-google npm module is the the best place to start and has first class support for Actions on Google construct like carousels.
Implementing cross-platforms carousels is currently out of scope for this library as each different supports platforms handles carousels very differently.
For how to implement carousels with this library via the actions-on-google npm module integration or custom payloads please see https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/36


tensorflow-stablehlo_reduce_window-compileFixed

bazel or cmake build tensorflow/lite issues brought by "tensorflow/lite/kernels/stablehlo_reduce_window.cc"
It can be fixed by reversing the order of the StridedReduce and ReduceWindowImpl functions. #64376

I think i have a CLM with github name : GuoHuanyu

Hi @GuoHuanyu Can you please sign CLA. Thank you!

Hi @GuoHuanyu Can you please sign CLA. Thank you!
I have a cla as blow,  i have no idea about how to edit  it to make check pass

The following contributors were found for this pull request:
✅  PR Opener: @GuoHuanyu
❌ Author: <Hua*****uo> it should be Huanyu Guo，and i have checked with git log.

Hi @GuoHuanyu Can you please make sure to use same GitHub username and email-id associated with it.

I tried your suggestion, but I'm still facing issues. Could you help me revert this pull request? Thank you for your assistance.

I tried your suggestion, but I'm still facing issues. Could you help me revert this pull request? Thank you for your assistance.

Hi @GuoHuanyu Can you please make sure to use same GitHub username and email-id associated with it.

I tried your suggestion, but I'm still facing issues. Could you help me revert this pull request? Thank you for your assistance.

Hi @GuoHuanyu Can you please make sure to use same GitHub username and email-id associated with it.

I tried your suggestion, but I'm still facing issues. Could you help me revert this pull request? Thank you for your assistance.

Hi @GuoHuanyu Sorry for the delay, please close this PR and create new one.  Thank you!


Hardware measurements on an  HMC5883L Digital Compass in a LEADIY-D3

Stratux version: 0.vb7+alpha to 18de.sh build

Stratux config:
SDR
[ ] single
[X] dual
GPS
[X ] yes
[ ] no
type: BU-353
AHRS
[X] yes
[ ] no
power source:
Anker E5
usb cable:
Anker cable

EFB app and version: (e.g., WingX Pro7 8.6.2)
N/A
EFB platform: (e.g., iOS 9.2)
N/A
EFB hardware: (e.g., iPad Mini 2)
N/A

Description of your issue:

First, after seeing a Stratus V2 play, I don't think that getting the digital compass to work on the Stratux is an issue. (No warning from Stratus to place the unit away from metal or to swing the compass before using.) Still, it bugs me because the digital compass is suppose to work, whether Stratux uses it or not.
So, I bought a LEADIY-D3, per https://www.reddit.com/r/stratux/comments/479wy0/ry835ai_ahrs_alternative_for_sale_2499/
(Note now that the website leadiy.com (all in Chinese) shows a -D3A now.)
It says it has the same chipset as the RY835ai.
It has (ostensibly) a Honeywell  HMC5883L on the board. (Ostensibly because it says L883 on the IC.)
Although I get a "Heading" indication in the Stratux UI AHRS page that tracks, that appears to be a (drifting) gyro output, that starts at 360 degrees when the Stratux first powers up, regardless of the orientation of the Stratux.
I got out my old 'scope. Now, my eyes are old, my hands are shaky, and these parts have gotten a lot smaller. (And my 'scope pin probe a lot bigger.) So someone should confirm my findings.
Data sheet from http://www51.honeywell.com/aero/common/documents/myaerospacecatalog-documents/Defense_Brochures-documents/HMC5883L_3-Axis_Digital_Compass_IC.pdf
(Updated for Data Sheet for the "L" version.)
Pin 1, SCL is not toggling. It stays high all the time. (The header pin on the board for SCL does pulse low.)
Pin 16, SDA is also high all the time.
Pin 2 and Pin 4 are connected by the PCB. The data sheet shows that Pin 4 is supposed to be No Connection.
~~Pin 14 is supposed to tie to Pin 2 in a single supply configuration. If it does, I can't see a pad. Looking at an enlargement of the same board without the L883 confirms that there is no connection on pin 14.
http://www.amazon.co.uk/LEADIY-D3C-MPU6050-Angular-Sensor-Acceleration/dp/B00WG9HUTM?tag=duc08-21~~
Some folks in the arduino forum have been fighting inconsistencies with data sheets and code.
http://forum.arduino.cc/index.php?topic=55159.0
They also say that the chip is susceptible to failure from reflow soldering.
If there are actual misconnections at the hardware level (on the PCB) , then it might be that no amount of code is going to make the chip with this board.
(Updated to remove reference to pin 15, DRDY. Not needed unless max throughput it desired.)
I'll leave it to Chris to close this "issue" out.

So now I'm wondering aloud if the Stratux waits for the Compass to self test and then if it switches the Compass from the default single to continuous mode?

OPERATIONAL EXAMPLES
The HMC5883L has a fairly quick stabilization time from no voltage to stable and ready for data retrieval. The nominal 56 milli-seconds with the factory default single measurement mode means that the six bytes of magnetic data registers (DXRA, DXRB, DZRA, DZRB, DYRA, and DYRB) are filled with a valid first measurement.
To change the measurement mode to continuous measurement mode, after the power-up time send the three bytes:
0x3C 0x02 0x00
This writes the 00 into the second register or mode register to switch from single to continuous measurement mode setting. With the data rate at the factory default of 15Hz updates, a 67 milli-second typical delay should be allowed by the I 2 C master before querying the HMC5883L data registers for new measurements. To clock out the new data, send:
0x3D, and clock out DXRA, DXRB, DZRA, DZRB, DYRA, and DYRB located in registers 3 through 8. The HMC5883L will automatically re-point back to register 3 for the next 0x3D query. All six data registers must be read properly before new data can be placed in any of these data registers.
Below is an example of a (power-on) initialization process for “continuous-measurement mode”:

Write CRA (00) – send 0x3C 0x00 0x70 (8-average, 15 Hz default, normal measurement)
Write CRB (01) – send 0x3C 0x01 0xA0 (Gain=5, or any other desired gain)
Write Mode (02) – send 0x3C 0x02 0x00 (Continuous-measurement mode)
Wait 6 ms or monitor status register or DRDY hardware interrupt pin
Loop
Send 0x3D 0x06 (Read all 6 bytes. If gain is changed then this data set is using previous gain)
Convert three 16-bit 2’s compliment hex values to decimal values and assign to X, Z, Y, respectively.
Send 0x3C 0x03 (point to first data register 03)
Wait about 67 ms (if 15 Hz rate) or monitor status register or DRDY hardware interrupt pin
End_loop

BTW, in additional to the fact that the compass doesn't detect North on start up, it does not deviate when I hold a strong magnet near the chip.

So, since the SCL input is always high to the Compass, I have to assume that it's wired to the MPU-6050's Auxiliary i2c bus.
I also assume that the Compass has to be switched to the Continuous Measurement Mode thru the MPU-6050's Aux Bus. (A one time event after 56 milliseconds after start up.)
On page 26 of the MPU-6050 datasheet they discuss using their Aux i2c bus for Magnetometers. They say this is good for sensor fusion in their on-chip DMP. (But since metal in the aircraft could be a problem, the Stratux might not want that fusion.)

7.11 Auxiliary I 2 C Serial Interface
The MPU-60X0 has an auxiliary I 2 C bus for communicating to an off-chip 3-Axis digital output magnetometer or other sensors. This bus has two operating modes:

I 2 C Master Mode: The MPU-60X0 acts as a master to any external sensors connected to the
auxiliary I 2 C bus
Pass-Through Mode: The MPU-60X0 directly connects the primary and auxiliary I 2 C buses together,
allowing the system processor to directly communicate with any external sensors.

Auxiliary I 2 C Bus Modes of Operation:

I 2 C Master Mode: Allows the MPU-60X0 to directly access the data registers of external digital
sensors, such as a magnetometer. In this mode, the MPU-60X0 directly obtains data from auxiliary
sensors, allowing the on-chip DMP to generate sensor fusion data without intervention from the
system applications processor.
For example, In I 2 C Master mode, the MPU-60X0 can be configured to perform burst reads,
returning the following data from a magnetometer:

X magnetometer data (2 bytes)

Y magnetometer data (2 bytes)

Z magnetometer data (2 bytes)
The I 2 C Master can be configured to read up to 24 bytes from up to 4 auxiliary sensors. A fifth sensor
can be configured to work single byte read/write mode.

Pass-Through Mode: Allows an external system processor to act as master and directly
communicate to the external sensors connected to the auxiliary I 2 C bus pins (AUX_DA and
AUX_CL). In this mode, the auxiliary I 2 C bus control logic (3 rd party sensor interface block) of the
MPU-60X0 is disabled, and the auxiliary I 2 C pins AUX_DA and AUX_CL (Pins 6 and 7) are
connected to the main I 2 C bus (Pins 23 and 24) through analog switches.
Pass-Through Mode is useful for configuring the external sensors, or for keeping the MPU-60X0 in a
low-power mode when only the external sensors are used.
In Pass-Through Mode the system processor can still access MPU-60X0 data through the I 2 C
interface

Pass Through mode sounds more like what Chris wants. But I can't tell if you HAVE to use analog switches (on the PCB) for AUX-DA and AUX-CL.
Even if you don't need analog switches, it appears from the traces on the LEADIY-D3 that it is wired for the Auxiliary Mode of the MPU-6050. (That is, the SCL pin from the Compass comes from the AUX-CL pin on the 6050.) So it seems that it would take a different PCB layout for Pass-Through Mode.
So if Stratux had to have Compass, and if there are no production boards wired for Pass-Through, then someone might have to come up with a break out board specifically for the Stratux.
I'm ready to close this now.

Boy, they don't make this easy.
Here's the separate Register Map document for the MPU-650 that tells how to send initialization data to the Compass via the Auxillary SCL & SDA. http://43zrtwysvxb2gf29r5o0athu.wpengine.netdna-cdn.com/wp-content/uploads/2015/02/MPU-6500-Register-Map2.pdf

It seems to me that someone must done all this already. Here's one with compass integration.
https://github.com/wesleymilan/Dual-MPU9150-DMP-Intel-Galileo-and-Edison-CPP

Also, FWIW, some code here:
http://elinux.org/Sparkfun:_HMC5883L_Magnetometer

Wow, another serendipitous coincidence.  My first embedded system was a
BeagleBone Black!  I got 4 of them for different projects while learning
this stuff.
This is relevant to the Pi because of one fantastic resource I found
that is applicable to both worlds, a book called "Exploring Beaglebone,"
by Prof. Derek Molloy.  It's available from Amazon and elsewhere.  I've
used it many, many times over the past year+ and it is extremely
helpful.  It's about 550 pages of pure gold.  I have needed/read
thousands of tech books over my years and this one tops them all and by
a huge margin.  The first 200 pages or so are about the basics of
Linux.  There is also a section, with examples, of basic electronics.
Then the fun starts.  He give the theory, then the practical, a whole
lot of practical, about using these little beasts.  While it focuses on
the BeagleBone Black, with just a few address and pin changes, it
applies almost 100% to the RPi2/3!  I can't say enough good about the
information in this work of Dr. Molloy's.  I have used my first one so
many times that the pages are falling out!!!  (Amazon, amazingly,
replaced it at no charge, when it should have been the publishers
responsibility, Wiley.)
It talks about interfacing with I2C, SPI, serial, using Eclipse and Qt,
making the RPi a web server, interfacing to it via ssh with or without
X, and so much more -- ALL with 'C/C++' code examples and a little bit
of Java and Python now and then.  Further, all code in the book is
backed up and kept current and corrected on the accompanying website.
He even answers simple and complex tech questions on that eb site!!!!!
I'm telling you, this guy is tireless.  He makes 45 minute web videos
about many topics having to do with computers and sensors, and so on.
Remember, though, that his code is aimed at teaching an audience, not
optimizing the source code.
The companion website is here: www.exploringbeaglebone.com, segregated
by chapter with chapter topic very evident.
Skypuppy
On 03/13/2016 08:33 PM, Ergonomicmike wrote:

Also, FWIW, some code here:
http://elinux.org/Sparkfun:_HMC5883L_Magnetometer
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/309#issuecomment-196098486.

I noticed that LithuanianAmerican no longer sells the LEADIY-D3. Last he emailed me, he was trying to talk to the Compass, without success. I noticed in the reddit that ppl are moving on to another chipset. So am closing this.


QuickCapture: Callback URL documentation bug

Checks

[x] I confirm I have restarted NotePlan and this problem still persists.
[x] I confirm I have reinstalled the Plugin and this problem still persists.
[x] Is this a repeatable problem?

System

Device OS: macOS 15.1.1
NotePlan Version: 3.15.1
Plugin Name & Version: "QuickCapture" v0.16.0

Describe the bug
There seems to be a documentation bug @ https://github.com/NotePlan/plugins/blob/main/jgclark.QuickCapture/README.md :

The documentation provides sample callback URLs with the pretty function names urlencoded, such as noteplan://x-callback-url/runPlugin?pluginID=jgclark.QuickCapture&command=quick%20add%20to%20journal%20today
However, this fails with a command not found error in the logs. Instead, Noteplan expects the actual js function names in the callback URL, e.g. appendTextToDailyJournal instead of quick%20add%20to%20journal%20today
The docs should be updated with the Javascript function names.

Plugin Console Log
AppDelegate: handleGetURLEvent called, first checking if its for Dropbox
none
AppDelegate: handleGetURLEvent called, picking the first url: noteplan://x-callback-url/runPlugin?pluginID=jgclark.QuickCapture&command=quick%20add%20to%20journal%20today&arg0=helloworld&arg1=&arg2=&arg3=. Is the handler nil = no (cache the url if needed)
UI+URLScheme: parse incoming x-callback-url
UI+URLScheme: do something with runPlugin
Running a plugin through x-callback (["arg2": "", "command": "quick add to journal today", "pluginID": "jgclark.QuickCapture", "arg1": "", "arg0": "helloworld", "arg3": ""]
Plugin 'dwertheimer.DateAutomations' is already downloaded with the same or higher version, don't add it from the core plugins again
Found plugin: 'jgclark.QuickCapture'.
Couldn't find the command in any plugin, check for typos
AppDelegate: handleGetURLEvent called, first checking if its for Dropbox
none
AppDelegate: handleGetURLEvent called, picking the first url: noteplan://x-callback-url/runPlugin?pluginID=jgclark.QuickCapture&command=appendTextToDailyJournal&arg0=helloworld&arg1=&arg2=&arg3=. Is the handler nil = no (cache the url if needed)
UI+URLScheme: parse incoming x-callback-url
UI+URLScheme: do something with runPlugin
Running a plugin through x-callback (["command": "appendTextToDailyJournal", "arg1": "", "arg2": "", "arg3": "", "pluginID": "jgclark.QuickCapture", "arg0": "helloworld"]
Plugin 'dwertheimer.DateAutomations' is already downloaded with the same or higher version, don't add it from the core plugins again
Found plugin: 'jgclark.QuickCapture'.
Found command 'quick add to today's journal'.
initFunc result: undefined
JSLog: Executing function 'appendTextToDailyJournal'
JSLog: 2024-12-15 16:20:23 | DEBUG | jgclark.QuickCapture v0.16.0 :: starting /qaj with arg0='helloworld'
JSLog: 2024-12-15 16:20:23 | DEBUG | jgclark.QuickCapture v0.16.0 :: Adding 'helloworld' to 2024-12-15	(📆 today) under matchedHeading 'Journal'
Register: 20241215.md, update: changed, source: local
commandFunc result: Optional([object Promise])
Plugin successfully executed via x-callback

@alexbartok Thx for reporting. You are correct, the docs are wrong. The command changed names awhile back but it looks like the docs were not updated to match.  The correct URL is:
noteplan://x-callback-url/runPlugin?pluginID=jgclark.QuickCapture&command=quick%20add%20to%20today's%20journal&arg0=TEXT_HERE

cc: @jgclark


New package: MultiAffine v0.1.0

Registering package: MultiAffine
Repository: https://github.com/olivierverdier/MultiAffine.jl
Created by: @olivierverdier
Version: v0.1.0
Commit: f7a218f0ce201aa283effceb643860214d0512c3
Reviewed by: @olivierverdier
Reference: https://github.com/olivierverdier/MultiAffine.jl/commit/f7a218f0ce201aa283effceb643860214d0512c3#commitcomment-145639939
Description: Implementation of the multi-affine group and its actions

Could you add a little bit of information to the README, including a link to the documentation?

I've added a link to the documentation and some more information about the package.

[noblock] Great, thanks! Make sure to add [noblock] to your comment


Where is libRNVectorIcons.a ?

I can't seem to find the libRNVectorIcons.a file in the project. Was it removed for some reason? I'm getting an "RNVectorIconsManager not available".
Thanks.

NM, it must be some virtual file or something. It shows up in the wizard thing when you add the library under build phases.

This took me close to half an hour to figure out, would it be possible to add instructions that are clearer for those who are new to React Native?
e.g - which Info.plist (where it is located), from where do I add libRNVectorIcons.a, and other specifics could help understanding

Here you are, it took me a while...

@ddcech did you solve the issue I followed the instrutions to the letter and i still get the error: RNVectorIconsManager not available, did you add library to your project and link with libRnVectorIcons.a

@jasan-s  I also encountered the same problem！  I added libRNVectorIcons.a. And then run just fine!
Let me toss for a long time

@jasan-s Sounds like you are hitting that same thing I am. Were you able to find out the issue? I've restarted from a clean branch three times and tried the different options in the instructions, but I'm still getting it. Something I'm missing here?

The iOS troubleshooting guide is quite vague and not appropriate for new users. Please add screenshots and more description.


Unable stream

I really love this useful project, I already add proxy host and it works perfectly. If I'm not mistaken understanding the stream feature, it can forward tcp/udp. However it fails when I try to forward my ftp or ssh session. Anyone knows how can I troubleshoot this? Any help would be greatly appreciated. Thank you

So you've probably set up a stream to forward, for example, port 21 to <IP_ADDRESS>:21
But you probably haven't opened up the Docker Container to accept connections on port 21. I know this isn't a widely documented feature, but the ports aren't a widely used feature either.
Modify your docker-compose.yml file to open the ports you want to stream onwards and see how you go

The scenario is I want to forward incoming port TCP 1010, to destination IP xx.xx.xx.xx port (SSH) TCP 2020. I tried 1010:1010, 1010:2020, 1-65535:1-65535, but still no luck.
Sorry if it looks silly, I hope I understand this right.

Hi I got this working now, I just forgot to restart the docker-compose, my bad.
Anyway, can I just open all ports in docker-compose.yml so I don't need to specify one by one, and let me decide which port to use in NPM dashboard?

I do not recommend opening all ports with 1-65535:1-65535 as this converts to the native docker command -p 1:1 -p 2:2 -p 3:3 ... and it slows a lot of stuff down as well as being impractical.
The better solution is to run NPM docker container in Host Network Mode. If you are running your db in a docker container too, that might also have to be in host network mode and when doing so, the hostname for the database would be <IP_ADDRESS>


fix(eslint-plugin-turbo) allow comments in turbo.json file

The eslint-plugin-turbo reads the workspace turbo.json file for the no-undeclared-env-vars rule. It used the built in javascript json parser to read the config file, which doesn't support comments.
This PR alteres this to use JSON5 to parse the turbo.json file.
Related to #2796

Closing because already fixed

Sorry, didn't mean to close

Thanks @jooshua-inglis, can you add tests?

Thanks @jooshua-inglis, can you add tests?

Sure thing


Add hyperlink for client repos in the introduction.

The issue tracker is ONLY used for bug report(feature request need to follow RIP process). Keep in mind, please check whether there is an existing same report before your raise a new one.
Alternately (especially if your communication is not a bug report), you can send mail to our mailing lists. We welcome any friendly suggestions, bug fixes, collaboration and other improvements.
Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as the following:
BUG REPORT

Please describe the issue you observed:

What did you do (The steps to reproduce)?

What did you expect to see?

What did you see instead?

Please tell us about your environment:

Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

Make it easier for users to find relevant documents
FEATURE REQUEST

Please describe the feature you are requesting.

Provide any additional detail on your proposed use case for this feature.

Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:

sub-task1-issue-number: sub-task1 description here,
sub-task2-issue-number: sub-task2 description here,
...

close due to #3338


(PDB-1450) Improved node expiration

This includes several commits related to improving our handling of deactivated nodes. It's based on PDB-1310, so until that gets merged, a per-commit review may be in order.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1149/

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1157/

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1156/

@pljenkinsro retest this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1162/

@mullr this needs a rebase BTW.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1186/

@pljenkinsro retest this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1187/

+1 aside from some minor comments

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1191/

@pljenkinsro retest this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1192/


Implement an optimization logger

I am putting this into the Opt4J thread as Opt is the base for all our projects, yet this issue is equally relevant for both OpenDSE and JReliability.
At the moment, we have a mixed approach of providing information throughout the exploration.  On the one hand, we provide a primitive logger for the exploration. On the other hand, we also output information through the sysout. Take the openDSE output as an example: There, we have the number of constraints, variables and units before and after the constraint preprocessing.
On the one hand, this information is much too detailed for the average user. Someone who is not familiar with SAT Decoding (probably the case for most users) can and should not have to understand the meaning of these numbers. On the other hand, this information is very useful (for example for me in order to compare two different encodings). So to sum it up: the information should be gathered yet not displayed by default.
My proposal is to create a Logger interface inside the Opt project that can be equipped with listeners to gather information throughout the exploration. This information should then be written in a file which is put into a predefined folder.
As I think that in a lot of cases, we will want to process this file automatically, I would propose a machine-readable format, preferably JSON. So the open questions in this issue are:

Do you agree on the general need for a logger?
Which format do we want (JSON, XML, Tsv)
Which information should we put into this file?
Where should we store the file?

In case that we agree on the general need for such a logger class, I will create a section in our Wiki. We can then take the discussion about the class structure, the format and the needed information directly to the Wiki.

Agree to the logger feature. Disagree to any manual implementation. Remove all sys.outs and replace with log4j. This is the default solution for logging in Java.

Then, additionally, create a nice Module to configure log4j.

Okay, I will have a look at log4j and make a prototype implementation that we can then discuss.

Suggestion: The new logger should also record the time required for the encoding (generating constraints, preprocessing, etc), since the contribution of this setup time to the total DSE time is quite significant for larger many-core examples (e.g. ≈20 minutes for E3S application automotive on a 24x24 NoC). As far as I have seen, this has not been considered yet and is also not yet included in the analysis of DSE run times.
If you agree and there already is a prototype for the new logger, I could try to integrate this.
Otherwise I will have a look at log4j and implementing a logger specifically for the setup time as well.


The type 'JObject' is defined in an assembly that is not referenced

I followed the instructions to use the sdk in unity (on opentezos), I import the Tezos SDK package and also the Newtonsoft package because I use a recent version of unity.
Then i have this error:  Assets\tezos-unity-sdk-main\Runtime\Scripts\BeaconSDK\BeaconConnectorDotNet.cs(150,56): error CS0012: The type 'JObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'Newtonsoft.Json.
Temporary workaround: https://github.com/jilleJr/Newtonsoft.Json-for-Unity/wiki/Install-official-via-UPM

Fixed in #34


Update param and return types for clone, cloneReadOnly

Description:
Please refer https://github.com/ballerina-platform/ballerina-spec/issues/531#issuecomment-635739590
The clone, and cloneReadOnly should be changed to
type Cloneable readonly|xml|Cloneable[]|map<Cloneable>|table<map<Cloneable>>;

@typeParam
type CloneableType Cloneable;

public function clone(CloneableType v) returns CloneableType = external;

public function cloneReadOnly(CloneableType v) returns CloneableType & readonly = external;

This depends on https://github.com/ballerina-platform/ballerina-lang/issues/23690

Cloneable type is added and clone is also updated. cloneReadOnly is not yet updated because this requires creating new intersection from TypeParamAnalyzer.
Since intersection with readonly creates a new type with effective types we cannot rely on bound types.
The discussion lead to the idea of we must use consistent types to create a new type using their bound types first. Then use this type and take the intersection with readonly.

Cloneable type is added and clone is also updated. cloneReadOnly is not yet updated because this requires creating new intersection from TypeParamAnalyzer.
Since intersection with readonly creates a new type with effective types we cannot rely on bound types.
The discussion lead to the idea of we must use consistent types to create a new type using their bound types first. Then use this type and take the intersection with readonly.

Reopening this since https://github.com/ballerina-platform/ballerina-lang/pull/27909 only temporarily changed the signature of cloneReadOnly to
public isolated function cloneReadOnly(CloneableType  v) returns CloneableType = external;

The return type needs to be changed to CloneableType & readonly.

Reopening this since https://github.com/ballerina-platform/ballerina-lang/pull/27909 only temporarily changed the signature of cloneReadOnly to
public isolated function cloneReadOnly(CloneableType  v) returns CloneableType = external;

The return type needs to be changed to CloneableType & readonly.


use searchguard's BackendRegistry userCache

searchguard's BackendRegistry cache User Info by AuthCredentials
Cache are defined as follows:
Cache<AuthCredentials, User> userCache;
Cache<AuthCredentials, User> authenticatedUserCacheTransport;

and the AuthCredentials's equals method as follows
@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        AuthCredentials other = (AuthCredentials) obj;
        if (internalPasswordHash == null || other.internalPasswordHash == null || !MessageDigest.isEqual(internalPasswordHash, other.internalPasswordHash))
            return false;
        if (username == null) {
            if (other.username != null)
                return false;
        } else if (!username.equals(other.username))
            return false;
        return true;
    }

The internalPasswordHash  is converted from password.If we want the cache to take effect, the password cannot be empty.so method extractCredentials in the  OpenShiftTokenAuthentication should return a AuthCredentials with a password.But we do not really have “the password”, i think use “openshift” as the password is a choice.
I build a patch with attachfile.
openshift-elasticsearch-plugin.txt

If we don't do this, the user will alaways miss cached.
[2019-04-11T06:49:03,223][DEBUG][c.f.s.a.BackendRegistry  ] User 'tanhl' is in cache? false (cache size: 2)
[2019-04-11T06:49:03,224][DEBUG][c.f.s.a.BackendRegistry  ] tanhl not cached, return from io.fabric8.elasticsearch.plugin.auth.OpenShiftTokenAuthentication backend directly

It is unlikely we can depend on SG caching as it  relies on usernames to represent users and permissions.  We do some trickery to perform logic with a request, defer to SG, and then additional logic after the request.  User's are represented as tokens in Openshift which must be 'converted' to a username before alllowing SG to evaluate a user.  We can only guarantee token maps to a given username if we do evaluation before SG and this is where we could insert a cache.

@jcantrill

The ONLY reason ACLs are synced everytime is because we removed caching because of inconsistent behavior reported by users when we did have caching.

Thank you for solving my problem.
But we still want to solve the problem of inconsistency.
I have a idea.Because synchronizing acl to elasticsearch takes a lot of time.On the elasticsearch's master node, start a timed task to synchronize all users' acls to elasticsearch. In this task, we need to deal with three things：

add new user’s ACL,ROLE map,project ect.
update old user’s ACL,role map,project ect.
delete no exist user.

So that  we do not need to sync ACL on every request.
Any Suggestions? Looking forward to your reply.Thank you.

But we still want to fix the synchronous ACL problem. Reduce time consumption.
I have a idea.Because synchronizing acl to elasticsearch takes a lot of time.On the elasticsearch's master node, start a timed task to synchronize all users' acls to elasticsearch. In this task, we need to deal with three things：

add new user’s ACL,ROLE map,project ect.
update old user’s ACL,role map,project ect.
delete no exist user.

So that we do not need to sync ACL on every request.
Any Suggestions? Looking forward to your reply.Thank you.

You would need to look at the SG logic to determine from where it evaluates its permissions; I don't recall off hand.  I believe it depends upon an in-memory representation of what is in store that is updated when it receives a callback notification.  I believe the only way to update it's in-memory reference is by storing and notifying.
SG relies upon the user that is in context to evaluate permissions.  If that user is not in its permissions then it will fail, which the dynamic nature by which we seed causes challenges.  The original cache implementation did not work on time; it checked cache, upon miss, grabbed the details and then synced the ACL.  I think this is still a viable solution but it would mean initial requests are still slow.  You may still have that issue with the timed sync.  Maybe the mitigation is to either extend the expiration period or only flush the cache when an update is needed.  Only update when the user info changes and you are past the expiration period.

@jcantrill
Thank you for your reply!
I looked at the SG logic.

A picture is worth a thousand words.
As is shown in the picture.After plugin sync ACL to ES, but before SG query ACL from ES. the timed task on ES Master (the plugin) may  delete expire ACL.There is a certain probability that this will happen. Is that right?

As is shown in the picture.After plugin sync ACL to ES, but before SG query ACL from ES. the timed task on ES Master (the plugin) may delete expire ACL.There is a certain probability that this will happen. Is that right?

Note this is where I mentioned we hook into the flow to process pre-SG and post-SG; I'm not sure your picture accurately reflects this logic but it's important to understand.  In regards to expiration, there is a possibility the ACL will expire but it depends on the timestamp for a specific role and mapping block.  I would not expect the permissions for a given user during a given request to expire while the request is in flight unless we do not additionally bump the expiration time to the next cycle; I don't recall exactly what is done.
[1] https://github.com/fabric8io/openshift-elasticsearch-plugin/blob/master/src/main/java/io/fabric8/elasticsearch/plugin/acl/DynamicACLFilter.java#L82

@Gallardot - there is a PR to reimplement caching from @jcantrill - https://github.com/fabric8io/openshift-elasticsearch-plugin/pull/179 - would you be able to review/test that PR to see if it solves your problem?

@richm OK, I will do it at this weekend.


SOLR-15111 Use JDK8 Base64 instead of own implementation

Original lucene-solr pull request: https://github.com/apache/lucene-solr/pull/2252 I removed the lucene part of it.
Description
JDK8 has a builtin Base64 encoder and decoder, there is no need to use own implementation for this.
Solution
Eliminate own implementation.
Tests
Unit tests
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

@janhoy Added the CHANGES.txt entry. I executed ./gradlew check as far as I know it executes the tests.


Shader Error

I'm having trouble with a shader that gives me this error:
Parse error: syntax error, unexpected TVAL_ID, expecting TOK_SETTEXTURE or '}'
I already tried re exporting but nothing work
here is the shader file: https://drive.google.com/file/d/1FKzsp07RScp1Me7XJw8matFDWiSkkfIR/view?usp=sharing

Unity Shader files are writen in Cg/HLSL language, which Unity then compiles into lots of platform variants. When about to render on screen, it chooses one the device supports.
Your posted shader is a compiled shader for d3d11. You CANT use it in Unity Editor.

Unity Shader files are writen in Cg/HLSL language, which Unity then compiles into lots of platform variants. When about to render on screen, it chooses one the device supports.
Your posted shader is a compiled shader for d3d11. You CANT use it in Unity Editor.

There is a way to decompile the shader to use in unity?

Unity Shader files are writen in Cg/HLSL language, which Unity then compiles into lots of platform variants. When about to render on screen, it chooses one the device supports.
Your posted shader is a compiled shader for d3d11. You CANT use it in Unity Editor.

There is a way to decompile the shader to use in unity?

Only by your hands, currently we don't have any software to decompile by "one-click".


Pin pandas version to 0.24.x

A temporary workaround for https://github.com/paris-saclay-cds/ramp-board/issues/259 by pinning pandas to 0.24.x
Starting with an empty commit to see if I can reproduce the issue in CI.

Closing as following discussion https://github.com/paris-saclay-cds/ramp-board/issues/259 probably better to fix this properly.


Optimize Distribution forms

What does this PR do and why?
This PR optimizes all Distribution forms, solving all points specified in section 2.1 and 3.1 of  "Optimize the app's use of reactive forms". Was intending to cover section 3.1 (editing payouts from project page) in another PR, but there was so much dependant code I just included it in this.

Prevents submitting 0% payout in individual payouts
Prevent submitting no address in individual payout
Prevent duplicate payout addresses in individual payouts
Prevent submitting >100% total payouts
Show edit-related text when editing an individual payout (this was working from Project->Edit payouts, but not from create project)

Screenshots or screen recordings

Acceptance checklist

[x] I have evaluted the Approval Guidelines for this PR.

nice! if you're working on this flow, there are a few more bugs I've noticed, and we could maybe make resolving percents from inputted $$ amounts better.

Sounds good @mejango. Let's arrange a chat next week

Awesome PR @johnnyd-eth, these improvements are important for sure.
I left a few minor comments here and there for you. Let me know what you think!

Thanks for your feedback @aeolianeth. I've addressed your suggestions:

used more specific types in all places you mentioned and others I could find
created helper file  (FormHelper) to put repeated code in a single place

@peripheralist @aeolianeth Do not merge this yet! Unfortunately, I've just noticed that my changes to the NumberSlider have caused the slider in the Reserved Tokens form to not update its corresponding input field properly. I couldn't find an obvious fix but will get onto it tomorrow.

Just resolved the issue I mentioned with other instances of the NumberSlider such as the reserved tokens form.

@johnnyd-eth this is solid all around!
two small suggestions to make errors a bit clearer. what do you think about:
"Percentages must add up to less than 100%" -> "Percentages must add up to 100% or less"
"Address already in use." -> "A payout for this address already exists"
It would be awesome to modify this PR to add the same functionality to reserved token distributions as well, since the pattern should be pretty identical. Though I'm fine with doing that as a separate PR
@mejango if you think some other changes would be relevant here could you drop a list for reference? i'm down to add in more here if @johnnyd-eth wants to, but also happy to land these changes so far and open a separate PR for anything else to keep things well scoped.

A payout for this address already exists

@peripheralist great ideas there, that wording makes much more sense.
As for the reserved token stuff, I see you've now reviewed the other PR where I added checks for reserved token receivers. Is this all you were thinking needs to be done there? I was considering adding a 0% check on the overall reserved token allocation, but I figured we might want to just let users press save with that unset. Added screenshot below for clarification.

And yes happy to work keep working on it if you, @mejango, or anyone else can think of more improvements.

@aeolianeth looks like your requested changes here are still open and blocking merge, was there something else in your comments that wasn't addressed?


View all tickets spanning all repositories

Originally reported on Google Code with ID 525
Currently there doesn't appear to be a method to view all tickets across all/multiple
repositories.  Can either view all of your tickets or go to a repo and view it's individual
tickets.

This would be very useful for those with many active projects that tickets could be
entered in on with no way to know unless told or manually checking that project's repo.

Reported by yazilliclick on 2014-11-04 13:29:40

+1 for implementing this. Crucial feature for me any my company.

We would consider donating for implementing this.

You should consider adding a humps Up reaction to the first post, then, as that can be used as a way to vote for a feature request, as issues can be sorted by it.


Ts report a wrong comparison when a variable may be changed async.

🔎 Search Terms
searched This comparison appears to be unintentional because the types ... have no overlap.ts(2367)
🕗 Version & Regression Information
ts: 5.3.2
💻 Code
  let acceptOrCancel: 'pending' | 'cancel' | 'pass' = 'pending';

  // I use antd Modal.
  Modal.confirm({
   ....
    onOk: () => {
      acceptOrCancel = 'pass';
    },
    onCancel: () => {
      acceptOrCancel = 'cancel';
    },
  });

  await waitForSomething({ func: () => acceptOrCancel !== 'pending' });

 // This comparison appears to be unintentional because the types '"pending"' and '"cancel"' have no overlap.ts(2367)
  if (acceptOrCancel === 'cancel') {
    return {
      status: false,
      msg: 'user reject sign',
    };
  }

🙁 Actual behavior
Modal.confirm will make a modal for user to ask if accept or not, It's async actually, but the function will return immediately. I have declare the type of the variable possible values and wait until the variable change, but Ts also report the error This comparison appears to be unintentional because the types '"pending"' and '"cancel"' have no overlap.ts(2367)
🙂 Expected behavior
Ts don't report the error.
Additional information about the issue
No response

Another duplicate of #9998.

@MartinJohns
So it's expected? Close the issue or not?

It's working as intended, yes. You can either close it yourself, or a TypeScript team member will mark this issue as duplicate and the bot will close it (or they close it directly).


Create StringRevRecursion.cpp #334

No description provided.

add issue number to pr heading

pull request merged, now close the issue :)
follow for more such repo to contribute
note- only 2 pr are accepted per day on a same repo


Esti MinIO GC test

Follow-on #4795 by adding MinIO testing to Esti.
Open questions include:

How to test on Spark 2.4.7 -- will need Hadoop >= 2.8 just to support
MinIO.
Can we test more than one fairly trivial Spark / lakeFS / MinIO configuration?

Decisions with @talSofer:

[ ] Start by testing Spark 3 / Hadoop 3.
[ ] Test Spark 3 / Hadoop 2 by using host-style addressing and giving
per-bucket names on Docker.
[ ] Decide whether to test Spark 2 / Hadoop 2 later.

Still needed to give first-class support to MinIO.


Sate channel not recreated after expiration

[2021-03-24 00:41:04.519] <0.1652.0> [info] [router_sc_worker:create_and_send_sc_open_txn:300] Opening state channel for router: "11awcuSbVURPkXX3FbKC7KF6bgEPRZqqPzv1FTEYABMLttUr13E", oui: 6, nonce: 180, id: <<164,127,239,250,26,175,168,94,126,73,54,53,22,234,88,58,85,161,241,135,217,80,104,219,167,51,88,68,218,168,71,59>>
[2021-03-24 00:41:09.063] <0.1927.4> [warning] [blockchain:can_add_block:768] block doesn't fit with our chain,
                                                block_height: 772685, head_block_height: 772682
[2021-03-24 00:41:34.553] <0.1652.0> [info] [router_sc_worker:create_and_send_sc_open_txn:300] Opening state channel for router: "11awcuSbVURPkXX3FbKC7KF6bgEPRZqqPzv1FTEYABMLttUr13E", oui: 6, nonce: 180, id: <<76,52,77,113,211,140,34,233,179,221,115,120,210,146,4,82,122,35,94,13,91,69,14,83,139,107,117,164,65,35,166,17>>

I've changed the following parameters:
ROUTER_SC_OPEN_DC_AMOUNT=100000
ROUTER_SC_EXPIRATION_INTERVAL=10000

it seems that to:
ROUTER_SC_OPEN_DC_AMOUNT=50000
ROUTER_SC_EXPIRATION_INTERVAL=5000

make it working correctly.
Is that normal ?
What are the max values for these two parameters ?

Block not fitting is fine, sometimes Hotspots will gossip few blocks and your Router might not be caught up just yet.
The state channel open will over commit the amount see here set, right now the over commit is set to 2. So if you set your ROUTER_SC_OPEN_DC_AMOUNT=50000 it will open one for 100000.
They are max and min values to  ROUTER_SC_EXPIRATION_INTERVAL see here. Min is currently 15 and max is 10080 (as rewards are tied to state channel close we set a limit of about 1 week).

Thank you for these precision,
when using ROUTER_SC_EXPIRATION_INTERVAL = 10000, as at init 2 SC are open and the second one is 2xROUTER_SC_EXPIRATION_INTERVAL; I assume the maximum possible value is 5040 here.
Am I wrong ? If I'm rihgt, it would be better to have the second SC using 1/2 of 2xROUTER_SC_EXPIRATION_INTERVAL, then each of the SC renewed will be up to 10080 as expected.
Correct me if I'm wrong.

You are right, as Router open 2 state channels the max is indeed 5040.
FYI we are running state channels of 120 blocks in all of our environments (dev, staging and prod).

@vihu thoughts on this ^


I am unable to run process-isolated WS2022 containers through Docker Desktop and Windows 11

Hi,
currently I met a problem when running WS2022 container under Windows 11 and process isolation mode.  Here is the error message:
PS C:\WINDOWS\system32> docker run --rm -it --isolation=process mcr.microsoft.com/windows/servercore:ltsc2022
docker: Error response from daemon:  encountered an error during hcs::System::CreateProcess: c:\windows\system32\cmd.exe: failure in a Windows system call: The remote procedure call failed. (0x6be).
If I change to another image:  mcr.microsoft.com/windows/server:ltsc2022 (instead of servercore), I got a different error message:
PS C:\WINDOWS\system32> docker run --rm -it --isolation=process mcr.microsoft.com/windows/server:ltsc2022
docker: Error response from daemon:  encountered an error during hcs::System::Start: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106).
All commands work fine under hyperv isolation mode.
I wonder whether I miss some configuration steps or there is some compatibility issue with process isolation mode when running under Windows 11.
Thank you very much!

Hi, thank you for bringing this to our attention. Can I confirm if you are using docker desktop? If so, can you make sure you've switched to Windows Containers? (It should say "Switch to Linux Containers" if you have).

Thank you for your response. There is no choice of "Switch to Windows Containers" in the menu of docker desktop. I manually switch to Windows containers by running the following command:
“C:\Program Files\Docker\Docker\DockerCli.exe” -SwitchDaemon

Alright, could you paste the output of running docker info?

Here is the output of docker info:
Client:
Version:    27.0.3
Context:    desktop-windows
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version:  v0.15.1-desktop.1
Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
compose: Docker Compose (Docker Inc.)
Version:  v2.28.1-desktop.1
Path:     C:\Program Files\Docker\cli-plugins\docker-compose.exe
debug: Get a shell into any image or container (Docker Inc.)
Version:  0.0.32
Path:     C:\Program Files\Docker\cli-plugins\docker-debug.exe
desktop: Docker Desktop commands (Alpha) (Docker Inc.)
Version:  v0.0.14
Path:     C:\Program Files\Docker\cli-plugins\docker-desktop.exe
dev: Docker Dev Environments (Docker Inc.)
Version:  v0.1.2
Path:     C:\Program Files\Docker\cli-plugins\docker-dev.exe
extension: Manages Docker extensions (Docker Inc.)
Version:  v0.2.25
Path:     C:\Program Files\Docker\cli-plugins\docker-extension.exe
feedback: Provide feedback, right in your terminal! (Docker Inc.)
Version:  v1.0.5
Path:     C:\Program Files\Docker\cli-plugins\docker-feedback.exe
init: Creates Docker-related starter files for your project (Docker Inc.)
Version:  v1.3.0
Path:     C:\Program Files\Docker\cli-plugins\docker-init.exe
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version:  0.6.0
Path:     C:\Program Files\Docker\cli-plugins\docker-sbom.exe
scout: Docker Scout (Docker Inc.)
Version:  v1.10.0
Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe
Server:
Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 141
Server Version: 27.0.3
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: ics internal l2bridge l2tunnel nat null overlay private transparent
Log: awslogs etwlogs fluentd gcplogs gelf json-file local splunk syslog
Swarm: inactive
Default Isolation: hyperv
Kernel Version: 10.0 22631 (22621.1.amd64fre.ni_release.220506-1250)
Operating System: Microsoft Windows Version 23H2 (OS Build 22631.4037)
OSType: windows
Architecture: x86_64
CPUs: 14
Total Memory: 31.46GiB
Name: TestMachine3
ID:
Docker Root Dir: C:\ProgramData\Docker
Debug Mode: false
Labels:
com.docker.desktop.address=npipe://\.\pipe\docker_cli
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: false
Product License: Community Engine

Hi, just jumping in here quickly. It looks like @sabinamiezah-msft couldn't repro your error so we'll need to get some more info. Would you mind collecting some Docker Events and HCS Logs?
Docker Events
docker events

HCS Logs
Get-WinEvent -ProviderName "Microsoft-Windows-Hyper-V-Compute"

We may need different events/logs later if these don't expose what's going wrong. Thanks!

Hi, just getting back to you on your issue. Are you still facing the failure to create a servercore/fullserver container? Additionally, can we try to get some more info using the following commands:
'docker events'
'Get-WinEvent -ProviderName "Microsoft-Windows-Hyper-V-Compute" '

Due to unresponsiveness, I'll be closing this discussion now.


Add sprint report 44

Co-authored-by: Björn Geuken<EMAIL_ADDRESS>Co-authored-by: Dany Marcoux<EMAIL_ADDRESS>Co-authored-by: David Kang<EMAIL_ADDRESS>Co-authored-by: Eduardo Navarro<EMAIL_ADDRESS>Co-authored-by: Henne Vogelsang<EMAIL_ADDRESS>Co-authored-by: Moisés Déniz Alemán<EMAIL_ADDRESS>Co-authored-by: Saray Cabrera Padrón<EMAIL_ADDRESS>Co-authored-by: Victor Pereira<EMAIL_ADDRESS>

Deploy preview for openbuildservice ready!
Built with commit 1eb36654c8fd2e3df2d453a48cbd9c658d23edfc
https://deploy-preview-191--openbuildservice.netlify.com

I fixed my broken link, some typos/capitalization and sentences with wrong structures.

thanks @dmarcoux

Nitpick: Don't forget to change the name of the file to be the same as the date when the blog entry will be published.

updated

Nitpick: a reason of why imgur was introduced for images would be appreciated.

That was already done in the last sprint report. I find it neat!


Cannot Login

Extension version:v0.18.1
VSCode Version:1.48.0-Insiders
OS:Windows10

Steps to Reproduce:
Here is my login video:
https://s31.aconvert.com/convert/p3r68-cdx67/7lplv-cawq5.gif
I tried two methods,but both of them didn't work.How can I login?

@yltx I'm not able to open the gif, can you please describe what you tried and what happened, or upload the gif to github?

I tried login by chrome and token,but both failed.

https://github.com/yltx/a/blob/master/toexv-ulp31.gif

ok.Now it works.Thank you.


NewAddress generates wrong address compared to iota.lib.js

Hi,
Either I am doing something wrong or the libray is generating wrong addresses when calling giota.NewAddress(seed_trytes, 0, 2). Below is the output when comparing it with the iota.lib.js based electron light wallet.
trytesFrom:="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
trytes2,err:=giota.ToTrytes(trytesFrom)
adr,err:=giota.NewAddress(trytes2, 0, 2) //without checksum.

//ADDR:  SCRFLYEFBSRTSGYGWQNRUNVBXHDTIWJVGTHOFRTDLYNOQMHMJPVPNQCNQDFSVXNPYCLDCEJEWJVCFBVKS

iota.api.getNewAddress('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', {index: 0, total: 1, security:2}, function (error, addy) { if(error) { console.log(error); } else { console.log(addy); }});
//ADDR:  XUERGHWTYRTFUYKFKXURKHMFEVLOIFTTCNTXOGLDPCZ9CJLKHROOPGNAQYFJEPGK9OKUQROUECBAVNXRX

The address generated by the light wallet looks good (as it has a transaction history)
Please make sure people are not losing funds because of this by adding some unittests to check for address gen inconsistencies.

Hello, as stated in the first line of the README.md: Please note that this repo has not yet been updated to use Kerl.
i.e. it still generates addresses using the old hashing algorithm.

Excellent, thank you @knarz. Seems like I've missed that note. Would it make sense to make it a more prominent (e.g. bold and red) until kerl is merged?
Anyway, thanks for the work you put into this project! 👍


tfds plant_leaves downloads failing

Click to expand!
Issue Type
Bug
Source
source
Tensorflow Version
2.10.0
Custom Code
No
OS Platform and Distribution
macOS Monterey version 12.6
Mobile device
n/a
Python version
3.10
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
n/a
GPU model and memory
n/a
Current Behaviour?
I am getting timeouts when trying to download the plant_leaves dataset on December 4th, 2022.
Standalone code to reproduce the issue
import tensorflow_datasets as tfds

dataset = tfds.load(name="plant_leaves", split="train", as_supervised=True)

Relevant log output
File "/path/to/lib/python3.10/site-packages/tensorflow_datasets/core/download/downloader.py", line 306, in _assert_status
    raise DownloadError('Failed to get url {}. HTTP code: {}.'.format(
tensorflow_datasets.core.download.downloader.DownloadError: Failed to get url https://data.mendeley.com/v1/datasets/hb74ynkjcn/1/files/7f977a2c-aa75-4610-a6f6-84c8738d8c79/0001_0001.JPG. HTTP code: 404.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/path/to/lib/python3.10/site-packages/tensorflow_datasets/core/logging/__init__.py", line 250, in decorator
    return function(*args, **kwargs)
  File "/path/to/lib/python3.10/site-packages/tensorflow_datasets/core/load.py", line 575, in load
    dbuilder.download_and_prepare(**download_and_prepare_kwargs)
  File "/path/to/lib/python3.10/site-packages/tensorflow_datasets/core/dataset_builder.py", line 523, in download_and_prepare
    self._download_and_prepare(
  File "/path/to/lib/python3.10/site-packages/tensorflow_datasets/core/dataset_builder.py", line 1244, in _download_and_prepare
    split_generators = self._split_generators(  # pylint: disable=unexpected-keyword-arg
  File "/path/to/lib/python3.10/site-packages/tensorflow_datasets/image_classification/plant_leaves.py", line 123, in _split_generators
    raise DownloadRetryLimitReachedError(
tensorflow_datasets.image_classification.plant_leaves.DownloadRetryLimitReachedError: Retry limit reached. Try downloading the dataset again.

I just realized that perhaps I should have opened this issue in tensorflow/datasets.
Let me know if you would like me to close and re-open there.

For what it's worth, looks like plantae_k dataset is also not download-able right now.  Very similar stack trace:
tensorflow_datasets.core.download.downloader.DownloadError: Failed to get url https://data.mendeley.com/v1/datasets/t6j2h22jpx/1/files/b48040b2-a92e-4a08-b427-edb148782f5d/apple_d001.JPG. HTTP code: 404.

Additionally Mendeley has newer versions:

plant_leaves: version 5
plantae_k: version 2

Hi, @jamesbraza
Apologize for the delay and I was able to replicate the issue on Google Colab and on MacOS also but I'm also getting the same error message DownloadError( tensorflow_datasets.core.download.downloader.DownloadError: Failed to get url https://data.mendeley.com/v1/datasets/hb74ynkjcn/1/files/7f977a2c-aa75-4610-a6f6-84c8738d8c79/0001_0001.JPG. HTTP code: 404.  It seems like some images url or url iteself for images are not found because we are getting HTTP code: 404. so for your reference I have added gist-file and also MacOS screenshot below
I have also tried with tfds.core.DatasetBuilder() approach to download as mentioned below in the code snippet but still getting the same error but I'm able to see it's creating some images folders with tfrecord files
It seems like this issue with plant_leaves dataset because I have tried with mnist dataset and it's working fine, for your reference here is gist-file so could you please post this issue in this repo for faster resolution. Thank you!
plant_leaves_builder = tfds.builder("plant_leaves", data_dir='./')
plant_leaves_builder.download_and_prepare()
datasets = plant_leaves_builder.as_dataset()

train_dataset, test_dataset = datasets["train"], datasets["test"]
assert isinstance(train_dataset, tf.data.Dataset)

# And then the rest of your input pipeline
train_dataset = train_dataset.repeat().shuffle(1024).batch(128)
train_dataset = train_dataset.prefetch(2)
features = tf.compat.v1.data.make_one_shot_iterator(train_dataset).get_next()
image, label = features['image'], features['label']

@gaikwadrahul8 thank you for confirming!
I have made a duplicate issue here: https://github.com/tensorflow/datasets/issues/4744.

Hi, @jamesbraza
Thank you for posting this issue in this repo and this issue will be taken care by that team so I'm closing the issue since it is being tracked in tensorflow/datasets repo and if you need any further help please post your comments or re-open this issue. Thank you!


[B] 1st viz: BE optimize query by e.g. caching

@seinig this can also become part of the [B] milestone than [1st viz], what do you think?

Nothing required to be done here.


switched to tachyons for CSS and removed basscss

Connected to rangle/rangle-starter#203

Getting some e2e test failures - can you take a look?

@SethDavenport fixed


Is the agent still working ?

I can't get the program to work properly. I don't even get error messages or any text. Even when replacing the only quoted "rsync" in the program by "echo", there's nothing happening.
If it is still working, it lacks documentation.
Some things that would be better if pointed out:

lfsconfig has to be changed in the README . the commands in README add configuration in .git/config.

By the way if use @nathasm fork (because it's the one packaged), but I write here because he/she doesn't have an issue section.

I don't use it anymore.

Good to know. Can you put a warning on top of the README to notify that ? Thanks !


Add generic systems example

Objective
My attempt at fixing #2142. My very first attempt at contributing to Bevy so more than open to any feedback.
I borrowed heavily from the Bevy Cheatbook page.
Solution
Fairly straightforward example using a clean up system to delete entities that are coupled with app state after exiting that state.

there was a first attempt at a generic system example in #2191

Ah I see, I will leave it to that thread and pick up another issue. Thanks!

Here's some explanatory text for the start of the example:
/// Generic types allow us to reuse logic across many related systems,
/// allowing us to specialize our function's behavior based on which type (or types) are passed in.
///
/// This is commonly useful for working on related components or resources,
/// where we want to have unique types for querying purposes but want them all to work the same way.
/// This is particularly powerful when combined with user-defined traits to add more functionality to these related types.
/// Remember to insert a specialized copy of the system into the schedule for each type that you want to operate on!
///
/// For more advice on working with generic types in Rust, check out https://doc.rust-lang.org/book/ch10-01-syntax.html
// or https://doc.rust-lang.org/rust-by-example/generics.html

Hey there. So, @mockersf  suggested (I think?) that maybe I could try and help review this PR, so here's my two cents on it.
As someone almost completely new to Rust, game dev and bevy, I think the only relevant contribution I can make here is to let you know that this example was simple and clear enough that event I could understand it.
I think a few comments explaining what exactly each system does would have helped. And maybe find a way to highlight that cleanup_system is the generic one?
Also, quick question, are there any naming conventions for sytems? I noticed only the cleanup_system has the _system suffix to it. Maybe add the suffix to the other systems for code clarity?
Anyways, that's all I could come up with. Pretty good example a far as I'm concerned :).

Also, quick question, are there any naming conventions for sytems? I noticed only the cleanup_system has the _system suffix to it. Maybe add the suffix to the other systems for code clarity?

Yep; Cart's official stance (for now at least) is that all systems in the Bevy code base should have a _system naming convention.

bors r+

@B-Janson can you update this example to 0.6 and I'll merge it in? :)

Can do on the weekend :)

bors r+


python312Packages.google-cloud-automl: 2.13.5 -> 2.14.0

Changelog: https://github.com/googleapis/google-cloud-python/tree/google-cloud-automl-v2.14.0/packages/google-cloud-automl

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 351368

x86_64-linux

:white_check_mark: 4 packages built:

python311Packages.google-cloud-automl
python311Packages.google-cloud-automl.dist
python312Packages.google-cloud-automl
python312Packages.google-cloud-automl.dist

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 351368

x86_64-linux

:white_check_mark: 4 packages built:

python311Packages.google-cloud-automl
python311Packages.google-cloud-automl.dist
python312Packages.google-cloud-automl
python312Packages.google-cloud-automl.dist