lazy_load_data overwrites include and does not render relationship data

When lazy loading polymorphic relationships.. when including the relationship, the relationship object comes through but the relationship data does not.
# provider_lead_serializer.rb
class ProviderLeadSerializer
  include FastJsonapi::ObjectSerializer

  belongs_to :owner, polymorphic: true, lazy_load_data: true

  ...
end

# agent_serializer.rb
class AgentSerializer
  include FastJsonapi::ObjectSerializer
  ...
end

Without including the relationship, the data is not loaded (as expected):
ProviderLeadSerializer.new(provider_lead)

yields:
{
  "data": [
    {
      "id": 123,
      "type": "provider_lead",
      "attributes": {},
      "relationships": {
        "owner": { }
      }
    }
  ],
  "included": []
}

Then, I want to explicitly include the owner relationship:
ProviderLeadSerializer.new(provider_lead, { include: [:owner] })

yields:
{
  "data": [
    {
      "id": 123,
      "type": "provider_lead",
      "attributes": {},
      "relationships": {
        "owner": { }
      }
    }
  ],
  "included": [
    {
      "id": 456,
      "type": "agent",
      "attributes": {}
    }
  ]
}

^^^ This is missing the data on provider_lead.relationships. If i remove lazy_load_data: true, everything works as expect.
Expected JSON would be:
{
  "data": [
    {
      "id": 123,
      "type": "provider_lead",
      "attributes": {},
      "relationships": {
        "owner": {
          "data": {
            "id": 456,
            "type": "agent"
          }
        }
      }
    }
  ],
  "included": [
    {
      "id": 456,
      "type": "agent",
      "attributes": {}
    }
  ]
}

@mocerinoj it looks like this parameter (lazy_load_data: true) was designed to work this way:
https://github.com/fast-jsonapi/fast_jsonapi/blob/fdcaed6f0d72cf793b3117a5081de5fbd7466574/spec/lib/object_serializer_relationship_links_spec.rb#L53-L68
So I'm not sure what's broken here, could you help us understand your concern please? :)

That is true and expected (see my first example). However, when explicitly including that lazy loaded relationship, it should render the key.  https://github.com/fast-jsonapi/fast_jsonapi/blob/master/lib/fast_jsonapi/relationship.rb#L42

@mocerinoj What are you expecting lazy_load_data to do in this situation?  If removing lazy_load_data gives you the proper output, then doesn't that solve it for you?  Maybe you are expecting lazy_load_data to change how the relationship data is fetched from the object?  That is not what it does.
@stas is correct that lazy_load_data was implemented with the expectation that it worked in conjunction with links.  Here is the commit and PR.
That said, I don't think anyone has decided how lazy_load_data should behave when links is not specified.  I think the assumption is that it would not behave any differently.  If it behaves differently when other options are specified, I would consider that a bug that should be fixed.  I would also consider adding some validation to ensure that a relationship does not specify lazy_load_data without links, but that is probably a larger topic as we continue to refine the API.  I do agree that it is unclear though.

Hmm, I'm taking another look at this lazy_load_data and it seems an incredibly unhelpful name for what it does in fact haha
May I suggest we fix this and also include a more relevant name to reflect the documentation:
https://jsonapi.org/format/#document-resource-object-relationships
Like resource_linkage: false, this way we don't need to invent how to explain it?!
It seems like we should cover the following use-cases:

[x] Resource linkage occurs by default
[x] Resource linkage occurs when relevant included parameter value is present
[x] Resource linkage skipped when relevant parameter is passed
[ ] Resource linkage occurs when relevant parameter is passed and relevant included parameter value is present

