Add experiment with block folding / collapsing / expanding

Is your feature request related to a problem? Please describe.
Collapsible event blocks would be nice for experienced users, but likely could be confusing to newer developers who click the wrong thing and hide all the code in their event by accident.
Describe the solution you'd like
It would be nice to have the option to collapse blocks as an experiment.
(it looks like experiments also need to be turned on for arcade in pxtarget)

Arcade blocks tends to be huge and programs are more complex so collapsing would make sense here.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Joey Wunderlich<EMAIL_ADDRESS>Sent: Tuesday, October 9, 2018 1:40 PM
To: Microsoft/pxt-arcade
Cc: Subscribed
Subject: [Microsoft/pxt-arcade] Add experiment with block folding / collapsing / expanding (#302)
Is your feature request related to a problem? Please describe.
Collapsible event blocks (and equivalent) would be nice for experienced users, but likely could be confusing to newer developers who click the wrong thing and hide all the code in their event by accident.
Describe the solution you'd like
It would be nice to have the option to collapse blocks as an experiment.
(it looks like experiments also need to be turned on for arcade in pxtarget)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt-arcade%2Fissues%2F302&data=02|01|jhalleux%40microsoft.com|40ebff5b39b94fa764a408d62e27835d|72f988bf86f141af91ab2d7cd011db47|1|0|636747144577738031&sdata=xhYBRfDqVG5KACIM5NCt89AbnKTI%2BLwDKwHk1wwfku4%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KTeYUx-cuDTQ9t0ob4eDVQOCutyCks5ujQnXgaJpZM4XUFz6&data=02|01|jhalleux%40microsoft.com|40ebff5b39b94fa764a408d62e27835d|72f988bf86f141af91ab2d7cd011db47|1|0|636747144577738031&sdata=h2IRlO7nNi498HFFyDcpUrL8XdzrqoV2%2B6kKu9LLz6s%3D&reserved=0.

@shakao This one may be good one to take a look.

Basically enable the feature of block folding by blockly.  (Probably make it a target flag)

fixed (new collapse rendering)


Add Inspiring/Related projects page to Explore section of the website

Add the following page to the website, to the bottom of the Explore section of the nav, using the name "Related Projects"
https://imerss.github.io/xetthecum-storymap/files/inspiring_projects.html

@amb26 thanks for adding the page! Could you add the website nav to it?


Few suggestions

Access rights: How about praqma-all as admins?

master branch protection? Prevent force push and direct pushes without pre-integration?

Pipeline: I would recommend using Travis CI unless we need to build a very complex pipeline. Moreover, Travis CI is maintenance free and more accessible for contributors coming from outside of Praqma, i.e. in case of Jenkins people from outside need to know slaves setup, credentials details and so on which is very unpractical. Don't forget that our Jenkins instance is in a very bad shape

I would argue about Praqmatic workflow. Labeling is good, but I would avoid pushing changes without discussion. This approach works just fine within a team that has possibility to discuss things up front, have planning and pair programming. When we dealing with outside contributors then we don't really have that option. So one way is to use pull requests verified by Travis CI or Jenkins and then maintainer will bring them in when the time is right.

Readme should contain contribution instructions including planning process, how to build and test, how to submit new change

Releases to jitpack (at least for Java code, technically it is possible to setup Gradle to build anything as zip files and publish it to JitPack)

@Andrey9kin nice feedback.
It would be nice if some of your suggestions was turned into pull requests, as I can see that both you and @martinmosegaard are talking about the same things in two different issues.
I'll create a pull request to the Readme part.

Made pullrequest #3 for the README contributions


Helm3 upgrade command error

I've intalled  yugabyte db (https://docs.yugabyte.com/latest/deploy/kubernetes/single-zone/oss/helm-chart/) and  now I'm trying to execute next command
microk8s helm upgrade --set replicas.tserver=5 yb-demo ./yugabyte
but I got an error Error: path "./yugabyte" not found

I think it's not related to microk8s and it makes more sense to open an issue @ yugabyte: https://github.com/yugabyte/yugabyte-db/issues

Another thing to note, there are 2 helms in microk8s addons.

Helm 2:

microk8s enable helm
To use helm2
microk8s helm ....

Helm 3:

microk8s enable helm3
To use helm 3
microk8s helm3 ....

Another thing to note, there are 2 helms in microk8s addons.

Helm 2:

microk8s enable helm
To use helm2
microk8s helm ....

Helm 3:

microk8s enable helm3
To use helm 3
microk8s helm3 ....

helm 3 is enabled, helm 2 is disbaled
and microk8s helm uses helm 3 not 2
I'd not be able to intall yugabyte db with helm 2

Looking at the snapcraft there are 2 wrappers.
https://github.com/ubuntu/microk8s/blob/b8459008fa3f6d522bcaf9e7170a16c32e94061b/snap/snapcraft.yaml#L91-L95
So microk8s helm3 and microk8s helm are 2 different clients.  I usually use microk8s helm3

microk8s helm3 upgrade --set replicas.tserver=2 yb-demo ./yugabyte
Error: path "./yugabyte" not found
same result :(

yugabyte docs say that
The default values for the Helm chart are in the helm/yugabyte/values.yaml file.
but where microk8s version of helm stores that file?

Oh microk8s doesn't download the chart and keep it in its folders.  That's not how it works.  Helm as a client should refer to a location where the chart is.  It can be a local file system like you showed.  Or use http to point to where the charts are located.


Duplicated button's name/value pair in FormData on Safari (ONLY)

What version of Remix are you using?
1.6.8
Steps to Reproduce

Create a remix project
Have a Form component looking like =>

<Form method="post" replace>
  <input type="hidden" name="id" value="1" />

  <button type="submit" name="_action" value="delete">
    x
  </button>
</Form>

Open the url with the form in Safari
Click the button
FormData sent to action looks like :
id => 1
_action => delete
_action => delete

This does not occur on : Chrome / Firefox.
Expected Behavior
Form Data only contains the button name / value pair one time.
Actual Behavior
Form Data contains the button name / value pair two time (duplicate).

Probably caused by : https://github.com/remix-run/remix/blob/remix%401.6.8/packages/remix-react/components.tsx#L1162
Maybe on Safari the button key value pair is already in the form submission data ? Adding a little if to check if forms already contains the key / value pair might be a solid workaround ?

Pull request : https://github.com/remix-run/remix/commit/5894598c75d0e542651dc92bc400320c108eae8d

Maybe on Safari the button key value pair is already in the form submission data?

yeah exactly this, safari already includes the "submitter" in the FormData, in other browsers, we check the event.target.submitter and add it manually

however, i just pulled this up locally and i'm only getting a single "_action" value sent in Safari 16.

Have you test on your mobile with recent remix version : https://github.com/remix-run/remix/pull/4024#issuecomment-1222504413

sorry, spoke too soon, the request data only shows one, but logging formData.getAll('_action') returns two

also, didn't realize you opened a PR 😅, thanks! I'll check that out

This looks like it's a bug in Safari that's been fixed in Safari 16: https://bugs.webkit.org/show_bug.cgi?id=239070


Fix non-exponentialbackoff having 0 delay, make it 15s

Fixes https://github.com/kubernetes-incubator/external-storage/issues/890 so that even if exponentialBackOff is false we retry every ~15s and respect the threshold
W0730 21:07:41.215547       1 controller.go:688] retrying syncing claim "default/nfs-with-bad-class" because failures 5 < threshold 15
W0730 21:07:58.235704       1 controller.go:688] retrying syncing claim "default/nfs-with-bad-class" because failures 6 < threshold 15
W0730 21:08:15.259908       1 controller.go:688] retrying syncing claim "default/nfs-with-bad-class" because failures 7 < threshold 15

