added http version to cover #1

This is a backward incompatible change to support HTTP version in requests.

Looks good to me! I just tried it and it works as expected :D
Do you think it would be beneficial to make use of a record with a variable for its variable fields in order to describe the Context ?

I merge this PR as the new version field is working correctly.
The extensible record idea might work if the available fields and types are part of the type. I am not sure that the Record : Type in recombine would work, but the record definition in collie seems promising.


covered line not detected

Describe the bug
I implemented std::fmt::Display for a type and the implementation contains a match arm like:
_ => write!(
  f,
  "{}{}",
  self.call_wahtever_function(),
  self.call_another_function()
)

The line containing the f is not covered.
To Reproduce
The write! is so long that rustfmt will split it to  multiple lines.
Expected behavior
The line should be counted as covered as the match arm is handled in test

I get this too, a lot.


APIView add rerun pipeline if failure

@praveenkuttappan I think this is the right place 😕

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

@praveenkuttappan I think this is the right place 😕

This information is added to ADO work item and displayed in release planner.

@maririos it doesn't look like you followed the workflow to get this change merged in all the other repos. I just approved the sync PR step in your PR https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4338326&view=logs&j=33796ffc-d0c5-548c-0c1d-9d1ddb84594a please follow-up and approve those PRs and get the merged.

@maririos I finished the syncing process.

@maririos I finished the syncing process.

Thank you again


Update Filters doc page

Version 1 of a consolidated Filters description.

@tb143 Great - thanks! Looking good...


Source Generators

Coming with the .NET 5 wave, I think this extension would fit in really well with that so that mappings are generated at compile time. This would ensure they are always up to date, don't need to be checked in to source control etc while still maintaining the simplicity and speed of having precompiled code
Is this something you are planning on incorporating, or would you be happy to take a contribution with it in? I'd be more than happy to give it a go

Hi
Yes, I was planning to create a source generator when this technology gets an official release. I guess that MappingGenerator.OnBuildGenerator could be quite easily converted to Source Generator.  Any contributions are welcomed.

I make an attempt to create a SourceGenerator but this is a blocker for me https://github.com/dotnet/roslyn/issues/43821

I am a newbie, so forgive me if this does not help. I found this example, that uses syntaxfactory:
https://carlos.mendible.com/2017/03/02/create-a-class-with-net-core-and-roslyn/
The code looks ok, maybe the example could help you if you wanted to change to Syntaxfactory?
I am very new to coding and like your mapping generator a lot, so would love it to work as a source generator.

@cezarypiatek I just found this repo because it has the same name as my own - I have been exploring source generators to implement a Map method for a couple weeks now at this repo, if you're interested. Mind you its not quite ready for production. I guess I'll have to find a different name before I start publishing it as a NuGet package :) I'll be interested to see what you come up with if you get past the blocker.

I started to work on this but finally realized that current code base is quite dependent on SyntaxGenerator which is not avalaible for source generators. Then found this one https://github.com/dotnet/roslyn/issues/43821 where the owner already discussed that. So we either wait for SyntaxGenerator to be exposed somehow or create a new abstraction for generation.


[Task]: Refactor login-router.ts on shared importing platform features file

Currently the file login-router.ts on shared folder is importing desktop features file. Add features to Platform.

Let me check it, I remember there was something realed to this issue

Mobile also has its own in packages/mobile/components/AssetList.svelte and it will also refactored (you will see this happens for almost all the componentes we have in mobile, there is a duplicate in shared that is for desktop), there are lots of components that will be refactored and moved to the specific folder, you can see the list here, the list is not 100% complete yet though.
There are lots of components and files inside shared lib that are are desktop only, we need to refactor all of them little by little. The tasks are being moved to https://github.com/iotaledger/firefly/milestone/1


Footer and Header className prop

Is your feature request related to a problem? Please describe.
We need a className prop for header/footer to be added to "dz-ui-header" "and dz-ui-footer".
Describe the solution you'd like
Add headerClassName footerClassName to specify custom className for header and footer like
<Dropzone
    headerClassName={"headerCustomClass"}
    footerClassName={"footerCustomClass"}
>
  ...
</Dropzone>

Additional context
I tried to specify more than 10 file types with "accept" prop, and the width of the footer is too long, we have a custom css class to wrap the words to prevent line goes offscreen, but there is no way to add our custom class to footer. You can see an example in the following image:

Hey @davidbejarcaceres !!
Thanks for the feature request.
We added this feature in a new version 🚀 V6.7.20. Also, you can check how it works in this codesandbox example.
Please, reinstall the package and 👀 try this new version out and let us know if this improvement solves your issue or if there is something else missing.
Thanks in advance.

This works perfectly.
Thanks!


Add option to set legend edge color

Thanks for the enhancement and I apologize for very late reply. I'll merge the changes shortly.


SPT-1998 Последние правки + генерация swift-docc

Что сделано

Сгенерирована документация с помощью swift-docc
Удален jazzy
Поправлены ссылки в md документации
Удалена не актуальная документация

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

Project coverage is 92.23%. Comparing base (de8002c) to head (20ad7bb).
Report is 16 commits behind head on 5.0.0.

Additional details and impacted files
@@            Coverage Diff             @@
##            5.0.0     #140      +/-   ##
==========================================
- Coverage   92.37%   92.23%   -0.15%
==========================================
  Files          86       85       -1
  Lines        1351     1326      -25
==========================================
- Hits         1248     1223      -25
  Misses        103      103

Flag
Coverage Δ

tests
92.23% <ø> (-0.15%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


IndexBuilder step running in single thread for ASCII variable length files

Background [Optional]
Platform: azure Databricks with file on azure storage
Cluster: 1 driver ( 16 core) + 3 workers (each with 16 core)
Spark API: pyspark
Cobrix:
using cobrix: spark-cobol_2.12
Code:
df = spark.read.format("cobol")
.option("copybook", copybook_path)
.option("encoding", "ascii")
.option("record_format", "D2")
.load(src_file_path)
df.write.parquet("output_path")
Scenario:
we have 300+ GB variable width variable length with multi-segmented file containing more than 2000 columns , file contains 13+ M records and input file is a text file (CRLF / LF are used to split records) .
I am trying to write to  parquet file.

indexBuilder stage is running in single partition ( 1 core of single worker node) and taking more than 2 hours
2)after index build, writing parquet file is completing in 30 mins using multiple partitions & all worker cores/threads.

able to see data correctly in parquet file
Question
How to do I parallelize job across executors for indexBuilder step also?

Hi, @saikumare-a ,
The index building can't be parallelized for variable-length files. This is because we don't know where each record begins and ends given a record number. That's why index builder is there in the first place - to prepare the file for parallel processing.
If you want to improve performance, your options are:

Use multiple input files, not just one big file. Multiple files are going to be processed in parallel.
Use fixed-length format. This way the location of each record is known so it can run in parallel.

Hi @yruslan,
Thank you for the reply.
The files are in ASCII encoding and each record is in single line ( CR/LF separated). each record is of variable length with multiple segments (each segment has variable length and making overall record as variable length)
is there any other opportunity as each record is in single line only

For ASCII files there is an extension that can skip the split.
.option("record_format", "D2")

But it can only be used if record id and segment id generation is not used.

Hi @yruslan ,
tried "D2" record format ( without record id and segment id generation)  for ASCII files, but still see first stage as index building.

What's your exact spark.read code snippet?

Hi @yruslan , below is the code snippet we are using
df = spark.read.format("cobol")
.option("copybook","<copybook_path>")
.option("generate_record_id","false")
.option("drop_value_fillers","false")
.option("drop_group_fillers","false")
.option("pedantic","true")
.option("encoding","ascii")
.option("variable_size_occurs","true")
.option("record_format","D2")
.load(<file_path>)

This options is incompatible with D2, it switches to D
.option("variable_size_occurs","true")

Hi @yruslan ,
Could you please elaborate the change done and which all "record_format"s will improve performance with this fix

Both D and D2 record formats should have the performance improvement.

Thank you for the update

Hi @yruslan,
we are getting different results with 2.6.1 and 2.6.2 snapshot provided in https://github.com/AbsaOSS/cobrix/issues/545
got to see that .option("variable_size_occurs","true") is not working in 2.6.2 snapshot .
all followup columns post variable array are becoming null
Regards,
Saikumar

Hi, good spot! Will check

I can confirm. Could you please create a separate issue for this?

also,
in 2.6.2 snapshot,

"D" record_format is still performing index building and giving correct answer
"D2" record_format not performing  index building , but giving above mentioned wrong result

I can confirm. Could you please create a separate issue for this?
Hi @yruslan,

https://github.com/AbsaOSS/cobrix/issues/553 is created


CHANGES/MIGRATE entries for KnnVectorValues API change

ordToDoc and copy were moved from RandomAccessVectorValues; consumers will mostly just need to replace uses of that class with KnnVectorValues. As for getEncoding, yeah since it's new, there's no migration step as such related to that. I suppose it's conceivable that someone may have implemented their own subclass of Byte or FloatVectorValues and will now need to comply with the new contract, but that seems extremely expert and I don't think we'd need to cover it here?


snip_list() with sorting = "inseq" errors when a column only contains NAs

Prework

[x] Read and agree to the code of conduct and contributing guidelines.
[x] If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.
[x] Post a minimal reproducible example so the maintainer can troubleshoot the problems you identify. A reproducible example is:

[x] Runnable: post enough R code and data so any onlooker can create the error on their own computer.
[x] Minimal: reduce runtime wherever possible and remove complicated details that are irrelevant to the issue at hand.
[x] Readable: format your code according to the tidyverse style guide.

library(pointblank)
df <- data.frame(
  id = rep(NA, 5)
)
informant <- pointblank::create_informant(
  tbl = df
)
informant <- pointblank::info_snippet(
  x = informant,
  snippet_name = "snippet_name",
  fn = pointblank::snip_list(column = "id", sorting = "inseq")
)
informant <- pointblank::info_columns(
  x = informant,
  columns = "id",
  `ℹ` = "{{{snippet_name}}}"
)
pointblank::incorporate(informant)