fast_jsonapi includes the ID's of the relationships automatically, even though the client didn't ask it to...in my situation this really isn't what I want. What I would like to be able is to get a response like this when the client doesn't send the include query` params:
{
  "data": [
    {
      "id": 123,
      "type": "provider_lead",
      "attributes": {},
      "relationships": {
        "owner": {
           "meta":{
              included: false
            }
        }
      }
    }
  ]
}

or like this when he sends ?include=owner:
{
  "data": [
    {
      "id": 123,
      "type": "provider_lead",
      "attributes": {},
      "relationships": {
        "owner": {
          "data": {
            "id": 456,
            "type": "agent"
          }
        }
      }
    }
  ],
  "included": [
    {
      "id": 456,
      "type": "agent",
      "attributes": {}
    }
  ]
}

I thought that this is done with setting lazy_load_data to true, but I see from here that it's just a really bad name.
However, I'm curious whether or not my requirement is planned to implement or not? https://github.com/jsonapi-rb/jsonapi-rails has it implemented like this btw...

@cilim I'd recommend checking out the discussion in  #21, as it may be more closely related.
@stas I like the idea of using the terminology in the spec... but I think this one might be kind of confusing, as links and resource_linkage seem too similar.  I think someone would have to read the spec to know what resource_linkage means.  People will better understand it if it were more closely named to the question they are asking themselves: should I include data or not?
How about simply include_data?  IIRC, ActiveModel Serializers uses this term.  FWIW, I reviewed the original PR, and it looks like I originally recommended the option to be called include_data, but I was outvoted.  I still think it's a viable option.
Another idea that would align it more closely to the spec is to have a data option.  If false, it would not include data in the output.  If true, it would include the data in the output.  If a Proc, it can define how to fetch the data (equivalent to how object_block works today), or whether the data should be output at all.  Some examples:
# data is true by default, so these are equivalent
has_many :actors
has_many :actors, data: true

# when specifying links and no data
has_many :actors, data: false, links: { ... }

# describes HOW to fetch the data, by returning an object, array, or nil
has_many :actors, data: -> { |object, params| object.stars }

# describes IF the data should be specified, by returning a boolean
has_many :actors, data: -> { |object, params| !!params[:include_actors] }

This seems like a really succinct and intuitive approach.  The fact that the data JSON output can never be boolean allows us to use the same key to define both the "if behavior" and the "how behavior".

How about simply include_data? IIRC, ActiveModel Serializers uses this term. FWIW, I reviewed the original PR, and it looks like I originally recommended the option to be called include_data, but I was outvoted. I still think it's a viable option.

I think that will work. As long as things are clear...

Another idea that would align it more closely to the spec is to have a data option. If false, it would not include data in the output. If true, it would include the data in the output. If a Proc, it can define how to fetch the data (equivalent to how object_block works today), or whether the data should be output at all. Some examples:

Sounds like it would interfere with the support covered by the if: -> {}, which in fact appeals to me more, and could be a way to deprecate this option and let the users leverage the more versatile if:  API. Though it will indeed require a bit more legwork...
So everyone will probably not like it :sweat_smile:


implement the v100 handshake to properly check version of server and client

Using the reference implementation at https://github.com/maxicus/ib-tws-api port the v100 handshake over.  This will make the sending and receiving much safer throughout

Is there any plan or timeline for this? Need a cloud of V100 features (such PnL and singlePnL unrealizedPnL / realizedPnL).
Wondering if it is worth waiting, if I shall implement it and do a PR.

@mfrener it would be super awesome if you added a PR for it, thank you very much

V100 is implemented on ready for testing on https://github.com/stoqey/ib/tree/overhaul/port-ts branch (as well as some more new features, the branch now has a full API 9.76 / May 08 2019 implementation).
I will test it my own app, if you have apps that depend on this lib, pls try them with port-ts branch too to make sure everything still works. You need to change creation of IB object, see example on Welcome page - rest of the interface should be backward compatible, except a couple of functions signatures that where not in sync with official API - they have been change to be same).
PR to master will follow next 2-3 days, after I feel confident enough that nothing has been broken ;)

This great. I’ll try to check my apps tomorrow and give feedback
On Wed, Dec 23 2020 at 8:57 PM, Matthias Frener <<EMAIL_ADDRESS>> wrote:

V100 is implemented on ready for testing on https://github.com/stoqey/ib/tree/overhaul/port-ts
branch (as well as some more new features, the branch now has a full API
9.76 / May 08 2019 implementation).
I will test it my own app, if you have apps that depend on this lib, pls
try them with port-ts branch too to make sure everything still works. You
need to change creation of IB object, see example on Welcome page - rest
of the interface should be backward compatible, except a couple of
functions signatures that where not in sync with official API - they have
been change to be same).
PR to master will follow next 2-3 days, after I feel confident enough that
nothing has been broken ;)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (
https://github.com/stoqey/ib/issues/3#issuecomment-750702293 ) , or unsubscribe
(
https://github.com/notifications/unsubscribe-auth/AAAYLBFNFYMYGFMRDHJEIJ3SWKN2DANCNFSM4SH7XGSA
).

ok.. so if you use "supporting" objects such as Contract, Oder, Condition objects.. you actually need to change more code in the app. This is are real class objects now, so no more ib.contract.stock('AAPL'), but new Contract("APPL")
But we have an API doc now as well https://stoqey.github.io/ib-doc/ .. good test to see if you can figure how to port your app using it :D

@mfrener I think this should be closed?

Yes. V100Plus is now enabled by default on master.
(use IBApi.disableUseV100Plus() if you want to fallback to pre-V100 of any reason).


Project Wiki

Create Project wiki for project 1.

Added Project Wiki
https://github.com/airavata-courses/epsilon/wiki

All ok


openapi-generator-support

This  PR is to support openapi-generator-cli as a code-generator.

I am a beginner to OSS contribution.
Please let me know if I forget about what is necessary for PR.

I think I was misunderstanding the test of acceptance-test/codegen-v3/multiple-codegen-versions.
This is not to generate code from openapi 2.0 and 3.0, but to use the code generator of V2, V3 at the same time is it?
I will Fix.

We rebase the branch of PR and force push, so we close this PR once.


Incorrect boundsWithFx data after file load

Reported by user at https://groups.google.com/forum/#!topic/adobe-generator-dev/Tmm4hwANSb0
Steps to replicate

Open Photoshop 2015.1.1 Win x64
Open attached test2.psd
Observe that boundsWithFx = {top:325, left:551, bottom: 505, right: 1064 }
Select layer default and nudge it one step downwards
Observe that boundsWithFx = {top:337, left:560, bottom: 517, right: 1073 }
x-coordinates have been shifted by 9px even though move was horizontal

Test file provided by user: http://cloud.joelbrandt.org/352L2g0m0b1M

@pineapplespatula can you see if this occurs on our bleeding edge?  File core JIRA if necessary, and/or just throw it back in the queue if it is still repro.

Yes It is still reproduceable

Created JIRA bug 1334


Skip pre-req install by default in the KServe test suite

To avoid conflicts after https://github.com/red-hat-data-services/ods-ci/pull/1039 got merged, we should skip installing the pre-requirements in the KServe suite.
The suite can still install them by setting SKIP_PREREQS_INSTALL variable to False at runtime

Isn't it possible to check whether these prerequisities are installed already? :thinking:

Isn't it possible to check whether these prerequisities are installed already? 🤔

yes it's possible. We could implement a check in future PRs, it would take time we don't have now and the benefit would be minimal

yes it's possible. We could implement a check in future PRs, it would take time we don't have now and the benefit would be minimal

Maybe I'm missing something but I don't agree that the benefit would be minimal :slightly_smiling_face:  Anyway, I agree that we need this fast.

yes it's possible. We could implement a check in future PRs, it would take time we don't have now and the benefit would be minimal

Maybe I'm missing something but I don't agree that the benefit would be minimal 🙂 Anyway, I agree that we need this fast.

we can talk offline


Automate the manual release step (clicking the button in Maven central)

This is a duplicate of https://github.com/VirtuslabRnD/pulumi-kotlin/issues/276


Text cannot print invisible characters

Description
Hi !
I have a number formatted with Intl.NumberFormat that I want to display via a Text. The string can contains invisible characters like U+202f.
When trying to display this number, it shows a symbol with NOGLYPH written on it :

Do I need to remove those symbols from the string, or is it something that RN Skia doesn't handle yet ?
Version
0.1.193
Steps to reproduce

Create a string containing invisible spaces
Display the string in a Canvas with a Text

Snack, code example, screenshot, or link to a repository
Formatting the number :
const locale = getLocaleOrDefault()
const f = new Intl.NumberFormat(locale, {
  style: "currency",
  currency: "EUR",
})
const formattedNumber = f.format(3500)

Displaying the number :
<Canvas style={{ width, height }}>
	<Text
		text={formattedNumber}
		x={width / 2 - textWidth / 2}
		y={height / 2 + fontSize / 2}
		font={font}
	/>
</Canvas>

Ok, thanks for the explanation ! 😊


Multiple ListViews with multiple items slows down switching views

Multiple ListViews with multiple items slows down switching views
I am using the HamburgerMenu as navigation and Caliburn.Micro as MVVM Framework.
I got 3 Views besides the Shellview, ViewA and ViewB are only containing a few items like TextBlocks, TextBoxes and ComboBoxes. Switching between those is really smooth and very well animated (using Transition="RightReplace"). ViewC is containing 8 ListViews with custom ListViewItemStyle, as long as they are empty everything is smooth here aswell. As soon as I add items to those ListViews the navigation from and towards ViewC is pretty slow. The interaction with each ListView itself is fine. The navigation even slows down if I only add 2 items to each ListView. No animation is showing at all, the whole UI freezes for some time (depending on the amount if items in the ListViews)
I tested so far:

"VirtualisedMetroListView", no change in the behaviour.
"WrapPanel", "VirtualizingStackPanel", "StackPanel" and setting the Virtualizing options manually in each Listview, no change in the behaviour.
Removing MahApps.Metro completly, solves the to 95%. It speeds up alot, but still missing some milliseconds compared to empty ListViews (and the App looks ugly now...)
Removing custom ListViewItemStyle, removes the slowdown when loading ViewC, but leaving from ViewC is still slowed down.

Environment:

MahApps.Metro v2.0.0-alpha0391
OS: Win10 v1809
Visual Studio 2019 v16.1.6
.NET Framework v4.5.2

I have no Idea what else I can try or do to prevent the App from slowing down that much.

@Hanebu Can you create an app with this behavior? Thx.

Of course! Here you go...

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version. If it’s an enhancement and hasn’t been taken on for so long, then it seems no one has the time to implement this.
Please reopen if you still encounter this issue with the latest stable version and then please use the issue template.
If you have enough time then it would be nice to test this issue against the latest alpha version (availabe via NuGet and appveyor).
Thank you! 🙏


Script bug fix

This PR contains a bug fix addressing the client script method. The script method would incorrectly parse script parameter strings as json. This PR upgrades the isJson utility method to correctly identify json objects.

Coverage remained the same at 100.0% when pulling 922b585a1d19dc6789b7e5b4cd717a016ac9f286 on script-bug-fix into 50929863e00db19ddf08d2b868546e1dc9eb8e7a on master.


fix(posts): change stylesheet name in post. (2019-08-09-getting-started.md)

Type of change

[x] Documentation update

Description

After this change, the corresponding post (2019-08-09-getting-started.md) must also be adjusted.
https://github.com/cotes2020/jekyll-theme-chirpy/commit/806fa3aa1a7444186e1db4fe693886450e351997
Additional context

Nothing else...

Ahh now you were faster than me.
😁👍👍


Integrate GOW into scoop

Scoop is awesome and I start thinking on a way that we can integrate GOW or probably a more mature and well-maintained "GNU on Windows" solution - like MinGW - into scoop.
I know that some commands like grep and sed are in place but we may want to expand this further.
I'm open to try to do this from my own and send the corresponding PR later but I would like to get some guidance before start, if possible :smile:
Thanks,
Gustavo

Hi Gustavo. As well as the few standalone unix tools, we also have manifests for GOW and the lightweight busybox.
And then there's msys which I found to be the easiest way to use the MinGW tools. But if you know a better way to do it I'd be happy to merge your PR.

My apologies @lukesampson, I didn't saw this in the first time.
Thanks and I'll give busybox a try
Gustavo


Redirect to order details when placing order.

Fixes https://github.com/dotnet-presentations/blazor-workshop/issues/71.
The OrdersController in BlazingPizza.Server now returns the id of the placed order. PlaceOrder() in Index.razor uses the returned id to navigate to the order details at $"myorders/{newOrderId}".

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: BasPaap sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

LGTM

Before merging this, we will need to verify it works within the flow of the workshop. I thought we redirected to the orders list because that was the only thing implemented early on in the workshop.

This step is the last step of save point 3, and comes after "Rendering the order details" where the order details are implemented.

@rynowak @danroth27 This PR looks good to me. I can't remember any reason why we wanted to redirect to the orders list, instead of to the specific order that was just placed. Can you remember any reason for that?


fix(deps): update minimist to 1.2.6

This PR fixes npm audit report using npm audit fix.
# npm audit report

minimist  <1.2.6
Severity: critical
Prototype Pollution in minimist - https://github.com/advisories/GHSA-xvch-5gv4-984h
fix available via `npm audit fix`
node_modules/minimist

1 critical severity vulnerability

To address all issues, run:
  npm audit fix

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Update dependency versions

Motivation and Context
Update to fix the CVE in out of date jinja package version
What has changed

Pipenv lock

Links
https://trello.com/c/6HqI30zr/664-update-python-package-versions-to-fix-cve-2019-10906

 Update python package versions to fix CVE-2019-10906


UnboundLocalError: cannot access local variable 't' where it is not associated with a value """

What i do
Hello. I tried to annotate my own dataset. And I got an error that I don't understand.
I'm a newbie. He is generally unable to understand what happened and why it happened.
I am attaching all the materials that I have
I have CSV-Scheme

audio
text
speeker_id

./audio/audio_427.wav
Текст на кириллице
1111

I upload CSV and cast csv as written in the documentation.
Uploading to HgFace. I start dataspeech with arguments.
He loaded it, he started doing something, and then that was it.
What i group dataset
python group_dataset.py from_audio to_csv

Out. It save datasets.csv:
./audio/audio_427.wav, а затем базальта!. ,1111
./audio/audio_231.wav, razus!. ,1111

Cast and upload dataset to HG
python group_dataset.py from_csv cast_audio push_to_hub

# In short it does this >

df = Dataset.from_csv("./datasets.csv")
df = df.cast_column("audio", Audio(32000))
df.push_to_hub(repo_id="", token="")

Start dataspeach
python main.py "Anioji/testra" \
--configuration "default" \
--output_dir /root/dataspeech/tmp_stone_base/ \
--text_column_name "text_original" \
--audio_column_name "audio" \
--cpu_num_workers 4 \
--num_workers_per_gpu 4 \
--rename_column \

Tracelog
/root/dataspeech/venv/lib/python3.11/site-packages/pyannote/audio/core/io.py:43: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
  torchaudio.set_audio_backend("soundfile")
WARNING - torchvision is not available - cannot save figures
Compute speaking rate
Compute snr and reverb
Map (num_proc=4):   0%|                                                  | 0/534 [00:00<?, ? examples/s]/root/dataspeech/venv/lib/python3.11/site-packages/pyannote/audio/core/io.py:43: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
  torchaudio.set_audio_backend("soundfile")
/root/dataspeech/venv/lib/python3.11/site-packages/pyannote/audio/core/io.py:43: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
  torchaudio.set_audio_backend("soundfile")
WARNING - torchvision is not available - cannot save figures
WARNING - torchvision is not available - cannot save figures
INFO - Lightning automatically upgraded your loaded checkpoint from v1.6.5 to v2.2.2. To apply the upgrade to your files permanently, run `python -m pytorch_lightning.utilities.upgrade_checkpoint ../.cache/huggingface/hub/models--ylacombe--brouhaha-best/snapshots/99bf97b13fd4dda2434a6f7c50855933076f2937/best.ckpt`
Model was trained with pyannote.audio 0.0.1, yours is 3.1.1. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.12.1+cu102, yours is 2.2.2+cu121. Bad things might happen unless you revert torch to 1.x.
Using default parameters optimized on Brouhaha
Map (num_proc=4):   3%|█▏                                       | 16/534 [00:08<04:39,  1.85 examples/s]Using default parameters optimized on Brouhaha
Map (num_proc=4):   6%|██▍                                      | 32/534 [00:09<02:00,  4.16 examples/s]Using default parameters optimized on Brouhaha
Map (num_proc=4):   9%|███▋                                     | 48/534 [00:09<01:10,  6.91 examples/s]Using default parameters optimized on Brouhaha
Map (num_proc=4):  12%|████▉                                    | 64/534 [00:10<00:46, 10.02 examples/s]Using default parameters optimized on Brouhaha
Map (num_proc=4):  15%|██████▏                                  | 80/534 [00:10<00:35, 12.97 examples/s]Using default parameters optimized on Brouhaha
Map (num_proc=4):  18%|███████▎                                 | 96/534 [00:11<00:28, 15.57 examples/s]Using default parameters optimized on Brouhaha
Map (num_proc=4):  18%|███████▎                                 | 96/534 [00:12<00:57,  7.58 examples/s]
multiprocess.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/root/dataspeech/venv/lib/python3.11/site-packages/multiprocess/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
                    ^^^^^^^^^^^^^^^^^^^
  File "/root/dataspeech/venv/lib/python3.11/site-packages/datasets/utils/py_utils.py", line 675, in _write_generator_to_queue
    for i, result in enumerate(func(**kwargs)):
  File "/root/dataspeech/venv/lib/python3.11/site-packages/datasets/arrow_dataset.py", line 3547, in _map_single
    batch = apply_function_on_filtered_inputs(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/dataspeech/venv/lib/python3.11/site-packages/datasets/arrow_dataset.py", line 3416, in apply_function_on_filtered_inputs
    processed_inputs = function(*fn_args, *additional_args, **fn_kwargs)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/dataspeech/dataspeech/gpu_enrichments/snr_and_reverb.py", line 32, in snr_apply
    res = pipeline({"sample_rate": sample["sampling_rate"],
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/dataspeech/venv/lib/python3.11/site-packages/pyannote/audio/core/pipeline.py", line 325, in __call__
    return self.apply(file, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/dataspeech/venv/lib/python3.11/site-packages/brouhaha/pipeline.py", line 146, in apply
    speech: Annotation = self._binarize(speech_seg)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/dataspeech/venv/lib/python3.11/site-packages/pyannote/audio/utils/signal.py", line 303, in __call__
    region = Segment(start - self.pad_onset, t + self.pad_offset)
                                             ^
UnboundLocalError: cannot access local variable 't' where it is not associated with a value
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/root/dataspeech/main.py", line 49, in <module>
    snr_dataset = dataset.map(
                  ^^^^^^^^^^^^
  File "/root/dataspeech/venv/lib/python3.11/site-packages/datasets/dataset_dict.py", line 869, in map
    {
  File "/root/dataspeech/venv/lib/python3.11/site-packages/datasets/dataset_dict.py", line 870, in <dictcomp>
    k: dataset.map(
       ^^^^^^^^^^^^
  File "/root/dataspeech/venv/lib/python3.11/site-packages/datasets/arrow_dataset.py", line 602, in wrapper
    out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/dataspeech/venv/lib/python3.11/site-packages/datasets/arrow_dataset.py", line 567, in wrapper
    out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/dataspeech/venv/lib/python3.11/site-packages/datasets/arrow_dataset.py", line 3248, in map
    for rank, done, content in iflatmap_unordered(
  File "/root/dataspeech/venv/lib/python3.11/site-packages/datasets/utils/py_utils.py", line 715, in iflatmap_unordered
    [async_result.get(timeout=0.05) for async_result in async_results]
  File "/root/dataspeech/venv/lib/python3.11/site-packages/datasets/utils/py_utils.py", line 715, in <listcomp>
    [async_result.get(timeout=0.05) for async_result in async_results]
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/dataspeech/venv/lib/python3.11/site-packages/multiprocess/pool.py", line 774, in get
    raise self._value
UnboundLocalError: cannot access local variable 't' where it is not associated with a value

The solution was to do TMPDIR="/some/path" before pip install -r requirements.txt
TMPDIR="/root/tmp" pip install -r requirements.txt

But this did not solve the problems associated with the fact that I have major differences in the versions of pytorch in this project and on my server.
Nobody fixed the versions. That's why he cursed at Torchvision, and now he curses at pyannote and lighning_pytorch
INFO - Lightning automatically upgraded your loaded checkpoint from v1.6.5 to v2.2.4. To apply the upgrade to your files permanently, run `python -m pytorch_lightning.utilities.upgrade_checkpoint ../.cache/huggingface/hub/models--ylacombe--brouhaha-best/snapshots/99bf97b13fd4dda2434a6f7c50855933076f2937/best.ckpt`
INFO - Lightning automatically upgraded your loaded checkpoint from v1.6.5 to v2.2.4. To apply the upgrade to your files permanently, run `python -m pytorch_lightning.utilities.upgrade_checkpoint ../.cache/huggingface/hub/models--ylacombe--brouhaha-best/snapshots/99bf97b13fd4dda2434a6f7c50855933076f2937/best.ckpt`
INFO - Lightning automatically upgraded your loaded checkpoint from v1.6.5 to v2.2.4. To apply the upgrade to your files permanently, run `python -m pytorch_lightning.utilities.upgrade_checkpoint ../.cache/huggingface/hub/models--ylacombe--brouhaha-best/snapshots/99bf97b13fd4dda2434a6f7c50855933076f2937/best.ckpt`
Model was trained with pyannote.audio 0.0.1, yours is 3.2.0. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.12.1+cu102, yours is 2.3.0+cu121. Bad things might happen unless you revert torch to 1.x.
Model was trained with pyannote.audio 0.0.1, yours is 3.2.0. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.12.1+cu102, yours is 2.3.0+cu121. Bad things might happen unless you revert torch to 1.x.
INFO - Lightning automatically upgraded your loaded checkpoint from v1.6.5 to v2.2.4. To apply the upgrade to your files permanently, run `python -m pytorch_lightning.utilities.upgrade_checkpoint ../.cache/huggingface/hub/models--ylacombe--brouhaha-best/snapshots/99bf97b13fd4dda2434a6f7c50855933076f2937/best.ckpt`
Model was trained with pyannote.audio 0.0.1, yours is 3.2.0. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.12.1+cu102, yours is 2.3.0+cu121. Bad things might happen unless you revert torch to 1.x.
Model was trained with pyannote.audio 0.0.1, yours is 3.2.0. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.12.1+cu102, yours is 2.3.0+cu121. Bad things might happen unless you revert torch to 1.x.

@ylacombe can you get current versions of packets for dataspeech?


Update Wally Database for Gold

Describe the task
Update the existing database storing procedures to be able to handle the new Keycloak token structure
Acceptance Criteria

[ ] Database can properly save user info from Keycloak

Additional context
How WALLY is saving things to the database is relatively unknown to me at the time of writing this other than the logic happens on the backend.  I do know the important tables relating to Keycloak having looked at it in openshift.  There is a user table and a user_map_layer table in the database.
The user_map_layer table only uses idir's for saving/looking up info; that will still exist in gold but the field in the token could be a different name so that will possibly need to be updated.
The user layer is going to require a migration as the user_uuid is no longer going to exist in the gold realm; that is what will become the GUID.  I have uploaded the files that pair the UUID to the correct user's GUID from Zorin to the Dev Chat files section, and I believe Norris has experience writing a translation table for this kind of work so he will probably be able to give more info on how to go about doing this.

This work is being done in WALLY ticket #697


Fix for 1.19.X

It is already in test.
Have you tested it for all version and both multiplayer/singleplayer ? With REI and without ?

Yes, I checked in multiplayer and in single player. I have not checked REI, because I do not run it. but everything works with JEI.


apis: add MetricPrediction crd

Ⅰ. Describe what this PR does

define metric prediction crd for recommendation and predction.
the following yaml defines a MetricPrediction called mericprediction-sample.
mericprediction-sample spec claims that it needs the resource prediction for a workload.

prediction is on container level for a Deployment called nginx
metric types are cpu and memory from metric-server
using distribution profiler which statistic its history usage

mericprediction-sample status returns the cpu and memory profiling result for all containers of nginx workload.
apiVersion: analysis.koordinator.sh/v1alpha1
kind: MetricPrediction
metadata:
  name: mericprediction-sample
  namespace: default
spec:
  target:
    type: workload
    workload:
      apiVersion: apps/v1
      kind: Deployment
      name: nginx
      hierarchy:
        level: container
  metric:
    source: metricServer
    metricServer:
      resources: [cpu, memory]
  profilers:
  - name: recommendation-sample
    model: distribution
    distribution:
      # args
status:
  results:
  - profilerName: recommendation-sample
    model: distribution
    distributionResult:
      items:
      - id:
          level: container
          name: nginx-container
        resources:
        - name: cpu
          avg: 6850m
          quantiles:
            # ...
            p95: 7950m
            p99: 8900m
          stdDev: 759m
          firstSampleTime: 2024-01-29T07:15:56Z
          lastSampleTime: 2024-01-30T07:15:56Z
          totalSamplesCount: 10000
          updateTime: 2024-01-30T07:16:56Z
          conditions: []
        - name: memory
          avg: 1000Mi
          quantiles:
            # ...
            p95: 1100Mi
            p99: 1200Mi
          stdDev: 100Mi
          firstSampleTime: 2024-01-29T07:15:56Z
          lastSampleTime: 2024-01-30T07:15:56Z
          totalSamplesCount: 10000
          updateTime: 2024-01-30T07:16:56Z
          conditions: []

Ⅱ. Does this pull request fix one issue?

more infos can get from #1880
Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
Intergrating with Metric Predition Framework
Metric Prediction Framework is kind of a "deep module", providing algorithms and prediction models in backend. There could be multiple profilers built with Metric Prediction as a foundation. Here are some scenarios about how to use the framework.

Resource Recommender for Workload
The spec of Recommendation defines it needs the recommended resources(CPU and memory) for a deployment named nginx-sample, and the recommendResources in status show the result for each container.

apiVersion: analysis.koordinator.sh/v1alpha1
kind: Recommendation
metadata:
  name: recommendation-sample
  namespace: recommender-sample
spec:
  workloadRef:
    apiVersion: apps/v1
    kind: Deployment
    name: nginx-sample
status:
  recommendResources:
    containerRecommendations:
    - containerName: nginx-container
      target:
        cpu: 4742m
        memory: 262144k

The recommendation is calculated with quantile value of history metrics. If the Using the Metric Prediciton as profiling model, the requirement of recommendation-sample can be expressed in MetricPrediction.
For different kind of workload, the recommendation can select specified quantile value from MetricPrediction, for example p95 for Deployment and average for Job, then increase with a 10–15% margin for safety.
apiVersion: analysis.koordinator.sh/v1alpha1
kind: MetricPrediction
metadata:
  name: mericprediction-sample
  namespace: default
spec:
  target:
    type: workload
    workload:
      apiVersion: apps/v1
      kind: Deployment
      name: nginx-sample
      hierarchy:
        level: container
  metric:
    source: metricServer
    metricServer:
      resources: [cpu, memory]
  profilers:
  - name: recommendation-sample
    model: distribution
    distribution:
      # args

Hotspot Prediction by Timeseries Metric
Pod orchestration varies over time on node, and each pod has its own cycle on resource usage. The NodeQoS CR below describe the usage prediction according to workload metric prediction based on time series.

apiVersion: analysis.koordinator.sh/v1alpha1
kind: NodeQoS
metadata:
  name: node-sample
spec:
  usagePredictionPolicy: workloadByTime
status:
  usageOverTtime:
  - timeWindow: "0~1" # 1~2 hour
    max:
      cpu: 6039m
      memory: 18594k
    average:
      cpu: 4028m
      memory: 15782k
    p95:
      cpu: 5731m
      memory: 18043k
  - timeWindow: "1~2" # 1~2 hour
    max:
      cpu: 6039m
      memory: 18594k
    average:
      cpu: 4028m
      memory: 15782k
    p95:
      cpu: 5731m
      memory: 18043k

The usageOverTtime result in Node QoS is aggregated from MetricPredicion of all workloads running on the Node now, so that the descheduler can check whether there are nodes overloaded in near future then rebalance some pods to others.
apiVersion: analysis.koordinator.sh/v1alpha1
kind: MetricPrediction
metadata:
  name: mericprediction-sample
  namespace: default
spec:
  target: # workload
  metric:
    source: metricServer
    metricServer:
      resources: [cpu, memory]
    prometheus:
    - resource: memoryBandwidth
      name: container_memory_bandwidth
  profilers:
  - name: timeseries-sample
    model: timeseries-trend
    timeseries-trend: # args

Interference Detection for Workload Otliers
Pod may got interference during runtime due to the resource contention on node, which can be analysed through CPI, PSI, CPU schedule latency etc. Specifiy algorithm such as OCSVM in MetricPrediction then the model will be available in status.

apiVersion: analysis.koordinator.sh/v1alpha1
kind: MetricPrediction
metadata:
  name: mericprediction-sample
  namespace: default
spec:
  target: # workload
  metric:
    prometheus:
    - resource: cpi
      name: container_cpi
    - resource: psi_cpu
      name: container_psi_cpu
    - resource: csl
      name: container_cpu_scheduling_latency
  profilers:
  - name: interference-sample
    model: OCSVM
    ocsvm: # args

The Interference Manager will parse and send the corresonding model of workload to koordlet. koordlet will execute QoS strategies once it finds some pod is an outlier according to recent metrics.

V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in make test

Ⅰ. Describe what this PR does
define metric prediction crd for recommendation and predction.
the following yaml defines a MetricPrediction called mericprediction-sample.
mericprediction-sample spec claims that it needs the resource prediction for a workload.

prediction is on container level for a Deployment called nginx
metric types are cpu and memory from metric-server
using distribution profiler which statistic its history usage

mericprediction-sample status returns the cpu and memory profiling result for all containers of nginx workload.
apiVersion: analysis.koordinator.sh/v1alpha1
kind: MetricPrediction
metadata:
  name: mericprediction-sample
  namespace: default
spec:
  target:
    type: workload
    workload:
      apiVersion: apps/v1
      kind: Deployment
      name: nginx
      hierarchy:
        level: container
  metric:
    source: metricServer
    metricServer:
      resources: [cpu, memory]
  profilers:
  - name: recommendation-sample
    model: distribution
    distribution:
      # args
status:
  results:
  - profilerName: recommendation-sample
    model: distribution
    distributionResult:
      items:
      - id:
          level: container
          name: nginx-container
        resources:
        - name: cpu
          avg: 6850m
          quantiles:
            # ...
            p95: 7950m
            p99: 8900m
          stdDev: 759m
          firstSampleTime: 2024-01-29T07:15:56Z
          lastSampleTime: 2024-01-30T07:15:56Z
          totalSamplesCount: 10000
          updateTime: 2024-01-30T07:16:56Z
          conditions: []
        - name: memory
          avg: 1000Mi
          quantiles:
            # ...
            p95: 1100Mi
            p99: 1200Mi
          stdDev: 100Mi
          firstSampleTime: 2024-01-29T07:15:56Z
          lastSampleTime: 2024-01-30T07:15:56Z
          totalSamplesCount: 10000
          updateTime: 2024-01-30T07:16:56Z
          conditions: []

Ⅱ. Does this pull request fix one issue?
Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ]  I have written necessary docs and comments
[ ]  I have added necessary unit tests and integration tests
[ ]  All checks passed in make test

typo: mericprediction -> metricprediction

Add some user stories to help understand how the API is used

corresonding

udpated with more user stories.

In the case where there is another layer in the usage scenario mentioned earlier, does MetricPrediction need to be a CRD?

In the case where there is another layer in the usage scenario mentioned earlier, does MetricPrediction need to be a CRD?

The Recommendation controller in Koordinator does not need create MetricPrediction CR in APIServer, which means the MetricPrediction is a internal protocol, converting Recommendation CR to MetricPrediction INTERNAL for framework.
In the following scenarios MetricPrediction CR will be created:

An external controller want to use the Prediction module of Koordiantor, then MetricPrediction CRD acts as an API between external controller and Koordiantor.
Before developing a new profiler controller, MetricPrediction will be created for performing experiments and demo before implementation. For example we need to compare whether to use ARIMA or Prophet algorithm in NodeQoS controller.

First we will support usage scenario, and the development will take two steps:

MetricPrediction framework with Distribution model, useing the resource prediction scenario to verify the framework works well. Then the framework can be extended with more algorithm models such as Interference Detection.
Recommendation controller based on MetricPrediction framework, considering workload type(Job/Service), OOM event, etc.

/hold until we have implemented first user strory


use user provided epsilon for RandomPercentile in StreamingStatistics

pass user provided epsilon value that can control size of buffer array to optimize the size of the object.
currently DEFAULT_EPSILON = 1e-4; and RandomPercentile does provide constructor that takes epsilon value but StreamingStatistics does not initiate with any value, so user can not provide any explicit epsilon value.
solution is to introduce variable epsilon or epsilonForPercentile and pass it while initializing if set.

Hi @maisonobe, That was quick !, I was working on putting similar solution, but Thanks for taking care of this.


'GoogleMaps/GoogleMaps.h' file not found in AIRGoogleMapPolygon.h

Have you read the Installation Instructions?
(YES)
Environment
"react": "16.3.1",
"react-native": "0.55.4",
"react-native-maps": "^0.21.0"
When i am running app from  xCode error  'GoogleMaps/GoogleMaps.h' file not found is showing.
Full path : GoogleMapProject/node_modules/react-native-maps/lib/ios/AirGoogleMaps/AIRGoogleMapPolygon.h

getting the same problem after updating to 0.21

same here.
"react": "16.3.1",
"react-native": "0.55.4",

same here.
"react": "^16.3.2",
"react-native": "^0.55.3",
"react-native-maps": "^0.21.0",

Same here, but I don't want to use GoogleMaps...
"react": "16.3.1", "react-native": "0.55.4", "react-native-maps": "^0.21.0",

Are you guys using Cocoapods? or manual install?

I am using pod

by the way how can you install manually ?

@dreallday

@Webdev55486 Let me test it with Pods.
Installing it manually is very, very painful. You have to follow the instructions on google maps sdk for ios. I wouldn't do it again.

thanks @dreallday .
then in my side that working well with simulator and xcode.
but after build the ipa and uploaded to the diawi.
when install that to my device , App crashed.

@dreallday  i am using cocoapods i have installed  it with command "sudo  gem install cocoapods" .

I'm using without CocoaPods and started seeing this build error when upgrading from
"react": "^16.2.0",
"react-native": "^0.53.0",
"react-native-maps": "^0.20.1",

to
"react": "^16.3.1",
"react-native": "^0.55.4",
"react-native-maps": "^0.21.0",

Cloned down this repo, used npm link into my project with
git bisect start
git bisect good 106f0ca5774ec3dc1107c70458343a1dcd9c5989 (v0.20.1)
git bisect bad c53ff0ad2632a049b6e6a25b7b304005e4f9791e (v0.21.0)

Cleaning and building in Xcode on each commit, it landed on d22f96f9115f10b50085206463143c421f8d948d as the first bad commit, at a quick glance I'd guess this may be related to adding all the AirGoogleMap files to lib/ios/AirMaps.xcodeproj/project.pbxproj.

Changed the Deploy Target to 9.0 and did a pod install and all is well.

I have the same problem with:
"react": "16.0.0-alpha.6",
"react-native": "0.43.3",
"react-native-maps": "^0.21.0",

Please check out my proposed fix in #2310 and give feedback if it fixes this issue for y'all!

$(SRCROOT)/../node_modules/react-native-maps/lib/ios/AirMaps

Fix for this was merged in https://github.com/react-community/react-native-maps/pull/2396 and released in

@rborn  Please let me know how to fix this issue !

@Kottidev use the git version

@rborn

I have this:
"react-native-maps": "https://github.com/react-community/react-native-maps.git",
clean your node_modules, npm install and try again, if it's still not working make a backup and try react-native link react-native-maps

Add pod 'GoogleMaps', '~> 2.7.0' and then pod install solves the problem

Upgrading to latest react-native-maps(0.23.0) resolved my problem
npm i<EMAIL_ADDRESS>react-native link

npm i<EMAIL_ADDRESS>react-native link

this was the solution for me. I am not using cocoa-pods just followed the manual installation
and this .


[Feature Request] Multimaster cluster

Not only performant, developers should also set up a HA cluster like 3 Master and 6 Slaves, which maintains a Strong consistency relationship between Masters and Eventual consistency between Master and Slave. Is it possible to set up right now or on the roadmap?

Hi @joeky888!
We don't plan to support multi-master.
Our existing architecture is highly available though — if the primary fails, another replica will automatically take over.
All writes, and all reads (tbd) are serialized through the commit log.
We do have (WIP) "standbys", which are replicas that do not participate in consensus, but which nevertheless asynchronously catch up to the cluster (eventual consistency). When they catch up, they can be converted to regular replicas via reconfiguration. (The main use case for this is adding/removing servers from the cluster).
Can you clarify what specific feature you are interested in?

KeyDB, TiDB, CockroachDB and YugabyteDB all have multi-master mode with CDC-driven design afaik. Imaging there are several heavy computations on the hot data of single-master node and the master just that couldn't scale vertically anymore. I believe that's one of the reason that people switched from Redis to KeyDB or switched from MySQL to TiDB.

What we expected in the production environment would be

A Kubernetes helm chart to set up a multi-master cluster with ease
Monitoring and alerting system
Scaling up horizontally without downtime

Hi @sentientwaffle are you guys already supporting the CDC export stream? We are evaluating TB for our banking core application and want to build reporting functions on top of the core ledger transactions and accounts recorded on TB.

Yeah, TB is not horizontally scalable. But it will support very high + reliable throughput, so it probably won't be a bottleneck.
For very expensive/complex queries, you would want to handle that outside of TB — for that we will support a CDC export stream, so you could ship the accounts/transfers to another database (e.g. for analytics).

i second the CDC stream question, for things like EOD processing ie merchant settlement and calculations of merchant commissions it is quite important to be able to post process and sweep commissions


WGET command directly from ProDOS BASIC

What do suggest for improvement?
Currently there is already an RPI command that allows Linux commands to be executed on the RPI and output to the Apple II from ProDOS BASIC programs and command prompt but "RPI wget [URL]" will just download to the RPi itself. It would be nice to have files download directly to the Apple II like "WGET [URL] [FILENAME], A$[ADDRESS], T[TYPE]" for example, "WGET https://some-apple2-site.com/files/launcher.system LAUNCHER.SYSTEM, A$2000, TSYS".

does curl  work? it should write to stdout. Is there any way to redirect it's output?

Yes curl works. No, there isn't currently a way to redirect output in the shell app running on the Apple II. You can of course redirect output on the Linux command line but that would stay on the RPi.

Added dynamic drive support so the ProDOS volume is the contents of the current working directory on Linux. This allows for a more direct download. Note that right now the drive only refreshes on change of working directory so you would need to RPI cd .. and 'RPI cd [directory where you were]`. After that, 'CAT' will show you the files just downloaded.


