Generic Ticket Provider

What this is:
A generic implementation of a ticket provider that allows custom ticket providers to easily integrate in without needing to build an entirely separate ticket provider.
This is heavily based on the ticket tailor provider previously implemented.
There are 3 endpoints that are required to be implemented by the custom ticket provider:

GET events
Query Parameters:

after - The event id of the return results after (pagination) (optional)

Expected response:
{
    "events": [
        {
            "id": "123123123",
            "name": "My Event"
        }
    ],
    "hasMore": false
}

GET tickettypes
Query Parameters:

event - The event to get ticket types for

Expected response:
{
    "ticket_types": [
        {
            "id": "123123123",
            "name": "My Event"
        }
    ]
}

GET tickets
Query Parameters:

email - Filter tickets by this email (optional)
after - The id of the ticket to return results after (pagination) (optional)

Expected response:
{
    "tickets": [
        {
            "status": "valid",
            "id": "ticket-123123123",
            "event_id": "123123123",
            "ticket_type_id": "123123123",
            "description": "Description of ticket",
            "referenece": "Somekind of reference",
            "email"<EMAIL_ADDRESS>        }
    ],
    "hasMore": false
}

Currently there is no kind of error handling or proper documentation, this is something I'll be working on shortly.
I wanted to open this PR so that I can get opinions and views on this before I go further with it - would be great to hear opinions.

The email query param on tickets should be optional, without should return a list of all tickets.
Possibly considering pagination as well.

I've updated the original description to match the new endpoints definition - added some basic pagination support + made the email query parameter to be optional

lgtm


Missing show group in ribbon

I followed this walkthrough but I could not find the show group in the ribbon or the map it button in Outlook 2016
I also checked out the video and it uses Outlook 2010. Seems the walkthrough is outdated.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 55a77e0b-bbca-7721-d088-ba944ca76cc3
Version Independent ID: 7b99953c-952d-affa-b97e-f51387b72c0a
Content: Walkthrough: Designing an Outlook Form Region - Visual Studio
Content Source: docs/vsto/walkthrough-designing-an-outlook-form-region.md
Product: visual-studio-dev15
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@MrFojo Thanks for your feedback. We are aware that this documentation is due for an update; it's on our backlog to do so.

@TerryGLee Is there an alternative walkthrough I can use that is recommended for the meantime?

@MrFojo You might consider searching StackOverflow to see if they've got an answers to any specific Outlook 2016-related questions that you might have.

Ok. I will definitely try that

Tutorial fully works in office 365. Updated document for clarity.
#please-close

#please-close

#sign-off


scalafmt: 0.6.8 -> 1.3.0

Motivation for this change
Scalafmt does no longer (already pretty long :D) package a fat-jar, which required a larger change to fetch all jar dependencies via nix, before we could use the newer versions.
I finally came around to creating a script that automates the creation of a file support.nix which lists all of them and fetches them using fetchMavenArtifact: https://gist.github.com/markus1189/e48f8bbaa63b1272d39d74c498116003.
With that I updated the the build to version 1.3.0.
Question: I saw that it should be enough to add the fetchMavenArtifact results to the buildInputs, but it seems like they never got added to the CLASSPATH (as tested via echo $CLASSPATH inside the builder).  That's why I added them manually in the makeWrapper, but if there is an easier way let me know.
/cc @olafurpg FYI :)
Things done

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

[x] 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 nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

