Match type forgets kindness of variable extending wildcarded trait

Compiler version
3.4.0, 3.4.1-RC1
Minimized code
sealed trait Wrap[A <: AnyKind]

trait Foo[T <: AnyKind, X[_ <: T]]

trait Bar[T <: AnyKind, X[_ <: T]] {

  def foo: Foo[
    Wrap[? <: T],
    [x <: Wrap[? <: T]] =>> x match { case Wrap[a] => X[a] }
  ]

}

object Qux extends Bar[Any, [_] =>> Unit] {

  override def foo: Foo[
    Wrap[? <: Any],
    [x <: Wrap[? <: Any]] =>> x match { case Wrap[a] => Unit }
  ] = ???

}

Output
error overriding method foo in trait Bar of type =>
  Foo[Wrap[?],
    [x <: Wrap[?]] =>>
      x match {
        case Wrap[a] => Unit
      }
  ];
  method foo of type =>
  Foo[Wrap[?],
    [x <: Wrap[?]] =>>
      x match {
        case Wrap[a] => Unit
      }
  ] has incompatible type

Explanation
===========
I tried to show that
  =>
  Foo[Wrap[?],
    [x <: Wrap[?]] =>>
      x match {
        case Wrap[a] => Unit
      }
  ]
conforms to
  =>
  Foo[Wrap[?],
    [x <: Wrap[?]] =>>
      x match {
        case Wrap[a] => Unit
      }
  ]
but none of the attempts shown below succeeded:

  ==> =>   Foo[Wrap[?],     [x <: Wrap[?]] =>>       x match {         case Wrap[a] => Unit       }   ]  <:  =>   Foo[Wrap[?],     [x <: Wrap[?]] =>>       x match {         case Wrap[a] => Unit       }   ]
    ==> Foo[Wrap[?],   [x <: Wrap[?]] =>>     x match {       case Wrap[a] => Unit     } ]  <:  Foo[Wrap[?],   [x <: Wrap[?]] =>>     x match {       case Wrap[a] => Unit     } ]
      ==> [x <: Wrap[?]] =>>   x match {     case Wrap[a] => Unit   }  <:  [x <: Wrap[?]] =>>   x match {     case Wrap[a] => Unit   }
        ==> x match {   case Wrap[a] => Unit }  <:  x match {   case Wrap[a] => Unit }
          ==> Any  <:  x match {   case Wrap[a] => Unit }  = false
          ==> [a] =>> scala.runtime.MatchCase[Wrap[a], Unit]  <:  [a <: AnyKind] =>> scala.runtime.MatchCase[Wrap[a], Unit]
            ==> type bounds [ <: AnyKind]  <:  type bounds []
              ==> AnyKind  <:  Any  = false

The tests were made under the empty constraint

Expectation
This should compile. Notably, the 3rd and 4th lines in the trace show equivalent types (==> T <: T).
Replacing the the bound x <: Wrap[? <: T] with x <: (Wrap[? <: T] & Any) causes the code to compile, even though Wrap[? <: T] is always a subtype of Any (and so Wrap[? <: T] & Any should be equivalent to Wrap[? <: T]).

Notably, the 3rd and 4th lines in the trace show equivalent types (==> T <: T).

They show equivalent types because you wrote them equivalently, while being in different classes.  If we write the program as:
sealed trait Bx[AK1 <: AnyKind]
trait C1[AK2 <: AnyKind, X[_ <: AK2]]
trait C2[AK3 <: AnyKind, Y[_ <: AK3]]:
           def mm: C1[Bx[? <: AK3], [x <: Bx[? <: AK3]] =>> x match { case Bx[a] => Y[a] }]
class C3 extends C2[Any, [_] =>> Unit]:
  override def mm: C1[Bx[? <: Any], [y <: Bx[? <: Any]] =>> y match { case Bx[b] => Unit }] = ???

Then the trace ends as such:
==> x match { case Bx[a] => Unit } <: Unit  <:  x match { case Bx[b] => Unit } <: Unit
  ==> Unit  <:  x match { case Bx[b] => Unit } <: Unit  = false
  ==> [a] =>> case Bx[a] => Unit  <:  [b <: AnyKind] =>> case Bx[b] => Unit
    ==> [ <: AnyKind]  <:  []
      ==> AnyKind  <:  Any  = false

There's a combination of things that go wrong, and they go all the way back to recording constraints and fixing binding infos.  Both a and b (in my renamed version) are bindings.  When we get to indexPattern we change a's info frmo <: AnyKind to <: AK3.  Later that AK3 is correctly substituted, by ASF, by the Any type argument in C3's parent definition.  However, when indexPattern gets to b, it hasn't recorded that b has been narrowed from <: AnyKind to <: Any, because it (still) thinks that Any is the top kind.  So it leaves it as <: AnyKind and that's where the subtype check fails.


docs: fix some samples using outdated syntax

It looks like when the toOutputs/toInputs syntax was changed in 0.9.0, the sample projects were all updated but a few instances in the API documentation were missed.

Added a second commit for the MIDI.File => MIDIFile rename.

Thanks. Because of DocC limitations around Swift Packages, the documentation for each module is duplicated in the main MIDIKit module. I have a script that auto-updates it that I can run to propagate the changes.

Ah, that makes sense! In the future if I edit anything else, I can submit a PR that only touches the main module then.

No this was correct - editing the individual modules is what we want, and they get mirrored into the main module after.

Oh, okay! Perfect then


loaded year and month-year values not displayed in correct in date JS widget

Seen with default values.
Probably the same with calculated and loaded-from-record values.

caused by format option provided

In 4.51.0, the full loaded date was shown which was better, but still had these bugs:

yyyy and yyyy-mm format was not taken into consideration
the picker opened up at todays year (and month)

[ ] bug is also present in datetime picker


Can't add integration (module 'homeassistant.components.mqtt' has no attribute 'async_wait_for_mqtt_client')

