PosPrinter.FromIdAsync NEED HELP

I've had try sample application to print with my pos printer and it works. Then i've copied this code into my app
if (printer == null)
            {
                DeviceInformationCollection deviceCollection = await DeviceInformation.FindAllAsync(PosPrinter.GetDeviceSelector());
                if (deviceCollection != null && deviceCollection.Count > 0)
                {
                    DeviceInformation deviceInfo = deviceCollection[0];
                    printer = await PosPrinter.FromIdAsync(deviceInfo.Id);
                    if (printer != null)
                    {
                        if (printer.Capabilities.Receipt.IsPrinterPresent)
                        {
                            return true;
                        }
                    }
                    else
                    {
                        return false;
                    }
                }
                else
                {
                    return false;
                }
            }
            return true;

but not works. Is there any permission or other to make it works?
it fail on "printer = await PosPrinter.FromIdAsync(deviceInfo.Id);" because printer is always null.
but with sample app it's ok, maybe i'm missing something.
Can you help me?
SAMPLE APP deviceInfo.Id = "POS#{9F0F8BE3-4E59-4520-BFBA-AF77614A31CE}_9c-ae-d3-86-be-18#{C7BC9B22-21F0-4F0D-9BB6-66C229B8CD33}"
MY APP deviceInfo.id = "\\?\SWD#POS#{9F0F8BE3-4E59-4520-BFBA-AF77614A31CE}_9c-ae-d3-86-be-18#{c7bc9b22-21f0-4f0d-9bb6-66c229b8cd33}\POSPrinter"
i've tryed to past id but it not works in my app, but works in sample app.
Help me please

can close. I've solved.
SOLUTION:
Right click on Package.appxmanifest
Click on View Code
Under Capabilities add

Sample
<?xml version="1.0" encoding="utf-8"?>

<Package
  xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
  xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
  xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
  IgnorableNamespaces="uap mp">

    <Identity
      Name="Microsoft.SDKSamples.PosPrinter.CS"
      Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
      Version="<IP_ADDRESS>" />

    <mp:PhoneIdentity PhoneProductId="69282152-3a06-4e2b-84ac-752634d99ef7" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

    <Properties>
        [...]
    </Properties>

    <Dependencies>
        [...]

    <Resources>
        [...]
    </Resources>

    <Applications>
        [...]
    </Applications>

    <Capabilities>
        [...]
        <DeviceCapability Name="pointOfService" /> <!-----------######### THIS ########--------->
    </Capabilities>
</Package>


pikabot application keep refreshing

after npm start, the pikabot show up but it keep refreshing and i can't do anything on pikabot, the bot also doesn't seem working

Have you installet encrypt.so ?

no, i cant run the code, cmd say wget is not recognized as an internal or external command

You need to find tutorial how to get encrypt library on windows


Add apply-inline-code extension

Description

Apply inline code style in common applications and websites
Screencast

Checklist

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

@pernielsentikaer Oh I didn't think about it. Maybe I can add a customize list to add support browser from installed applications by user. Do you think it's a good idea?

Thank you for your prompt feedback. I've made some changes:

Add the chromium-based browsers you mentioned before to support.
add preference Custom Browser for users to set their preferred browser.

Please have a look. Thank you!


Provide an example of start URL hard-coding

Based on feedback from @seagatesoft.

Codecov Report

Merging #44 (962fab6) into main (0b133ed) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 962fab6 differs from pull request most recent head 63bbe76. Consider uploading reports for the commit 63bbe76 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #44   +/-   ##
=======================================
  Coverage   98.81%   98.81%
=======================================
  Files          12       12
  Lines         506      506
=======================================
  Hits          500      500
  Misses          6        6


Allow users to specify IncludeEmptyEntriesInMessagePayload capability

For trigger payloads of collection type(ex: event hub trigger payload with batched messages), host will skip empty entries by default. We recently made a host level change so that host will not skip empty entries if worker includes IncludeEmptyEntriesInMessagePayload capability when advertising the capability list to host. The dotnet worker was updated to send this capability if user opts in for that(In the next major version, we will enable it by default). node worker should consider making similar change.

The worker PR to allow updating capabilities is here: https://github.com/Azure/azure-functions-nodejs-worker/pull/720
Once that is merged, the library would actually be able to expose this particular capability to users if we want to, so moving the issue to the library repo.


Instrument NextJS apps

Description
NextJS support is currently poor, which leads to customers having issues when using some instrumentations and often leaves users with question on how to properly set up Faro for NextJS apps.
Proposed solution
Some Ideas:

Create a NextJS specific instrumentation which auto configures the most important parts

Instead of using the web-tracing package, which is otel under the hood, use the  @vercel/otel package

Create documentation which is easy to find and to understand

Links:

NextJS docs on how to use OpenTelemetry

Related Faro issues and discussions

#219
#260
Discussion about Svelte KIT SSR

Context

Would be very interested in this. And we'd be happy to test it out over at https://github.com/open-sauced/app or give feedback.
https://github.com/open-sauced/app/pull/3139
I'm also wondering if there are recommendations for getting routes to work with the NestJS useRouter (which I believe is their own routing implementation). Right now, with what I've integrated above ^, it only shows the route for our base feed/ route, nothing else.

Hi @jpmcb This sounds awesome, thank you so much 🙏
I can't say when exactly we'll start working on it, but it should be soonish.
Unfortunately I can't give any good recommendations for Next.js yet.
Cheers,
Marco

👋 Hey, just checking in to see if anyone's managed to get Faro working with NextJS?
I see the linked issues are still unresolved. Does that imply that NextJS is effectively unsupported at present?

Not fully. We've only managed to get the Console instrumentation working server-side. On the frontend we're able to get everything working, but for the React instrumentation, you'll need to make sure the top-level component is client rendered. It's not perfect at the moment for us, but we're looking forward to improvements

Maybe some good data to getting this pushed forward: in the most recent StackOverflow developer Survey, NextJS is 3rd in the category of most used / most desired web frameworks. It seems it's synonymous these days with building React frontends.
This continues to be a heavy blocker for us adopting more of Grafana's cloud offering and we're forced to use competitors (like Sentry.io) for frontend observability


Update Contributing Guide with command to build MacOS binary

I think we need to update CONTRIBUTING.md to specify how to build a mac executable.  The instructions discuss how to build the binary using the docker builder image (build/builder.sh make build) but fail to mention that by default this will build a linux binary only.  The command as i understand to build a mac binary is the following:
build/builder.sh mkrelease amd64-darwin

The usual way to build a mac executable is make build (assuming you're building on a mac). build/builder.sh mkrelease amd64-darwin is an alternative if you don't want to install our build prerequisites (but do have docker), although it's much slower than a native build.
build/builder.sh make build is a bad idea even for linux - it produces non-portable binaries that will run inside the builder image but may not work outside it. If you're using the builder image you should probably always use mkrelease instead of make to produce portable binaries.

good to know.  i do favor the builder image so i don't have to hassle with installing local dependencies.  would be good to spell out these differences, particularly between make and mkrelease, in the docs or contributor guide.  I was not clear on the differences.

The build instructions have moved to the wiki and include MacOS-specific guidance now: https://cockroachlabs.atlassian.net/wiki/spaces/CRDB/pages/73204103/Building+from+source+on+macOS


Exercise #6: filter() with two arguments

Hi there,
I am trying to achieve something like .filter((x, y) -> y - x == 2). I realised that .filter() doesn't take in 2 parameters (error message incompatible types: incompatible parameter types in lambda expression obtained). And while reduce() takes in a bi-function, it produces just one final value (rather than an IntStream. I believe I must have missed the correct function for this, would appreciate any help!
Thanks in advance:)

I assume this is for the Twin Primes task (apologies if my assumption is incorrect). You will simply need to 'iterate' through the values between the range of numbers and 'combine' the filter you mentioned with detecting whether two numbers are primes. Aside from that, a helpful tip is to maybe define an isPrime(int n) function similar to what the slides for Lecture 9 did!

Agree with @wilsonwid's way to solve the Twin Primes task!
But are there are any methods for streams where we can have visibility of other elements within the stream? In usual for loops this would be easy since we can just access the other elements by indexing but I'm not really sure how we can do this for streams.

You could do:
List<Integer> lst = ...
IntStream.range(1,  lst.size()).boxed()
        .filter(i -> lst.get(i - 1) - lst.get(i) == 2)
        .map(i -> lst.get(i))
        .
        .
        .


When I share the same canvas in the mapbox and the deck, loaded the extruded Polygon of the deckgl will appear perspective.

When I share the same canvas in the mapbox and the deck, loaded the extruded Polygon of the deckgl will appear perspective. What happened ?
This is the rendering：

Looks like depthTest is false. Either you are turning it off yourself or it is due to some interaction between the two libraries?

@ibgreen Thank  you.I think i know the reason for this problem.


Batch Mode with Embedded Prompts

Hi
Probably a feature request, but is it possible to use this in batch mode? Eg. I would love to be able to point it at a folder of images and for it to use the embedded prompts in the images.
My understanding is you can only use this script with one image at a time and you have to manually input the prompt (or send img+prompt manually) one at a time, it cannot be used in batch mode properly?

Note there is some similar scripting here which can be used with hiresfix/sdupscale batches, reading prompts from file, but I don't think we can use in combination with this script
https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/4938

Thanks for the idea.. been having dreams about this one actually :D  I started working on this project with the idea of creating a batch image processor.  I'm not sure this will make it in the next version but it's in the plan.

A1111 has a batch mode that works with the looper now.  This issue is closed.


Access S/4HANA Cloud System to View Sales Order

Tutorials: https://developers.sap.com/tutorials/spa-process-action-checkbackend.html
I do not have access to Demo S/4Hana BTP link which was shared in teams chat for L2W session. Could you please add me<EMAIL_ADDRESS>https://portal.demo-education.cloud.sap/sites#MyLandscape-display&/Landscape/(LandscapeUUID=f7240b3e-9064-1edd-aeb3-84f614c450ba,IsActiveEntity=true)/?tab=Users

@SchluchterStephan :Can you please provide access to the user.

Hi @sunilsingha,
your user has already been created last week. Please let us know if you need any further support. Thanks and good luck with the tutorial.


Migrate Docs to SSoT

Migrate documentation to the new Single Source of Truth of Docs for the Flow Ecosystem.
Expected Outcome

[ ] All of the relevant docs in the flow-js-sdk repo live in the SSoT

@JeffreyDoyle @orodio Can you indicate which docs you'd like to move?


Add NamedSequence, NamedBlock wrapper classes

These basically mimic R's names for lists, NumPy arrays, etc. with as little effort as possible, rather than converting them to dictionaries all the time.