24 Pull Requests (https://24pullrequests.com)

@volth Wow that would make it A LOT easier.  I would be okay with waiting for the coursier merge, given that it avoids having to execute my script.

One disadvantage is that the dependencies will never be shared with other projects right?

Fair enough, I think convenience is more important here

It does not build: https://hydra.nixos.org/build/65996166

Will have a look this evening
On Dec 14, 2017 16:24, "Orivej Desh"<EMAIL_ADDRESS>wrote:

It does not build: https://hydra.nixos.org/build/65996166
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/32442#issuecomment-351742204, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAkGz44fgGl_eYEMrf0bxqOmqJiegSAnks5tAT2lgaJpZM4Q6yOj
.

I'll fix it.

I suspect the coursier derivation might need bigger changes in order to be used in Hydra builds
https://github.com/NixOS/nixpkgs/pull/25560

Okay then I can also revert back to my script generated build that fetches
all dependencies from maven
On Dec 15, 2017 09:33, "volth"<EMAIL_ADDRESS>wrote:
I suspect the coursier derivation might need bigger changes in order to be
used in Hydra builds
#25560 https://github.com/NixOS/nixpkgs/pull/25560
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/32442#issuecomment-351945197, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAkGz7l8Sna87Ha60faoUFLRfSbpV7rWks5tAi7mgaJpZM4Q6yOj
.

Okay then I can also revert back to my script generated build that fetches

Why?
It would be useful to fix coursier anyway.

Okay I thought you mean with bigger changes that there is some problem. If
we can fix coursier that is better.
On Dec 15, 2017 09:42, "volth"<EMAIL_ADDRESS>wrote:

Okay then I can also revert back to my script generated build that fetches
Why?
It would be useful to fix coursier anyway.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/32442#issuecomment-351946852, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAkGz1LDxTl5ZFK3SJ1vEp684rnazobtks5tAjDugaJpZM4Q6yOj
.

Let's wait for the Hydra failure.
It it would happen (I am not 100% sure), then replace coursier with something capable for offline work, like:
{ stdenv, fetchurl, makeWrapper, jre, jdk }:

let
  version = "1.0.0";

  meta = with stdenv.lib; {
    homepage = http://get-coursier.io/;
    description = "A Scala library to fetch dependencies from Maven / Ivy repositories";
    license = licenses.asl20;
    maintainers = with maintainers; [ adelbertc nequissimus ];
  };

  # online version which may not work on Hydra
  coursier-online = stdenv.mkDerivation rec {
    name = "coursier-${version}";
    inherit version meta;

    src = fetchurl {
      url = "https://github.com/coursier/coursier/raw/v${version}/coursier";
      sha256 = "18i7imd6lqkvpzhx1m72g6jwsqq7h6aisfny5aiccgnyg6jpag6i";
    };

    nativeBuildInputs = [ makeWrapper ];

    unpackPhase = "true";

    installPhase = ''
      install -D -m755 $src $out/bin/coursier
      wrapProgram $out/bin/coursier --prefix PATH ":" ${jre}/bin ;
    '';
  };

  deps = stdenv.mkDerivation {
    name = "coursier-${version}-deps";

    buildCommand = ''
      export COURSIER_CACHE=$(pwd)
      mkdir -p $out/share/java
      cp $(${coursier-online}/bin/coursier fetch io.get-coursier:coursier-cli_2.11:${version}) $out/share/java/
    '';
    outputHashMode = "recursive";
    outputHashAlgo = "sha256";
    outputHash     = "19ifb7yka96anldix5ghagcc98glvnjclg6jbzbnw20id5k6cvw3";
  };
in
stdenv.mkDerivation rec {
  name = "coursier-${version}";
  inherit version meta;

  buildInputs = [ jdk makeWrapper deps ];

  unpackPhase = "true";

  installPhase = ''
    makeWrapper ${jre}/bin/java $out/bin/coursier \
      --add-flags "-cp $CLASSPATH coursier.cli.Coursier"
  '';

  passthru.coursier-online = coursier-online;
}

@volth Could you give me a pointer to where I should look for hydra builds etc?

Perhaps this https://hydra.nixos.org/job/nixpkgs/trunk/scalafmt.x86_64-linux

I have pushed 0ea7ad1547e75c4af6300a2279b34ef25469b665 to make Hydra try to rebuild scalafmt deps.

Built: https://hydra.nixos.org/build/66111145


Create GH Action that generates a pre-release w/ latest tag

This PR creates a Github Action that will create a pre-release titled "Development Build" using the latest tag whenever a commit is merged to the main branch. If there is are any existing releases utilizing the latest tag they will be deleted and replaced with the new release.
The release is done using marvinpinto/automatic-releases. The commit log is automatically created by retrieving all commits that have occurred since the last latest tagged release.
An example run is here
An example release is here

This is a necessary step for #68
Resolves https://github.com/celestiaorg/celestia-node/issues/243

What is the point of cutting/tagging a release for each merge on master? We want monthly releases (or manual ones in between if the dev team decides to do so).

What is the point of cutting/tagging a release for each merge on master? We want monthly releases (or manual ones in between if the dev team decides to do so).

I'm fine with closing this issue and instead having a GH action that creates a latest tagged image that can be used for testing.


Fix broken HTTP support.

HTTP image support was completely broken. Added check for updated
Http.IncomingMessage.headers property in addition to checking for
getHeader(). Also explicitly set the encoding option to 'null' so that
the body value of the respons is always returned as a buffer preventing
the parsing libraries from failing to read Encoding headers properly.
Added three test cases to verify the fixes (one for each img type). They
are pointed to the github raw test images, which is safe for now.

Thanks!


Support refreshable MVs

Is your feature request related to a problem? Please describe.
https://clickhouse.com/blog/clickhouse-release-23-12#refreshable-materialized-views
Describe the solution you'd like
Support these for materialized view creation
Describe alternatives you've considered
There is no alternative, this makes sense.

Great to see you taking this on @BentsiLeviav!, I actually worked on this a bit last week and came up with a workaround, created a new materialization (refreshable_materialized_view). However, your solution looks much cleaner and more refined, to be honest. When do you expect it will be ready?

Hi @Y-55
Thank you for your desire to contribute! Contributions are welcomed!
We will release this within the next few days (probably after the holiday).


Can't upload a file with line break inside text

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Windows 10
Python version:
3.6.4

Describe the problem
I'm trying to upload a file where the texts are not a single line, but they can have line breaks inside of them. Even when using JSON file format to separate every text as property instead of a line, when upload a file, it seems Doccano still separate via line break.
Source code / logs
For instance, this is a JSON file I'm trying to upload with a single text inside of it:
[{"text": "Processo 0000637-15.2<IP_ADDRESS>3 (003.12.000637-8) - Procedimento Comum - Inadimplemento Reqte: Fabiano Neves Gon\u00e7alves ADV: PAULO DE TARSO AZEVEDO PEGOLO (OAB 10789/MS) ADV: HENRIQUE LIMA (OAB 9979/MS) ADV: GUILHERME FERREIRA DE BRITO (OAB 9982/MS) ADV: RODRIGO LOUREIRO (OAB 13583/MS) ADV: FRANCIELLI SANCHEZ SALAZAR (OAB 15140/MS) ADV: JAC\u00d3 CARLOS SILVA COELHO (OAB 15155A/MS) ADV: IVONE CONCEI\u00c7\u00c3O SILVA (OAB 13609/MS) 1.\nCom o tr\u00e2nsito em julgado da senten\u00e7a de fl. 393 e satisfa\u00e7\u00e3o integral do cr\u00e9dito, o of\u00edcio jurisdicional acha-se cumprido e acabado, raz\u00e3o por que indefiro o pedido de digitaliza\u00e7\u00e3o do feito (fl. 416).\nAdemais, tramitam nessa unidade judici\u00e1ria milhares de processos e se for admitida a digitaliza\u00e7\u00e3o de todos os feitos finalizados, haver\u00e1 atraso injustificado nas atividades do cart\u00f3rio, pois \u00e9 necess\u00e1rio grande lapso temporal do servidor para este fim.\n2.\nDever\u00e1 o cart\u00f3rio promover a retifica\u00e7\u00e3o do advogado da Mafre Vida S/A no sistema SAJ, para futuras publica\u00e7\u00f5es e intima\u00e7\u00f5es, conforme declinado \u00e0 fl. 416.\nIntimem-se.\nAp\u00f3s, arquive-se."}]
The idea was to visualize the text with line breaks when showing it during the annotation process, but instead what we got was that Doccano was transforming every phrase in a text by itself. For comparison, this same text was uploaded as this:

As the image shows, the text was broke in every line break, and every substring was dealed as a document alone.

We don't support the text includes line breaks. Please refer the discussion at #34.

I managed to solve it via .jsonl file. The data that I previously showed was saved as following:
{"text": "Processo 0000637-15.2<IP_ADDRESS>3 (003.12.000637-8) - Procedimento Comum - Inadimplemento Reqte: Fabiano Neves Gonçalves ADV: PAULO DE TARSO AZEVEDO PEGOLO (OAB 10789/MS) ADV: HENRIQUE LIMA (OAB 9979/MS) ADV: GUILHERME FERREIRA DE BRITO (OAB 9982/MS) ADV: RODRIGO LOUREIRO (OAB 13583/MS) ADV: FRANCIELLI SANCHEZ SALAZAR (OAB 15140/MS) ADV: JACÓ CARLOS SILVA COELHO (OAB 15155A/MS) ADV: IVONE CONCEIÇÃO SILVA (OAB 13609/MS) 1.\n\nCom o trânsito em julgado da sentença de fl. 393 e satisfação integral do crédito, o ofício jurisdicional acha-se cumprido e acabado, razão por que indefiro o pedido de digitalização do feito (fl. 416).\n\nAdemais, tramitam nessa unidade judiciária milhares de processos e se for admitida a digitalização de todos os feitos finalizados, haverá atraso injustificado nas atividades do cartório, pois é necessário grande lapso temporal do servidor para este fim.\n\n2.\n\nDeverá o cartório promover a retificação do advogado da Mafre Vida S/A no sistema SAJ, para futuras publicações e intimações, conforme declinado à fl. 416.\n\nIntimem-se.\n\nApós, arquive-se.", "labels": []}
Saved every document in a single line, with a "\n" for every line break. It doesn't appear in the "Dataset" section:

When annotating the examples, the line breaks are rendered successfully:

The same approach works when dealing with csv format, but unfortunately it requires at least one label, not allowing using it as an empty array. Because I don't want to send any label value, I had to use jsonl format, as it seems to be the only one allowing an empty label array. The txt/plain text format expects one example per line, not being able to support line breaks at all.

I managed to solve it via .jsonl file. The data that I previously showed was saved as following:
{"text": "Processo 0000637-15.2<IP_ADDRESS>3 (003.12.000637-8) - Procedimento Comum - Inadimplemento Reqte: Fabiano Neves Gonçalves ADV: PAULO DE TARSO AZEVEDO PEGOLO (OAB 10789/MS) ADV: HENRIQUE LIMA (OAB 9979/MS) ADV: GUILHERME FERREIRA DE BRITO (OAB 9982/MS) ADV: RODRIGO LOUREIRO (OAB 13583/MS) ADV: FRANCIELLI SANCHEZ SALAZAR (OAB 15140/MS) ADV: JACÓ CARLOS SILVA COELHO (OAB 15155A/MS) ADV: IVONE CONCEIÇÃO SILVA (OAB 13609/MS) 1.\n\nCom o trânsito em julgado da sentença de fl. 393 e satisfação integral do crédito, o ofício jurisdicional acha-se cumprido e acabado, razão por que indefiro o pedido de digitalização do feito (fl. 416).\n\nAdemais, tramitam nessa unidade judiciária milhares de processos e se for admitida a digitalização de todos os feitos finalizados, haverá atraso injustificado nas atividades do cartório, pois é necessário grande lapso temporal do servidor para este fim.\n\n2.\n\nDeverá o cartório promover a retificação do advogado da Mafre Vida S/A no sistema SAJ, para futuras publicações e intimações, conforme declinado à fl. 416.\n\nIntimem-se.\n\nApós, arquive-se.", "labels": []}
Saved every document in a single line, with a "\n" for every line break. It doesn't appear in the "Dataset" section:

When annotating the examples, the line breaks are rendered successfully:

The same approach works when dealing with csv format, but unfortunately it requires at least one label, not allowing using it as an empty array. Because I don't want to send any label value, I had to use jsonl format, as it seems to be the only one allowing an empty label array. The txt/plain text format expects one example per line, not being able to support line breaks at all.

I copy your example, and save into a.txt, but it does not work , it still can not render line breaks.


feat: add govukErrorSummary() component

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

97 of 97 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 98.872%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
1226

Relevant Lines:
1234

💛  - Coveralls


Fix .#filestash.passthru.update

makeFlakeOutputs's autoProjects flag has been added 2022-11-22^1 but the flake.lock uses a dream2nix version from 2022-11-22.
Which is why https://github.com/MatthewCroughan/filestash-nix/commit/4a187a64576076a9fda44ce2aa814f84982a3650 broke nix run .#filestash.passthru.update.
The GitHub action has been failing ever since.
Date before that commit (all good): https://github.com/MatthewCroughan/filestash-nix/actions?query=created%3A2023-01-24
Date of that commit (errors): https://github.com/MatthewCroughan/filestash-nix/actions?query=created%3A2023-01-25
This PR fixes the issue by simply bumping the dream2nix rev by using nix flake lock --update-input dream2nix --commit-lock-file :)

Oh wait, this bump breaks .#checks.x86_64-linux.filestash :eyes:

There are many things about how dream2nix is now designed which would cause breakage here, such as how the makeOutputsForDreamLock no longer exists, so I can't create the filestash.passthru.update function. I don't have the time to refactor this at the moment. Dream2nix is supposed to get rid of the need for me to create my own update script, but something about an "invalidation hash" prevented that auto update functionality from working at the time, so I needed to create it myself. I'd really appreciate if you could simplify and refactor this code to make proper use of dream2nix rather than my bodge here.

It looks like makeOutputsForDreamLock is still available in (dream2nix.lib.init { inherit pkgs; }).dream2nix-interface.

I'll try to refactor it, sure, but it might take some time. It's the first time I use dream2nix :sweat_smile:

It looks like makeOutputsForDreamLock is still available in (dream2nix.lib.init { inherit pkgs; }).dream2nix-interface

This was the information I needed! Thank you so much, I was hunting for it a while ago.


fix lock contention asset names

What does this PR do?
Removes the bytecode/build/co-re/ prefix from the CO-RE asset names.
Motivation
The telemetry was including the prefixes.
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes
Removed string constants that were only used in a single place

/merge


FedEx not updating

I have an incoming FedEx package scheduled for delivery today.
There is an email notification in my inbox in the specified folder from<EMAIL_ADDRESS>with the subject "Your package is scheduled for delivery today" from 7:18am this morning.
The integration last scanned at 9:04am.
It picked up my 3 USPS pieces of mail, so I know that is working, but nothing from FedEx.
In the wiki it says it checks for:
"Your package is scheduled for delivery today" in the subject, which matches.
It also says it checks for:
"Delivery scheduled for today" in the body, but that does not match.
Instead, in the body, it says "Your package from ******* is scheduled for delivery today".

Let me know if there is any other info that I should provide.
Thanks!

Could you enable debugging and post the results from the log?

Is there a specific option in the integration to enable debugging?  I don't see an option for that in the config panel.
I do see this in the HA log:
Logger: homeassistant.helpers.entity
Source: /usr/local/lib/python3.8/asyncio/events.py:81
First occurred: 9:50:37 AM (1 occurrences)
Last logged: 9:50:37 AM
Update of sensor.mail_fedex_delivered is taking over 10 seconds

Yup here's the link to the wiki on how to do it.

