feat: Twindle homepage proposal

Hi, this is my proposal for the webpage :)

these options change color when the user hovers

Looks nice!!

nice.

Wow! I really like it. Nice design, clean code...

Your entry should be homepage3

files moved


Adding  value of System.DateTime.MinValue to SqlParameter with SqlDbType.Variant throws SqlDateTime overflow exception.

Describe the bug
I was trying to add value of System.DateTime.MinValue through a SqlParameter with SqlDbType.Variant and got the exception as below:
Exception message:
SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.

To reproduce
First you can create a table by running a command like:
CREATE TABLE <tablename> (<column name> sql_variant); on SSMS
Then:
            var builder = new SqlConnectionStringBuilder()
            {
                DataSource = "localhost",
                InitialCatalog = <table name>,
                IntegratedSecurity = true
            };

            using SqlConnection con = new(builder.ConnectionString);
            try
            {
                con.Open();
                //DateTime value = new DateTime(2000, 1, 1);
                DateTime value = DateTime.MinValue;
                SqlParameter param = new SqlParameter()
                {
                    SqlDbType = System.Data.SqlDbType.Variant,
                    // SqlDbType = System.Data.SqlDbType.DateTime2,
                    ParameterName = "@value",
                    Value = value
                };
                SqlCommand comm = new SqlCommand()
                {
                    CommandText = $"INSERT INTO TestVariantDateTime (f1) Values (@value)",
                    Connection=con,
                    CommandType=System.Data.CommandType.Text
                };

                comm.Parameters.Add(param);
                comm.ExecuteNonQuery();
            }
            catch(Exception ex)
            {
                Console.WriteLine(ex.Message);
            }

Expected behavior
the value should be added as requested.
Further technical details
Microsoft.Data.SqlClient version: 3.0.0
.NET target: Net5
SQL Server version: SQL Server 2019
Operating system: Windows 10
Additional context
This happens because in SqlParameter class at line 1471:
 if (actualType == SqlDbType.Variant)
                {
                    mt = MetaType.GetMetaTypeFromValue(val, streamAllowed: false);
                    actualType = MetaType.GetSqlDataType(mt.TDSType, 0 /*no user type*/, 0 /*non-nullable type*/).SqlDbType;
                    isSqlVariant = true;
                }

and GetMetaTypeFromValue returns:
case TypeCode.DateTime:
                    return s_metaDateTime;

This could be simply solved by returning s_metaDateTime2 when the value from dotnet Type is System.DateTime

Closing the issue as based on the SQL Server data type mappings  this is by design and we cannot convert System.DateTime to SqlDbType.DateTime2. The value should be in range of  January 1, 1753 to December 31, 9999 to an accuracy of 3.33 milliseconds. The other way around could be defining the Parameter.SqldbType as datetime2 if we need to insert an older date and not SqlDbType.Variant, with keeping in mind that we are talking about parameter type and  that the column is still sql_variant


Generated migration is invalid due to SQL statement order

Describe the bug
A migration generated using createMigration() was invalid due to it trying to add foreign key references before creating the relevant referenced table.
Stack trace
== Migration20200213043937: migrating =======
[query] savepoint trx4
[query] set names 'utf8'; [took 2 ms]
[query] set session_replication_role = 'replica'; [took 2 ms]
[query] create table "location" ("id" serial primary key, "description" text not null); [took 5 ms]
[query] create table "location_moves" ("id" serial primary key, "from_location_id" int4 not null, "to_location_id" int4 not null, "stock_id" int4 null, "mix_id" int4 null); [took 3 ms]
[query] alter table "location_moves" add constraint "location_moves_from_location_id_foreign" foreign key ("from_location_id") references "location" ("id"); [took 3 ms]
[query] alter table "location_moves" add constraint "location_moves_to_location_id_foreign" foreign key ("to_location_id") references "location" ("id"); [took 1 ms]
[query] alter table "location_moves" add constraint "location_moves_stock_id_foreign" foreign key ("stock_id") references "stock" ("id") on delete set null; [took 2 ms]
[query] rollback to savepoint trx4
[query] rollback
(node:37036) UnhandledPromiseRejectionWarning: error: relation "stock" does not exist
    at Connection.parseE (/Users/soroushjp/Dropbox/dev/devpath/src/github.com/vowfood/stockyard-v2/node_modules/pg/lib/connection.js:614:13)
    at Connection.parseMessage (/Users/soroushjp/Dropbox/dev/devpath/src/github.com/vowfood/stockyard-v2/node_modules/pg/lib/connection.js:413:19)
    at Socket.<anonymous> (/Users/soroushjp/Dropbox/dev/devpath/src/github.com/vowfood/stockyard-v2/node_modules/pg/lib/connection.js:129:22)
    at Socket.emit (events.js:223:5)
    at Socket.EventEmitter.emit (domain.js:475:20)
    at addChunk (_stream_readable.js:309:12)
    at readableAddChunk (_stream_readable.js:290:11)
    at Socket.Readable.push (_stream_readable.js:224:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:181:23)
(node:37036) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:37036) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

To Reproduce
Steps to reproduce the behavior:

Create entities where an alphabetically prior entity references an alphabetically latter entity.
Generate an initial migration (empty database)
Attempt to run migration

Expected behavior
Generated DDL needs to be ordered such that reference checks are sensible.
Additional context
I believe this is avoided in MySQL using set foreign_key_checks = 0, but there is no equivalent in Postgres. I believe the superior solution here is to order generated SQL statements appropriately. In the particular case of foreign key constraints, simply having ALTER TABLE statements happen after CREATE TABLE statements would resolve the issue.
Versions

Dependency
Version

node
12.14.1

typescript
3.7.5

mikro-orm
3.1.0

your-driver
postgresql

I believe this is avoided in MySQL using set foreign_key_checks = 0, but there is no equivalent in Postgres.

Actually there is, and ORM implements it. Swapping session_replication_role from origin to replica should work the same (or at least similarly). But apparently it does not help with this particular example.
https://stackoverflow.com/questions/38112379/disable-postgresql-foreign-key-checks-for-migrations
Agreed that the ultimate fix is to order correctly. We can at least order entities so we trigger alter statements after create ones as you suggested, that will be pretty easy.

I think I will go for more robust solution, I was planning to do some refactoring in how the schema diff works, abstracting it so we can also get inverse diff for the down method implementation.
For now, one should manually fix the order in the generated migration.

Hmm interesting, I wonder why the Stack Overflow answer doesn't work, maybe due to my Postgres server version (10.11).

For now, one should manually fix the order in the generated migration.

Sounds good, works for me.

I was planning to do some refactoring in how the schema diff works, abstracting it so we can also get inverse diff for the down method implementation.

For what it's worth (unrelated to this issue), I don't think down migrations are all that useful. Would this be possible today just by editing the entity to remove something, and then generating a new migration?

Hmm interesting, I wonder why the Stack Overflow answer doesn't work, maybe due to my Postgres server version (10.11).

My bet is that is helps when inserting/updating records, but not for DDL (schema commands).

For what it's worth (unrelated to this issue), I don't think down migrations are all that useful.

Being able to generate it will be just a side effect, the main goal is to make it more robust and reliable (as well as well ordered). Also there were users in the past who asked for this feature.

Would this be possible today just by editing the entity to remove something, and then generating a new migration?

Yes, but that is not the same as down migration. I don't wanna advocate for down migrations, as I won't be probably using them myself, but I can imagine it is usable.
The point of my planned changes is that I will have it all abstracted so I can generate up and down migrations in the very same way, just by swapping arguments of a comparator.

All makes sense @B4nan, thank you for the context.

I hit this as well, context in closed duplicate above.


failed to disable packages