Description
The sorting = "inseq" argument of the pointblank::snip_list function creates the following error when incorporate() is called in case all values in the column are missing (NA):
Error in rep(paste0(sep, " "), length(item_vector) - 1) :
  invalid 'times' argument

The other options (e.g. sorting = "infreq") do not produce an error.
Expected result
I would have expected for the snip_list function to return an interpretable value, e.g. {NA}, not an error.
Session info
R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7
Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] pointblank_<IP_ADDRESS>00
loaded via a namespace (and not attached):
[1] pillar_1.4.7      compiler_4.0.3    sys_3.4           tools_4.0.3       digest_0.6.27
[6] evaluate_0.14     jsonlite_1.7.2    lifecycle_0.2.0   tibble_3.0.5      gtable_0.3.0
[11] checkmate_2.0.0   pkgconfig_2.0.3   rlang_0.4.10      DBI_1.1.1         rstudioapi_0.13
[16] commonmark_1.7    yaml_2.2.1        curl_4.3          xfun_0.20         knitr_1.30
[21] dplyr_1.0.3       stringr_1.4.0     generics_0.1.0    vctrs_0.3.6       sass_0.3.1
[26] askpass_1.1       grid_4.0.3        tidyselect_1.1.0  glue_1.4.2        R6_2.5.0
[31] rmarkdown_2.6     blastula_0.3.2    purrr_0.3.4       ggplot2_3.3.3     magrittr_2.0.1
[36] scales_1.1.1      backports_1.2.1   credentials_1.3.0 ellipsis_0.3.1    htmltools_0.5.1
[41] assertthat_0.2.1  gt_0.2.2          colorspace_2.0-0  stringi_1.5.3     openssl_1.4.3
[46] munsell_0.5.0     crayon_1.3.4

Thank you for reporting this! It’ll be fixed right away (and I’ll check that the all-NA cases in the other snip_*() functions don’t fail like this).

Should now be fixed in https://github.com/rich-iannone/pointblank/commit/a1c871c56ce6b88efc9f1509e815050d619a849c.


Add KubeCon Europe 2019 presentation about Bazel

Added "Reproducible Development and Deployment with Bazel and Telepresence" from KubeCon

thanks!


lomax: Adding coroutine functionality

Signed-off-by: Simarpreet Singh<EMAIL_ADDRESS>

I'll improve on the kill-all.sh script once I merge this in as it's needed elsewhere.


Implementing an Extension

So I followed the Wiki page and created an Extension class. What I don't know how to do is tie it into my Parsedown package telling it to use my new class while parsing text. Below is my new class:
<?php namespace App\Extensions;

use App\Repositories\User\UsersRepository;
use Parsedown;

class Extenstion extends Parsedown {

    /**
     * @var UsersRepository
     */
    private $usersRepository;

    function __construct(UsersRepository $usersRepository)
    {
        $this->InlineTypes['@'] []= 'UserTag';

        $this->inlineMarkerList .= '@';

        $this->usersRepository = $usersRepository;
    }

    protected function inlineUserTag($Excerpt)
    {
        if (preg_match('/^@([^\s]+)/', $Excerpt['text'], $matches))
        {
            $urlToUser  =   $this->usersRepository->findByDisplayName($matches[1])->url();

            return array(
                'extent' => strlen($matches[0]),
                'element' => array(
                    'name' => 'a',
                    'text' => '@' . $matches[1],
                    'attributes' => array(
                        'href' => $urlToUser,
                    ),
                ),
            );
        }
    }

}

The purpose of this extension is to turn @Trinyx into a link to that user but keeping the same text.

Well, you should just use your class instead of Parsedown.
So instead of:
<?php
$Parsedown = new Parsedown();
$markup = $Parsedown->text('# Some Markdown Here');

you would use:
<?php

$Parsedown = new App\Extensions\Extension($userRepository);
$markup = $Parsedown->text('# Some Markdown Here with @usernames');

This is quite literally an extension. You just extend a class and use OOP. :beers:

Oh lol I'm using Parsedown through Laravel and didn't realize it was like that. Thanks.


CarouselView not showing on iOS

I am having trouble getting the CarouselView to show, but only on iOS.  It is a basic CarouselView fully declared within XAML.  The nuget is loaded into all projects and the CarouselViewRenderer is declared in AppDelegate.  It is also declared as it should be in the XAML.
Android works perfectly.  iOS shows nothing.  For brevity, I snipped out the CarouselView xaml below and removed a chunk of code from within it, but what I removed is no different than what you see here (grids/labels/stacklayouts).
I am using an Ipad on iOS 11.  Xamarin version is 4.8.0757.  NetStandard v2.0. CarouselView.FormsPlugin Nuget version 5.2.0.

Did you init CarouselView in IOS project?
USAGE
App.Delegate.cs
using CarouselView.FormsPlugin.iOS;
...
public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{
  global::Xamarin.Forms.Forms.Init ();
  CarouselViewRenderer.Init ();
  LoadApplication (new App ());
  return base.FinishedLaunching (app, options);
}

Yes, I did.
Am 09.02.2018 um 15:32 schrieb Vice:

Did you init CarouselView in IOS project?
USAGE
App.Delegate.cs
|using CarouselView.FormsPlugin.iOS; ... public override bool
FinishedLaunching (UIApplication app, NSDictionary options) {
global::Xamarin.Forms.Forms.Init (); CarouselViewRenderer.Init ();
LoadApplication (new App ()); return base.FinishedLaunching (app,
options); } |
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alexrainman/CarouselView/issues/342#issuecomment-364449586,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AinXSF-7dmWaTPFfeRmpDQ_lVWfEPGP9ks5tTFcJgaJpZM4R3QrB.

--
arQSoft UG
Holstenstr. 10
D-27472 Cuxhaven
Tel.: +49 (0) 4721 610 96 79
www.arQSoft.net

Yes, and in XAML.

I'm running into something similar, it looks like it's not picking it's own height. If I set a heightrequest on my CarouselViewControl then it appears, just doesn't seem to work dynamically. Still trying stuff out though.

I was having the same issue.  Just did a simple label and it now appears correctly in iOS.  Will start adding things back to see were it may be breaking.

This control has been merged into Xamarin.Forms master branch. Please, wait for it to be released as part of Xamarin.Forms and submit any issues there https://github.com/xamarin/xamarin.forms/tree/feature-carouselview. Thanks


Replace the main file from dist/validate.js to src/validate.js.

Coverage remained the same at 100.0% when pulling 5af41538025cad3ea5f00f9b6f484a7d5c54d10c on replace-main-file-to-src into 57f607c2175dc24a4ba63d4f05baf11e79be2de5 on master.

Coverage remained the same at 100.0% when pulling a1e0b3343808596a9cc5f1e4fc04b6a685cf1713 on replace-main-file-to-src into 57f607c2175dc24a4ba63d4f05baf11e79be2de5 on master.


📋 [TASK] - Finish up PR comments

Parent Feature
#714
Task Description
Complete review and updates for documented PR comments.
I just needed a way to track the checklist and who progress to the team...so I'm writing this issue to that end.
Acceptance Criteria

[x] https://github.com/DevOps-MBSE/AaC/pull/714#pullrequestreview-1809329503
[x] https://github.com/DevOps-MBSE/AaC/pull/714#pullrequestreview-1812464190
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435240933
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435746351
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435747857
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1439872117
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1440007993
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1446443488
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1446444696
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1446445278
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1446447878
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1446448533
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1446454172
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1447577099
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1448076912
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1448091114
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1448096641
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1448098074
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1448099167
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1448154097
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1448155834
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1448156299
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1449106267
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1449113781
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1420799368
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1420812319
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1420843879
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1411960449
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1412066820
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1412070672
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1412091257
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1430601377
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1430682905
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1432884374
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1432886625
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1448272507
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1433047873
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1433158808
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1433190534
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434355464
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435746351
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#issuecomment-1904298568
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1430714511
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1433173646
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434426268
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434479124
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434487087
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434516351
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434518067
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434523963
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434529131
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434534678
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435247273
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435269327
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435316317
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435333841
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435351556
[x] • https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435339922
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1439665498

Some Missing Language Error Corrections

[x] 	https://github.com/DevOps-MBSE/AaC/pull/714/files#r1444814056
[x] https://github.com/DevOps-MBSE/AaC/pull/714/files#r1439582125
[x]  https://github.com/DevOps-MBSE/AaC/pull/714/files#r1444823974
[x]  https://github.com/DevOps-MBSE/AaC/pull/714/files#r1444823403
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1445142981
This still needs the message corrected to match the check happening.

Spelling, grammar, phrasing, formatting, templates