@cofyc fyi

i'll probably release 4.0.1 and rebuild every provisioner i built for 4.0.0 with this change

/lgtm


Created a redirect page for issue #3.

I've created the redirect page with a button that returns the user to their original location but I've failed to change "example.com" to the redirect page.
I've tried changing the link from main.js from "https://www.example.com" to "redirect.html" but it doesn't seem to work.

Thanks for contributing @llr3v0ll
The redirection in main.js is not working because the redirection is based upon declarativeBetRequest and a couple of changes are needed to be done in the manifest.json inorder to make it as a web accessible resource.
checkout the documentation for Web accessible resources.

@llr3v0ll  I have added the modifications required to the remaining files. Thanks for your contribution. ⭐
Feel free to work on the other issues that intersests you.


[SPARK-42294][SQL] Include column default values in DESCRIBE output for V2 tables

What changes were proposed in this pull request?
Include column default values in DESCRIBE output for V2 tables.
This was previously implemented for V1 tables, but missed V2 tables.
Why are the changes needed?
DESCRIBE commands make it easier to work with tables by inspecting their metadata.
Does this PR introduce any user-facing change?
Yes, it adds more information to DESCRIBE commands for tables with default column values.
How was this patch tested?
This PR adds unit test coverage.

Hi @gengliangwang it looks like I forgot to cover V2 tables when adding DESCRIBE support for column default values recently, this PR adds the coverage. Would you mind to help take a look? 🙏

@dtenedor There is V2 command ShowCreateTableExec as well. Do we need to update it?

@dtenedor There is V2 command ShowCreateTableExec as well. Do we need to update it?
@gengliangwang good question. I checked and it seems that also calls the toDDL method of StructField, so there is no need to change anything separately for V2 tables there:

  private def showTableDataColumns(table: Table, builder: StringBuilder): Unit = {
    val columns = CharVarcharUtils.getRawSchema(table.schema(), conf).fields.map(_.toDDL)
    builder ++= concatByMultiLines(columns)
  }

The CI appears to have passed, except for one pyspark test which was a flake and unrelated.

@dtenedor the scala 2.13 build failed: https://github.com/dtenedor/spark/actions/runs/4078836635/jobs/7029542763

@dtenedor the scala 2.13 build failed: https://github.com/dtenedor/spark/actions/runs/4078836635/jobs/7029542763

@gengliangwang sorry about that. I committed a fix.

Thanks, merging to master/3.4


AppRail not working on home page load

Current Behavior
Tapping the AppRail on initial page load doesn't scroll the drawer menu items.  Works after going to another page.
Steps To Reproduce
No response
Anything else?
No response

This has been resolved and the fix pushed to dev branch.


Remove token binding key from key store when removing access token with auth scheme

This PR:

Fixes a bug where unused keys where being left in IndexedDB when access tokens with auth scheme (pop) where renewed or when a user logged out and the cache was cleared
Extracts cache clearing logic from AuthorizationCodeClient.getLogoutUri so underlying credential removal can be made async
Adds unit tests that cover these changes

Coverage remained the same at 96.552% when pulling 074bc55de4b03b4b75f3327fc9393ce3729133d8 on pop-key-removal into df5dc77523c13b4afa8a280c2394612c61b9b584 on dev.

Codecov Report

Merging #3500 (dbbacb1) into dev (2f66302) will decrease coverage by 0.00%.
The diff coverage is 76.31%.

Flag
Coverage Δ

*Carryforward flag

msal-angular
95.81% <ø> (ø)

msal-browser
85.05% <62.50%> (ø)

Carriedforward from 2f66302

msal-common
85.13% <81.48%> (-0.03%)
:arrow_down:

msal-core
76.66% <ø> (ø)

Carriedforward from 2f66302

msal-node
83.55% <66.66%> (ø)

Carriedforward from 2f66302

msal-react
94.11% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

lib/msal-browser/src/cache/BrowserCacheManager.ts
93.88% <ø> (ø)

lib/msal-browser/src/error/BrowserAuthError.ts
88.00% <ø> (ø)

lib/msal-common/src/crypto/ICrypto.ts
50.00% <0.00%> (-7.15%)
:arrow_down:

lib/msal-browser/src/crypto/CryptoOps.ts
77.35% <25.00%> (ø)

lib/msal-node/src/crypto/CryptoProvider.ts
88.88% <66.66%> (ø)

lib/msal-common/src/cache/CacheManager.ts
77.90% <86.95%> (+0.49%)
:arrow_up:

...ib/msal-browser/src/app/PublicClientApplication.ts
90.38% <100.00%> (ø)

lib/msal-browser/src/cache/DatabaseStorage.ts
22.22% <100.00%> (ø)

lib/msal-common/src/config/ClientConfiguration.ts
100.00% <100.00%> (ø)

lib/msal-common/src/response/ResponseHandler.ts
69.92% <100.00%> (ø)

... and 4 more

Overall looks good. Two main questions are what should happens if there are errors (I would lean towards having things fail silently, as we don't want apps to get stuck in a state where they can't logout), and whether or not the changes in common are breaking changes (if so, we should make it a major bump for common).


remove references to goapp now that it's deprecated, use gcloud instead

Change-Id: I0f933f095176960ccc33876b06d53cd32841ad32

Fixes #23


coreaudio-sys 0.2.5 failed to build

Crate name:
coreaudio-sys 0.2.5
Build failure link:
https://docs.rs/crate/coreaudio-sys/0.2.5/builds/264503
Additional details:
The crate used to fail as expected when publishing previous versions, however with 0.2.5 I attempted to fix the Cargo.toml metadata to select the correct target for building coreaudio-sys docs for x86_64-apple-darwin. The crate seems to build successfully for the same target in our github action, but fails on docs.rs.
I've opened an issue at RustAudio/coreaudio-sys#40 with more details/thoughts. Any advice on how we might go about fixing the build would be greatly appreciated!

A big difference from your CI build is that docs.rs is always cross-compiling from linux, you are only able to control the target not the host. So there would need to be a way to get the required header files on the Ubuntu image used for the build.

Ahh I see!
It looks like we might benefit from solving RustAudio/coreaudio-sys#38 and updating our docs-check action to cross-compile from Ubuntu to match the docs.rs approach.
Thanks for the tip!