Sorry I didn't see that, I clicked the wiki and searched for "debug" but didn't even see the troubleshooting page.  Thanks for being cool about it!
Here is the DEBUG log from the last run:
2020-09-25 11:04:55 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Config scan interval: 0:02:00
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find mail from<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject 1 (Your package has been delivered)
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject 1 (Your package has been delivered) results: b'' count: 0
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find mail from<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject 1 (Delivery scheduled for today)
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject 1 (Delivery scheduled for today) results: b'' count: 0
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find mail from<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject 2 (Your package is scheduled for delivery today)
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject 2 (Your package is scheduled for delivery today) results: b'' count: 0
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find mail from<EMAIL_ADDRESS>with subject 1 (Your UPS Package was delivered)
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Searching for (Tracking Number) in (0) emails
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for (Tracking Number) count results: 0
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for<EMAIL_ADDRESS>with subject 1 (Your UPS Package was delivered) results: b'' count: 0
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find mail from<EMAIL_ADDRESS>with subject 2 (Your UPS Packages were delivered)
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Searching for (Tracking Number) in (0) emails
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for (Tracking Number) count results: 0
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for<EMAIL_ADDRESS>with subject 2 (Your UPS Packages were delivered) results: b'' count: 0
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find mail from<EMAIL_ADDRESS>with subject 1 (UPS Update: Package Scheduled for Delivery Today)
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for<EMAIL_ADDRESS>with subject 1 (UPS Update: Package Scheduled for Delivery Today) results: b'' count: 0
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find mail from<EMAIL_ADDRESS>with subject 2 (UPS Update: Follow Your Delivery on a Live Map)
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for<EMAIL_ADDRESS>with subject 2 (UPS Update: Follow Your Delivery on a Live Map) results: b'' count: 0
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find mail from<EMAIL_ADDRESS>with subject 1 (Item Delivered)
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for<EMAIL_ADDRESS>with subject 1 (Item Delivered) results: b'' count: 0
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find mail from<EMAIL_ADDRESS>with subject 1 (Expected Delivery on)
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Searching for (Your item is out for delivery) in (0) emails
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for (Your item is out for delivery) count results: 0
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for<EMAIL_ADDRESS>with subject 1 (Expected Delivery on) results: b'' count: 0
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find Informed Delivery mail
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Cleaning up image directory: /config/www/mail_and_packages/
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Informed Delivery email found processing...
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Extracting image from email
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Extracting image from email
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Extracting image from email
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Extracting image from email
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Extracting image from email
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Removing duplicate images.
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Removing USPS announcement images.
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Image Count: 3
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Resizing images to 724x320...
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Creating array of image files...
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Generating animated GIF
2020-09-25 11:04:57 INFO (MainThread) [custom_components.mail_and_packages.sensor] Mail image generated.
2020-09-25 11:04:57 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find Amazon email with item list ...
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon emails found: 1
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Email Multipart: True
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Content Type: multipart/alternative
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon Count: 0
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find Amazon email with item list ...
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon emails found: 1
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Email Multipart: True
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Content Type: multipart/alternative
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon order: ['#112-1279225-4568241']
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Searching for Amazon delivered email(s)...
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 0
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-09-25 11:04:58 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 0
2020-09-25 11:04:59 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 0
2020-09-25 11:04:59 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-09-25 11:04:59 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 0
2020-09-25 11:04:59 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 0
2020-09-25 11:04:59 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-09-25 11:04:59 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 0
2020-09-25 11:04:59 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 0
2020-09-25 11:04:59 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-09-25 11:04:59 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 0
2020-09-25 11:04:59 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Updated scan time: Sep-25-2020 11:04 AM

Looks like it doesn't like the " OR FROM " I added to streamline email queries 😞

No worries!  It's always something!

I think is see the issue, stand by

Give b28 a shot, should fix it right up.

I updated via HACS and restarted HA.
Unfortunately, all sensors came up as unavailable, with this in the log:
2020-09-25 11:55:37 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up mail_and_packages platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 193, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/mail_and_packages/sensor.py", line 74, in async_setup_entry
    sensors.append(PackagesSensor(data, variable, unique_id))
  File "/config/custom_components/mail_and_packages/sensor.py", line 207, in __init__
    self.unique_id = unique_id
AttributeError: can't set attribute

Tried restarting HA twice and got the same thing.

Try going thru the Options menu and resubmit your info.

Forgot to mention that I did try that too...
I also just now removed the integration completely and re-added it, and I'm seeing the same error in the log.
Error while setting up mail_and_packages platform for sensor

I wonder if it's because I went from b26 to b28.  I see some changes to entity_id in b27.
Rolling back to b26 made the sensors come back, so I will try to update to b27, restart, then update to b28...

OK so I just updated to b27 and restarted, and I have the same issue.
2020-09-25 11:55:37 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up mail_and_packages platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 193, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/mail_and_packages/sensor.py", line 74, in async_setup_entry
    sensors.append(PackagesSensor(data, variable, unique_id))
  File "/config/custom_components/mail_and_packages/sensor.py", line 207, in __init__
    self.unique_id = unique_id
AttributeError: can't set attribute

So this seems to be related to b27, not b28.
Hope that helps!

Yeah I saw that I ended up with a bunch of duplicates with "_2" appended to their names.
I just removed the integration again, and set it up fresh again.
Now I get this:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 193, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/mail_and_packages/sensor.py", line 74, in async_setup_entry
    sensors.append(PackagesSensor(data, variable, unique_id))
  File "/config/custom_components/mail_and_packages/sensor.py", line 208, in __init__
    self.update()
  File "/config/custom_components/mail_and_packages/sensor.py", line 262, in update
    self.data.update()
  File "/usr/src/homeassistant/homeassistant/util/__init__.py", line 239, in wrapper
    result = method(*args, **kwargs)
  File "/config/custom_components/mail_and_packages/sensor.py", line 155, in update
    total = data[delivering] + data[delivered]
KeyError: 'dhl_delivering'

However, if I uncheck the 3 "DHL" options from the list, everything else works... so that's good.
The last bit of unfortunate news I have for you is that FedEx is still showing zero.
But hey, at least we found the entity_id issue!

is it still reporting:
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find mail from<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject 1 (Your package has been delivered)
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject 1 (Your package has been delivered) results: b'' count: 0
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find mail from<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject 1 (Delivery scheduled for today)
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject 1 (Delivery scheduled for today) results: b'' count: 0
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Attempting to find mail from<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject 2 (Your package is scheduled for delivery today)
2020-09-25 11:04:56 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Search for<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject 2 (Your package is scheduled for delivery today) results: b'' count: 0

?

Try modifying line 608 to this: email_search = '" OR FROM "'.join(email)

Side note: this is why 0.3.x has unit tests 😜

Haha that will be nice to have tests... I can also appreciate how hard this is to debug when you don't have a FedEx email sitting in your mailbox to test with.
Here is what I've found now...
Changing to email_search = '" OR FROM "'.join(email) had no effect.
After looking at the const.py and sensor.py files more, it looks like the subject line that matches is actually "subject_2".  The email that I have in my inbox doesn't match "subject"...
So Looking in sensor.py, it looks like only the "subject" check was modified to include multiple email addresses in the search.  If you look at the logic for "subject_2", it is only checking for a single email address.
I tried to modify that by copying the logic from the "subject" test down to "subject_2" but it still didn't work.
I still think the logic/syntax for the join() isn't right.
However, I was able to get my sensor to show 1 package by changing const.py to:
FEDEX_Email =<EMAIL_ADDRESS>FEDEX_Delivering_Subject = "Your package is scheduled for delivery today"
FEDEX_Delivering_Subject_2 = "Your package is scheduled for delivery today"

Basically, I just copied subject 2 into subject 1, and made it only check the one email address (I'm not in Canada so I don't need both anyway).
Maybe that will point you in the right direction?
Thanks for your help so far and for inspiring me to take a look under the hood.

Ya something is going on with the join it seems, I'll do some more testing and update this issue.

Looks like the const.py just needs updating:
FEDEX_Email =<EMAIL_ADDRESS><EMAIL_ADDRESS>

Let me know how this one goes, should fix you right up.

FedEx is working with b30!

If this is also fixed for you @iankaufmann go ahead and close the issue.

Happy to report it's working great!
Thanks a ton!