Feature - Platform System

Added required classes, profiles, and inspectors
XRTK - Mixed Reality Toolkit Change Request
Overview
The platform system aims to solve the problems we're having with multiple build targets on a single hardware platform.
Target of the change:
Is this enhancement for:

Core (core framework, interfaces and definitions)

Changes

[ ] Fixes: #378
[ ] Fixes: #377
[ ] Fixes: #247

Looks like the Unit Tests didn't like this change. Gotta look into that later.

Seems fair, but not clear on how a platform declares itself yet

Seems fair, but not clear on how a platform declares itself yet

Getting there, ideally I think we want each upm package to register itself automagically when it's included/imported

That I agree with, however we do need at least one example to compare, I'd prefer it to be Android based but Standalone should be sufficient to test

Okay from here I'm going to suggest that we use this PR as a way to view the running changes to this feature and open new PRs against it as we tackle different aspects

/azp run

/azp run

/azp run


can you explain how to provide security for an application running on port 8000 without ssl?

Describe the bug
docker run 		-p 8000:8000 		-e SPLUNK_PASSWORD=password1  ...  -l dev.orbstack.https-port=8000  dmuth1/splunk-lab-ml
Be default this container has enabled self-signed ssl at port 8000.
To Reproduce
I can access splunklab.orbstack.local:8000, but it seems to be using the self-signed cert.
https://splunklab.orbstack.local returns error.
Expected behavior
would like to just access splunklab.orbstack.local at 443 securely.
Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.5.0
Commit: cf8769cc5900690a2016837b4caf482412551a42 (v1.5.0)
System info:
macOS: 14.4.1 (23E224)
CPU: arm64, 10 cores
CPU model: Apple M1 Max
Model: MacBookPro18,2
Memory: 64 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-04-03T15-21-27.134094Z.zip