I tried setting doom-disabled-packages manually or using disable-packages! but packages are still being installed and enabled.
Should this line https://github.com/hlissner/doom-emacs/blob/e2442e7d80c16e0d80e90cd62cbca1d2c10b2e14/core/core-packages.el#L222 be
`((if (not (memq ',name doom-disabled-packages))
   (setf (alist-get ',name doom-packages) ',plist))

?

That line is correct. There should be an entry for every package in doom-packages regardless of whether they are disabled or not. That is intentional.
What package are you trying to disable?

I see. So disabled packages are always installed. It seems that after changing (disable-packages! ...) in my packages.el, I need to make autoloads to make them actually disabled. That solves my problem. Thanks!


Translations of images

We can translate articles into other languages, but what about the pictures in the articles? Should we translate them? Or should we make no changes and make the translations compatible with the pictures?

Hi, I don't have any automated tool to deal with image translations at the moment, so don't worry about those for now. Thanks for the translations by the way.

I mean ways to encode/store such translations on images. Right now I'm storing the rasterised images and vector files in english, and my build scripts can't generate new images from translations at the moment, so the website/ebooks only use images with english text. It may be possible to tweak the scripts to bring support for translations, but it will take some time and I'm working on a new article at the moment.


ForceFullUpdate not working

If you call it the match gets paused.
m_nDeltaTick needs to be at 0x174 instead of 0x178.

Then make a pull request?

Fixed.


Update ch9.md

修改表述

Sorry I don't think removing the phrase building block here is more appropriate.... , still, thanks.


Data validation

We are not currently defensive enough with input. All input to the controller, host, router, and discoverd needs to be fully validated before processing (and tests added for bad input).
In addition we should have standard good error messages and status codes that point at the exact field that is incorrect, this is partially mentioned in #322. We also need to ensure that conflicts with existing objects are handled correctly.
Controller

[ ] Release
[ ] Formation
[ ] Job
[ ] Resource
[ ] Provider
[ ] Route
[ ] Artifact
[ ] App
[ ] Key

Router

[ ] Route

Host and discoverd should wait until #170 is addressed.

Error messages stand improved now that #749 has landed.

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


Discrepancy in result from _validate/query API and actual query validity

Signed-off-by: Andriy Redko<EMAIL_ADDRESS>Description
It turned out, the validation is subject to what is stored in the index. At least for date properties there is an optimization which basically says if the index contains any document with the property value in required range or not. If none - the query is rewritten as MatchNoneQuery and that query is being validated instead of original one (in this case, the validation passes successfully for basically any type of queries or constraints). However, as the new data gets in, the validation and query may start to fail at any moment.
The suggested solution is to not apply the optimization for  date properties but always assume there is a match. As such, the query search/shard contexts have been enriched with new property validate(): it is set to true only when query validation request is served.
PS: Another variation of this issue is when query contains properties which do not exist in the index at all. This flow is not covered by this pull request yet.
Issues Resolved
Fixes https://github.com/opensearch-project/OpenSearch/issues/2036
Check List

[X] New functionality includes testing.

[X] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@AmiStrn have a solution for you :-)

Wow, this is awesome! Nice catch. Thanks @reta , i will run this branch to validate that it fixed the issue on our end as well.


Add empty object to expressionStatements.

The idea is next: when you write
module.export = {
    42: 42
}

You assume that you are in node env, so you have global object module,
but we as you see in this code it doesn't exports anything because of typo.
export -> exports
so in node env you will get undefined
but as we want to be nice eval and eval expressions without module.exports:
({ 42: 42 })

we try to do it and get an Error, because code have no module to write export prop in it
So our desicion is to temporaly polute global object with module.

fix #4
my longest commit msg ever, @zxqfox check it out

Coverage decreased (-6.0%) to 94.0% when pulling dbb4e0b1dbc01f84506b3d873d404750b6474acf on yeti-or.addModuleToExpressions into cc725ee7eedf0f77880e8a34b894da6786b69d8a on master.

Coverage remained the same at 100.0% when pulling 9c3aa5121a2a024fccd7d7bb21d7e829bb4092ba on yeti-or.addModuleToExpressions into cc725ee7eedf0f77880e8a34b894da6786b69d8a on master.

Coverage remained the same at 100.0% when pulling 1c510dbf6ac153c861989846e79c5172c37ee3fd on yeti-or.addModuleToExpressions into cc725ee7eedf0f77880e8a34b894da6786b69d8a on master.

🆙

👍 :shipit:


Export to Latex

I think it would be nice if the graphs created could be rendered/exported to latex. I find myself working with graphs mostly in latex papers, so it would be very helpful if I could just build them in Graf, and copy+paste into the latex doc.

Is there a specific file format you're looking for?
You can always take a screenshot and include the image in latex, or use the export to svg feature.

Is there a specific file format you're looking for?
You can always take a screenshot and include the image in latex, or use the export to svg feature.

It would probably be .tex.
For the screenshot, using external pictures in latex is surprisingly annoying because it rarely centers the way you want it even with fiddling with it. SVG's are similar. So exporting it to tex is just more convenient.

Export to LaTeX via tikz would probably make the most sense IMO. Similar to how it works on MadeByEvan's FSM generator http://madebyevan.com/fsm/


[d3d9] Dragon Nest - Effect issue

Software information

Dragon Nest

System information

GPU: Nvidia GTX 1050ti
Driver: 456.98
Windows 10
DXVK version: 1.8.1

Apitrace file(s)
https://drive.google.com/file/d/16wglxk14gdbaiNRUuDXEdAmQb3ZOigrV/view?usp=sharing
Log files
d3d9.log: DragonNest_x64_d3d9.log
[w/o DXVK]

[DXVK]

Currently using a fix provided by a modder. I'll just drop the DLL.
dv-d3d_x64.zip
The issue only happens if you have AMD/ATI card.
Also tried using customVendor/Device, it didn't work.

Hi is this dragon nest sea on Linux using Wine?

Hi is this dragon nest sea on Linux using Wine?

Windows 10

Fixed my issue by changing this value  alphaSizeId = m_module.constf32(4096.0f); to (256.0f) then enabled d3d9.alphaTestWiggleRoom = true

I tried to look into this, but I can't reproduce the issue using the apitrace, even with 1.8.1.

Closing since the game is changing to DX11.


MailboxMovePublishedScopes error on New-OrganizationRelationship

When trying to create new Organization Relationship with more than 1 MailboxMovePublishedScopes getting error:
Number of scopes specified '2' exeeds the allowed limit '1'.     + CategoryInfo          : InvalidOperation: (XXXXXXXX:String) [New-OrganizationRelationship], MailboxMigrationScopeOverLimitException     + FullyQualifiedErrorId : [Server=PR3P193MB0777,RequestId=0ba78611-c8d5-462a-87a9-c3871652ba93,TimeStamp=3/12/2021 2:33:59 PM] [FailureCategory=Cmdlet-MailboxMigrat     ionScopeOverLimitException] 3724FBFA,Microsoft.Exchange.Management.SystemConfigurationTasks.NewOrganizationRelationship     + PSComputerName        : outlook.office365.com

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

ID: 61bdc5c8-91af-66ca-cc94-3127fea1b8c3
Version Independent ID: 29ec4bea-aa01-8f74-f820-adb77c57aa4f
Content: New-OrganizationRelationship (ExchangePowerShell)
Content Source: exchange/exchange-ps/exchange/New-OrganizationRelationship.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@chrisda  Thank you very much for  sharing this explanation. @andy-rwalker Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. We proceed here to close it.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Retry integration test setup on failure

Had an integration test fail when trying to do some of the environment setup for the test - specifically creating the github repo: https://github.com/github/gh-gei/actions/runs/3065391471/jobs/4949797463
We could probably catch any error when doing test setup, and reset the test environment and start over.

Closing this in favor of #659 which is more descriptive.


Docs: fix Box z-index bug

We have a subtle bug on the new Box docs page, where the code example covers the header:
https://user-images.githubusercontent.com/12059539/109564651-381c6480-7a96-11eb-93bc-262c8e1e5e57.mov
Obviously not a show-stopper, but a little annoying, right?
While reading a blog post, this section jumped out at me. A possible solution for this bug? As it turns out: yes!
https://user-images.githubusercontent.com/12059539/109564848-79ad0f80-7a96-11eb-90d4-24556dae01f1.mov

LGTM. If you want to document the new CSS property, you can add and merge it.


Dont work on samsung smarphones

The mask don't work in samsung phones. Tested in Galaxy S8 and Galaxy A5 using chrome and samsung stock browser.

I update the angular version and it worked.

Hi,
What's your current angular version, i tried with the 4.2.6 and it didn't work.
Thanks in advance

I updated all packages in my project. I'm using 4.2.6 too.

@adrianobisca @filipeesch. Please try the new version 4.3.1.

@cesarrew thank you very much, it solved the problem that my team faced in here. Cheers.
Valeu mesmo.


"The app must perform all environment-specific logic at that point only." Confusing

Ref: https://github.com/beporter/CakePHP-EnvAwareness/blob/a83170ddc7c6a8970471db04bac6a4f40d6867e2/slides/env-aware-cake-apps.md#env-specific-settings-are-checked-and-loaded-once
You say it should only perform all environment specific logic at that point only, but really everything is environment specific as defined by the APP_ENV, what you really mean is the application should figure out it's environment in one place and only one place.

Closed via 0c5e5d3(?)


Add a way to disable adding interrupts.

In code which needs to test fork and other process related functions, it should be possible to disable the interrupt handler, which interferes with code which has it's own signal handlers.
https://github.com/rspec/rspec-core/blob/d730c023b0765ffeaa5becb80f17e1fc02d2f9d1/lib/rspec/core/runner.rb#L65
Suggest something like config.disable_signal_handlers! or something similar.

https://github.com/rspec/rspec-core/pull/2722
Here is the PR, can you please check it? Thanks.


chore: bdd-nh-1587477624 to 0.0.1

chore: Promote bdd-nh-1587477624 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Allow registry credentials to be cleared or empty

Codecov Report

Merging #965 (141ba7f) into master (abb2f84) will decrease coverage by 0.75%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #965      +/-   ##
==========================================
- Coverage   74.31%   73.56%   -0.76%
==========================================
  Files         133      132       -1
  Lines       13762    12852     -910
==========================================
- Hits        10227     9454     -773
+ Misses       3535     3398     -137

Impacted Files
Coverage Δ

assemblyline/odm/models/service.py
100.00% <100.00%> (ø)

assemblyline/odm/models/service_delta.py
100.00% <100.00%> (ø)

assemblyline/filestore/__init__.py
83.88% <0.00%> (-8.12%)
:arrow_down:

assemblyline/datastore/collection.py
62.24% <0.00%> (-5.24%)
:arrow_down:

assemblyline/odm/models/user.py
86.00% <0.00%> (-2.89%)
:arrow_down:

assemblyline/odm/randomizer.py
92.67% <0.00%> (-2.59%)
:arrow_down:

assemblyline/common/heuristics.py
84.78% <0.00%> (-2.18%)
:arrow_down:

assemblyline/common/forge.py
90.69% <0.00%> (-1.43%)
:arrow_down:

assemblyline/datastore/helper.py
43.66% <0.00%> (-0.53%)
:arrow_down:

assemblyline/odm/models/file.py
100.00% <0.00%> (ø)

... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


chore(deps): update terraform terraform-ibm-modules/landing-zone-vpc/ibm to v7.4.1

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/landing-zone-vpc/ibm (source)
module
patch
7.4.0 -> 7.4.1

Release Notes

terraform-ibm-modules/terraform-ibm-landing-zone-vpc (terraform-ibm-modules/landing-zone-vpc/ibm)
v7.4.1
Compare Source
Bug Fixes

added workaround for known provider issue ([#160](https://github.ibm.com/GoldenEye/icd-datastax-module/issues/160)) (#592) (8707703)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.

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


python311Packages.pyschlage: 2023.8.1 -> 2023.9.0

Diff: https://github.com/dknowles2/pyschlage/compare/refs/tags/2023.8.1...2023.9.0
Changelog: https://github.com/dknowles2/pyschlage/releases/tag/2023.9.0
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

4 packages built:

python310Packages.pyschlage
python310Packages.pyschlage.dist
python311Packages.pyschlage
python311Packages.pyschlage.dist


Add corny dad jokes from the internet

Exactly what it says on the tin

I will update the dashboard text

It looks like a lot of the jokes have syntax errors in them, and there aren't any commas after each item.

It looks like a lot of the jokes have syntax errors in them, and there aren't any commas after each item.

Yeah, that's why I've kept this a draft. I'm fixing it up rn

It looks like a lot of the jokes have syntax errors in them, and there aren't any commas after each item.

Yeah, that's why I've kept this a draft. I'm fixing it up rn
Which have the syntax errors in?

The ones with nested quotes that haven't been escaped. E.g., "hello "there" world".

It looks like a lot of the jokes have syntax errors in them, and there aren't any commas after each item.

Yeah, that's why I've kept this a draft. I'm fixing it up rn
Which have the syntax errors in?

The ones with nested quotes that haven't been escaped. E.g., "hello "there" world".

Idk how to do that lol. I'll just leave it, I suppose

It looks like a lot of the jokes have syntax errors in them, and there aren't any commas after each item.

Yeah, that's why I've kept this a draft. I'm fixing it up rn
Which have the syntax errors in?

The ones with nested quotes that haven't been escaped. E.g., "hello "there" world".

Idk how to do that lol. I'll just leave it, I suppose

Add a backslash \ in front of the nested quotes: "hello \"there\" world".

It looks like a lot of the jokes have syntax errors in them, and there aren't any commas after each item.

Yeah, that's why I've kept this a draft. I'm fixing it up rn
Which have the syntax errors in?

The ones with nested quotes that haven't been escaped. E.g., "hello "there" world".

Idk how to do that lol. I'll just leave it, I suppose

Add a backslash \ in front of the nested quotes: "hello "there" world".

Is that right?

I've fixed it for you. Thanks for your contribution!


Introduce code formatting in CI

I think it would be nice to have a code formatting in CI. What is the preferred option for C++? I guess we could use clang-format...

+1 for clang-format

android has ktlint already.

We have clang-format now.


Fix crash in checkEligibility

Fix for issue: https://github.com/Wootric/WootricSDK-iOS/issues/124

No more crashes for me. Looks good @diegoserranoa :+1:


session->minor_ver is never populated

It seems to me that session->minor_ver is never populated. When we disable TLS 1.2 and below, I am hitting this error.

I think I should add a line below this statement , but the comment looks a little concerning.

I think the long term solution is to parse the session header and get the version fields from the headers. If omitting headers, it is assumed that the serialized data matches the default versions. Let me know if my understanding is wrong.

I think the long term solution is to parse the session header and get the version fields from the headers. If omitting headers, it is assumed that the serialized data matches the default versions. Let me know if my understanding is wrong.

That's right @zhihan - we need to add a version specifier to serialized session data.

I think when supporting 1.2 and 1.3 alongside each other, we require a serialized session format along the following lines:

I created https://github.com/ARMmbed/mbedtls/issues/4802 to track the necessary preparation on upstream Mbed TLS.

ARMmbed#4802 has been merged. We can close this after the next merge of development into tls13-prototype


“Error! Server responded with: Error: Error status: 409” by usage of IDTA 02006-2-0_Template_Digital Nameplate

Hello,
when we, the energy informatics group of the Fraunhofer IOSB-AST, built an AASX file together with a project partner, based on the IDTA 02006-2-0_Template_Digital Nameplate given via http://smt-repo.admin-shell-io.com/, we get the error “Error! Server responded with: Error: Error status: 409”, even though there is guaranteed no network issue, as it works with different files at any given time. We reviewed the generated files multiple times via different programs like the Package Explorer. The errors seems to based on some serialization error, even though all the needed concept descriptions are given.
This stops us from using BaSyx as our AAS framework for the continuous development of an energy market data space. We could also review the files individually.

Hi,
are you using BaSyx Java V1 or V2? This repository is about V1. If you are still using V1, the error may be due to this. For V2, see https://github.com/eclipse-basyx/basyx-java-server-sdk


Warning for every fields on pspp "Warning: v00001 listed in very long string record with width 0032, which requires only one segment"

First of all thank you for this great library. It has been of great help to us.
We are using GNU PSPP 1.4.1. We get warning for all fields width. SPSS considers width greater than 255 to be long string record. But at the moment, every field is being listed in very long string record.

This is a code snippet from Sav/Writer.php around line 179. Apparently the Record\Variable::isVeryLong($var->width) is expected to return boolean value if we look at the implementation. Because of this every field is being marked as very long string.
if (Record\Variable::isVeryLong($var->width) !== 0) {
     $this->info[Record\Info\VeryLongString::SUBTYPE][$shortName] = $var->width;
}

I replace 0 with false and could get rid of the warnings. But when using width above 255, We get blank file on GNU PSPP. Because of this we are bound to use width below 255.

I notice this https://github.com/tiamo/spss/blob/c5ce42cb6555ef2eeace76775789c9445af51ec6/src/Sav/Record/Data.php#L466 and this https://github.com/tiamo/spss/blob/c5ce42cb6555ef2eeace76775789c9445af51ec6/src/Sav/Record/Data.php#L379
and probably the correct is:
$width = ($var->write[2] !== 0) ? $var->write[2] : $var->width;

As it's always set, because in the initialization is set as cero: https://github.com/tiamo/spss/blob/c5ce42cb6555ef2eeace76775789c9445af51ec6/src/Sav/Record/Variable.php#L65
Then in the writer this seem to be wrong too:
https://github.com/tiamo/spss/blob/c5ce42cb6555ef2eeace76775789c9445af51ec6/src/Sav/Writer.php#L118-L129
Probably the correct code should be:
$variable->print = [
    0,
    $var->format,
    $var->width !== 0 ? min($var->width, 255) : 8,
    $var->decimals,
];
$variable->write = [
     0,
     $var->format,
     $var->width !== 0 ? min($var->width, 255) : 8,
     $var->decimals,
];

Also the description of seem to be in a different order of how they are set here:
https://github.com/tiamo/spss/blob/c5ce42cb6555ef2eeace76775789c9445af51ec6/src/Sav/Record/Variable.php#L51-L65
So, i think all this should be fixed and then see if the test LongStringTest pass. @nzalheart444 can you add all that changes and test again if that fixed the problem?

If I replace 0 with false I get rid of the warnings, but also spss and pspp can read a file with a long a string data and just with that change also the LongString test pass. So, i have not an example to test the issue you mention is produced with pspp after the replace of 0 with false.

@nzalheart444 https://github.com/tiamo/spss/pull/62 should fix this issue.


[Question] ShenYu Admin OceanBase Support

Question
I would like to inquire about adding support for OceanBase in ShenYu Admin. OceanBase is a distributed, high-performance relational database developed by Ant Group. The Community Edition of OceanBase is open-source and widely used for its scalability, high availability, and compatibility with MySQL and Oracle databases. Integrating OceanBase with ShenYu would allow users to leverage its strengths in handling large-scale, distributed systems.
I am interested in contributing to this feature and would appreciate any guidance or suggestions on how to proceed with the integration. I'm eager to collaborate with the community to make this support a reality.

Have you considered using mybatis-plus to decouple different databases?

Have you considered using mybatis-plus to decouple different databases?

As a member of the MyBatis-Plus development team, I agree with the suggestion. However, it’s important to note that MyBatis-Plus supports multiple databases primarily through the use of its API, such as the QueryWrapper. To truly decouple from specific databases, it would require converting the existing SQL written in XML to be executed through code. This approach is not straightforward and would have a significant impact. Additionally, there are other concerns, such as MyBatis-Plus not handling database keywords automatically.
The main purpose of introducing MyBatis-Plus is to reduce the amount of basic CRUD development, avoiding the repetitive task of writing MyBatis XML code, rather than quickly addressing the need to adapt to multiple databases. I look forward to further discussions within the community on whether to introduce MyBatis-Plus and the scope and extent of its integration.

Use mybatis-plus to implement the logic in xml again, Many of them are CRUD.
For database keywords, you should try to avoid them in the table design. If it exists now, consider adding a prefix before the keyword field. When the version is upgraded, perform data migration.
However, this does require a significant amount of work and is worth it in the long run.

Use mybatis-plus to implement the logic in xml again, Many of them are CRUD.
For database keywords, you should try to avoid them in the table design. If it exists now, consider adding a prefix before the keyword field. When the version is upgraded, perform data migration.
However, this does require a significant amount of work and is worth it in the long run.

Sure, perhaps we could create a new issue to gather more feedback on integrating Mantis-Plus.


This is not an Issue, it is a request (sorry but I did not know where I could give u a comment)

I was wondering if it would be possible to add the portal stone and the guard stone test in the empty slots of the hammer or some way to add the item we want to have quick access to it without copying the commands, I'll stay tuned to your comments. Thanks

The idea is nice but out of scope for this mod. Maybe if I have enough spare some day I can think of creating a new mod for that. ;D


Fedex Label Creation

This is a starting place for creating Fedex Labels. It provides a very small subset of the options available but it's working successfully to create labels in production for me.

Awesome, thanks for contributing such a big and important feature! :+1:
Just had a few minor comments, otherwise this is great stuff.

@trishume
I think I took care of the stuff you brought up. I took out the useless begin/rescue block. I changed it so that img data is base64 decoded before being stored. And I made a little helper method for that imperial check.

:+1:

Great :+1:
I'm adding another new feature quite soon so when I'm done that and you're happy with this I can release both of them in a 1.2.0 release.

release both of them in a 1.2.0 release.

+1

Awesome!

I released this in v1.2.0 now on Rubygems. Thanks for the great work!


Foundation Zurb Template empty /scss folder gets copied into /dist folder

Title says it all. Set up a new project, foundation new and foundation watch. The dist folder gets an empty scss folder, among all the other ones needed (css, js, etc.). Just a small bug, nothing big, just a bit annoying. can someone confirm? btw. i am on windows.

You should open this issue on the Foundation CLI repository.

done
https://github.com/zurb/foundation-cli/issues/47

@phifa Please close this one!

sure.


chore: little refactory dev middleware

PR Details
refactory dev middleware

move all webpack code from dev-server main code to independent folder
remove some unused api, like onlistening, onclose. use app.on('listening') & app.on('close') instead.

Description

Related Issue

Motivation and Context

How Has This Been Tested

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project.
[ ] I have updated changeset
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

👏🏻👏🏻


differences between flutter build aar and flutter build aar --release

i have a same problem  as  this issue said flutter build aar --release ,--release not work
for the  answer below
jonahwilliams-macbookpro2:codegen jonahwilliams$ flutter build aar -h
Build a repository containing an AAR and a POM file.

By default, AARs are built for `release`, `debug` and `profile`.
The POM file is used to include the dependencies that the AAR was compiled against.
To learn more about how to use these artifacts, see https://flutter.dev/go/build-aar

Originally posted by @jonahwilliams in https://github.com/flutter/flutter/issues/47762#issuecomment-582223344
i want to ask what are the differences  between flutter build aar and flutter build aar --release

flutter build aar builds all variants. Flutter build aar --release only builds the release variant

flutter build aar builds all variants. Flutter build aar --release only builds the release variant
https://github.com/flutter/flutter/issues/47762#issuecomment-581729227
when run flutter build aar --release
result:

manza:flutter_fund yongfeng.li$ clear
manza:flutter_fund yongfeng.li$ f build aar --release

💪 Building with sound null safety 💪

Running Gradle task 'assembleAarDebug'...                          18.7s
✓ Built build/host/outputs/repo.
Running Gradle task 'assembleAarProfile'...                        17.3s
✓ Built build/host/outputs/repo.
Running Gradle task 'assembleAarRelease'...                        11.7s
✓ Built build/host/outputs/repo.

Consuming the Module
  1. Open <host>/app/build.gradle
  2. Ensure you have the repositories configured, otherwise add them:

      String storageUrl = System.env.FLUTTER_STORAGE_BASE_URL ?: "https://storage.googleapis.com"
      repositories {
        maven {
            url '/Users/yongfeng.li/develop/WorkSpace/office-work/ysfund/flutter_fund/build/host/outputs/repo'
        }
        maven {
            url "$storageUrl/download.flutter.io"
        }
      }

  3. Make the host app depend on the Flutter module:

    dependencies {
      debugImplementation 'com.yskj.flutter_fund:flutter:1.0:debug'
      profileImplementation 'com.yskj.flutter_fund:flutter:1.0:profile'
      releaseImplementation 'com.yskj.flutter_fund:flutter:1.0:release'
    }

  4. Add the `profile` build type:

    android {
      buildTypes {
        profile {
          initWith debug
        }
      }
    }

To learn more, visit https://flutter.dev/go/build-aar
manza:flutter_fund yongfeng.li$

flutter build aar builds all variants. Flutter build aar --release only builds the release variant

obviously it's not only release variant,i don't know why

@jonahwilliams

right, sorry - by default it builds all variants. so build aar --release and build aar do the same thing. You need to disable debug and profile with build aar --no-profile --no-debug

ok, thanks

right, sorry - by default it builds all variants. so build aar --release and build aar do the same thing. You need to disable debug and profile with build aar --no-profile --no-debug

ok, thanks

right, sorry - by default it builds all variants. so build aar --release and build aar do the same thing. You need to disable debug and profile with build aar --no-profile --no-debug

i just want a confirm  of the official, the document is confused


Alertmanager rule example

Hello,
Please find below 2 rules for alertmanager.
groups:

name: default
rules:
#FlexLm Server Down

alert: FlexLmServerDown
expr: flexlm_server_status == 0
for: 5m
labels:
severity: error
annotations:
summary: "Flexlm Error (instance {{ $labels.instance }})"
description: "FlexLm {{ $labels.collector }} was not successful\n  VALUE = {{ $value }}\n  LABELS: {{ $labels }}"
#Licence Fully used

alert: LicenceAvailable
expr: 100*(flexlm_feature_used / flexlm_feature_issued) > 95
for: 5m
labels:
severity: warning
annotations:
summary: "Licence Available Status (instance {{ $labels.instance }})"
description: "Licence fully used \n  VALUE = {{ $value }}\n  LABELS: {{ $labels }}"

Hi @nwies,
Thanks for contribting! See here


Tutorial Request: Containers 2: Deploy a Laravel App with Docker Compose

Issue Summary
Need tutorial for:
Containers 2: Deploy a Laravel App with Docker Compose

[ ] Task Description
[ ] Step 1
[ ] Step 2
[ ] Step n
[ ] Conclusion

Hi @denctl
Can you assign this to me? I would like to work on this

Sure!


Delete module-assets/ci/run-catalog-onboarding-pipeline.sh

Description
Script has been replaced by trigger-catalog-onboarding-pipeline.sh
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline


Add README content

Initial project coverage based on README files from other projects that I maintain.
fixes GH-1

Most CI checks are failing because I've yet to add applicable Go code to this repo. The configs themselves look good, so proceeding with merge; these checks should pass later once the Go code has been added.


feat: Fixes #390. Show shortened version if account name over 25 chars

Screenshots:

From my test we could allow up to 34 characters on the account list, eg:

compared to

and keep the 25 char limit on the header view.
Should we limit the amount of char in the name field at account creation/import?

It's different for me. If I change to allow up to 34 chars on the account list, it appears as follows. If I instead allow up to 31 chars it looks ok

But perhaps we should approach it a different way.

Totally, what about using something like text-overflow: ellipsis ?

Hey @ltfschoen, do you want to go on with this PR or have you had other thoughts to do it?

Sorry for delayed response. The text-overflow: ellipsis idea is brilliant idea

@Tbaut I've pushed a commit using text-overflow: ellipsis, it appears to work great

Thanks a lot, that works well.

One thing I could notice is that Capital letter and lower letter are cut, the big "T" isn't fully visible and the "p" and "g" also:

@Tbaut I've pushed a commit to prevent the clipping from occurring on Linux


Generated type from declared type does not include all of them

A minimal example:
Using the following type declaration
interface A {
    a: string;
}
interface B {
    b: string[];
}

type AB = A | B;

A returns A:
    'A' a=ID;

AB returns AB:
    A ({B} b+=ID)*;

generates
export type AB = A;

export interface A extends AstNode {
    readonly $container: Model;
    a: string
}

export interface B extends AstNode {
    b: Array<string>
}

Using the following type inference
A infers A:
    'A' a=ID;

AB:
    A ({infer B} b+=ID)*;

generates
export type AB = A | B;

'A' and 'B' are always subtypes of 'AB' in both ways.

When using type declaration, changing the b in AB returns AB: A ({B} b+=ID)*; to other undeclared name such as c does not raise error.

As far as I can tell, the skipping below seems to be the cause of this issue. After removing line 103 to 105 the generated type becomes export type AB = A | B;. But frankly, I do not really understand the logic behind the skipping.
https://github.com/langium/langium/blob/9f587815f9d14f433d22831ac11d3b9f11696d9f/packages/langium/src/grammar/type-system/inferred-types.ts#L97-L105

After looking more closely at the code, I think the cause of the problem may be the distinct function on the stream.
https://github.com/langium/langium/blob/9f587815f9d14f433d22831ac11d3b9f11696d9f/packages/langium/src/grammar/type-system/type-collector.ts#L19-L34
In this minimal example:

When infers is used, everything can be directly inferred by the collectInferredTypes function, so the variable declared now has empty array properties, and nothing goes wrong.
When returns is used, the type AB obtained by collectInferredTypes has the property union containing only one element, namely A, because type B is a declared type and it is ignored. The union property of AB obtained by collectDeclaredTypes contains both A and B as we declared.
The distinct function keeps the AB computed by collectInferredTypes, which is incomplete, and discards the other one, which is supposed to be kept.

I don't really know what are the functions collectInferredTypes and collectInferredTypes supposed to do and not supposed to do (information obtained by declaration may be more accurate than that of inference?), but exchanging their order in the array concatenation works for me and passes the vitest, i.e.
const interfaces: InterfaceType[] = declared.interfaces.concat(inferred.interfaces);
const types: UnionType[] = declared.unions.concat(inferred.unions);

Hi @luan-xiaokun . Yep, this is something that we're aware of as well here, I've come across it before in the past myself. The way we collect types produces an order-dependent result. It allows duplicate declarations of the same type as an inferred & declared instance, with the order here determining which takes precedence over the other. That's not correct, but it is something that should be rectified along with the rest of the broader model type inference changes that we're planning.

Hey @montymxb, thanks for your reply. Glad to know that this issue is on the to-do list, and I'm looking forward to the improvement of type inference!


Possibility to run without Azure

It'll be interesting for development purpose to be able to run it entirely on localhost without needing Azure.
In addition, a company without the right to use (specific or any) cloud provider can later be authorized and during this time can use InnerEye

The code runs perfectly fine without Azure. We are using runs on local dev boxes for model development and debugging. But of course, to build any reasonably large model, you would need a machine that has a GPU.
Do let us know if there is anything that absolutely does not work without Azure, but that should work on the local box.

I added a sentence to README in #243 that I hope clarifies this. I'll close this issue when the PR goes in - please re-open if you feel there are still questions.


Read cert CA for https agent

Option to enable reading certificate file for client

I think it would be good if we could offer supplying CA cert regardless if we reject unauthorized. wdyt?
to make it compulsory to supply a CA?

Hi @elferherrera I took a different approach on adding ssl with https://github.com/regadas/trino-js-client/pull/203. lmkwyt.

Is using TLS better than modifying the agent?

@elferherrera apologies for late reply! we are still passing options (modifying) the agent but we are now leveraging http lib tls options.

Closing this. Thank you for starting this! ❤


Address 3045

Replaced some hardcoded string identified in #3045.
Motivation and Context:
Address #3045
How Has This Been Tested?
Manually
Checklist:

[x] My code follows the code style of this project.
[ ] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[x] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage remained the same at 20.162% when pulling df4dfea87fd59982b869f2052d578c252309c0bf on bolatovumar:fix-3045 into eab44b523e32dcdf9e7165e166828fd503ac7cef on LN-Zap:master.


Why was this abandoned

Why was this abandoned. This was such a great project and I even still use it today.

To my understanding this wasn't abandoned.
There is a v2 in active development but it has to be paid for, and is no longer open source.


BRouter Web : search flat route ?

hi.
Can i search for a flat route without big heights?
https://brouter.de/brouter-web/
This would be fine.
Also an altitude profile would be fine to display optionally.
thx

ok, i did not find this option in the drop down in the top left, but hidden in the option :
"consider_elevation
Set to false to ignore elevation in routing"
This option should be easier accessable.

This option should be easier accessable.

I agree, the parameter "consider_elevation" is very useful and should be easier accessible!
The parameters are defined in the profile (here the "trekking" profile) , and this is part of "brouter", not "brouter-web"
(https://github.com/abrensch/brouter/issues/)
This is one of the many weakness I see in this profile, I hope to get a change soon.
Till a change, you can use my own trekking profile with this link:
https://brouter.de/brouter-web/#map=13/49.9945/8.6577/osm-mapnik-german_style&profile=trekking_SB
Regards
EssBee


requirements.txt

previous versions of the text file don't work on my local machine. It throws an error when I try to install the required libraries. The updated text works fine.

Thank you very much, the requirements.txt has been updated <3


solidityで、ERC3525のコントラクトかく、openseaに表示されるか？？

[ ] Request form
[ ] Fix title
[ ] Ask in Slack
[ ] JIRA issued
[ ] Prepare with the organizer
[ ] Setting the goal
[ ] Slides
[ ] Movies preparation
[ ] The day!
[ ] PDF release in SlideShare
[ ] Publish the movie
[ ] Subtitle to the movide
[ ] Publish the blog

Details of request

ERC1155で確認
＝＞ERC3525で確認


Lasers

/test this

:star: PR built and available in a preview environment carlossg-croc-hunter-jenkinsx-serverless-pr-16 here

/approve


Use Jacobi Iteration to solve matrix

We are currently using Eigen to solve the matrix equation. This is slow and yields a very dark image. The Jacobi iteration should be better. Southwell iteration might also be an option.

Obsolete due to usage of Gauß-Seidel. Cf. commit c3400ba.


feat: added cargo install to readme

Thanks for the patch, but I'm no longer maintaining this.
This fork has been made that's added some cool features and does mention cargo-install: https://github.com/kbknapp/cargo-graph


Investigate and implement the Custom Types API

Been waiting for this for ages, but looks like something is in beta at least:
Prismic Custom Types API
This will enable programatic CRUD of shared slices and document types and will be an invaluable development tool.
Initial thoughts:

Probably best implemented as a completely separate Client due to the fact that a specific token must be generated. Confusing the content api and a tool like this would be pretty crap
Being able to visually diff the local version and the remote version might be really handy - or, something that could be implemented in the cli tool
The cli tool is most likely target for consuming this feature…

This has been implemented as separate client in netglue/prismic-doctype-client


Model checkpoint

Hi, thanks for the great work and sorry for the basic question but where can I find the model checkpoint?
Thanks

nevermind found it sorry and thanks againg


The following packages have unmet dependencies error

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: Linux Debian 9 (Parrot Security OS v 4.5.1)
Every time I try to install dotnet-sdk-2.2 using sudo apt-get install dotnet-sdk-2.2, or sudo apt install dotnet-sdk-2.2, I get this error.
The following packages have unmet dependencies:  dotnet-sdk-2.2 : Depends: aspnetcore-runtime-2.2 (>= 2.2.2) but it is not going to be installed                   Depends: dotnet-runtime-2.2 (>= 2.2.2) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
The issue seems to be this package:
Package libicu57 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

https://github.com/dotnet/core-setup/issues/4247
sudo apt-get autoremove dotnet-host
sudo rm -rf /usr/share/dotnet/
wget http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu60_60.2-6ubuntu1_amd64.deb
sudo dpkg -i libicu60_60.2-6ubuntu1_amd64.deb
sudo apt-get install dotnet-sdk-2.2

It still fails...  It shows this error now.
`Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dotnet-sdk-2.2 : Depends: aspnetcore-runtime-2.2 (>= 2.2.2) but it is not going to be installed
Depends: dotnet-runtime-2.2 (>= 2.2.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
`

I've found the best way is to install via snap.  It doesn't throw errors and ends up working fine that way.

@dagood @tarekgh can you help route it please? Is it dupe of the other libicu57 problems I have seen here?

CC @rakeshsinghranchi may help here I think. should such issues be moved to core-setup repo?

cc @dagood instead of @rakeshsinghranchi (the ownership was transfered in January)

Operating System: Linux Debian 9 (Parrot Security OS v 4.5.1)

Unfortunately Parrot Security OS is not an officially supported 2.2 distro.

[Quoted from @leecow, #2392)]
...
Couple of things you can try that may work.

install using the tar.gz instead of apt-get,
install using dotnet-install.sh,
install using our Snap.

Option 3 would be my first recommendation to try. Each of these methods are detailed in our Linux Setup document.

Some background: the libicu dependency is particularly tricky, because different distros have different versions of ICU available in their repositories. We produce runtime-deps packages for supported distros that includes the libicu dependency needed on that distro. Using a distro derived from Debian is a common way to hit this issue and I don't know any general guidance we can give.
I'm closing this issue: known to happen on distros that aren't officially supported.


Please publish to pub

Please publish your package to pub.dartlang.org

Sorry it took me a few days :)
https://pub.dartlang.org/packages/dart_ctags

Thank you!


Make paths in exclude window clickable

As a user I want to click on one of the exclude window's path and open the corresponding the folder in file explorer.
By providing that it would be clear if the specified folder is already "tidied"

https://stackoverflow.com/questions/29714633/python-tkinter-bind-function-with-labels-in-for-loop/29714778

https://stackoverflow.com/questions/11504571/clickable-tkinter-labels


Rename MenuItemExt trait to GtkMenuItemExt

I completely forgot about this one, shame on me... (I think this is what you tried to say to me @EPashkin, sorry for not understanding ><).
cc @sdroege @EPashkin

I also was wrong, thought that changes need be made in gtk, but actually examples need change: https://github.com/gtk-rs/examples/pull/195

👍

Merging this one and we'll see if everything's fixed in the examples PR (otherwise both will fail...).


ci: Update golang-release git repo and branch

Upstream renamed the repo and changed from master to main.
See: https://github.com/cloudfoundry/bosh-package-golang-release/commit/79a1d8acd7e2e3ff4bfa1a35a316e29a438cb0d2

This is already live on https://concourse.cfi.sapcloud.io.

Deployed already, merging


Add support for GitLab, Gitee, and SourceForge

As the title says, this PR adds support for GitLab, Gitee, and SourceForge, and would close #2.  GitLab was originally requested in that issue, but the other two were not. Like I had mentioned in a comment, I've looked through a bunch of these extensions, and some of them have support for Gitee and some have support for SourceForge, so I decided to try adding both of them.  The results look pretty good IMO.
Before I talk about those, I made two other small general tweaks that I'd like to point out.

I switched the filename getter to take the first part of a path (split on /) if the name is representative of a path.  For example, when there's only one folder inside another folder, GitHub concatenated the names and clicking sends you straight through to the second folder.  In general, I've found that the top level folder in these situations is more likely to have a custom icon, so I used the first part of the path.  However, it could technically make more sense to use the end part of the path, as that's where the link goes.  Either way, up to you whether you want to keep this change.

In order to get these new providers working, I changed the structure of the getIsDirectory, getIsSubmodule, and getIsSymlink functions to accept an object with the shape { row, icon }.  In some cases, you can not determine these features from the icon itself, and having access to the row element gives a lot more freedom for figuring that out. It was possible to get the same features from the row by chaining .parentNode but I've never felt super comfortable with traversing up a DOM tree.  Plus, it's still about as simple to implement these functions as you can just destructure the part you need:

getIsDirectory: ({ icon }) => icon.getAttribute('data-testid') === 'folder-icon',
getIsSubmodule: ({ row }) => row.querySelector('a')?.classList.contains('is-submodule') || false,

So here's some info on the new providers:
GitLab
Like I mentioned, the main purpose of adding GitLab support is so that the folders get icons.  Besides that it is mostly similar.

One extra feature I added however, was replacing the icon for the Readme shown below the list of files:

As well as the icon you see when viewing a specific file:

I'm sure you have plenty of repos you can test this with as you mentioned you're now using GitLab for work, but here's an instance of that test repo I shared with you that I pushed to GitLab: https://gitlab.com/csandman/test
Gitee
I'm not gonna lie, I had never heard of Gitee until I saw another extension supporting it, but it has a very similar layout to GitLab.  I did the same replacements as I did on GitLab, the file table, readme title, and individual file titles:

I tested the symlink/submodule getters using that same repo but I don't feel like making it public because they have an approval process for that and I don't want to deal with it.  You can test it with any of the repos on their explore page: https://gitee.com/explore
SourceForge
For SourceForge, I had to handle things a little differently than the rest.  Each project has both a code page as well as a files page with a list of downloadable output files.  I decided both would benefit from this replacement.  However, on the Files page, only the folders have an icon by default, so I targeted the element wrapping the icon, replaced the child icon if it does exist, and prepended the new icon if it does not.
Here's the Files page:

And here's the Code page:

You can check out the code page for my test repo mentioned above here: https://sourceforge.net/p/csandman-test/code/ci/main/tree/
And you can check the files page for any of the public projects listed here: https://sourceforge.net/directory/
Let me know if anything needs changing!

Thanks for checking it out!  I can't remember the exact reasons of the top of my head but some of the selectors are the way they are because of issues with more specific ones not matching properly. I'll check them out and reply to the specific comments with my thought process on Tuesday!

Also, I can't tell if from your comments you're saying you'd like to avoid the icons related to the file headers? If so, that would probably simplify a lot of the selectors, as that's a large part of why they're more general. So let me know if that's the case, I have no problem with removing them!

Thanks, no rush on this!
And I like the file header icons, no need to remove them. I was mostly thinking of just setting up some basuc hierarchy in the selectors so they only match icons within the tables/rows/container that we expect. We probably don't even need to necessarily change the selectors, just constrain them to only match within certain containers. Not sure if that makes sense, let me know if I'm talking non sense and I can try to explain better

Alright I made the changes you requested, in a way that I hope works for you! I get what you mean now with only matching within the containers the icon/filename are expected to be in.  Like i mentioned in one of my comments, I hadn't realized you could use top level selectors when running a query selector on a specific element, and doing so should probably help to make sure things are matching correctly.
On a side note, one thing I've tried to avoid with making selectors too too specific is that this could also lead to increased maintenance, if the site changes its structure at all, which could make the replacement stop working for existing icons.  I feel like this is generally more likely than a change that causes the extension to replace icons where you don't intent it to.
But yeah, let me know if these new selectors are more along the lines of what you meant or if there are any other changes you want made to them!

One last tiny change I added, with the more specific GitHub selectors added previously, the symlink/submodule icon was not being identified properly, so I added one more selector to that list to make it work!


Discussion: Pass thru keepExistingWrapper from adaptor reset?

I was trying to correct what I thought was an oversight, that adaptors are always torn down because the result of reset is never passed through to the mark method so on clearCache teardown always gets call.
This PR fixes that, but breaks magic adaptor because it cheats and goes through the back door. And teardown can also selectively control whether it actually goes away by returning a non-false value.
It seems adaptor.teardown has become the new adaptor.reset :)
I think the adaptor teardown should happen with the viewmodel teardown and be reserved solely for that purpose of clearing up used resources. And reset needs to serve the purpose of handling re-"set" of the keypath on which the wrapper is attached.
But given my level of confusion, I wanted to bring it up before trying to fix it up.

My level of confusion probably exceeds yours by a fair amount (so take whatever I say with a block of salt), but based on the backbone adapter, it looks to me like you're right. adaptor.teardown should be reserved for when a wrap-able value is entirely removed or the viewmodel is torn down. I don't see any reason that adaptors should be able to veto their teardown.
Further, is magic mode fully tested? Because commenting out1 the mark and addRactive lines you pointed to doesn't seem to have any negative effects in the tests or in a sandbox example. It looks like the teardown veto in magic mode happens because it originally got triggered from that mark. Can reset even get called from outside of the normal runloop, necessitating that mark?
1.  I'm using a branch with gh-1745 and gh-1729 merged in, so that may be affecting my results vs. edge.

Because commenting out1 the mark and addRactive lines you pointed to doesn't seem to have any negative effects in the tests or in a sandbox example

Did you try combining that with the change in this commit? I tried that too, and there were a handful of specific fails, but curious if other changes "fixed" it.

Adding in this change causes test failures on the same tests as Travis. It looks like an issue with the magic array wrapper. On reset, it doesn't update its own value, so the old value is passed through to everything beyond. Adding a this.value = value to the magic array wrapper reset turns everything green again, though it may need to be a little more complicated than that.

My level of confusion probably exceeds yours by a fair amount

Don't want to get all competitive but I reckon I could give you both a run for your money, despite it being my code. (Maybe 'despite' is the wrong word...)
If I wasn't already nodding in agreement with the proposals here, 'I don't see any reason that adaptors should be able to veto their teardown' would have sealed the deal. Are we talking about a breaking change for adaptor plugin authors? If so, I have an idea for how we might handle deprecation of old adaptors (it involves a more 'detectable' API change).

This PR fixes that, but breaks magic adaptor because it cheats and goes through the back door

Facepalm. That's pretty bad... we'll need to fix that anyway if we're to split array/magic adaptors out as plugins (assuming that's possible, given that sometimes you need them in combination).

Further, is magic mode fully tested?

Another good reason to split it out, I reckon

Don't want to get all competitive but I reckon I could give you both a run for your money, despite it being my code. (Maybe 'despite' is the wrong word...)

@Rich-Harris Cool beans. Sounds like were on the same page.

Are we talking about a breaking change for adaptor plugin authors? If so, I have an idea for how we might handle deprecation of old adaptors (it involves a more 'detectable' API change).

Hadn't gotten that far, mostly trying to shore up what we have. The current adaptor pattern is hard to grok for newcomers.

Also @Rich-Harris checkout https://github.com/ractivejs/ractive-adaptors-ampersand/pull/2 sometime if you haven't seen it yet.

Gonna punt this to #2512


'allow-nondistributable-artifacts' is ignored when using a registry proxy/mirror

I've got a bandwidth constrained environment so I've set up a local registry mirror/proxy.  On my daemons (windows 10 17025 and docker ce edge) I have them configured like this:
{
  "registry-mirrors": [
    "https://my-mirror:5000/"
  ],
  "insecure-registries": [],
  "allow-nondistributable-artifacts": ["my-mirror:5000"],
  "debug": true,
  "experimental": true
}

The mirror is definitely getting used but the 2 base layers of Windows Server Core images are not being cached at the mirror.  I'd expect this behavior to work based on documentation but the documentation does talk about pushes and not really a mirror, so maybe this is an enhancement request?
Either way, this would be immensely helpful if the registry could be configured to cache nondistributable artifacts when in proxy mode.  Since the registry is in proxy mode (with REGISTRY_PROXY_REMOTEURL set) I can't push images to the registry, so I need them to get downloaded and cached as part of the proxy flow.

@pdevine ^

thumbsup

same issue here... Is there a possible fix for this?


Compatibility with lastest Hyper version (3.x)

Hi @zsol , how are you?
I read in the open issue that you are not maintaining this plugin anymore but I got some time today and was able to do some changes that make it compatible with Hyper.js 3.0
This PR has this changes, so if you could please have a look and let me know if you see any issue or have any doubt/comment, it would be great :)
Thank you !

Looks reasonable to me, but I have no way of trying it. :)

Hi @zsol !
I fixed the semicolon you pointed out and also during yesterday I found a bug that was duplicating the paste string if you have multiple tabs opened.
If it is ok, how are the next step ? Once we merge the PR, how to publish a new version on NPM ? You did it manually ? If we release a new version in Github you will be able to publish it to NPM ?
Thank you !

Yep. Feel free to merge it, I'll release to npm

Ok. I will merge it.


[Proposal] Add an example file for importing portfolio

It would be nice to have an example file to download to import my portfolio in dcapal. It can be put near the Import portfolio. What do you think?

If you want there are the following demo pages:

https://dcapal.com/demo/60-40
https://dcapal.com/demo/all-seasons
https://dcapal.com/demo/mr-rip

It would probably be better to put a page with examples of these 3 portfolios.
What do you think @leonardoarcari ?

Yeah @corradopetrelli is right! There are already those 3 demo portfolios but they are barely advertised.
It would be cool to come up with an home page design that navigates the user to model portfolios if he's not sure where to start.
It shouldn't get in the way of the app presentation, but still should be part of the funnel.

@leonardoarcari
A naive solution is:

(I didn't know which image to insert so I put the one above)

Yeah probably something like that, but I'd like to work on some cleaner design. Accessing model portfolios shouldn't distract the users from the main workflow.

Yeah probably something like that, but I'd like to work on some cleaner design. Accessing model portfolios shouldn't distract the users from the main workflow.

No problem it was a naive solution, a possible solution could be to put it in the menu right after "Get started", something like "Try demo".

@corradopetrelli could be a good solution IMHO

What do you think of adding a new section called "explore portfolios" or something like that, maybe in the future we can add a feature where ppl can share their portfolios there. As of now, we can add a few examples to start with.

We can add a feature where ppl can share their portfolios there
If I understood correctly the project probably won't happen since we don't store anywhere outside the browser the user's portfolios. But make sense to put a section "Demo portfolios" or "Try demo" like @corradopetrelli suggested

What do you think of adding a new section called "explore portfolios", or something like that, maybe in the future we can add a feature where ppl can share their portfolios there. As of now, we can add a few examples to start with.

Yeah I like this approach @mattiapitossi. A new section will have enough room to put a show-case of demo portfolios while leaving the landing page nice and clean. We could add a short message below the Allocate your savings / Import portfolio buttons linking to the demo section:
Not sure where to start? Check out our model portfolios ➡

If I understood correctly the project probably won't happen since we don't store anywhere outside the browser the user's portfolios

I certainly value the zero-login/zero-storage experience, but I agree that having a private area could unlock interesting features. Users will trade some privacy for convenience, but non-registered users will still have access to current UX.

I certainly value the zero-login/zero-storage experience, but I agree that having a private area could unlock interesting features. Users will trade some privacy for convenience, but non-registered users will still have access to current UX.

I love the vision. You could integrate graphs to show the distribution of your portfolio by:

Brokers
Currency
State
Continent
And so on.

I'm noticing on subreddit /r/ItalyPersonalFinance and all the YouTubers talking about personal finance that the topic of ### diversification is in high demand lately.
In my opinion it could provide added value.
Sorry of OT.

I'm noticing on subreddit /r/ItalyPersonalFinance and all the YouTubers talking about personal finance that the topic of diversification is in high demand lately

Yeah I noticed! Big hype on investing (betting?) on risky countries in the name of some diversification benefit. Imo, this is just uncompensated risk: you should diversify if there's evidence of decorrelation that brings positive returns. Otherwise you're just reducing returns while increasing your portfolio variance. Brilliant move 😄

Otherwise you're just reducing returns while increasing your portfolio variance. Brilliant move 😄

Yes of course, it's like to cut off one's nose to spite one's face


Please add me as GitHub maintainer?

Comment:
Hi @hadim or @LiuCMU - could one of you add me as maintainer? I'd be happy to bump this to 2.3 and keep up-to-date.
Thanks!

Happy to merge a PR where you can add yourself.


Request for Sample Policies on Idp-Init Flow

Can we please get a full set of sample policies for the Idp-Init flow described in this documentation, or at least the full fledged TechnicalProfile + UserJourney + RP metadata with all steps required for the Idp-Initiated flow described here to work?
Thank you.

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

ID: 5330b0b2-0c1c-ebe8-cf24-2a6430e44c28
Version Independent ID: 1a3cddf5-3184-c745-1280-c8208f33966c
Content: Define a SAML technical profile in a custom policy in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/saml-technical-profile.md
Service: active-directory
Sub-service: b2c
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@nacient Thank you for your feedback . We will investigate and update this thread further.

@nacient Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@SaurabhSharma-MSFT: Please assign this item to @mmacy who is now supporting Azure AD B2C.

IDP initiated flow is not officially supported yet and removed from the doc.

#please-close


chore: stop mixing and matching nav pkgs

Summary of Changes
I think we should be using @react-navigation/native and not core. From what I have read native utilizes core under the hood and mising-and-matching can cause problems.
Related Issues
Please reference here any issue #'s that are relevant to this PR, or simply enter "N/A" if this PR does not relate to any existing issues.
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[x] Updated documentation as needed for changed code and new or modified features;
[x] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

Can of worms. Will need to be done as part of a techdebt cleanup sprint.


Update Gemfile.lock to include new version chef_backup

chef-server build failures were occurring due to a newer version of chef_backup gem being available while we were pinned to 0.1.0
This PR updates the Gemfile.lock to include the latest version of chef_backup (i.e. 0.1.1)

An adhoc build has been kicked off to test this:
https://buildkite.com/chef/chef-chef-server-master-omnibus-adhoc/builds/466

Looks generally reasonable; any idea why we are downgrading from chef 15.0.300 to 15.0.214? Is there a pin in chef_backup?

It is due to pinning in src/chef-server-ctl/chef-server-ctl.gemspec done back in 66dca938ea
src/chef-server-ctl/chef-server-ctl.gemspec           (Mark Anderson 2019-02-21 13:45:33 -0800 50)   spec.add_runtime_dependency "chef", "~> 15.0.214"

If I modify it to spec.add_runtime_dependency "chef", ">= 15.0.214" we pull in 15.3.14
If I modify it to spec.add_runtime_dependency "chef", "~> 15.0.300" we are back to 15.0.300
Which would you prefer?

I think upgrading to the latest might be good, But let us keep it consistent with https://github.com/chef/chef-server/blob/master/omnibus_overrides.rb#L10 for now. Let me know what you think @markan.

This overlaps with #1767 I think; maybe combine these two and get chef up to date across the board? I don't want to be shipping two versions if I can help it.

On further thought, let's merge #1767 first, and see if this is still needed.

@markan, that makes sense and I plan on withdrawing this PR once I see that the newer_chef branch builds successfully:
https://buildkite.com/chef/chef-chef-server-master-omnibus-adhoc/builds/468

Closing as pull #1767 is far better


Network device not showed up on WSL

I was installing ubuntu on my WSL, and it cant connect to internet then it doesn't showed up the network interface
disclaimer: i never used WSL before
does this problem ever occured before?
~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/32 brd <IP_ADDRESS> scope global lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever

WslLogs-2024-10-31_04-52-26.zip
it may helps the problem because i dont understand how to get started

I seem to be having the same issue with an existing WSL instance after updating to Windows 11 version 24H2 (OS Build 26100.2033) 🤔

I seem to be having the same issue with an existing WSL instance after updating to Windows 11 version 24H2 (OS Build 26100.2033) 🤔

do you know where is the issue that has been solved related to this?

Strangely enough, connecting to our office VPN and killing WSL and re-opening it brought back the eth0 interface.
I tried killing WSL (wsl --shutdown) and re-opening it before, but this didn't seem to resolve the issue, also rebooting my PC didn't help.

oh yea, i have installed WARP cloudflare VPN on my desktop, does it affect the problem?

@AchIrsHam: I wonder if WSL is just falling back to no networking because something failed during startup. Could you collect logs of running wsl --shutdown && wsl echo ok ?
/logs

WslLogs-2024-11-06_10-43-02.zip

Thank you @AchIrsHam. This is unfortunately a known Windows issue. The fix is on the way, but in the meantime WSL might boot without networking as a fallback. One thing you can try is to update to the latest pre-release, which will at least try to give virtio networking. You can do that via:
```wsl --update --pre-release`

Thank you @AchIrsHam. This is unfortunately a known Windows issue. The fix is on the way, but in the meantime WSL might boot without networking as a fallback. One thing you can try is to update to the latest pre-release, which will at least try to give virtio networking. You can do that via:
```wsl --update --pre-release`

it worked and it does give me a bonus of network interface, thanks  $ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet <IP_ADDRESS>/8 scope host lo        valid_lft forever preferred_lft forever     inet <IP_ADDRESS>/32 brd <IP_ADDRESS> scope global lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host        valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1280 qdisc mq state UP group default qlen 1000     link/ether 00:15:5d:47:d0:6c brd ff:ff:ff:ff:ff:ff     inet <IP_ADDRESS>/20 brd <IP_ADDRESS> scope global eth0        valid_lft forever preferred_lft forever     inet6 fe80::215:5dff:fe47:d06c/64 scope link        valid_lft forever preferred_lft forever 3: lxcbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000     link/ether 00:16:3e:00:00:00 brd ff:ff:ff:ff:ff:ff     inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global lxcbr0        valid_lft forever preferred_lft forever

Thank you @AchIrsHam. This is unfortunately a known Windows issue. The fix is on the way, but in the meantime WSL might boot without networking as a fallback. One thing you can try is to update to the latest pre-release, which will at least try to give virtio networking. You can do that via:
```wsl --update --pre-release`

thanks for the solution, now WSL gave me 3 different network interface instead of 2, and all of them works $ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet <IP_ADDRESS>/8 scope host lo        valid_lft forever preferred_lft forever     inet <IP_ADDRESS>/32 brd <IP_ADDRESS> scope global lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host        valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1280 qdisc mq state UP group default qlen 1000     link/ether 00:15:5d:47:d0:6c brd ff:ff:ff:ff:ff:ff     inet <IP_ADDRESS>/20 brd <IP_ADDRESS> scope global eth0        valid_lft forever preferred_lft forever     inet6 fe80::215:5dff:fe47:d06c/64 scope link        valid_lft forever preferred_lft forever 3: lxcbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000     link/ether 00:16:3e:00:00:00 brd ff:ff:ff:ff:ff:ff     inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global lxcbr0        valid_lft forever preferred_lft forever

Thank you @AchIrsHam. This is unfortunately a known Windows issue. The fix is on the way, but in the meantime WSL might boot without networking as a fallback. One thing you can try is to update to the latest pre-release, which will at least try to give virtio networking. You can do that via:
```wsl --update --pre-release`

thanks for the solution, now i have 3 different network interface and all of them works
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/32 brd <IP_ADDRESS> scope global lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1280 qdisc mq state UP group default qlen 1000
    link/ether 00:15:5d:47:d0:6c brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/20 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::215:5dff:fe47:d06c/64 scope link
       valid_lft forever preferred_lft forever
3: lxcbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 00:16:3e:00:00:00 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global lxcbr0
       valid_lft forever preferred_lft forever```

Thank you @AchIrsHam. This is unfortunately a known Windows issue. The fix is on the way, but in the meantime WSL might boot without networking as a fallback. One thing you can try is to update to the latest pre-release, which will at least try to give virtio networking. You can do that via:
```wsl --update --pre-release`

thanks for the solution, now i have 3 network interface instead of 2
$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/32 brd <IP_ADDRESS> scope global lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1280 qdisc mq state UP group default qlen 1000
    link/ether 00:15:5d:47:d0:6c brd ff:ff:ff:ff:ff:ff
    inet _truncated_/20 brd _truncated_ scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::215:5dff:fe47:d06c/64 scope link
       valid_lft forever preferred_lft forever
3: lxcbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 00:16:3e:00:00:00 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global lxcbr0
       valid_lft forever preferred_lft forever


split DSL model types into multiple modules

Started working on migrating DSL v0 to v2, and wanted to add common helpers/utilities to the model.
But faced the limitation is that the existing codegen_language_internal_macros requires defining
all model types in a single module, to allow generating a parallel Spanned<> type tree.
We no longer need to do that, since we are not parsing the DSL using serde.
This PR refactors codegen_language_internal_macros to allow splitting the model types,
at the expense of maintaining an allow-list of type names in internal_macros/src/derive/spanned.rs.
I doubt we will be editing this list frequently, so it I think it should be fine.

cc @Xanewok


Add posibility of select regions and complience to scan in prowler app

New feature motivation
In the Prowler CLI, there is the possibility to select the compliance and the region using -f 'eu-west-1' --compliance ens_rd2022_aws. Would it be possible for this to be available in the app?
Solution Proposed
In provider table could specify regions and compliences:

Describe alternatives you've considered
I can't think of any alternative.
Additional context
No response

Hello @mlophez, that is on the current Prowler roadmap, we are working to have all Prowler's CLI arguments and flags available via API, we will update this thread once it is ready.
Thanks for using Prowler 🚀


glyph_for_char on macOS returns only UTF-16?

https://github.com/pcwalton/font-kit/blob/9e143d5bc7435ae545f4b352d6f444a85e794142/src/loaders/core_text.rs#L288
AFAIU, this code returns only half of the char.

This is ok. We are returning glyph ID, not a char...


Uncaught TypeError: Cannot read property 'EventSource' of undefined

When updating from 2.0.0 to 2.0.1 I started getting this exception.

Must be related to #12 - can you include a stack trace?

Is there a good way to get a decent stacktrace for this? I'll add what I get in the console below, but I doubt it will be very useful.
Uncaught TypeError: Cannot read property 'EventSource' of undefined(anonymous function)
@ bundle.js:722(anonymous function)
@ bundle.js:1323__webpack_require__
@ bundle.js:531fn
@ bundle.js:86evsImportName
@ bundle.js:698__webpack_require__
@ bundle.js:531fn
@ bundle.js:86(anonymous function)
@ bundle.js:574__webpack_require__
@ bundle.js:531fn
@ bundle.js:86(anonymous function)
@ bundle.js:561__webpack_require__
@ bundle.js:531(anonymous function)
@ bundle.js:554(anonymous function)
@ bundle.js:557webpackUniversalModuleDefinition
@ bundle.js:7(anonymous function)
@ bundle.js:10

Hmm, looking in to it a bit more the wrapper wrapper for EventSource takes an argument global but at the bottom where the wrapper is invoked undefined is passed. This would obviously cause this error, but I'm not sure why undefined is being explicitly passed. I assume this is supposed to be window.

	   * CommonJS module that exports EventSource polyfill version 0.9.6
	   * This module is intended for browser side use
	   * =====================================================================
	   * THIS IS A POLYFILL MODULE, SO IT HAS SIDE EFFECTS
	   * IT AUTOMATICALLY CHECKS IF window OBJECT DEFINES EventSource
	   * AND ADD THE EXPORTED ONE IN CASE IT IS UNDEFINED
	   * =====================================================================
	   * Supported by sc AmvTek srl
	   * :email<EMAIL_ADDRESS>	 */

	"use strict";

	var PolyfillEventSource = __webpack_require__(3).EventSource;
	module.exports = PolyfillEventSource;

	// Add EventSource to window if it is missing...
	if (window && !window.EventSource) {
	   window.EventSource = PolyfillEventSource;
	   if (console) {
	      console.log("polyfill-eventsource added missing EventSource to window");
	   }
	}

/***/ },
/* 3 */
/***/ function(module, exports) {

	/*
	   * EventSource polyfill version 0.9.6
	   * Supported by sc AmvTek srl
	   * :email<EMAIL_ADDRESS>	 */
	'use strict';

	;(function (global) { global = undefined
...
...
	    global[evsImportName] = EventSource;
	})(undefined);

/***/ },
/* 4 */