docs.rs is always cross-compiling from linux,

This would be good to document, a lot of our build failures have been coming from this.

@mitchmindtree are you still planning to work on this?

I have no plans related to this at the moment, though I believe it is still an issue for coreaudio-rs and coreaudio-sys. I do still have a WIP PR at coreaudio-sys which I'd be more than happy for someone to take over https://github.com/RustAudio/coreaudio-sys/pull/38. I don't mind if you wish to close this due to inactivity. I'll leave a note at the PR recommending someone take over.

@jyn514 one thing that might be useful is if you could link to the CI/script that docs.rs uses to cross-compile for macOS from Linux. This way we can check the coreaudio-sys CI matches, uses the same versions/SDK, etc.

@mitchmindtree you can replicate it by running docs.rs itself locally:  https://forge.rust-lang.org/docs-rs/add-dependencies.html#testing-the-image
There's also an unofficial script, but it's not tested: https://github.com/Nemo157/dotfiles/blob/master/bin/cargo-doc-like-docs.rs

Closing due to inactivity; feel free to reopen if you're still having trouble and have time to debug things.


Can you provide code for the heatmap

Great work, I wonder how heatmaps are made for concepts

I still have some questions to ask, the calculation decoupling code you provided(exp_disentanglability.ipynb), if I understand correctly, is the size of the overlap between the calculation heat maps, so this index should not be as small as possible? I don't understand why the metrics in the paper say bigger is better.


Enum type support for MongoDB

Problem

Enums are useful when you have a known number of possible inputs, like order statuses.
Our MongoDB driver doesn't currently support enums. This issue is to add them.
Suggested solution

Mongo doesn't natively support enums, but we could easily enforce them in the Query Engine.

Concrete example with code sample was posted in https://github.com/prisma/prisma/issues/6731 - was closed as duplicate of this one here 👍

Besides, raw query is useful.

This one is working! I think it's secretly tucked away in 2.23.0, but if not, you can access it using prisma@dev or waiting until 2.24.0 (tomorrow).
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

datasource db {
  provider = "mongodb"
  url      = env("DATABASE_URL")
}

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["mongodb"]
}

model User {
  id        Int    @id @map("_id")
  firstName String
  lastName  String
  status    Status @default(Active)
}

enum Status {
  Active
  Inactive
}

  const user = await prisma.user.create({
    data: {
      id: 3,
      firstName: "Bob",
      lastName: "Alice",
      status: "Active",
    },
  })
  console.dir(user, { depth: Infinity })

{
  id: 3,
  firstName: 'Bob',
  lastName: 'Alice',
  status: 'Active'
}


[Bug] SQL compilation error when running --empty flag on on model that utilizes dbt_utils.union_relations() macro

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When running the simple model below with the --empty flag I get the following error:
-- models/unioned_model_a.sql
with unioned as (
    {{ dbt_utils.union_relations(
        relations=[ref('source_y__model_a'), ref('source_z__model_a')]
    ) }}
)

select * from unioned

Database Error in model unioned_model_a (models/unioned_model_a.sql)
  001003 (42000): SQL compilation error:
  syntax error line 1 at position 15 unexpected '('.

Expected Behavior
The --empty model should be built successfully like what happens with an explicit union that does not leverage dbt_utils.union_relations()
-- models/unioned_model_a.sql
with unioned as (
    select *
    from {{ ref('source_y__model_a') }}
    union all
    select *
    from {{ ref('source_z__model_b') }}
)

select * from unioned

Steps To Reproduce

Setup a dbt project with Snowflake
Create the model described above that uses dbt_utils.union_relations()
Run dbt run --select unioned_model_a --empty

Relevant log output
23:22:18  Completed with 1 error and 0 warnings:
23:22:18
23:22:18    Database Error in model silver_truck_visits (models/unioned_model_a.sql)
  001003 (42000): SQL compilation error:
  syntax error line 1 at position 15 unexpected '('.
23:22:18
23:22:18  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1

Environment
- OS: macOS 14.7
- Python: 3.10.11
- dbt: dbt-core=1.8.6, dbt-snowflake=1.8.3

Which database adapter are you using with dbt?
snowflake
Additional Context
A very similar bug was brought up in #10673 and solved by tacking .render() onto the end of the relation reference in the pre-hook causing trouble.
If I try and translate that solution to the dbt_utils.union_relations() macro here I get a failure because the union_relations macro is expecting a relation:
-- models/unioned_model_a.sql
with unioned as (
    {{ dbt_utils.union_relations(
        relations=[ref('source_y__model_a').render(), ref('source_z__model_a').render()]
    ) }}
)

Compilation Error in model unioned_model_a (models/unioned_model_a.sql)
  Macro union_relations expected a Relation but received the value: my_db.my_schema.source_y__model_a

  > in macro _is_relation (macros/jinja_helpers/_is_relation.sql)
  > called by macro default__union_relations (macros/sql/union.sql)
  > called by macro union_relations (macros/sql/union.sql)
  > called by model unioned_model_a (models/unioned_model_a.sql)

Even if the above solution had worked, I would still feel like needing to tack on the .render() after every relation would be more of a workaround than a solution for this example.

Thanks for reporting this @datadisciple !
I was able to reproduce what you described using both dbt-snowflake and dbt-databricks. But it doesn't affect dbt-postgres, dbt-redshift, or dbt-bigquery. See "reprex" below for details.
Digging deeper
Looking at the logs in logs/dbt.log, here's the SQL that triggers the error on Snowflake:
describe table (select * from analytics_dev.dbt_dbeatty.my_model where false limit 0)

Here's the SQL that triggers the error on Databricks:
    describe table (select * from `hive_metastore`.`dbt_dbeatty`.`my_model` where false limit 0) _dbt_limit_subq_my_model

Looking at the source code for dbt_utils.union_relations more closely, it looks like this is the line that is ultimately triggering the error in dbt-snowflake and dbt-databricks when it reaches here and here, respectively.
It looks to me like this is solved in dbt-snowflake in https://github.com/dbt-labs/dbt-snowflake/pull/1100 (which hasn't been released yet), but would still need a similar code update in dbt-databricks here:
    describe table {{ relation.render()|lower }}

Workarounds in the meantime
The following overrides worked for me until these are released in dbt-snowflake and dbt-databricks:
macros/overrides/snowflake/get_columns_in_relation.sql
{% macro snowflake__get_columns_in_relation(relation) -%}
  {%- set sql -%}
    describe table {{ relation.render() }}
  {%- endset -%}
  {%- set result = run_query(sql) -%}

  {% set maximum = 10000 %}
  {% if (result | length) >= maximum %}
    {% set msg %}
      Too many columns in relation {{ relation.render() }}! dbt can only get
      information about relations with fewer than {{ maximum }} columns.
    {% endset %}
    {% do exceptions.raise_compiler_error(msg) %}
  {% endif %}

  {% set columns = [] %}
  {% for row in result %}
    {% do columns.append(api.Column.from_description(row['name'], row['type'])) %}
  {% endfor %}
  {% do return(columns) %}
{% endmacro %}