Screenshots and additional context (optional)
No response

If your container already serves TLS, OrbStack uses it for compatibility. Disable it as @slinorb mentioned if you want OrbStack to provide TLS instead.

I did that but it doesn't work:
The application throws error:
Server error
No cookie support detected. Check your browser configuration.


delay costly makeError to when it is needed

In the context of issue #205, this change makes parsing 4x faster in my tests.

Can you summarize what you did here? Everything was prettified with a shorter printWidth so it's hard to find your changes.

Ah I just saw you're other comment. Basically your moving the makeError definition out of the parsing function. Makes sense! I'll play around with this.

Agh, sorry! I only saw now how messy the diff got due to applying prettier. I was rushing to send this between meetings and I didn't double check the diff before pushing 😞
I moved the makeError out fo the parsing because in the profiler I saw that the ZodError generation was always present and taking a significant amount of time on JSON blobs that never error. Doing less work on a heavy-hit function was bound to speed things up.
I didn't see any other obvious things in the profiler, so I didn't dig deeper.

Merged into Zod v1 and v2-beta. Thanks @mgilbir, great work on this!


Perception module : canTransform: target_frame world does not exist. :timeout

OS Platform and Distribution : Ubuntu 18.04
Apollo installed from source
Apollo version 6.0
Apollo Environment Settings:
[INFO]     APOLLO_ROOT_DIR: /apollo
[INFO]     APOLLO_CACHE_DIR: /apollo/.cache
[INFO]     APOLLO_IN_DOCKER: true
[INFO]     APOLLO_VERSION: @non-git
[INFO]     DOCKER_IMG: dev-x86_64-18.04-20210517_1712
[INFO]     APOLLO_ENV:  STAGE=dev USE_ESD_CAN=false
[INFO]     USE_GPU: USE_GPU_HOST=1 USE_GPU_TARGET=1