[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1412559871
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1421102004
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1433122505
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435746840
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435747173
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434346225
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1433168532
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434412497
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434413403
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1434523963
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435346457
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435336946
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1435365529
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1440742731
[x]  https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1440770660
[x] https://github.com/DevOps-MBSE/AaC/pull/714#discussion_r1440986509

Unresolved questions
No response

Keeping a checklist of PR comments here was super helpful!  I'd recommend this in the future if we do any more substantial changes / PRs.  It's a really good way to keep track of things given the limitations encountered with the GitHub PR UI.

I've made a few updated per the PR comments, but my tox is failing for some reason.  I get the error: pkg_resources.ContextualVersionConflict: (build 0.7.0 (/home/jdblack/documents/repos/AaC/python/.eggs/build-0.7.0-py3.11.egg), Requirement.parse('build>=1.0.0'), {'pip-tools'}), but it appears my packages are all up to date.  I'll take another look tomorrow when I'm less tired.
I'm going to go ahead and push my updates just so they don't get lost in some swirl.  I'm also curious to see if GitHub Actions hits the same thing I'm seeing.  Fair warning!

All the listed PR comments have been resolved (either via code change or response).  Now the pipeline is failing due to something happening in the offline-installer test.  It looks like the aac.aac file can't be found when running the version command as a simple smoke test.  But when I look at the aac wheel file, the aac.aac content appears to be present.  I should caveat that I'm looking at what's produced locally when running the secure install pipeline, not what's built on GitHub Actions.  I'm not sure what the root cause is here...nothing has changed in the secure_install as far as I can tell.  Will keep looking.

I've tried a few things, but still have errors:

The aac.aac file seems to be missing:  aac.in_out.parser._parser_error.ParserError: ('<string>', ['Provided content was not YAML.  Ensure file exists. ', '/home/runner/work/AaC/AaC/python/.tox/py310/lib/python3.10/site-packages/aac/context/../aac.aac'])
The tolmi library seems to no longer support python version earlier than 3.11:  ERROR: No matching distribution found for tomli>=1.1.0; python_version < "3.11"

The first item is a total mystery to me.  The second raises the question...should we advance our base version of python support from 3.9 to 3.11?  I run 3.11 locally and have no issues with any of the testing failures we're seeing in the pipelines.

I tested the GitHub Actions pipelines that removed the old versions of Python...and everything passed.
Not sure what to do next.  Do we go back and fix the old versions of python or just move on?

I'll bring this last couple of comments up with the team while we are together tomorrow and figure out the current direction the team would like to go.
A middle ground I think could be to currently stay with the fixes you have in place of working with solely 3.11 and could have a follow up to correct for re-establishing working with the older versions so that we don't potentially lose compatibility.

So, this woke me up at 0230 this morning..., I believe we're going to need to fix the dependency conflict to still allow support of 3.9 because of the ripples of not working with 3.9. Looking over other project resources they currently only support up to 3.10.5, but that is not what is currently mostly deployed. And currently no timeline for 3.11 being available.
So, we'd be killing multiple end users environments by dropping the 3.9 support. As well as preventing them from having a functioning tool at all because they don't have access to the base Python version now required.

I've tried a few things, but still have errors:

The aac.aac file seems to be missing:  aac.in_out.parser._parser_error.ParserError: ('<string>', ['Provided content was not YAML.  Ensure file exists. ', '/home/runner/work/AaC/AaC/python/.tox/py310/lib/python3.10/site-packages/aac/context/../aac.aac'])

Looks like your packaging step may have gotten dorkered...the path to aac.aac doesn't look correct. So, it's looking for it in the incorrect spot and that's why it isn't finding it to parse I think.

The tolmi library seems to no longer support python version earlier than 3.11: ERROR: No matching distribution found for tomli>=1.1.0; python_version < "3.11"

This is going to be a headache to try and resolve, but unfortunately, I think we are going to have to besides just jumping to 3.11 because of project resource restriction. Hopefully something can be found.

Pending team decision on the Python version bit, I just pulled latest and did some testing of executing basic commands, leveraging example plugin to run gen-plugin and everything is seeming stable and working.
So, believe we are right at the cusp on finally getting to merge this in!

(venv) gitpod /workspace/AaC/python (pure-py-api) $ python --version
Python 3.9.18

Okay, so been testing things this morning and confirming the 3.11 updates to everything because I had seen where all the pipeline pieces got modified and thought I had seen the Gitpod config as well. But seems not, so the tool itself seems to be functioning with 3.9 still, it's something about tests are only impacted by that tomli package and the 3.11 need it seems.

Team discussed and decided based on what behavior and environment configuration we were seeing in Gitpod that we should be good to move forward with the 0.4.0 and can sort out the pipeline funkiness about the later Python version and tomli as follow up tasking.


Remove page from stack after login

I know this has been asked a lot but I don't seem to find a working solution.
My app has a login page and after the user has logged in, the app goes to the main page, so far so good.
I also keep the session alive so that the user doesn't have to log in evey time the app is launched. This is done by saving a token in application settings and choose which page is going to be the default page.
After the user logs into the app, if he/she clicks the back button (I disabled the status bar in iOS to try to avoid this behavior but android still has the back button) the app goes back to the login page. I want to delete that login page from history so when the user taps the back button the application closes. Just like if I did finish() in native android activities
I've read something about backstackVisible but I don't know how to implement it with the router of angular2
Thanks in advance.

Currently, there is no way to do backstackVisible using the angular router. Its a feature that we hope to implement soon as the demand is high.
For now you can try one of the following approaches:

You can implement an authentication guard to intercept the initial navigation and redirect to login. The next time app is started after the token is read form app settings - the guard will let the navigation pass -> no login page in back-stack. There is already a branch of the groceries app that does that: check auth.guard.ts and app.routes.ts
You can use a modal dialog to show a login dialog in your first page if login needed. The dialog will not be saved in the navigation-stack.

I have reopened the issues about backstackVisible/clearHistory. You can track it #284

@vakrilov Thanks for your reply and for reopening the #284 issue.
I thought about executing code when the app goes back to the login page so if the user is logged in it goes back to the main page. It isn't the behavior I want but I can live with it while you are working on the new router. I saw there is the alpha version of the router 3.0.0.
The problem is that I don't know how to execute the code when the page calls, for example, the OnResume() method (in native android development). I am using ngOnInit() but it gets called only once like the constructor. Is there any way a piece of code can be executed when the page is resuming?

Just to clarify: there is already support for the 3.0.0 router in the current version(0.1.8). Actually my first suggestion with the auth.guard is based on the new routers guards feature.
On your question - you can inject the Page in you component constructor (trough DI) and and attach to navigatedTo/navigatingTo events with on(). You can also read the isBackNavigation property form the args of the event to apply additional logic.

Hi @vakrilov, Is there any updates about backstackVisible/clearHistory? I'm using latest router now, but I'd like to implement clearHistory feature as i'm using login screen. Please check my question on stackoverflow at your convenience. Thanks :)

@Onkarn92 ClearHistory have just been implemented:
https://github.com/NativeScript/nativescript-angular/pull/368

Yup, I have also added a login example using the clear history and guards.
Closing this issue - please reopen if needed.

Hi,
How to remove a particular page from navigation ??
Let say
I am navigating to page3 from page1 via page2. when user clicks on page3 back button I don't want him to see page2 I want him to go to page1.
Is it possible in NS-Core ???
page1 -> page2 -> page3
page3 (Back) -> page1
Thanks.

How to remove a particular page from navigation ??

when you navigate from page2 to page3 try to use router.navigate('page3url', { replaceUrl: true })

Hi @blackrek ,
I didn't understood router here. Here is my code, will u please tell me where to place your code snippet ??
var navigationOptions = {
moduleName: 'views/pond/view-pond-log/view-pond-log',
context: {
pondid: pondidValue,
pondName: viewModel.pondName
},
}
frameModule.topmost().navigate(navigationOptions);

@sagar1911 If you are not using angular it is better to post the issue in the https://github.com/NativeScript/NativeScript repo. Here we are discussing angular and the navigation in angular apps should always be done trough the angular router abstraction ;)

okay @vakrilov ,
got it

Hi @vakrilov
How to remove a particular pages from navigation ??
Let say
I am navigating to page2 from page1, page 3 from page2 and so on like this page1 ->page2->page3->page4->page5.
now i want to remove page2 and page4 from stack so that when user clicks hardware back button i want navigation to behave like this page5->page3->page1->exit

Hey @bhavincb
There is currently no direct way to modify the navigation stack. One thing we are considering is to implement navigation the backstackVisible=false. However, it is not yet implemented for angular.
There are some ways to workaround this using modal views. You can check #284 where we discussed one such scenario.

hi @vakrilov ,
if there is  currently no direct way to modify the navigation stack. then please mark it as feature request/ because there are many use-cases  available where we need to modify navigation stack. this feature should be implemented when using angular.

Sure - can you log a new issue about that.

ha sure.

hii @vakrilov ,
i had created issue  here.
#1244

am new learner in angular, I use login and after login i go on home page , but home page is come on login page, how to remove login page after logged successfully and go on home page.

I am new learner in angular, I use login and after login i go on home page , but home page is come on login page, how to remove login page after logged successfully and go on home page.


1.20.4 update issue

Basically, on 1.20.4 i have an update issue where the mod menu shows the 9.2.0 beta 2 update available, but when i install it, it shows me  the old version 9.0.0 as an available update, wanted to know if it's gonna be fixed or in the case that the 1.20.4 is no longer supported is there any way to disable the update checker for the mod menu itself

Just pushed v9.2.0 which should contain a backport of this fix. Let me know if it works!

It's working fine, thank you !


Remove: Unity.Unity.6000.visionOS version 6000.0.12f1

Microsoft Reviewers: Open in CodeFlow

URL: https://download.unity3d.com/download_unity/7defd84cdab8/TargetSupportInstaller/UnitySetup-VisionOS-Support-for-Editor-6000.0.12f1.exe
OK
(Automated message - build 923)

https://github.com/microsoft/winget-pkgs/pull/186121#issuecomment-2445759087

[Policy] Needs-Manual-Merge


ItemStack isEmpty

SpongeAPI | SpongeCommon
Adds an isEmpty Method to ItemStacks

I'm not sure what to do with those NONE and AIR ItemTypes.
NONE seems redundant as Vanilla already uses AIR for empty ItemStacks. Item.getItemFromBlock(Blocks.AIR)
imo we should use only one of the two everywhere in the API.
It is currently possible to create NONE ItemStacks with a non-zero quantity. :S

ping @gabizou


[W5.7][W10-3] Adeel Dhedhi Bhyria

Introducing the SearchEmailCommand enabling the finding of persons by their associated email. The command allows listing of multiple persons by accepting multiple emails as input.

Just to check, is your PR still a work in progress?

Please close this PR after reading comments.


Time error

It is now 18:54 in the +8 time zone.
But

Day Currently active

Hello, the Night/Day switch is not controlled directly by the daytime. Instead, it is controlled by the Windows function Night light. Try to turn it on, and it will switch the app mode. The steps are described here: https://sunsetdimmer.nastojte.cz/help/


Charset wrong or missing in a GET request

Hi:
Description
I'm requesting an spanish html page which has a content type header:
Content-Type:text/html; charset=iso-8859-15

When trying to get the text of a given node, the resulting text doesn't honor the charset and special characters can't be interpreted properly.  I'm using the following code to reproduce the behavior:
Jsoup + apache
@Grapes([
    @Grab('org.jsoup:jsoup:1.11.2'),
    @Grab('io.github.http-builder-ng:http-builder-ng-apache:1.0.3')])

import groovyx.net.http.HttpBuilder

HttpBuilder
    .configure { request.uri = "http://www.elmundo.es/cataluna/2017/12/19/5a3986a4268e3ed7478b45f5.html" }
    .get()
    .select("div[itemprop=articleBody]")
    .text()

XmlSlurper + neckkohtml + okhttp
@Grapes([
@Grab('io.github.http-builder-ng:http-builder-ng-okhttp:1.0.3'),
    @Grab(group='net.sourceforge.nekohtml', module='nekohtml', version='1.9.22')
    ])
import groovyx.net.http.HttpBuilder

HttpBuilder
    .configure { request.uri = "http://www.elmundo.es/cataluna/2017/12/19/5a3986a4268e3ed7478b45f5.html" }
    .get()
    .'**'
    .find { it.name() == 'DIV' && it.@itemprop == 'articleBody' }

Neither of both cases respected the text encoding present in the content type header, coming from the server.  I'm assuming that should be handled by the library but maybe I'm wrong.
BTW: great project guys :)