macros/overrides/databricks/get_columns_in_relation.sql
{% macro get_columns_comments(relation) -%}
  {% call statement('get_columns_comments', fetch_result=True) -%}
    describe table {{ relation.render()|lower }}
  {% endcall %}

  {% do return(load_result('get_columns_comments').table) %}
{% endmacro %}

Reprex
Create these files:
models/my_model.sql
select 1 as id

models/my_model_unioned.sql
with unioned as (
    {{ dbt_utils.union_relations(
        relations=[ref("my_model")]
    ) }}
)

select * from unioned

Run these commands:
dbt run -s +my_model_unioned --empty

Summary
Closing in favor of https://github.com/dbt-labs/dbt-snowflake/issues/1033.

super insightful, thanks @dbeatty10!


[TickTick] A toggle to add a reminder at the same time as the due date

Extension
https://www.raycast.com/appest/ticktick
Description
Hi,
Can you please add a toggle in the extension Settings, which would enable users to have reminders added at the same time as the due dates on the tasks? This is already an option which TickTick mobile and desktop apps have.
Over there, it's located under Task Default → Default Reminder.

Who will benefit from this feature?
All the users who rely on the reminders feature on the desktop or mobile apps.
Anything else?
No response

Nope, not stale yet. 💯

@viduycheung @Alireza29675 @Yakitrak 👋😊


⚠ Bofrost.es has degraded performance

In 923e2e6, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1511 ms

Resolved: Bofrost.es performance has improved in 73a0c4f.


chore(upgrade): upgrade packages

Codecov Report

Merging #328 (19a0ecb) into master (2e6affa) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #328   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           46        46
  Branches        14        14
=========================================
  Hits            46        46

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 2e6affa...19a0ecb. Read the comment docs.


Have Bibliography::parse return Result instead of Option?