Actually, what I want to do is more easily achieved by just creating IntegerList, FloatList, and BooleanList subclasses from NamedList, much like for the StringList class. These would be analogous to R's atomic vectors.


fix: remove the leading underscore (_) on route names

WIP
Before:
[2024-05-24 12:53:46 +0000] [25940] [INFO] Route: renku_data_services.resource_pool_users._get_all
[2024-05-24 12:53:46 +0000] [25940] [INFO] Route: renku_data_services.resource_pool_users._get
[2024-05-24 12:53:46 +0000] [25940] [INFO] Route: renku_data_services.resource_pool_users._delete
[2024-05-24 12:53:46 +0000] [25940] [INFO] Route: renku_data_services.resource_pool_users._put
[2024-05-24 12:53:46 +0000] [25940] [INFO] Route: renku_data_services.resource_pool_users._post

After:
[2024-05-24 12:58:29 +0000] [26730] [INFO] Route: renku_data_services.resource_pool_users.get
[2024-05-24 12:58:29 +0000] [26730] [INFO] Route: renku_data_services.resource_pool_users.get_all
[2024-05-24 12:58:29 +0000] [26730] [INFO] Route: renku_data_services.resource_pool_users.put
[2024-05-24 12:58:29 +0000] [26730] [INFO] Route: renku_data_services.resource_pool_users.delete
[2024-05-24 12:58:29 +0000] [26730] [INFO] Route: renku_data_services.resource_pool_users.post

/deploy #notest renku=release-0.52.x

You can access the deployment of this PR at https://renku-ci-ds-223.dev.renku.ch

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

7 of 7 (100.0%)  changed or added relevant lines in 2 files are covered.
8 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.05%) to 90.008%

Files with Coverage Reduction
New Missed Lines
%

components/renku_data_services/storage/blueprints.py
1
95.68%

components/renku_data_services/crc/blueprints.py
1
89.17%

components/renku_data_services/crc/db.py
2
86.57%

components/renku_data_services/connected_services/blueprints.py
4
91.51%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
7882

Relevant Lines:
8757

💛  - Coveralls

@leafty this is marked as draft. But it looks like it is ready for review?

Not yet, I need to clean this one up first.

Tearing down the temporary RenkuLab deplyoment for this PR.


use avconv and and avprobe only?

Hi,
is there a simple to make this lib using av-tools only?
thank you! nice lib, my concrats!

@gbaumgart Use case?


Export to Google Spreadsheets 🧩

No need to export to a Google Spreadsheet. Too much of a hustle with little to no gain. 💁♂


Minor refactoring: implement makeType for antlr4 parser plugin

As antlr2 parser will be removed in the future, we should not rely on its API

+1, I'll merge and refactor a little bit

Merged. Thanks Daniel!

My pleasure 😉


Make Login-page

Hi @codervivek5,
I would like to make a Login-page for the website.
Please assign me this issue under GSSOC'23.
Login-page:

Hello @codervivek5,
Please assign me this issue.

Hello @codervivek5, Please assign me this issue.

I would like to build LogIn and SignUp page :)

Thank you for your interest but another person already working in the same issue so at this time I can't assign it to you.
I am really sorry but you can drop or create any other issue and wait for the assign.
try to avoid work in any issue in any project with assign it. It will be helpful for you.
Thanka again


Unknown attribute error when building indexes

I'm trying to build the indexes in my application. I get an error saying ActiveModel::UnknownAttributeError (unknown attribute 'state_id' for PgSearch::Document.) when running PgSearch::Multisearch.rebuild(Question) in the console.
app/models/question.rb
# == Schema Information
#
# Table name: questions
#
#  id             :bigint           not null, primary key
#  body           :text
#  comments_count :integer          default(0)
#  deleted_at     :datetime
#  display_body   :text
#  hotness        :float
#  upvotes_count  :integer          default(0)
#  created_at     :datetime         not null
#  updated_at     :datetime         not null
#  politician_id  :integer
#  shared_link_id :integer
#  user_id        :integer
#
# Indexes
#
#  index_questions_on_politician_id   (politician_id)
#  index_questions_on_shared_link_id  (shared_link_id)
#  index_questions_on_user_id         (user_id)
#

class Question < ApplicationRecord
  include HashtaggableItem
  include Decayable
  include PgSearch::Model

  multisearchable against: %i[body description], additional_attributes: ->(user) { { state_id: user.state_id } }
  acts_as_paranoid

  belongs_to :user

app/models/user.rb
# frozen_string_literal: true

# == Schema Information
#
# Table name: users
#
#  id                          :integer          not null, primary key
#  address                     :string
#  address_line_1              :string
#  address_line_2              :string
#  city                        :string
#  comments_count              :integer          default(0)
#  confirmation_sent_at        :datetime
#  confirmation_token          :string
#  confirmed_at                :datetime
#  current_sign_in_at          :datetime
#  current_sign_in_ip          :string
#  email                       :string           default(""), not null
#  encrypted_password          :string           default(""), not null
#  first_name                  :string
#  image                       :string
#  issue_issuables_count       :integer          default(0)
#  last_name                   :string
#  last_sign_in_at             :datetime
#  last_sign_in_ip             :string
#  middle_name                 :string
#  name                        :string
#  phone_number                :string
#  provider                    :string
#  remember_created_at         :datetime
#  rep                         :boolean
#  reset_password_sent_at      :datetime
#  reset_password_token        :string
#  role                        :integer          default("user")
#  sign_in_count               :integer          default(0), not null
#  status                      :string           default("registered")
#  suffix                      :string
#  uid                         :string
#  unconfirmed_email           :string
#  verification_pin            :integer
#  verification_pin_expires_at :datetime
#  votes_count                 :integer          default(0)
#  zip                         :string
#  created_at                  :datetime         not null
#  updated_at                  :datetime         not null
#  state_id                    :integer
#
# Indexes
#
#  index_users_on_email                 (email) UNIQUE
#  index_users_on_reset_password_token  (reset_password_token) UNIQUE
#  index_users_on_state_id              (state_id)
#  index_users_on_status                (status)
#

class User < ApplicationRecord
  include WorkflowActiverecord

  workflow_column :status
  workflow do
    ...
  end

  scope :active, -> { where.not(status: 'deleted') }
  devise :database_authenticatable, :registerable, :zxcvbnable, :confirmable, :recoverable, :rememberable, :trackable, :validatable

  belongs_to :state, class_name: 'LegiscanModel::State', optional: true

db/structure.sql
CREATE TABLE public.pg_search_documents (
    id bigint NOT NULL,
    content text,
    searchable_type character varying,
    searchable_id bigint,
    created_at timestamp(6) without time zone NOT NULL,
    updated_at timestamp(6) without time zone NOT NULL
);

I think you're supposed to add the reference to the state table in pg_search_documents, see https://github.com/Casecommons/pg_search#more-options
In the "Specify additional attributes to be saved on the pg_search_documents table" section, they add t.references :author, index: true to the pg_search_documents table.
That's why you're having an attribute error during rebuild, that attribute does not exist in the table

@rhymes That's what. I was looking for. Thanks


blockio: add ContainerClassFromAnnotations

Add pkg/kubernetes for common annotation handling logic.
Both blockio and rdt export their own ContainerClassFromAnnotations
functions with the same interface.
Refactor rdt ContainerClassFromAnnotations to use the common logic.

Signed-off-by: Antti Kervinen<EMAIL_ADDRESS>

Codecov Report

Merging #52 (0560efe) into main (a183a10) will decrease coverage by 0.58%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
- Coverage   76.07%   75.49%   -0.59%
==========================================
  Files          14       16       +2
  Lines        1563     1579      +16
==========================================
+ Hits         1189     1192       +3
- Misses        265      278      +13
  Partials      109      109

Impacted Files
Coverage Δ

pkg/blockio/kubernetes.go
0.00% <0.00%> (ø)

pkg/kubernetes/annotations.go
43.75% <43.75%> (ø)

pkg/rdt/kubernetes.go
100.00% <100.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 a183a10...0560efe. Read the comment docs.


Chore : Improve AutoResizableTextArea and CustomRangeIndicator

Improve the resizing algorithm to consider padding and other style properties, custom range input styled with CSS

@sujal402 , You can now bring back the changes you made to AutoResize


python310Packages.ansible-doctor: 2.0.2 -> 2.0.3

Changelog: https://github.com/thegeeklab/ansible-doctor/releases/tag/v2.0.3
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

4 packages built:

ansible-doctor (python310Packages.ansible-doctor)
ansible-doctor.dist (python310Packages.ansible-doctor.dist)
python311Packages.ansible-doctor
python311Packages.ansible-doctor.dist


Support rules based sampling

Currently, refinery provides an option to define the rules-based sampling.
From the code, it seems we can't define the rules as part of terraform.tfvars
Description
What are you trying to do?
Define the rules based sampling for refinery rules.toml
What do you want to do differently?
As of now, the rules provisioning and expected naming convention is not supported
What is not supported?
Defining the rules as part of terraform.tfvars
What is frustrating you?
nothing as such
Desired solution
What would you like to happen?
Able to define the set of rules for sampling the honeycomb log events
How does an ideal flow look like?
define rules in terraform.tfvars -> parse the rules properly under rules.toml.tpl and generate the valid rules.toml
How should this be implemented?
Have some basic work done here - https://github.com/Vlaaaaaaad/terraform-aws-fargate-refinery/compare/main...shukla2112:rules-config-support?expand=1
Notes
Anything else to add?
Let me know if there is a way to define rules, I tried to look through the code and concluded that rules are not yet supported.
Please look at the forked changes. I can work on it to make it more inclusive.

AHA! There are users for this module! I didn't see any usage so I kind of let this rot until I needed it.
This module was written for an older Terraform version and for a very old, pre-1.0 version of Honeycomb's Refinery. I wanted to update it for a while, but it was low on my priority list.
Now that I know there are folks using this, I'll want to fix both of the above by... say Monday, August 19.
@shukla2112 regarding config and rules: the logic around the rules is getting pretty weird and complex. I am thinking of maybe just accepting a path to the toml files and just using that. I think that would be more flexible and offload a lot of unnecessary complexity. What do you think about that? Would that work with your usecase?

@Vlaaaaaaad -  make sense. accepting toml files would simplify by large for the users. Let me know if I can help you anyway.

@shukla2112 v0.3.0 was just released! It has all the changes we discussed above. I tested it and it works, but it was not very intense testing. Let me know if you discover any bugs!


Disney Parks Ride Wait Times Don't Work