Describe the bug
After installation with HACS and a HA restart I tried to add the integration and got a "500 internal server error".
To Reproduce
Just go to config/integrations and try to add the integration.
Expected behavior
The integration should be added.
Screenshots
N/A
Log information
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: aiohttp.server
Source: custom_components/robonect/config_flow.py:139
Integration: Robonect (documentation, issues)
First occurred: 23:29:44 (1 occurrences)
Last logged: 23:29:44

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 148, in post
    return await super().post(request)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
    result = await method(view, request, data, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 71, in post
    result = await self._flow_mgr.async_init(
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 840, in async_init
    flow, result = await task
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 868, in _async_init
    result = await self._async_handle_step(flow, flow.init_step, data)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
  File "/config/custom_components/robonect/config_flow.py", line 540, in async_step_user
    return await self.async_step_connection_methods()
  File "/config/custom_components/robonect/config_flow.py", line 139, in async_step_connection_methods
    if not await mqtt.async_wait_for_mqtt_client(self.hass):
AttributeError: module 'homeassistant.components.mqtt' has no attribute 'async_wait_for_mqtt_client'

Additional context
Home Assistant 2023.4.6
Frontend 20230411.1 - latest
The MQTT component is configured in config.yaml and is using an mosquitto server on the same machine.

Hi, is there an option that you upgrade to HA 2023.5 or higher?

I updated my HA instance to the current version 2023.6.1 (phew!) and was able to add the integration flawlessly. Sorry for the confusion caused and thanks for the fantastic work!

Good news, thanks for the feedback @Sonderstorch !


Clarify semantics of default_action

Allow default_action to be omitted.

Fixes #160

Looks good, but the PR also has some stuff about unions in it.

That's because I set my editor to delete white spaces as someone (you suggested). I added a comment in the pull request explaining.
I can go back and fix it up, but perhaps we can let this slide?

Not a real problem.

Yeah, it took me forever to figure out what was going on. I carefully created two pull requests and kept getting these changes to the unions text. So I deleted them (you may have noticed), thinking I was really a Git-idiot, and maybe I had to start fresh. Then I realized my editor was now making these changes on save.
Sigh. At least all the trailing whitespace is gone so this won't be an issue going forward.


MINOR: fix broker compatibility tests

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@mjsax @guozhangwang @dguy
link for passing system test

updated this

LGTM. Merged to trunk.


Update getting-started/react.md

modified type discription of createContext

Close as a duplication of #67


Sensu Core Refactoring

This PR includes a Sensu core restructure/refactor. Many large methods have been broken up, making them much easier to understand/follow and test. The data flow is now better represented in the code and it is more apparent, process -> filter -> mutate -> handle. The extension API version was also bumped, introducing filter extensions.
Most of the core methods have been documented with yardoc, only the API remains:
Files:          15
Modules:        10 (   10 undocumented)
Classes:         8 (    7 undocumented)
Constants:       6 (    0 undocumented)
Methods:       141 (    8 undocumented)
 84.85% documented

Trello card: https://trello.com/c/dymqkvU6/4-as-a-maintainer-i-would-like-to-refactor-the-sensu-core-code-base

EXCITING!


User Login and Register

@akshitagupta15june I have worked on the user login and register API.
It is working and functional, please find attached images of the endpoints in action on postman

I look forward to working on another issue, probably an Admin feature

Thank you.
@akshitagupta15june what other feature needs to be worked on at the backend.
Yesterday your said the pets would be added via the admins so we need admin features like, dashboard, CRUD functionality for adding pets (but this is already in the codebase), admin profile and any other feature


Add support log driver for container

Implement: https://github.com/docker/swarmkit/issues/964
Do the following thing:

Add ContainerHostConfigSpec in proto
Support log-driver for service

Signed-off-by: Xian Chaobo<EMAIL_ADDRESS>

[Current coverage][cc-pull] is 53.79%

Merging [#1026][cc-pull] into [master][cc-base-branch] will increase coverage by 0.12%

@@             master      #1026   diff @@
==========================================
  Files            75         75
  Lines         11633      11638     +5
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6244       6261    +17
+ Misses         4494       4485     -9
+ Partials        895        892     -3

[][cc-pull]

Powered by Codecov. Last updated by [b93f47e...64ab4bb][cc-compare]
[cc-base-branch]: https://codecov.io/gh/docker/swarmkit/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/docker/swarmkit/compare/b93f47e10eadc54eae9414712051ed8e24a0f0fc...64ab4bbdca016211476a5b1330f3ef78cfd995b6
[cc-pull]: https://codecov.io/gh/docker/swarmkit/pull/1026?src=pr

@jimmyxian Thanks for the PR.
At this time, we are being cautious about adding container-oriented log driver support. Binding the log driver to container execution really doesn't make a whole of sense, since this is more of an infrastructure concern.
Correct me if I'm wrong, but the reason that log drivers are in container creation is that it allows one to orchestrate log drivers. The other component is having control over which containers (services) are directed to which log drivers.
We also have the issue that log drivers need to be updated to support service metadata for log entries, so that log drivers can aggregate output from the tasks.
What we'd probably like to do here is allow one to configure this by node, then allow log drivers to be selected for output of a particular service. The log driver requirements may even be at the service level.

@stevvooe Thanks for the review. Agree that log driver in swarmkit should be at the service level. I will rethink about it.
Close the PR and will reopen if I have a good way to solve this.


Testing: helper methods shouldn't fail tests directly

There are numerous places where we use test "helper" functions that directly fail tests (e.g. t.Fatalf(...) when an assertion fails. This produces error reports where the source of such failures appears to be the helper function-- which is not the real source of the failure. This necessitates careful reading of the resulting stack trace where it could, possibly, be avoided otherwise.
To whatever extent is possible, we should seek to identify and remediate any places in test code where this is occurring.

if we have control over the helper functions then it seems like we should be able to have that code walk back up the stack a few steps and print the non-helper-func's src/line-num.

/cc @jberkhahn
this is probably taken care of by the test rewrites

/remove-lifecycle rotten
/lifecycle frozen


Mythical Keyblades as relics or rare melee weapons!

https://steamcommunity.com/sharedfiles/filedetails/?id=2386352416
an old mod that hasn't been updated, but perhaps retextures for melee weapons, if its not too much trouble Mr.Streamer.
Many Thanks, Big Gay At Large.

Cool mod, but definitely more suited to someone like Mlie resurrecting the original and I have no idea about the source material, sorry!


Help understanding Quiver output

Hi, I ran Quiver in --diploid mode and it produced a VCF with variants but without any sample field. I.e no GT, GQ, etc. I was expecting a single sample field with (presumably diploid) GT since it was run in diploid mode. Is what happened the expected behavior for quiver (find variants but not genotype)?

Given the latest scientific insights, I recommend using GATK or DeepVariant for SNV calling. But as you pointed out, your data is ancient, because it's from RSII. In general, I do not recommend putting too much faith into the VCFs produced by variantcaller, because they are not spec compliant and have a few underlying problems.
That said, we can't provide in-depth support for outdated software on pbbioconda. Please contact PacBio directly. Sorry that I can't help you further.


Difficulty based sets do not properly get unloaded when switching single player games

Confirm that this is still a thing after the changes in recent versions.


fix: Project filtering is disabled

Description of change
I noticed that this endpoint is not active, so I clarify that to the user.

Since the boilerplate is already there, the commented code could be kept until the feature is picked up again... 🤔
But sure, I can just remove it. Your call.

I'm a bit torn, but I say lets just get rid of it for now when you get a chance, there is some boilerplate but not much and it may change in the future as well.


[QUESTION] Examples in API docs when not using a pydantic model

Hello, my question is, can I declare examplesI want to appear in the documentation when I'm not using a pydantic model?
For example, when using pydantic, the docs syas we can do it with
    class Config:
        schema_extra = {
            "example": {
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            }
        }

Problem is: I have an endpoint that looks something like this:
@app.post("", response_model=Dict[str. Any], status_code=200)
async def evaluate(parameters: Dict[str, Any]) -> Dict[str, Any]:
     ...

Even though I'll except every json as valid, I still want to include some examples.
Is there any way I can accomplish this?

[ :heavy_check_mark: ] I added a very descriptive title to this issue.
[:heavy_check_mark: ] I used the GitHub search to find a similar issue and didn't find it.
[:heavy_check_mark: ] I searched the FastAPI documentation, with the integrated search.
[ :heavy_check_mark:] I already searched in Google "How to X in FastAPI" and didn't find any information.
[ :heavy_check_mark:] I already read and followed all the tutorial in the docs and didn't find an answer.
[ :heavy_check_mark:] I already checked if it is not related to FastAPI but to Pydantic.
[:heavy_check_mark: ] I already checked if it is not related to FastAPI but to Swagger UI.
[:heavy_check_mark: ] I already checked if it is not related to FastAPI but to ReDoc.
[ :heavy_check_mark:] After submitting this, I commit to one of:

Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
Implement a Pull Request for a confirmed bug.

You use responses parameter.

@app.post("",
    responses={
        200: {
            "content": {
                "application/json": {
                    "example": {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                   }
                }
            },
        },
    },
)
async def evaluate(parameters: Dict[str, Any]) -> Dict[str, Any]:
     ...

I feel like the question wants this approach instead:
from fastapi import FastAPI, Body
from typing import Dict, Any

app = FastAPI()

@app.post("/", response_model=Dict[str, Any], status_code=200)
async def evaluate(parameters: Dict[str, Any] = Body(..., example={"name": "potato"})) -> Dict[str, Any]:
     ...

Very useful, both! Thank you so much.

Thanks for the help here everyone! :clap: :bow:
Thanks for reporting back and closing the issue :+1:

Thanks for the help here everyone! :clap: :bow:
Thanks for reporting back and closing the issue :+1:


net: lwm2m: Fix Server Object SSID access

Bug Fix: Server Object SSID access rights

Server Object SSID should only have Read access.
LightweightM2M-1.1-int-256 conformance test validate that write operation to SSID should return error.
Overwrite SSID affect dead block for lwm2m engine and only reset will heal.
Fix add bootstrap overwrite access for Security and Server object when bootstrap is active.

@SeppoTakalo @VeijoPesonen @jarlamsa  @rlubos Please review this Bug fix.

@rlubos I fix typos at Commit message.


Hourly and daily entities showing impossible temps.

It seems to have happened overnight; I've been on the same (current) version as of a week or so now and the temps have worked fine until this morning.

It seems like this may have been from the API being unavailable during when it was called for an update (indicated by the logs). A quick restart cleared it up, but there might be a better way to handle this on API non-availability. Perhaps just not updating and showing an error instead?

I've seen similarly large temps and I use Fahrenheit as well. I noticed that if I did the C->F conversion on the temperature in F, I would get the value displayed in Pirate Weather. For example, if it was 70 F outside, I would see values of 158 F in the UI, which would be the correct value if it was 70 C. Maybe there are conditions where the temperatures can get double converted?

I just set mine up and I'm seeing the same. Setting units to C makes it show the actual temperature in F. I set the units to US when I configured the integration so I'm not sure why it's acting like the temp it's getting is in C then converting it to F.

Apologies for missing this- I was focused on some API changes, so just catching up now.
This is a pretty strange problem, and I'm wondering if you've noticed it again since this? The "units" on the configuration screen are only used for the sensors, since the coordinator entity should always be getting the data from the API in SI units, with HA doing the rest of the conversion? If it seems related to the downtime, maybe HA is doing something to try to guess the correct unit and getting it incorrect?
I pushed out v1.3 this morning as a pre-release, which switches to the new HA system for weather forecasts. Let me know if you have a chance to update to this, since I'm thinking it might help here.

Stable version of 1.3 has been released. Hopefully it helps with this issue but if it happens again feel free to reply.

Haven't heard anything on this issue in over a month so I'm going to close it for now. If it pops up again feel free to re-open or create a new issue.


Internal server error on 'files' endpoint for certain mods

When I access /api/addon/<ID>/files endpoint for certain mods, I'm getting a "500 Internal server error" status, with JSON content telling me pretty much "something went wrong". So far, I was unable to find any connection between the mods in question.
Affected mods (probably incomplete list, just the ones I stumbled upon):

Just Enough Items (JEI): 238222
Forestry: 59751
Ender IO: 64578
OpenComputers: 223008

I can reproduce this. I'll look into it in a few hours.

So, any progress on this?

bump ?
any progress after almost a month?
i hope this gets resolved soon

i guess this counts as necro.. maybe..
but i want to link my own use of the curseforge api here.. inspired by this tool
i am not running into any issues with the linked mod ids either
https://github.com/NikkyAI/alpacka-meta
i hope this helps someone


Lovelace Card Bug

If any of flights under sensor.flightradar24_additional_tracked returns no data then lovelace card show nothing including the other tracked flights with enough info.
Ex:
Add 4 flights. Lovelace card shows all. If 1 of the flights returns no info (not enough attributes) then also the other 3 flights is not shown on the card.

@cataseven Hi
I have fixed the markdown. Please try it

Thank you so mueh. Tested and done.

@cataseven Yes, the markdown works for this also see this part
...
{% else%}
          <ha-icon icon="mdi:airplane"></ha-icon>{{ flight.flight_number }} - {{ flight.callsign }} - {{ flight.tracked_type }}
          {% endif%}{% endfor %}

I wrote my own markdown card so I get the bug I think. However for a common solution I wrote this automation.
Maybe you can update your code as "If tracked_type goes from live to schdule then remove the flight from FlightRadar24 Additional tracked sensor"
alias: Action (Delete Flight Number)
description: ""
triggers:
  - event_type: state_changed
    trigger: event
conditions:
  - condition: template
    value_template: >-
      {{ trigger.event.data.new_state.domain == 'device_tracker' and
      trigger.event.data.new_state.attributes.tracked_type == 'schedule' and
      trigger.event.data.old_state.attributes.tracked_type == 'live'}}
actions:
  - action: text.set_value
    metadata: {}
    data:
      value: "{{ trigger.event.data.old_state.attributes.flight_number }}"
    target:
      entity_id: text.flightradar24_remove_from_track

it was requested to add live and schedule flights to track


Proovread error

Dear all,
I'm trying to run proovread with the following job array code (~1000 run in order to maximize the parallelization). However the job failed and I don't manage to identify why, the log is after the script. If you have an idea it would be fantastic !
Thanks Jeremie
----------------------Script-------------------------------------------------------
#!/bin/csh
#PBS -l mem=23000mb
source /usr/share/modules/init/csh
module load java
setenv PATH ${PATH}:/home12/caparmor/bioinfo/softs/sources/proovread/bin
setenv PATH ${PATH}:/home12/caparmor/bioinfo/softs/sources/proovread/util/SeqChunker/bin
setenv PERL5LIB /home12/caparmor/bioinfo/softs/perlmodules/lib/perl5/site_perl/5.10.0/:/home12/caparmor/bioinfo/softs/perlmodules:/home12/caparmor/bioinfo/softs/perlmodules/lib/perl5/5.10.0/x86_64-linux-thread-multi/
setenv PATH ${PATH}:/home12/caparmor/bioinfo/softs/sources/blast/ncbiblast+/2.2.29/bin/:/home12/caparmor/bioinfo/softs/sources/samtools/1.3.1/samtools/bin
setenv TMP /home/trash/Users/5_days_max/bioinfo
setenv TMPDIR /home/trash/Users/5_days_max/bioinfo
#going into result directory
cd /work/galaxy/p_margaritifera/genome/pacbio_manip/pacbio_corrected/
set read_dir=/work/galaxy/p_margaritifera/genome/illumina_40x_normalized
set data_dir=/work/galaxy/p_margaritifera/genome/pacbio_manip/40mb_chunk_fastq
proovread -l $data_dir/$PBS_ARRAY_INDEX.fastq -s $read_dir/PE_genome_40x_cat.fastq -p $PBS_ARRAY_INDEX >>& /work/galaxy/p_margaritifera/genome/pacbio_manip/log_files/$PBS_ARRAY_INDEX.log
------------------------------------log--------------------------------------------------------------
[Fri Sep  9 18:03:01 2016] Running proovread-2.13.12 under Perl 5.10.0
[Fri Sep  9 18:03:01 2016] Reading core config
[Fri Sep  9 18:03:01 2016] Reading command line options
[Fri Sep  9 18:03:01 2016] Logging parameter to 98/98.parameter.log
[Fri Sep  9 18:03:01 2016] Checking short read files
PE_genome_40x_cat.fastq
Detected FASTQ format
Estimated short read length: 123 +-4
#------------------------------------------------------------------------------#
Estimating short read quality offset failed.
See 'sr-qv-offset' in the advanced section for manual overwrite
Exited at 'main'
'/home12/caparmor/bioinfo/softs/sources/proovread/bin/proovread', line 469
Nb if I well understood other responses about the quality offset this should not be the problem.

But I do think that the sr-qv-offset is the actual problem. Try running proovread with the additional parameter --sr-qv-offset 33/64 specified.

Thank you for your rapid answer, your were right every things lloks fine now and is running.
Jeremie


Function calling only considers functions in the first tool?

Description of the bug:
Using gemini-1.5-flash.
Prompt: "What is the weather today?"
Tool configuration 1:
[
  Tool(
    functionDeclarations: [
      FunctionDeclaration(
        'fetchWeatherForecast',
        'Returns the weather in a given location.',
        Schema(
          SchemaType.object,
          properties: {
            'latitude': Schema.number(
              description: 'Latitude of the weather observation and forecast',
            ),
            'longitude': Schema.number(
              description:
              'Longitude of the weather observation and forecast',
            ),
          },
          requiredProperties: ['latitude', 'longitude'],
        ),
      ),
    ],
  ),
  Tool(
    functionDeclarations: [
      FunctionDeclaration(
        'fetchGpsLocation',
        'Returns the latitude and longitude of the current GPS location.',
        Schema(SchemaType.string),
      ),
      FunctionDeclaration(
        'fetchHeartRate',
        'Returns the current heart rate measurement.',
        Schema(SchemaType.integer),
      ),
    ],
  ),
]

Response 1: I need to know your location to get the weather forecast. Can you tell me your latitude and longitude?
Tool configuration 2 (switching the order of the two tools):
[
  Tool(
    functionDeclarations: [
      FunctionDeclaration(
        'fetchGpsLocation',
        'Returns the latitude and longitude of the current GPS location.',
        Schema(SchemaType.string),
      ),
      FunctionDeclaration(
        'fetchHeartRate',
        'Returns the current heart rate measurement.',
        Schema(SchemaType.integer),
      ),
    ],
  ),
  Tool(
    functionDeclarations: [
      FunctionDeclaration(
        'fetchWeatherForecast',
        'Returns the weather in a given location.',
        Schema(
          SchemaType.object,
          properties: {
            'latitude': Schema.number(
              description: 'Latitude of the weather observation and forecast',
            ),
            'longitude': Schema.number(
              description:
              'Longitude of the weather observation and forecast',
            ),
          },
          requiredProperties: ['latitude', 'longitude'],
        ),
      ),
    ],
  ),
]

Response 2:
I am sorry, I cannot fulfill this request. I do not have access to weather information.
Artificially unifying the two tools into a virtual one, merging all functions under that:
[
  Tool(
    functionDeclarations: [
      FunctionDeclaration(
        'fetchWeatherForecast',
        'Returns the weather in a given location.',
        Schema(
          SchemaType.object,
          properties: {
            'latitude': Schema.number(
              description: 'Latitude of the weather observation and forecast',
            ),
            'longitude': Schema.number(
              description:
              'Longitude of the weather observation and forecast',
            ),
          },
          requiredProperties: ['latitude', 'longitude'],
        ),
      ),
      FunctionDeclaration(
        'fetchGpsLocation',
        'Returns the latitude and longitude of the current GPS location.',
        Schema(SchemaType.string),
      ),
      FunctionDeclaration(
        'fetchHeartRate',
        'Returns the current heart rate measurement.',
        Schema(SchemaType.integer),
      ),
    ],
  ),
]

The model properly asks first for the location tool for the lat / lon coordinates, and then with a second round of call (where I pass the location function call result down) it properly asks to call the weather function with the proper GPS coordinates.
Respnose: The weather today is clear and the temperature is 25 degrees Celsius. The wind is blowing from the southwest at 2 meters per second.
Actual vs expected behavior:
I'd expect to be able to keep the two tools apart for extensible software architecture. So far I'm aiming for 8 tools, many of those have multiple functions.
Any other information you'd like to share?
I peeked at the code and it looks to me that ultimately a REST API call is made. The _generateContentRequest seems to serialize the tools OK (by looking at it) if (tools != null) 'tools': tools.map((t) => t.toJson()).toList(), https://github.com/google-gemini/generative-ai-dart/blob/8a58d778e2ef254901e3319f238b147788211ecf/pkgs/google_generative_ai/lib/src/model.dart#L333 so I don't know yet where's the problem. Maybe in my code?

Correction: this is with Gemini 1.5 Flash, I'll experiment with Pro again, possibly file another issue (cannot deal with more than 8 functions)

Something which could affect this bug: while I was converting over the code to use https://pub.dev/packages/firebase_vertexai I got the error Unable to submit request because function parameters schema should be of type OBJECT. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/function-calling. The two affected functions indeed have non object SchemaType, because the heart rate is an integer (SchemaType.integer) and I declare the location as a SchemaType.string which would just contain the two coordinates. And neither of the functions have any input parameters.


improve docs

Hi @Sourabhkale1,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:
https://www.lightbend.com/contribute/cla


gadget not showing

Can't seem to find the gadget and I don't see anything in the logs.  using episerver 10.5

Same here, doesn't show up in EPiServer 10.8.

I solved my issue by adding this line:

It was not added during Install-package.

Hi @Konrad77 ,
Where did you add that section? I've tired adding it web.config -> under  <episerver.shell> but it doesn't seem to do any difference.

I also put it there @DanValea no luck on my side.  I also tried using BVNNetwork.EPi404

I'm having the same issue, I've got no idea about where to open the Redirect Manager
Running  Episerver 11.2 + BVN vers: 10.1.1 - Clean project default Allow MVC.
Can't find the Gadget in the side menu like the i can with the default gadgets. - I checked plugin settings, its installed.

I have updated readme with required configuration:
https://github.com/Geta/404handler#configuration
There is a Web.config transform which should add the required configuration, but sometimes NuGet does not:
https://github.com/Geta/404handler/blob/master/src/web.config.install.xdt

The solution from @Konrad77 it worked for me, thanks.


Update create-vite-plugin-web-extension to use v2

Remember to:

Make sure manifest.json and package.json files are added to watch list
Downgrade to vite 3 unless #67 is finished

Upgraded templates:

[x] vanilla-js #76
[x] vanilla-ts #76
[x] vue-js #76
[x] vue-ts #76
[x] react-js - blocked by #67, the react-swc plugin requires vite 4 #82
[x] react-ts - blocked by #67, the react-swc plugin requires vite 4 #82

Alright, react has been updated to use v3 (which has vite 4 support), along with the rest of the templates. Now all templates will use v3.


Fix clang URL, only available via HTTPS now

Adding -L to curl also works ...
Without this, the toolchain build silently fails.

@swift-ci please smoke test


skywalking: set peer with tag value of peer.address

Signed-off-by: wbpcode<EMAIL_ADDRESS>Commit Message: skywalking: set peer with tag value of peer.address
Additional Description:
Peer is a important attribution of skywalking span. But in the previous skywalking tracer's implementation, it never be set correctly. This PR will set peer of skywalking span with that tag value of peer.address.
This PR consist of two part:

Set peer.address tag when we calling the finalizeUpstreamSpan.
Set peer of skywalking span base on the value of peer.address tag.

Risk Level: Low.
Testing: Added
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

cc @wu-sheng @Shikugawa

@Shikugawa is busy now. Could you take a look when you have free time? cc @lizan Thanks. 😄

Thanks for helping.


[Feature] Enable/Disable Group

Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
I would like to be able to disable/enable the entire group, not just one combo at a time.
Describe alternatives you've considered
We can disable/enable combo by combo.

Agreed. It would be useful to be able to disable an entire group.

Thanks for considering my request !


Bugfix/back button crash

@JerryNixon found the root cause. The args.handled=true every time BackRequested fires is the error. in the case where we're at top level, we won't actually end up handling anything, so we should let the OS take care of it... right?

Ah, yeah. So consider that it is common for an app to have more than one Frame. That means more than one NavService. The library already supports this. What do you suggest?

Multiple frames = multi window app on "non-mobile" device family, right?

@bc3tech Not only. In Jerry's SplitView pattern there are multiply Frames in phones too.

haven't looked at this. is it possible on, say, a phone?

Oh sorry, there aren't two Frames in Jerrys SplitView samle but it is possible to use one Frame outside the SplitView and one inside the SplitView. http://blog.jerrynixon.com/2015/04/implementing-hamburger-button-with.html

Here's my (theoretical) thinking:
BackPressed should only set handled = true if it does actually handle something.
That being said, it's the developers job for handling the behavior if & when it makes sense to do so. So, for the case of multiple frames I had better, as a developer, handle what the back button means for my frame (as in the split view, to collapse it) and therefore set handled = true when I do.
For multi-window applications, I think the "fix" shown in this PR is still valid. On desktop, multi window app have their own Back (when possible) button and a close button for when the user can no longer go back. For mobile apps, we don't really have the concept of multi-window, so hitting back in a new window until you're at the top of the stack should (and will, I believe) close that secondary window and take you back to the main app.
Admittedly I've not worked with multi-frame/window UWPs yet.


UX: number shorthand on mobile-only

Changed the shorthand version to only be used on mobile (desktop has enough space for the full number)

Cool, LGTM! (I had to dismiss your review @martin-brennan, so we can move forward here. But the concern about the helper name has been addressed.)


Extracting Video Features

Hi @muzairkhattak
Thank for sharing the code for this amazing work.
Do you provide any script to directly extract ViFi-CLIP features for a given video, which can be used for any other downstream task?

Hi @rayush7,
Thank you for showing interest in our work.
Unfortunately we do not provide any script for the above mentioned tasks, but I think you can easily come up with the script. Please refer to the high level steps outlined below:

Firstly, arrange your video(s) in the format outlined in our data preparation section (DATASETS.md).

Next, you would need to change the forward function of ViFi-CLIP model (please check vificlip.py) to make it return only the video features. The code will look something like:

 def forward(self, image):
        tokenized_prompts = self.tokenized_prompts
        logit_scale = self.logit_scale.exp()
        prompts = self.prompt_learner()

        # b = image.shape[0]
        # Lets encode the video into required format
        b, t, c, h, w = image.size()
        # Remove the batch dimensions
        image = image.reshape(-1, c, h, w)
        # Now pass the image into CLIP visual encoder
        image_features = self.image_encoder(image.type(self.dtype))
        # Now again attach the batch dimensions
        image_features = image_features.view(b, t, -1)  # [B, T, 512]
        # Now take the mean along the temporal direction
        image_features = image_features.mean(dim=1, keepdim=False)  # image features are now ready

        video_features = {"features"; image_features}
        # Now dump the features on the disk using pickle etc.

        with open(save_path + '/video_features.pickle', 'wb') as handle:
             pickle.dump(video_features, handle, protocol=pickle.HIGHEST_PROTOCOL)

You might need to save the corresponding metadata (video name or path etc) for each videos with the dictionary.

Finally, you can run the inference command to generate the ViFi-CLIP features and then later utilize it for different downstream tasks.
I hope that would be helpful.

Please let us know if your query is resolved.
Thank you and kind regards.

Perfect thank you @muzairkhattak . The Image features after taking the mean along the temporal direction (video features) - is exactly what I was looking for.


(EasySetup): create a maven archtype for greengrass component

Feature Description
by using a maven archtype to create the skeleton project, (including the manfiest) it would be faster and easier to write components without falling into a lot of gotchas
Use Case
to onboard new developers who are not famliar with greengrass development
Proposed Solution
the archtype will generate generate the following pom configuration
a filtered recipe file inside the standard resources folder
the recipe will include  the filters defined in properties in the pom, that would just be compose from the standard pom properties
<properties>
<ComponentName>${project.groupId}.${project.artifactId}</ComponentName>
<ComponentVersion>${project.version}</ComponentVersion>
<ComponentDescription>${project.description}</ComponentDescription>
<ComponentPublisher>publisher</ComponentPublisher>
<ComponentArtifact>${project.build.finalName}</ComponentArtifact>
<ComponentDir>${project.build.directory}/component/${ComponentName}/${ComponentVersion}</ComponentDir>
<s3-upload.bucket>pathtoupload</s3-upload.bucket>
</properties>

#https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html
RecipeFormatVersion: 2020-01-25
ComponentName: ${ComponentName}
ComponentVersion: '${ComponentVersion}'
ComponentDescription: Component for gg
ComponentPublisher: ${ComponentPublisher}
ComponentConfiguration:
  DefaultConfiguration:
    Message: world
Manifests:
  - Platform:
      os: linux
    Lifecycle:
      Run: |
        {artifacts:decompressedPath}/${ComponentArtifact}/run.sh
    Artifacts:
      - URI: 's3://${s3-upload.bucket}/artifacts/${ComponentArtifact}.zip'
        Unarchive: ZIP
        Permission:
          Execute: ALL

an assembly plugin that will have the following config
    <formats>
        <format>zip</format>
    </formats>

    <includeBaseDirectory>false</includeBaseDirectory>
    <dependencySets>
        <dependencySet>
        </dependencySet>
    </dependencySets>
    <fileSets>
        <fileSet>
            <includes>
                <include>${project.build.finalName}.jar</include>
            </includes>
<outputDirectory>.</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>${project.build.scriptSourceDirectory}/</directory>
            <outputDirectory>.</outputDirectory>
            <filtered>true</filtered>
            <lineEnding>lf</lineEnding>
            <fileMode>0755</fileMode>
        </fileSet>
    </fileSets>

<plugin>
           <artifactId>maven-assembly-plugin</artifactId>
           <version>3.3.0</version><configuration>
            <attach>false</attach>
            <appendAssemblyId>false</appendAssemblyId>
            <finalName>${ComponentArtifact}</finalName>
             <outputDirectory>${project.build.directory}/component/${ComponentName}/${ComponentVersion}</outputDirectory>
                    <descriptors>
                        <descriptor>src/main/assembly.xml</descriptor>
                    </descriptors>

                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

and finally (and i didn't know how else to do it) a rename plugin to rename the receipe file automatically
(you could always generate it once with the archtype but if you change any pom properties you'd have to change the file as well)
  <plugin>
                <groupId>com.coderplus.maven.plugins</groupId>
                <artifactId>copy-rename-maven-plugin</artifactId>
                <version>1.0</version>
                <executions>
                    <execution>
                        <id>rename-descriptor-outputs</id>
                        <phase>install</phase>
                        <goals>
                            <goal>rename</goal>
                        </goals>
                        <configuration>
                            <sourceFile>${project.build.directory}/recipe.yaml</sourceFile>                            <destinationFile>${project.build.directory}/component/${ComponentName}-${ComponentVersion}.yaml</destinationFile>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

this would provide a good starting point especially if you include some shell scripts as example to local deply it

Thank you for the suggestion. I have sent your suggestion to the appropriate team.
Looks like you already have everything though, we'd certainly encourage you to public your archetype rather than waiting for us.

thanks, actually i've never done an archtype, this is just a sample project i made for someone (the same project i pestered you about earlier) i tried to make as generic as possible..

Closing this issue as the request has been passed along to the appropriate people. They have agreed that it would be a helpful feature, so they will begin work on it.


[BUG]: HLS Video on local cache directory is not playing in Android

Version
v6 (Beta)
What platforms are you having the problem on?
Android
Architecture
Old architecture
What happened?
Hi, I am trying to build a video caching system like Instagram or YouTube reels. Now I facing a problem. When I play my HLS video that is on the cloud is playing fine but when I try to play them from my cache directory then it gives me an error {"error": {"extra": -2147483648, "what": 1}}.
Reproduction
repository link
Reproduction
Here I download my HLS video and its corresponding files to the cache directory
function* cacheAllReel() {
    let videos: reels = yield select((state: RootState) => state.Reel.reels.find((it) => !it.isDownloaded));

    const filePathArr = videos.src.split('/');
    const folderUrl = videos.src.split('/').slice(0, -1).join('/');
    const cachedFilePath = `${RNFS.ExternalCachesDirectoryPath}/videos/${filePathArr[filePathArr.length - 2]}`;

    try {
        console.log("`${cachedFilePath}/${filePathArr[filePathArr.length - 1]}`", `${cachedFilePath}/${filePathArr[filePathArr.length - 1]}`)
        yield call(RNFS.mkdir, cachedFilePath);

        yield call(RNFS.downloadFile, {
            fromUrl: videos.src,
            toFile: `${cachedFilePath}/${filePathArr[filePathArr.length - 1]}`,
            background: true
        });

        yield call(RNFS.downloadFile, {
            fromUrl: `${folderUrl}/high.m3u8`,
            toFile: `${cachedFilePath}/high.m3u8`,
            background: true
        });

        yield call(RNFS.downloadFile, {
            fromUrl: `${folderUrl}/mid.m3u8`,
            toFile: `${cachedFilePath}/mid.m3u8`,
            background: true
        });

        yield call(RNFS.downloadFile, {
            fromUrl: `${folderUrl}/low.m3u8`,
            toFile: `${cachedFilePath}/low.m3u8`,
            background: true
        });

        const regex = /^.*\.ts$/gm;

        let lowFileContent: string = yield call(RNFS.readFile, `${cachedFilePath}/low.m3u8`, 'utf8');
        let lowMatch;
        while ((lowMatch = regex.exec(lowFileContent)) !== null) {
            yield call(RNFS.downloadFile, {
                fromUrl: `${folderUrl}/${lowMatch[0]}`,
                toFile: `${cachedFilePath}/${lowMatch[0]}`,
                background: true
            });
        }

        let midFileContent: string = yield call(RNFS.readFile, `${cachedFilePath}/mid.m3u8`, 'utf8');
        let midMatch;
        while ((midMatch = regex.exec(midFileContent)) !== null) {
            yield call(RNFS.downloadFile, {
                fromUrl: `${folderUrl}/${midMatch[0]}`,
                toFile: `${cachedFilePath}/${midMatch[0]}`,
                background: true
            });
        }

        let highFileContent: string = yield call(RNFS.readFile, `${cachedFilePath}/high.m3u8`, 'utf8');
        let highMatch;
        while ((highMatch = regex.exec(highFileContent)) !== null) {
            yield call(RNFS.downloadFile, {
                fromUrl: `${folderUrl}/${highMatch[0]}`,
                toFile: `${cachedFilePath}/${highMatch[0]}`,
                background: true
            });
        }

    } catch (err) {
        console.log('RNFS Error', err);
    }
}

It downloads all files properly. And I check that playlist.m3u8 exists or not
let data = await RNFS.exists(
            '/storage/emulated/0/Android/data/com.charub/cache/videos/video_1712660382226/playlist.m3u8'
        );
console.log('data', data);

and it gives true. So my m3u8 file exists.
Now in the <Video/> section
<Video
    source={{
        uri: '/storage/emulated/0/Android/data/com.charub/cache/videos/video_1712660382226/playlist.m3u8'
    }}
    muted={muted}
    repeat={true}
    paused={!isCurrent}
    style={{
        flex: 1
    }}
    resizeMode={'cover'}
    onLoad={(data) => console.log('loda', data)}
    onError={(e) => console.log('e', e)}
/>

here it gives error {"error": {"extra": -2147483648, "what": 1}}. But When I change the URI to cloud URL or to its corresponding .ts file like /storage/emulated/0/Android/data/com.charub/cache/videos/video_1712660382226/high0.ts then it works fine. I won't understand what is happening.
Please help me out.

See doc: https://react-native-video.github.io/react-native-video/other/caching
Currently, caching is only supported for URLs that end in a .mp4, .m4v, or .mov extension
Let's move this request to feature.

@webhibegit I am having the same issue with react-native-track-player. Apparently, local m3u8 files are not playable (video/audio). I asked out backend dev to provide both mp3 and m3u8 versions of the audio and use mp3 for saving on local.

The issue here is that we currently have to easy way (or no implementation) to download chunks from the server. According to your trace, only the m3u is downloaded, but m3u is a master playlist which is also referencing sub files on the server (the chunks).
So there is a real development to do in order to implement this behavior.
That said we can have 2 ways to implement the feature.

implement offline playback
improve the caching mechanism

Can we expect this feature (caching m3u8) to be introduced in near feature? I think the community calls for it :D

I think this is something like this should be implemented: https://medium.com/google-exoplayer/downloading-adaptive-streams-37191f9776e but I think it will break ABR.

3 weeks have passed.
Is there any chance this will be added in June?


IpV4FragmentationOptions have wrong values

sumtec[CodePlex] According to http://en.wikipedia.org/wiki/IPv4 the Option Value in the high 3 bits of the byte value in offset 6 should have:
0 Reserved
1 Don't Fragment
2 More Fragments
However, right now the code looks like this:
/// ltsummarygt
/// May Fragment, Last Fragment.
/// lt/summarygt
None = 0x0 ltlt 13,
/// ltsummarygt
/// More Fragments.
/// lt/summarygt
MoreFragments = 0x1 ltlt 13,  // lt-------- this should be DoNotFragment

/// ltsummarygt
/// Don't Fragment.
/// lt/summarygt
DoNotFragment = 0x2 ltlt 13  // lt-------- this should be MoreFragments

They are just transposed.

sumtec[CodePlex] Hi Brickner,
Thank you for your comment.
I think you are right. Case closed.
BTW, it's so weird that I could receive TCP packet with DF flag and 0 TotalLength, and it was fragmented. It's a HTTP request with super long request URL. The first packet I received is a 27xx bytes' ethernet packet but the ip packet's total length field is
0, and marked with DF flag. And every time I just can print out the ending part of the request because of this issue. And that make me think that the MF/DF flag could be wrong. And I'm sorry that I did look at the figure in a wrong direction.

Brickner[CodePlex] Can you point to where it says that in Wikipedia?
I'm seeing the following:
A three-bit field follows and is used to control or identify fragments. They are (in order, from high order to low order):
bit 0: Reserved; must be zero.
bit 1: Don't Fragment (DF)
bit 2: More Fragments (MF)
Which means that bit 1, the more significant bit, is for don't fragment. So 0x2=0b10 fits that and fits Don't fragment.
Same goes for MoreFragments - it's bit 2 which is the less significant bit.


Community devs want ability to run custom oracles for alternate price feeds

Expected Behavior
With sufficient knowledge and documentation, anyone in the community can spin up an oracle instance based on our open source oracle client code and sortedOracles contract, and configure the oracles to publish price feeds for such assets as BTC or ETH on chain.
We should improve our oracle documentation to enable others such as Moola, Ubeswap, etc. to run their own oracles.
Current Behavior
Right now cLabs runs all oracles and prices feeds are limited to what is consumed by Mento.
Reason for Need
Moola wants to enable ETH and BTC lending based on oracle pricing.

We had a meeting with Patrick from Moola and he was in alignment with running his own oracles. We'll stand by for some questions, but there's very little work that we have planned for this. Closing this out until we have more defined (if any).


Migrate old policy taggings to new

Data migration and rake task for mapping editions to new (policy-publish) policies based on their existing whitehall policy relations.
The data migration cleans up some of the data by making sure merged policies share the same content_id.
The rake task creates associations for new (policy-publisher) policies on all non-archived/deleted/superseded editions. It relies on the fact that all policies in whitehall share their content_id with the equivalent policy in policy-publisher. This rake task will be run as part of the transition process to replace the existing policies section of GOV.UK with the new one.
Trello: https://trello.com/c/By11lgVl/24-script-to-migrate-old-whitehall-policy-taggings-to-new-world-policies

:+1:

The plan is to takeover preview environment tomorrow to test this migration.

Rebased with master and adjusted slightly to work regardless of the state of the feature-switch.


Add unit tests to client

Thanks @marcorossi5, now this repo is public and I have activated codecov and precommit.

@marcorossi5 just another couple of requests:

could you please replace in all places TiiQ with TII-QRC?
I think it would be useful to include some technical docs explaining how to use this library and the content of the library. For example a simple sphinx page, with installation instructions, a short tutorial and the api reference should be sufficient. Could you please grab the setup in qibo* and try to port here, maybe in another PR?

Let me replace TiiQ with TII-QRC. Then, if you agree, we can merge and open a new PR to address the second point.
Do you want to keep TIIProvider as the client class name? or do you want me to change it?

Great, thanks. I think we can keep TIIProvider for now.

What about the package name? qibo_tii_provider still works?

Let me think but meanwhile let's keep as it is. I just prefer to avoid using TiiQ in the docs.


regexp \s* doesn't match string "asdf  \t\nkkk" (but \s+ works)

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.8
What operating system and processor architecture are you using (go env)?
darwin-amd64
What did you do?
https://play.golang.org/p/6uXcuL3iyF
What did you expect to see?
Both \s* and \s+ should match the substring of "  \t\n"
What did you see instead?
\s+ works, but \s* doesn't match.

You only requested one match, and the \s* matched first at the beginning, with length 0.
Try the All matching variants.

That is, https://play.golang.org/p/7_wcF8hqJA


[NLU-3471] EN-US DateTime: "the MM/DD[/YYYY]" resolution fix

Fix for an issue with EN-US DateTime where the date format is being incorrectly resolved when a date in the format of MM/DD or MM/DD/YYYY is preceded by the word "the". This results in the date being resolved as YYYY-DD-MM instead of YYYY-MM-DD.

Pipeline run: https://jenkins.ininica.com/job/NLU/job/Recognizers-Text/228/


PhantomJS crashes while processing something like calc(100vh - 200px).

Hi,
I am using PhantomJS 2.1.1 (built from cloned source, standard build procedure as given in docs). What I found was, PhantomJS crashes while processing CSS elements like height:calc(100vh - 200px)
This is an issue similar to the one discussed at http://stackoverflow.com/questions/27256849/it-is-possible-to-use-vh-minus-pixels-in-a-css-calc
I tried modifying my CSS the way given in the above thread, so the line looks like:
height:calc(100vh - 200px)
height:calc(~"100vh - 200px")
This seems to be working fine. So is this an issue with the CSS interpreter of PhantomJS?
Thanks,
Atul.

Could you try again with 2.5 binary please? Thanks!

@Vitallium  Can you update binaries @ bit bucket ?


Updating getting-started

Resolves #45

Spring Cloud Data Flow Admin for Mesos in index.adoc probably needs to be Spring Cloud Data Flow Server for Mesos

Modules section is not being rendered correctly :-(
Is the URL for scsm-asciidoc still correct, or should we pointing to starters?

To fix the modules section we need to replace scsm-asciidoc and its url in the index.adoc with :scstas-asciidoc: https://raw.githubusercontent.com/spring-cloud/spring-cloud-stream-app-starters/master/spring-cloud-stream-app-starters-docs/src/main/asciidoc .
Then update the scsm-asciidoc with sctas-asciidoc in module.adoc

Fixed issues above, squashed merged.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.16.11",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e37b6b90f7500eb97fb804624627f9deab461acc"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "e37b6b90f7500eb97fb804624627f9deab461acc",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "gcc-plugins/stackleak: Use noinstr in favor of notrace\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.16.11 by commit e37b6b90f7500eb97fb804624627f9deab461acc. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000542


Deployment

Deployment
User Story
As a boot camp student,
I want the prework notes to be structured on a webpage
so that I can easily find and read the information.
Acceptance Criteria
GIVEN a Prework Study Guide website,
WHEN I visit the website using the URL,
THEN I can access my website from any browser.

Website is deployed on github.io


Model description in the summary page

A nice pictorial description of the model in the summary page (in addition to the SLD profile) would be useful.

Also uncertainties in the summary tab


All TiKV nodes (three) disks are full and cannot restart the TiKV node. Eventually the cluster could not be restarted.

       Hello, I am using the version of TiDB v3.0.2. I wanted to use the sysbench tool to test my cluster. When I used sysbench to generate 32 tables, each with 80 million rows of data, every disk on my TiKV node (three) was written full. As a result, all TiKV nodes in the cluster are down. Now every TiKV cluster can't be started, and it won't start after the entire cluster is shut down.
      I built the cluster tidb*2, PD*3, TiKV*3, and each TiKV data disk size is 512G.

When the TiKV disk is full down, an error is reported:
[2019/09/07 11:36:36.969 +08:00] [ERROR] [transport.rs:318] ["send raft msg err"] [err="Other("[src/server/raft_client.rs :216]: RaftClient send fail")"]
[2019/09/07 11:36:36.969 +08:00] [FATAL] [mod.rs:222] ["logger encounter error, TiKV cannot continue working"] [err="No space left on device (os error 28)"]
When the cluster restarts, the following error is reported:
TASK [wait until the TiKV port is up] **************************************** *************
Fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "elapsed": 300, "msg": "the TiKV port 20160 is not up"}
Fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "elapsed": 300, "msg": "the TiKV port 20160 is not up"}
Fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "elapsed": 300, "msg": "the TiKV port 20160 is not up"}
Please,What should I do?

maybe you can remove some logs to release some spaces then try to start TiKV? If it still can't, then I have no idea.
If you just for a test, maybe you can insert not too much data.

Thank you very much. After clearing the log, the cluster can only start two TiKVs. Since the third TiKV disk space is still not enough, it still cannot be started.
Then try to remove the dropped TiKV from the cluster. Then manually delete the files in the data directory and then add them to the cluster. There are a lot of problems in the process. After the empty TiKV is added to the cluster, the TiKV with the smallest disk space is down again. After the cluster restarts, also only two TiKVs are booted. Then try to delete the data, at this time can not perform a very large delete operation, only one row of data can be deleted every time. If you delete a table or database, the client will be stuck.
Since the cluster is all the data of the stress test, it is finally decided to empty the data of the entire cluster and start over.

Thank you @liuhuanHappyStudy
The progress of remove/add TiKV to cluster is very interesting. We will try to reproduce it and invest it.
And did every thing is ok for you now?

Thank you @zhouqiang-cl
Thanks for your reply, after clearing the cluster data, the cluster returned to its original deployed state, and everything is fine now.
Clear cluster data command:
Ansible-playbook unsafe_cleanup_data.yml

Then try to remove the dropped TiKV from the cluster

Did you remove it with pd-ctl, or just delete disk files and restart it? If you just remove disk files, the store can't join the cluster successful. You need to remove it from the cluster with pd-ctl first.

After the empty TiKV is added to the cluster, the TiKV with the smallest disk space is down again.

Other TiKVs will send snapshots to the new store. Snapshots are generated and stored on disk so some TiKVs get down.

only one row of data can be deleted every time. If you delete a table or database, the client will be stuck.

I guess it's because that some regions have more than half peers down. According to your statements, I guess those regions have only 2 peers. Do you still have the cluster? If so, please check such things:

how many stores are running now
If there are any stores can't start, Please check whether there are any regions which have more than half peers on the failed stores with such command:

pd-ctl -u <endpoint> -d region --jq='.regions[] | {id: .id, peer_stores: [.peers[].store_id] | select(length as $total | map(if .==(1,4,5) then . else empty end) | length>=$total-length) }'

Please replace 1,4,5 with your failed stores list.

Hello, I still experience this on version 4.0.6: I have persist critical config failed: persist config to '/var/lib/tikv/tmp_tikv.toml' failed: No space left on device (os error 28)" I tried compacting based on the work around in ticket: https://github.com/pingcap/tidb/issues/5480 but still no luck. Any advise on this?


Firebase: Reduce ~poll interval to 30min

https://firebase.google.com/docs/reference/fcm/rest/v1/ErrorCode
May 30 19:00:48 ntfy.sh ntfy[3832825]: 2022/05/30 19:00:48 error sending Firebase keepalive message to ~poll: http error status: 429; reason: messaging service quota exceeded; code: message-rate-exceeded; details: Topic quota exceeded.

I won't do this for now.


feat: Add schema parameter to getOrCreate for kvs, dataset

@B4nan Should I bump the package version or something?

right, 2.2.0 is out, so we need a bump
technically minor one, personally i'd just do a patch as it seems like a small change, will leave it up to you :]

right, 2.2.0 is out, so we need a bump
technically minor one, personally i'd just do a patch as it seems like a small change, will leave it up to you :]

Went for 2.2.1, added an entry to the changelog, is it ok like this?

sure, feel free to merge


Property dataset is missing in null or undefined [1].

It's complaining about the line where I check if the dataset dropDownState has been set to CLOSED_CLASS. I tried wrapping dataset by doing the following with no luck (parentNode.dataset: ?any).dropDownState ===....
Anyone come across this problem?
document.addEventListener("keyup", (event: KeyboardEvent) => {
    const el = (event.target: HTMLElement);
    const parentNode = (el.parentNode: ?HTMLElement);
    if (parentNode.dataset && parentNode.dataset.dropDownState === CLOSED_CLASS && event.key === "Tab") {
      toggle(el);
    }
  });

parentNode has type ?HTMLElement, as you have explicitly annotated.
This means that it could be null or undefined. But if it is null
then parentNode.dataset will raise a TypeError. Flow is correct to
show you this type error.
The null-check should be on parentNode itself, not on its dataset
property (an HTMLElement always has a dataset):
if (
  parentNode &&
  parentNode.dataset.dropDownState === CLOSED_CLASS &&
  event.key === "Tab"
) {
  toggle(el);
}

(I suspect that the above should work, but you haven’t provided a
self-contained reproducible example, so I can’t verify this.)


Remove waits from getRootDataStore / ContainerRuntime.request() APIs

These waits are very dangerous, as they deadlock if you got URI wrong, or it's stale URI.
Instead we should use results of https://github.com/microsoft/FluidFramework/pull/3830 (once it's tested and confirmed) as a way for hosts to do initial request, and if it fails, repeat it after calling (and waiting) for this API,

Just want to clarify this issue here. This is to remove the ability to optimistically get a ContainerRuntime object. Not to make the call not async.
Ie. you can't request something that you think might appear. I recall this was there originally because the first few DataStore gets might require waiting for the ops to be there.
Seems like there needs to be a larger design around this and there are some related issues:
#3085
#2859
#1192
#1193

Consolidating tracking of the work related to waits in #4508. Closing this issue.


Calculating Zone not working any more [pyETO: calculate_et_for_day] missing Minimum/Maximum Temperature

What happened?
Zones are not calculated any more. Trying to press update and calculate but there was a log entry created that Minimum/Maximum temperature not available.
I'm using Smart Irrigation with Openweather integration.
I also tried to reinstall/reconfigure Smart Irrigation without any impact.
Version Information:
Core 2024.8.2
Supervisor 2024.08.0
Operating System 13.0
Frontend 20240809.0
Smart Irrigation v2024.8.0
How to reproduce
Pressing update/calculate
Relevant log output
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.smart_irrigation.calcmodules.pyeto
Quelle: custom_components/smart_irrigation/calcmodules/pyeto/__init__.py:262
Integration: Smart Irrigation (Dokumentation, Probleme)
Erstmals aufgetreten: 08:33:44 (3 Vorkommnisse)
Zuletzt protokolliert: 08:33:44

[pyETO: calculate_et_for_day] missing Minimum Temperature. If you have continuous updates on this is expected as min temp is not always available.

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.smart_irrigation.calcmodules.pyeto
Quelle: custom_components/smart_irrigation/calcmodules/pyeto/__init__.py:266
Integration: Smart Irrigation (Dokumentation, Probleme)
Erstmals aufgetreten: 08:33:44 (3 Vorkommnisse)
Zuletzt protokolliert: 08:33:44

[pyETO: calculate_et_for_day] missing Maximum Temperature. If you have continuous updates on this is expected as max temp is not always available.

Which version are you running?
v2024.8.0
Diagnostics file

[X] I have attached a diagnostics file

Additional information
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.8.2",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.12.4",
"docker": true,
"arch": "aarch64",
"timezone": "Europe/Vienna",
"os_name": "Linux",
"os_version": "6.6.31-haos-raspi",
"supervisor": "2024.08.0",
"host_os": "Home Assistant OS 13.0",
"docker_version": "26.1.4",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"pyscript": {
"documentation": "https://github.com/custom-components/pyscript",
"version": "1.6.1",
"requirements": [
"croniter==2.0.2",
"watchdog==2.3.1"
]
},
"webuntis": {
"documentation": "https://github.com/JonasJoKuJonas/homeassistant-WebUntis/",
"version": "v1.1.4",
"requirements": [
"webuntis==0.1.22"
]
},
"tuya_local": {
"documentation": "https://github.com/make-all/tuya-local",
"version": "2024.7.1",
"requirements": [
"tinytuya==1.15.1",
"tuya-device-sharing-sdk>=0.1.9,<=0.2.99"
]
},
"presence_simulation": {
"documentation": "https://github.com/slashback100/presence_simulation",
"version": "4.9",
"requirements": []
},
"iaqualinkRobots": {
"documentation": "https://github.com/galletn/iaqualink/",
"version": "v0.3.1",
"requirements": []
},
"localtuya": {
"documentation": "https://github.com/xZetsubou/hass-localtuya/",
"version": "6.0.0",
"requirements": []
},
"delete": {
"documentation": "https://github.com/chomupashchuk/delete-file-home-assistant",
"version": "1.9",
"requirements": []
},
"files": {
"documentation": "https://github.com/TarheelGrad1998/files",
"version": "1.5",
"requirements": []
},
"smart_irrigation": {
"documentation": "https://github.com/jeroenterheerdt/HASmartIrrigation",
"version": "v2024.8.0",
"requirements": []
},
"alarmo": {
"documentation": "https://github.com/nielsfaber/alarmo",
"version": "v1.10.4",
"requirements": []
},
"solcast_solar": {
"documentation": "https://github.com/BJReplay/ha-solcast-solar",
"version": "v4.1.3",
"requirements": [
"aiohttp>=3.8.5",
"aiofiles>=24.1.0",
"datetime>=4.3",
"isodate>=0.6.1"
]
},
"hacs": {
"documentation": "https://hacs.xyz/docs/configuration/start",
"version": "1.34.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"iaqualink": {
"documentation": "https://www.home-assistant.io/integrations/iaqualink/",
"version": "1.2.1-exo",
"requirements": [
<EMAIL_ADDRESS>]
},
"epex_spot": {
"documentation": "https://github.com/mampfes/ha_epex_spot",
"version": "2.3.8",
"requirements": [
"beautifulsoup4"
]
}
},
"integration_manifest": {
"domain": "smart_irrigation",
"name": "Smart Irrigation",
"codeowners": [
"jeroenterheerdt"
],
"config_flow": true,
"dependencies": [
"http",
"panel_custom"
],
"documentation": "https://github.com/jeroenterheerdt/HASmartIrrigation",
"iot_class": "local_push",
"issue_tracker": "https://github.com/jeroenterheerdt/HASmartIrrigation/issues",
"requirements": [],
"version": "v2024.8.0",
"is_built_in": false
},
"setup_times": {
"null": {
"setup": 0.00011762900001599519
},
"01J5FEF2Y6CPQ3G70H8V4SHHKW": {
"wait_import_platforms": -2.31501912600001,
"config_entry_setup": 2.416037100000011
}
},
"data": {
"use_weather_service": true,
"weather_service": "Open Weather Map",
"weather_service_api_key": "[redacted]",
"weather_service_api_version": null,
"store": {
"config": {
"calctime": "23:00",
"units": "metric",
"use_weather_service": true,
"weather_service": "Open Weather Map",
"autocalcenabled": true,
"autoupdateenabled": true,
"autoupdateschedule": "hours",
"autoupdatedelay": "0",
"autoupdateinterval": "1",
"autoclearenabled": true,
"cleardatatime": "23:59",
"starteventfiredtoday": false,
"continuousupdates": false
},
"mappings": [
{
"id": 0,
"name": "Standard Sensorgruppe",
"mappings": {
"Dewpoint": {
"source": "weather_service",
"sensorentity": "",
"unit": ""
},
"Evapotranspiration": {
"source": "none",
"sensorentity": "",
"unit": ""
},
"Humidity": {
"source": "weather_service",
"sensorentity": "",
"unit": ""
},
"Precipitation": {
"source": "weather_service",
"sensorentity": "",
"unit": ""
},
"Pressure": {
"source": "weather_service",
"sensorentity": "",
"unit": ""
},
"Solar Radiation": {
"source": "none",
"sensorentity": "",
"unit": ""
},
"Temperature": {
"source": "weather_service",
"sensorentity": "",
"unit": ""
},
"Windspeed": {
"source": "weather_service",
"sensorentity": "",
"unit": ""
}
},
"data": [],
"data_last_updated": "2024-08-17T08:33:42.405371"
}
],
"modules": [
{
"id": 0,
"name": "PyETO",
"description": "Die Berechnung der Verunstungsrate basiert auf der FAO56-Formel aus der PyETO-Bibliothek.",
"config": {
"forecast_days": "3",
"coastal": false,
"solrad_behavior": "4"
},
"schema": [
{
"type": "boolean",
"name": "coastal",
"optional": true,
"default": false
},
{
"type": "select",
"options": [
[
"1",
"EstimateFromTemp"
],
[
"2",
"EstimateFromSunHours"
],
[
"3",
"DontEstimate"
],
[
"4",
"EstimateFromSunHoursAndTemperature"
]
],
"name": "solrad_behavior",
"required": true,
"default": {
"__type": "<enum 'SOLRAD_behavior'>",
"repr": "<SOLRAD_behavior.EstimateFromTemp: '1'>"
}
},
{
"type": "integer",
"name": "forecast_days",
"optional": true,
"default": 0
}
]
}
],
"zones": [
{
"id": 1,
"name": "Garten",
"size": 33.0,
"throughput": 7.0,
"state": "automatic",
"bucket": 1.957504110755438,
"old_bucket": 1.957504110755438,
"delta": 0.0,
"duration": 0,
"module": 0,
"multiplier": 1.0,
"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 0.0. Der alte Vorrat war 2.0.Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=2.0+0.0=2.0.Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",
"mapping": 0,
"lead_time": 0.0,
"maximum_duration": 1800.0,
"maximum_bucket": 50,
"last_calculated": "2024-08-17T08:33:44.520105",
"last_updated": "2024-08-17T08:33:42.405371",
"number_of_data_points": 0
},
{
"id": 2,
"name": "Hochbeet",
"size": 2.0,
"throughput": 1.5,
"state": "automatic",
"bucket": 1.957504110755438,
"old_bucket": 1.957504110755438,
"delta": 0.0,
"duration": 0,
"module": 0,
"multiplier": 1.0,
"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 0.0. Der alte Vorrat war 2.0.Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Ver\u00e4nderung]=2.0+0.0=2.0.Wenn der Vorrat >= 0 ist, ist keine Bew\u00e4sserung n\u00f6tig und die Dauer ist gleich 0",
"mapping": 0,
"lead_time": 0.0,
"maximum_duration": 1200.0,
"maximum_bucket": 50,
"last_calculated": "2024-08-17T08:33:44.546009",
"last_updated": "2024-08-17T08:33:42.405371",
"number_of_data_points": 0
},
{
"id": 3,
"name": "MicroDrip",
"size": 0.4,
"throughput": 0.0667,
"state": "automatic",
"bucket": 1.957504110755438,
"old_bucket": 1.957504110755438,
"delta": 0.0,
"duration": 0,
"module": 0,
"multiplier": 1.0,
"explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von 0.0.  Please clear your browser cache to make sure you have the right version installed.

Yes, I’m sure I’ve never installed any beta as well as I cleared my browser history and double checked.

OK thanks for letting me know. I think this is an issue I actually fixed in a beta. It's likely because there is just one data point. Try updating multiple times before calculating.

Thx for the hint! When I’m updating multiple times the error is not shown up but the duration is not calculated - it keep staying 0

Same issue here. Data is available but calculation is always 0. I'll try to install a beta to see if it is sorted out.

Updated to 2024.8.1-beta8 solves the issue 👍

I redownload the integration to that beta version, but after HA restart i still see the old version..

What is wrong here?

@akcasoy clear your cache: https://jeroenterheerdt.github.io/HAsmartirrigation/installation-updating.html

@akcasoy clear your cache: https://jeroenterheerdt.github.io/HAsmartirrigation/installation-updating.html

didn't help either..

@akcasoy clear your cache: https://jeroenterheerdt.github.io/HAsmartirrigation/installation-updating.html

didn't help either..

OK, please post a diag file.

Thx for the hint! When I’m updating multiple times the error is not shown up but the duration is not calculated - it keep 0

I uninstalled and reinstalled 2024.8.0 again - now It is calculating when there is more than one datapoints.
With the beta version I don’t receive any error log message again.

@schmeggspert I strongly suspect a browser cache issue here. Glad it works now.

It still does not work for me... even after updating to the latest version v2024.8.2.
I am seeing this error in the logs:
2024-08-26 23:31:35.675 ERROR (SyncWorker_19) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/config/custom_components/smart_irrigation/init.py", line 502, in async_sensor_state_changed
data_last_entry = dict(data_last_entry)
^^^^^^^^^^^^^^^^^^^^^
ValueError: dictionary update sequence element #0 has length 8; 2 is required

@akcasoy please post your diag file or storage file

I have now deleted the integration and installed again.. the problem still exists :/
Here is my diagnostic file.
config_entry-smart_irrigation-01J68AR5AMMW69BK3WJNF8D63A.json

I'm having the same issue.  It worked up until yesterday then quit.  I looked at my logs and it's showing an error with the Pirateweather pressure value causing an pyETO error.  I tried to manually set a value but it's not taking that either.
2024-08-28 20:22:40.871 ERROR (SyncWorker_3) [homeassistant.core] unable to convert unknown to float. Please check the source sensor is available.
2024-08-28 20:22:40.872 ERROR (SyncWorker_3) [custom_components.daily.sensor] unable to convert to float. Please check the source sensor (Sensor.lightning_lightning_distance) is available.
2024-08-28 20:22:41.287 WARNING (MainThread) [custom_components.smart_irrigation.calcmodules.pyeto] [pyETO: calculate_et_for_day] cannot calculate as some data is missing!
2024-08-28 20:22:41.287 WARNING (MainThread) [custom_components.smart_irrigation.calcmodules.pyeto] [pyETO: calculate_et_for_day] missing Pressure.
2024-08-28 20:22:41.321 WARNING (MainThread) [custom_components.smart_irrigation.calcmodules.pyeto] [pyETO: calculate_et_for_day] cannot calculate as some data is missing!
2024-08-28 20:22:41.321 WARNING (MainThread) [custom_components.smart_irrigation.calcmodules.pyeto] [pyETO: calculate_et_for_day] missing Pressure.
2024-08-28 20:22:41.500 ERROR (SyncWorker_12) [homeassistant.core] unable to convert unknown to float. Please check the source sensor is available.

I deleted and reinstalled  v2024.8.2 with no change.  Reinstalled v2024.8.0 with no change.  I deleted the directory and restored from a weekly backup to  v2024.8.0 and it's back working.  I will hold off on upgrading again to  v2024.8.2.

I will never update this integration on the first new release days..

I deleted and reinstalled v2024.8.2 with no change. Reinstalled v2024.8.0 with no change. I deleted the directory and restored from a weekly backup to v2024.8.0 and it's back working. I will hold off on upgrading again to v2024.8.2.

It would have been very helpful if you had given more info on your config, which versions you had installed (especially beta versions) etc. Glad you got it resolved though.

I have now deleted the integration and installed again.. the problem still exists :/ Here is my diagnostic file. config_entry-smart_irrigation-01J68AR5AMMW69BK3WJNF8D63A.json

Did you have a beta version installed before?

Unfortunately, although I thought it was corrected, it only worked one time. I am back in the same shape now. Sent from my iPhoneOn Aug 30, 2024, at 11:54 AM, Jeroen ter Heerdt @.***> wrote:
I have now deleted the integration and installed again.. the problem still exists :/ Here is my diagnostic file. config_entry-smart_irrigation-01J68AR5AMMW69BK3WJNF8D63A.json
Did you have a beta version installed before?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Unfortunately, although I thought it was corrected, it only worked one time. I am back in the same shape now. Sent from my iPhoneOn Aug 30, 2024, at 11:54 AM, Jeroen ter Heerdt @.> wrote: I have now deleted the integration and installed again.. the problem still exists :/ Here is my diagnostic file. config_entry-smart_irrigation-01J68AR5AMMW69BK3WJNF8D63A.json Did you have a beta version installed before? —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>

Asking again: did you ever have a beta version installed?

I don’t think so. Sent from my iPhoneOn Aug 30, 2024, at 2:23 PM, Jeroen ter Heerdt @.***> wrote:
Unfortunately, although I thought it was corrected, it only worked one time. I am back in the same shape now. Sent from my iPhoneOn Aug 30, 2024, at 11:54 AM, Jeroen ter Heerdt @.> wrote: I have now deleted the integration and installed again.. the problem still exists :/ Here is my diagnostic file. config_entry-smart_irrigation-01J68AR5AMMW69BK3WJNF8D63A.json Did you have a beta version installed before? —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>
Asking again: did you ever have a beta version installed?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

are you still having this issue? I can't reproduce it :(

I'm on the same situation.
Let me know how I can assist in solving this issue.

first, let's reset your browser cache and try again. I can't reproduce this at all on any of my installations.

Have tried that it's on multiple platforms like iOS app, chrome, safari, windows and so on.
It started after one of the updates, as I remember something got broke and you releases some days after a new release. I my case it it ended up with this. I was looking for log files that might shine some light on it.
Can you point me where to find them?

Just found the option for debug log...
I've inserted the logging in previous post.
Looks to me it stopped collecting data on 09-09-2024 and since then something broke.

I see a lot of sensors referring to openweathermap in your config which are not shown when you edit sensor groups. Did you use those sensors before? Do they still exist on your system? I am wondering if somehow it got confused ... things like sensor.openweathermap_dew_point.


AssertionError: expected [ 'Buy some cerealBuy some cookies' ] to deeply equal [ Array(3) ]

Hello.
I am very new to testing and followed your examples word for word, but for some reason I continue to get this error.
I am not sure where it is coming from but here is the stack trace
Scenario: Adding an item to a list with other items - features\add_new_items.feature:7    Step: Then his todo list should contain Buy some cookies, Walk the dog, Buy some cereal - features\add_new_items.feature:11    Step Definition: features\step_definitions\todo_user.steps.ts:29    Message:      AssertionError: expected [ 'Buy some cerealBuy some cookies' ] to deeply equal [ Array(3) ]          at Assertion.assertEqual (C:\DEV\tutorial-from-scripts-to-serenity\node_modules\chai\lib\chai\core\assertions.js:951:19)          at Assertion.methodWrapper (C:\DEV\tutorial-from-scripts-to-serenity\node_modules\chai\lib\chai\utils\addMethod.js:57:25)          at getBasePromise.then.then.newArgs (C:\DEV\tutorial-from-scripts-to-serenity\node_modules\chai-as-promised\lib\chai-as-promised.js:297:22)          at ManagedPromise.invokeCallback_ (C:\DEV\tutorial-from-scripts-to-serenity\node_modules\selenium-webdriver\lib\promise.js:1366:14)          at TaskQueue.execute_ (C:\DEV\tutorial-from-scripts-to-serenity\node_modules\selenium-webdriver\lib\promise.js:2970:14)          at TaskQueue.executeNext_ (C:\DEV\tutorial-from-scripts-to-serenity\node_modules\selenium-webdriver\lib\promise.js:2953:27)          at asyncRun (C:\DEV\tutorial-from-scripts-to-serenity\node_modules\selenium-webdriver\lib\promise.js:2813:27)          at C:\DEV\tutorial-from-scripts-to-serenity\node_modules\selenium-webdriver\lib\promise.js:676:7          at process._tickCallback (internal/process/next_tick.js:103:7)

So I have figured out why this was happening and it is just a user error.  In the todo_user.steps.ts code I was missing a simple thing, I did not return the result.
`this.Given(/^.that (.) has a todo list containing (.*)$/, function(actorName: string, items: string) {
actor = Actor.named(actorName).whoCan(BrowseTheWeb.using(protractor.browser));
    **return** actor.attemptsTo(
        Start.withATodoListContaining(listOf(items))
    );
});`

No worries, glad you figured it out!
Another thing I do when I only have one actor and to remember to return is to instantiate the actor outside of the step definition:
const actor = Actor.named(actorName).whoCan(BrowseTheWeb.using(protractor.browser));

And then use the "fat arrow" notation:
this.Given(/^.*that (.*) has a todo list containing (.*)$/, (items: string) => actor.attemptsTo(
    Start.withATodoListContaining(listOf(items))
));

Hope that helps!
Jan

Thanks Jan.


[Vectorized Reader] Make sure all encodings work in Parquet Vectorized Reader

Make sure all encodings working in Vectorized reader:
https://github.com/zhenxiao/incubator-parquet-mr/tree/vector
Reporter: Zhenxiao Luo / @zhenxiao
Assignee: Nezih Yigitbasi / @nezihyigitbasi
PRs and other links:

PR-257

Note: This issue was originally created as PARQUET-300. Please see the migration documentation for further details.

Nezih Yigitbasi / @nezihyigitbasi:
My latest PR already addresses this issue as the vector read path is encoding agnostic:  https://github.com/zhenxiao/incubator-parquet-mr/pull/3


updated Visual Studio gitignore for Cocos2dx

Using *.user ignores the Game.vsxproj.user file that is part of the project files in the win32 folder of a newly created project using Cocos2dx. The Game.vsxproj.user is needed to allow the project to be executed successfully in Visual Studio 2013 professional.

Doesn't the file contain user-specific configuration? Isn't it regenerated by VS? Even if it's not, it seems like it would make more sense to special-case this one file rather than removing a rule which is generally sensible.

That is true and yes it is generated by VS. I suggested the change because it was causing problems when cloning the repo and setting up the project. A better solution would be to eliminate the need for VS project files and provide a setup tutorial for new users.


Enable persistent device id storage using FRAM

 Issue by atmoos
Sat Aug 25 15:23:19 2018
Originally opened as https://github.com/ERNICommunity/dust-measurement-network/issues/29

In order to store the device id, we'll save it to an FRAM module.
See: PIO Lib: 658 -> https://platformio.org/lib/show/658/Adafruit FRAM I2C
implement Asset.h

 Comment by dniklaus
Wed Jan  9 16:09:35 2019

General question about key storage on Adafruit Feather M0 is discussed here: https://www.thethingsnetwork.org/forum/t/best-practices-for-adding-storing-lorawan-creds-on-arduinos/


Dependency on PowerShell

I guess my question is quite simple. How do you do it without PowerShell? I know PowerShell is your product, you sell it, and some people also swear by it. Please do keep in mind that not everyone use PowerShell, nor do they want or intent to - this is too much when you only provide PowerShell documentation

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

ID: aab824fb-b795-518a-8d52-7490975ab5ac
Version Independent ID: aab824fb-b795-518a-8d52-7490975ab5ac
Content: Configure federation between Google Workspace and Azure AD - Windows Education
Content Source: education/windows/configure-aad-google-trust.md
Product: windows-client
Technology: itpro-edu
GitHub Login: @paolomatarazzo
Microsoft Alias: paoloma

Hello @rohde-januar and thank you for the feedback. If you don't want to use PowerShell, you can use alternative solutions, such as using the Microsoft Graph APIs (https://learn.microsoft.com/en-us/graph/overview) or using CloudShell.
Given the complexity of using the Micorosoft Graph API to configure federation, we opted to document the simplest solution, which works with both PowerShell and CloudShell. However, you can find documentation how to configure the tenant using APIs.


Months do not follow the device's default language

It would be interesting if the months were translated into the native language of the device. I believe the iOS DatePicker, do this by default.

hey @manoelramos! Thanks for using the library! I don't know what version you're using, but this is currently supported.

I'm using the version 1.3.4. I closed the issue when I saw the issue #34
thanks for reply and nice job, man.


Script error line 0

Console showing the following error messages surround the correct output of "Fred"
"error"
"Script error. (line 0)"
"Fred"
"error"
"Script error. (line 0)"
"error"
"Script error. (line 0)"

Can't replicate (though there's not much to go on), but certain it'll be working in v5.


events: do not print kernel event that is generated by tetragon

Issue
When starting tetragon we will get this event:
{
  "process_exec": {
    "process": {
      "exec_id": "OjE6MA==",
      "pid": 0,
      "uid": 0,
      "binary": "<kernel>",
      "flags": "procFS",
      "start_time": "2022-06-14T13:16:18.570757506Z",
      "auid": 0,
      "parent_exec_id": "OjE6MA==",
      "refcnt": 2,
      "cap": {},
      "ns": {
        "uts": {},
        "ipc": {},
        "mnt": {},
        "pid": {},
        "pid_for_children": {},
        "net": {},
        "cgroup": {},
        "user": {}
      }
    },
    "parent": {
      "exec_id": "OjE6MA==",
      "pid": 0,
      "uid": 0,
      "binary": "<kernel>",
      "flags": "procFS",
      "start_time": "2022-06-14T13:16:18.570757506Z",
      "auid": 0,
      "parent_exec_id": "OjE6MA==",
      "refcnt": 2
    }
  },
  "time": "2022-10-09T23:26:38.387412761Z"
}

This event is a fake static event pushed by tetragon into the execve_map to make doing bpf kprobes easy in case kprobes are triggered from a non process context and we don't have a pid. See: https://github.com/cilium/tetragon/blob/main/pkg/sensors/exec/procevents/proc_reader.go#L241 writeExecveMap() , however it is also pushed to grpc events: https://github.com/cilium/tetragon/blob/main/pkg/sensors/exec/procevents/proc_reader.go#L261
Fix
The fix would be to just not print this event.

Update from @jrfastab
"The use case for this I use tetragon to debug kernel issues and if current == NULL we still want an event. For example debugging ipsec issues."
So maybe not an issue, or just filter that specific exec event, add something special to it in arguments to uniquely identify it...


migrate to gradle version catalog

close #49
https://docs.gradle.org/current/userguide/platforms.html

thanks!


Merge dev-1.3.0 into dev-1.3.1

#3301
Checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] I have explained the need for this PR and the problem it solves
[ ] I have explained the changes or the new features added to this PR
[ ] I have added tests corresponding to this change
[ ] I have updated the documentation to reflect this change
[ ] I have verified that this change is backward compatible (If not, please discuss on the Linkis mailing list first)
[ ] If this is a code change: I have written unit tests to fully verify the new behavior.

refer to #3353


Update CHANGELOG.md for Swift 5.5 release

https://swift.org/blog/swift-5-5-released/

@swift-ci Please smoke test and merge

@swift-ci Please smoke test macOS platform


Add sticker.ly Api wrapper

Adding stickerly we can have more flexibility

We can get stickers by it ID or packname

And

We can have wsf upload stickers to Stickerly!

Turned out their API doesn't provide sticker fetching and some restrictions


Test SBOM generation from PR updates CI images

A Software Bill of Materials (SBOM) helps utilize third-party components, particularly open source components, as needed, while maintaining security and complying with licensing requirements. Generate SBOM from source and pull request CI images and attach the SBOM reports as artifacts to container registries.
Ref: #20712

cc @aanm


Create wallet help - does not mention create wallet button

In the Create wallet help the paragraph "Enter password" mentions that create new wallet is in restore - this is now a separate button

Updated text to:
This is the first screen that you will see each time you start MultiBit HD. Simply enter your password and click the "Unlock" button (or press ENTER) to begin using your wallet. You can use the "Create" button to create a new wallet. You can use the "Restore" button if you forget your password or need to restore a wallet.

Awaiting review and closing

I don't see a commit against this issue - has it been pushed?

Only pushed it in the website (so the internal MBHD help will be slightly out of date but I don't want to rebuild it)

OK, it'll get included in the upcoming rebuild as a result of #599.

Switching this to "awaiting issue" to better reflect the situation.

Verified working. Should have updated this sooner.
Closing.


Bug(arrow-row): calling convert_raw function cause "offset overflow" panic

Describe the bug

Datafusion Table Info:
Having a http_url column, which DataType is Utf8, and it has a lot of distinct values.

Datafusion SQL

select http_url from tab group http_url

Panic Info

Reason
GroupValuesRows in Datafusion stores rows using Rows, and this bug may be triggered when calling emit function.
https://github.com/apache/arrow-rs/blob/49e714de6e951169d0d5e73381af247ad0230fcf/arrow-row/src/variable.rs#L217-L226

In the extreme case, if I append two Utf8 values which size are large(len1 + len2 > i32::MAX) into Rows twice, and then call convert_rows, which should also trigger the bug. 🤔
To Reproduce

Expected behavior

Additional context

In newer versions of DataFusion I would expect that grouping on a string column would not use row format, but instead usse the special GroupValuesBytes:
https://github.com/apache/datafusion/blob/7db4213b71ed9e914c5a4f16954abfa20b091ae3/datafusion/physical-plan/src/aggregates/group_values/bytes.rs#L27

The bug you describe certainly can happen if there are large numbers of distinct large strings 🤔

FWIW in general offset overflows do yield panics in arrow-rs, the additional plumbing for error handling what is almost always an unrecoverable error has been hard to justify

The bug you describe certainly can happen if there are large numbers of distinct large strings in a multi-column group 🤔

Yes, this problem was first discovered in the case of a group by multi-column.

FWIW in general offset overflows do yield panics in arrow-rs, the additional plumbing for error handling what is almost always an unrecoverable error has been hard to justify, although I suspect in this case it could be made into an ArrowError without it being a breaking change.
Edit: I've updated this to be an enhancement, panics are not a bug

Do you mean we need to add a new function like the following?
pub fn try_decode_binary<I: OffsetSizeTrait>(
    rows: &mut [&[u8]],
    options: SortOptions,
) -> Result<GenericBinaryArray<I>, ArrowError> {
    ...
}

Do you mean we need to add a new function like the following?

Maybe you could add a check in your code (or in datafusion 🤔 ) on the size of the string buffer and make a new record batch if they exceed 2GB or something. This might be related: https://github.com/apache/datafusion/issues/9562
Making a single array with more than 2GB of string data is likely to be non ideal in a bunch of ways