Hi, I'm the author of this crate, which uses biblatex: https://github.com/ariroffe/bib-unifier
I was testing it with some real files, which some colleagues gave me, and Bibliography::parse was returning None and failing to parse some of them. I managed to track down the issue to the following entry, which those files contained:
@inproceedings{conigliocorbalan,
  author    = {Marcelo Coniglio and Mar{\'{\i}}a I. Corbal{\'{a}}n},
  title     = {Sequent Calculi for the classical fragment of {B}ochvar and {H}alld{\'{e}}n's {N}onsense {L}ogics},
  booktitle = {Proceedings Seventh Workshop on Logical and Semantic Frameworks, with Applications, {LSFA} 2012, Rio de Janeiro, Brazil, September 29-30, 2012.},
  pages     = {125--136},
  year      = {2012},
}

The problem is merely that there is an extra \ before the i in Mar{\'{\i}}a. When that backlash is removed, the files parse correctly.
The thing is, parse was failing completely, without any explanation as to why, so all I can tell the end user is that there was a problem parsing that file. I'm new to Rust, and maybe this too much to ask, but would it not be more appropriate if parse returned a Result instead of an Option? (or at least to have another method that does return a Result). The Err variant could then detail which part of the original file was the cause of the parsing failure. I believe this could help users of the library such as myself.

See #16

The error reporting in biblatex is crap right now.
A rewrite of the whole parser is definitely on the slate and one priority for me is to provide good diagnostics that point to the actual syntax error (i.e. unexpected ' after backslash on line 1).
Until that happens however, your PR definitely provides a good quick fix that works with the current infrastructure.


cargo-show-asm: unbreak on darwin

Description of changes
also adds me as a maintainer

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] 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

[x] 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/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 196861 run on aarch64-linux 1

1 package built:

cargo-show-asm

Result of nixpkgs-review pr 196861 run on aarch64-darwin 1

1 package built:

cargo-show-asm


Body Tracking v1.1.1 and 1.1.2 installer errantly deletes v1.1.0

The MSI installer for Body Tracking v1.1.1 and v1.1.2 both errantly deletes v1.1.0 with no notice, prompt, warning, or choice.
This is an impossible scenario for production-quality software development that needs to support a range of SDK, libraries, versions.
Please reference all Linux projects, or Windows projects like oneAPI, Visual Studio, WinSDK, CUDA.
BT must allow install of its headers,bins,libraries at any location desired by the dev and without deleting other libraries (like itself prior version).
Setup

Microsoft Windows [Version 10.0.19044.1706]
Body Tracking v1.1.0 already installed at C:\Program Files\Azure Kinect Body Tracking SDK

Repro

Double-click on Azure Kinect Body Tracking SDK 1.1.1.msi or Azure Kinect Body Tracking SDK 1.1.2.msi
Follow wizard until location inquiry
Type C:\Program Files\Azure Kinect Body Tracking SDK 1.1.1 or similar for 1.1.2
Continue wizard

Result
The installer deletes the existing 1.1.0 folder C:\Program Files\Azure Kinect Body Tracking SDK
Expected
The installer does nothing to C:\Program Files\Azure Kinect Body Tracking SDK folder

@diablodale
This issue appears in older versions too, one way to maintain older version is to rename after installation.
Also, we are not planning to fix this issue in the near future.

Is this fixed (completed)? If so, in what version is it fixed?
Or is this closed "wont-fix"? This is a distinct state and therefore has no completion or version.


Migration to .mocharc.js from mocha.opts

Because mocha.opts is deprecated in Mocha 7.
https://mochajs.org/#configuring-mocha-nodejs

Codecov Report

Merging #97 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #97   +/-   ##
=======================================
  Coverage   98.55%   98.55%
=======================================
  Files          15       15
  Lines         897      897
  Branches      188      188
=======================================
  Hits          884      884
  Misses         13       13

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 3bf2157...86a1248. Read the comment docs.


Feature.flex-message.with origin refactor

extracted message types into modules, as with Flex message.rs got very long.
added some tests for Flex message type
added some types to ChannelVoice, but did not make them return values of impl ChannelVoice, as I don't want to go against the grain of refactoring you proposed.
renamed DataStatus to DataFormat as the specification referts to it as Format
also extracted MixedDataSetHeader and MixedDataSetPayload to be in another enum which I named ExtendedDataFormat, as DataFormat is used in several places, while MixedDataSetHeader and MixedDataSetPayload are currently defined only for Data128.

I did not follow your proposed pattern in Flex implementation. I'm not sure I should.
(Sorry for too many commits – I'm still learning git)
Please edit to your heart's content.

Ok, made a new Pull Request. Didn't know how to do it in this one haha


"Târgu Trotuș", "Tuta", "Viișoara"  villages are listed in the drop-down menu

Description:
The villages are  listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Type "Târgu Trotuș" in the search bar.

Expected results
The location is listed in the drop-down menu as "Târgu Trotuș, Bacău"

Step 2
Type "Tuta" in the search bar.

Expected results
The location is listed in the drop-down menu as "Tuta, Bacău(Târgu Trotuș)"

Step 3
Type "Viișoara" in the search bar.

Expected results
The location is listed in the drop-down menu as "Viișoara, Bacău(Târgu Trotuș)"


Mitigate permission problem on Linux

The behavior of Docker on Linux and on macOS is different in regards of file permissions.
On Linux the recommended installation procedure is to run the docker daemon as root.
So when you run a container it runs as root by default.
On macOS docker runs in a virtualized environment, and the process which manages the virtualization does not run as root.
This is an article that explains the problem in detail:
https://jtreminio.com/blog/running-docker-containers-as-current-host-user/
The changes in this PR:

creates a sunodo:sunodo user/group in the toolchain image, with a UID:GID of 1000:1000
UID and GID are build args, but default to 1000:1000, which I believe is the most common values in a desktop Linux user
creates a home directory /home/sunodo and use that instead of /mnt
changes the permissions of the downloaded machine files to allow read from sunodo user

To test this on Linux:

build the a sunodo/toolchain:devel image, by cd packages/toolchain; docker buildx bake toolchain-level --load
in a project change:

-LABEL io.cartesi.rollups.sdk_version=0.14.0
+LABEL io.cartesi.rollups.sdk_version=devel

run sunodo build and check the file permissions of .sunodo/

This solution is not bullet proof, as it uses fixed values for uid:gid (1000:1000).
As far I could research toolchain users would have to build the toolchain image on their machine, specifying the values coming from id -u && id -g.
This is not convenient. But it may be possible.

We have a similar situation on image-toolchain. So I'll leave the solution used there as reference.
There we create a user/group matching the user UID/GID on the entrypoint.sh[1] so files will have the user as owner when extracted. The solution requires su-exec tool built here[3]. The Makefile takes care of the environment variables to the docker invocation[2].
[1] https://github.com/cartesi-corp/image-toolchain/blob/develop/entrypoint.sh
[2] https://github.com/cartesi-corp/image-toolchain/blob/develop/Makefile#L31
[3] https://github.com/cartesi-corp/image-toolchain/blob/develop/Dockerfile#L48

I knew we had solved that somewhere!
Thanks

Not solved yet:
❯ git log -1 --oneline
9c24e48 (HEAD -> feature/permission-problem, origin/feature/permission-problem) fixup! feat: mitigating permission problem on linux
❯ ../bin/run.js build
[+] Building 1.4s (19/19) FINISHED
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 68B                                                                                0.0s
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 1.32kB                                                                                0.0s
 => resolve image config for docker.io/docker/dockerfile:1.4                                                                                0.5s
 => CACHED docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc                                                                      0.0s
 => [internal] load metadata for docker.io/sunodo/machine-emulator-tools:0.10.0-ubuntu22.04                                                                                0.6s
 => [internal] load metadata for docker.io/library/node:19-bullseye                                                                                0.7s
 => [internal] load metadata for docker.io/cartesi/node:19-jammy-slim                                                                                0.6s
 => [build-stage 1/4] FROM docker.io/library/node:19-bullseye@sha256:b913dbec87493fb38077268785a48ab9b28c5454d0b03ca4dadc13929baf318e                                                                  0.0s
 => FROM docker.io/sunodo/machine-emulator-tools:0.10.0-ubuntu22.04@sha256:c16c7da750dba310ee770d7da398a2eb88fb3e157490bc6c17dceec54ec84978                                                            0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 238B                                                                                0.0s
 => [stage-1 1/5] FROM docker.io/cartesi/node:19-jammy-slim@sha256:826d9275e9f0e1a84314c69cd73267cf92b3b4550655e5173bd7bb64115e8e9a                                                                    0.0s
 => CACHED [stage-1 2/5] RUN <<EOF (apt-get update...)                                                                                0.0s
 => CACHED [stage-1 3/5] COPY --from=sunodo/machine-emulator-tools:0.10.0-ubuntu22.04 / /                                                                                0.0s
 => CACHED [stage-1 4/5] WORKDIR /opt/cartesi/dapp                                                                                0.0s
 => CACHED [build-stage 2/4] WORKDIR /opt/cartesi/dapp                                                                                0.0s
 => CACHED [build-stage 3/4] COPY . .                                                                                0.0s
 => CACHED [build-stage 4/4] RUN yarn install && yarn build                                                                                0.0s
 => CACHED [stage-1 5/5] COPY --from=build-stage /opt/cartesi/dapp/dist .                                                                                0.0s
 => exporting to image                                                                                0.0s
 => => exporting layers                                                                                0.0s
 => => writing image sha256:d15a7ac3489b35278fc6d49ab48a39a2153125f8ce2c165cfc089f547fe38111                                                                                0.0s
[
  '--env',
  'USER=endersonmaia',
  '--env',
  'GROUP=container-group-1000',
  '--env',
  'UID=1000',
  '--env',
  'GID=1000'
]
copying from tar archive /mnt/image.tar
 ›   Warning: ommiting environment variable NODE_VERSION=19.8.1
 ›   Warning: ommiting environment variable YARN_VERSION=1.22.19
cd /opt/cartesi/dapp;PATH=/opt/cartesi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ROLLUP_HTTP_SERVER_URL=http://<IP_ADDRESS>:5004 rollup-init node index.js
/bin/sh: 0: cannot open cd: No such file
[    0.099776] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[    0.099968] CPU: 0 PID: 1 Comm: sh Not tainted 5.15.63-ctsi-1 #1
[    0.100096] Hardware name: ucbbar,riscvemu-bare (DT)
[    0.100224] Call Trace:
[    0.100288] [<ffffffff80003436>] dump_backtrace+0x1c/0x24
[    0.100480] [<ffffffff802ad936>] show_stack+0x2c/0x38
[    0.100672] [<ffffffff802b0750>] dump_stack+0x24/0x2c
[    0.100800] [<ffffffff802ada24>] panic+0xe2/0x272
[    0.100992] [<ffffffff8000a29c>] do_exit+0x686/0x68c
[    0.101120] [<ffffffff8000a2f4>] do_group_exit+0x22/0x5e
[    0.101248] [<ffffffff8000a348>] __wake_up_parent+0x0/0x20
[    0.101440] [<ffffffff80001d02>] ret_from_syscall+0x0/0x2

Halted
Cycles: 25888200
25888200: e6040fd13c73a9001b856ead7c222a9a16316da3375f73a2b30ff890f478e72d
Storing machine: please wait
    Error: Command failed with exit code 2: docker container run --rm --env USER=endersonmaia --env GROUP=container-group-1000 --env UID=1000 --env GID=1000 --volume
    /home/endersonmaia/Development/sunodo/sunodo/apps/cli/my-js-dapp/.sunodo:/mnt sunodo/toolchain:0.14.0 cartesi-machine --assert-rolling-template --ram-length=128Mi --rollup
    --flash-drive=label:root,filename:/mnt/image.ext2 --final-hash --store=/mnt/image -- cd /opt/cartesi/dapp;PATH=/opt/cartesi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    ROLLUP_HTTP_SERVER_URL=http://<IP_ADDRESS>:5004 rollup-init node index.js
❯ ls -lha .sunodo
total 467M
drwxr-xr-x 3 endersonmaia endersonmaia 4.0K Apr 26 10:26 .
drwxrwxr-x 4 endersonmaia endersonmaia 4.0K Apr 26 10:26 ..
drwx------ 2 root         root         4.0K Apr 26 10:26 image
-rw-r--r-- 1 root         root         246M Apr 26 10:26 image.ext2
-rw------- 1 endersonmaia endersonmaia 223M Apr 26 10:26 image.tar

Squash so I can approve, or merge it and squash it before hitting the main branch.


Innity Adapter Documentation

Along with adapter PR.
https://github.com/prebid/Prebid.js/pull/1074
Thanks.

Thanks @engtat - sorry for the wait!


AUX output

Hi,
Thank you for sharing this.
I was looking at your schematics to design a board with in stock components from JLCPCB assembled
I can't find where the analog output is, as stated in the forum https://rusefi.com/forum/viewtopic.php?f=4&t=1856
In fact, the STM32F042K6T6 doesn't provide a DAC at all...? I see in auxout.cpp you are doing some PWM things, is it how you produce the analog signal?
The STM32G030K6T6 go for as little as $1.1150, is pin to pin compatible, faster, has more memory, DAC ... newer. Maybe a good candidate?

HI can't find where the analog output is, as stated in the forum https://rusefi.com/forum/viewtopic.php?f=4&t=1856

There are 131 posts in that https://rusefi.com/forum/viewtopic.php?f=4&t=1856 thread please be more specific?
Original hardware design does not have AUX output on purpose, it's only the F103 alternative designs which are trying to add aux output. But those F103 efforts are in a bit of an unclear state poke @dron0gus
See also #12

Sorry I was refering to #1 post :
"Support both in-ECU use, as well as standalone. That means SPI or serial comms with an ECU, and CAN or analog for external use."
My bad I didn't see that the F103 was derivated from your design, and indeed he confirmed the DAC working too
I will read a bit more about it and see if I can propose something similar with another mcu
For sure 1.129 Lambda seems poor enough for most tuning needs
Thank you

Internal and external original design options are both CAN bus


Color emoji support

It seems, at least on Windows, VS code does not show emoji characters in color even with fonts like "Segoe UI Emoji".
Is this just a mis-configuration? Or, if not supported, do you have any plan to support color emoji?
I'm on:
1.2.0-insider
7ccb21d7e7256a7d42f3dda8b2d3721b8e59724f

We delegate all text rendering to Chromium, so Chromium ultimately decides how to render the text. Can you please share what characters you use, how you configure the font, and what you'd expect to see vs what you end up seeing? Do other text editors display these characters in color?

Closing after a number of days without a response.

c

We can just type 🍺 on the web. Why not on the text editor?
The problem is; even with the following font configuration, VSCode does not assign the correct font to emoji characters:
"editor.fontFamily": "Consolas, Segoe UI Emoji,Meiryo"

It does not seem to be an issue on Chromium but just an issue on VSCode structure.

@espresso3389 This actually seems to work as you'd wish to in our insiders version (where we have adopted Chromium 53). I'm thinking you've tested on a version of Chromium >= 53.
Stable (Chromium 52)

Insiders (Chromium 53)

Yes, I've already noticed the change.
Thanks!


chore: deprecate NewTCPx methods

Deprecate TCP APIs in favor of github.com/mdlayher/netlink.
Refer: https://github.com/prometheus/procfs/pull/622#pullrequestreview-2054345257.

Thanks!


Support for Select, Scan and Search queries.

Scruid at the moment supports aggregation queries (timeseries, group-by and top-n). It would be also useful to extend the functionality of the library to support Select, Scan and Search queries.
While it is straightforward to implement such queries in Scruid, the format of the resulting data is different and cannot be handled by the current implementation.
Specifically, the format of the resulting data for timeseries and group-by queries is like below:
[
  {
    "timestamp": "2012-01-01T00:00:00.000Z",
    "result": { ... }
  },
  {
    "timestamp": "2012-01-02T00:00:00.000Z",
    "result": { ... }
  }
]

It is an array of JSON structures, each one is composed of a timestamp and a result which is a JSON structure.
The format of top-n queries is slight different, each time-stamped row contains a result which is an array of JSON structures:
[
  {
    "timestamp": "2012-01-01T00:00:00.000Z",
    "result": [{ ... }, { ... } ... ]
  },
  {
    "timestamp": "2012-01-02T00:00:00.000Z",
    "result": [{ ... }, { ... } ... ]
  }
]

The resulting data (array of JSON structures) of any aggregation query (timeseries, group-by and top-n) is handled by the class ing.wbaa.druid.DruidResponse and each result (array or not) is represented by the class ing.wbaa.druid.DruidResult.
Select queries return raw Druid rows and support pagination. The format of the resulting data is close to the aggregation queries, an array of JSON objects with timestamp and a result which is a JSON structure:
[{
  "timestamp" : "2013-01-01T00:00:00.000Z",
  "result" : {
    "pagingIdentifiers" : {
      "wikipedia_2012-12-29T00:00:00.000Z_2013-01-10T08:00:00.000Z_2013-01-10T08:13:47.830Z_v9" : 4
    },
    "events" : [ {
      "segmentId" : "wikipedia_editstream_2012-12-29T00:00:00.000Z_2013-01-10T08:00:00.000Z_2013-01-10T08:13:47.830Z_v9",
      "offset" : 0,
      "event" : { ... }
    }, ...

		]
	}, ...
]

The only difference is that the result structure contains an array of events, therefore it requires a different implementation of ing.wbaa.druid.DruidResponse.
Scan queries do not support pagination like Select queries, but are more efficient and return rows in streaming mode. Regarding the format of the result, compared to aggregation queries, it does not contain a timestamp but the segmentId. The timestamp, however, can be retrieved by the inner event structures. Below is an example fragment of the resulting data of a scan query:
[ {
    "segmentId" : "wikipedia_editstream_2012-12-29T00:00:00.000Z_2013-01-10T08:00:00.000Z_2013-01-10T08:13:47.830Z_v9",
    "columns" : [ "timestamp", "dim1", "dim2", ... ],
    "events" : [ { "timestamp" : "2013-01-01T00:00:00.000Z", "dim1": "some_value", "dim2": "some_other_value", ... }, { ... }, ... ]
	}, ...
]

Furthermore, scan queries can return data in different format (compacted list) and also have a legacy mode for the timestamp dimension, in which timestamp is being replaced by the __time dimension --- for details see official documentation.
Search queries return dimension values that match the search specification. The format is close to top-n queries, timestamp field and result is an array of JSON structures.
[
  {
    "timestamp": "2012-01-01T00:00:00.000Z",
    "result": [
      {
        "dimension": "dim1",
        "value": "some_value",
        "count": 3
      },
      {
        "dimension": "dim2",
        "value": "some_value",
        "count": 1
      }, ...
    ]
  }, ...
]

The main difference here is that the format of the JSON structures in result is always composed of the same fields, that is dimension, its value and the corresponding count. So the issue here is that list[T] and series[T] functions of ing.wbaa.druid.DruidResponse can only be applied to any class having those three particular fields. I think, however, that for practical reasons it is better to have list and series functions without type parameters and return some predefined class with those fields.
With respect to the aforementioned issues, in order to support Select, Scan and Search queries, ing.wbaa.druid.DruidResponse and ing.wbaa.druid.DruidResult have to be adapted, as well as apply minor changes to ing.wbaa.druid.client.DruidClient and ing.wbaa.druid.client.DruidResponseHandler.

Commit 7c0f737 implements the aforementioned changes. An outline of the changes is given below:

DruidResponse is now a sealed trait and has two implementations DruidResponseTimeseriesImpl (for timeseries, group-by, top-n and select queries) and DruidResponseScanImpl (only for scan queries)

DruidResponseTimeseriesImpl contains a list of DruidResult which can be mapped to user-defined case classes
DruidResponseScanImpl contains a list of DruidScanResults, each one having a list of individual DruidScanResult which can be mapped to user-defined case classes

In contrast to other queries, search queries have a separate DruidResponseSearch which does not extent DruidResponse, but provides similar API. The reason behind this is that the results of search queries have a specific format that does not depends on the schema of the datasource and therefore there is no reason to be mapped to user-defined case classes. Furthermore, for that reason the query functions of DruidQuery trait have been moved to a separate sealed trait DruidQueryFunctions and it is not extended by SearchQuery.


changes in layout causes redraw on ShapeRipple

Hi . the problem is as the title says . if i change any content on my page the ShapeRipple redraws .

This is expected on all views.
Changing/Updating view content will trigger an invaludation which will cause a redraw.
Just like relative layout when you add something in there you will cause it to invalidate for which the added item will get shown in the next frame.


[WFLY-13127] Upgrade smallrye openapi to 1.2.0 to bring in https://gi…

…thub.com/smallrye/smallrye-open-api/issues/248 fix
https://issues.redhat.com/browse/WFLY-13127

I removed the hold label. A concern I had with this is it moved this lib to a version that has a dependency on smallrye-config 1.5.0, while WF was on 1.4.1. But now WF is on 1.6.1.

I'll point this on hold until Paul Ferraro determines if it's the right way to go. He can remove the label if it is.


New version depends on endpoint "api/v1/admin/accounts" which is not available in Pleroma

When attempting to run the latest version of FediFetcher (v4.3.0), using it on Pleroma/Akkoma fails as the new method depends on the endpoint "https://example.net/api/v1/admin" which gives the error
{"error":"Not implemented"}

Logs:
2023-06-13 10:44:37.970590 CST: Starting FediFetcher
2023-06-13 10:44:38.680607 CST: Job failed after 0:00:00.709996.
Traceback (most recent call last):
  File "/home/admin/.local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/home/admin/.local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection
    raise err
  File "/home/admin/.local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):                                                                                File "/home/admin/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen                                                                                httplib_response = self._make_request(
  File "/home/admin/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 386, in _make_request
    self._validate_conn(conn)
  File "/home/admin/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
    conn.connect()
  File "/home/admin/.local/lib/python3.9/site-packages/urllib3/connection.py", line 358, in connect
    self.sock = conn = self._new_conn()
  File "/home/admin/.local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f12063f8d00>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/admin/.local/lib/python3.9/site-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
  File "/home/admin/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/home/admin/.local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: //social.example.net/api/v1/admin/accounts (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f12063f8d00>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/admin/FediFetcher/find_posts.py", line 860, in <module>
    reply_toots = get_all_reply_toots(
  File "/home/admin/FediFetcher/find_posts.py", line 310, in get_all_reply_toots
    reply_toots = list(
  File "/home/admin/FediFetcher/find_posts.py", line 311, in <genexpr>
    itertools.chain.from_iterable(
  File "/home/admin/FediFetcher/find_posts.py", line 278, in get_active_user_ids
    resp = get(url, headers={
  File "/home/admin/FediFetcher/find_posts.py", line 687, in get
    response = requests.get( url, headers= h, timeout=timeout)
  File "/home/admin/.local/lib/python3.9/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
  File "/home/admin/.local/lib/python3.9/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/admin/.local/lib/python3.9/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/admin/.local/lib/python3.9/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/home/admin/.local/lib/python3.9/site-packages/requests/adapters.py", line 565, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: //social.example.net/api/v1/admin/accounts (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f12063f8d00>: Failed to establish a new connection: [Errno 111] Connection refused'))

I am yet to confirm whether this change was made upstream by Pleroma itself, as the documentation only shows information on "api/v1/admin/users" instead: https://docs-develop.pleroma.social/backend/development/API/admin_api/

hi @csolisr
thanks for your report.
In fact, the functionality is part of the very original functionality of FediFetcher.
However, only one small (in my opinion the least useful) part of FediFetcher relies on that API endpoint: If you set REPLY_INTERVAL_IN_HOURS / --reply-interval-in-hours to 0, FediFetcher won't use that API endpoint, and as far as I know every other part of its functionality is compatible with Pleroma. (Though I haven't personally tested it, so I'd love to know your feedback, please)

Well now I'm getting a different error related to a different backend, this time api/v1/timelines/home which, curiously enough, does exist and returns data without needing a user identifier:
2023-06-14 15:00:17.950783 CST: Starting FediFetcher                                                                                [13/97320]2023-06-14 15:00:18.054776 CST: Error getting timeline toots: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: //social.example.net/api/v1/timelines/home (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7feb923cd6a0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2023-06-14 15:00:18.054923 CST: Job failed after 0:00:00.104140.
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/usr/local/lib/python3.9/dist-packages/urllib3/util/connection.py", line 95, in create_connection
    raise err
  File "/usr/local/lib/python3.9/dist-packages/urllib3/util/connection.py", line 85, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
                                                                                During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 386, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connection.py", line 358, in connect
    self.sock = conn = self._new_conn()
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7feb923cd6a0>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.9/dist-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: //social.example.net/api/v1/timelines/home (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7feb923cd6a0>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/admin/FediFetcher/find_posts.py", line 855, in <module>
    timeline_toots = get_timeline(arguments.server, token, arguments.home_timeline_length)
  File "/home/admin/FediFetcher/find_posts.py", line 218, in get_timeline
    response = get_toots(url, access_token)
  File "/home/admin/FediFetcher/find_posts.py", line 250, in get_toots
    response = get( url, headers={
  File "/home/admin/FediFetcher/find_posts.py", line 685, in get
    response = requests.get( url, headers= h, timeout=timeout)
  File "/usr/local/lib/python3.9/dist-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.9/dist-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/requests/adapters.py", line 565, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: //social.example.net/api/v1/timelines/home (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7feb923cd6a0>: Failed to establish a new connection: [Errno 111] Connection refused'))

OK, I just found that I had to remove the "https://" part from the URL field.

Yeah, that's because you should provide the server name, instead of the URL 😉
You are not the first to make this mistake, though, so since v5.0.0 FediFetcher will accept the URL there too.
Is this otherwise working for you now @csolisr ?


icloud3-event-log-card.js TypeError: can't convert undefined to object

Beta 14b
Not sure if this has enough detail to be helpful. Feel free to close if not useful.
2023-03-14 13:16:58.731 ERROR (MainThread) [frontend.js.latest.202303090] https://xxxxx.ui.nabu.casa/hacsfiles/icloud3/icloud3-event-log-card.js:1465:38 TypeError: can't convert undefined to object
2023-03-14 13:17:10.675 ERROR (MainThread) [frontend.js.latest.202303090] https://xxxxx.ui.nabu.casa/hacsfiles/icloud3/icloud3-event-log-card.js:1431:42 TypeError: can't convert undefined to object

Added general error checking to catch an event with something wrong with the data. Will be in b15


Provision of release manager does NOT create default pipeline with input params

Describe the bug
As discussed MRO / RM should create a default pipeline - with all the input params - this is NOT happening ..
To Reproduce
Provision a new RM component - you will only get one pipeline from the webproxy (upon the master commit / push) which misses all the params for doc gen (like change, config item etc)
Expected behavior
Default pipeline with all needed params is created.
Affected version (please complete the following information):

OpenDevStack [1.2.x, master]

@gerardcl  @metmajer  - :(

This is the BC that needs to be created ....

apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
  name: app-pipeline-master
  namespace: pltfmdev-cd
spec:
  source:
    git:
      ref: master
      uri: **URI**
    sourceSecret:
      name: cd-user-with-password
    type: Git
  strategy:
    jenkinsPipelineStrategy:
      env:
        - name: configItem
          value: BI-IT-DEVSTACK
        - name: changeId
          value: change 15
        - name: changeDescription
          value: change 15 desc
        - name: environment
          value: dev
        - name: version
          value: '1.0'
        - name: sourceEnvironment
          value: dev
      jenkinsfilePath: Jenkinsfile
    type: JenkinsPipeline
  triggers:
    - generic:
        allowEnv: true
      type: Generic

the bc is available ..
https://github.com/opendevstack/ods-project-quickstarters/blob/master/ocp-templates/ocp-config/cd-docgen/cd-pipeline.yml

output from rundeck .. looks like the pipeline was NOT processed
`
cd /data/ods-project-quickstarters/ocp-templates/scripts/../ocp-config/cd-docgen
19:36:34 |   |   | + tailor --non-interactive update --namespace=trainods-cd --param=COMPONENT=release-manager-test --param=PROJECT=trainods --selector app=trainods-docgen,template=cd-docgen
19:36:35 |   |   | Comparing templates in /data/ods-project-quickstarters/ocp-templates/ocp-config/cd-docgen with OCP namespace trainods-cd.
19:36:35 |   |   | Limiting resources to svc,dc,bc with selector app=trainods-docgen,template=cd-docgen.
19:36:35 |   |   | Found 2 resources in OCP cluster (current state) and 2 resources in processed templates (desired state).
`

so the fix is pretty simple ...

add selectors to pipeline bc
add allowEnv = true

closed by #414


feat: output paths released

Needed so that we can tell what sub-packages have been released and automatically publish them.

We have a build script so that all our dependencies can be bundled into a single js file which leads to a better experience for users as they don't have to install a bunch of dependencies to use the action.
Normally we wouldn't commit the bundled code in PRs but I did so to test the action directly.

I'm fine to commit the JS output, it's practical and common to do so for GitHub action in my experience

Ah yes sorry I meant that we have automations for committing the JS output for you.


[Storybook] Correct passing global setup variables

Description
Fixes passing of variables into storybook jest config by only parsing & bootstrapping variables once.
Types of Changes

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

Lgtm ✅


Add support for different types of languages

Adds optional sources for dawg files for ProtoModel
Adds Language Type - Indic, RTL or blank
Norm_mode is assigned based on  Language Type
Recoder is  assigned based on  Language Type
Add $(BUILD_TYPE) to checkpoint names
Add $(MODEL_NAME) to groundtruth directory
Use $(START_MODEL)/$(MODEL_NAME) instead of $(START_MODEL)/$(START_MODEL) to avoid errors when $(START_MODEL) is of the form script/scriptname

Edit:
Reverted the following:
- Add lstmeval from the finetuned model as well as the $(START_MODEL)
-- Adds Training Build Type - Impact, Plus, Layer or Scratch

GROUND_TRUTH_DIR := $(OUTPUT_DIR)-ground-truth
This adds the MODEL_NAME to the GROUND_TRUTH directory. Useful, if a user is trying to train multiple models at the same time.

--net_spec "$(subst c###,c`head -n1 $(OUTPUT_DIR)/unicharset`,$(NET_SPEC))" \

This above is ONLY needed for training from scratch but not when using a START_MODEL.
For IMPACT and PLUS_MINUS, the net spec of START_MODEL is used internally.
For LAYER training, the net_spec has to be similar to the following examples. Currently it is hardcoded but should probably be pulled out as a new variable.
	  --append_index 3 --net_spec '[ Lfx96 Lrx96 Lfx192 O1c1]' \

	  --append_index 5 --net_spec '[ Lfx512 O1c1]' \

It is not necessary to assign the size of unicharset in the netspec. It will automatically be calculated by lstmtraining.  See examples of netspec used by Ray.

@kba Could you pls. review the make specifics?

@Shreeshrii Thanks for you patience.

I think these are very valuable additions. We can merge as soon as we have another review.

@stweil @kba We need your reviews here!

@stweil @kba Pls. review.


Added function ConvertPolarCoordinates to Tools.cs

This time the conversion is done in src/ScottPlot/Tools.cs, not in the PlotScatter function. The only thing is this returns a tuple, I would be happy to change the return type if you feel like that would better reflect the direction of the project.

Thanks @Benny121221, this is looking great!
Want to create a cookbook example to highlight the best way to use this function?
You can just add another little class to the bottom of this file and model it after the LogAxis class. Just by adding a class here (you don't have to do anything else) it will show up in the cookbook 👍
https://github.com/swharden/ScottPlot/blob/981645942e24ebb8f6f9ad152ec56d96609333f2/src/ScottPlot.Demo/Customize/Axis.cs#L49-L73

I added a demo to the cookbook, it looks like this:

You can give name to toople elements. This would be more readable and intellisense grab this names:
public static (double[] xs, double[] ys) ConvertPolarCoordinates(double[] rs, double[] thetas)

Looks great @Benny121221, thanks! I made the change @StendProg suggested and merged 👍