Get this error when trying to access disneyland/california adventure park wait times.
DisneyPark.pyc in _authorize(self)     101         r = requests.post(url, data=data, headers=headers, verify=False)     102         response = r.json() --> 103         auth_token = response['token_type'] + ' ' + response['access_token']     104         return auth_token KeyError: 'token_type'

Hello! I haven't looked at this repo in a long, long time. Disney has inevitably changed their API to access this information. I'm probably not going to fix this due to lack of time. If you want to make a PR, I'd be happy to take it in.
Otherwise, you might want to try a different library. I'd highly recommend themeparks (https://github.com/cubehouse/themeparks) because it looks well-maintained and has a lot of cool features.

Ok thanks.


chore: split up htlc handling logic

I like these changes, they make the gateway logic simpler and when we don't support v1 anymore, it will be easy to rip out the old code. Most suggestions are small naming changes or nits.
I think after this PR we should do a pass to remove "HTLC" remove a term that we use


Review dotnet test documentation

https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test

This article has several outstanding issues. Some of them have enough information in the issue to update the doc -- the ones that need more info are:

https://github.com/dotnet/docs/issues/13963 - filter not working with parameterized test cases
https://github.com/dotnet/docs/issues/17135 - add nunit examples
https://github.com/dotnet/docs/issues/17256 - document code coverage

@nohwnd does #18295 complete your review, i.e., can we close this issue?

@tdykstra This issue should wait for @pavelhorak to extend the info about the filtering issue, mentioned in the outstanding issue above.

@pavelhorak ping

This issue should wait for @pavelhorak to extend the info about filtering, to provide a solution for the issue mentioned above.

#13963 is closed due to lack of response from the issue creator. Since that was the only thing left that this issue was waiting for, I'm closing this issue.


Unable to add package

Hey , I am not able to add the package via SPM , the package is not being resolved and therefore as a result it is damaging my other packages! Anyway to resolve this issue ?

Not a segment issue.  Complain to Xcode. :(


epic: Cortex is compatible with Ubuntu 20.04 (removal of GLIBCXX_3.4.30 and `CXXABI_1.3.13'

Goal

Cortex should be able to run on Ubuntu 20.04
Ubuntu 20.04 has not reached EOL (April 2025), and there are still large pool of users on it

Tasklist

[ ] Compile to diff target, without dependence on GLIBCXX_3.4.30 and `CXXABI_1.3.13'
[ ] Otherwise, articulate why we should not do this (e.g. loss of functionality, etc) and update #1125 and #1130

Original Post
Subject: bug: version GLIBCXX_3.4.30' and CXXABI_1.3.13' not found
Describe the bug
Jan uses GLIBCXX_3.4.30 which is a symbol that doesn't exist for standard packages on ubuntu 20.04 libstdc++.so.6.
An extract from the error logs:
jan-data-folder/extensions/@janhq/inference-nitro-extension/dist/bin/linux-cuda-12-0/nitro: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by jan-data-folder/extensions/@janhq/inference-nitro-extension/dist/bin/linux-cuda-12-0/nitro)

https://github.com/janhq/jan/issues/1732 appears to suggest that the solution is to upgrade to a later version of libstdc++.so.6, which Is a solution I'm not particularly happy with, considering it's a reasonably core package that will make anything I build incompatible with most ubuntu 20.04 systems.
Is there any chance you can compile without these symbols?
Steps to reproduce
Steps to reproduce the behavior:

Go to https://jan.ai/
Click on download AppImage
3 . I downloaded  Mistral Instruct 7B Q4
write any instruction and check the error logs when it fails.

Similarly I tried the deb package:
https://github.com/janhq/jan/releases/download/v0.4.12/jan-linux-x86_64-0.4.12.AppImage
/home/aspen/jan/extensions/@janhq/inference-nitro-extension/dist/bin/linux-cuda-12-0/nitro: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/aspen/jan/extensions/@janhq/inference-nitro-extension/dist/bin/linux-cuda-12-0/nitro)
/home/aspen/jan/extensions/@janhq/inference-nitro-extension/dist/bin/linux-cuda-12-0/nitro: /lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by /home/aspen/jan/extensions/@janhq/inference-nitro-extension/dist/bin/linux-cuda-12-0/nitro)

Environment details

Operating System: Ubuntu 20.04
Jan Version: 0.4.12

We are using gcc-11 on ubuntu (20.04 for cortex.cpp, cortex.llamacpp; 22.04 for cortex.tensorrt-llm) to compile our sources.

gcc-11 is mandatory for cortex.tensorrt-llm
we can use gcc-9 for cortex.cpp and cortex.llamacpp

There are a few things I think need to be considered:

[ ] Need to rebuild all the runners for cortex.cpp and cortex.llamacpp to use gcc-9  (cc @hiento09)
[ ] Users can only use llamacpp engine on Ubuntu 20.04, to use tensorrt-llm engine they need to upgrade glibc
cc: @dan-homebrew

I understand. Let's support gcc-9 as a default for now, and we can reconsider after its EOL in April 2025. I suspect there will still be a lot of Ubuntu 20s in the wild for +1 year after that.
I will create a separate ticket to figure out the UX for upgrading glibc for TensorRT-LLM, and schedule it with the TensorRT-LLM stories.

I'm moving this to sprint 22 for QA

Cortex can run on Ubuntu 20


SQLite incorrect DDL handling

Mapping all of the types to integer will result in type narrowing while retrieving all of the data. Two solutions here: either integer is mapped to int64 or we distinguish types in the create_column.
In the second case, integer primary key also needs to be handled separately.
Originally posted by @Sildra in https://github.com/SOCI/soci/pull/954#discussion_r1355037313
This issue also contradicts the documentation :
https://github.com/SOCI/soci/blob/master/docs/backends/sqlite3.md#dynamic-binding

Proposal for fixing the DDL creation of SQLite : https://github.com/Sildra/soci/commit/63d20b5f892812e3e1ca4cbeeb2106f09fa4d383
The following commit has a perfect matching between DDL creation and SQLite.

I admit I don't understand what does the linked commit change: according to SQLite docs all these types map to INTEGER affinity, so why does it change anything?

Because SOCI is performing affinity check based on the description of the column and for SQLite it is based on the name of the type. In every test, columns are not created using the DDL sql.create_table("TEST").column("VAL", soci::dt_long_long) but using a raw query. The equivalent query is "CREATE TABLE TEST (VAL INTEGER)". The INTEGER part is wrong, as my expected type is long long (or "bigint" as defined in https://github.com/SOCI/soci/blob/2e4b44b9fabc65a2362d6421c78fab35b1552717/src/backends/sqlite3/statement.cpp#L412-L465).
Then when you get the data with the get, as a developer, I am expected to do v.get<long long>("VAL") but the following throws a std::bad_cast().
The current correct way to retrieve the data is v.get<int>("VAL") but it only supports 32bit values.
With the change, it is possible to do v.get<long long>("VAL") but it will break v.get<int>("VAL"). So for both to work it will require https://github.com/Sildra/soci/commit/10d2f776b2e7ab6a23a3e68d9884848e9fcef550.

Resolved by #1120


Add Information About Installing Postgres Client Tools on Linux

This adds information to postgres.md about installing Postgres client tools on Ubuntu. We currently only have information about Postgres client tool installation on Mac. :smile:

@znarf : Thanks for the feedback. I've changed it. Let me know if anything needs further change. :smile:

Please check again, you added a Mac section while one was already existing.

Sorry, I am not quite understanding what you have in mind. :smile:
But this MacOS and Linux section should be enclosed within the Docker section. The first MacOS section is about how to install Postgres on a MacOS. The ones we are talking about are subheadings within Docker; on how to install the Postgres client tools after pulling the docker images.
Would you like to create a new Docker subheading within the first MacOS section ? :thinking:

Sorry, I got it wrong and made it more complicated that it should. You can switch back to the first version and it should be good.
Remove:

#### MacOS
#### Linux
##### Debian Based Distributions

@znarf : No problem. Done. :smile:
On another note I see that you guys run the CI on every single commit; even documentation changes. Would you like to add support for skipping the CI when the commit header has [skip ci] or similar tags? :smile: If that's something useful; I can add that as well.


Transaction history wrongly displayed

hey guys, using multipl coins in SPV mode sometiems is a bit confusing - different coins panels are mixing, for example when I click t o view the other coin - it shows the balance of it, but the transactions from the previous one
also can show 2 addresses - current wallet  + the other one from confused transactions
kind of refresh bug or cache bug, not very big but someone can confuse accounts and send money from 1 coin to the other one (as 2 diff addresses displayed on 1 panel! destination address in transaction history != wallet address on top )
win 10 wallet Agama .27a
example:
transfering 10 Hush is shown also when displaying BCH SPV. In that case I can see 1 address of BCH + 1 address of Hush in BCH transaction history.
In my case BCH was added just after Hush on the coins SPV list.
After few minutes BCH shows:
Connection error!
Trying to switch to another server...
How to switch manually:
Go to "Settings", select "SPV Server List" tab, choose new server and click "OK".

No longer an issue, closing


cross-compile and push images

Description

Adds the following:

cross-compile support from amd64 to all supported arches
standard Makefile targets build and image which support ARCH
standard Makefile target image-all to create all supported arches
standard Makefile target push to push out a given IMAGETAG for an individual ARCH
standard Makefile target push-all to push out a given IMAGETAG for all supported arches
standardizes the Dockerfiles

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

Standard support for cross-compile build, image and push for all supported arches

cc @fasaxc @caseydavenport @mkumatag  @djlwilder


How can I connect to a read-only replica from Fabric?

This article explains the read-only replicas available under the premium capacity. How can I connect to this read-only replica from Fabric for my ETLs?
Thank you.

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

ID: a2145337-0aea-6a0b-ea62-e10a7f902d76
Version Independent ID: 4e4f5616-032c-ebab-df35-5e73dec9ef94
Content: Read queries on replicas - Azure SQL Database & Azure SQL Managed Instance
Content Source: azure-sql/database/read-scale-out.md
Service: sql-db-mi
Sub-service: scale-out
GitHub Login: @rajeshsetlem
Microsoft Alias: rsetlem

@carlos-carcapital
Thanks for your feedback! We will investigate and update as appropriate.

Hi @rajeshsetlem,
Could you please look into this, thanks.

#assign:WilliamDAssafMSFT

Thanks @carlos-carcapital. Currently, the only way to do this would be through Fabric Data Factory, to copy the data into your own Warehouse via an ETL process: https://learn.microsoft.com/fabric/data-factory/connector-azure-sql-database Connecting to SQL Database replicas is covered here: https://learn.microsoft.com/azure/azure-sql/database/read-scale-out?view=azuresql#connect-to-a-read-only-replica
However, keep an eye on the Fabric release plan, because there are new and better solutions coming for bringing SQL Server and Azure SQL Database data into Fabric on the roadmap, without an ETL: https://learn.microsoft.com/fabric/release-plan/data-warehouse There will be easier solutions available in the future.
If you have any deeper technical questions, this is not the best forum, as this space is for documentation updates. Product questions and feature capability questions are best addressed elsewhere: I recommend https://ideas.fabric.microsoft.com/, the Microsoft Fabric Community, Microsoft Support, or your support partners. Regardless, thanks again for this feedback, your suggestions help improve our documentation.
#please-close


chore: switch tab on alerts or follows action sheet tap

Description
This PR resolves ONYX-799
https://github.com/artsy/eigen/assets/11945712/266388e6-00d9-461a-af98-f39a3abc8d15

PR Checklist

[X] I have tested my changes on iOS and Android.
[X ] I hid my changes behind a feature flag, or they don't need one.
[X] I have included screenshots or videos, or I have not changed the UI.
[X] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

chore: switch tab on alerts or follows actionsheet tap - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (chore: switch tab on alerts or follows actionsheet tap - mounir)

  Generated by :no_entry_sign: dangerJS against f29592498afd02653db6c3821863c5654dc0df21


All class method declarations have "line line" in all generated documentation

For example, check out http://api.symfony.com/master/Symfony/Bridge/Doctrine/Validator/DoctrineInitializer.html.

Right side of method declaration has "at line line 26".  Shouldn't this just be "at line 26"?

Which version of Sami are you using? I remember fixing it in #221, but not sure if change was released or not.

version 3.3.* per composer

Does it work correctly in master branch?

Hi,
To answer your question, and since @intacttcoleenho has not answered yet, I'm using Sami 3.3.0 through master branch, and I'm also having this issue (if useful, my server is with PHP7).
Hope this could be fixed soon

@net-tools Thank you for commenting back on using Sami 3.3.0 on master branch.
@aik099 do you still need me test using master?

@intacctcoleenho , nope. Just waiting for somebody to send a PR with a fix.

Hi,
I was going to have a look at the Sami repository to send a PR with the fix, and I noticed that in the current dev-master the issue has been fixed, with #221 and committed.
However, the last stable release being v3.3.0 (from June 7, 2016), and the #221 issue patched on June 21, the current Sami release available on Packagist does not include the fix.
@intacctcoleenho : you may either wait for the next stable release to get live and available through Packagist/Composer, or you could require a @dev version with Composer. However, it seems that recent changes to the PHP parser brought some nasty bugs (issues with namespaces, I noticed), still waiting for a fix...
@aik099, By the way, there's a pending PR from April still waiting to be accepted (issue #174). I understand guys may be busy on other assignments, but that's a pity we send PR that get accepted months later...

but that's a pity we send PR that get accepted months later...

Don't tell me about that. I have sent PRs (not to this repo) that even haven't been reviewed for years. Having a community around FOSS project, where people are always there to review incoming PRs is a problem these days.

This doesn't mean, that sent PRs are not considered important. It's just that people are very busy with other things (like work 😄 ) to review them.

Closing as it has been fixed, 4.0 will include the fix and will be released soon.


update scala to 2.12 and deps to latest

Hi @mathieuancelin,
would you consider updating library to work with scala 2.12?
It should be possible to cross-compile it to 2.11, looks like that all the deps are still available in 2.11

I wanted to do that for a long time

that was quick! thanks!
will push cross build option in few minutes

@milenkovicm already done ;-)