Interesting. Should be able to take a look sometime next week. Thanks for reporting.

Please be advised that this project is dormant - see #230 - there are no plans to patch, release or merge anything in the foreseeable future.


Bump grpc to latest

This will also fix building from source on Apple Silicon

@dmitry-zaitsev I think this will fix the build issue on M1 laptops, I was unable to build the project and upgraded grpc on my code and it works.

@berikv let's make sure to update Maestro Cloud repo once this is released

Verified to work with both android and iOS


[Designer] Bug 33489084: [Adaptive Cards - FlightUpdate.Json]: Screen reader focus jumps to the decorative image under the FlightUpdate.Json card in scan mode by using up and down arrow key.

Problem Description
Bug 33489084: [Adaptive Cards - FlightUpdate.Json]: Screen reader focus jumps to the decorative image under the FlightUpdate.Json card in scan mode by using up and down arrow key.
Test Environment:
Application: Adaptive Cards
OS version: Dev (OS Build 21387.1)
Application Version: 2.7.2105.11001
Screen Reader: Narrator
Repro steps:

Launch the Adaptive Card application and narrator.

Adaptive Card UWP Visualizer screen starts appearing.

Navigate to FlightUpdate.Json button by using Tab key and activate it.

FlightUpdate adaptive card will be appeared on right sight of the pane.

Navigate to FlightUpdate card by using Tab key.

Navigate in scan mode and observe the issue.

Actual Result:
Screen reader focus jumps to the decorative image under the  FlightUpdate.Json card in scan mode by using up and down arrow key. Narrator announces only Image when focus jump to the decorative image.
Expected Result:
Screen reader focus should not jumps to the decorative image by using up and down arrow key.
User Experience:
Screen reader users will be impacted if screen reader focus will jump to the decorative image in scan mode.
Observation:
NVDA(2022.4) and JAWS(2021) scan mode is not working on Adaptive Cards.
Card JSON
Designer Bug. Repro on UWP Adaptive Card visualizer

Screenshot
No response

This issue is not repro, hence closing this issue.


Require Error

I can't do a require 'dry-struct' in my gem.
My gemspec:
  spec.required_ruby_version = '~> 2.2'

  spec.add_dependency "savon", "~> 2.12.0"
  spec.add_dependency "dry-types"
  spec.add_dependency "dry-struct"
  spec.add_dependency "ox"
  spec.add_development_dependency "bundler", "~> 1.16"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "pry", "~> 0.12.2"
  spec.add_development_dependency "rspec", "~> 3.0"
  spec.add_development_dependency "webmock"
  spec.add_development_dependency "simplecov"
  spec.add_development_dependency "simplecov-console"