Question:
I want to use Apollo's lidar perception to detect obstacles. And there are four channels I have:
/apollo/sensor/lidar128/compensator/PointCloud2         /tf       /tf_static      /apollo/localization/pose
I use RTK_localization to get vehicle's location.And my /tf is  as below:
header:
timestamp_sec:<PHONE_NUMBER>.385713339
frame_id: world
child_frame_id: localization
transform:
translation:
x:<PHONE_NUMBER>46484
y: 4138011.885366211
z: 2.068305969
rotation:
qx: -0.031352293
qy: 0.042867292
qz: 0.578523278
qw: 0.813935101
Then when I started the perception_lidar.launch , I got the error : "Can not find transform.<PHONE_NUMBER>.933794022 frame_id: world child_frame_id: novatel Error info: canTransform: target_frame world does not exist.:timeout."
I'm very confused because  /tf  contains the tf from world to localization  and  /tf_static contains the tf from localization to novatel. But the error said  frame world does not exist.
Does anyone know what may cause this problem? I think I have the world frame.
Thanks a lot for your help!!!

hello，excuse me ,have you resolved this issue? I have the same problem!

I have same problem.My apollo version is r5.5.0.
E0624 18:50:08.821683 20099 compensator.cc:34] Can not find transform.<PHONE_NUMBER>313738000 frame_id:lidar16 Error info: canTransform: target_frame world does not exist. canTransform: source_frame lidar16 does not exist.canTransform: target_frame world does not exist. canTransform: source_frame lidar16 does not exist.canTransform: target_frame world does not exist. canTransform: source_frame lidar16 does not exist.canTransform: target_frame world does not exist. canTransform: source_frame lidar16 does not exist.canTransform: target_frame world does not exist. canTransform: source_frame lidar16 does not exist.canTransform: target_frame world does not exist. canTransform: source_frame lidar16 does not exist.canTransform: target_frame world does not exist. canTransform: source_frame lidar16 does not exist.canTransform: target_frame world does not exist. canTransform: source_frame lidar16 does not exist.

We should enable the tf module before running the perception module. The tf module will publish the sensor coordinate transformation matrix required for perception


github dependencies broken?

when running the tool with derhuerst/vbb-rest (which has a github dependency), it fails with Error {}.

@anvaka bump.

Yes! Thanks for reporting. I see the 404 error when trying to build this graph: http://npm.anvaka.com/#/view/2d/vbb-rest .
The entry point to graph building is here: https://github.com/anvaka/npmgraph.an/blob/master/src/scripts/viewer/graphBuilder.js - I can take a look into this when I find some time this week, unless someone fixes it before me.

@anvaka npmgraphbuilder will have to be patched, right?

bump.

This should be "fixed" now: http://npm.anvaka.com/#/view/2d/vbb-rest
Due to CORS restrictions we cannot download remote git packages. They become "dead ends" in the graph. It's better than crashing, but not perfect.


Is there any way to config JAVA_HOME?

I don't want to config Java8 as the default.

It looks like waterfall logic to first pull from JAVA_HOME and then PATH, but otherwise there is no other way to set this value. It would be nice to pull it the path from VS Code config setting.

You can now set java.home using vs code settings https://github.com/georgewfraser/vscode-javac#optional-settings


Fix typo in docs.

Fix typo.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Show emotion result in other window

Instead of showing all the responses in the frame, I want to show in separately.  how to send all values in response and show it in the browser.

Which do you mean in the following?

You want to show the metadata like predicted labels as texts or tables: Then follow the way of the object detection demo in app.py does. It shows the labels with st.table
You want to show another video window: It is not supported now, and is a part of #165. Please track that issue.

@whitphx Thanks for the quick response.
Your first points help me a lot. I really want the same functionality but I would like to show the history of all the results. once the stream starts we have to start showing the results until the video stream ends we have to show all the predicted results in the table.

You can simply customize the code to hold every result over the iterations;
https://github.com/whitphx/streamlit-webrtc/blob/3ace08de428af2be262219fd248560371346bf6d/app.py#L422-L432
What's the problem?

Thanks for pointing out the code. I got it .
Thanks.


Implement .type expression

This enables developers to check the type of variables during runtime.
any a = getValue();
if( a.type == string.type) {
// do something.
}

This is addressed by PR https://github.com/ballerinalang/ballerina/pull/2905

Added with PR #2905


[Docs] Simulation example doesn't use Simulation

At the Simulation part of the docs there's an example that create some struct event and impl component for some others but nowhere in the example there's any use of Simulation to run them. Did I misunderstand the example or it's imcomplete?

I added usage to the docs but it is not yet populated to docs.rs. You can either open docs locally or I also added it in the examples directory.


Create Lyrics “grow”

Automatically generated by Netlify CMS

:construction_worker: Deploy Preview for thar-ai processing.
:hammer: Explore the source changes: 51272f0777e4b1c00d2beaad6212f703beffb99c
:mag: Inspect the deploy log: https://app.netlify.com/sites/thar-ai/deploys/60ec2960a3d6b10007d829ee


Refactor of experiment->target

Added subproperties of target:

sequence_feature
gene_id
gene_product_type
macromolecular_structure
phenotype
target_details

In addition, I have added checks on relations between technique and required subproperties, as well as specific constants to use, for various common techniques:

histone modification identification by ChIP-Seq assay -> sequence_features required
bisulfite sequencing assay -> sequence_features=open_chromatin_region
DNase I hypersensitive sites sequencing assay -> sequence_features=DNAseI_hypersensitive_site
transcription factor binding site identification by ChIP-Seq assay -> gene_product_type=Transcription Factor, gene_id required
RNA-seq assay -> gene_product_type=Messenger RNA
microRNA profiling by high throughput sequencing assay -> gene_product_type=MicroRNA
Hi-C assay -> macromolecular_structure=Chromatin Structure
GWAS study -> phenotype required

