Migrate to SQLite

I think PostgreSQL is too overkill for PixyShip. SQLite can handle concurrent access and store all PixyShip data without problems and no need of managing a PostgreSQL server.

After reflection and implementation of Docker for local development this feature is no longer necessary.


⚠ Spryr has degraded performance

In 1b939d2, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3048 ms

Resolved: Spryr performance has improved in 2466160 after 8 minutes.


Reduce aws-sdk version down to the version packaged with Lambda 8.10

When people deploy to AWS Lambda, they often exclude uploading the aws-sdk package since the Lambda runtime already includes a copy. I've been doing this for a while now and the AWS X-Ray package works fine. The only minor problem is that npm can complain when trying for force all packages to use the Lambda aws-sdk version using "resolutions" in package.json because the x-ray library claims to need a higher version.
I don't believe this package needs the higher version it claims to, and so reducing the package version will make it clear that this library is compatible with Lambda Node 8.10's builtin runtime.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Looks good, we just have to verify the X-Ray sampling APIs are available on 2.290.0, vs the 2.304.0 version. Those aren't used by Lambda, but because they're a part of core it makes a difference.

Hi, unfortunately we will not be able to accept this PR. The X-Ray SDK requires aws-sdk 2.304.0 at minimum for non-lambda feature: service managed sampling rules. You can see per https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md for 2.304.0: "feature: XRay: Support for new APIs that enable management of sampling rules."
The main issue here is that the  X-Ray SDK should have better modular design so the feature only for non-lambda applications is decoupled from lambda ones. This is on our backlog but we don't have an ETA. A workaround is to use Lambda layers so that the dependency of aws-sdk and aws-xray-sdk is handled separately.
Please let me know if you have any other concerns.


Add a new demo with Microsoft DI and Serilog as custom logger

What kind of change does this PR introduce?
Example setup to enable Splat working with Microsoft Dependency Injection and external logging packages, as Serilog.
The setup is based on the documentation which is located at:

https://www.reactiveui.net/docs/handbook/dependency-inversion/custom-dependency-inversion
https://github.com/reactiveui/splat/tree/main/src/Splat.Microsoft.Extensions.DependencyInjection
https://github.com/reactiveui/splat#serilog

What is the current behavior?

What is the new behavior?

What might this PR break?
Nothing
Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

@glennawatson it looks to me the build is failing due to Uno, and not to my PR

Ah yeah. Uno generally can be a bit unstable at times. I'll take a look tomorrow

Is this a scenario that we want to encourage? Being part of the official samples has an implication that this is an Encouraged Scenario, which isn't especially the case. I think this would probably be better as a standalone repo, with a great README - this way when people google "ReactiveUI Microsoft DI Serilog", they find that repo

This scenario is going to become almost required since Maui has forced the use of Microsoft DI love it or hate it. So we'll see a lot more requests for it.


Could you please provide a breakpoint library for HG 38?

Or maybe how to convert a breakpoint library from other hg to hg 38?