I'm getting this error:
⋊> ~/p/nfse on master ⨯ bundle console                                                                                16:07:02
irb(main):001:0>  require 'dry-struct'
SyntaxError: /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:67: syntax error, unexpected <<, expecting ')'
          module_eval(<<~RUBY, __FILE__, __LINE__ + 1)
                        ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:67: Can't assign to __FILE__
          module_eval(<<~RUBY, __FILE__, __LINE__ + 1)
                                        ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:67: Can't assign to __LINE__
          module_eval(<<~RUBY, __FILE__, __LINE__ + 1)
                                                   ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:67: syntax error, unexpected '+', expecting '='
          module_eval(<<~RUBY, __FILE__, __LINE__ + 1)
                                                   ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:100: syntax error, unexpected <<, expecting ')'
          module_eval(<<~RUBY, __FILE__, __LINE__ + 1)
                        ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:100: Can't assign to __FILE__
          module_eval(<<~RUBY, __FILE__, __LINE__ + 1)
                                        ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:100: Can't assign to __LINE__
          module_eval(<<~RUBY, __FILE__, __LINE__ + 1)
                                                   ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:100: syntax error, unexpected '+', expecting '='
          module_eval(<<~RUBY, __FILE__, __LINE__ + 1)
                                                   ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:119: syntax error, unexpected <<, expecting ')'
          module_eval(<<~RUBY, __FILE__, __LINE__ + 1)
                        ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:119: Can't assign to __FILE__
          module_eval(<<~RUBY, __FILE__, __LINE__ + 1)
                                        ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:119: Can't assign to __LINE__
          module_eval(<<~RUBY, __FILE__, __LINE__ + 1)
                                                   ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:119: syntax error, unexpected '+', expecting '='
          module_eval(<<~RUBY, __FILE__, __LINE__ + 1)
                                                   ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:121: syntax error, unexpected keyword_if, expecting ')'
              if #{application}
                ^
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:125: syntax error, unexpected keyword_end, expecting ')'
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:130: syntax error, unexpected keyword_end, expecting ')'
/usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule/interface.rb:141: syntax error, unexpected keyword_end, expecting '}'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule.rb:6:in `require'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule.rb:6:in `<top (required)>'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule_compiler.rb:3:in `require'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-logic-0.6.1/lib/dry/logic/rule_compiler.rb:3:in `<top (required)>'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-types-0.13.4/lib/dry/types/constraints.rb:1:in `require'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-types-0.13.4/lib/dry/types/constraints.rb:1:in `<top (required)>'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-types-0.13.4/lib/dry/types/constrained.rb:2:in `require'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-types-0.13.4/lib/dry/types/constrained.rb:2:in `<top (required)>'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-types-0.13.4/lib/dry/types/builder.rb:73:in `require'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-types-0.13.4/lib/dry/types/builder.rb:73:in `<top (required)>'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-types-0.13.4/lib/dry/types/definition.rb:1:in `require'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-types-0.13.4/lib/dry/types/definition.rb:1:in `<top (required)>'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-types-0.13.4/lib/dry/types.rb:17:in `require'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-types-0.13.4/lib/dry/types.rb:17:in `<top (required)>'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-types-0.13.4/lib/dry-types.rb:1:in `require'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-types-0.13.4/lib/dry-types.rb:1:in `<top (required)>'
... 3 levels...
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/gems/dry-struct-0.6.0/lib/dry-struct.rb:1:in `<top (required)>'
	from (irb):1:in `require'
	from (irb):1
	from /usr/share/rvm/rubies/ruby-2.2.10/lib/ruby/site_ruby/2.2.0/bundler/cli/console.rb:19:in `run'
	from /usr/share/rvm/rubies/ruby-2.2.10/lib/ruby/site_ruby/2.2.0/bundler/cli.rb:455:in `console'
	from /usr/share/rvm/rubies/ruby-2.2.10/lib/ruby/site_ruby/2.2.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from /usr/share/rvm/rubies/ruby-2.2.10/lib/ruby/site_ruby/2.2.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
	from /usr/share/rvm/rubies/ruby-2.2.10/lib/ruby/site_ruby/2.2.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
	from /usr/share/rvm/rubies/ruby-2.2.10/lib/ruby/site_ruby/2.2.0/bundler/cli.rb:27:in `dispatch'
	from /usr/share/rvm/rubies/ruby-2.2.10/lib/ruby/site_ruby/2.2.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
	from /usr/share/rvm/rubies/ruby-2.2.10/lib/ruby/site_ruby/2.2.0/bundler/cli.rb:18:in `start'
	from /usr/share/rvm/rubies/ruby-2.2.10/bin/bundle:30:in `block in <main>'
	from /usr/share/rvm/rubies/ruby-2.2.10/lib/ruby/site_ruby/2.2.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'
	from /usr/share/rvm/rubies/ruby-2.2.10/bin/bundle:22:in `<main>'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/bin/ruby_executable_hooks:24:in `eval'
	from /usr/share/rvm/gems/ruby-2.2.10@nfse/bin/ruby_executable_hooks:24:in `<main>'

Looks like you're on a fairly old version of Ruby (2.2.10), for which support was dropped nearly a year ago: https://www.ruby-lang.org/en/news/2018/06/20/support-of-ruby-2-2-has-ended/
dry-struct requires at least 2.4.0: https://github.com/dry-rb/dry-struct/blob/master/dry-struct.gemspec#L30

Like Paul said, we dropped support for MRI < 2.4. Please upgrade.


unity3d

hello! this is more of a personal issue but i would like to know how do i obtain the 3d models from unity3d files? for example, if wanted to use the cgss models for mmd, how do i extract them? ive been trying unity3d viewers but all they show is code, and im not sure how to get the actual mesh?

if any confusion was made because of my poor writing, the image above is what i want. only the 3d model, but all i can find is unity3d and i dont know how to get the model out of it, or maybe theres another file type for the 3d model alone? i hope this is not too hard to answer, since ive searched the internet and i cant seem to find an answer. thank you!

Sorry, I'm not u3d developer, I'm not aware of what file contains the model and how to extract the model.

There's a documentation(in Chinese though) which converts CGSS models into MMD using AssetStudio, PmxEditor/Blender. you can give it a read

all you need is assetstudio linked in the comment before me, just drag the tx + md files to the assetstudiogui and export. if you need more help, let me know!

thanks everyone for the help, i put mmd as an example because i didnt wanna say something more complicated
(the real reason is im trying to convert these models into vrchat avatars)
months later, i saw this comment and decided to give a try. now, here i am manually moving every single bone so it can make facial expressions! i figured out the assetstudio part, since i already used that program for my projectsekai vrchat avatars. thank u for ur help!


Migrate "My Tools"

This is an initial stub to keep track of the migration of the "My Tools" page, sans functionality.
i.e. The page should first be created allowing you to navigate through all of your own tools, but interaction like publishing, unpublishing, editing tool paths, can be tracked via a subsequent ticket.

I believe that this has been sufficiently demoed to the extent that we should open smaller tickets for specific features


GET	/posts/1/comments returns comments for posts other than 1

GET	/posts/1/comments returns comments for posts other than 1

Thanks for your patience and the heads up, it's fixed :+1:


[FEAT] Added TSMixerx model

This PR adds the TSMixerx model into neuralforecast (in the paper referred to as TSMixerExt), which provides support for exogenous inputs, and demonstrates its applicaiton in a Multivariate_with_TSMixer example notebook.

Added TSMixerx and AutoTSMixerx models to NeuralForecast
Included tests in core class
Included performance evaluation in example notebook.
Updated some codeparts from TSMixer for consistency with TSMixerx

If TSMixerx does support exog variables while TSMixer does not, should something like this be added to TSMixer?
        # TSMixer does not support historic exogenous variables
        if hist_exog_list is not None:
            raise Exception("TSMixer does not support historic exogenous variables.")

        # ... same for futr and static

As in models that do not support exog variables (NBEATS, PatchTST etc.)

If TSMixerx does support exog variables while TSMixer does not, should something like this be added to TSMixer?
        # TSMixer does not support historic exogenous variables
        if hist_exog_list is not None:
            raise Exception("TSMixer does not support historic exogenous variables.")

        # ... same for futr and static

As in models that do not support exog variables (NBEATS, PatchTST etc.)

You're right - thanks for the suggestion. I'll make it part of the tsmixerx PR.


how to validate forms?

I tried to use required form validation in my project but it is not working.

Hi @roopinik, please, check angular documentation.

@roopinik Add this property to the  tag like this
<form #form="ngForm" ngNativeValidate></form>


Castles Right Next to Each Other

This is for the latest version, Release v0.2-alpha.1
I found two castles right next to each other:

Still getting this on the latest release. Also dungeons in close proximity, and shrines.

Done!
Haven't pushed a new version for it yet. Wanna get a few more things added before I do. But if you want this change sooner let me know and I can push a new version for you.


OneDrive support

Would be nice to support Microsoft OneDrive. There seems to be some API documentation available at http://msdn.microsoft.com/en-us/library/windows/apps/hh826521.aspx

They've introduced a new API which among other things, supplies a sha1sum.

"Me too". Now that it's easy /cheap to get a terabyte or more on OneDrive, this would be really useful

Now that rclone supported remotes which don't have md5sum or modtime properly this should be straightforward.

@ismail @bobobo1618 @phudson I've release the first version of this in rclone v1.24.  Give it a go and make issues if you find problems!
See the page in the docs about in, in particular the limitations: http://rclone.org/onedrive/
Thanks
Nick

Very nice! Just one bug:
2015/11/10 11:18:27 Documents/Quick Notes: Failed to open: itemNotFound: The specified item does not exist, or does not have content.
2015/11/10 11:18:27 Documents/Computing: Failed to open: itemNotFound: The specified item does not exist, or does not have content.
2015/11/10 11:18:27 Documents/Programming: Failed to open: itemNotFound: The specified item does not exist, or does not have content.
No need to give errors for these files because these are "OneNote" links which points to some undocumented link on onenote website. If you can detect those it would be nice to silently ignore them.
Thanks again!

@ismail  thanks for pointing that out.  Can you make a new issue please?
Thanks
Nick


WS2812 ESP32 RMT example update

Summary

WS2812ESP32 example name is configurable and the default name shortened

Impact

Generalized usage.
Shorter name for easier starting

Testing
Internal CI testing + running the app

@raiden00pl nrf52840 fail to download sdk from yesterday, could you take a look?
2023-09-04T16:06:33.9729775Z ====================================================================================
2023-09-04T16:06:33.9759440Z Cmake in present: nrf52840-dk/sdc,CONFIG_ARM_TOOLCHAIN_GNU_EABI
2023-09-04T16:06:33.9760214Z Configuration/Tool: nrf52840-dk/sdc,CONFIG_ARM_TOOLCHAIN_GNU_EABI
2023-09-04T16:06:33.9847748Z ------------------------------------------------------------------------------------
2023-09-04T16:06:33.9848073Z   Cleaning...
2023-09-04T16:06:33.9851712Z   Configuring...
2023-09-04T16:07:06.0320888Z CMake Error at /github/workspace/sources/nuttx/build/_deps/sdk-nrfxlib-subbuild/sdk-nrfxlib-populate-prefix/src/sdk-nrfxlib-populate-stamp/download-sdk-nrfxlib-populate.cmake:170 (message):
2023-09-04T16:07:06.0321636Z   Each download failed!
2023-09-04T16:07:06.0321801Z
2023-09-04T16:07:06.0322367Z     error: downloading 'https://github.com/nrfconnect/sdk-nrfxlib/archive/v2.3.0.tar.gz' failed
2023-09-04T16:07:06.0323307Z           status_code: 28
2023-09-04T16:07:06.0323752Z           status_string: "Timeout was reached"
2023-09-04T16:07:06.0324034Z           log:
2023-09-04T16:07:06.0324465Z           --- LOG BEGIN ---
2023-09-04T16:07:06.0324738Z             Trying <IP_ADDRESS>:443...
2023-09-04T16:07:06.0324897Z
2023-09-04T16:07:06.0325204Z   Connected to github.com (<IP_ADDRESS>) port 443 (#0)
2023-09-04T16:07:06.0325409Z
2023-09-04T16:07:06.0325522Z   ALPN: offers h2
2023-09-04T16:07:06.0325670Z
2023-09-04T16:07:06.0325892Z   ALPN: offers http/1.1
2023-09-04T16:07:06.0326058Z
2023-09-04T16:07:06.0326418Z   [CONN-0-0][CF-SSL] TLSv1.0 (OUT), TLS header, Certificate Status (22):

let's ignore the temp ci failure.

@xiaoxiang781216 Looks like Github Actions issues. https://www.githubstatus.com/history shows that there were some problems.


Fail to run eval_ppl and eval_task

HF_ENDPOINT=https://hf-mirror.com python eval_task.py --tasks piqa
I1030 09:44:56.959918 3586089 utils.py:145] Note: detected 80 virtual cores but NumExpr set to maximum of 64, check "NUMEXPR_MAX_THREADS" environment variable.
I1030 09:44:56.960034 3586089 utils.py:148] Note: NumExpr detected 80 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 16.
I1030 09:44:56.960092 3586089 utils.py:161] NumExpr defaulting to 16 threads.
I1030 09:44:57.604907 3586089 config.py:54] PyTorch version 2.2.2+cpu available.
Traceback (most recent call last):
File "/share/lijinhao/soft_link/root/research/quantization/BitNet/models/bitnet_b1_58-3B/eval_task.py", line 65, in
main(args)
File "/share/lijinhao/soft_link/root/research/quantization/BitNet/models/bitnet_b1_58-3B/eval_task.py", line 28, in main
model = BitnetForCausalLM.from_pretrained(
File "/share/lijinhao/anaconda3/envs/bitnet-cpp1/lib/python3.9/site-packages/transformers/modeling_utils.py", line 3974, in from_pretrained
resolved_archive_file, sharded_metadata = get_checkpoint_shard_files(
File "/share/lijinhao/anaconda3/envs/bitnet-cpp1/lib/python3.9/site-packages/transformers/utils/hub.py", line 1075, in get_checkpoint_shard_files
index = json.loads(f.read())
File "/share/lijinhao/anaconda3/envs/bitnet-cpp1/lib/python3.9/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 1: invalid start byte

Thanks for reporting. These files are provided by the Hugging Face model, they are not part of our work, you can raise an issue with the original repository.

请问，跑evaluation得需要gpu的torch环境吧，我装的时候都是cpu的torch环境。所以我应该是需要两个conda虚拟环境？


chore: Skip integration tests where all code is generated

(This is typically for generated snippets.)
We'll separate these out reasonably soon anyway, but we might as well start skipping purely-generated non-tests now.

Nope, it skips if there isn't anything that isn't generated :)


onResourceError and onResourceTimeout handlers added

These events help to trace missing assets and scripts failing to load without connecting to phantomjs in debug mode

Yes, good point, actually it is onResourceError in the change log. Fixed

@aschekatihin
I forgot to mention that you don't have to update the changelog and the version number. I'l do it when releasing the new version. So, could you please revert those changes?
Thanks!

@Arkni , Done!

Squashed and merged 	10608c1
Thanks @aschekatihin :)

@Arkni , can you please also publish it to the nodejs repo? This change is needed for upcoming grunt qunit pull req.
Thanks.

@aschekatihin
Published to npm as v1.1.0


Encode is removing silence

After some fiddling around, I realized the reason my resulting .mp3 sounds weird is because it's removing ALL the silence from the .wav file.  So "Hello... How are you?" becomes "HelloHowAreYou".
Any ideas?

Hi @daerimin, if it actual , could you please provide code example?
Thanks.


Focus on delete: Last open buffer

It would be nice to keep track of the last open buffer, and be able to return to it when a buffer is deleted. This feature is especially handy when using neovim's terminal emulator mode, as I have commands like git commit set to edit text in a new buffer.

How's that ^ @traverseda?

Looks good to me, I'll have to give it a try soon


External service doesn't work with hostname

I'm hitting what seems to be a bug with external services.
When I enter the a hostname for the external service, other services fail to use it. If I enter the IP that the hostname resolves to however, it works.
Some more infos:

Using rancher 0.56.1
Nodes are on an AWS VPC
The hostname to resolve is a public AWS link (for RDS)
The rancher-server is located on our own private openstack infrastructure
I am able to resolve the name from a shell on the rancher-server

Nevermind. The two resources (the node and the RDS) are in the same VPC, so AWS resolves the hostname with the private IP, and I only opened the security group for the external IPs. My bad.


lambda.zip package folder missing for copy-zips

On ln 116, we expect functions/packages/lambda.zip to be available in copy-zips submodule. This is missing and only contains functions/source. As a result the lambda copy fails.

Lambda .zip packages are not present in /functions/packages/. If you deploy your templates without Lambda .zip packages, you'll hit the CopyZips error.
The latest version of taskcat packages Lambda functions (into .zip files) for you, but note that it requires access to a docker daemon to do that. Once taskcat builds all the Lambda packages, it will upload them to S3 along with your templates, and you shouldn't hit the CopyZips issue. If you run taskcat package against this Quick Start module you should not have this issue.
Alternatively the packaged artifacts can be fetched from s3:
aws s3 cp --recursive s3://aws-quickstart/quickstart-aws-acm-certificate/ ./quickstart-aws-acm-certificate/

For the taskcat route
# build the lambda zip files
taskcat package
# upload to S3
taskcat upload

I found that the problem was the project I tested with already contained the Copy-Zips project and Lambda zip. I have resolved this bug with this commit. https://github.com/aws-quickstart/quickstart-aws-acm-certificate/commit/66061df67c9ea49db512a14eac6077c668e90b8e


Difficulty Maintainer: Support Electrum WS connection

We need to make sure the Electrum client used by Difficulty Maintainer works fine with all types of protocols supported by Electrum servers:

[ ] tcp
[ ] ssl
[ ] ws
[ ] wss

Closed by https://github.com/keep-network/keep-core/pull/3582


Allow for Editor/Viewport Input Control Profiles with Hotkeys to Change

Using Blender 2.7 as an example, it has been released with a FPS style navigation control system to allow in blender game levels to be navigated as if in game - perfect for virtual level previewing & analysis.
Seeing such a feature in Godot would definitely be a bonus but in my mind I can see a much more practical implementation to allow for input control profiles which can be quickly changed on the fly by customizable hot-keys to allow the user to switch between different control methods as they find necessary within the editor/view-port and other elements of Godots GUI interface.
ie. one for geometry editing, a second for general navigation and level previewing

Related to #2745.

This would likely be easier to implement now that #2745 is fixed.

This is kind of what the new freelook feature implements in the upcoming 3.0 version, so I guess it's fixed.


mocha/minitest, not mocha/mini_test now.

When running in Rails 5.2, I get a warning that we should be using mocha/minitest rather than mocha/mini_test in the test helper, since the latter call signature is deprecated.  Looks like a simple fix.

Thanks @jmarkbrooks, looks good to me :)


few incompatibles - Error message

Dropping from Anaconda prompt below, had an error message. Error started from the Error message and on for the next four lines. Really appreciate all the help, I'm still new to Python. Thanks in advance!
(base) c:\Pokemon-PythonRed-master>python -m pip install -r requirements.txt
Ignoring getch: markers 'sys_platform == "linux"' don't match your environment
Ignoring py2exe: markers 'sys_platform == "windows"' don't match your environment
Collecting flask==2.0.2
  Downloading Flask-2.0.2-py3-none-any.whl (95 kB)
     |████████████████████████████████| 95 kB 3.3 MB/s
Collecting playsound==1.3.0
  Downloading playsound-1.3.0.tar.gz (7.7 kB)
Collecting pygame==2.1.2
  Downloading pygame-2.1.2-cp38-cp38-win_amd64.whl (8.4 MB)
     |████████████████████████████████| 8.4 MB 2.2 MB/s
Requirement already satisfied: click>=7.1.2 in c:\users\stger\anaconda3.1\lib\site-packages (from flask==2.0.2->-r requirements.txt (line 1)) (7.1.2)
Collecting Werkzeug>=2.0
  Downloading Werkzeug-2.0.2-py3-none-any.whl (288 kB)
     |████████████████████████████████| 288 kB 6.4 MB/s
Collecting Jinja2>=3.0
  Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB)
     |████████████████████████████████| 133 kB 6.4 MB/s
Collecting itsdangerous>=2.0
  Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB)
Collecting MarkupSafe>=2.0
  Downloading MarkupSafe-2.0.1-cp38-cp38-win_amd64.whl (14 kB)
Building wheels for collected packages: playsound
  Building wheel for playsound (setup.py) ... done
  Created wheel for playsound: filename=playsound-1.3.0-py3-none-any.whl size=7026 sha256=135a61bc5ac2584b55e0d584e532a77762846db00f0b93e2fdac045dec158d5c
  Stored in directory: c:\users\stger\appdata\local\pip\cache\wheels\73\cd\cf\9750b618d54bd81c20e4c34fb24a423a5b095920367cdb3f71
Successfully built playsound
Installing collected packages: MarkupSafe, Werkzeug, Jinja2, itsdangerous, pygame, playsound, flask
  Attempting uninstall: MarkupSafe
    Found existing installation: MarkupSafe 1.1.1
    Uninstalling MarkupSafe-1.1.1:
      Successfully uninstalled MarkupSafe-1.1.1
  Attempting uninstall: Werkzeug
    Found existing installation: Werkzeug 1.0.1
    Uninstalling Werkzeug-1.0.1:
      Successfully uninstalled Werkzeug-1.0.1
  Attempting uninstall: Jinja2
    Found existing installation: Jinja2 2.11.3
    Uninstalling Jinja2-2.11.3:
      Successfully uninstalled Jinja2-2.11.3
  Attempting uninstall: itsdangerous
    Found existing installation: itsdangerous 1.1.0
    Uninstalling itsdangerous-1.1.0:
      Successfully uninstalled itsdangerous-1.1.0
  Attempting uninstall: flask
    Found existing installation: Flask 1.1.2
    Uninstalling Flask-1.1.2:
      Successfully uninstalled Flask-1.1.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
anaconda-project 0.9.1 requires ruamel-yaml, which is not installed.
sphinx 4.0.1 requires Jinja2<3.0,>=2.3, but you have jinja2 3.0.3 which is incompatible.
sphinx 4.0.1 requires MarkupSafe<2.0, but you have markupsafe 2.0.1 which is incompatible.
Successfully installed Jinja2-3.0.3 MarkupSafe-2.0.1 Werkzeug-2.0.2 flask-2.0.2 itsdangerous-2.0.1 playsound-1.3.0 pygame-2.1.2

(base) c:\Pokemon-PythonRed-master>

What OS are you using? The installation skipped both windows and linux modules, but the program supports only Windows and Linux.
As for the error, it seems your device or program requires a different version of one or more of the requested modules. Try running the program as-is and see what happens.
python app/main.py

I think he is on windows cause path : c:\Pokemon-PythonRed-master. However, i don't understand why windows is skipped and why some packages are uninstall. if python app/main.py doesn't works, it could be helpfull if you can type this commands :
python

import platform
platform.system()

I am using Windows 10. I opened main.py from the app folder, I got to the part with press any key on the title screen. Nothing happens after a few attempts of pressing a few keys.
Thank you for your quick responses. Really appreciate it.

Could you please try the commands shown above?
Happy to help!

tip: open powershell ;)

@stger040 bump

I'll close this Issue. If you need any more help, please open another one.

I'll close this Issue. If you need any more help, please open another one.


[News] Allow to add an image on a news flash.

Is there an existing issue for this?

[X] I have searched the existing issues

In which category does your improvement fall?
soz-jobs / news
Explain the current situation that you do not think is right.
Currently the phone app can accept images but the F3 menu does not allow to insert images when creating a news flash.
How is the improvement you propose?
Just allow to add an image when creating a news flash, as it is optional you can leave it there.

Accepted. We'll be taking a closer look very soon. <3


Support initial shapes with holes

Currently holes are not handled correctly when using a static mesh (with holes) as an initial shape.
Tasks:

Improve static mesh to initial shape conversion algorithm to also detect holes
Properly pass initial shape (with hole information) to PRT

This has been fixed with #87


Remove zstandard pin

#86

Checklist

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

@conda-forge-admin, please rerender

Should I expect to see PYTHON_ZSTANDARD_IMPORT_POLICY='cffi_fallback' somewhere?

Nope, we don't build or test against OpenEye here

Won't users with OE installed just get the error again then?

Maybe, but they should use the CFFI fallback instead of us downpinning to a very old version of an upstream (that we don't use)

Many of our partner companies run with the OE backend and it's very bad if they wake up one day to find their OpenFF workflows don't work any more (it wastes their time, erodes support for renewing, and makes them less inclined to install the latest versions).
I have three thoughts on how to proceed, but could use more info:

Is OE clearly violating a packaging standard by bundling zstandard/would we have leverage to ask them to change their packages?
Can we or MolSSI incorporate an internal fix to activate the CFFI workaround without causing broader harm?
If neither of the above works, we'll need to document the workaround well and yell it from the mountaintops to soften the blow on our partner companies.

I have no visibility into OpenEye's build process, but the environment they used in their most recent release is unchanged from several months ago and quite out of date for no obvious reason and aware of this issue we reported. OpenEye Support told us on 5/2/24 that "Since there is a workaround, it is unlikely this will be fixed for the next toolkit release" so I have no idea if they intend to fix this or when
There's no a solution without violating best practices - setting users' environment variables, importing packages they don't need, etc.


Unable to read payload data of webhooks after using  receiveWebhook middleware of @shopify/koa-shopify-webhooks

Overview
In the @shopify/koa-shopify-webhooks package when I use the receiveWebhook middleware, I get to see the webhook topic and shop under ctx.state.webhook but I am unable to read the payload data sent by Shopify in the webhook. When I intercept the webhook directly without the receiveWebhook middleware, I can read the request body but not when I use the middleware. The ctx seems to strip the payload data.
Consuming repo
@shopify/koa-shopify-webhooks

I think this is because the register webhook doesn't set any included fields by default whereas the REST API sets them all. There doesn't seem to be a way to set the includeFields with the @shopify/koa-shopify-webhooks package either.
Unfortunately, I had to resort back to the REST API for this.

Hey 👋🏻 This issue is pretty old and we've provided new webhooks interface functionality in the Node API Library, so I'm going to go ahead and close this. If you still have webhooks after giving the new library a try, please feel free to open a new issue!


[EMB-162] Add node-navbar, registrations tab stub to test node-navbar

Dependent on:  https://github.com/CenterForOpenScience/osf.io/pull/8255
Purpose
Add working node-navbar
Summary of Changes
Added component node-navbar
Added node's registrations tab (empty) to test out routing and the navbar
Side Effects / Testing Notes
If this goes to staging, don't turn on the ember_project_registrations_page flag until that work is done (or do, but this is not the PR including the work for that page)
Ticket
https://openscience.atlassian.net/browse/EMB-162
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Also conflicts.


migration and site creation not working

Hi @Kennysan
I receive the below error message while executing bin/migration.php and bin/create_site.php
root@infosec---411 411]# /root/411/bin/migration.php
except [NONE] Errno 2: "require(/root/411/vendor/autoload.php): failed to open stream: No such file or directory" at [/root/411/phplib/411bootstrap.php:57] 0:[require() called at [/root/411/phplib/411bootstrap.php:57]] 1:[require_once() called at [/root/411/bin/migration.php:7]]
PHP Fatal error:  require(): Failed opening required '/root/411/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /root/411/phplib/411bootstrap.php on line 57
[root@infosec---411 411]# /root/411/bin/create_site.php
except [NONE] Errno 2: "require(/root/411/vendor/autoload.php): failed to open stream: No such file or directory" at [/root/411/phplib/411bootstrap.php:57] 0:[require() called at [/root/411/phplib/411bootstrap.php:57]] 1:[require_once() called at [/root/411/bin/create_site.php:7]]
PHP Fatal error:  require(): Failed opening required '/root/411/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /root/411/phplib/411bootstrap.php on line 57

Hi @sathishdsgithub, I think that your problem might be the same as reported in issue #133.

@quintanilhar @kiwiz @Kennysan
I get the below error when I try to launch the docker  . Please assist
[root@411 411-docker]# docker run -p 8080:80 0adf47a7cf63
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
[Wed Sep 13 10:31:03.859635 2017] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.10 (Debian) PHP/7.1.9 configured -- resuming normal operations
[Wed Sep 13 10:31:03.859770 2017] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
[Wed Sep 13 10:31:29.871741 2017] [autoindex:error] [pid 15] [client <IP_ADDRESS>:11533] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive
<IP_ADDRESS> - - [13/Sep/2017:10:31:29 +0000] "GET / HTTP/1.1" 403 505 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.x.x Safari/537.36"
<IP_ADDRESS> - - [13/Sep/2017:10:31:31 +0000] "GET /favicon.ico HTTP/1.1" 404 504 "http://<IP_ADDRESS>:8080/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.x.xSafari/537.36"

What docker image are you using @sathishdsgithub?


Truncate whole words by char count

Updated. The breakOnWord option wasn't actually necessary, as if you don't want to break on a word you can use the default angular limitTo filter.


Grafana Dashboard

Hello,
I manage to install Jitsi-Prometheus-Exporter properly but I'm having a hard time with Grafana itself. Can you please share your dashboard if possible please.
Thanks,

hi,
sample dashboard is at dashboard already :)


Fix missing tips for non-logged user

Codecov Report

Merging #75 (1579ee7) into main (677c902) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #75   +/-   ##
=======================================
  Coverage   77.45%   77.45%
=======================================
  Files           4        4
  Lines         204      204
  Branches       30       30
=======================================
  Hits          158      158
  Misses         41       41
  Partials        5        5

Continue to review full report at Codecov.

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


How to build pip package from source that requires rust toolchain

Howdy :wave:
I'm trying to add object-store-python as a dependency that will build from source as they haven't released a new pypi version. Is this possible with the current pip module? I've tried adding an override with cargo but it doesn't seem to get picked up.
Collecting object-store-python@ https://github.com/roeap/object-store-python/archive/6144879f3061f298122b28318bcad0a7d4001d09.zip#subdirectory=object-store
  Using cached https://github.com/roeap/object-store-python/archive/6144879f3061f298122b28318bcad0a7d4001d09.zip
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]

      Cargo, the Rust package manager, is not installed or is not on PATH.
      This package requires Rust and Cargo to compile extensions. Install it through
      the system's package manager or via https://rustup.rs/

      Checking for Rust toolchain....
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

  deps = {
    nixpkgs,
    self,
    ...
  }: {
    stdenv = nixpkgs.stdenv;
    python = nixpkgs.python312;
    cargo = nixpkgs.cargo;
  };

  pip = {
    requirementsList =
      pyproject.build-system.requires
      or []
      ++ pyproject.project.dependencies
      ++ lib.optionals (config.flags.groupDev) pyproject.project.optional-dependencies.dev;
    flattenDependencies = true;
    overrideAll.deps.python = lib.mkForce config.deps.python;
    overrides = {
      object-store-python.mkDerivation = {
        buildInputs = [
          config.deps.cargo
        ];
      };
  };

I managed to get past the lock step by setting the module nativeBuildInputs
   nativeBuildInputs = [
      config.deps.cargo
      config.deps.rustc
    ];

However now I'm getting an error that the maturin backend is not available
error: builder for '/nix/store/5iyp7bl10msjnyhma16yzhr4v3jc89xi-python3.12-object-store-python-0.1.10.drv' failed with exit code 1;
       last 25 log lines:
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Running phase: buildPhase
       > Executing pypaBuildPhase
       > Creating a wheel...
       > * Getting build dependencies for wheel...
       >
       > Traceback (most recent call last):
       >   File "/nix/store/94h0xf60fkvmz4gvwbp9xbaf5wiqy8hf-python3.12-pyproject-hooks-1.0.0/lib/python3.12/site-packages/pyproject_hooks/_impl.py", line 321, in _call_hook
       >     raise BackendUnavailable(data.get('traceback', ''))
       > pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
       >   File "/nix/store/94h0xf60fkvmz4gvwbp9xbaf5wiqy8hf-python3.12-pyproject-hooks-1.0.0/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
       >     obj = import_module(mod_path)
       >           ^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/nix/store/c7ycrgwv039nqglbif98yggx211sdbcl-python3-3.12.3/lib/python3.12/importlib/__init__.py", line 90, in import_module
       >     return _bootstrap._gcd_import(name[level:], package, level)
       >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
       >   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
       >   File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
       > ModuleNotFoundError: No module named 'maturin'
       >
       > ERROR Backend 'maturin' is not available.
       For full logs, run 'nix log /nix/store/5iyp7bl10msjnyhma16yzhr4v3jc89xi-python3.12-object-store-python-0.1.10.drv'.

Made some more progress by using the maturinBuildHook from rustPlatform in the pip override
      object-store-python = {
        mkDerivation = {
          sourceRoot = "object-store-python-6144879f3061f298122b28318bcad0a7d4001d09/object-store";
        };

        buildPythonPackage = {
          build-system = [
            config.deps.rustPlatform.maturinBuildHook
          ];
        };
      };

It's now failing because the Cargo.lock file is in the source root directory but the pip package I want to build in the object-store subdirectory. I think I'll need to remove the sourceRoot and figure out how to pick the correct  subdirectory with pyproject.toml to build.


Bug in i() interaction

Somwhere somehow one level too much is dropped, see this figure where level 20 misses:

Should be fixed by #212 , but I will have to add some tests tomorrow. Confirms my rule of thumb: I will regret every test that I don't write.

It's likely best to do a larger refactoring and to use ~ C(X, contr.treatment("x")) syntax from formulaic + to drop levels 2, 3, ... manually.


Shuffles New Wave Bossa Nova

Adds the song and check into the Pool with respective logic.
note: this entry is in your important AND other npc lists

Build Artifacts

2ship-linux.zip
2ship-windows.zip
2ship-mac.zip

merged


Spyder isn't launching on Windows

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Spyder isn't launching on Windows with AMD Ryzen 7 5825U (16 Core)
What steps reproduce the problem?

starting the application

What is the expected output? What do you see instead?
Expected would be launching Spyder.
No output, nothing happens except the Error in the "Ereignisanzeige" in Windows.
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Microsoft Windows [Version 10.0.19045.3086]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\martin.hassler\AppData\Local\Programs\Spyder>python Spyder.launch.pyw
Traceback (most recent call last):
  File "C:\Users\martin.hassler\AppData\Local\Programs\Spyder\Spyder.launch.pyw", line 34, in <module>
    from spyder.app.start import main
  File "C:\Users\martin.hassler\AppData\Local\Programs\Spyder\pkgs\spyder\app\start.py", line 46, in <module>
    import zmq
  File "C:\Users\martin.hassler\AppData\Local\Programs\Spyder\pkgs\zmq\__init__.py", line 136, in <module>
    from zmq import backend
  File "C:\Users\martin.hassler\AppData\Local\Programs\Spyder\pkgs\zmq\backend\__init__.py", line 31, in <module>
    raise original_error from None
  File "C:\Users\martin.hassler\AppData\Local\Programs\Spyder\pkgs\zmq\backend\__init__.py", line 26, in <module>
    _ns = select_backend(first)
          ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\martin.hassler\AppData\Local\Programs\Spyder\pkgs\zmq\backend\select.py", line 31, in select_backend
    mod = import_module(name)
          ^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python311\Lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\martin.hassler\AppData\Local\Programs\Spyder\pkgs\zmq\backend\cython\__init__.py", line 6, in <module>
    from . import (
ImportError: cannot import name '_device' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) (C:\Users\martin.hassler\AppData\Local\Programs\Spyder\pkgs\zmq\backend\cython\__init__.py)

C:\Users\martin.hassler\AppData\Local\Programs\Spyder>

## Versions
<!--- You can get this information from Help > About Spyder...
or (if Spyder won't launch) the "conda list" command
from the Anaconda Prompt/Terminal/command line. --->

* Spyder version: newest release (on 07.04.2023)
* Python version: newest release 3.11
* Qt version:
* PyQt version:
* Operating System name/version: Win10 Pro 22H2 64bit

### Dependencies
<!--- Please go to the menu entry Help > Dependencies,
press the Copy to clipboard button and paste below --->

PASTE DEPENDENCIES HERE
Ereignisanzeige Windwos at start try:

Name der fehlerhaften Anwendung: pythonw.exe, Version: 3.8.10150.1013, Zeitstempel: 0x608fe38b
Name des fehlerhaften Moduls: atio6axx.dll, Version: 31.0.12044.50003, Zeitstempel: 0x6423d329
Ausnahmecode: 0xc0000005
Fehleroffset: 0x0000000000131cc2
ID des fehlerhaften Prozesses: 0x2f8c
Startzeit der fehlerhaften Anwendung: 0x01d9ae74f6b53cdc
Pfad der fehlerhaften Anwendung: C:\Users\martin.hassler\AppData\Local\Programs\Spyder\Python\pythonw.exe
Pfad des fehlerhaften Moduls: C:\WINDOWS\System32\DriverStore\FileRepository\u0390034.inf_amd64_d8f20db8ffe0563b\B390155\atio6axx.dll
Berichtskennung: 8df9d35c-13b4-4112-bc0e-a55f05b4e20a
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:

Hey @gitmartiin, thanks for reporting. Do you have other Python installations in your system? I say it because they could be interfering with the Spyder installation.

Hi @ccordoba12 thanks for the reply.
No I have only installed Python 3.11 and then Spyder.

And did you install Python 3.11 in C:\Program files and afterwards some packages with pip in a terminal?

Yes, installed in C:\Program Files but nothing installed via pip in terminal that I know of.

Hi @ccordoba12  I have found the error. :)
It seems, that Spyder has indeed some system requirements, that are not listed on your homepage. In fact I just installed Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219 and Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219 and now Spyder is launching and (on the first view) works.
The actual MV C++ 2015-2022 Redistributable isn't enough.

Hi @ccordoba12 I have found the error. :)

That's great! Thanks for letting us know about it. However, those redistributables should be part of your system. I don't understand why you had to install them manually.
I also want to say that I understand better your problem now. You posted that you tried to start our app with the command:
C:\Users\martin.hassler\AppData\Local\Programs\Spyder>python Spyder.launch.pyw

By doing that, you're using your Python 3.11 version to try to start our application, which comes with Python 3.8. And that in turn causes the mix of packages compiled for those two different Python versions (which are incompatible) and it generates  the crash you reported.
The thing is you don't need to start Spyder in that way. Instead, you need to go the Windows Start menu, look for the Spyder entry on it and click it. Then you shouldn't observe any errors with Spyder.
Let us know if that works for you.

No problem,
I know how to start an application correct with just klicking on it. Just to give you more information I also tried to open via terminal, so I could report more than: "won't open by klicking".
My laptop is less than two months old and the 2010 Redistributables are no longer on it, only 2015-2022. With them, klicking the icon works.
Thanks for supporting.


want to find unread messages on connection open

Need for webhook call with unread messages when a connection is opens OR Endpoint to fetch unread only!

Hey @jrCleber, I wish to contribute to this issue. I've been reading the code base and have set it up for development. I came across the function markMessageAsRead and other functions to fetch messages, however, I can't seem to find anything that somehow gives count or anything related to unread Messages.
I couldn't find anything related to it in Baileys either.
Could you please guide me towards solving this issue?

That's a good question. There really isn't anything implemented about this in the library. Because the recipient of the message may have disabled read confirmation, so the message read event is not emitted.
You need to implement this on your side, with an accountant for example.


Use specs-go/v1 to reference media type instead of a contant string

Signed-off-by: Lei Jitang<EMAIL_ADDRESS>

LGTM

I could be misunderstanding this, but there may be a reason behind explicitely using literals instead of constants. Otherwise a regression in a constant may go unoticed. I didn't look deep tho so I could be wrong about this.

On Tue, Oct 18, 2016 at 03:18:04AM -0700, George Lestaris wrote:

I could be misunderstanding this, but there may be a reason behind
explicitely using literals instead of constants. Otherwise a
regression in a constant may go unoticed. I didn't look deep tho so
I could be wrong about this.

Can you describe a potential constant-regression workflow?  I'm
personally fine with using string literals instead of variable names,
but the only small difference I see in robustness is that the variable
names will be compared at compile time while the strings would only be
compared at runtime.  For a test suite, that's not a big deal (compile
time and runtime being so close together), but it certainly doesn't
seem like using variables would be a drop in robustness.

@glestaris This is using constants on one side of the map and moves to use literals on the other. We can add further constants in the future, but this analysis is really outside the scope of this PR.

LGTM


[UNDERTOW-549] Allow an alternative initial security handler to be provided that takes responsibility for the authentication of a request.

Windows Build 1412 outcome was FAILURE using a merge of 76ce818e4c05ec8d8fe51ce35b8b2c706e43f149
Summary: Tests failed: 1, passed: 2931, ignored: 434 Build time: 00:18:28
Failed tests
io.undertow.server.handlers.sse.ServerSentEventTestCase.testLargeMessage: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
	at java.net.SocketInputStream.read(SocketInputStream.java:170)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:166)
	at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:90)
	at org.apache.http.impl.io.AbstractSessionInputBuffer.read(AbstractSessionInputBuffer.java:212)
	at org.apache.http.impl.conn.LoggingSessionInputBuffer.read(LoggingSessionInputBuffer.java:82)
	at org.apache.http.impl.io.IdentityInputStream.read(IdentityInputStream.java:97)
	at java.io.InputStream.read(InputStream.java:101)
	at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:155)
	at io.undertow.testutils.HttpClientUtils.readResponse(HttpClientUtils.java:51)
	at io.undertow.testutils.HttpClientUtils.readResponse(HttpClientUtils.java:43)
	at io.undertow.server.handlers.sse.ServerSentEventTestCase.testLargeMessage(ServerSentEventTestCase.java:120)

I really don't like this. What is so wrong with the current Undertow security implementation that you want to completely replace it? Can you guarantee that things such as Keycloack that integrate through the extension API will still be compatible?

We are already deprecating the entire security subsystem, the entire set of security interceptors are being replaced and we have an engineer actively ensuring KeyCloak integration as we speak.  Regardless of that WildFly 11 will be supporting dual model so at the granularity of deployment level new or old security can be selected with old predominantly operating unchanged.
In addition to this the new approach means that HTTP authentication mechanisms will now be following the same pattern as is used for SASL authentication mechanisms allowing mechanisms to be discovered from security providers, using service loader discovery or even using capabilities and requirements allowing other subsystems to advertise the mechanisms they want to make available.
At the end we will have a web server independent set of authentication mechanisms with an API/SPI that could even potentially be used in a number of different web servers.


Removed packages that are already in chosen package

Removed packages from package search results in image wizard that are already in chosen packages. Ticket #1025

Codecov Report

Merging #159 (2d731d1) into master (e3db38f) will increase coverage by 0.07%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #159      +/-   ##
==========================================
+ Coverage   25.38%   25.45%   +0.07%
==========================================
  Files          79       79
  Lines        1375     1371       -4
  Branches      351      351
==========================================
  Hits          349      349
+ Misses        947      943       -4
  Partials       79       79

Impacted Files
Coverage Δ

src/Routes/ImageManager/UpdateImageWizard.js
0.00% <0.00%> (ø)

src/components/form/Packages.js
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


all tests passing once more

Description
Gets all tests passing, again.
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Change Status

[x] Complete, tested, ready to review and merge

How Has This Been Tested?

[x] Tested with insomnia, jest/supertest, and running coverage test locally and in github actions

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

No longer needed


The multiquote strings do not allow to build all the string.

Hi,
How to represent the following string: "starts with double quote and closes with simple quote'
Even using multiquotes it is impossible.
If I do """"starts with double quote and closes with simple quote'""" this is a syntax error.
If I do '''"starts with double quote and closes with simple quote'''', this is a syntax error.

This is a good case! Nice job for finding this.
Let me think. Maybe this will be the trigger for string escapes...

I'm not sure this is possible in the current construction. It likely would be by concat-ing two strings in the generated SQL, but that's not ideal.
@mklopets your dream of string escapes may be coming true.
That said, it's a very niche case! So I'm not sure it's a high priority.
If someone wants to take a swing at designing how escaping would work, ideally referencing other languages' implementations, that would be welcome. For example:

what escapes are valid? \" & \n & \\ are easy candidates but are there ambiguities?
should we have a raw string with r""? Is that just a literal string or are some escapes valid?

(fyi I changed the title for clarity, hope that's OK)

Strings now support escaping. r"foo" is a raw string that doesn't use escape characters (which needs better docs, #2989)


sys.excepthook not considered when exception occurs from an API

Description
Using connexion, a lot of APIs are written.
One of the APIs has a KeyError which is not handled.
And i have used
sys.excepthook = handle_exceptions()
When the API is called just as a function, the exception is caught.
When the API is called through REST client, the 'excepthook' is not working and the function
'handle_exceptions' is not called.
Please let me know if i am missing something
Expected behaviour
Actual behaviour
Steps to reproduce
Additional info:
Output of the commands:

python --version
pip show connexion | grep "^Version\:"

hey @Guru67724 , I think your problem is with flask and not connexion.
Check out this stack overflow post .

Hi @dtkav. Any idea of how could it be solved..? I use python logging module in my work. I need the uncaught exceptions to be somehow logged to my logfile

According to the flask docs, you can register an error handler to the app.
http://flask.pocoo.org/docs/1.0/errorhandling/#error-handlers
Note that connexion wraps the flask app object, so you'd need to do something like:
flask_app = app.app
flask_app.register_error_handler(MyException, handle_my_exception)

good luck

Hi @dtkav.. Yes. But the function "register_error_handler" is for registering handlers for a specific exception.
In my case, if at all if any unhandled exception occurs, how am i supposed to log that to error.log.
Ans thats the reason i was looking for something like 'sys.excepthook'

@Guru67724  flask_app.register_error_handler(Exception, handle_my_exception) should work

hey @Guru67724 , I'm going to close out this issue - please re-open if you still have problems!