routing: undirected node pair based mission control [wip] [don't review]

Builds onto #1734
Previously mission control tracked failures on a directed node pair basis. This PR changes this to tracking on the level of undirected node pairs. The goal of moving to this coarser-grained level is to reduce the number of required payment attempts without compromising payment reliability.
Deeper analysis of channel-level failures and the way they should be attributed to nodes suggests that there always remains an uncertainty about which of the two endpoints is responsible for the failure. It is therefore appropriate to penalize the pair of nodes as a whole. This penalizes the bad node, while the good node only sees its connection to the bad node penalized. This prevents bad node pairs from being tried in both directions.
An exception is insufficient channel balance (FailTemporaryChannelFailure). Undirected penalization may seem too aggressive in this case, but:

It is likely that channels are used for sending payments in a single direction only, away from the sender. Theoretically it is possible to connect to the graph in such a way that a channel may get used both ways, but this seems rare. (Note: this is just about sending. Receiving obviously utilizes channels in the other direction, but for that, path finding is the other party's responsibility.)
One could argue that a channel that isn't balanced in one direction, should be avoided in the opposite direction too. It could be a sign that one of the nodes is not properly taking care of the channel (and possibly its other channels).
If we are more tolerant to temp. chan. failures, nodes may use that to downgrade their penalty. Example: a node advertises an unreliable public channel. The next peer is offline. By sending back a temp. chan. failure instead of an unknown next peer failure, the peer that is offline isn't penalized. This may be good for the failure-sending node because it may generate incoming traffic in the future.

This PR also prepares for #3256 where a correct, gaming-resistent, set of failure attribution rules is implemented.

Closing this pr for now. I still think we will eventually be forced to move towards undirected pair-based penalization to be fully gaming resistent, but this will probably not be on the short term. Will keep this pr around for when that moment comes.


Micro optimization

Not sure if anyone wanted this, just want to tidy some unused stuff and maybe save a few nanoseconds in the loop since I'm getting tired of hearing tiny gap in the audio Musicat streams and in the hope of fixing it by doing this.
FYI it doesn't fix it. I will appreciate any suggestion other than use better network since I live in a small village with no good network anywhere. I may gonna keep looking for any code that's responsible for sending voice packet and see if it can be optimized and optimized further. Maybe in the ssl read loop or tuning the sleep_time in the discord_voice_client::write_ready() method will be next.
These change is live in Musicat and no bug have been found.

how do you know this is faster, was it profiled?
I'm gonna be the one to say it, don't run a music bot in your home on domestic internet, get a VPS!

going to close this as you said it didnt improve anything...


Publishing pretrained models !!

:rocket:  New features :rocket:

We opened a asteroid-models community both in Zenodo and Zenodo's sandbox.
New Zenodo interface (I prefered writing this instead of depending on yet another third party lib)
New CLI asteroid-upload to upload pretrained models directly to the Zenodo community.

What's left to do

Tests & docs
Same for other ConvTasNet recipes
Same for DPRNN recipes
Add other architectures in asteroid.models
Handle the loading from Hub (should be easy).
Licenses and infos on the other datasets.

More about the CLI
The CLI is made with and entry-point in the setup.py so it is installed with pip and accessible everywhere.
This record (in sandbox) is an example of deposit which was made only by CLI with this command
asteroid-upload exp/train_convtasnet/publish_dir --uploader "Manuel Pariente" --affiliation "INRIA"

The text is auto-generated as well as the attribution in the Licenses etc..
Instead of specifying the uploader and affiliation every time in the CLI, the user can create a uploader_infos.yml in the package root
uploader: Manuel Pariente
affiliation: INRIA
git_username: mpariente
token: XXX
force_upload: n

and the usage becomes asteroid-upload publish_dir
Don't forget

Zenodo is still in sandbox mode by default, we'll need to change that (and provide an arg in the CLI)

Tagging #53

The first real pre-trained model is available here with approval of LDC.
Lots of things left to do, but this is a start, merging


Compile error

Whenever I click on compile I only get "an error occurred" message. Internet working well, that's strange cause it started randomly, not after an update, but when using the app, and now it's always here.  Also tried uninstalling, clearing cache and data's, but nothing.

Hi! :wave:
I'm able to reproduce your issue. This app uses the API used by http://try.kotl.in. Most likely the API behaviour has changed in some way causing requests to fail.
Unfortunately I won't have access to a computer for the next 2 weeks, so it might be a while before I can fix this.

Hi again @kaos-dev!
The issue is fixed in v1.2.0 of the app via commit https://github.com/vickychijwani/kotlin-koans-android/commit/a3252c5c2e2ac6c1b614b21104fce183895de671. Please update and let me know if you still see errors 😄


update top bar and side nav for mobile

https://github.com/AugurProject/augur/issues/7513

desktop top bar got changed

needs to look the same as before


Invalid results of the function GetAttributeFromHeader in System.Web.HttpRequest

https://github.com/Microsoft/referencesource/blob/455f59f089ff2e96375e800c9b7866446f16cb30/System.Web/HttpRequest.cs#L823
https://github.com/Microsoft/referencesource/blob/master/System/net/System/Net/HttpListenerRequest.cs#L1216
For example, for parameters
headerValue = "multipart/form-data; boundary=abc; charset=UTF-8"  (from Content-Type header) and
attrName = "boundary"
The result will be

"abc;"

instead

"abc"

In this case, the Files and Form collections are empty, because boundary value (from GetMultipartBoundary) is not valid.

Please file the issue on VS Developer Community portal: https://github.com/dotnet/corefx#how-to-engage-contribute-and-provide-feedback
I assume there are 2 different problems - in HttpListener and in System.Web.HttpRequest. Can you please sketch a repro & impact of each in your report? Note: Unless the impact is high (incl. additional upvotes), it may not meet the bar for a fix in .NET Framework.
We should close the issue here (sadly, I don't have permissions to do that).

Hello, @karelz

Please file the issue on VS Developer Community portal: https://github.com/dotnet/corefx#how-to-engage-contribute-and-provide-feedback

I posted a report on VS Developer Community portal:
https://developercommunity.visualstudio.com/content/problem/302929/invalid-results-of-the-function-getattributefromhe.html


Unhandled Exception

Stardew Valley version 1.6.8
SMAPI 4.0.8
StardewXNBHack 1.1.0
Error text as follows:

Found game folder: C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley.
Loading game instance...
Unhandled exception: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method 'get_MinimumGameVersion' in type 'StardewModdingAPI.Toolkit.Serialization.Models.Manifest' from assembly 'SMAPI.Toolkit, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have an implementation.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at StardewValley.LocalMultiplayer.GetStaticFieldsAndDefaults() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 121
at StardewValley.LocalMultiplayer.Initialize() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 92
at StardewValley.GameRunner..ctor() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 440
at StardewXnbHack.Program.CreateTemporaryGameInstance(PlatformContext platform, String contentPath) in /home/pathoschild/git/StardewXnbHack/StardewXnbHack/Program.cs:line 315
at StardewXnbHack.Program.Run(GameRunner game, String gamePath, Func`3 getLogger, Boolean showPressAnyKeyToExit) in /home/pathoschild/git/StardewXnbHack/StardewXnbHack/Program.cs:line 137
System.TypeLoadException: Method 'get_MinimumGameVersion' in type 'StardewModdingAPI.Toolkit.Serialization.Models.Manifest' from assembly 'SMAPI.Toolkit, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have an implementation.
Press any key to exit.

Hi! You mentioned having SMAPI 4.0.8, but some of your SMAPI files are from an older version. You can reinstall SMAPI using its installer (not a mod manager like Vortex) to fix that.

Yes, I actually did that twice - because the files showed the wrong number.
Did not use Vortex, and not sure what went wrong, but...
On Tue, Aug 20, 2024, 12:12 PM Jesse Plamondon-Willard <
@.***> wrote:

Hi! You mentioned having SMAPI 4.0.8, but some of your SMAPI files are
from an older version. You can reinstall SMAPI using its installer (not a
mod manager like Vortex) to fix that.
—
Reply to this email directly, view it on GitHub
https://github.com/Pathoschild/StardewXnbHack/issues/23#issuecomment-2299234116,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BJXQQQQGOKRKF4G7ULKJMVDZSNTIDAVCNFSM6AAAAABKRJ2FQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZGIZTIMJRGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

If it still doesn't work for you, can you come ask in #modded-game-support on the Stardew Valley Discord so we can run some tests? Feel free to ping me there with @pathoschild if you don't get an answer.


Added support for shorthand -l flag

Current coverage is 100% (diff: 100%)

Merging #52 into master will not change coverage

@@           master   #52   diff @@
===================================
  Files          21    21
  Lines         473   475     +2
  Methods        56    56
  Messages        0     0
  Branches       52    53     +1
===================================
+ Hits          473   475     +2
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update e7fed01...ee8e3be


Handle backend API errors and show valid error message in UI

Handle backend API errors and show valid error message in UI

I'll take a crack at this issue.

@aaronfand looks like typescript version 3.9.7 doesn't support the GeolocationPosition interface. Getting the following compilation error, in relation to commit

If I remove GeolocationPosition return type for position in GeoLocationService.ts file, I get the following compilation error,

Also noticed that your changes  to show min. temperature for today gets hidden/overlapped when the second crop is added to my crops.

I created a push request just now and will correct the overlap issue tomorrow


Baubles: Battery Around The Neck

Some sort of battery to wear in the Baubles slot to keep armor charged up. or for it to pull from inventory batteries / capacitors.

Design decision was to have the wireless charger instead of a battery. Sorry.
(This has been asked/requested before, closing.)

Oh, i see, what about running out of power in long pvp matches?

I think there are other mods that do this. It may be looked into but it's not a priority atm.

ok thanks


Label mismatch in fsaverage jba 3.0

There are ~five areas with mismatching labels and structures.
Example: HC-Transubiculum, OP2, Entorhinal Cortex, hOc5. (Possibly more. Being corrected from the data side.)
The faulty files:

fsaverage_surface/lh.JulichBrainAtlas_3.0.label.gii
fsaverage_surface/rh.JulichBrainAtlas_3.0.label.gii

Note: Hartmut is trying to reproduce the source of the error.

https://jugit.fz-juelich.de/t.dickscheid/brainscapes-configurations/-/merge_requests/89 contains the updated files based on https://search.kg.ebrains.eu/instances/7ad727a1-537d-4f80-a69b-ac8b184a823c

The branch is merged. So it will be fixed with the next version bump.


Add Snyk badge to readme.md

Add the [Snyk badge] to this readm.md file

This badge doesn't work for C# projects


[Extensibility Request] local to global page 7605 "Customized Cal. Entries Subfm" - UpdateCusomizedCalendarChanges

Hello, we need the following currently Internal procedure to be set as Global. Can you please check this? Thank you!
[Extensibility Request] page 7605 "Customized Cal. Entries Subfm" - Procedure from Local to Global
local procedure UpdateCusomizedCalendarChanges()

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 40912.


Integration Test - Release - 2022/04/19 03:42:14

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#please-close

GitHub user PRMergerTest1 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign PRMergerTest1

#unassign NonAllowedUser


add speaking/cfp, speaking/recording, speaking/talk

add en and zh speaking/cfp.html, speaking/recording.html, speaking/talk.html

tutorial.html 應該可以直接沿用 2016，先 merge


link to user management reference

Codecov Report

Merging #5656 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #5656      +/-   ##
============================================
+ Coverage     82.84%   82.85%   +<.01%
+ Complexity    11798    11796       -2
============================================
  Files          1392     1392
  Lines         45361    45361
  Branches       5629     5629
============================================
+ Hits          37579    37583       +4
- Misses         5160     5163       +3
+ Partials       2622     2615       -7

Impacted Files
Coverage Δ
Complexity Δ

...exceptions/GroupByOnArrayUnsupportedException.java
66.66% <0%> (-33.34%)
1% <0%> (-1%)

...o/crate/analyze/SafeExpressionToStringVisitor.java
83.33% <0%> (-16.67%)
7% <0%> (-1%)

...a/io/crate/operation/join/NestedLoopOperation.java
82.85% <0%> (-11.43%)
14% <0%> (-1%)

...rc/main/java/io/crate/analyze/UnboundAnalyzer.java
75% <0%> (-10%)
2% <0%> (ø)

...n/java/io/crate/planner/projection/Projection.java
90% <0%> (-10%)
6% <0%> (-1%)

...crate/planner/projection/MergeCountProjection.java
63.63% <0%> (-9.1%)
5% <0%> (-1%)

...crate/executor/transport/TransportShardAction.java
89.18% <0%> (-8.11%)
9% <0%> (-1%)

...src/main/java/io/crate/jobs/NestedLoopContext.java
66.66% <0%> (-5.56%)
7% <0%> (-1%)

...in/java/io/crate/lucene/match/CrateRegexQuery.java
43.47% <0%> (-4.35%)
4% <0%> (-1%)

...admin/indices/create/BulkActiveShardsObserver.java
71.87% <0%> (-3.13%)
7% <0%> (-1%)

... and 18 more

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 c903fec...9c61eeb. Read the comment docs.


⚠ Bofrost.lu has degraded performance

In 281fd54, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1306 ms

Resolved: Bofrost.lu performance has improved in 5286a1c after 30 minutes.


gennodejs: 2.0.1-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository gennodejs to 2.0.1-0:

upstream repository: https://github.com/RethinkRobotics-opensource/gennodejs.git
release repository: https://github.com/RethinkRobotics-release/gennodejs-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.5.23
previous version for package: 1.0.3-0

gennodejs
* Fix an issue uncovered in checking fixed size message fields
* Contributors: Chris Smith

Holding to wait for sync...


Exclude index.js files from watched files

To get the files bundled by Browserify, make a plugin based on this Gist.

This is worth reading.

@jfresco what's the status on this?

Not even started.


Use bytes8 index access

Just came to my mind - not sure if it is more efficient..

Without optimizer, this adds range checks and thus is very expensive. With optimizer, it removes the masking and uses byte instead of shifts and is cheaper.

This makes the code a lot simpler and easier to read. I also ran FV on this new code pattern, and it worked well.

With byteswapping, this passes all the tests now. Let's revert that commit and see if it is detected.

It does!


Autocomplete for location field in frontend

Add autocomplete feature for the location field inside the UI.

Closed for out of scope


fix: updated deps

:tada: This PR is included in version 6.3.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug]: The new query button is displayed with secondary button for mysql datasource

Is there an existing issue for this?

[X] I have searched the existing issues

Description
The button colour should be displayed with primary colour but it seems be displayed with secondary button for mysql datasource

Steps To Reproduce

go to release.app.appsmith.com
2.create a new app and then  create a MySQL datasource
now Check the new query button
as attached in the above screenshot the Secondary button is displayed

Public Sample App
No response
Environment
Production
Severity
Low (Inconsistent UI/UX)
Issue video log
No response
Version
v1.19

not reproducible anymore


[WIP] Propagate additional resources in Broker namespaced reconciler

This facilitate the propagation of additional namespaced resources like ServiceMonitors, etc.
Signed-off-by: Pierangelo Di Pilato<EMAIL_ADDRESS>Fixes #

Proposed Changes

Release Note

Docs

/test integration-tests-namespaced-broker

/retest-required

@pierDipi How can I help here? You mentioned in the chat that there are some issues to fix here.

Gonna rebase this PR and add https://github.com/knative-sandbox/eventing-kafka-broker/commit/a51c5c51e17aa7c5f3ffbfea6c119b0cc3fed999

/cherry-pick release-1.8


2.x Fix connection leak in RxHttpReverseProxy

NetflixOSS » eureka » eureka-pull-requests #349 SUCCESS
This pull request looks good


Tutorial read data from google sheets: use package googlesheets4

The tutoral to read data from google sheet makes use of the package googlesheets. However, this renders an error:

Sign in with Google temporarily disabled for this app

This can be resolved by using the newer package googlesheets4 (link to GitHub)

Good catch @LienReyserhove . A straightforward fix could be to replace the body of the tutorial with a link to the main googlesheets4 vignettes, as these are fine tutorials! Example: https://googlesheets4.tidyverse.org/articles/articles/read-sheets.html And of course, we could contribute to / review those tutorials.

Solved by #204 and tutorial is online!


Add py.typed to enable type checking when imported

When importing the aind_codeocean_api module, mypy doesn't recognize the existing type hints because the py.typed file is missing (see example error below). This PR adds this file.
Skipping analyzing "aind_codeocean_api.models.data_assets_requests": module is installed, but missing library stubs or py.typed marker Mypy(import-untyped)

Gentle nudge on this PR

@dyf would it be possible to take a look at this and merge so that consumers can get mypy type hints in their dev environments? Thank you!


iOS: How to ask notifee do not handle PRESS events for some notifications based on the data payload

Hi,
Thanks for the great library, I am using react-native-marketingcloudsdk library in my app. So with that library if there notification.data._od then the library will handle the onpress of banner and it will redirect to the browser.
So what's happening when I use notifee, the notifee is take over the onpress of push notification and it's override the react-native-marketingcloudsdk.
So is there option to ask notifee do not handle onpress of push notification if notification.data._od is presented in the notification data.

Hey, interesting scenario. Currently, there's to way to do this but happy to take a p/r if you find a way.
I'd say the simplest way to do this is to say any notification that isn't made with notifee.displayNotification, shouldn't be handled by the library. We know if the notification was made with notifee if it includes __notifee_options key.
Maybe we could have something in your info.plist to say disable this behaviour, and then i think it should be staightforward.
This line will have to be adjusted https://github.com/invertase/notifee/blob/735e47dc09867a7239805c56729e569f3161c4c3/ios/NotifeeCore/NotifeeCore%2BUNUserNotificationCenter.m#L161
from
 if (notifeeNotification == nil) {
to (as an example):
  if (notifeeNotification == nil && handleAllEventsWithNotifee == true) {
Would that work for your usecase?


xss from defining things

Compile and view this module in your browser. You should get a popup.

module Test where

f1 = "\';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//\";alert(String.fromCharCode(88,83,83))//\";alert(String.fromCharCode(88,83,83))//--></SCRIPT>\">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>"

f2 = "</script><script>alert(String.fromCharCode(88,83,83))</script>"

To elaborate, based on my understanding, this only works when generating index.html, and would have no effect if you're compiling to a .js file.
The exploit is that if an attacker includes the string </script> in a string literal, then </script> will get emitted into index.html, and the browser will read it as the end of the in-progress <script> tag, oblivious to the fact that the </script> appears in the middle of a JS literal. From there the attacker can add another <script>...malicious stuff goes here</script> and go from there.
OWASP suggests this is not preventable.
Based on this, I think a reasonable resolution to this issue is to disclaim somewhere that using the generated index.html is good for getting started quickly, but not safe for production use. (Not that it's terribly appealing for production use in the first place, but a caution seems reasonable all the same.)

disclaim somewhere

How about a warning generated if script> is found in the source code, among other places?

I think it's pretty much all-or-nothing. Attempting to detect xss intent is an arms race that overwhelmingly favors attackers thanks to obfuscation.
If the vulnerability can't be fixed, best to make users aware of it when using this feature.

An alternative would be to generate both index.html and elm.js when using the "generate the HTML for me" feature.
This would have the added side benefit of leaving you with something you could build on; currently when you want to (for example) add a CSS file, the generated index.html becomes useless and you chuck it. If instead it were importing elm.js, you could actually keep it and build on it.

I like the idea of generating elm.js and index.html by default.

Based on @rtfeldman's comments, I don't think we should track this here.


Response schema definition missing a colon for a required array of objects

I think a picture makes this clear:

There should be a colon after entities*.

Fixed by #512
Thanks for fixing it @NasaGeek


Support for artist.getCorrection and track.getCorrection

Added support for artist.getCorrection and track.getCorrection.
Don't know, maybe I overlooked the Track.get_correction() . The request has two 'name' elements, I'm picking the first one, right?
And what about try to correct by default?

@dinorox Thanks for the PR!
Please could you check these lint things?
lint runtests: commands[2] | pep8 pylast
pylast/__init__.py:1933:1: W293 blank line contains whitespace
pylast/__init__.py:2955:1: W293 blank line contains whitespace
pylast/__init__.py:2958:1: W293 blank line contains whitespace
pylast/__init__.py:2960:70: W291 trailing whitespace

https://travis-ci.org/pylast/pylast/jobs/69193020

Don't know, maybe I overlooked the Track.get_correction() . The request has two 'name' elements, I'm picking the first one, right?

The test looks fine, and it passes, so the code must be good too :)

And what about try to correct by default?

Best not, it'd be a breaking change that'd break people's existing code.

Done!

Thanks!


How to separate output path for sw.js and workbox-********.js

I'm using laravel 9
The index.html is seved at /public while the transpiled js files are at /public/build
By Laravel 9 Vite default setting the outDir is at public/build and will always be cleaned when vite build is executed
If i left outDir by default:

the workbox-********.js is generated on /public/build, good. It'll automatically cleaned on each build
the sw.js is also generated on /public/build, not good. This is causing error The path of the provided scope ('/public') is not under the max scope allowed ('/public/build/'). Adjust the scope, move the Service Worker script, or use the Service-Worker-Allowed HTTP header to allow the scope. and I'd rather not change web service settings to set Service-Worker-Allowed HTTP header

If i change the outDir to public:

the sw.js is generated on /public, good. No max scope error.
the workbox-********.js is also generated on /public, not good. the old one need to be manually cleaned if newer one have different hash, or need additional plugin to clean it each build

The ideal scenario I had in my mind:

generate workbox-********.js to /public/build so it will be cleaned on each vite build with Laravel 9 default setting
generate sw.js to /public and it load /public/build/workbox-********.js

Is it possible? or is there alternative way with both no max scope allowed error neither piling up workbox-********.js files?

yeah any idea for this?

@mmn6d6d6e @vheins
The problem with PWA is about the scope and the location of the service worker and web manifest assets. Since vite-laravel-plugin is hacking Vite to write all assets in public/build folder we cannot hack Vite.
You have 2 solutions:

add custom http header

update to latest pwa plugin version: 0.14.4
add buildBase: '/build/' to pwa configuration
add service-worker-allowed: '/' http header to all your router pages; requires some configuration on your backend (nginx, apache, netlify...)

create a Vite plugin:

copy (overriding) sw.js, workbox-*.js and manifest.webmanifest to public folder
you will need to add a manifestTranform to pwa workbox option to prefix any entry with build/ or using modifyURLPrefix: { '': 'build/' } (also inside pwa workbox option).


Integration Test - Release - 2022/03/10 06:46:13

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#please-close

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign PRMergerTest1

#unassign NonAllowedUser


Bump aktualizr version for good

Should fix PRO-4260

@stevana Does this actually work for you right now? I'm getting a problem with garage-sign. I sent the details to @jochenschneider and I think he's looking into it.

Not checked, was going to after merge (as we get the images built automatically by TC then).


Add dim_dbt__current_models back?

If you would like to see the return of this model in v1.0.0, please drop any feedback or thumbs up on this issue!
https://github.com/brooklyn-data/dbt_artifacts/blob/0.8.0/models/dim_dbt__current_models.sql

Yep I like this. My thinking is:

Create a dim_current_x version of every resource model, which is just a view representing the current state of the project
Enrich that with the latest seen execution and results of that resource. For models this would be last run, was it a full refresh, how long did it take etc

To update, this issue will now be closed by a PR which:

Adds a dim_dbt__current_x model for every resource type, which has the current entities in the project and latest execution information for them
The dbt_dbt__current_models model should have as many of the fields available in the pre-v1 version
The dbt_dbt__current_exposures model should be a replacement for https://github.com/brooklyn-data/dbt_artifacts/issues/139


fix: Added gte models

Related to #1515

Checklist

[ ] Run tests locally to make sure nothing is broken using make test.
[ ] Run the formatter to format the code using make lint.

Let us merge the other one first

#1436 has been merged.


Archlinux Install

I clone the repo, change directories to the repo. I run makepkg -si and enter in my password. I type 'Y' to confirm the install. It's installed.
I type notion into the console and get this error.
internal/modules/cjs/loader.js:604
    throw err;
    ^

Error: Cannot find module '/opt/notion/resources/electron.asar/browser/init.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:753:10)
    at startup (internal/bootstrap/node.js:241:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:579:3)

Interesting, I'll see if I can reproduce it!

I would highly recommend on Arch you use the notion-app package though, which was inspired by this project and uses some of this "code". They knew how to make a much better archlinux compatible setup than I did!

We've removed our makepkg in favor of notion-app, so I'm going to close this!


Unable to switch on the lights on m17xR4

Describe the bug
Unable to set the lights using both the GUI or the CLI tool
Even when using the command center it says not detected, really very strange.
can you please help me to get the lights working?
To Reproduce
When I execute the CLI I get the message as -
"
C:\Program Files\AlienFX Tools>alienfx-cli.exe lightson
alienfx-cli v5.3.0
No low-level devices found, trying high-level...
No high-level devices found!

Both low-levl and high-level devices not found, exiting!
"
Expected behavior
Was hoping to be able to change the color
AcpiTbls.zip

No low-level devices found, trying high-level...

This means you hardware not detected - it can be both doesn't work or my detection fault.
Do you have old 17x or new m17? Anyway, check Device Manager, under "Human Interface Devices". You should have "Vendor-defined device" with VID_187C. If you don't have - it means light system have a hardware issue. If you have one - we need to check why it doesn't detect.

I dont seem to be able to any device like that under HID.
Here are the screenshots from windows 7 and windows 10, can it be a firmware issue which is preventing the device from being recognised?
In Windows 10, I see there are some un-recognised devices. How do I identify it?

First, my apps is not compatible with Windows 7 for some reasons.
Second... Yes, device manager in W10 looks weird, system have some issues. Most probably chipset drivers not installed correctly.
You can check unknown devices 2 ways: First, select it and switch device manager to "View->Device by connection". This give you a hint what kind of device is it - system bus, USB, etc. Second, check Hardware ID's at unknown device properties. If it's VID_8080 - it's something from Intel, and it can have some child devices not revealed until parent driver works. You can check other VIDs online as well to understand. We are looking for VID_187C - Alienware.


Added _ Token to Defaults

https://rockchain.org/

please provide support email. thanks

This is already live


Add "Testing your Amplify Application with Jest and Cypress"

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks for the continued posts @rakannimer. We'd love to send some swag your way. Please

Thank you @swaminator, much appreciated !
Great to be a part of the Amplify community :)


Uninformative error when running staked service without using the --with-staking flag

The following error occurs when running a staked service without the --with-staking flag:
awk: cmd. line:1: warning: regexp escape sequence `\"' is not a known regexp operator
[Agent instance] Swapping Safe owner...
  - Starting swap_safe_owner.py script...
  - Safe address: 0xF785587eDF543DcBE3AF53444a17f0f1C1Dc0Ab1
  - Current owner: 0x5764AD53a2063D5b230758Cc44B1B699F0798eFF
  - New owner: 0x86B1cc666486822fBfED7CEb6a2cCFf1C4917dBd
  - Loading contracts...
  - Building Safe.swapOwner transaction...
  - Signing Safe.swapOwner transaction...
  - Safe.swapOwner transaction sent. Transaction hash: 0xc4142ff4e67fabde43e8923dcbab95f771f165708be490e25462328faceafe9f
  - Waiting for transaction receipt...
  - Safe.swapOwner transaction successfully mined.
  - Safe owner successfully swapped from 0x5764AD53a2063D5b230758Cc44B1B699F0798eFF to 0x86B1cc666486822fBfED7CEb6a2cCFf1C4917dBd
[Service owner] Terminating on-chain service 191...
[2023-11-13 15:41:58,123][WARNING] Unable to estimate gas with default state , ValueError: {'code': -32015, 'message': 'Reverted 0xa43d6ada00000000000000000000000086b1cc666486822fbfed7ceb6a2ccff1c4917dbd0000000000000000000000005add592ce0a1b5dcecebb5dcac086cd9f9e3ea5c'}
Error: Service termination failed; {'code': -32015, 'message': 'Reverted 0xa43d6ada00000000000000000000000086b1cc666486822fbfed7ceb6a2ccff1c4917dbd0000000000000000000000005add592ce0a1b5dcecebb5dcac086cd9f9e3ea5c'}

In order to improve the UX we should provide a more informative error message.
@0xArdi maybe we could even add a check and if the service is staked but the flag was not used, then terminate early and inform the user.
It is also worth noting that reruning the script with the flag does not help and a manual intervention is then required.

Perhaps this error could be prevented as follows:

On first run, ask the user if they want to use staking or not on this service.
Save the value in the store staking=true / false.
On each run, the user does not need to use any flag. The script will recover the value from the store.

Additionally, for legacy users using the --use-staking flag:

Upon starting the script, save staking=true on the store.
Display an informative message telling that the flag is no longer needed, and press a key to continue.
Run the rest of the script.

For now i'd keep it simple and just store the mode ("staking"). If the user runs the second time and the specified flag/lack of flag does not match the stored mode the execution can be interrupted and the user can be asked for confirmation whether to continue with the mode or switch

After thinking a bit, this solution is in fact more difficult to implement (requires more logic to address missmatch between flag and stored value). I will implement the original proposal, and if it causes issues, we can consider the second option.

Addressed in #99


spatial/kdtree: Go generics ideas based on user experience

Props
Let me start by saying I am amazed by the kdtree implementation. I can't believe how fast I was up and running making a kdtree based SDF (didn't work perfect, but it did things!) I had NO idea what kdtree was before I started using this package- my knowledge of kdtrees was limited to gimmicky 80's movies CGI.

What are you trying to do?

I am attempting to transform a mesh into a signed distance function. To do this I must have a data structure that allows me to get the triangles of the mesh closest to a point in space in a reasonable amount of time.
What did you try?

Using current kdtree.
How does Gonum not allow you to achieve your goal?
The issue I ran into was that the current kdtree implementation was more suited to problems where kdtree.Comparable (the base data structure) was the representation of a point of Dim dimensionality.
When working with a Triangle as a Comparable type there is a lot of superfluous data that is thrown around:

BoundingBox is composed of Min and Max Comparables, which are also triangles. These should be points
kdtree.Tree.Nearest(Comparable) should take a point in my case- which means Comparable.Distance() should also take a point as an argument if my rudimentary reasoning is correct
Compare(Comparable, Dim) float64 I'm unsure how this is implemented in my case. Looking at the documentation for this method it seems very likely leaving it as Comparable is the soundest choice. Maybe worth adding a ComparePoint() method for the reduced case?

I'll end the issue on this flat not since I'm very new to the advanced data structure scene. These are just loose ideas we can discuss.
Given these changes, the kdtree types could look something like this if written with Go Generics (click to display):
// Interface is the set of methods required for construction of efficiently
// searchable k-d trees. A k-d tree may be constructed without using the
// Interface type, but it is likely to have reduced search performance.
type Interface[P any, T Comparable[P]] interface {
	// Index returns the ith element of the list of points.
	Index(i int) T

	// Len returns the length of the list.
	Len() int

	// Pivot partitions the list based on the dimension specified.
	Pivot(Dim) int

	// Slice returns a slice of the list using zero-based half
	// open indexing equivalent to built-in slice indexing.
	Slice(start, end int) Interface[P, T]
}

// Bounder returns a bounding volume containing the list of points. Bounds may return nil.
type Bounder[P any] interface {
	Bounds() *Bounding[P]
}

type bounder[P any, T Comparable[P]] interface {
	Interface[P, T]
	Bounder[P]
}

// Dim is an index into a point's coordinates.
type Dim int

// Comparable is the element interface for values stored in a k-d tree.
type Comparable[P any] interface {
	// Compare returns the signed distance of a from the plane passing through
	// b and perpendicular to the dimension d.
	//
	// Given c = a.Compare(b, d):
	//  c = a_d - b_d
	//
	Compare(Comparable[P], Dim) float64
	ComparePoint(P, Dim) float64
	// Dims returns the number of dimensions described in the Comparable.
	Dims() int

	// Distance returns the squared Euclidean distance between the receiver and
	// the parameter.
	Distance(P) float64
}

// Extender is a Comparable that can increase a bounding volume to include the
// point represented by the Comparable.
type Extender[P any] interface {
	Comparable[P]

	// Extend returns a bounding box that has been extended to include the
	// receiver. Extend may return nil.
	Extend(*Bounding[P]) *Bounding[P]
}

// Bounding represents a volume bounding box.
type Bounding[P any] struct {
	Min, Max P
}

I'd be happy for this to be rewritten as type-parameterised code. It would be in the v0.12 milestone.
For your specific case, I'd suggest making the distance compares between triangle centers (first convert your triangles to cows and then convert those to idealised point masses, which is already a solved problem). Alternatively, you can choose either the closest or furthest vertex; whichever is better for your use case.

Awesome! So does adding a second type parameter P for the point type make sense to you?

Yes, I think so. I'd like to see an implementation.

Not entirely happy with how it turned out. Feel like there are some knobs that could be turned

kdtree algorithm: https://github.com/soypat/go-play3d/blob/main/kdtree/kdtree.go
implementation of kdtree interface: https://github.com/soypat/go-play3d/blob/main/triangle_kdtree.go
Instantiation: kdtree.New[kdPoint, *kdTriangle](kdMesh{tri: kdtri}, true)


Can't start the development server

When I try to setup the developer, I first type
npm install
When I do that I get

jules@eucalyptus  ~/WSoftware/musedash.moe   master  npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
audited 37867 packages in 5.013s
found 0 vulnerabilities

and when I try to npm run serve
I get the error:

ERROR  Failed to compile with 6 errors
These dependencies were not found:
To install them, you can run: npm install --save @/components/vue-octicon/src/components/Octicon.vue @/components/vue-octicon/src/icons/device-desktop @/components/vue-octicon/src/icons/device-mobile

But it still returning an error that the package doesn't exist or can't find package.json in it.

Oh sorry I forgot some command
git submodule init
git submodule update

If you want to use a different API server, this could be configured here

Or at
https://github.com/simon300000/musedash.moe/blob/master/src/api.js#L4


Unable to dial out SDK 2.0.0b13 com.apple.CallKit.error.requesttransaction Code=1

Hello Twilio,
We just updated our test app w/ a cocoa pods pointer to 2.0.0b13. We updated for changes going from b11 to 13 (very slight, a delegate name change and TVOCall.callsid/sid I think).
However, we are now unable to dial out at all.
Our App receives the Twilio Token, attempts to create the call and fails in StartCallAction
2017-07-20 16:30:21.907790-0400 APPNAME[382:48777] VoipCoordinator:StartCallAction transaction request failed: The operation couldn’t be completed. (com.apple.CallKit.error.requesttransaction error 1.)
POST-VoipCoordinatorCalling failed: Error Domain=com.apple.CallKit.error.requesttransaction Code=1 "(null)"
Now, on this device (iPhone6) I did put iOS 10.3.3 (14G60) on it. I am building against the iOS10 SDK w/ Xcode 8.3.3:
$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
$ xcode-select --version
xcode-select version 2347.
Have you at all tested the b13 with iOS 10.3.3?
Thanks,
Shane

Hi @lottadot
Thanks for reporting the issue. I've checked our validation reports and honestly we didn't seem to test the SDK against 10.3.3. We do cover across iOS 8 through iOS 11 beta (8.1.3, 9.3.4, 10.1.1, 10.3.2, 11.0 beta2) but unfortunately no 10.3.3 device in the inventory at the moment. We'll definitely prepare the device with the version and execute the validation suite.
Meanwhile, I am curious if the same CallKit request error happens on the same device (same version 10.3.3) but with previous version of beta (beta12 maybe)?
Keep you updated.
-bobie

Hi @bchen-twilio
The codebase was actually using b11. I updated to b12. Saw this happen. Then saw that b13 was out, so up'd to that. Same thing.  Hopefully I'll report back later today.

Ignore this issue. The problem was on our end.

Hi @lottadot,
Thanks.
Just curious, was it the way the app configs the CallKit provider or the order of calling CallKitIntegration methods of the Voice SDK that is giving your app the com.apple.CallKit.error.requesttransaction Code=1 error?
-bobie

@bchen-twilio two things happened on our side:

We had a database refresh from prod -> lower environments, which changed the uniqueID's our middleware "python server" uses to associate the Twilio token. That also threw off our hard-coded (for now) associations from that ID to telephone number (etc) in methods such as /outgoing.
Our iOS POC codebase had merged from the mainline develop upstream. That overwrote some of the .xcproject capabilities for the target; the most important being that it removed Voice over IP.

So, with those two things, the app failed to dial out entirely. Hopefully this issue will help anyone in the future that has anything similar happen.
Thanks,
Shane

Hi @lottadot
Thanks for sharing the insights.
I did try making an outgoing CallKit call without the Background Modes VoIP flag and got the same CXProvider error when submitting the start-call request. I'll add this very helpful information to the SDK FAQ in case other SDK users run into the same problem in the future.
cheers,
-bobie


Works great

It is working very good, but it would be interesting to see whether the "splitindex" javadoc parameter would work, i couldn't get it running with the parameter.

@Retch What happens when the splitindex javadoc is used?

@Retch What happens when the splitindex javadoc is used?

When splitindex is passed in as argument, the index page is a bit lighter because only the classes with the selected letter are shown, and not all classes from A-Z.
I didn't get it working to pass in the argument, thats the prob.

When splitindex is passed in as argument, the index page is a bit lighter because only the classes with the selected letter are shown, and not all classes from A-Z.
I didn't get it working to pass in the argument, thats the prob.

@Retch Do you mean you're having trouble getting javadoc to recognize that option?  If you are using mvn, then in your pom.xml, where you have the maven-javadoc-plugin configured, somewhere between the <configuration> and </configuration>, add <splitindex>true</splitindex>.  But don't put it inside of additionalJOptions.

@Retch Do you mean you're having trouble getting javadoc to recognize that option?  If you are using mvn, then in your pom.xml, where you have the maven-javadoc-plugin configured, somewhere between the <configuration> and </configuration>, add <splitindex>true</splitindex>.  But don't put it inside of additionalJOptions.

Thanks, but i don't have the javadoc plugin in the pom.xml
You could see here for youself, but this is just a little thing and nothing real important.

Thanks, but i don't have the javadoc plugin in the pom.xml
You could see here for youself, but this is just a little thing and nothing real important.

You're welcome.

You're welcome.


Radio button doesn't reset to initial

I have the following radio buttons which share the same name :

        <input type="radio" id="radio1" class="mdl-radio__button" name="somename" value="1" checked>
        Radio 1

        <input type="radio" id="radio2" class="mdl-radio__button" name="somename" value="2">
        Radio 2

        <input type="radio" id="radio3" class="mdl-radio__button" name="somename" value="3">
        Radio 3

        <input type="radio" id="radio4" class="mdl-radio__button" name="somename" value="4">
        Radio 4

        <input type="radio" id="radio5" class="mdl-radio__button" name="somename" value="5">
        Radio 5

I can't make a fidle of it beacause, I need to change the page and go back.
When I check for example the radio radio3 and go the next page using a link and then click on the browser to go back. My radio radio3 button is still  checked but I gave by default the radio1 the attribute checked so I think the radio1 should be checked.
I saw in the label in the radio3 the following class is-checked but the input isn't checked.
Bugs

What browser(s) is this bug affecting (including version)?
Chrome

What OS (and version) are you using?
W10

What are the steps to reproduce the bug? Can you create a plunker/codepen/jsfiddle which reproduces it?
Can't reproduce, need to change page

What is the expected behavior?
The default checked radio should be checked

What is the actual behavior?
Another radio button is checked

Any other information you believe would be useful?

how you changing the page ?  anchor tag or going back through browser back button(cached) ?

I'm moving back throught the browser. I resolved it using autocomplete="off"


re-fix root domain record update via dyndns

if hostname is @.domain.tld (provided by the ddns-client) the DNS type has to be A or AAAA, which is checked in the exists method of Record.
Thus CNAME (or other) updates are still possible, and ipv6 records can also be updated.

Merged. Thanks for your contribution. I will review the dyndns_adjustment again then merge to master later.


Could tuya-convert flash libretuya-based firmwares?

Your initiative with this project is simply amazing.
I'm not so experienced in it, so I wonder if the same approach used by tuya-convert could also be used to flash libretuya-based firmwares.

Not really. Tuya-convert works only for ESP8266 and ESP32 chips AFAIK.
There is a great project that works for BK7231 chips, which should make it usable with LT firmwares:
https://github.com/tuya-cloudcutter/tuya-cloudcutter
Currently, LT does not export an image for "stock" OTA flashing, so you'd have to fiddle a bit with Beken OTA packaging tools (available in Tuya SDK packages). I'm planning to provide a universal firmware image (board-independent), which would be available as an OTA file, and provide a WiFi hotspot to flash whichever version of LT you want.

Very cool. I hope the vulnerability won't get patched before we can flash LT. The article mentions its been fixed in new stock since their disclosure Feb 12th 2022, but I don't if it has been patched in running (old) devices.

That's very cool indeed!

Feel free to close the issue if you would like.

Hi all, I forgot to mention:
LibreTuya now exports an "UG" image, which is suitable for Cloudcutter flashing. I tested it once with a Cloudcutter-enabled device and ESPHome firmware, and it worked flawlessly :tada:

This is awesome! :D

I think this means this was resolved so. Thanks a lot!


Kolibri mac app crash

Kolibri mac app will exit automatically after it install and launch. I used this Kolibri mac installer in the fresh installation with macOS 10.14.5.
I already commented it in this previous issue https://github.com/learningequality/kolibri-installer-mac/issues/49#issuecomment-577968979
Log files available here:
kolibri-app.txt
kolibri.txt

This is the same error in #49, does this test already have a ~/.kolibri directory? If so, what version of Kolibri created it?

@kollivier sorry for late response,  I'm using this  Kolibri mac installer with the fresh home folder created by that installer.

@mrpau-richard I tried deleting ~/.kolibri and ~/Library/Application Support/Kolibri directory to run on a clean install, but I have been unable to reproduce so far. Could you try deleting your Kolibri home folder and running again to see if it happens for you again?

I just tried it on fresh virtual machine with macOS 10.14.6 and I can't also reproduce issue, not until I delete all the contents of .kolibri folder while the kolibri mac app still running, and when I launch the Kolibri mac app with empty .kolibri then the issue came out. The Kolibri mac app will exit automatically after it run, even I delete the .kolibri folder again. I uploaded the .gif below.

@mrpau-richard Thanks for tracking this down! It turns out that the issue is that when you delete the contents of ~./kolibri from Finder, it leaves the hidden .data_version folder, and it uses that file to determine when it needs to run migrations. The same steps will trigger with the pex as well, so this is an issue with Kolibri itself rather than the Mac app. Could you file a Kolibri issue about this?

Here's the issue I filed @kollivier https://github.com/learningequality/kolibri/issues/6519

Thanks! I'm going to close this issue now that it has been filed on Kolibri.


Add Statistics Estonia as a source in sdmx/sources.json.

Please find attached a pull request adding a new source: Statistics Estonia uses the same server as the OECD (SDMX 2.0 and JSON).
Cheers,
Bertrand

@bertrandmarc excellent, thanks for bringing this new source!
For each source, we also need the following:

doc/sources.rst: add a section following the example of the others. In this case, since you (helpfully) note that the server software is similar to OECD, then the same warnings and caveats can be added.
sdmx/tests/test_sources.py: add a test class to test this source. Since this is a JSON endpoint, we can't test structure endpoints; so perhaps add configuration that does a data query to check this works.

And for any PR:

doc/whatsnew.rst: add a line describing the improvement made to the code, linking to this PR, following the example of existing lines.

I think (1) and (3) are straightforward, so please go ahead if you like—or, please tell me if this feels too difficult.
(2) requires some knowledge of pytest and the test suite in this package. So, I can add some commits to this branch to try to address it.

Thanks again @bertrandmarc!

@khaeru Sorry I couldn't reply before. I would have gladly helped with (1) and (3), but I usually am only available on week-ends.
Thanks for adjusting and merging so quickly.


Real life airport layouts

There's only a demo airport layout included; it would be nice to include multiple real-life airports. The format is a bit arcane, though.

@Diastro : Wow, you´re quick. I just thought that something went wrong when I didn´t see my pull request any longer just two minutes after having added it. Thanks for accepting.

I've added a PR for adding Amsterdam Schiphol. The scale and coordinates should be pretty accurate.
#95

Hi, can i add an airport? I created EDDM but have no exp. with github or any other colaborate project, for that matter.

 Don´t recall exactly which one - just search for any other airport, e.g. EDDH
Commit all your changes to your local repository and push it to your github repo
Create a merge request on Github so it can be added to the main project

Some details might be missing in my explanation, but you should be able to start with this.

The file is assets/scripts/airports.js - just search for "airport_load("
and add "EDDM" (it should be obvious). Thanks @harp71!
On Tue, Apr 21, 2015 at 7:54 AM, larsen0815<EMAIL_ADDRESS>wrote:

Yes, it is quite simple:

Fork this project and checkout from your accont to your local machine
Add the files
You will have to change one file so EDDM gets included. Don´t recall
exactly which one - just search for any other airport, e.g. EDDH
Commit all your changes to your local repository and push it to your
github repo
Create a merge request on Github so it can be added to the main
project

Some details might be missing in my explanation, but you should be able to
start with this.
—
Reply to this email directly or view it on GitHub
https://github.com/zlsa/atc/issues/3#issuecomment-94829327.

I've updated EHAM with better coordinates, new arrivals/departures (including KLM, woot!). Please review. #96

Just as a status update on this issue: I have updated KSFO, KJFK and KMSP with precise lat/long for all runways and fixes including key points for STAR routes. See #143, #148, and #168.
Here are the most useful resources I used in case others would like to add new airports:

airnav.com for runway endpoint lat/long and layout - e.g. https://www.airnav.com/airport/KSFO
flightaware.com for airport layout, ILS and STAR routes and fix names - e.g. http://flightaware.com/resources/airport/KSFO/procedures
opennav.com for lat/long of fixes: e.g. http://opennav.com/navaid/US/SFO/SAN+FRANCISCO

Are there suggestions for new airports?

I'm not sure if they would make a good fit for this game, but the thing with airports like SXM and HKG is that take-off and landing parameters are to be taken pretty serious as to not slam into the mountain and things..

I'm not sure if they would make a good fit for this game, but the thing with airports like SXM and HKG is that take-off and landing parameters are to be taken pretty serious as to not slam into the mountain and things..

Indeed, the climbout at SXM better include a right turn.  :) Not sure we are at that point for simulation purposes yet!

Is EDDM going to be merged in the main project?

@harp71 Have you sent a pull request with EDDM?

I did now (again), i thought i did then!?
2015-10-23 13:53 GMT+02:00 Glenn Langford<EMAIL_ADDRESS>
@harp71 https://github.com/harp71 Have you sent a pull request with
EDDM?
—
Reply to this email directly or view it on GitHub
https://github.com/zlsa/atc/issues/3#issuecomment-150552382.

Merged, thanks @harp71.

I want to mess around making missions using airport json files on my fork. I copied ksfo.json, renamed it to "msfo" and added "msfo" to the list in airport.jsbut the game stops loading on msfo.json. Can anyone help?

@sixeyeco There is a mising comma after the MOLEN SID. That's probably why it doesn't work.

Did you change the data inside rhe Jason as well? It needs to be the new
airport icao there too.
Am 31.01.2016 16:52 schrieb "Chris"<EMAIL_ADDRESS>
I want to mess around making missions using airport json files on my fork.
I copied ksfo.json, renamed it to "msfo" and added "msfo" to the list in
airport.jsbut the game stops loading on msfo.json. Can anyone help?
—
Reply to this email directly or view it on GitHub
https://github.com/zlsa/atc/issues/3#issuecomment-177531950.

@sixeyeco
The file name isn't the only thing that needs to be changed. Go into the file, and change the tags inside.
The one I remember that you definitely need to change is the icao tag.
The way I remember how it worked is that it uses the filename to load the data and uses the ICAO tag to reference to the loaded data.

@psycho202  Thank you for the quick reply. I forgot to mention that I edited the ksfo.json to
  "name": "Mission 1 (KSFO)",   "level": "hard",   "radio": "msfo",   "icao": "MSFO",
Can you think of anything else I've not done or have done incorrectly?

If the filename AND ICAO have the same name I'm clueless at the moment
Am 31.01.2016 17:03 schrieb "Chris"<EMAIL_ADDRESS>
@psycho202 https://github.com/psycho202 Thank you for the quick reply.
I forgot to mention that I edited the ksfo.json to
"name": "Mission 1 (KSFO)",
"level": "hard",
"radio": "msfo",
"icao": "MSFO",
Can you think of anything else I've not done or have done incorrectly?
[image: image]
https://cloud.githubusercontent.com/assets/179496/12703149/a77a7c9e-c7f0-11e5-9623-b3d99dc046f9.png
[image: image]
https://cloud.githubusercontent.com/assets/179496/12703151/be2bb958-c7f0-11e5-9887-3c51a3abab19.png
—
Reply to this email directly or view it on GitHub
https://github.com/zlsa/atc/issues/3#issuecomment-177535598.

What is a mission?
Am 31.01.2016 17:50 schrieb "harP"<EMAIL_ADDRESS>
If the filename AND ICAO have the same name I'm clueless at the moment
Am 31.01.2016 17:03 schrieb "Chris"<EMAIL_ADDRESS>
@psycho202 https://github.com/psycho202 Thank you for the quick reply.
I forgot to mention that I edited the ksfo.json to
"name": "Mission 1 (KSFO)",
"level": "hard",
"radio": "msfo",
"icao": "MSFO",
Can you think of anything else I've not done or have done incorrectly?
[image: image]
https://cloud.githubusercontent.com/assets/179496/12703149/a77a7c9e-c7f0-11e5-9623-b3d99dc046f9.png
[image: image]
https://cloud.githubusercontent.com/assets/179496/12703151/be2bb958-c7f0-11e5-9887-3c51a3abab19.png
—
Reply to this email directly or view it on GitHub
https://github.com/zlsa/atc/issues/3#issuecomment-177535598.

@harp71 Yeah, I'm really scratching my head. Thanks though. I'm looking at using the airport files to create scenarios. By hard coding some variables and setting others to "heinous" I get a real workout. I know I could simply use time warp but I'd rather experience nightmare workloads in "real time". The advantage of using an airport file for this is that it would be immediately available as a preset, rather than having to wait until we see options for difficulty.
It's down and dirty, I know, but I'm anxious for some variation. For now, all I've really done it so vastly increase the departures, making the early part of the game much more challenging. I think there's more arrivals but it's hard to tell. I play this version of KFSO on my fork, I just wanted to revert that file back to stock and create a separate file for the "mission". Give it a go?
Comparing files:

Sorry I missed your comment @Fechulo , that was it. Thanks!!!!

Hi all!
I already prepared one of the Polish airports, Warsaw Chopin Airport (EPWA). Because that's my first airport I decided to announce that before sending pull request. I'd like invite you to perform some functional tests, because I'm not expertise in development.
That's first version/release of that airport so many things is missing, like:

TMA boundary
Restricted zones
Military traffic
SAR traffic

Currently primary issue that I have with that airport is fact that by default game is setting arrivals to use the best runway according to wind condition which is constants. EPWA is using system of preferred runways for arrivals and departures and I don't know how to achieve that.
New airport is available here: https://github.com/kamikazestar/atc
All ideas, comments and advice will be appropriated.

@kamikazestar The airport looks really good so far! For further discussion regarding EPWA I would advise opening a new issue. At the moment, there's no way of telling the game what the preferential runway system is. The best way to do this is changing the winds, so that the game chooses the correct one. For example, if runway 33 was used for arrivals, I would suggest setting the winds to 330° or something similar.
I hope this helps!

The ATC repository is being migrated to it's new home at https://github.com/openscope/openscope,
and thus, all issues are being closed. If this is still an issue with the latest version of the sim
(accessible at http://www.openscope.co), or is a feature you still think we are lacking,
please reopen the issue at the new repo.
Please note that the vast majority of these issues have been copied to the new repository, or else are covered by other issues created there. See the below screenshot for what it looks like when your issue is known in the new repo:

Thank you!
Closing this issue.


Fixed merging of dictionaries

Dictionaries can be also Descriptor classes now.

Merged, make sure to add it to develop too!