perfect!
would you consider updating scala to latest 2.11.11 ?

done !

thanks! I'm going now to try the library.
thank you for your help

Any feedback will be very useful, thanks in advance

I'll put few of my comments here so we can discuss, I don't want to open Issues for now :

I have one minor comment, which is matter of taste. In ReactiveCouchbase ActorSystem should be implicit, I'd remove apply method which starts ActorSystem under the hood. This might source of errors as somebody could start another ActorSystem without really wanting to do so.
A bit bigger problem for me is use of play json library. Every project today use some kind of json library and it would be great if library is configurable. I'll try to poc it if i get some time.

WDYT?

About the ActorSystem, it's pretty much useless right now so I'll remove it soon.
About the Json lib, I agree with you, and I think it could be handled very easily. I'll try to take a look to, but feel free to submit a PR


Translation help please

Are you looking for a localized language version of some documentation?

Please reopen if you can add more information. Thanks!


[feature request] r#-aware apis

Currently syn seems be largely ignorant of the existence of r#. This is correct in some situations, and incorrect in others. It would be good if the API of Ident (and others?) be adjusted/augmented to make it easier to correctly handle this.
Some notable examples with an Ident("r#match"):

prefixing: new_name = format!("prefix_{}", ident); => "prefix_r#match" (wrong)
exporting: fn_name = ident.to_string(); => void r#match(int32_t x, bool y); (wrong)
generating rust: format!("struct {}", ident); => struct r#match (right!)

At minimum having a to_unescaped_string() fn that strips r#'s would be nice, but I'm not an expert in the domain so it might be possible there's a more elegant/helpful solution here.

I think the behavior of format!("{}", ident) needs to match ident.to_string() (no choice on this one) which needs to match TokenTree::Ident(ident).to_string() which needs to match TokenStream::from_iter(vec![TokenTree::Ident(ident)]).to_string(). Anything else would be too confusing. The last one pretty obviously needs to include r# if the ident is raw, so I would conclude that we need to keep the r# in format!("{}", ident).
I would be on board with adding:
impl Ident {
    pub fn unraw(&self) -> Ident;
}


An exception occurred while invoking executor executor://mstestadapter/v2. System.IO.DirectoryNotFoundException

Describe the bug
Our Azure DevOps pipeline, which runs tests from 60 assemblies in parallel via dotnet test, randomly fails with the exception
An exception occurred while invoking executor executor://mstestadapter/v2. System.IO.DirectoryNotFoundException: Could not find a part of the path 'F:\agent\_work\1\s\TestResults\Deploy_user 20240131T155218[1]\In\BLDSRV01'.

The .NET8 projects reference packages

MSTest.TestAdapter 3.1.1
MSTest.TestFramework 3.1.1
Microsoft.NET.Test.Sdk 17.8.0

Steps To Reproduce
Not really, but the Task runs the following dotnet test command:
dotnet test ./MySolution.sln --no-build --no-restore --configuration=Release --logger=trx --results-directory=TestResults --settings=.runsettings --collect="Code Coverage;Format=cobertura" --diag=TestResults\dotnet-test.diag

Expected behavior
The tests are executed and dotnet test exits with code 0
Actual behavior
The tests are not executed and dotnet test exits with code 1
Additional context
The relevant part from the diag file
TpTrace Information: 0 : 23220, 4, 2024/01/31, 15:52:18.408,<PHONE_NUMBER>319, testhost.dll, MSTest - MSTestDiscoverer: Found 8 tests from source F:\agent\_work\1\s\_Build\Release\Assemblies\ipipe.DataMapping.Test\ipipe.DataMapping.Test.dll
TpTrace Verbose: 0 : 23220, 9, 2024/01/31, 15:52:18.512,<PHONE_NUMBER>919, testhost.dll, TcpClientExtensions.MessageLoopAsync: Polling on remoteEndPoint: [::ffff:<IP_ADDRESS>]:55794 localEndPoint: [::ffff:<IP_ADDRESS>]:55853
TpTrace Error: 0 : 23220, 4, 2024/01/31, 15:52:19.234,<PHONE_NUMBER>184, testhost.dll, BaseRunTests.RunTestInternalWithExecutors: An exception occurred while invoking executor executor://mstestadapter/v2. System.IO.DirectoryNotFoundException: Could not find a part of the path 'F:\agent\_work\1\s\TestResults\Deploy_user 20240131T155218[1]\In\BLDSRV01'.
   at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
   at System.IO.Directory.CreateDirectory(String path)
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Utilities.FileUtility.CreateDirectoryIfNotExists(String directory) in /_/src/Adapter/MSTestAdapter.PlatformServices/Utilities/FileUtility.cs:line 32
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Utilities.DeploymentUtilityBase.CreateDeploymentDirectories(IRunContext runContext) in /_/src/Adapter/MSTestAdapter.PlatformServices/Utilities/DeploymentUtilityBase.cs:line 73
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.TestDeployment.Deploy(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle) in /_/src/Adapter/MSTestAdapter.PlatformServices/Services/TestDeployment.cs:line 147
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestExecutionManager.RunTests(IEnumerable`1 sources, IRunContext runContext, IFrameworkHandle frameworkHandle, TestRunCancellationToken cancellationToken) in /_/src/Adapter/MSTest.TestAdapter/Execution/TestExecutionManager.cs:line 126
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.MSTestExecutor.RunTests(IEnumerable`1 sources, IRunContext runContext, IFrameworkHandle frameworkHandle) in /_/src/Adapter/MSTest.TestAdapter/MSTestExecutor.cs:line 107
   at Microsoft.VisualStudio.TestPlatform.Common.ExtensionDecorators.SerialTestRunDecorator.RunTests(IEnumerable`1 sources, IRunContext runContext, IFrameworkHandle frameworkHandle) in /_/src/Microsoft.TestPlatform.Common/ExtensionDecorators/SerialTestRunDecorator.cs:line 57
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Execution.RunTestsWithSources.InvokeExecutor(LazyExtension`2 executor, Tuple`2 executorUriExtensionTuple, RunContext runContext, IFrameworkHandle frameworkHandle) in /_/src/Microsoft.TestPlatform.CrossPlatEngine/Execution/RunTestsWithSources.cs:line 115
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Execution.BaseRunTests.RunTestInternalWithExecutors(IEnumerable`1 executorUriExtensionMap, Int64 totalTests) in /_/src/Microsoft.TestPlatform.CrossPlatEngine/Execution/BaseRunTests.cs:line 466.
TpTrace Error: 0 : 23220, 4, 2024/01/31, 15:52:19.235,<PHONE_NUMBER>872, testhost.dll, An exception occurred while invoking executor 'executor://mstestadapter/v2': Could not find a part of the path 'F:\agent\_work\1\s\TestResults\Deploy_user 20240131T155218[1]\In\BLDSRV01'.
Stack trace:
   at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
   at System.IO.Directory.CreateDirectory(String path)
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Utilities.FileUtility.CreateDirectoryIfNotExists(String directory) in /_/src/Adapter/MSTestAdapter.PlatformServices/Utilities/FileUtility.cs:line 32
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Utilities.DeploymentUtilityBase.CreateDeploymentDirectories(IRunContext runContext) in /_/src/Adapter/MSTestAdapter.PlatformServices/Utilities/DeploymentUtilityBase.cs:line 73
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.TestDeployment.Deploy(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle) in /_/src/Adapter/MSTestAdapter.PlatformServices/Services/TestDeployment.cs:line 147
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestExecutionManager.RunTests(IEnumerable`1 sources, IRunContext runContext, IFrameworkHandle frameworkHandle, TestRunCancellationToken cancellationToken) in /_/src/Adapter/MSTest.TestAdapter/Execution/TestExecutionManager.cs:line 126
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.MSTestExecutor.RunTests(IEnumerable`1 sources, IRunContext runContext, IFrameworkHandle frameworkHandle) in /_/src/Adapter/MSTest.TestAdapter/MSTestExecutor.cs:line 107
   at Microsoft.VisualStudio.TestPlatform.Common.ExtensionDecorators.SerialTestRunDecorator.RunTests(IEnumerable`1 sources, IRunContext runContext, IFrameworkHandle frameworkHandle) in /_/src/Microsoft.TestPlatform.Common/ExtensionDecorators/SerialTestRunDecorator.cs:line 57
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Execution.RunTestsWithSources.InvokeExecutor(LazyExtension`2 executor, Tuple`2 executorUriExtensionTuple, RunContext runContext, IFrameworkHandle frameworkHandle) in /_/src/Microsoft.TestPlatform.CrossPlatEngine/Execution/RunTestsWithSources.cs:line 115
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Execution.BaseRunTests.RunTestInternalWithExecutors(IEnumerable`1 executorUriExtensionMap, Int64 totalTests) in /_/src/Microsoft.TestPlatform.CrossPlatEngine/Execution/BaseRunTests.cs:line 466