There's been a few issues with the eventsource polyfill, I've deprecated v2.0.1 which contained it and released v2.0.2 which removes this functionality dfb7efbfeb031a0596f37ecf3da03a48a7521451.
I'm hoping to release another version later with a working polyfill, so I'd still like to figure out what went wrong here. Can you post your webpack config? I have a theory it's related to the nodejs settings in there.

is this caused by using babel-loader without exclude: /node_modules/? There's no "use strict"; in the source.

base webpack config
var webpack = require('webpack');

var path = require('path');

var ExtractTextPlugin = require('extract-text-webpack-plugin');
var HtmlFilePlugin = require('html-webpack-plugin');

module.exports = {

  entry: './client/index.js',

  output: {
    filename: 'bundle.js',
    path: path.resolve('./public'),
    publicPath: '/',
    libraryTarget: 'umd'
  },

  module: {
    loaders: [
      { test: /\.js$/, loader: 'babel-loader'},
      { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader') },
      { test: /\.svg$/, loader: "url-loader?limit=10000&mimetype=image/svg+xml" }
    ]
  },

  postcss: [
    require('autoprefixer')
  ],

  plugins: [
    new webpack.optimize.DedupePlugin(),
    new webpack.optimize.OccurenceOrderPlugin(true),
    new webpack.optimize.UglifyJsPlugin({
      compress: {
        warnings: false
      },
      output: {
        comments: false
      },
      sourceMap: false
    }),
    new webpack.DefinePlugin({
      'process.env': {NODE_ENV: JSON.stringify('production')}
    }),
    new ExtractTextPlugin('style.css', { allChunks: true }),
    new HtmlFilePlugin({
      inject: true,
      template: 'client/index.html'
    })
  ]

};

modification when running hot
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import HtmlFilePlugin from 'html-webpack-plugin';
import path from 'path';

export default function makeHot(app) {
  const webpack = require('webpack');
  const webpackConfig = require('../webpack.config');

  webpackConfig.plugins = [
    new ExtractTextPlugin('style.css', { allChunks: true }),
    new HtmlFilePlugin({
      inject: true,
      template: 'client/index.html'
    }),
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NoErrorsPlugin()
  ];

  const entry = webpackConfig.entry;
  webpackConfig.entry = [
    'webpack-hot-middleware/client',
    entry
  ];

  const compiler = webpack(webpackConfig);

  const devMiddleware = require("webpack-dev-middleware")(compiler, {
    noInfo: true, publicPath: webpackConfig.output.publicPath
  })

  app.use(devMiddleware);

  app.use(require("webpack-hot-middleware")(compiler));

  app.use(function(req, res, next) {
    const index = devMiddleware.fileSystem.readFileSync(path.join(webpackConfig.output.path, 'index.html'));
    res.end(index);
  }.bind(this));

}

@insin excluding node_modules did the trick thanks for pointing it out

Ok cheers, will include the docs about this in the proper fix for #11


onTransitionReceived() not called for exit region in cordova

Hi all, I am using geofence plugin for cordova app I m getting called onTransitionReceived callback method when user at current region if user croses the region onTransitionReceive not getting called.
Code
`
function onDeviceReady() {

  window.geofence.initialize().then(function () {

}, function (error) {
    alert("Error", error);
});

let fence = [{
    id: "69ca1b88-6fbe-4e80-a4d4-ff4d3748acdb",
    latitude: xx.956786,
    longitude: xx.743058,
    radius: 1000,
    transitionType: 1,
   notification: {
               id: 11,
               title: "Welcome!",
               text: "You're in.",
               openAppOnClick: true
           }
}, {
    id: "69ca1b88-6fbe-4e80-a4d4-ff4d3748acdc",
    latitude: xx.956786,
    longitude: xx.743058,
    radius: 1000,
    transitionType: 2,
     notification: {
               id: 22,
               title: "bye!",
               text: "You're out .",
        openAppOnClick: true
           }
}]

window.geofence.addOrUpdate(fence).then(function () {
    //alert(JSON.stringify(geofences));
    navigator.notification.alert('successfully added', function () { });
}, function (reason) {

    navigator.notification.alert('failed', function () { });
})

window.geofence.onTransitionReceived = function (geofences) {

    geofences.forEach(function (geo) {
        alert("geo " + JSON.stringify(geo));
     });
   };

};`

Any help would be really appreciated

I too have the same issue. Any help would be appreciated


Fix typo in documentation for example server

The casing was incorrect for createGraphQlSchema in the example server implementation.

@cliffpyles Thank you so much! Sharp eyes! Or maybe you got errors when you tried to run the code... how embarrassing! 😅
I think we actually want to change it to createGraphQLSchema, with the capitalized QL. I can take over the changes here.


How to enable cheats console commands? (Doesn't work consistently)

Firstly thanks to anyone lurking since this is a halted project with expired discord links, getting support would be a miracle.
The only cheat I've been able to do is ent_fire !self addoutput "health 10000", and the closest way to consistently doing it is to start a Playground match, dying once and using the command again. This does not always work. Other times I've needed to spam other commands such as firstperson or thirdperson before typing that command.
Closing the client "disables" the cheat until I try to activate it again and get lucky.
I assume this is server-side, since typing sv_cheats 1 don't affect whether a code takes effect or not.
Back to the question, what files should be edited to always enable cheats or grant a user "server" status (a requirement to use ent_fire, as stated by Valve Developer Wiki) so they can use most commands?
Thanks again!

Some incomplete discoveries:

sv_cheats 1 is client side, persists until client is closed - not sure how to intergrate into autoexec yet. it's required for many commands even if they are not tagged as cheat.
some cheats seem to work better in earlier versions of launcher, using 4.2 seems to be most consistent thus far (no doubt there are other bugs for doing so)
bind console command doesn't seem to work but AutoHotKey can automate typing & entering (varying results, often misses letters - I may be doing something wrong)
Less interesting:
Using ent_fire !self addoutput "max_health 100000" (instead of health) works better for Zombie Crush / Scenario due to how the 1% regen works
bot_freeze doesn't work, but bot_stop 1 does work
to replace noclip, one can use 'addoutput' to jump around. Here's an AutoHotKey example:

+f::
{
	Send "``ent_fire {!}self addoutput `"basevelocity 0 0 1000`""
	Sleep 100
	SendEvent "{enter down}"
	Sleep 100
	SendEvent "{enter up}"
	Sleep 100
	Send "``"
	return
}

In case you're interested in simple cheating here's the AutoHotKey files I have so far, even if you don't install AHK you can use the .exe (but need to look at .ahk for key combinations; + means shift).
https://mega.nz/folder/mkUSgZYZ#g8Mvjc_lGFYiGtr8qf0mLA


Issue 204 - Update for Master (rarnold-performance)

All Tests pass.  DCO is not something I can update as another commit was layered ontop.

DCO check failed.

the codes looks good for me

DCO check failed.

Correct, I'll manually set to passed.  There are layers of commits on top of the failed DCO.

very minor, but for consistency with rest of project it would be good to:
1. change `/**` to `/*` in the copyright header

2. remove the `@author` tag in javadoc

Yeah - I intentionally did not do so as I had the other PR open which would conflict with those changes.
I can make those changes.

Updated per Lee's comments


How ErrorRate is calculated?

Hi,
Thanks for creating such a useful tool!
I have referred to the FAQ, but am still not sure how ErrorRate is calculated. Is ErrorRate equal to the total number of mismatches divided by the total number of aligned bases?
Regards,
Frank

Hi Frank,
Issues #3, #6 and #9 already provide an answer to this question I believe.
Best, Tobias

Thanks, Tobias! Unfortunately, it doesn't answer my question :-(
Those issue pages and the FAQ only describe how INDEL rate is calculated, with using the Cigar D and I. It is still not clear with the ErrorRate . To be specific, do you use edit distance (e.g. the NM tag) for the calculation of ErrorRate?
Regards,
Frank

The ErrorRate uses Cigar D and I and mismatches, normalized over all aligned bases.

The Cigar M represents either matches or mismatches. For instance, only with a Cigar string 10M2D30M, we don't know how many bases are matched or mismatched.
How can Alfred know the number of mismatched bases? Sorry, but this is still unclear to me.

Cigar M is compared to the reference sequence and then it's clear whether it's a match or mismatch.