"target" is now meant to be autogenerated based upon the subproperties, e.g. like "[relevant subproperty value] ([target_details])"

Solves https://github.com/fairtracks/fairtracks_standard/issues/11


"--enable-alpha" option must implement all alpha features

When we use --enable-alpha flag, all alpha tests are included.
For example in the current alpha tests:
https://github.com/knative/networking/blob/6ae03526c394d2487039e3cad36111682dce99a5/test/conformance/ingress/run.go#L71-L75
we want to run TestTagHeaders but we did not implement TestRewriteHost yet. In this case, we need to give up both tests to run.

cc @dprotaso  @mattmoor
We got some feedback like https://github.com/knative-sandbox/net-kourier/pull/158#issuecomment-697295459 or https://github.com/knative-sandbox/net-kourier/pull/158#issuecomment-697303490

If you want to run a subset of tests you’ll have to use the go test -run [regex]

@dprotaso It is possible but we need to use multiple go test invocations as you commented it in https://github.com/knative-sandbox/net-kourier/pull/158#issuecomment-697318978.
Additionally, if we added more Alpha features e.g. TestFoo, we need to three times to run the tests - 1). to run all tests except alpha features, 2) to run —enable-alpha -run TestTagHeaders 3) to run —enable-alpha -run TestFoo, right?
Is it not good idea to support skip-tests option like https://github.com/knative/networking/pull/184 ?

you could use one invocation with right regex


[24.11] Merkuro Calendar won't start

Describe the bug
QmlApplicationEngine failed to load component
qrc:/main.qml:344:26: Type IncidenceInfoDrawer unavailable
qrc:/IncidenceInfoDrawer.qml:111:13: Type IncidenceInfoContents unavailable
qrc:/IncidenceInfoContents.qml:8:1: module "QtLocation" is not installed
Steps To Reproduce

Add kdePackages.merkuro to environment.systemPackages
Run merkuro-calendar

Expected behavior
Calendar starts
Screenshots

Additional context
KDE + Wayland
Sounds like some dependency is not declared
Metadata

Notify maintainers
@LunNova @mjm @NickCao @ttuegel

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

Worked around by adding kdePackages.qtlocation

For others stumbling on this: An effective workaround is to temporarily add kdePackages.qtlocation to system packages - not as an override (which I initially took the stated workaround to mean).
Unless there is a kdePackages specific trick to it.

Looks like this was fixed on unstable but not backported yet: #357610

Should be a straightforward change to backport: #361763


Spelling in azure-signalr/server-graceful-shutdown.md

https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/azure-signalr/server-graceful-shutdown.md

which can be used to identify if the client connection was being migrated-in our migrated-out. It could be useful especially for stateful scenarios.

our should be or

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

ID: 486a7817-5fe2-1006-cda1-c8de634967a0
Version Independent ID: 5c3955fe-5432-de61-684d-c95b41eba123
Content: Stop your app server gracefully.
Content Source: articles/azure-signalr/server-graceful-shutdown.md
Service: signalr
GitHub Login: @vicancy
Microsoft Alias: lianwei

@Dorus
Thanks for your feedback! We will investigate and update as appropriate.

This was fixed. Thank you for bringing this to our attention.


Migrate to now 2.0

fixes https://github.com/frontity/cloud/issues/14

:tada: This PR is included in version 1.1.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


robyn_calibrate non-numeric argument to binary operator error

Project Robyn
Describe issue
This is the error that triggers a mysterious error stack-trace on my own dataset:
>>> Starting 10 trials with 3000 iterations each with calibration using TwoPointsDE nevergrad algorithm...
  Running trial 1 of 10
  |                                                                      |   0%Timing stopped at: 0.901 0.71 0.375