Thanks for reporting the issue @cbersch. I will investigate soon.

Looking online it seems that DirectoryNotFoundException can be thrown for unmapped drive. Are you by chance changing the directory through some runsettings?
For the other part of the bug, where you expect the tests to stop, I would create an issue on https://github.com/microsoft/vstest because that's the platform responsibility as we are not doing any specific handling of the exception.

@cbersch @msedi Could you confirm that F: is a mapped network drive?

@Evangelink:

Could you confirm that F: is a mapped network drive?

No, it's a normal drive.

Is this happening regularly or is it a rare error? I'll check out what are the other reasons that could lead to this exception.

This happens on a quite regular base, currently approximately one of five pipeline runs fails with this error.

I am investigating the cases that can lead to the exception being thrown. So far, my best suggestion would be do put some retry mechanism around the directory creation but that seems a poorman solution without better understanding of why it's failing.

Couldn't it also be a problem when starting the test hosts?
Here, the problematic path contains 20240131T155218[1]. Who decides, that the path needs a [1]?
Searching through all diag files of the pipeline run, I have four diag-files, which contain the very same path, which also lead to the exception. The names of the files are

dotnet-test.host.24-01-31_15-52-03_01021_5.diag
dotnet-test.host.24-01-31_15-52-03_56239_5.diag
dotnet-test.host.24-01-31_15-52-03_56864_5.diag
dotnet-test.host.24-01-31_15-52-03_57364_5.diag

The third one is the one which contains the exception.
The second file contains the following lines:
TpTrace Verbose: 0 : 38124, 12, 2024/01/31, 15:52:18.559,<PHONE_NUMBER>689, testhost.dll, TcpClientExtensions.MessageLoopAsync: Polling on remoteEndPoint: [::ffff:<IP_ADDRESS>]:55792 localEndPoint: [::ffff:<IP_ADDRESS>]:55850
TpTrace Information: 0 : 38124, 4, 2024/01/31, 15:52:18.734,<PHONE_NUMBER>978, testhost.dll, Deleting deployment directory F:\agent\_work\1\s\TestResults\Deploy_user 20240131T155218[1]
TpTrace Information: 0 : 38124, 4, 2024/01/31, 15:52:18.736,<PHONE_NUMBER>338, testhost.dll, Deleted deployment directory F:\agent\_work\1\s\TestResults\Deploy_user 20240131T155218[1]
TpTrace Verbose: 0 : 38124, 4, 2024/01/31, 15:52:18.736,<PHONE_NUMBER>584, testhost.dll, BaseRunTests.RunTestInternalWithExecutors: Completed running tests for executor://MSTestAdapter/v2

So one testhost deletes the directory which another one still needs to access.

Asked runtime https://github.com/dotnet/runtime/issues/97980