+1 for this request - we are aligning based on a GRCh38 human reference genome (https://genome.sph.umich.edu/wiki/Vt#GRCh38) and are interested in a breakpoint library for HG 38 as well. Thank you!

@jiangyuanluo and @countdigi there is no official release of an hg38 breakpoint library from Prof. Gerstein's lab. I can provide you a lifted over breakpoint library from b37. Would this work for you guys?

Hi @marghoob. This will work for me. Thanks!

@marghoob - Yes - I am working with Dr. Parikh (you have correspondence with him) so either of us is fine to get the library too (just so you are not duplicating your effort :-). Thanks again! Kevin

Hi @countdigi and @jiangyuanluo , I am attaching a GFF file for the breakpoint library which was generated after lifting over to hg38. Note that this only includes deletions since insertion liftover would require more checks and also need to update the INS file. In order to use the GFF, simply use the --bplib_gff <BPLIB.GFF> option. You do not need to specify the breakpoint library as a FASTA, but you need to specify the reference FASTA. If you need insertions (there are only a handful, ~400 insertions in the breakpoint library), I can help you with the liftover process there.
bplib.hg38.gff.gz. Please give it a try and let me know if there are any problems.

Downloaded it - for now we will just concentrate on the DELs - thank you!

Hi was there any progress in incorporating Insertions in the above .gff file?


Make it possible to use private fields in type declarations

Suggestion
🔍 Search Terms
private field type declaration
✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
Make it possible to use private fields in type declarations, like:
type MyType<T> = { a: number; #marker: T };
type GetMarkerType<T> = T extends { #marker: infer TResult } ? TResult : never;

Currently this gives an error saying that private fields can only be used inside classes. It is true that no code can be generated for private fields outside classes, but no code is generated when declaring a type.
📃 Motivating Example
Sometimes it is nice to add markers to a type that define how the type can be used (PhantomData<T> in Rust).
In my case, I automatically generate endpoint definition like
getUser = { method: 'GET', path: '/something' } as Endpoint<'GET', UserInfo>;

My definition of Endpoint currently looks like
type Endpoint<T> = { method: 'GET' | 'POST'; path: string; __markerBody: T }

This works, but the only thing that says that the body is fake is the ugly name. If I could instead write
type Endpoint<T> = { method: 'GET' | 'POST'; path: string; #markerBody: T }

no one could even possibly try to access the marker, and there would be no reason for the editor to ever show it.
This feature could also be used in libraries, where you might want opaque state objects to be passed between methods, like
type StateObject = { #marker: 'opaque' };
function createStateObject(initial: string): StateObject {
    return { initial } as StateObject;
}

function getInitialValue(obj: StateObject) {
    const realObject = obj as { initial: string };
    return realObject.initial;
}

Since the use case is for branded types, you probably want https://github.com/microsoft/TypeScript/issues/202.

#21625 seems unrelated. #202 seems to solve the use case with opaque types, but not the Endpoint case.

To solve the Endpoint case, you'd use an intersection.
Private fields appearing in a structural position where they can never be legally accessed, and would have fairly confusing semantics (are they allowed to merge via intersection? how?) is a sort of "a screwdriver is a hammer if you hold it by the pointy end" solution -- it would work, but the right fix is clearly nominal types.

a screwdriver is a hammer if you hold it by the pointy end

I've been looking for an analogy for this sort of thing forever; this is perfect.

I don't agree that it would be confusing, I expected it to work and got surprised by the error message. Private fields would work exactly like regular fields. As a matter of fact, they already kind of do, but you need to use declare class C { #x: 'x' } instead of just type T { #x: 'x' }, and they don't work when mapping types.
But sure, makes sense to not do this since it could have been solved by another issue that has been opened for 8 years with apparently no work on it. /s

Private fields would work exactly like regular fields.

A non-class type with a private field would only be useful as an opaque type that you could cast something else to; you would never be able to directly construct an object that’s assignable to it, because you can’t write object literals with private fields in JS.  I agree it would be confusing to have first-class support for an entire class of types for which no legal runtime values exist.  Even if that were allowed, it’s semantically confusing because class A { #foo: number } is not assignable to any other class with the exact same signature, but now you’d be treating them as part of a structural check (”exactly like regular fields”)
If you’re instead proposing that { foo: 42 } be directly assignable to { foo: number, #marker: T } without a cast, with the private field only serving to differentiate it from other, similar objects, then you might as well skip the ceremony and just ask for nominal types (e.g. unique { foo: number }), because that’s what that boils down to, and is much simpler to explain to someone reading the code.


Fix docker images example command with incorrect format

Proposed changes
Fix example commands with invalid template variable {{.Created}}
$ docker images --format "{{.ID}}: {{.Created}} ago"
Template parsing error: template: :1:11: executing "" at <.Created>: can't evaluate field Created in type *formatter.imageContext

@thaJeztah , this needs to be fixed here (very bottom of page): https://github.com/docker/cli/blob/ebb8927a2a4ad63e9165ba92be9fdecb84ea883a/docs/reference/commandline/history.md
Not sure how to transfer or connect this PR to the cli repo.

@bendikro these docs are generated from an upstream doc. Could you close this PR and open a new one on the docker/cli repository?

Carrying this in https://github.com/docker/cli/pull/980


Angular CLI 8.3.19 ng update install temp cli

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[x] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was: 8.3.17 or 8.3.18
Description
Running
ng update

installs the latest angular-cli into a temp directory despite the fact, that the global installed angular-cli version is already installed. Why not use the global one?
logs:
ng update
Your global Angular CLI version (8.3.19) is greater than your local
version (8.3.18). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
The installed Angular CLI version is older than the latest published version.
Installing a temporary version to perform the update.
Installing packages for tooling via npm.

><EMAIL_ADDRESS>postinstall /private/var/folders/cy/4hs_g4mj4jlg6nyk_9vyxg9w0000gn/T/.ng-temp-packages-rFmoyk/node_modules/@angular/cli
> node ./bin/postinstall/script.js

npm WARN saveError ENOENT: no such file or directory, open '/private/var/folders/cy/4hs_g4mj4jlg6nyk_9vyxg9w0000gn/T/.ng-temp-packages-rFmoyk/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/private/var/folders/cy/4hs_g4mj4jlg6nyk_9vyxg9w0000gn/T/.ng-temp-packages-rFmoyk/package.json'
npm WARN .ng-temp-packages-rFmoyk No description
npm WARN .ng-temp-packages-rFmoyk No repository field.
npm WARN .ng-temp-packages-rFmoyk No README data
npm WARN .ng-temp-packages-rFmoyk No license field.

After that running
ng update @angular/cli @angular/core

another temp install happens.

I am also getting the same error.

I'm not sure that it is related, but whatever I do, after running ng update [...] it breaks my global install by not reverting to the old one. Meaning if I write which ng after, it returns ng not found. This happens 100% of the times and I can reproduce it just by making the git repository dirty which trying to update, as ng will then tell me to commit any changes before proceeding.

@simpers, can you kindly provide the output of the below commands:
ng config cli.packageManager
ng version

Before the running ng update that causes the "global" ng to be broken.

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.803.19
@angular-devkit/core         8.3.19
@angular-devkit/schematics   8.3.19
@schematics/angular          8.3.19
@schematics/update           0.803.19
rxjs                         6.4.0

Apples-MBP:~ apple$ ng update --next
The installed Angular CLI version is older than the latest pre-release version.
Installing a temporary version to perform the update.
Installing packages for tooling via npm.

><EMAIL_ADDRESS>postinstall /private/var/folders/wn/rhw2jbyj36sc1f8ny_wljrp80000gn/T/.ng-temp-packages-ATJMBk/node_modules/@angular/cli
> node ./bin/postinstall/script.js

npm WARN saveError ENOENT: no such file or directory, open '/private/var/folders/wn/rhw2jbyj36sc1f8ny_wljrp80000gn/T/.ng-temp-packages-ATJMBk/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/private/var/folders/wn/rhw2jbyj36sc1f8ny_wljrp80000gn/T/.ng-temp-packages-ATJMBk/package.json'
npm WARN .ng-temp-packages-ATJMBk No description
npm WARN .ng-temp-packages-ATJMBk No repository field.
npm WARN .ng-temp-packages-ATJMBk No README data
npm WARN .ng-temp-packages-ATJMBk No license field.

+<EMAIL_ADDRESS>added 260 packages from 206 contributors and audited 2883 packages in 48.36s
found 0 vulnerabilities

Installed packages for tooling via npm.
Using package manager: 'npm'
Collecting installed dependencies...
Found 0 dependencies.
Could not find a package.json. Are you in a Node project?
Apples-MBP:~ apple$

running  the command ng update --next from a project folder
Apples-MBP:store apple$ ng update --next
The installed Angular CLI version is older than the latest pre-release version.
Installing a temporary version to perform the update.
Installing packages for tooling via npm.

><EMAIL_ADDRESS>postinstall /private/var/folders/wn/rhw2jbyj36sc1f8ny_wljrp80000gn/T/.ng-temp-packages-8ChznA/node_modules/@angular/cli
> node ./bin/postinstall/script.js

npm WARN saveError ENOENT: no such file or directory, open '/private/var/folders/wn/rhw2jbyj36sc1f8ny_wljrp80000gn/T/.ng-temp-packages-8ChznA/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/private/var/folders/wn/rhw2jbyj36sc1f8ny_wljrp80000gn/T/.ng-temp-packages-8ChznA/package.json'
npm WARN .ng-temp-packages-8ChznA No description
npm WARN .ng-temp-packages-8ChznA No repository field.
npm WARN .ng-temp-packages-8ChznA No README data
npm WARN .ng-temp-packages-8ChznA No license field.

+<EMAIL_ADDRESS>added 260 packages from 206 contributors and audited 2883 packages in 47.466s
found 0 vulnerabilities

Installed packages for tooling via npm.
Using package manager: 'npm'
Collecting installed dependencies...
Found 30 dependencies.
    We analyzed your package.json, there are some packages to update:

      Name                               Version                  Command to update
     --------------------------------------------------------------------------------
      @angular/cli                       8.3.19 -> 9.0.0-rc.3     ng update @angular/cli --next
      @angular/core                      8.2.14 -> 9.0.0-rc.3     ng update @angular/core --next
Apples-MBP:store apple$

@alan-agius4 Now though I cannot seem to reproduce any of it. It managed to get it all working by nuking everything (I initially got this problem in a repository that when clean couldn't update its dependencies due to incompatible versions between @angular and third-party npm-packages).
I do use yarn as my package manager though, but I get this:
$ ng config cli.packageManager
Value cannot be found.

Is it meant to be configured to use yarn globally or something? When tunning ng update it seems to use yarn, so I guess it might resolve that through the yarn.lock as we have no lock-file for npm? Either way, disregard the case I mentioned for now. If I find a way to reproduce it once more I'll post it.

@simpers, sorry for my late reply. To accesses the global configuration you need to use the --global argument.
ng config cli.packageManager --global

I am closing the issue for now, since there doesn't seem to be a reproduction. If the problem persists, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.


Shim Removal

Shims.swift is no longer needed since sleep(for:tolerance:) is now a native function.

Hi @Rspoon3, while it is true sleep(for:) has been officially released, this library still supports older versions of Swift where it is not supported. So if we are going to remove the shims then we should also update Package.swift to be Swift 5.7. Would you mind adding that to this PR?

@mbrandonw Yeah not a problem! Should the availability checks also be removed now?

Yeah definitely, any mention of swift(>=5.7) can be removed.

@mbrandonw Okay that should be everything now. Let me know if you'd like any other changes.

Hi @Rspoon3, I think the changes to platforms in the Package.swift is going a little too far. That makes it so that packages that target iOS <16 cannot depend on this package, which means TCA could not even depend on it.
Can you revert that change and bring back all of the availability checks?

All set.


Issue from website page JSON and serialization

From URL: https://flutter.io/json/
Applying this pubspec generated an error
https://raw.githubusercontent.com/dart-lang/json_serializable/master/example/pubspec.yaml
The current Dart SDK version is 2.0.0-dev.58.0.flutter-f981f09760.

Because rent_tenant depends on json_serializable >=1.0.0 which requires SDK version >=2.0.0-dev.65 <3.0.0, version solving failed.
pub get failed (1)

I'm using flutter beta v0.5.1. This may be solved if I switch to different branch by using flutter channel master but the doc says it's strongly recommended to use beta instead of master.

Like the error message said, you'll need to use Dart SDK version 2.0.0-dev.65 above but you have 2.0.0-dev.65 right now.
You can use the older vesion of json_serializable (e.g. 0.5.6) or switch to dev channel and run flutter upgrade.

Thanks @NikoYuwono


build: use rollup to build the bundle

[x] Generate .mjs, .esm.js, and .cjs files
[x] Dedupes exports correctly and retains export * from './utils' for all three bundle types esm, cjs, and mjs
[ ] Types for jotai-devtools/utils will most likely break with this, I need to run some tests and fix it if needed

Types for jotai-devtools/utils will most likely break with this

That sounds bad.
I thought it would be better to avoid duplicating index.js and utils.js, but it's not a big deal unless we have some shared (module) state.
Moving forward, using tsup is more preferable. So, I think it's better to file an issue for tsup?
Meanwhile, we can give up with duplicating code.
Sorry for the unstable request. Let's revisit this later.

Types for jotai-devtools/utils will most likely break with this

That sounds bad.

Yeah, I need to generate utils types in the root to have it picked up by package.json 😓

I thought it would be better to avoid duplicating index.js and utils.js, but it's not a big deal unless we have some shared (module) state. Moving forward, using tsup is more preferable. So, I think it's better to file an issue for tsup? Meanwhile, we can give up with duplicating code. Sorry for the unstable request. Let's revisit this later.

That makes sense! We'll most likely have a shared state when we release UI-based DevTools but happy to revisit this later.  I'll shelve this PR for now then 🙌


Something is up with its scripts: cannot handle '()' parens in CWD path

Rename a folder higher in the hierarchy to have parenthesis in them, then try to deps.compile with earmark_parser and you get:
Compiling 0 files (.erl)
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `(/src/.asdf/installs/elixir/1.14.5-otp-26/.mix/elixir/1-14/rebar3 bare compile --paths /src/project (foo)/name/src/_build/dev/lib/*/  ebin'
** (Mix) Could not compile dependency :unicode_util_compat, "/src/.asdf/installs/elixir/1.14.5-otp-26/.mix/elixir/1-14/rebar3 bare compile --paths /src/    project (foo)/name/src/_build/dev/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile   unicode_util_compat", update it with "mix deps.update unicode_util_compat" or clean it with "mix deps.clean unicode_util_compat"

I am a little bit confused, of which hierarchy are you talking I cannot reproduce the error above


Remove ELT command and set as default

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/336
Originally created by @jschatz1 on 2019-01-28 15:50:14

Se the default command to be elt.
cc @mbergeron

View 6 previous comments from the original issue on GitLab


Redesign api_callable

This is for #14 and googleapis/gax-python#104.

[Current coverage][cc-pull] is 96.72%

Merging [#22][cc-pull] into [master][cc-base-branch] will increase coverage by 0.52%

@@             master        #22   diff @@
==========================================
  Files             9          9
  Lines           658        672    +14
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            633        650    +17
+ Misses           25         22     -3
  Partials          0          0

Powered by Codecov. Last updated by [df861d0...2fe4b29][cc-compare]
[cc-base-branch]: https://codecov.io/gh/googleapis/gax-ruby/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/googleapis/gax-ruby/compare/df861d03fd14483342937baffaee791aa2244750...2fe4b299c8fa70cfacdeb82831960ca35d321e8c
[cc-pull]: https://codecov.io/gh/googleapis/gax-ruby/pull/22?src=pr

Do you want to update this to be similar to Python, or leave as-is?

I'll withdraw this PR and return with the approach similar to Python/NodeJS. Sorry for the confusion.


Refactor deprecated netty ConcurrentSet

[REFACTOR] Refactor deprecated netty ConcurrentSet
What changes were proposed in this pull request?
Refactor deprecated netty concurrentset
Why are the changes needed?

What are the items that need reviewer attention?
Related issues.
Related pull requests.
How was this patch tested?
/cc @related-reviewer
/assign @main-reviewer

LGTM, thanks!


.jsp webpage does not respond

The .jsp page (https://businessonline.emiratesnbd.com) loads properly. After you enter data and click the 'Submit' button nothing happens. However, if you enter the same data on a Desktop Firefox bowser, on clicking Submit the page loads. (please send me an email<EMAIL_ADDRESS>if you need field data)
Docker Firefox 109.0.1

If you open the developper tools, do you see any errors in the console ?

Do you use the same Firefox version with the desktop browser ?
Looks like you are using 2 different Firefox versions that behave differently on errors caused by the website.

yes, we were using a different Desktop browser. When we use a Desktop Firefox browser after we enter the details, we click the button and we can go to the next page. But in the docker Firefox, the button does not work/does not click
Docker Firefox 109.0.1
Desktop Firefox 112.0.1

Did you try with Desktop Firefox 109.0.1 ?

No, I did not. I tried with Desktop Firefox 112.0.1 which works.
Today I tried with Desktop Firefox 109.0.1 which also works, if you need any additional details to test please share your email address so I can send you the credentials privately


Update comment about Iris and NetCDF4.

Checklist

[x] Ran python show_diff.py and posted the output as part of the PR.
[x] Modifications are bound by python -c "import time; print(f'{time.time():.0f}000')"

Time-stamp
1676995230000
python show_diff.py
Traceback (most recent call last):
  File "REDACTED/conda-forge-repodata-patches-feedstock/recipe/show_diff.py", line 10, in <module>
    from gen_patch_json import _gen_new_index, _gen_patch_instructions, SUBDIRS
  File "REDACTED/conda-forge-repodata-patches-feedstock/recipe/gen_patch_json.py", line 16, in <module>
    from get_license_family import get_license_family
  File "REDACTED/conda-forge-repodata-patches-feedstock/recipe/get_license_family.py", line 1, in <module>
    import license_expression
ModuleNotFoundError: No module named 'license_expression'

:rocket:

@beckermr hi mate, a quick and easy one for you to approve when you got a bit of time. Cheers muchly :beer:

Thanks @dopplershift!


Renaming an auto incrementing primary key makes the resulting column a non auto incrementing column

Environment
Knex version: 0.14.6
Database + version: MySQL v14.14
OS: Ubuntu 14.04.5 LTS
Bug
@smorey2
I would like to rename an existing table's auto-incrementing primary key. I have the following code in the knex migration.
exports.up = function(knex, Promise) {
    return knex.schema.table('mobile_payments', table => table.renameColumn('transaction_id', 'id'));
};

The migration runs successfully without any errors and the PK is renamed as expected. However, it is no longer an auto-incrementing column.
I tried to chain an alterTable promise after the renameColumn promise as shown below but that did not work.
exports.up = function(knex, Promise) {
    return knex.schema.table('mobile_payments', table => table.renameColumn('transaction_id', 'id'))
        .then(() => knex.schema.alterTable('mobile_payments', table => table.increments('id').alter()));
};

This resulted in the error below.
Error: ER_MULTIPLE_PRI_KEY: Multiple primary key defined

Similar issues: #2703, #1783.
How is auto-incrementation implemented in MySQL? Is there a trigger created for that?

any workaround for this?

@radiumrasheed Well, if you contribute failing test for this, I could fix it :)

sure, a guide will help

@radiumrasheed Take a look at https://github.com/tgriesser/knex/blob/master/test/integration/migrate/index.js
To execute tests only on a single DB, run cross-env DB=mysql npm run plaintest

is there eventually a solution to this @kibertoad ?
Just to do simple rename on a column created initially as incremental?

is there eventually a solution to this @kibertoad ?
Just to do simple rename on a column created initially as incremental?

@gpetrov Which DB are you using?

@gpetrov Which DB are you using?

Well MySQL but it seems it is a common problem.
On column rename or type change the incremental is lost and there is no way to add it back.

Well MySQL but it seems it is a common problem.
On column rename or type change the incremental is lost and there is no way to add it back.

Released in 0.95.0, please reopen if you still experience the issue.


feat(Applications): create an application via api post request

This pull request will track the progress:

[x] #564
[x] #563

Coverage decreased (-0.3%) to 40.927% when pulling 5655e2fe5aa0dd9eb5f1a644d8a0f8a457ac4043 on TiSiE:Applications-create_application_via_api_call into 0913ed72041c547396277bf44c0b1cca33c23fc5 on cross-solution:master.

So far, it is possible to send a post request to /api/apply?applyId=<applyId>
The content type must be FORM_DATA
Attachments and profile image can also be send

The names of the post parameters must correspond to the attributes of the application entity. Embedded documents and or collection must be send using array name syntax main_name[sub_name]


[New Feature] Add missing tween types

There are several useful tween types that are missing from the game, and it would be cool if they were included.
SM comes with 4 tweens yet there are 20+ animation types that would be envaluable to the content producers out there.

Done in <IP_ADDRESS>


CLOUDSTACK-9220 Sort list of domains on Domain tab in UI

The list of domains was unsorted and that annoyed me so I sorted it :-)

Before this PR it was unsorted:

Now it is sorted:

@nitin-maharana Could you please review this? Thanks!

code reviewed, simple fix for convenience in large installations: LGTM

@remibergsma: Checked for all alphabet names, its sorting perfectly. But how it is sorting for special character names starting with @, #, etc. Is it sorting according to ASCII value or anything else?

LGTM

It's sorted! LGTM


4.0.x backport: CAMEL-20022: camel-yaml-dsl: Add WARN log if kebab-case is detected

Description

Backporting CAMEL-20022 / https://github.com/apache/camel/pull/11823 to 4.0.x branch.
Also see: CAMEL-20018
Target

[x] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[x] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).
https://issues.apache.org/jira/browse/CAMEL-20022

Apache Camel coding standards and style

[x] I checked that each commit in the pull request has a meaningful subject line and body.

[x] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

There's an uncommitted change on 4.0.x branch - https://github.com/apache/camel/pull/11826


Ram DT: check EPS firmware explicitly to set minEnableSpeed to 0

The upstream method to check if the first 4 characters of the EPS firmware are smaller than or equal to the defined bounds to set minEnableSpeed = 0. would not work for some Ram DT.
Affected route: 001ccccec7a1992c|2023-06-07--21-25-45
EPS FW: b'21590101AA'
Only allow minEnableSpeed = 0. for the EPS firmware that is known to allow enable steering at 0.

The affected users verified that the change allows the EPS to steer under the defined conditions.


cnspec: 11.27.0 -> 11.28.0

Diff: https://github.com/mondoohq/cnspec/compare/refs/tags/v11.27.0...v11.28.0
Changelog: https://github.com/mondoohq/cnspec/releases/tag/v11.28.0

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 352210

x86_64-linux

:white_check_mark: 1 package built:

cnspec


Chrome/React mouse-wheel event issue [Workaround]

Running Chrome Version 73.0.3683.86.
Trying to zoom in or out using the scroll wheel results in the page scrolling not only the image as expected.
And on the console inspector I see:
Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312
The url is slightly different to the one noted in this PR comment: https://github.com/chrvadala/react-svg-pan-zoom/pull/39#issuecomment-302163912
The PR listed above seems to be related to touch specific actions Treat Document Level Touch Event Listeners as Passive, the one I am seeing in the console seems to be related to the wheel Treat Document Level Wheel/Mousewheel Event Listeners as Passive
I tested it in the examples listed on this page and it is reproducible on all the examples not just my code (one example I tested with: https://jsfiddle.net/chrvadala/f67qyfsd/)
I've already set touch-action: none; like most people suggest as the solution but had no luck.
Strangely this is only affecting Chrome and all other browsers work as expected.
Please let me know if you need anything else from me to help. Thanks!

Same here :/

This React issue has the relevant context.  https://github.com/facebook/react/issues/14856
Chrome 73 changed the behavior of wheel events to be "passive" by default.  A passive event ignores any attempt to call preventDefault which means it not possible to dismiss the scrolling behavior after handling the zoom.  Until React provides a way to control or disable the passive handling, this is going to be broken in Chrome unless you're willing to manually add event listeners with {passive: false} set.

Hi guys, until React has an official fix, we have to use the workaround published here https://github.com/facebook/react/issues/14856#issuecomment-478144231
I made a sample and it seems to work https://codesandbox.io/s/7jj3x6zzvq
I hope that Facebook/Chrome will provide soon an official solution.

Thanks @chrvadala  you saved my day :)
The workaround works for me

Today there isn't still an official solution, but a developer released a better workaround https://github.com/facebook/react/issues/14856

Instead of attaching the event via attributes why don't you use document.addEventListener when componentDidMount / useEffect? That would help the issue, as far as I understand it.

To be honest I thought that React would have released an official fix for this, but it seems that, after 6 months, it is better to patch this library.
I agree with your approach, Are you open to submit a PR?

There you go

Bump

A fix has been released with v3.5.0 (thanks to @krnlde )
Workaround code suggested few comments above is no more required.

Seems like I introduces a new bug with this fix. I don't get any events on Edge and IE, can anybody confirm? x-ref: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7134034/

Unfortunately now I don't have a Windows PC with me, but I should be able to test it tomorrow.

The problem only occurs with "precision mousepads". The thinkpad nob and a mousewheel do work.

sounds good! Is there a way to detect a "precision mousepad"? Do we have some way to fix it?

Unfortunately no. I'm still wondering if it worked before, because if I read the bugtracker correctly it shouldn't work either way with the precision touchpad. Also this quote

We lost this argument. Microsoft has chosen not to fix this bug despite our years of begging.
(source)

makes me unhappy.
It looked like probably mousewheel and/or DOMMouseScroll events could help, but they didn't seem to work on my machine either.
These guys have the same problem it seems, maybe we can help each other out.

Can you check if plain React wheel event works better? Moreover, I'm going to create a new issue since the topic we are talking about is a bit different from this one.

I used the simplest codesandbox for this issue and don't get an event in the console on Edge. Which means it shouldn't either with synthetic nor with native events.


UKPE-1222 - Added Unit Tests for javascript.

Looks good +1

Renamed UI.UnitTests project to UI.Tests because after #19 pull Xunit captured javascript project dlls and tried to run them. This caused errors.


IstioOperator is not in client-go

Bug Description
It is not possible to use client-go to easily access IstioOperator resources.
The IstioOperator resource is defined in https://github.com/istio/istio/blob/f6b648fff750beeff9aa19acc5d43f1242ab3b67/operator/pkg/apis/istio/v1alpha1/operator_crd.pb.go#L28-L39
It is not in istio/api, so I can not generate client in client-go.
PS: the proto file of operator_crd can not find.
Version
latest version

Additional Information
No response
Affected product area

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

Is this the right place to submit this?

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

The current DeepCopy implementation of IstioOperator does not work perfect.
You can turn to these two issues 25584, 24829 and this closed pr 209 for more information.


Exception: Incorrect padding

Hi,
i am getting the following error when trying to renew:
2020/04/12 14:29:49<EMAIL_ADDRESS>- Debug level: 2
2020/04/12 14:29:49<EMAIL_ADDRESS>- Opening https://www.noip.com/login...
2020/04/12 14:29:50<EMAIL_ADDRESS>- Logging in...
2020/04/12 14:29:50<EMAIL_ADDRESS>- Exception: Incorrect padding

Hi @auto-mation , which version of the script are you using? The latest commit? The error in question happens when the password stored in the noip-renew.sh file isn’t in base64. If you pulled this script over an older installation then perhaps the noip-renew.sh file is still the old one which doesn’t contain your No-IP password in base64. Sorry about that, anyway. I think I need to adjust the installation to make sure it removes an older one first.
Let me know how you get on with the above, anyway!

now i am getting Exception: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="clogs"]"}
(Session info: headless chrome=80.0.3987.163)

I am actually getting this now, progress i guess...
2020/04/12 15:30:52<EMAIL_ADDRESS>- Debug level: 2
2020/04/12 15:30:52<EMAIL_ADDRESS>- Opening https://www.noip.com/login...
2020/04/12 15:30:53<EMAIL_ADDRESS>- Logging in...
2020/04/12 15:30:57<EMAIL_ADDRESS>- Opening https://my.noip.com/#!/dynamic-dns...
2020/04/12 15:30:57<EMAIL_ADDRESS>- Updating hosts...
2020/04/12 15:30:58<EMAIL_ADDRESS>- Unable to find the buttons...
2020/04/12 15:30:59<EMAIL_ADDRESS>- Unable to find the buttons...
2020/04/12 15:31:00<EMAIL_ADDRESS>- Unable to find the buttons...
2020/04/12 15:31:01<EMAIL_ADDRESS>- Unable to find the buttons...
2020/04/12 15:31:02<EMAIL_ADDRESS>- Unable to find the buttons...
2020/04/12 15:31:02<EMAIL_ADDRESS>- Invalid page or something wrong. See error.png

Hi @auto-mation , Thank you for the feedback. I've come across this before but after running the script again it seemed to disappear. That is an odd one! Could you please post your error.png so I can take a look which page it's actually on when this occurs?
This looks to be something to do with "xpath_of_button" not firing correctly or firing too early.
I'm working on another update to this script to stop any of these kinds of issues from cropping up, so hopefully, that resolves the issue. I'm really sorry about that. I should have it up by later today.
In the meantime, I'm happy to try and troubleshoot this.

This should be resolved in my latest pull request (v 0.9). #16

@auto-mation Please try the latest version (v 0.9), with IDemixI's update merged.
@IDemixI Thank you.

that solved the issue, thanks! @IDemixI and @loblab :)


Protips/tools for backup/restore

Document any protips/tools/suggestions for backup/restore of etcd cluster. I think in the past we haven't cared about etcd as its only contained cached state for hm9000; perhaps as a general release it'd be helpful to document/enable this?

Offering --wal-dir to enable WAL might be a starting point; from reading https://github.com/coreos/etcd/blob/master/Documentation/admin_guide.md

https://coreos.com/etcd/docs/latest/admin_guide.html#restoring-a-backup

Hey @drnic
This will likely require a fair bit of research, and we have a ways to go before we feel what we currently have has sufficiently robust testing.  This is an important thing to have on the roadmap for a data product like etcd, so thank you for bringing attention to this and the useful links.  In the near term, there is nothing actionable we can provide you.  Rather than having long-running inactive open issues, I will close this one, but I have repurposed the tracker story linked above by @cf-gitbot to serve as a placeholder for figuring out a proper backup and restore feature set.


Provide a way to locally regenerate a subkey for a different domain

Description
Subkey (Raiden Account, #172) is a unique private key used in the Light Client, deterministically generated as the sha256 of the main key personal_sign (EIP-191)  signature of a message containing the current network name, dApp's domain and a warning that this message should not be signed outside of a trusted app, or a different domain, or else it'd give the webapp access to its funds and Raiden channels.
We need to make it more secure, and also make it easier for a user to regenerate this key for another domain, to control the channels and funds from a standalone, locally served instance of the dApp, in case that domain goes offline.
This should be done before mainnet release, as it's a breaking change.
Two proposals:

Read an environment variable to allow the user to specify the domain/origin/referer to be used in the subkey message to be signed
Investigate if EIP-712 standard provide more security for our usecase, by embedding the domain in the payload, and having Metamask enforce it. This may only be feasible if there're advanced options allowing 1. above to still be possible, although with the proper safeguards on Metamask's side.

Acceptance criteria

Tasks

[ ]

For the moment I just read into the details of EIP-712 to see if it fits our needs.

For the moment I just read into the details of EIP-712 to see if it fits our needs.


Resource packs make infinite loading

im playing on my mod pack, i made a collection of resource packs or whatever its called and it makes loading INFINITE no matter how much i wait

and now when i launch the game its black screen

okay i just tested my texture pack its the reason


docs(tooltip): decrease zIndex so it doesn't overlap other elements

📝 Description
The floating Tooltip was overlapping the navbar and other elements on the home page.
I decreased its z-index to 39 because the navbar is .z-40
⛳ Current behavior (updates)
https://github.com/nextui-org/nextui/assets/54036572/69685a81-88ee-48e8-9e24-9c677e77ffe2
🚀 New behavior
https://github.com/nextui-org/nextui/assets/54036572/5fe3bf4a-3925-4838-b89e-316a62a7f883
💣 Is this a breaking change (Yes/No):
No

We should just reduce the z-index of the tooltip, so we don't have to fix this in a bunch of places.

Hey @jguddas it can be done by doing this:
https://github.com/nextui-org/nextui/issues/1409#issuecomment-1679621977

@jrgarciadev @jguddas I decreased the tooltip z-index as mentioned :)

Thank you! @jvzaniolo


feat(docs): Add syntax highlighting for code blocks in docs

This PR Add code highlighting to the code blocks in the docs. 😉  (Getting bored on the train. No comment. hahaha)

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Feature] Improve config

Currently the config is split between tailwind.config.js and babel.config.js. Ideally all the config (except platform) could be loaded via the tailwind.config.js

There are now two entry points to the library, babel or the CLI. It makes sense for the config of either to be in their respective places.


nixos-rebuild does not properly support subattributes

Describe the bug
When running nixos-rebuild --flake .#group.system, the command refers to nix build .#nixosConfigurations."group.system".config.system.build.toplevel, which does not follow the expected behavior of other Nix commands. Specifically, the command does not seem to treat the path as a typical attribute path, and it is unable to use subattributes like other Nix commands do.
Steps To Reproduce

Run nixos-rebuild --flake .#group.system.
Observe that the command refers to nix build .#nixosConfigurations."group.system".config.system.build.toplevel.

Expected behavior
The expected behavior is that nixos-rebuild should handle subattribute paths similarly to other Nix commands and not quote everything on the right hand side, allowing for proper grouping of machines and states under the same attribute.
Additional context
I had two use cases for this:

General grouping of machines based on their purpose.
For my homelab, I modified the Terraform NixOS provider to have both a base and deployed state for bare metal machines. I wanted to group both states of that machine under the same attribute.

It seems like a possible oversight in the CLI, as it should allow for the usage of subattributes or nonstandard attribute paths.
Notify maintainers
Not really sure who to ping here.
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.12, NixOS, 24.11 (Vicuna), 24.11.20240725.5ad6a14`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

It seems like a possible oversight in the CLI, as it should allow for the usage of subattributes or nonstandard attribute paths.

I should note that it is commonly expected to have certain attribute structure inside flake outputs. This expectation is also a part of nix flake check.

The other thing to note is that the current behaviour is okay as long as we fall back to checking the attribute itself.
But whether we quote or not can turn into a footgun, and I would guess that's part of why it wasn't implemented as such originally.

Also if you want to have both your ideal attribute structure, and something compatible with nixos-rebuild, you can write a function to translate your set to nixosConfigurations. You may take some inspiration from the famous flattenTree function.

I should note that it is commonly expected to have certain attribute structure inside flake outputs. This expectation is also a part of nix flake check.

This is fair enough and would definitely break something out there if this was changed.
I did ask @NobbZ about this behaviour in discord

Interesting. Yeah, probably an oversight, but I am not aware of an issue reported.
Even though I consider it a misconception on your side to have the subattribures or nonstandard attr paths, the CLI definitely should allow for it.

We can probably close this ticket if it's undesirable and I can use some workarounds for now.

I believe it was designed this way intentionally, matching the packages attribute for instance, though it has to be noted that the same argument does not apply: determining the tree structure of nested attribute sets of packages is expensive, because it requires evaluating all packages.
For configurations, this is not expensive: (inputs.nixpkgs.lib.nixosSystem { modules = throw "unused"; })._type or null == "configuration" evaluates to true, showing that determining a leaf of the tree of configs only depends on a few files in nixpkgs (and not passing a non-existent argument to nixosSystem). Not entirely trivial, but very cheap and sufficiently robust that it's generally not a problem for commands like nix flake show or check.
So in my opinion, this is worth considering as a feature, even if it's not a bug.

Might need some discussion since hostnames can have periods in them.

One possibility is to preserve the meaning of foo#bar.baz to be the hostname bar.baz, and only look for nested attributes when a more explicit path syntax is used, such as
foo#group."system"
This is a valid path selection in the Nix language, but not a valid hostname, and it feels safe to assume nobody in their right mind uses config names with quotes in them ("I'm \"confused\"" = nixosSystem ...;).
It also allows hostnames to be grouped:
foo#group."system.lan"

I just noticed https://github.com/NixOS/nixpkgs/pull/320462

'--flake' cannot be used with '--file' or '--attr'"

Would it make sense to extend it so this only works when --flake and --attr are specified together?


Issue importing through require / browserify.

Hi there, previously on version "vue-grid-layout": "^2.1.13", I could do the following:
const VueGridLayout = require("vue-grid-layout");

let GridItem = VueGridLayout.GridItem;
let GridLayout = VueGridLayout.GridLayout;

But working with the version ^2.2.0 I cannot require it anymore without errors.
I have tried to import the lib itself (require("vue-grid-layout")) and also the common js file (require("vue-grid-layout/dist/vue-grid-layout.common")) and both options throw me this error while bundling:
{ Error: Cannot find module './isWindow' from<EMAIL_ADDRESS>
I've also tried import the src file directly, which complains about the import statement due to my build process:
{ Error: Parsing file<EMAIL_ADDRESS>Unexpected token (1:0)

Could you please advise how can I simply require your lib (which is awesome btw) and start to work with?
Thanks in advance

Sorry, but can find anything on vue-grid-layout with "isWindow".
You can check out a usage sample here: https://github.com/jbaysolutions/vue-grid-layout-sample-v2

Line 12387 from the vue-grid-layout.common.js:
var isWindow = require('./isWindow');
I believe it is something bundled together and my gulp process is trying to re-bundle. I've tried to research some way of just inserting the lib code within my own bundle without evaluating anything, but unsuccessful so far.
I appreciate your sample but it is also using import statements, which I'm avoiding at this moment.

Can you provide a sample project to reproduce this problem?


Cannot install pythainlp in Mac

Description
I cannot install pythainlp in Mac. I am using MacBook Air (macOS Catalina, version 10.15.7; and python 2.7.16.
I got this error when I tried to install:
ERROR: Command errored out with exit status 1: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/x5/hdhrw3tj30jf90d5djmy8mdr0000gn/T/pip-install-S6Bf1d/regex/setup.py'"'"'; file='"'"'/private/var/folders/x5/hdhrw3tj30jf90d5djmy8mdr0000gn/T/pip-install-S6Bf1d/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/x5/hdhrw3tj30jf90d5djmy8mdr0000gn/T/pip-record-UWApXl/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Could you please suggest me what to do?
Thank you

Hello. We doesn't support python 2.7. PyThaiNLP support python 3.6+ or higher.

Hello. We doesn't support python 2.7. PyThaiNLP support python 3.6+ or higher.

Thank you


Removing ServiceRpcT parameterization

Fixes #1601
Also:

Moving spi/*Rpc classes to spi/{MAJOR_VERSION}/*Rpc
Renaming DefaultRpc classes to HttpRpc/Grpc*Rpc as appropriate

Note: There are references in google-cloud-examples to Rpc-specific stuff (Only Tuples I think); I will file a separate issue to remove those.

I re-read the issue, but I am still not sure why we need to remove the ServiceRpcT parameterization. As an example, currently BigQueryOptions extends ServiceOptions<BigQuery, BigQueryRpc, BigQueryOptions>. The BigQueryRpc interface is independent of http/grpc, even if DefaultBigQueryRpc (now HttpBigQueryRpc) is not.

@michaelbausor , The Rpc interface (e.g. BigQueryRpc) is tied to old-platform vs proto and also the specific major version. When the Rpc class is old-platform, only http 1 is available. My understanding is that the design of using a fully wrapped surface means that old-platform vs proto and major versions shouldn't be exposed.

Changes Unknown when pulling 24619219e11d8a76078b7c4aafbbe468b1523cee on garrettjonesgoogle:master into ** on GoogleCloudPlatform:master**.


Gtk::Inhibit has been removed in very recent versions. Documentation says it's still there.

Gtk::Inhibit has been removed. I noticed it in version 0.18.0. But if you click the documentation link on the crates.io entry for gtk (v0.18.1), you get documentation for version 0.15.5, which still contains documentation for Gtk::Inhibit.
On your project website, gtk-rs.org, the confusion is even worse. Under "Available crates", it shows v0.17.1 but if you click the documentation button for that version, you get the docs for v0.15.5.
Lastly, in this repository, if you click the The Rust API [Stable] link in the Readme (https://gtk-rs.org/gtk3-rs/stable/latest/docs/), you get the documentation for 0.15.5. The Development link gives you the docs for 0.17.0.
You have serious version confusion/skew here that needs to be fixed.

https://gtk-rs.org/blog/2023/08/28/new-release.html#replacement-of-glibcontinue--glibinhibit

I will fix the docs for gtk3-rs.

Thank you for the link to the blog, but I had already found it. It was helpful in getting my project rebuilt with the latest version of gtk-rs.
And I appreciate your straightening out the issues I mentioned.

The website now shows the correct latest version. the only remaining bit is fixing the docs of gtk3-rs

The documentation versions are still a problem. On the website (https://gtk-rs.org/), clicking the docs icon in the GTK3 row gets you documentation for 0.15.5. There is a button in the lower right that says "This version is out-dated. Go to latest version". When you click it, you get the list of all crates. Click 'gtk' gets you the documentation for 0.15.5 again.
Similarly, clicking 'documentation' on https://crates.io/search?q=gtk gets you the 0.15.5 documentation on the website with the problems described above.


There are Fake FTDI chips around

Are you sure you're using official FTDI hardware, and not clones?
We had a clone and it stopped working at some point. We ordered some real FTDI ones (which were hardly more expensive) and it worked. Didn't test recently....

Yup, a 100% sure. That there's many clones out there which sometimes don't work properly is a well known fact.
This sample was originally specific for the winRT FTDI d2xx driver, that you had to manually install onto Windows IOT on the Raspberry PI and were only able to use through the FTDI library.
That installation process stopped working after Windows IOT got support for the FTDI chipsets out of the box. Sadly the default apis are not as fast as the FTDI driver direct driver support.

So that means that the FTDI stuff is still usable, but only using the built-in drivers?

You can use this sample with the built-in drivers that support FTDI by uncommenting/commenting the lines at https://github.com/Jark/FTDISample/blob/master/src/FTDISample/MainPage.xaml.cs#L17
The fast FTDI library from http://www.ftdichip.com/Drivers/D2XX.htm does no longer work so you can't use that approach.

Cool. Thanks for clarifying: Was scared with the possibility of serial communications not working at all..
:)

Hi I have bought a FTDI cable (original one) and when i run the sample i got
NON GENUINE DEVICE DETECTED
How can i get the sample working ?

Hi @wimdevriendt,
This sample was originally specific for the winRT FTDI d2xx driver, that you had to manually install onto Windows IOT on the Raspberry PI and were only able to use through the FTDI library.
That installation process stopped working after Windows IOT got support for the FTDI chipsets out of the box.
Microsoft have since then added built-in support for FTDI devices, so if you uncomment / comment the lines at  https://github.com/Jark/FTDISample/blob/master/src/FTDISample/MainPage.xaml.cs#L17 it should work for you.
I'll add it to my todo list to make the SerialDeviceManager the standard way of doing things.
Hope this helps,
Jark

Hi, if i uncomment is nothing is working. I have installed the drivers so maybe i should reimage the windows iot and not copy the drivers ? right ?

That might be worth a try, let me know if that fixes it for you.
Unfortunately I don't have any working testing setup, so I can't verify for you if the sample is still working, the last time I tested this sample was around the same time last year.
However, I would expect some very clear exceptions if anything wasn't working :)

Hi I created new image, indeed i see the usb ttl ftdi in devices without installing drivers
but i get device = null on line  var device = await ftManager.OpenByDeviceId(deviceNode.Id);
when i select the device

Seems like you need to add some device capabilities to the appxmanifest file to get it to work now:
https://social.msdn.microsoft.com/Forums/en-US/b9633593-377e-4d6f-b3a9-838de0555371/serialdevicefromidasync-always-returns-null-unless-the-serial-adapter-is-plugged-in-after-boot?forum=WindowsIoT
Give that a go.

Also it’s not working
It’s already in the package
From: Jark<EMAIL_ADDRESS>Sent: dinsdag 10 oktober 2017 11:30
To: Jark/FTDISample<EMAIL_ADDRESS>Cc: Wim De Vriendt<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Jark/FTDISample] There are Fake FTDI chips around (#11)
Seems like you need to add some device capabilities to the appxmanifest file to get it to work now:
https://social.msdn.microsoft.com/Forums/en-US/b9633593-377e-4d6f-b3a9-838de0555371/serialdevicefromidasync-always-returns-null-unless-the-serial-adapter-is-plugged-in-after-boot?forum=WindowsIoT
Give that a go.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Jark/FTDISample/issues/11#issuecomment-335415991, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAw6D7TqUU8iiQwgYRi0rdQoJ8pUESutks5sqzksgaJpZM4KD6eA.

Just to be clear: the specific DeviceCapability mentioned in that link are not supplied in the package manifest file supplied with the sample code in this repository.
If it's still not working it's possible that you've got a revision that's too new / different from the drivers that are supplied with Windows 10 iot or you've got a fake FTDI chip. You would have to either contact Microsoft directly or contact FTDI to find out if your usb serial device is supported or not.


Add --read-only for service create and service update

- What I did
This fix tries to address the issue raised in #29972 where it was not possible to specify --read-only for docker service create and docker service update, in order to have the container's root file system to be read only.
- How I did it
This fix adds --read-only and update the ReadonlyRootfs in HostConfig through service create and service update.
Related docs has been updated.
- How to verify it
Integration test has been added.
- Description for the changelog
Add --read-only for service create and service update
- A picture of a cute animal (not mandatory but encouraged)

This fix fixes #29972.
Related SwarmKit PR is https://github.com/docker/swarmkit/pull/1872
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

@yongtang there are some comments from @thaJeztah
Thanks!

@LK4D4 Thanks for the reminder. docker/swarmkit#1872 was merged yesterday. I will work on updating this PR shortly.

@thaJeztah Thanks for the review. The PR has been updated. And some of the tests have been changed to unit tests. Please take a look and let me know if there are any issues.

@yongtang I'm not sure, but failures look real enough

@LK4D4 Ah the failure is related to the changes in SwarmKit about explicitly disallow network pluginv1 creation in swarm mode (See discussion in docker/swarmkit#1899, docker/swarmkit#1894, and #30332)
The failure is being addressed in PR #30548 now. Please take a look.

@yongtang cool, thanks!

@yongtang just merged it.

Thanks @LK4D4! This PR has been updated as well now.

Thanks @thaJeztah. The PR has been updated with related bash and zsh completion added.

LGTM

@yongtang can you please open a PR to update docs/api/version-history.md

Thanks @vieux for the reminder. The PR #31145 has been opened.


Add Footer

Thanks for your contribution ❗❗ Keep contributing and leave a star if you liked the repo 😃


feat: add scala support to redis challenge.

Updated the spawn_redis_server.sh script, and added a line in the dockerfile to comment them out while running it on test runners.


VersionBot: Could run a spell checker on PRs

Ensure text in strings are correctly spelled (ignore embedded variable names, etc).
Could post a comment with all the corrections on opening a PR (wouldn't want this as a status check in case it made an error). So, soft-warning.
Props to @Page- :)

@jviotti recently added codespell to the Etcher repo: https://github.com/resin-io/etcher/pull/1067

@lurch Oooh, that's rather awesome and would make this pretty trivial. Thanks!

 ProcBots: Could run a spellchecker on a PR

 Spellchecker procbot


Finalization Window

I'm either a bit confused or concerned about how the finalization window works. 🤔
If I understand correctly, the buyer (or DApp via a default) prescribes an absolute timestamp for the deadline, by which point the buyer is required to either initiate a dispute or forfeit the opportunity to dispute (either by finalizing or letting the seller finalize). In contrast, our previous transaction flow provided a similar window, but it was 21 days relative to when the seller fulfilled her obligation.
My concern is that, since a buyer's performance requirement is not tied to a seller's performance requirement, the buyer is at a disadvantage. For example, a seller could accept an offer and then drag out the fulfillment until the eleventh hour when the buyer doesn't have enough time to make a decision about whether or not to initiate a dispute. I suppose that a solution might be for a buyer to prescribe additional deadlines that fall within the finalization window, which are not baked into the contract but can be self-enforced by threatening a dispute. But buyers may not know that they should or may be reluctant to do this. I'm also assuming that there is some cost associated with initiating a dispute (whether monetary or otherwise, and recoverable or not).
Is there something I'm missing about how the new transaction flow works? @nick @tyleryasaka @DanielVF

I think there could be a situation where the seller 'runs down the clock' and hopes the buyer does not start a dispute before the finalization window expires. I have heard of Ebay scams where the seller does exactly that: waits until the day before the buyer can no longer dispute the sale then sends a valid tracking number so the buyer thinks the item is on the way, only for the buyer to not receive their goods and lose their money.
For our purposes I think we can solve this by making the dispute policy clear to both buyer and seller and notifying the buyer to take action if deadlines have not been met. For example:

Buyer makes an offer on a laptop for sale.
Specifies 3 day shipping with a 14 day finalization window.
Specifies if goods have not been received within 7 days, a dispute will be filed.
After 7 days and if buyer has not already finalized, buyer receives reminder to initiate dispute. After 10 days of no action from buyer they get a warning that there are no disputes or refunds after the 14 day window.

The current contract also incentivizes dapps to get the buyer to either finalize or dispute by only paying commission if they do so. So hopefully that'll be enough to incentivize the right behavior from all parties.
Another possibility is that we give the buyer an option to extend the finalization window on-chain - though I think this should be a one time action so they can't do it indefinitely. Not sure if we really need that though 🤔

I share similar concerns as @micahalcorn here. There's a problem with different "rolling" expiries depending on when the seller takes action after the buyer's offer. So in one transaction the seller may advance the flow immediately, and in a second the seller may be slow and wait 20 days. From the buyer's perspective I'm much more likely to expect consistent behavior AFTER the seller has taken the next step vs. remember when I created the offer. Is it way too much work to have the logic mirror the old logic with the new marketplace contract?

I'll modify the contract to support a relative finalization window by assuming that any given timestamp < 1bn (about 30 years) should be added to the current timestamp. That way we can support both an absolute and relative finalization window.
On top of that, after talking with @wanderingstan last night I realized that instead of the finalization window passing meaning the seller can finalize (and receive their funds)... perhaps it should just mean that a seller can send the transaction to arbitration. It would then be up to the arbitrator to make a decision.
This would make it more difficult for a seller to 'scam' a buyer, but would also mean a seller cannot automatically receive their funds due to an unresponsive buyer without going to arbitration. Thoughts?

A relative finalization window makes sense for some listing types, but not all. When selling my bike, I might want to specify a finalization time of '3 weeks after the seller accepts the offer'. But for a home share, it makes more sense to specify '3 days after checkout', especially if the booking is way in advance. The former would be a relative date while the latter would be absolute.

Sorry, still having a hard time understanding terminology.
Is this what you mean by relative vs. absolute?
relative - not dependent on my last action, but dependent on the follow-on action of the counterparty?
absolute - dependent on my last action, regardless of when the counterparty takes the next step?

@matthewliu from my perspective, absolute means that the buyer (or DApp) sets an exact date for the end of the finalization window; i.e., Tue Aug 28 2018 15:00:00 GMT-0700 (Pacific Daylight Time). Relative means the date which occurs some number of [milli]seconds/hours/days after some other event. In practice, absolute is one stored value (finalizes) and relative is derived using two stored values (BUYER_PENDING event and 21 days).

Yea that's the idea. The finalization variable is a timestamp (seconds since 1st Jan 1970) the buyer specifies when making an offer. I'm suggesting that if this value is < 1,000,000,000 then it be treated as 'number of seconds after buyer accepts offer' and otherwise be treated as the actual finalization time. That should let us support both use cases.

As discussed with @nick today, we will leave the contract intact as updated with https://github.com/OriginProtocol/origin-js/pull/382 to support a relative finalization window. For now, we will set the finalization window to an arbitrarily high value (say, a year or more) and allow the seller to initiate a dispute if the buyer becomes unresponsive. This will allow us to use the previously-defined finalization window in the future without modifying the contract if we decide that we're comfortable with the risk of seller-abuse and we can't sufficiently trigger the buyers to return and finalize the transactions.


integration with redux-optimistic-ui

I've been trying to integrate both libraries to create optimistic forms using this awesome library.
Since redux-optimistic-ui is wrapping the reducer state with 'current' wrapping it again with combineForms creates a form with current prop.
In my  I hooked into myReducer.current, it does get the current values, but when I get into revert action, my beforeState has already changed and it won't revert to the correct state.
did anybody managed to do some optimistic updates (with revert/commit) using react-redux-form?
Thanks!

I'm not familiar with redux-optimistic-ui. I'll reopen this if you have a working code example and can demonstrate that something with react-redux-form is preventing you from doing what you want.

hey @davidkpiano I think the combination of those packages may be useful for many. I managed to get it to work. I'll post my a small how-to here soon! Thanks again!

Awesome to hear @mrsufgi !!


#1872 Improve travis-ci yaml for failing quicker

In addition for #1872 this should slightly improve the handling of our tests in travis-ci

Fixed some typos
Added set -e to fail certain steps "faster"
Added set +e at the end of those steps

Codecov Report

Merging #1880 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1880      +/-   ##
==========================================
+ Coverage   32.17%   32.19%   +0.01%
==========================================
  Files          99       99
  Lines        7657     7740      +83
==========================================
+ Hits         2464     2492      +28
- Misses       4873     4930      +57
+ Partials      320      318       -2

Impacted Files
Coverage Δ

cli/cmd/configure_domain.go
16.91% <0.00%> (+2.40%)
:arrow_up:

api/ws/hub.go
76.78% <0.00%> (+14.28%)
:arrow_up:

Continue to review full report at Codecov.

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


stiebel_eltron_isg_consumed_water_heating_today, decimal / rounding issue

The sensor reports values like 0.5 as 0. so there is a rounding / decimal issue for values below 1.
release 2024.2

Data type 6 is integer, step 1. Fractions of kWh are irrelevant.

Hello, from my point of view and for further calculations its is very important. I kindly also ask to deliver values below 1. thx in advance

Unable. As said, data type is integer, step 1.
Can't fix.

Closed because the modbus protocol does not provide the required data (as described above)


Added UI for delete payment method

added UI to delete

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

Project coverage is 95.65%. Comparing base (c457934) to head (2ab8415).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   95.65%   95.65%
=======================================
  Files          11       11
  Lines         391      391
=======================================
  Hits          374      374
  Misses         17       17

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


Fluid-Player

How can I add "Mute" to this code Please help me ?
[fluid-player-extended
layout="funky"
auto-play="autoPlay"
logo="https://www.fluidplayer.com/images/yourlogo.png"
logo-position="top right"
logo-opacity=".8"
ad-text="adText"
ad-cta-text="adCTAText"
html-on-pause-block-width="100"
html-on-pause-block-height="100"
responsive="responsive"]
[fluid-player-multi-res-video]
[
{"label": "720", "url": "http://cdn.fluidplayer.com/current/examples/video.mp4"},
{"label": "360", "url": "http://cdn.fluidplayer.com/current/examples/video360.mp4"}
]
[/fluid-player-multi-res-video]
[fluid-player-html-block]

[/fluid-player-html-block]
[/fluid-player-extended]

Hi @AMGTech1, I don't believe the mute option is available for the WordPress version of Fluid Player. However I'd advise posting on the WordPress support board to get the answer from the plugin developer directly - https://wordpress.org/support/plugin/fluid-player

Not related to the player itself.

How many fing times you going to send this crap???
Sent from my iPhone

On Feb 10, 2020, at 10:20 AM, Matīss<EMAIL_ADDRESS>wrote:
Closed #280.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@Rog62 you are subscribed to view all changes (as a watcher) to this repository. If you do not want to receive notifications about the updates to this repository, you should not subscribe to them. :)


Add Dolmenwood classes to character sheet

Hi Wes,
i think that's an cool idea, but i think it could wait until Gavin organizes the Kickstarter or releases the Dolmen Wood Setting books.

Yeah, it’s a pretty low priority, but they may come up in my game so I’ll probably add them and just change them later.


read-host bug

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Make manually any file with EM DASH character on filename like:
"this is a — file input.txt"
and copy filepath to clipboard
NEXT ON POWERSHELL WINDOW
Get-ItemProperty -LiteralPath $((Read-Host).Replace("`"",""))
HIT ENTER
PASTE CLIPBOARD WITH RIGHT CLICK, THEN HIT ENTER AGAIN
Expected behavior
PS C:\>Get-ItemProperty -LiteralPath $((Read-Host).Replace("`"",""))
"C:\some directory\this is a — file input.txt"

    Directory: some directory

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        14/09/2022     13:18              0 this is a — file input.txt

Actual behavior
PS C:\>Get-ItemProperty -LiteralPath $((Read-Host).Replace("`"",""))
"C:\some directory\this is a — file input.txt" # this is a input text from clipboard via right click!!!
Get-ItemProperty: Cannot find path 'C:\some directory\this is a — file input.txt' because it does not exist.
PS C:\>

Error details
PS C:\> Get-Error

Exception             :
    Type                 : System.Management.Automation.ItemNotFoundException
    ErrorRecord          :
        Exception             :
            Type    : System.Management.Automation.ParentContainsErrorRecordException
            Message : Cannot find path 'C:\some directory	his is a — file input.txt' because it
does not exist.
            HResult : -2146233087
        TargetObject          : C:\some directory	his is a — file input.txt
        CategoryInfo          : ObjectNotFound: (C:\some directory\this…file input.txt:String) [], ParentContainsErrorRecordException
        FullyQualifiedErrorId : PathNotFound
    ItemName             : C:\some directory	his is a — file input.txt
    SessionStateCategory : Drive
    TargetSite           :
        Name          : GetGlobbedMonadPathsFromMonadPath
        DeclaringType : System.Management.Automation.LocationGlobber, System.Management.Automation, Version=<IP_ADDRESS>0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
        MemberType    : Method
        Module        : System.Management.Automation.dll
    Message              : Cannot find path 'C:\some directory	his is a — file input.txt' because
it does not exist.
    Source               : System.Management.Automation
    HResult              : -2146233087
    StackTrace           :
   at System.Management.Automation.LocationGlobber.GetGlobbedMonadPathsFromMonadPath(String path, Boolean allowNonexistingPaths, CmdletProviderContext
context, CmdletProvider& providerInstance)
   at System.Management.Automation.LocationGlobber.GetGlobbedProviderPathsFromMonadPath(String path, Boolean allowNonexistingPaths,
CmdletProviderContext context, ProviderInfo& provider, CmdletProvider& providerInstance)
   at System.Management.Automation.SessionStateInternal.GetProperty(String[] paths, Collection`1 providerSpecificPickList, CmdletProviderContext context)
   at System.Management.Automation.PropertyCmdletProviderIntrinsics.Get(String path, Collection`1 providerSpecificPickList, CmdletProviderContext
context)
   at Microsoft.PowerShell.Commands.GetItemPropertyCommand.ProcessRecord()
TargetObject          : C:\some directory	his is a — file input.txt
CategoryInfo          : ObjectNotFound: (C:\some directory\this…file input.txt:String) [Get-ItemProperty], ItemNotFoundException
FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemPropertyCommand
InvocationInfo        :
    MyCommand        : Get-ItemProperty
    ScriptLineNumber : 1
    OffsetInLine     : 1
    HistoryId        : 2
    Line             : Get-ItemProperty -LiteralPath $((Read-Host).Replace("`"",""))
    PositionMessage  : At line:1 char:1
                       + Get-ItemProperty -LiteralPath $((Read-Host).Replace("`"",""))
                       + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    InvocationName   : Get-ItemProperty
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo :

PS C:\>

Environment data
PS C:\> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.2.6
PSEdition                      Core
GitCommitId                    7.2.6
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Get-ItemProperty -LiteralPath (Read-Host).Replace('"','')
Get-ItemProperty -LiteralPath (Read-Host).Replace('"',$null)

@20-EverGreen-2   I copied your file name and tried those steps but can't repro.
PS>  cd \temp

PS>  dir | out-file -LiteralPath (get-clipboard)

PS>  Get-ItemProperty -LiteralPath ((read-host).Replace("`"",""))
this is a — file input.txt                      # <-- Ctrl V to paste no quotes

    Directory: C:\temp

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          16/09/2022    17:05           1359 this is a — file input.txt

PS>  Get-ItemProperty -LiteralPath ((read-host).Replace("`"",""))
"this is a — file input.txt"                   # <-- Ctrl V to paste  manually add quotes which are removed.

    Directory: C:\temp

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          16/09/2022    17:05           1359 this is a — file input.txt

PS>  Get-ItemProperty -LiteralPath ((read-host).Replace("`"",""))
"this is a — file input.txt"                   # <-- Right click to paste

    Directory: C:\temp

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          16/09/2022    17:05           1359 this is a — file input.txt

Hi jhoneill !!!
Maybe you need to copy the character from app like babelmap.
Character code from this app in UCN format is: \u2014
HTML format: —
this is the character again: —
I tried to upload a file with the character.

this is a — file input.txt

Another thing
Im on a es-ES windows build!

Hi 237dmitry !
You create file from powershell console or manually?.
You need to create file manually.

You need to create file manually.

What is the difference? I created from powershell console. You see that the symbol "`u{2014}" is present.

237dmitry , but youre on a unix system?
Im on a windows 10 IoT Ent 21H2 es-ES build.
I think is a Culture UI problem.

but youre on a unix system?

But on Windows this works too:

but youre on a unix system?

But on Windows this works too:

I think is a Culture UI problem.

Maybe
PS >  $host.CurrentUICulture

LCID             Name             DisplayName
----             ----             -----------
1033             en-US            English (United States)

 PS > [console]::InputEncoding | Select WindowsCodePage, EncodingName

WindowsCodePage EncodingName
--------------- ------------
           1200 Unicode (UTF-8)

PS C:> $host.CurrentCulture
LCID             Name             DisplayName

3082             es-ES            español (España)
PS C:> [console]::InputEncoding | Select WindowsCodePage, EncodingName
WindowsCodePage EncodingName

            Western European (DOS)

I have this, i try to change settings same as you have.

i try to change settings same as you have.

change in intl.cpl to UTF8, reboot and add to $profile: $PSDefaultParameterValues['*:Encoding'] = 'Default'

i try to change settings same as you have.

change in intl.cpl to UTF8, reboot and add to $profile: $PSDefaultParameterValues['*:Encoding'] = 'Default'

I try, but not luck.
PS Q:\tmp> Get-ItemProperty -LiteralPath $((Read-Host).Replace(""",""))
this is a - file input.txt
Get-ItemProperty: Cannot find path 'this is a - file input.txt' because it does not exist.
PS Q:\tmp> $host.CurrentCulture
LCID             Name             DisplayName

1033             en-US            English (United States)
PS Q:\tmp> [console]::InputEncoding | Select WindowsCodePage, EncodingName
WindowsCodePage EncodingName

       1200 Unicode (UTF-8)

PS Q:\tmp> chcp
Página de códigos activa: 65001`
I set beta support for UTF-8 on intl.cpl.
And this powershell command
$profile: $PSDefaultParameterValues['*:Encoding'] = 'Default'
Returns error
PS Q:\tmp> $PROFILE: $PSDefaultParameterValues['*:Encoding'] = 'Default' ParserError: Line |    1 |  $PROFILE: $PSDefaultParameterValues['*:Encoding'] = 'Default'      |  ~~~~~~~~~      | Variable reference is not valid. ':' was not followed by a valid variable name character. Consider      | using ${} to delimit the name.

Im running out of ideas.

And this powershell command

Add this in $profile ))
$PSDefaultParameterValues['*:Encoding'] = 'Default'

If $profile does not exist create it
if (-not (Test-path $profile)) { new-item $profile -Force }  # Documents\PowerShell\Microsoft.PowerShell_profile.ps1

Two form are same for me at least.
And notice the character has changed to a "-" minus symbol!!!

So either what is going into the clipboard has a "-" , or it gets converted as it goes through the clipboard. It's not read-host
I tested this
[int[]][char[]](get-item '.\this is a — file input.txt').name
116
104
105
115
32
105
115
32
97
32
8212    <# Unicode for em dash
32
102
105
108
101
32
105
110
112
117
116
46
116
120
116

PS>  (get-item '.\this is a — file input.txt').name | set-clipboard

[int[]][char[]](Get-clipboard)
116
104
105
115
32
105
115
32
97
32
8212    <# Still there
32
102
105
108
101
32
105
110
112
117
116
46
116
120
116

You might want to paste what is in the clipboard into something else, check you still have an em-dash.

[int[]]char[]

I get a get-clipboard converted
PS Q:\tmp> Get-ItemProperty -LiteralPath $((Read-Host).Replace(""",""))
[int[]]char[].name
PS Q:\tmp> [int[]]char[].name
116
104
105
115
32
105
115
32
97
32
8212
32
102
105
108
101
32
105
110
112
117
116
46
116
120
116`
PS Q:\tmp> (get-item '.\this is a - file input.txt').name | set-clipboard PS Q:\tmp> [int[]][char[]](Get-clipboard) 91 105 110 116 91 93 93 91 99 104 97 114 91 93 93 40 71 101 116 45 99 108 105 112 98 111 97 114 100 41 PS Q:\tmp>

[int[]]char[]

I get a get-clipboard converted
PS Q:\tmp> Get-ItemProperty -LiteralPath $((Read-Host).Replace(""","")) [int[]]char[].name PS Q:\tmp> [int[]]char[].name 116 104 105 115 32 105 115 32 97 32 8212 32 102 105 108 101 32 105 110 112 117 116 46 116 120 116 PS Q:\tmp> (get-item '.\this is a - file input.txt').name | set-clipboard PS Q:\tmp> [int[]]char[] 91 105 110 116 91 93 93 91 99 104 97 114 91 93 93 40 71 101 116 45 99 108 105 112 98 111 97 114 100 41 PS Q:\tmp>`

SORRY, this above output is from powershell 5.1
add powershell 7 output below
PS Q:\tmp> chcp Página de códigos activa: 850 PS Q:\tmp> PS Q:\tmp> PS Q:\tmp> [int[]][char[]](get-item '.\this is a  file input.txt').name Get-Item: Cannot find path 'Q:\tmp\this is a  file input.txt' because it does not exist. PS Q:\tmp> chcp 65001 Página de códigos activa: 65001 PS Q:\tmp> PS Q:\tmp> PS Q:\tmp> [int[]][char[]](get-item '.\this is a  file input.txt').name Get-Item: Cannot find path 'Q:\tmp\this is a  file input.txt' because it does not exist. PS Q:\tmp>
Notice the transparent character EM DASH, i copied from your comment above " [int[]]char[].name "

Please unload PSReadline module and try again.

Please unload PSReadline module and try again.

How to do bro?

What you have put above seems to be corrupted. Possibly because of formatting issues  can you enter it as
  ```
text
```

What you have put above seems to be corrupted. Possibly because of formatting issues can you enter it as

Thx!, for the next.
I test recently on a virtual machine, in this case W10 Enterprise LTSC en-US native as OS and i have same issue.
Idk what happens, i installed powershell 7.2 via .msi downloaded from here:
https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.2#msi

The Working Group reviewed this issue but was unable to reproduce.


Support "Save All" for local files without local file system support

From @ItalyPaleAle
Currently "Save All" only supports the active file to be downloaded, not all.
There is also a question whether these actions should be called "Download" instead, since they actually trigger a browser download.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Updating Rescript Mapping

Updating rescript-ls mapping because rescript-lsp was deprecated and we cannot add rescript-language-server as an ensure_installed item, without the mapping to lspconfig

@williambotman /fixup


Added test for long string on MySQL

Currently nanodbc cuts strings retrieved from MySQL database to first 128 characters.

Please, don't mix unrelated changes in single PR. Please, split them.


fix(runtime-core): make component data take priority

I check the vue3 doc, find there is no change with vue2, so make a pr for this issue

This happens beacause when call applyOptions, component's data was first resolved. #1953

Thanks - I happened to be working on the same thing 😂  See c15311cf


Deploy preview failed

There is some kind of error happening right after Label job,
Deploy preview failed
Error: The process '/usr/local/bin/npx' failed with exit code 1

It's plausible, that there is some kind of cross contamination of multiple workflows and the "deploy preview" workflow from another yaml is somehow showing up under there.


Clients generated with UI does not work

I have installed wireguard with road-warrior script. It works really very good. Then I run
'sudo ./wireguard-ui.sh' and web ui server starts at port 5000. In Status tab it also shows all clients added by above script. I also updated private and public keys of interface from old  /etc/wireguard/wg0.conf   (generated by road warrior script) and updated interface address to <IP_ADDRESS>/24 (this interface adress is also generated by roadwarror script).
But when I add any client with your web-ui, It is displayed under Clients tab and also in /etc/wireguard/wg0/conf but not shown in Status Tab. Moreover any generated config file or QR code does not connect to the server. Only files generated with script works.
Update
Finally I found a solution. After every client addition or deletion You must run "sudo systemctl restart wg-quick@wg0" in terminal after clicking on "Apply Config" Button.

I also tried installing wireguard-ui without above script.  There is no any documentation of how to install wireguard and what to configure and when to run sudo ./wireguard-ui. But anyway here are steps that I made on a new new clean server which had never a wireguard server before:

I installed wireguard by sudo apt install wireguard wireguard-tools.
Then I ran sudo ./wireguard-ui
and thats all. This ways UI is not even able to generate a interface and again clients generated do not connect to server.

restarting wg-quick@wg0 removes all recorded stats. No need to restart the interface just upload new configuration to interface.

restarting wg-quick@wg0 removes all recorded stats. No need to restart the interface just upload new configuration to interface.
@afzl-wtu do you mean you used systemd to watch for the changes and upload new configuration to interface ?
how did you do that ?
Thanks

No need to restart the interface just upload new configuration to interface.

how did you do that ?

Change the ExecStart line in the unit file to this (adjust paths as necessary):
ExecStart=/usr/bin/wg syncconf wg0 <(/usr/bin/wg-quick strip /etc/wireguard/wg0.conf)

This won't apply all changes to the interface itself, though, as certain options are only understood by wg-quick (hence the wg-quick strip command).  But for just adding/removing/enabling/disabling clients without bumping others off, this is perfect.
See the wg-quick manpage for a list of those items that won't be refreshed.  When changes are made for these options in wireguard-ui, you'll have to restart wireguard manually, if you use the ExecStart line above.

restarting wg-quick@wg0 removes all recorded stats. No need to restart the interface just upload new configuration to interface.
@afzl-wtu do you mean you used systemd to watch for the changes and upload new configuration to interface ?
how did you do that ?
Thanks

Sorry for Late reply. There is a command in this script that After adding new configuration to /etc/wireguard/wg0.conf again adds the new added client configuaration to wireguard interface directly. So no need to create systemd and keep watching for changes in the file.
https://github.com/Nyr/wireguard-install

ExecStart=/usr/bin/wg syncconf wg0 <(/usr/bin/wg-quick strip /etc/wireguard/wg0.conf)

i'm new to this, are you referring to this line?
# Append new client configuration to the WireGuard interface
wg addconf wg0 <(sed -n "/^# BEGIN_PEER $client/,/^# END_PEER $client/p" /etc/wireguard/wg0.conf)

if so, how should this be for this setup?


Proposal: extend legacy module import syntax to a fully dynamic module loader

_Note: this is still a work in progress - I'm aware it isn't perfect or final by any means and should be seen mostly as a starting point to encourage discussion and re-consideration of the existing approach and solutions._
(based on ideas I expressed in https://github.com/Microsoft/TypeScript/issues/2357#issuecomment-85239703)
Summary
Since the new ES6 module syntax will be introduced soon, the older one - that's not actually bound to any standard, could be extended to a fully portable, dynamic and flexible module loader, that may even introduce "polyfills" as needed to achieve consistent behavior between different module systems and platforms.
Rationale
Javascript is a dynamic and network-oriented language. Documents, images and scripts can (and arguably should, in many cases) be loaded on the fly and as-needed, this leads to many performance advantages such as faster page loads, less pauses in execution, saving of network bandwidth and reductions in mobile battery use.
Loading modules may be expensive (for any of the above mentioned reasons, or additional ones), and should arguably be done only when necessary (this should be a standard and encouraged style in my opinion). Additionally, it is quite common to have cases where a module (or even the means to load it) is simply not available or compatible with the current platform (e.g. trying to load Node module in the browser) or there's a selection of modules with similar functionality (for example, different versions of the same module for mobile, desktop or server usage) which have to be loaded conditionally.
The current solution
The currently offered functionality is a relatively limited and "static" one, reminiscent of languages such as C# or Java where it is important to compile and sometimes "bundle" classes and modules together (or enable the generation of dependency graphs etc.). In these languages it would make sense to have all imports declared ahead-of-time and assign them global identifiers since in the vast majority of cases it is expected that the program would run in a relatively homogeneous and consistent platform.
As pretty much any JS developer would realize, this is certainly not the case for Javascript, where compatibility issues are abundant and  JIT compilation, initialization and script download may be a lengthy and expensive process, especially with larger libraries and on mobile platforms. CommonJS has long featured a simple and fully dynamic system, meaning it can be used in any scope of the program and yield locally scoped identifiers. The current TypeScript support for it is quite limited, and in many cases not powerful enough to express the full range of flexibility and convenience it offers.
The proposed solution
(Note: this should only be seen as a starting point for consideration, as I'm not a TS designer or implementer and probably not aware of all the edge cases and complexity this would entail, especially regarding backwards compatibility. I'm aware this may be completely impossible to implement, if only because of very subtle issues, but I decided to suggest it anyway)
I propose to extend the current (or soon to be "legacy") syntax e.g.:
import M = require("MyModule");

To allow the following additional features and capabilities:

Can be used in any scope of the program, including in functions, conditionals and loops.
Only loads the module on the first call, and caches for the following ones (standard behavior for CommonJS. May need to be simulated on others [note: this is very easy to implement]).
Identifier M is locally bound, and can be used as any variable can, including in closures etc.
Apply polyfills to load ES6 (or RequireJS?) modules dynamically, if or when that capability is added (personally it's hard for me to believe this capability wouldn't be [or is already?!] offered at some point, as this is a need that would quickly arise even on very simple cases).

Additionally, it may also support new features from the new ES6 system, such as default and * exports e.g.:
import DefaultExport = require("MyModule").default;
import NamespaceExport = require("MyModule").*;

And of course named exports, which would be a useful addition anyway, even today:
import NamedExport = require("MyModule").NamedExport;

It would make sense to target the "non-specific" import statement e.g.:
import MyModule = require("MyModule");

to be equivalent to a * import, but that is open to discussion.
Possible challenges
Although the vast majority of TS developers are probably not really aware of this, current semantics and behavior is "lazy", meaning it will only perform the actual loading of the module if it is used at least once at a value position. This may not be an expected or desirable behavior for many people and in some cases, especially if the act of loading the module has side-effects.
Personally I would prefer eager evaluation in this case, as it makes the program behave in a more predictable and literal way. Since the import keyword is mostly read as a verb and the require keyword closely parallels the CommonJS require() function (that's effectively used as a command), it would heavily suggest immediate execution. I understand changing this behavior would be a significant breaking change - this is a serious limitation that has to be discussed (of course it would be possible to keep this behavior, but I don't see that as desirable, workarounds may be possible though, but I haven't really considered that deeply yet).

@rotemdan, just for your info: TypeScript attempts to operate under a set of design goals.
In particular,

Align with current and future ECMAScript proposals

[Not] Provide additional runtime functionality or libraries.

My preference is for the legacy import syntax to be discontinued after version 2.0. It's confusing to have to explain the semantics of both systems - especially as they are both so similar.

@NoelAbrahams: as I've mentioned, I didn't post this necessarily as a concrete proposal (or with the actual belief it would actually be accepted), but as a way to encourage discussion on the importance of dynamic module loading and its usefulness and essential appropriateness for Javascript development.
I also mentioned that CommonJS already supports loading libraries dynamically, so seen in this way, TS is not aligned with CommonJS. But reading this more literally I understand their goal is to rather align with ECMAScript, so when ECMAScript provides a way to load modules dynamically (and I guess they probably will, at some point?), they will support it, and will have to "polyfill" (meaning "emulate" it) for it on other module systems (I do realize now using the word "polyfill" was a pretty poor word selection, so I might change it).
As for adding run-time functionality - I don't think it adds any (it simply allows to do what is already possible in CommonJS (and trying to be more closely compatible with it) .
Whether they will remove support to the old syntax? I don't know, that wasn't the issue here, I simply wanted to demonstrate how that might be done and the reasoning behind it.

Maybe to second @NoelAbrahams.  We got a lot of good out of the old external module syntax, and it's served us well.  I suspect we'll continue to support it, but as a legacy feature.  The ES6 module syntax is generally more robust and full-featured, as well as being standards-aligned, so we'll encourage people to prefer it.

Will it allow loading modules dynamically? and if not, how does that make it more robust? Are there any plans on how to approach that issue?

One big example of 'more full-featured' is its ability to allow circular references between modules.

As mentioned by @NoelAbrahams, supporting this feature would contradict with the TS design goals. more over modules are currently complex enough and do not need yet another variation.

There is a dynamic import proposal in stage 3. As a proposal in stage 3 it does align with TypeScript's design goals.

@trustedtomato that is covered by #12364


azd auth login does not work on WSL Ubuntu

[X] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
azd version 1.0.1 (commit e0cd1aca716fa5d08704beade7dcc734fe68f5f1)
Describe the bug
Getting this error when trying to login:
azd auth login
ERROR: logging in: failed to authenticate: exec: "xdg-open,x-www-browser,www-browser": executable file not found in $PATH
To Reproduce
Steps to reproduce the behavior...
Install azd with this script:
curl -fsSL https://aka.ms/install-azd.sh | bash
run
azd auth login
Expected behavior
Login successful
Environment
Information on your environment:
WSL Ubuntu
Additional context
Add any other context about the problem here.

@ruslany thanks for reporting this. There is a similar issue #2291. Marking this as a duplicate.
As a workaround you could do azd auth login --use-device-code https://github.com/Azure/azure-dev/issues/2291#issuecomment-1561268901