Error while running robyn_mmm(); providing PARTIAL results
Error in {: task 1 failed - "non-numeric argument to binary operator"

  Finished in 0.01 mins
Error in `arrange()`:
! Problem with the implicit `transmute()` step.
✖ Problem while computing `..1 = .data$nrmse`.
Caused by error in `.data$nrmse`:
! Column `nrmse` not found in `.data`.
Backtrace:
     ▆
  1. ├─global run_robyn_mmm(config)
  2. │ └─Robyn::robyn_run(...)
  3. │   └─Robyn::robyn_train(...)
  4. │     └─Robyn::robyn_mmm(...)
  5. │       └─... %>% as_tibble()
  6. ├─tibble::as_tibble(.)
  7. ├─dplyr::arrange(., .data$nrmse)
  8. ├─dplyr:::arrange.data.frame(., .data$nrmse)
  9. │ └─dplyr:::arrange_rows(.data, dots)
 10. │   ├─base::withCallingHandlers(...)
 11. │   ├─dplyr::transmute(new_data_frame(.data), !!!quosures)
 12. │   └─dplyr:::transmute.data.frame(new_data_frame(.data), !!!quosures)
 13. │     └─dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
 14. │       ├─base::withCallingHandlers(...)
 15. │       └─mask$eval_all_mutate(quo)
 16. ├─nrmse
 17. ├─rlang:::`$.rlang_data_pronoun`(.data, nrmse)
 18. │ └─rlang:::data_pronoun_get(...)
 19. └─rlang:::abort_data_pronoun(x, call = y)
 20.   └─rlang::abort(msg, "rlang_error_data_pronoun_not_found", call = call)
Warning message:
In value[[3L]](cond) :
  Error while running robyn_mmm(); providing PARTIAL results

After some digging via running the code line by line I have located the line throwing the error in robyn_calibrate:
> if (!is.null(calibration_input)) {
+   liftCollect <- robyn_calibrate(
+     calibration_input = calibration_input,
+     df_raw = dt_mod,
+     hypParamSam = hypParamSam,
+     wind_start = rollingWindowStartWhich,
+     wind_end = rollingWindowEndWhich,
+     dayInterval = InputCollect$dayInterval,
+     dt_modAdstocked = dt_modAdstocked,
+     adstock = adstock,
+     xDecompVec = decompCollect$xDecompVec,
+     coefs = decompCollect$coefsOutCat
+   )
+   mape <- mean(liftCollect$mape_lift, na.rm = TRUE)
+ }
Error in max(ds_wind) + dayInterval :
  non-numeric argument to binary operator

The error seems to come from the fact that df_raw's date column can be still in string format rather than in date format:
ds_wind <- df_raw$ds[wind_start:wind_end] and changing this to ds_wind <- as.Date(df_raw$ds[wind_start:wind_end]) fixes the error.
Provide reproducible example
This error can be reproduced by adding dt_simulated_weekly$DATE <- as.character(dt_simulated_weekly$DATE) to the demo script with calibration portion of the code uncommented.
Environment & Robyn version
Robyn version - latest 3.8.1
R - 4.2.2

Can confirm that by changing the date column on the original data to date format fixes the bug seen during training. Will report back if there is any bug encountered in recreating the models after saving the json files.

Thanks for reporting this. I could reproduce this error. I've added a one-liner to always auto-format the date_var with as.Date.  Please update & check

Yeah can confirm that bug is fixed! Thank you @gufengzhou


Add some editor startup benchmarks

My attempt to add the following benchmarks from #36:

🟦Startup🟦 [Editor startup]: with no shader cache
🟦Startup🟦 [Editor startup]: with shaders cached

I've only added these two benchmarks for starters so we can decide how we want to handle editor startup benchmarking.
The way I have implemented it, is that the benchmarks first create a project.godot file in user://tmp, and then call the Godot editor to open the project with OS.execute() with the --quit parameter, and the benchmark simply measures the time it takes for the editor to open and then close. For the shaders cached benchmark, the benchmark is copying all of the cached shader files from the godot-benchmark's .godot directory itself into the temp project folder, and then deletes all the files and directories inside user://tmp. An issue with this is approach is that the time that it takes to copy and then delete the files is included in the benchmark, and I am worried this may be worse with benchmarks that have to do with multiple files, as we have to copy (or generate) them on the fly, and then delete them.
Another approach would be to have smaller projects inside supplemental/projects where everything is already set up and we don't need to do any copying and deleting, but this would raise the size of the entire benchmarks project as we'd have multiple .godot folders for each small project, and I'm not sure if we can make it work with git, as it ignores .godot folders.
I also assume that this wouldn't work on an exported project, because it's using OS.get_executable_path() to get the Godot path. Is this an issue? If it is, we'd need a way for the user to input the Godot path themselves.

Results on my PC
{
"benchmarks": [
{
"category": "Startup > Editor",
"name": "Start Editor No Shader Cache",
"results": {
"time": 7968
}
},
{
"category": "Startup > Editor",
"name": "Start Editor Shader Cache",
"results": {
"time": 6357
}
}
],
"engine": {
"version": "v4.3.beta2.official",
"version_hash": "b75f0485ba15951b87f1d9a2d8dd0fcd55e178e4"
},
"system": {
"cpu_architecture": "x86_64",
"cpu_count": 12,
"cpu_name": "AMD Ryzen 5 1600 Six-Core Processor",
"os": "Linux"
}
}

I'm not sure if this should be added a standard benchmark. It may be better done as a special benchmark that is implemented in run-benchmarks.sh, especially since it has special run conditions:

It should only be done in debug mode (editor build), not release mode which uses a release export template (and therefore lacks editor functionality.
It should be run 10 times in a row to reduce variance. The average value is retained.

We can do both cold and warm shader cache tests this way, but I'd focus on warm shader cache tests first as they're the scenario most commonly encountered by users.
It would then become an extra line on the results page's header:

It could also be graphed independently on the homepage like other statistics (such as build time and binary size), although this hasn't been implemented yet.

I'm not sure if this should be added as a standard benchmark. It may be better done as a special benchmark that is implemented in run-benchmarks.sh, especially since it has special run conditions:

It should only be done in debug mode (editor build), not release mode which uses a release export template (and therefore lacks editor functionality.
It should be run 10 times in a row to reduce variance. The average value is retained.

We can do both cold and warm shader cache tests this way, but I'd focus on warm shader cache tests first as they're the scenario most commonly encountered by users.
It would then become an extra line on the results page's header:

It could also be graphed independently on the homepage like other statistics (such as build time and binary size), although this hasn't been implemented yet.

In that case, if I'm understanding run-benchmarks.sh correctly, the warm shader cache benchmark would be identical to the debug startup + shutdown time, right? And the cold shader cache would also be similar, but it would also remove the .godot/shader_cache directory before running the benchmark?
To be honest, I am unsure how to test benchmarks that are in run-benchmarks.sh. It seems hardcoded to be used for the benchmarking server. This makes it hard both for me to create and test them, but also for users who may want to run them in their local devices and compare results. Perhaps we could have another bash script that only contains benchmarks and is device-agnostic and thus can be easily used by everyone, and run-benchmarks.sh could also call?
Alternatively, I also feel like the special run conditions can also be mitigated when running them inside the Godot Editor:

We could use OS.has_feature("debug") and let these benchmarks run only if that's true.
We could refactor the benchmark running system to allow for individual benchmarks to return their own times, as integer.s That way, we could run the benchmark 10 times using a for loop, calculate the time it takes inside the benchmark method itself, and return the average. Benchmarks returning void or a Node type could have their time calculated on manager.gd as it happens now, and benchmarks returning int could calculate their own time and just return that to manager.gd. That way we could also exclude the time the benchmark takes to move/copy/delete/etc the files, and just calculate the startup time on its own.

All right, I made an attempt to add the benchmarks to run-benchmarks.sh instead. I made a temporary script so I could test that the benchmarks work and they do indeed work on my end, hopefully they work on run-benchmarks.sh too. Apologies it took so long, it has been a very busy month for me. 😅
Results on my PC:
"empty_project_editor_startup_shader_cache": {
	"debug": 6390,
},
"empty_project_editor_startup_no_shader_cache": {
	"debug": 8000,
}


Update query-editor-natural-language-to-sql-copilot.md

All DML and DDL is now supported.  cc @williamadba for review please.

#sign-off


Search without decoys is not functioning

If you uncheck the "Search Decoys", a decoy database is still produced and searched against.

Fixed in https://github.com/smith-chem-wisc/MetaMorpheus/pull/409


Adding missing part for gltf EXT_lights_ies

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15976/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15976/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15976/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15976/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15976/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15976/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15976/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15976/merge#BCU1XR#0

Visualization tests for WebGL 1 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15976/merge/testResults/webgl1/index.html
If tests were successful afterwards, this report might not be available anymore.

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15976/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15976/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGL 1 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15976/merge/testResults/webgl1/index.html
If tests were successful afterwards, this report might not be available anymore.


Setting max length of string does not work

Not sure if this is an issue or not, but I am having trouble with a job I wrote. My job parses JSON-data and pushes it to a widget. It works when I use the following setup:
parsed  = JSON.parse(res.body)
entry  = parsed["ratings"][0]["comment"]
However, the field "comment" is sometimes too long, so I want to shorten it to 100 characters if it is longer. So I changed the job to the following:
parsed  = JSON.parse(res.body)
entry6  = parsed["ratings"][0]["comment"][0,100]
Unfortunately, the job doesn't work with the addition [0,100]; the view is not refreshed when the data in the JSON changes.
Any help is appreciated.

I closed it because I pinpointed the issue to values of null in the JSON.


Chromium stable 84.0.4147.125 crashes on startup

Describe the bug
When I try to start chromium 84.0.4147.125 it crashes and I get a nice big stacktrace. With the previous version 84.0.4147.105 it works.
To Reproduce
Steps to reproduce the behavior:

Install chromium including (edb0920697a93803547e7d3f28db5f99214d7761 - or maybe 7a34bf1aae9985ab2598354e0f46e1ff86afe394)
Try to run chromium

Expected behavior
Chromium should not crash.
Additional context
Console messages with the working version 84.0.4147.105:
Fontconfig warning: "/etc/fonts/fonts.conf", line 86: unknown element "blank"
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
[8387:8387:0813/101626.603889:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the   --global-isel-abort option: may only occur zero or one times!

Console messages with the broken version 84.0.4147.125.
Fontconfig error: Cannot load default config file: No such file: (null)
_amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
[2800:2800:0813/101138.023224:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the   --global-isel-abort option: may only occur zero or one times!_
[2767:2767:0813/101137.948177:FATAL:platform_font_skia.cc(97)] Check failed: InitDefaultFont().  Core file will not be generated.

Notify maintainers
@primeos any ideas?
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

system: "x86_64-linux"
host os: Linux 5.7.15, NixOS, 20.09.20200809.e280872 (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20200721_ff314f1
channels(frijters): "nixos-unstable-20.09pre223023.fce7562cf46"
channels(root): "nixos, nixos-unstable-20.09pre225264.683c68232e9"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
  chromium
# a list of nixos modules affected by the problem
module:

I'm getting the same thing where it can't load /etc/fonts/fonts.conf for Bitwarden and Discord.
It seems to have started in https://github.com/NixOS/nixpkgs/pull/93562
Editing this file add in another link to fonts.conf file seems to work.
    # fonts.conf
    ln -s ${pkg.out}/etc/fonts/fonts.conf \
           $dst/../fonts.conf
    ln -s ${pkg.out}/etc/fonts/fonts.conf \
          $dst/../../fonts.conf

The top command puts it in as /etc/fonts/2.11/fonts.conf and I'm not sure if it's needed.
@flokli might know if it matters in that folder.

From https://github.com/NixOS/nixpkgs/commit/f527651a675deb387fcdaac8f1cdfba216869fe0:
@aszlig You mean, chromium bundles its own version of fontconfig 2.10, which  is still used inside chromium, and it stumbles over our fontconfig version? Wow.
In that case, could we provide a fontconfig 2.10-compatible config (and not build the optional fc caches), so we can keep fontconfig_210 removed?

Hm, strange. I just looked at https://source.chromium.org/chromium/chromium/src/+/refs/tags/84.0.4147.125:third_party/fontconfig/README.chromium and according to that Chromium should use a bundled fontconfig based on master that's even newer than 2.13.91 (currently the latest tag).
If I get https://github.com/NixOS/nixpkgs/issues/95319#issuecomment-673372108 right we'd need:
    ln -s ${pkg.out}/etc/fonts/fonts.conf \
          $dst/../../fonts.conf

for /etc/fonts/fonts.conf and that part (or something similar) was removed as a side-effect of #93562.
Apart from that Chromium also provides use_bundled_fontconfig but using system dependencies for Chromium is unfortunately  a bad idea as it's too time consuming to maintain.

Just to check, are you running Chromium from the same nixpkgs revision as your NixOS system? Otherwise it would be https://github.com/NixOS/nixpkgs/issues/94073.

@aszlig You mean, chromium bundles its own version of fontconfig 2.10, which is still used inside chromium, and it stumbles over our fontconfig config? Wow.

I don't know... haven't had anything to do with Chromium since years, but since I'm tracking test failures I stumbled on this. Besides Chromium, I could also see the same issue to arise whenever proprietary stuff is involved which bundles an older fontconfig. Since we have a bunch of Electron packages that are based on patching pre-built binaries, I'm pretty sure some of them might also be affected.

@jtojnar I recently switched to using flakes, and if I understand it correctly I'm using my own fork of nixpkgs, and everything else on default. At the moment my fork is just master + #95019 . I started getting this chromium problem because of updating from 593ec809b9f616f2f0dddc2765a96993c0cb8f0f + that PR to 6fffd50623b6d6e707bbe3dd83be498a0963946a + that PR.
{
  inputs = {
    nixpkgs.url = github:SFrijters/nixpkgs/falazure;
  };

  outputs = { nixpkgs, nix, self, ... }@inputs: {
    nixosConfigurations.falazure = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules =
        [ (import ./configuration.nix) ];
      specialArgs = { inherit inputs; };
    };
  };
}


Correct some typos and grammar

Cool project 😊 I spotted some typos and fixed them. Note the "Hackintosh" is also misspelled in repository description.

Thanks for the correction!
Could you plz squash the two commits into one?


Fixes #32073: Update test script TC_ICDM_2_1

fixes #32073
one additional test plan change from https://github.com/CHIP-Specifications/chip-test-plans/pull/4010 for https://github.com/CHIP-Specifications/chip-test-plans/issues/4003

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

covered in https://github.com/project-chip/connectedhomeip/pull/33404


chore: add tracking header to imgix API requests

This PR adds the x-imgix-plugin header to requests made to the imgix management API, made possible by the imgix-management-js library.

Current dependencies on/for this PR:

main

PR #326   (this PR)

This comment was auto-generated by Graphite.

Verified this is working in both the product and page designer parts of the app


Update Ruby minor version

What
This was a security fix for ruby from 3.0.1 > 3.0.2
This will probably break on build and deploy but just checking
Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing: bundle exec rake
Github should not be reporting conflicts; you should have recently run git rebase master.
There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
The PR description should say what you changed and why, with a link to the JIRA story.
You should have looked at the diff against master and ensured that nothing unexpected is included in your changes.
You should have checked that the commit messages say why the change was made.

Codecov Report

Merging #2762 (78421bf) into master (cfc5b2e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #2762   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          534       534
  Lines        11187     11187
=========================================
  Hits         11187     11187

Continue to review full report at Codecov.

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


Set Up and Generate a New SAP Fiori App Project

Tutorial URL: https://developers.sap.com/tutorials/fiori-tools-generate-project.html
Set Up and Generate a New SAP Fiori App Project
Step 2: Select application template
SAP Fiori tools - Application Generator tile does not appear in Yeoman Generators - Select Generator at all, even though SAP Fiori tools - Extension Pack is installed and Visual Code Studio is restarted twice.
Please advice

Hi @mchcn2018
Please see FAQ#2 from here: https://help.sap.com/viewer/42532dbd1ebb434a80506113970f96e9/Latest/en-US
Thanks

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Fix relative links in README and enable Github workflows

Import tools validation function by mistake in other functions
Disapearing tab for related packages


Testing MAC-address behavior for VLAN

Test that a VLAN interface will usually use the
same mac-address of its base interface.
Signed-off-by: Nandan Kulkarni<EMAIL_ADDRESS>

Hello contributor, thanks for submitting a PR for this project!
I am the bot who triggers "standard-CI" builds for this project.
As a security measure, I will not run automated tests on PRs that are not from white-listed contributors.
In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:

Type ci test please on this PR to trigger automated tests for it.
Type ci add to whitelist on this PR to trigger automated tests for it and also add you to the contributor white-list so that your future PRs will be tested automatically. ( keep in mind this list might be overwritten if the job XML is refreshed, for permanent whitelisting, please follow #3 option )
If you are planning to contribute to more than one project, maybe it's better to ask them to add you to the project organization, so you'll be able to run tests for all the organization's projects.

ci test please

re-submitted as #377


Consider reverting the change to capitalized colors

I've now implemented and deployed #780, and my experience is that it was probably a mistake.  Even with a fresh batch of students who have never learned that color names should be capitalized, they are consistently using lower-case names, and are frustrated with being asked to use capitals.  I'm strongly considering reverting the change.
The benefit I was looking for was a pretty artificial chance to teach functions by writing equations at specific points before generalizing.  That would be great, but it's not worth frustrating students at the intro level before they even get to functions.
Here's what I'd do:

Deprecate the color pattern synonyms.
Un-deprecate the color variables, when they correspond to colors that still existed as pattern synonyms.
In a year or two, remove both the pattern synonyms and the remaining (still deprecated) colors that were removed to simplify the API (like chartreuse).

What to do with gray is harder.  I guess I can just break it and add a special compile error, as we did with mixed.

@alphalambda You were part of the conversation about colors earlier, so I'm interested in your thoughts.

This is time sensitive.  If I'm going to remove the capitalized colors, then the sooner I get the deprecation in, the better at this point, so students don't learn the dead-end API.

I did revert it.  It was blocking a hackage upload.


chore(update-copyright): pass EXPAT_DIR to luarocks

Summary
The newly added lua-resty-aws requires expat.h thus we need to pass the EXPAT_DIR to the luarocks command to install the dependency. Expose the EXPAT_DIR and CRYPTO_DIR in the venv script to make it easier to execute the update_copyright command.

Checklist

[ ] The Pull Request has tests
[ ] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

[Implement ...]

Issue reference
KAG-3030

Fix #[issue number]

I feel like we can reuse the logic in bazel to get a clean install of rocks tree, without need to install again here.


Pagination on the Livepeer.com admin user page livepeer.com/app/admin

@wohlner  There is open PR for that https://github.com/livepeer/livepeer-com/pull/99

my bad

We just need someone to review it 😃


Metadata parsing can be abstracted to a Class

Problem:
All workflows contain the same 10-15 initial lines for parsing metadata and assigning dictionaries its values.
Proposed Solution:
We can encapsulate these lines into a Class.  We can also use a constants.py file to hold these values.

See branch metadata_encapsulation.  It contains two new modules in array_analyzer.extract

metadata.py
constants.py

Metadata class has:

an init that receives "input_folder" and "output_folder", then parses files and assigns constants
methods that assign the read metadata into data structures we use.

Addressed in PR #57


add vike-react-zustand

What do you think about this? Abstracting the creation of the context for the store, is tricky.
The current implementation doesn't support multiple stores, but I think it's already useful. For multiple stores, support can be added using a unique key passed to createUseStore, then the key can be used as an identifier to get the right store from the context.
Or a completely different implementation, using + files.

What do you think about this?

Yes, that's definitely valuable :100:

tricky

Yes, in particular sending the initial store state set by SSR to the client-side. Speaking of which, this part doesn't work yet right?

The current implementation doesn't support multiple stores, but I think it's already useful.

:+1:

For multiple stores, support can be added using a unique key passed to createUseStore, then the key can be used as an identifier to get the right store from the context.

Yes, I think a key is always required in the context of SSR. Just like it's required for vike-react-query.

Or a completely different implementation, using + files.

I don't know yet :eyes: maybe we can mull over this once we've got the basic functionalities working (i.e. the state hydration thingy).

@brillout

the state hydration thingy

added

Should we pass everything to the client on initial navigation, or only the return value of server?
https://github.com/vikejs/vike-react/pull/57/files#diff-27a888a36f2dca710aeb519e21c30e5dad4ae192110374c14481703b23a7f2afR22-R24

I don't think we have a choice? AFAICT the entire state used for hydration should be exactly the same than the state used for SSR.

Ok. I think it's ready. After using typeof window === "undefined" multiple times, I had an idea: maybe the environment can be set on the pageContext by Vike: pageContext.env: 'client' | 'server' and then we could use that instead.

Ok. I think it's ready. After using typeof window === "undefined" multiple times, I had an idea: maybe the environment can be set on the pageContext by Vike: pageContext.env: 'client' | 'server' and then we could use that instead.

👍 Good idea. How about we name it pageContext._env so that end users are incentivized to use import.meta.env.SSR instead so that they get code splitting.
I was also thinking that, for vike-react-query, Vike could set import.meta.env.DEV.

I think the following proxy is misleading:
  new Proxy(useStore, {
    get(target, p: keyof ReturnType<typeof createZustand>) {
      return target()[p]
    },
    apply(target, _this, [selector]) {
      return target()(selector)
    }
  })

Because it only works when respecting React's hook rules. And it doesn't really add any value, so how about we remove that proxy?
Instead, I think what we could do is this:
// Only works on the client-side
import { getStore } from 'vike-react-zustand/client'

// `store` is the store object provided by Zustand
const store = getStore()

I agree, it's misleading because it's bound to the context. The issue is not solved with your idea though, getStore can still be called outside of the context. The function name should start with use to signal to the user that it should be used in a component. I think the current proxy has that advantage.

Started adding support for multiple stores

Added StoreHookOnly and StoreApiOnly types.
StoreHookOnly is only the function,
StoreApiOnly is only the getState|setState|subscribe|destroy.
It's not misleading anymore.

@nitedani Hi Niteda, does Vike have any problem merging your PR? I think we are still waiting for you.

It's the other way around: this PR is blocked by a Vike feature we didn't implement yet.

we are still waiting for you

Sponsoring welcome in case your company would be interested in getting higher priority feature requests with an ETA.


feat: add Trivy integration support for k8sgpt operator

Closes #
📑 Description

✅ Checks

[x] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed

ℹ Additional Information

@arbreezy @AlexsJones - would you mind reviewing this pull request?

Thanks for contributing - adding this won't do anything though.
We will have to extend the configuration APi which @matthisholleville is just about to land quite shortly.
If you can wait a week I can try and get what you're looking for into the code base

Thanks for contributing - adding this won't do anything though. We will have to extend the configuration APi which @matthisholleville is just about to land quite shortly. If you can wait a week I can try and get what you're looking for into the code base

Thanks Alex!
sure, i'll wait for that.


Incorrect pass or username

Hey, I have an issues its keep saying incorrect pass or username, I uploaded the php files, do you know what was the issue? Thanks.

lmao

lmao

Connect the database

Connect the database

can u give db?


Assistant works but once in the MagicMirror, it won't take my Ok Google

Hi,
I've installed your module, the assistant works fine but once I launch the MagicMirror, it won't work.
How to test?
Thanks

You need to have both assistant and MagicMirror running in parallel

How do I make it run at the same time? Did I miss steps? Also, what is the difference between MMM-Assistant and MMM-GoogleAssistant?
Thanks

run assistant.py and MagicMirror in two different terminal windows.
I wrote this as a quick proof of concept 3 months back and since then haven't had anytime update this and build features listed in the What's coming section in Readme.md
MMM-Assistant is from another developer who is building a similar module along the same ideas. Here's the discussion https://forum.magicmirror.builders/topic/4936/need-help-for-testing-modules

Great, I made it work. Would like to know how to automate it or make it run inside the MagicMirror service.
Are you planning of continuing the module? It really works great and has a lot of potential.
Can’t help with programming but could in researching, testing, etc.
Thanks
From: Gaurav Singh<EMAIL_ADDRESS>Sent: October 3, 2017 10:26 AM
To: gauravsacc/MMM-GoogleAssistant<EMAIL_ADDRESS>Cc: godinperson<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [gauravsacc/MMM-GoogleAssistant] Assistant works but once in the MagicMirror, it won't take my Ok Google (#11)
run assistant.py and MagicMirror in two different terminal windows.
I wrote this as a quick proof of concept 3 months back and since then haven't had anytime update this and build features listed in the What's coming section in Readme.md
MMM-Assistant is from another developer who is building a similar module along the same ideas. Here's the discussion https://forum.magicmirror.builders/topic/4936/need-help-for-testing-modules
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/gauravsacc/MMM-GoogleAssistant/issues/11#issuecomment-333858915, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXtR103dMjGadaXbRMZm1r-xhLHWGw30ks5sokPmgaJpZM4PrHAs.

Yes, I do plan to continue the module. I should have time in the holiday season ;)

@gauravsacc
My sample code works fine. I changed my subscribe key and public key in assistant.py also I entered magic-mirror-device-id and after running assistant.py I receive msgs: pubnub subscription completed and hello from python!! but there is no response from google assistant , google assistant does not work.
PLease help me out. Thanks in advance.


Missing "noindex, nofollow" tag on website snapshot

What happened:
To avoid SEO issues, all archived versions of the website (i.e. https://v0-35.falco.org/) should include the following tag:
<meta name="robots" content="noindex, nofollow">

As an example, K8s website does so :point_right: view-source:https://v1-26.docs.kubernetes.io/docs/home/
We did so up to version 0.31 :point_right: view-source:https://v0-31.falco.org/
From 0.32 we miss it :point_right: view-source:https://v0-32.falco.org/. This must be fixed! :slightly_smiling_face:

We likely broke it at some point when reviving the website.
What you expected to happen:
All website archived versions (ie. snapshots) must include <meta name="robots" content="noindex, nofollow">
How to reproduce it (as minimally and precisely as possible):
Look at the source code of the HTML page of our archived snapshot.

We're still not sure if this fixed it :)

/assign LucaGuerra
/assign vjjmiras

We're still not sure if this fixed it :)

Right, this affects several branches.

Adding the PRs that closed this issue:
https://github.com/falcosecurity/falco-website/pull/1185
https://github.com/falcosecurity/falco-website/pull/1184
https://github.com/falcosecurity/falco-website/pull/1183
https://github.com/falcosecurity/falco-website/pull/1186
$ for i in {26..35}; do echo $i; curl -s https://v0-$i.falco.org |sed -e 's,<,\n<,g'|grep -i name=robots ; done
26
<meta name=robots content="noindex, nofollow">
27
<meta name=ROBOTS content="NOINDEX, NOFOLLOW">
28
<meta name=ROBOTS content="NOINDEX, NOFOLLOW">
29
<meta name=ROBOTS content="NOINDEX, NOFOLLOW">
30
<meta name=ROBOTS content="NOINDEX, NOFOLLOW">
31
<meta name=ROBOTS content="NOINDEX, NOFOLLOW">
32
<meta name=robots content="noindex, nofollow">
33
<meta name=robots content="noindex, nofollow">
34
<meta name=robots content="noindex, nofollow">
35
<meta name=robots content="noindex, nofollow">

Done!