@Evangelink Have you looked at the code where the directory names are created, in which the temporary data is saved?
Looks to me, like multiple test hosts (I'm not sure if this is the correct naming), run different assemblies with the same temporary directory. And the first to finish, deletes the directory which isn't available anymore for the other, still running ones.

directory names are created, in which the temporary data is saved?

MSTest uses info provided by VSTest, they are the regular directories.

And the first to finish, deletes the directory which isn't available anymore for the other, still running ones.

Each testhost has its own folder. Also if the issue was that the folder gets deleted when we are still doing some processing we wouldn't get the error you described in your OP (which clearly state there is a problem when doing call to Directory.Create).

And the first to finish, deletes the directory which isn't available anymore for the other, still running ones.

Each testhost has its own folder.

That is not the case in this example. Four testhosts have the same folder F:\agent\_work\1\s\TestResults\Deploy_user 20240131T155218[1].

4 testhosts -> have you looked at the logs or is it because you have 4 test assemblies?

4 testhosts -> have you looked at the logs or is it because you have 4 test assemblies?

I looked at the diag-files, see https://github.com/microsoft/testfx/issues/2219#issuecomment-1921186084

@cbersch Would you be willing to test out some preview packages to test if a retry around the creation could help?

@cbersch Would you be willing to test out some preview packages to test if a retry around the creation could help?

@Evangelink yes, please.
What about changing the way the names of the deployment directories are generated?
I assume, that's the actual problem.

@Evangelink yes, please.

Awesome, let me prepare something.

What about changing the way the names of the deployment directories are generated?
I assume, that's the actual problem.

This is all handled by vstest. @nohwnd Do you think this could be linked to the issue described here?
I have doubts this is related, at least for the issue you raised in the first comment. The issue clearly complains about failure when calling create dir not about some dir not existing.

It might be related to vstest issue https://github.com/microsoft/vstest/issues/2372
The error is basically the same: One test host deletes the deployment directory while another one must access it

The error you posted above
TpTrace Error: 0 : 23220, 4, 2024/01/31, 15:52:19.234,<PHONE_NUMBER>184, testhost.dll, BaseRunTests.RunTestInternalWithExecutors: An exception occurred while invoking executor executor://mstestadapter/v2. System.IO.DirectoryNotFoundException: Could not find a part of the path 'F:\agent\_work\1\s\TestResults\Deploy_user 20240131T155218[1]\In\BLDSRV01'.
   at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
   at System.IO.Directory.CreateDirectory(String path)
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Utilities.FileUtility.CreateDirectoryIfNotExists(String directory) in /_/src/Adapter/MSTestAdapter.PlatformServices/Utilities/FileUtility.cs:line 32
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Utilities.DeploymentUtilityBase.CreateDeploymentDirectories(IRunContext runContext) in /_/src/Adapter/MSTestAdapter.PlatformServices/Utilities/DeploymentUtilityBase.cs:line 73
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.TestDeployment.Deploy(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle) in /_/src/Adapter/MSTestAdapter.PlatformServices/Services/TestDeployment.cs:line 147
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestExecutionManager.RunTests(IEnumerable`1 sources, IRunContext runContext, IFrameworkHandle frameworkHandle, TestRunCancellationToken cancellationToken) in /_/src/Adapter/MSTest.TestAdapter/Execution/TestExecutionManager.cs:line 126
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.MSTestExecutor.RunTests(IEnumerable`1 sources, IRunContext runContext, IFrameworkHandle frameworkHandle) in /_/src/Adapter/MSTest.TestAdapter/MSTestExecutor.cs:line 107
   at Microsoft.VisualStudio.TestPlatform.Common.ExtensionDecorators.SerialTestRunDecorator.RunTests(IEnumerable`1 sources, IRunContext runContext, IFrameworkHandle frameworkHandle) in /_/src/Microsoft.TestPlatform.Common/ExtensionDecorators/SerialTestRunDecorator.cs:line 57
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Execution.RunTestsWithSources.InvokeExecutor(LazyExtension`2 executor, Tuple`2 executorUriExtensionTuple, RunContext runContext, IFrameworkHandle frameworkHandle) in /_/src/Microsoft.TestPlatform.CrossPlatEngine/Execution/RunTestsWithSources.cs:line 115
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Execution.BaseRunTests.RunTestInternalWithExecutors(IEnumerable`1 executorUriExtensionMap, Int64 totalTests) in /_/src/Microsoft.TestPlatform.CrossPlatEngine/Execution/BaseRunTests.cs:line 466.

really is different to me. It's not complaining about accessing something that doesn't exist or is in use.

This error message itself not, but the fact, that this very same directory is deleted by another testhost at the same time, which is, what the other log snippet tells
TpTrace Verbose: 0 : 38124, 12, 2024/01/31, 15:52:18.559,<PHONE_NUMBER>689, testhost.dll, TcpClientExtensions.MessageLoopAsync: Polling on remoteEndPoint: [::ffff:<IP_ADDRESS>]:55792 localEndPoint: [::ffff:<IP_ADDRESS>]:55850 TpTrace Information: 0 : 38124, 4, 2024/01/31, 15:52:18.734,<PHONE_NUMBER>978, testhost.dll, Deleting deployment directory F:\agent\_work\1\s\TestResults\Deploy_user 20240131T155218[1] TpTrace Information: 0 : 38124, 4, 2024/01/31, 15:52:18.736,<PHONE_NUMBER>338, testhost.dll, Deleted deployment directory F:\agent\_work\1\s\TestResults\Deploy_user 20240131T155218[1] TpTrace Verbose: 0 : 38124, 4, 2024/01/31, 15:52:18.736,<PHONE_NUMBER>584, testhost.dll, BaseRunTests.RunTestInternalWithExecutors: Completed running tests for executor://MSTestAdapter/v2

Its the combination of both logs that show a race condition between the hosts

Oh right indeed. So that's a bug on VSTest side, right?

The check for an existing directory and the possibly addition of [1] isn't safe enough.
To avoid race conditions more reliably, the line should be
string dateTimeSuffix = DateTime.Now.ToString("yyyyMMddTHHmmssfff", DateTimeFormatInfo.InvariantInfo);

which adds the microseconds as part of the directory name.

This is a possibility, but on .NET Framework both DateTime.Now and DateTime.UtcNow don't use high precision system clock api, and so their precision is about 15ms, so you are likely to hit the same issue, but maybe less frequently.  So if the change should be made it should be:
DateTime.UtcNow.ToLocalTime().ToString("yyyyMMddTHHmmssfffffff")

Oh right indeed. So that's a bug on VSTest side, right?

Imho no, I think it is a bug in mstest deployment, vstest does not know that you will try to deploy to the same folder.
Looks to me that the check for existing folder in deployer is good, but might not be as random as the author of that code thought when the check is happening at the same time from two testhosts.
https://github.com/microsoft/testfx/issues/2219#issuecomment-1936406786
Maybe a combination of the more precise timestamp, or the per-second precision + short random ID (https://github.com/microsoft/vstest/blob/main/test/Microsoft.TestPlatform.TestUtilities/RandomId.cs)  might be better.

re-iterating what was said above: race condition is between checking if the folder exists, and it's creation. Where all testhosts start at the same time, and end up deploying to the same folder:
testfx/src/Adapter/MSTestAdapter.PlatformServices/Utilities/FileUtility.cs at main · microsoft/testfx (github.com) in code the race is here between the exists  and creating the name.
and 68, where we create.  testfx/src/Adapter/MSTestAdapter.PlatformServices/Utilities/DeploymentUtilityBase.cs at main · microsoft/testfx (github.com)

Maybe a combination of the more precise timestamp, or the per-second precision + short random ID (https://github.com/microsoft/vstest/blob/main/test/Microsoft.TestPlatform.TestUtilities/RandomId.cs) might be better.

When using the per-second precision plus a short random ID, then the logic for appending [] could also be dropped.

I think we can append the current PID and we will have unique path, PID till process is alive is unique and MSTest self create/destroy it.


[FEAT]: Remove Pandas dependency

Description
Since pandas is widely used and often has other dependency restrictions, e.g. on Google Colab, we would encounter
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.
cudf-cu12 24.4.1 requires pandas<2.2.2dev0,>=2.0, but you have pandas 2.2.2 which is incompatible.
google-colab 1.0.0 requires pandas==2.0.3, but you have pandas 2.2.2 which is incompatible.

which doesn't prevent us from install sotopia==0.0.7, but it is still annoying. The only use of pandas in our package is converting a dict of list into a csv file, which could be done with various other, even standard libraries.
Related to the plan mentioned in #80.
Additional Information
No response

I agree


Demo URL not working

This is not a real issue.
Just to tell you that the demo URL http://alexcarpenter.me/material-jekyll-theme/ is not working, but http://alexcarpenter.github.io/material-jekyll-theme/ is.

Thanks @herodrigues!


ARC hangs indefinitely on a 204 reponse

Your description here
Expected outcome
It should return from the call and indicate the status was 204 "no content"
Actual outcome
The "activity" bar by the send button "spins" indefinitely
Versions
App: <IP_ADDRESS>-stable
Chrome: 49.0.2623.112
Platform: Linux (-)
Steps to reproduce

set URL to a web resource/endpoint that returns a 204 response
get method to "GET"
hit SEND

This is fixed in develop branch and soon will be released in beta channel.
It is related to issues #6.


[SQLITE_ERROR] SQL error or missing database (table "Frames" has more than one primary key)

Description
When adding a foreign key to a table the following code is generated that has both the PRIMARY KEY on the ID keyword and the a constraint for the same ID
SELECT *
FROM Frames;

DROP TABLE Frames;

CREATE TABLE Frames (
	ID INTEGER PRIMARY KEY AUTOINCREMENT,
	Designation TEXT,
	Description TEXT,
	Corners INTEGER,
	FrameType_ID INTEGER,
	CONSTRAINT FRAMES_PK PRIMARY KEY (ID),
	CONSTRAINT Frames_FK FOREIGN KEY (FrameType_ID) REFERENCES FrameTypes(ID)
);

INSERT INTO Frames
SELECT *
FROM temp;

DROP TABLE temp;```

**Error log**

```!ENTRY org.jkiss.dbeaver.model 4 0 2023-10-25 16:00:43.796
!MESSAGE [SQLITE_ERROR] SQL error or missing database (table "Frames" has more than one primary key)
!STACK 0
org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (table "Frames" has more than one primary key)
	at org.sqlite.core.DB.newSQLException(DB.java:1179)
	at org.sqlite.core.DB.newSQLException(DB.java:1190)
	at org.sqlite.core.DB.throwex(DB.java:1150)
	at org.sqlite.core.NativeDB.prepare_utf8(Native Method)
	at org.sqlite.core.NativeDB.prepare(NativeDB.java:132)
	at org.sqlite.core.DB.prepare(DB.java:264)
	at org.sqlite.jdbc3.JDBC3Statement.lambda$execute$0(JDBC3Statement.java:53)
	at org.sqlite.jdbc3.JDBC3Statement.withConnectionTimeout(JDBC3Statement.java:459)
	at org.sqlite.jdbc3.JDBC3Statement.execute(JDBC3Statement.java:42)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:330)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:131)
	at org.jkiss.dbeaver.model.exec.DBExecUtils.executePersistAction(DBExecUtils.java:358)
	at org.jkiss.dbeaver.model.impl.edit.AbstractObjectManager.executePersistAction(AbstractObjectManager.java:40)
	at org.jkiss.dbeaver.model.impl.edit.AbstractCommandContext.executeCommands(AbstractCommandContext.java:206)
	at org.jkiss.dbeaver.model.impl.edit.AbstractCommandContext.saveChanges(AbstractCommandContext.java:122)
	at org.jkiss.dbeaver.ui.editors.entity.EntityEditor.lambda$1(EntityEditor.java:384)
	at org.jkiss.dbeaver.model.exec.DBExecUtils.tryExecuteRecover(DBExecUtils.java:190)
	at org.jkiss.dbeaver.ui.editors.entity.EntityEditor.saveCommandContext(EntityEditor.java:382)
	at org.jkiss.dbeaver.ui.editors.entity.EntityEditor$SaveJob.run(EntityEditor.java:1253)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)```

### DBeaver Version

Community Edition 23.2.3

### Operating System

Windows 10

### Database and driver

Database:
SQLite

Driver:
sqlite-jdbc-<IP_ADDRESS>
slf4j-api-1.7.36

### Steps to reproduce

1. Create a reference table (FrameTypes)
`CREATE TABLE FrameTypes (
	ID INTEGER PRIMARY KEY AUTOINCREMENT,
	Designation TEXT(50),
	Description TEXT(250),
	Ordinal INTEGER,
	IsValid INTEGER DEFAULT (1)
);`
2. Add an ID (int) as the primary key
3. Create another table (Frames)
4. Add an ID (int) as the primary key
5. Add another column to be used as the foreign key of type int
`CREATE TABLE Frames (
	ID INTEGER PRIMARY KEY AUTOINCREMENT
, Designation TEXT(100), Description TEXT(250), Corners INTEGER, FrameType_ID INTEGER);`
7. Save the changes
8. Create a foreign key using the two ID's
9. Save the changes again
10. The error occurs.

### Additional context

_No response_

Hello @jojje888
I see - the generated query contains an extra PRIMARY KEY definition.

Thanks for the bug report.

Hi @LonwoLonwo
No problem.

The bug is still there. Imposible create Autoincrement Primary Key  for sqlite.  Only with sql code.
For example simple sql code, which cannot be repeated through the interface
 CREATE TABLE COMPANY(
   id  INTEGER PRIMARY KEY AUTOINCREMENT,
   name TEXT      NOT NULL,
   age     INT       NOT NULL
);

Did you try :
id INT AUTO_INCREMENT PRIMARY KEY

It still exists when creating foreign keys when using SQLite with dbeaver 23.2.0. Exactly the same error with op.

Still present in 24.1.1, is a fix on the roadmap?

Still present in <IP_ADDRESS>407071610.

Still present.

bug still present in  <IP_ADDRESS>410061621. How to fix it?

it still there, pls fix

2 more days 'til the 1st anniversary since it was first reported.
This bug is so annoying that it makes DBeaver almost useless for constructing SQLite databases,
Devs, please show us that you at least recognize it and that you care.


Avoid errors if horizontal-stack is placed inside vertical-stack-in-card

Title says it all, really. Putting a horizontal-stack inside vertical-stack-in-card gives an error, because horizontal-stack doesn't contain an ha-card tag it it's root. This fixes that.
Still doesn't look very good, but at least it doesn't fill the log with errors...

@ofekashery

I'm not sure this card should be used with other stacks. The stacks themselves serve a similar purpose.
Do you have a screenshot of how your setup looks?
Maybe we should do some extra checking even on the type of cards assigned.

closing this as I've moved vertical-stack-in-card here: https://github.com/custom-cards/vertical-stack-in-card


vimPlugins.tremor-vim: init at 2020-11-19

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 115258 at 7264b0bf run on x86_64-linux 1

2 packages built:

spacevim
vimPlugins.tremor-vim


ModuleNotFoundError: No module named 'keras.engine' with TF2.13.0-rc0

System information.

Have I written custom code (as opposed to using a stock example script provided in Keras): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 22.04.2 LTS
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 2.13.0rc0
Python version: Python 3.10.6
Bazel version (if compiling from source):bazel-6.2.0-linux-arm64
GPU model and memory: No, I am on a AArch64 CPU
Exact command to reproduce:     from keras.engine import data_adapter

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
This script does not work on Arm systems.
You can obtain the TensorFlow version with:
python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
v2.13.0-rc0-2-g1e17a41ea93 2.13.0-rc0
Describe the problem.
I can't use the module engine in keras.
Describe the current behavior.
>>> from keras.engine import data_adapter
2023-05-19 13:13:06.132781: I tensorflow/core/util/port.cc:116] Experimental oneDNN custom operations are on. If you experience issues, please turn them off by setting the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'keras.engine'

Do you want to contribute a PR? (yes/no): no

Standalone code to reproduce the issue.
from keras.engine import data_adapter

Hey,
I simply tried importing keras_cv and encountered this error No module named 'keras.engine' in kaggle notebook.
Things I tried:
-Updated tf to 2.15.0
-Updated keras_cv to latest version
Attached is the full screenshot of error.

@AashiDutt That's a old keras_cv issue. Ensure you have keras_cv >= 0.7.1, preferably 0.7.2. The code you show is from before 0.7.1 release.

@elfringham Yes, Updated Both Keras and TensorFlow versions. Currently using Keras 3.0.1 and Tensorflow 2.14.0. However, the error changed to ModuleNotFoundError: No module named 'keras.api'. (screenshot attached for reference)

I am trying to import the keras.engine in this
import random
import pprint
import sys
import time
import numpy as np
from optparse import OptionParser
import pickle
import math
import cv2
import copy
from matplotlib import pyplot as plt
import tensorflow as tf
import pandas as pd
import os
from sklearn.metrics import average_precision_score
from tensorflow import keras
from keras import layers;
from keras import metrics
from keras import backend as K
from keras.optimizers import Adam, SGD, RMSprop
from keras.layers import Flatten, Dense, Input, Conv2D, MaxPooling2D, Dropout
from keras.layers import GlobalAveragePooling2D, GlobalMaxPooling2D, TimeDistributed
from tensorflow.python.keras.engine import data_adapter
from keras.engine.topology import get_source_inputs
from keras.utils import layer_utils
from keras.utils.data_utils import get_file
from keras.objectives import categorical_crossentropy
from keras.models import Model
from keras.utils import generic_utils
from keras.engine import Layer, InputSpec
from keras import initializers, regularizers
But I am getting
ModuleNotFoundError                       Traceback (most recent call last)
 in <cell line: 26>()
24 from keras.layers import GlobalAveragePooling2D, GlobalMaxPooling2D, TimeDistributed
25 from tensorflow.python.keras.engine import data_adapter
---> 26 from keras.engine.topology import get_source_inputs
27 from keras.utils import layer_utils
28 from keras.utils.data_utils import get_file
ModuleNotFoundError: No module named 'keras.engine'

import os
import sys
import numpy as np
import cv2
import matplotlib.pyplot as plt
Add Mask R-CNN path if necessary
sys.path.append('/content/Mask_RCNN')
from tensorflow import keras
TensorFlow 2.x imports (adjust import statements as needed)
try:
from tensorflow.keras import backend as K
from tensorflow.keras import layers as KL
from tensorflow.keras import models as KM
except ImportError:
from keras import backend as K
from keras import layers as KL
from keras import models as KM
from mrcnn.config import Config
from mrcnn import utils
import mrcnn.model as modellib
from mrcnn import visualize
ModuleNotFoundError                       Traceback (most recent call last)
 in <cell line: 24>()
22 from mrcnn.config import Config
23 from mrcnn import utils
---> 24 import mrcnn.model as modellib
25 from mrcnn import visualize
/content/Mask_RCNN/mrcnn/model.py in
21 import keras.backend as K
22 import keras.layers as KL
---> 23 import keras.engine as KE
24 import keras.models as KM
25
ModuleNotFoundError: No module named 'keras.engine'
tf version : 2.16


Translate April 24 covid report into Portuguese

Hello @nextstrain/portuguese!
The situation report from 2020-04-24 is ready to be translated to Portuguese. The report focuses on Africa. Please chime in if you're able to review the translation. I would hate for @7glaucio to translate the report, but for it not to get published because nobody could review it. Also, if you have any suggestions for another Brazil Portuguese speaker who's got a background phylogenetics who could help review translations, that would be much appreciated!
Please translate the Twitter post below! It is a bummer when the translation is great, but people do not know that because I used Google translate for the Twitter post.
Branch to translate on: sit-rep_pt
File to translate: https://github.com/nextstrain/translations/blob/sit-rep_pt/narratives/translations_ncov_sit-rep_pt_2020-04-24.md You can translate directly in this file, but please remember to push often as other people may be working on the translation!
Link to preview: https://nextstrain.org/community/narratives/nextstrain/translations@sit-rep_pt/ncov/sit-rep/pt/2020-04-24
Twitter post to translate:
“We focus on Africa this week in our #COVID19 situation report. The report is now available in Portuguese. Thank you @, @, and @ for the rapid translation."
Logistics
Please update the translations board as you work on the translation: https://github.com/orgs/nextstrain/projects/7
Please assign yourself to the translation if you’re working on it this week.
When a translation is ready for publication -- at minimum meaning two people have worked on it and both agree that it’s ready -- please create a pull request to merge to master and tag me and the issue in it!
Discussion board for your team is here: https://github.com/orgs/nextstrain/teams/portuguese
Standard rules for translation:
Note that the file to translate is in Markdown. In general, it is important not to change any formatting or links. (Although it is okay to update Wikipedia or CDC links to the appropriate language version.) Comments to help with translation are noted in comment symbols like <! -- Comment -->.
Please add your name under translators: with new line, tab, and dash, formatted just like authors are. Please also add a link to your professional page (can use Twitter) under translatorLinks:.
Note: You may know of other great resources available in Portuguese; please don’t add them to the situation report. We need to keep content the same across all translations, so we can be confident in the accuracy of what we publish. Thanks for understanding.
At minimum, I require two sets of eyes on every translation; one of those people should have a background in phylogenetics. Although if you have more, that’s fine too.
Feel free to use a live, online editor like hackmd (sign in with GitHub) to translate together.
Thank you all so, so much! :)

I gonna wait until somebody shows up willing to review. Let me know, then I will translate it right away.

Working on finding some more people too. I'll let you know!

@7glaucio, please go ahead and I'll cover the review role this week.
I've reached out to some colleagues to check if they know someone with the expected expertise/availability willing to help in a regular basis. I'll let you know if I get any positive response.

@andersonbrito All set. It's good to go! The reports focused on continents have been quite short lately. I think you won't have any problem proofreading it quickly.

Hey,
The final version is now committed. Thank you for the hard work, @7glaucio.
I managed to contact colleagues from two research groups in Brazil. A colleague from Brasília (Miguel) is willing to help on the next version, and is ready to get on board ASAP. I'm just waiting for his GitHub handle.
I guess if we get one or two more people on board, we can work in shifts, translating or reviewing the narratives according to our availability in that specific week.
If the report 2020-04-17 is already translated, only pending revision, we could ask a new member to have a go, and familiarize with the translation system/process.
Let me know your thoughts.

Thanks @andersonbrito; I think that sounds like a good suggestion forward. Let me know when you have his GitHub, and I'll add him to the team.
Thanks for the translation both of you @7glaucio & @andersonbrito. The report is now published and tweeted: https://nextstrain.org/narratives/ncov/sit-rep/pt/2020-04-24


Add GObject Introspection support for the C API

Add GObject Introspection support for the C API.
That way CapyPDF would be available for more languages.

Eventually yes. I have not done it yet since I don't have much experience in writing GIR and because the API is still unstable and will probably change. The more APIs we support, the more work that is.
If someone wants to submit this functionality, then patches welcome I guess.


[WIP] Regression test fail

Find root cause for regression test failing on 8.6 runners

I think this is now fixed. Feel free to reopen if I'm wrong.


StackoverflowError when usingRecursiveComparison for an Object with a nio path

Summary
I get a StackoverflowError when usingRecursiveComparison for an Object which contains a nio path.
Example
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Test;

import java.nio.file.Path;
import java.nio.file.Paths;

public class AssertJBugReport {

    @Test
    public void pathThrowsStackoverflowError() {
        final Container container1 = new Container("/tmp/example");
        final Container container2 = new Container("/tmp/example");

        Assertions.assertThat(container1)
                .usingRecursiveComparison()
                .isEqualTo(container2);
    }

    public static class Container {
        private Path path;

        public Container(String path) {
            this.path = Paths.get(path);
        }

        public Path getPath() {
            return path;
        }
    }

}

I'm interested in this bug, and I'm looking into it.

I found the bahavior here is unexpected. dualValuesToCompare dose not remove visitedDualValues, which causes the infinite recursion. I think even though they are same objects, but refer to different addresses.

@darkliang thanks for the investigation!
I'm going to take care of this one as I'm fixing https://github.com/joel-costigliola/assertj-core/issues/1854 which impacts the same code and might actually fix this one too.

@rdehuyss the issue here is that Path is an Iterable and the recursive comparison treats them as so instead of comparing them with Path equals method.
Recursively comparing Iterable is done by comparing elements recursively, it turns out that the first element is the /tmp path - also an iterable - whose first element is ... itself. boom.
the solution is to avoid treating Path as an Iterable.

Hi @joel-costigliola and @darkliang  - thanks for your swift feedback.
You say:

the solution is to avoid treating Path as an Iterable.

I assume this is within AssertJ ?

Yes, in AssertJ recursive comparison.
In the meantime, you can register a specific comparator for Path as they take precedence in the recursive comparison, or you can wait for 3.16.0 which I hope to release in a week ;-)

So, do we need to treat Path as an uniterable field by default? @joel-costigliola

Yes but just for the recursive comparison.

Abouth Path as iterable, we used a similar approach in containsOnlyKeys: https://github.com/joel-costigliola/assertj-core/blob/1b638aa55aa7bc0e9c807d9c67f4f3d6742ef630/src/main/java/org/assertj/core/api/AbstractMapAssert.java#L1152-L1161

This issue is still present in 3.19.0?

@Brummolix this should have been fixed with c5de8911ec51415fb7d20f53f5c99ee6a7fde150. Are you still facing the same issue with 3.19.0?

In 3.19.0 this test (running on Windows 10) never comes to an end:
import static org.assertj.core.api.Assertions.assertThat;

import java.nio.file.Path;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;

public class PathTest {
	private static class Bean {
		Path path;
	}

	@Test
	void test(@TempDir final Path tempDir){
		Bean bean = new Bean();
		bean.path = tempDir.resolve("file.txt");
		Bean bean2 = new Bean();
		bean2.path = tempDir.resolve("file.txt");;

		assertThat(bean)
				.usingRecursiveComparison()
				.isEqualTo(bean2);
	}
}

It works if I add
.withEqualsForType((path1, path2) -> path1.equals(path2), Path.class)

Reopening as the issue is still present on Windows only. Created https://github.com/assertj/assertj-core/tree/investigation/gh-1855 for investigation.


Adding rblcoder as maintainer and codeowner

Description
Rupa was chosen to join as a maintainer after reviewing her work for the terraform provider. :clap:
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Welcome to the OpenSearch project @rblcoder !

Thank you @prudhvigodithi @bbarani !


Support yaml input spec in datum mounting

Currently, the input spec can only be JSON. Add support for YAML since PPS pipeline specs can be in YAML and it's more readable than JSON. After mounting datums, automatically format input specs to be YAML.
Jira: https://pachyderm.atlassian.net/browse/INT-696

Are we only allowing Yaml as input or is JSON also allowed?

Are we only allowing Yaml as input or is JSON also allowed?

Both are allowed.

Added!


Wifi Error while flashing Nous A1 Smart Socket

Hello,
I tried to flash my Nous A1 Socket (BK7231N-Chipset) with Raspberry Pi 3. I used the specific instructions for Raspberry Pi 3 but I always get this error: "Error: Connection activation failed: 802.1X supplicant took too long to authenticate" I also tried the "-r" flag without success.
The Scripts detects my Plug in AP-Mode then tries to connect to it but fails with the above message. Any Idea what this could be? I try reflashing and start over with blank system again but it's weird. Maybe someone has an Idea.
Also which Template should I use for the Nous A1?
Regards

Nous A1 has not been seen here yet.  You would at minimum either need to post the Tuya firmware version installed (can be found if joined to Smart Life or via a serial boot log), or a firmware dump of the device.  LightLeak does not work on BK7231N devices yet.

So the Module has Mainmodule Version V1.1.12 and Other Type Version 1.0.0. I guess I have to flash the Module via Serial. Also there is already an Thread about the Device here: https://www.elektroda.com/rtvforum/topic3901733.html

There is not currently a compatible profile for that device.

This post has been tagged as new-dump-needed and has had not response.  This issue is being closed as stale.  To re-open this issue, please provide a new dump following the guildines in the device dumps section of the Readme.

I also have some NOUS A1 plugs with latest mainmodule version v1.1.12.
Please find the dump with SSID wlan and password 12345678 attached for profile generation.
NOUS_A1_1.1.12.bin.zip

@cosote Thanks, I have added this as Nous A1 Smart Plug, please let me know if it works or not.  I can't tell if this is using a patched SDK or not.  The compile date is after their known patch, so it's not outside the realm of possibility that this device is patched.

@cosote I have removed the profile.  Unfortunately, it appears this firmware has been patched and is not vulnerable to CloudCutter.  Serial flashing will be required for this device.

I'd suggest adding a new label for patched devices.

Ha, I was just doing that.

@Cossid Ok, cool, thx - I've flashed it via serial with latest version of OpenBK7231T_App and all is running fine.
But I also have 11 other Nous A1 plugs on original firmware (probably 1.0.0 or so), that haven't been updated yet to 1.1.12.
I will pull that firmware and upload it here in a couple Minutes 👍.

@Cossid Please find attached here the dump from stock/not updated Nous A1 plug. It looks to me it's version 1.1.8.
I was dissecting it, but could find a doc how to prepare a profile/schema or if I had it, how to use it with tuya-cloudcutter manually.
NOUS_A1_1.1.8.bin.zip

@cosote Thanks!  I have added a profile for 1.1.8, which is indeed still vulnerable.

It worked perfectly - thx a lot & have a happy new year :-D


Publish "3Box is featured in the Coinbase Wallet DappStore"

@michaelsena Out of curiosity, what was the process to do so, and overall how much time it took?


WIP: Paas migration

TP-??? Your PR title here

Why

What

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

Project coverage is 93.18%. Comparing base (76b3df5) to head (8c52611).
Report is 12 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1270      +/-   ##
==========================================
+ Coverage   93.11%   93.18%   +0.07%
==========================================
  Files         620      639      +19
  Lines       47329    47811     +482
  Branches     3343     5135    +1792
==========================================
+ Hits        44070    44555     +485
+ Misses       2619     2614       -5
- Partials      640      642       +2

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


TLS

This seems to be fairly easy. Curio already has wrappers around ssl module in standard library. SSLContext (and, in case of HTTP/2 client, server hostname, ALPN protocol list) needs to be passed down to curio.open_connection and curio.tcp_server/curio.run_server.

Easy peazy.


New version: MUMPS v1.0.1

Registering package: MUMPS
Repository: https://github.com/JuliaSmoothOptimizers/MUMPS.jl
Created by: @dpo
Version: v1.0.1
Commit: a8eac2b1e2dc98d8555be13033746d414090f0f0
Reviewed by: @dpo
Reference: https://github.com/JuliaSmoothOptimizers/MUMPS.jl/commit/a8eac2b1e2dc98d8555be13033746d414090f0f0#commitcomment-62665305
Description: A Julia Interface to MUMPS

This can be closed.


Add autora-theorist-toolkit as an optional dependency of autora

Description
Initial PR to pull the toolkit into AutoRA as a pre-release
Type of change

feat: New AutoRA subpackage
refactor: Reimplemented BMS included
docs: Toolkit documentation stand-in

Features (Optional)

AutoRA subpackage; stand-in documentation; theorist toolkit for implementing symbolic regression theorists; bms implementation

Remarks (Optional)

Expect there may be a fair amount of outstanding work needed before it meets AutoRA standards for documentation and tests.

Hi Joshua! I see what you've done – created a package with common utilities for dealing with general computation trees, and applied that to the SR, BSR and BMS approaches. I like it!
Before we merge it, I think you'll need to think about how best to use it. The current approach for AutoRA is that each model has its own repository, and BMS/BSR follow that. What you could do is make the current theorist-toolkit with the models into a more specific computation-tree-library without the models, and then import that as a dependency in each of the BSR/BMS packages. That would mean that you wouldn't break any existing functionality, and people who were using BMS/BSR get the benefit of the updated backend.
But before you make a package like that which serves as the foundation of other packages, you'll need a couple of other bits. Things like:

Check whether there's already another package we could use to get the same functionality.  If you're able to use a symbolic package like sympy to do the same thing or to get a long way there, that might reduce your maintenance load and give you additional functionality for free, and allow us to close some existing issues (https://github.com/AutoResearch/autora/issues/301).
Present it and discuss it: bring it to the group, get feedback on how it works and looks and get some reviewers who know BSR and BMS who can help you with PRs on the package itself.
Test it extensively: make sure each class and function in the package does what it's supposed to do in the normal case, in edge cases, and in outside cases (when it fails, how should it fail?)
Decide what its "thing" is: Is it just relevant to theorists or is it more general? (I think it's more general.)
Think about the structure: Do you want people to just import all of the functions and classes from a single place, like from autora.utils.computation_tree import Tree, replace_node, Temperature or from subpackages?


Unknown column 'prefix' in 'field list'

Hey Guys.
PermissionsEx has worked but we must clear the MySql tables and reload the Permissions.yml new. Now - after the reupload of the yml in a cleared Database, PermissionsEX says : [PermissionsEx] Error occurred with PermissionsEx! Please post it to http://git.io/You are being redirected.. Full error:
ru.tehkode.permissions.exceptions.PermissionBackendException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'prefix' in 'field list'
We got a actualy MySql version. we have set the Schema-Version in the permission.yml to 1. See please here : schema-version: 1 and we have no double data of this in our database. PermissionsEx worked fine bevor we have cleared the Tables and reuploaded the Permissions yml.
Here the whole Error:  http://pastebin.com/SEzb60H7
Thx

This error comes up when you have 2 schema-version entries in your database.  Keep the entry which is 'schema-version: 1' and delete the other.

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.


[BUG] Backup has error status even though it is in progress

Harvester 1.0.0
Describe the bug

Create a VM and create a backup
Notice how backup has a status of "Progressing"
Navigate to Backup -> Yaml and inspect the status error field

Expected
When backup is in progress and no errors occur, then no errors should be recorded in the status of the YAML resource.
Actual
During the entire "Progressing" phase of a successful backup operation an error is recorded in the status field conveying to the user that there is a problem where there isn't any.

Hi, @janeczku  I wasn't able to reproduce the problem, is there a step to reproduce it?


Using slot content with v-if and same DOM elements lead to patching error

Vue version
3.3.4
Link to minimal reproduction
https://stackblitz.com/edit/vue-mbuqlf?file=src%2FApp.vue
Steps to reproduce

Create a child element with the following template:

<template>

    <slot name="example">

Before

    </slot>

</template>

Create a parent component with the following code:

<template>

    <HelloWorld>
      <template #example>

          After {{ foobar }}

      </template>
    </HelloWorld>
    {{ loaded }}

</template>

What is expected?
After 3 seconds the slot content gets replaced with After 123.
What is actually happening?
A error gets thrown and the default slot content gets rendered:

System Info
No response
Any additional comments?
No response

If anyone else have this issue and need a hack to solve this problem you can use

 inside the slot. Then it works again.

This is similar to #7256, let me think about how to solve it
https://deploy-preview-7266--vue-sfc-playground.netlify.app/#eNp9U01v2zAM/SuaLm2BNj70FrjZR9AB22Erth11UWzaUSNLgiSnAQz991FU7ATDNl9s8j0+kdTzxD86tzqOwNe8Do1XLrIAcXQbYdTgrI9sYh46lljn7cBukHqzQFtrolQG/BlcVVs7kBxyhGmsCSi3t2/sKYvcdlIHuBOmrspReAgGEQanZQSMGKt3Y4zWsA+NVs3hSfBz+bv8Fpw4jEXb9xrYA5umop8SFVeluigt3VEoYt2qIzs+qO6suqghNzhpNtOU0ylhezksYF1hWRHE6S6KdbX0ze95DDhsp/rVa7AGdznRkbzBdSgN/ruLCpch+JoRkjGptX37SrnoR7if880emsNf8q/hlHOCv3gI4I8g+IJF6XuIBX7++Q1O+L2Ag21Hjez/gD8gWD3mHgvt02habPuKR91+oWtXpv8Vnk8RTJiHyo1mZiK+4OiA7IR/jX5p93H1SHXCJNzi7J4rM2pperyviAKzMT1WtNDhPbx460I9UYaREbZ7pVsP5v2a7azVIA2BaXN7lz8uxsOAEhfzkUgdtC3on46hEdEx5Sx8PuNKdrI50F8AJs7I2TBFrlr0rv2SfgPDByl7

similar to #9200


TempFix: forget the most inefficient move

is only a temporary fix for get in team only pokemon with damage move
tested and work:
[11:37:36] Mankey has grown to level 28.
[11:37:36] You found 28 Pokedollar(s).
[11:37:36] You have won the battle.
[11:37:38] [Learning Move: Rage --> Forget Move: leer]

Quite interesting, one question tho, what does TP stand for? whats does it mean?

TP is TotalPower, or better TotalDamage
Example Tackle TP = ((35 x 50) / 1) = 1750
35 = Move Max PP
50 = Move Power
1 = Accuracy% / 100  (100

Ah, I get it now, it returns the approximated total amount of damage performed by a move.
Interesting parameter, thank you so much for the quick replay ;)

The formula isn't considering moves like "Aerial Ace" which returns an accuracy of -1, but it has an "always hit" property regardless of accuracy reduction from the user or opponent's evasion.

is only a temporary fix, till TeamManager Class
u can add manually the MoveName near
if MoveName == nil or MoveName == "cut" or MoveName == "surf" or MoveName == "flash" or MoveName == "Aerial Ace" then

I think the formula is calculating TP the wrong way, it gets higher with lower accuracy values.
It should be ((Power x MaxPP)*(Accuracy/100))

Edited, was this the original idea