CyclistCrossing.xosc error - OverflowError: can't convert negative value to unsigned int

I have executed the following command for OpenSCENARIO.
python scenario_runner.py --openscenario L:\carla_latest\scenario_runner-0.9.9\srunner\examples\CyclistCrossing.xosc
I'm getting the following.
WARNING:OpenScenarioConfiguration:Wrong OpenDRIVE map in use. Forcing reload of CARLA world
Preparing scenario: CARLA:CyclistCrossing
ScenarioManager: Running scenario OpenScenario
Traceback (most recent call last):
File "scenario_runner.py", line 382, in _load_and_run_scenario
self.manager.run_scenario()
File "L:\carla_latest\scenario_runner-0.9.9\srunner\scenariomanager\scenario_manager.py", line 216, in run_scenario
self._tick_scenario(timestamp)
File "L:\carla_latest\scenario_runner-0.9.9\srunner\scenariomanager\scenario_manager.py", line 260, in _tick_scenario
self.scenario_tree.tick_once()
File "C:\Users\lnukala\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\py_trees\behaviour.py", line 158, in tick_once
for unused in self.tick():
File "C:\Users\lnukala\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\py_trees\composites.py", line 578, in tick
for node in child.tick():
File "C:\Users\lnukala\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\py_trees\composites.py", line 578, in tick
for node in child.tick():
File "C:\Users\lnukala\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\py_trees\composites.py", line 578, in tick
for node in child.tick():
File "C:\Users\lnukala\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\py_trees\behaviour.py", line 249, in tick
new_status = self.update()
File "L:\carla_latest\scenario_runner-0.9.9\srunner\scenariomanager\scenarioatomics\atomic_criteria.py", line 648, in update
current_wp = self._map.get_waypoint(current_loc, lane_type=carla.LaneType.Any)
OverflowError: can't convert negative value to unsigned int
can't convert negative value to unsigned int
Destroying ego vehicle 258
No more scenarios .... Exiting
**Desktop **

OS: Windows 10
CARLA Version CARLA 0.9.9
Python version 3.7.6
Version  0.9.9

Hey. That WARNING is normal. Each scenario needs a specific town so if you aren't in the correct one, the world is reloaded.

OverflowError: can't convert negative value to unsigned int

This however, isn't. Can you explain the step you did to reproduce it? I just tried it and couldn't see anything like that.
PD: I'm changing the title to match the actual issue

I have followed the same steps of importing/ simulating OpenSCENARIO files using the command.
python scenario_runner.py --openscenario <path_of_the_file>
I'm getting the error.

Okay, I'll take a look, see if I can reproduce the error.

@LikhitaNukala I'm sorry to say this but I can't seem to reproduce this error. This makes me believe it might be a Windows related issue, but I can't ensure that's the case, as I currently don't have the possibility to test it in Windows. I'll keep digging, see if I find something else.

I got this error on windows10,not for ubuntu.

@DevotionGit Could you please print the exact current_loc and paste it here?

Hello, I've just run into this under Windows too. It seems to be because:
carla\PythonAPI\carla\dependencies\include\carla\road\Lane.h(51):      Any           = 0xFFFFFFFE

... which should be fine, but in Windows Python (Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)] on win32), that gets interpreted like a signed int as -2. Or at least does if I use an int() conversion in a debug print statement in the Python.
So then the Python is passing -2 to a function expecting a uint32_t when it uses LaneType.Any here in npc_vehicle_control.py:
            waypoint = CarlaDataProvider.get_map().get_waypoint(
                transform.location, project_to_road=True, lane_type=carla.LaneType.Any)

Changing it to carla.LaneType.Driving as  a workaround avoids the exception (in my case at least). But obviously that's not a proper solution.

Hey @charlie-wartnaby. Thanks for the information. We'll take a look, see what we can do to fix it.

Thank you @glopezdiest , and note @LikhitaNukala and @DevotionGit . For now a simple workaround is to change the definition of LaneType::Any here in LibCarla/source/carla/road/Lane.h (and then rebuild CARLA and the PythonAPI):
      Any           = 0x7FFFFFFE // CW: IDIADA workaround to avoid overflow exception when 0xFFFFFFFE interpreted as -2 in Windows Python and passed to uint32_t function in API

For good measure I did the same thing for 'LightState::AllinLibCarla/source/rpc/VehicleLightState.h`, I didn't spot any others like this:
      All          = 0x7FFFFFFF // CW: IDIADA workaround to avoid overflow exception when 0xFFFFF... interpreted as -ve in Windows Python

I have never written my own Python library in C/C++ and am new to CARLA, so to be honest I have no idea how the type mapping is supposed to work there from C++ to Python. But this seems to do the trick.


Move existing translations from v1 site to v2 site

Like v1 site: https://v1.casbin.org/docs/ja/supported-models

But v2 site doesn't have those translations of v1: https://casbin.org/ja/docs/supported-models/

@Selflocking


Middleware auth

Can you resolve the conflicts once and also for dotenv you don't have to include it in all the files it only needs to be called once at the beginning.

@DevParmar1  Can you resolve the conflicts once and also for dotenv you don't have to include it in all the files it only needs to be called once at the beginning.

Resolved

Resolved

There is a mongodb url in the database connection file @DevParmar1 is it yours..?

Yeah, I had committed it accidentally but have removed it on the next commit.

Review the final changes!


Static RPC methods

Describe the solution you'd like
Currently RPC methods cannot be static. There is no reason for that.
This feature is a great first issue for people wishing to contribute. It's fairly simple and allows to get dirty with the core of the MLAPI

So I just stumbled upon this, while I don't yet feel confident to implement the actual feature, I am wondering why I didn't get any error when trying to invoke a static method as an RPC.
I didn't change LogLevel so it's set to Normal.


Why decrypting Bitlocker if Microsoft recommends only to suspend?

Isn't it enough just to suspend bitlocker for the TPM firmware update?
According to MS it is okay: https://technet.microsoft.com/en-us/library/hh831507(v=ws.11).aspx
To fix the Infineon TPM vulnerability (ADV170012.), also a Bitlocker suspend and Clear TPM is needed after the TPM firmware update (for Bitlocker only TPM 1.2 is affected):
https://support.microsoft.com/en-us/help/4046783/bitlocker-mitigation-plan-for-vulnerability-in-tpm

First because that way it's 99.9% secure secure that we do not FUBAR the machine (firmware issues could still trash the machine), because somehow the TPM protector is still attached and the user has no recovery key.
Second, because some versions of the TPM update utilities check if BitLocker is off (not just suspended) and will not allow an update.
However, there is the option that the BitLocker is not decrypted, please see the docs: https://github.com/texhex/BiosSledgehammer#disable-automatic-bitlocker-decryption

Thanks for the feedback.


Migrate tests to Kotlin in firebase-provider module

I also updated the run configurations for the tests.

Looks good, nice job with all the tests. I don't know why, but it seems like git is not removing all of the changes from the previous PR that was merged where you removed the Answers module.

I did it wrong. I opened a bunch of PRs all from consecutive branches without waiting for the previous changes to be merged in. Going forward I will do better at not leaving my PR branches hanging.

Yeah, but usually once the pull request gets merged, the other open pull requests get updated. Or at least I thought it used to do that.


How to assign subscriber's topics from backend (check subscriber's authorization)

Say the front end is a web application that runs in browsers. Front end  (javascript) can send a token to the websocket server (python) so that the server can id the front end. Now from here, how can I make the front end subscribe the topics it is supposed to subscribe but nothing more?

If I understand the question ... then "yes". For more details, please redirect your questions to the forums at https://forum.crossbar.io/ .. :)


Clarification on Volunteer Responsibilities for Setting Up ITD Workshops on Eventbrite

Description:
We need to determine the role of volunteers in setting up Eventbrite events for our weekly ITD workshops.
Acceptance Criteria:

[ ] Decide if volunteers will be responsible for setting up Eventbrite events for ITD workshops.
[ ] If yes, determine whether the Eventbrite account should be linked to a general account accessible to all volunteers or only to those setting up the events.
[ ] Determine if GDPR training is required for volunteers before they are granted access to Eventbrite data.

How to create an event on Eventbrite for CYF instructions

what do you think about this Amy? https://lu.ma/cbzs9ivm and then I would duplicate the events for the following saturdays and this would save us some logistics time!

Yup that seems great - let's trial it for this ITD November and see how it goes.

@MarianaVazquezCYF I made some amendments to the copy, the drop-in ticket description and updated the image.

Thanks Amy, I will duplicate these events in order to have 1 per each Saturday, and the first Saturday I will attach the zoom link (if you decide that we could do it remotely )


feature request: generate pre-filled yaml file

Would be cool to have the command line tool generate a "template" yaml file with all mandatory fields included (with examples, comments and so on), like many tools do this with config files.

There is build_spec.build_model which implements something similar:
it generates the full model config given a path to the weight file and some more metadata. It tries to give reasonable defaults for metadata that is not passed.
That's of course not quite what you ask for here, but I am not sure if generating only the yaml is so helpful as there's no guarantee that the resulting model will be valid since the user would need to copy and package all the additional files by hand.

We might want to document this features in the docs about contribute models.


Several fixes for errors when creating a group using the GUI

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 4 (50.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.573%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

custom_components/powercalc/sensors/group.py
1
3
33.33%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2573

Relevant Lines:
2637

💛  - Coveralls


Structure cleanup

Cleaned up unused code.
Moved related code of each macro into individual corresponding files

As this PR moves code between files it's probably best to merge #13, #14, #16 before this one to minimize manual work required.

Hold on, I have a larger WIP PR rebased on this. Merging this might prevent it from getting merged instead.


install testing version of redis

Hello there,
this is wonderful but I have noticed if I put as version the testing one which is 3.2 that is not in the standard release url it will not fetch it, so this version will be fine:
http://download.redis.io/releases/redis-3.0.7.tar.gz
But if I type 3.2.0-rc3 which is in the archive the path will be:
https://github.com/antirez/redis/archive/3.2.0-rc3.tar.gz
Could you do a patch to allow also to fetch newer versions from the archive which is here?
Let me know!

@robomotic Try overriding redis_download_url as well as redis_version.
- role: DavidWittman.redis
  redis_version: 3.20-rc3
  redis_download_url: https://github.com/antirez/redis/archive/3.2.0-rc3.tar.gz


New url handler: ivy [PAXURL-5]

Alin Dreghiciu created PAXURL-5

Votes: 0, Watches: 2

Anyone interested in ivy: protocol, please reopen if needed. For now I'm closing it.


Extra ! in TEMPLATE match_regex setting causes error in admin site

Removing one of the two !'s seems to fix my error with the admin site

Can one of the admins verify this patch?

Good catch, thanks @lmorchard!


Suddenly missing from the Terraform Registry

Just this last week when trying to pull version 0.0.3 from the Terraform Registry:
│ Could not retrieve the list of available versions for provider inuits/cortex: no available releases match the given constraints 0.0.3

Hi @disambiguationuk, this seems to be working on my end, could you confirm it's still broken for you?

Yeah I still get this after clearing my terraform cache. Maybe you've still got a cached version @landervdb?
We've forked and published vivacitylabs/cortex to get around this for now.

@disambiguationuk   I just tried from a fresh checkout ,
`git clone https://github.com/inuits/terraform-provider-cortex/
Cloning into 'terraform-provider-cortex'...
remote: Enumerating objects: 214, done.
remote: Counting objects: 100% (76/76), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 214 (delta 58), reused 48 (delta 48), pack-reused 138
Receiving objects: 100% (214/214), 150.39 KiB | 2.31 MiB/s, done.
Resolving deltas: 100% (96/96), done.
sdog@fedora:/home/o11y$ cd terraform-provider-cortex/examples/
sdog@fedora:/home/o11y/terraform-provider-cortex/examples$ tofu init
Initializing the backend...
Initializing provider plugins...

Finding inuits/cortex versions matching "0.0.3"...
Installing inuits/cortex v0.0.3...
Installed inuits/cortex v0.0.3. Signature validation was skipped due to the registry not containing GPG keys for this provider

OpenTofu has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that OpenTofu can guarantee to make the same selections by default when
you run "tofu init" in the future.
OpenTofu has been successfully initialized!
You may now begin working with OpenTofu. Try running "tofu plan" to see
any changes that are required for your infrastructure. All OpenTofu commands
should now work.
If you ever set or change modules or backend configuration for OpenTofu,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
`
As  you can see .. it worked out of the box

Is that initializing from your locally cloned repo or from the terraform registry?

It's absolutely coming from the internet ..  but  from the opentofu registry

works for me with actual terraform as well as opentofu:
➜ cd $(mktemp -d)

/tmp/tmp.Bdnso0DnrU …
➜ git clone https://github.com/inuits/terraform-provider-cortex/
Cloning into 'terraform-provider-cortex'...
remote: Enumerating objects: 214, done.
remote: Counting objects: 100% (76/76), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 214 (delta 58), reused 48 (delta 48), pack-reused 138
Receiving objects: 100% (214/214), 150.39 KiB | 2.28 MiB/s, done.
Resolving deltas: 100% (96/96), done.

/tmp/tmp.Bdnso0DnrU …
➜ cd terraform-provider-cortex/examples/

terraform-provider-cortex/examples on 🐳 v26.0.0 …
➜ terraform init

Initializing the backend...

Initializing provider plugins...
- Finding inuits/cortex versions matching "0.0.3"...
- Installing inuits/cortex v0.0.3...
- Installed inuits/cortex v0.0.3 (self-signed, key ID C52C0579BDA9D8D3)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

The TF registry also still knows about it and indicates 81 downloads this week...

Hmm you're right, its started working again. It deffo wasn't before though. Had issues across multiple machines with multiple users over the space of a few weeks, although it was more likely a TF registry issue. Regardless we've got darwin users who can't use the package so we're still using our fork. Cheers.


Publish package on PyPi for 3.11 and 3.12

Hi there - I'm developing an API on py312 and would love to use asgi_correlation_id, would it be possible to get the package published on PyPi for python versions greater than 3.10?
Let me know, thanks!
mathijssh
P.S. if there's a way in which I can contribute to this myself, please let me know, happy to help!

We don't build a wheel per version, but the code should be usable for all Python version above 3.8. In other words, if you run pip install asgi-correlation-id it should work on 3.12. Did you run into a problem with this?
I noticed you snake_cased the name. Did you perhaps try to install the wrong target?


error when running a python project that involves calling a MATLAB program through pymatbridge

[Window Title]
devenv.exe
[Main Instruction]
An unexpected error occurred
[Content]
Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.
[V] Show details  [Close]
[Expanded Information]
Build: 15.7.18116.1

System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.PythonTools.Intellisense.LocationTracker.Translate(SourceLocation loc, Int32 fromVersion, Int32 toVersion)
   at Microsoft.PythonTools.Intellisense.LocationTracker.Translate(SourceSpan span, Int32 fromVersion, Int32 toVersion)
   at Microsoft.PythonTools.Intellisense.VsProjectAnalyzer.<ConvertOutliningTags>d__181.MoveNext()
   at System.Linq.Enumerable.<ConcatIterator>d__58`1.MoveNext()
   at System.Linq.Enumerable.<ConcatIterator>d__58`1.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Microsoft.PythonTools.OutliningTaggerProvider.OutliningTagger.<>c__DisplayClass13_1.<UpdateTagsAsync>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.OutliningTaggerProvider.OutliningTagger.<UpdateTagsAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudioTools.UIThread.<>c__DisplayClass17_0.<<InvokeTask>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.OutliningTaggerProvider.OutliningTagger.<Microsoft-PythonTools-Editor-IPythonTextBufferInfoEventSink-PythonTextBufferEventAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Infrastructure.VSTaskExtensions.<HandleAllExceptions>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

Thanks! This is a duplicate of https://github.com/Microsoft/PTVS/issues/4213 and the fix will be included in the next 15.7 update.


[BUG] Test ended earlier than thread group schedule

Describe the bug
I have 6 thread groups in 1 jmx file.
4 of them have 06:40 duration, 1 of them is set up thread group, and other one has scheduler with 24000 seconds duration, so basically test should run more than 6 hours.
But in Azure load testing test stopped (by itself) after around 3 hours (2:59:49).
Not sure what's wrong with it.
Expected behavior
Test should run as long, as thread groups says.
Screenshots
Thread group example:

Azure load testing results:

Additional context
Test run ID: 045b1a67-159a-44c6-85d9-4faa0c3df032
AB#1730016

@jackydnb The maximum duration supported in Azure Load Testing is 3 hours. We have this on our roadmap to increase duration.

@jackydnb The workaround would be to schedule the test to run from a pipeline to run at an interval.

@jackydnb The workaround would be to schedule the test to run from a pipeline to run at an interval.

Like start one test after each other? Or if I run test from pipeline - I can run longer tests?

@jackydnb It would be different test runs.


update maf to af

Description
We updated the return keys for the vep endpoints from *_maf to *_af. The change appears in the colocated variants section of the output hash.
Use case
Users want to know if their input variant has know frequency data. We report the frequency from co-located variants if the input allele matches one of the alleles of the colocated variant. We then add the frequency to the output. MAF stands for minor allele frequency. This is not always the case when we return the frequency. It is better to call it AF which just stands for allele frequency.
Benefits
Avoids confusion and sometimes naming errors. The allele frequency is not always the minor allele frequency.
We made the change in the VEP script version and VEP tool. This would make our reporting more consistent across the VEP applications.
Possible Drawbacks
It is very likely that users have written parsers which filter for *_maf.
Testing
Have you added/modified unit tests to test the changes?
vep.t has been updated.
If so, do the tests pass/fail?
vep.t runs without errors.

tests fail on travis. not related to the PR's change.

Changelog
[/vep/:species/*]
We updated the frequency keys in the collocated variants entry. The keys have been updated from *_maf to *_af. The new naming better reflects that we only report allele frequencies from co-located variants if the input allele is matched.

Looks good. Test fails because of t/genomic_alignment.t, which should pass after merging the pull request https://github.com/Ensembl/ensembl-rest/pull/248


Add configmap-reload image

Description
Changes proposed in this pull request:

Build configmap-reload image with Golang 1.20.4

Related issue(s)

https://github.com/kyma-project/kyma/issues/17378

CODEOWNERS will be fixed with PR #333. Leaving it untouched to avoid merge conflicts.


Question about model config.

    gen_config = dict(
        num_beams=5,
        do_sample=False,
        min_length=1,
        repetition_penalty=1.5,
        length_penalty=1.0,
        temperature=1.0,
        max_new_tokens=500,
    )

what is the num_beams and do_sample? when composed, how will they take effect?

num_beams is related to beam search and determines how many candidate sequences are considered at each step of the generation process. A higher value can lead to better quality outputs but requires more computational resources.
do_sample decides whether the generation process should randomly sample from the probability distribution of next tokens, or just choose the highest probability next token at each step.

You can refer to https://huggingface.co/docs/transformers/generation_strategies for more details.


TimerInfo Properties?

Is there documentation on this object? I see .IsPastDue in the examples. What other info can I get about the timer?

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

ID: b5527c3b-a5da-c73d-66c2-20d96003ff7c
Version Independent ID: 42154c7b-b0e0-26db-79bc-3f1673c48e40
Content: Timer trigger for Azure Functions
Content Source: articles/azure-functions/functions-bindings-timer.md
Service: functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Thanks for the question! We are currently investigating and will update you shortly.

googling finally brought me to the source code! It's here if anyone else sees this issue and has the same question https://github.com/Azure/azure-webjobs-sdk-extensions/blob/master/src/WebJobs.Extensions/Extensions/Timers/TimerInfo.cs

Hi @BenGood We're glad to hear that you were able to find this info and appreciate you sharing it with us here. Surely, this will benefit and be helpful to others visiting this issue in the future.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Container Deployer does not delete service accounts

How to categorize this issue?

/area container-deployer
/kind bug
/priority 3
What happened:
The container deployer does not delete the service accounts used for init and wait container of particular container deployments. The same is true for role bindings and pods created by the container deployer.
An example of this situation could be seen in the namespace ls-system of the landscaper installation in landscape-dev-garden of the public environment.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Landscaper version:
Kubernetes version (use kubectl version):
Others:

Not sure but could be the expected behavior.
Can you check if the corresponding deploy items are also deleted?
Because these resources are currently only deleted if the deploy item is delete, otherwise we would regenerate the same resources with every reconcile.

Sorry, I forgot to close this issue. I checked the coding and it looked ok. I found out that the deploy items where deleted manually and this is the reason for this.

Sorry, I forgot to close this issue. I checked the coding and it looked ok. I found out that the deploy items where deleted manually and this is the reason for this.

ah ok so you mean that the finalizer has been manually removed.
Ok then we should rather implement something as described here: https://github.com/gardener/landscaper/issues/120

So this issue can / will be closed, as the observed behaviour is as intended ? If so, please go ahead and close.


Cannot use variable name "KEY" inside exported class

Here's a minimal example:
ES6:
class Test1 {
  constructor() {
    let KEY = "this works fine";
    console.log(KEY);
  }
}

export class Test2 {
  constructor() {
    let KEY = "this doesn't";
    console.log(KEY);
  }
}

6to5 output (using --modules common):
"use strict";

var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } };

var Test1 = function Test1() {
  _classCallCheck(this, Test1);

  var KEY = "this works fine";
  console.log(KEY);
};

var Test2 = exports.Test2 = function Test2() {
  _classCallCheck(this, Test2);

  var Test2 = "this doesn't";
  console.log(Test2);
};

Object.defineProperty(exports, "__esModule", {
  value: true
});

Note how KEY has been replaced with the name of the class (in this case, Test2). I experience the same bug using --modules amd and --modules umd, but not --modules system.

This is weird as hell. Might be something to do with templating possibly leaking out but beyond this I have no idea. I'll have to investigate.

@sebmck I figured it out. It is as you suspected. Templates are unintentionally recursing into the replacement values. I'll have a fix shortly.

@eventualbuddha Oh yeah, replacements node will need to have a this.skip(); in util.template. Huh, never took that into consideration.

@sebmck Yep. Took me a while to figure out how all the pieces fit together, but it definitely taught me more about the codebase which'll pay off later.
this.skip() inside the enter callback was much simpler than my first thought of collecting all the nodes to be replaced and checking that the nodes to be replaced were in that list.

@eventualbuddha Yeah I'm planning on writing up some internal documentation on how everything is structured and works. Thanks for looking into this!


Fixed the issue with wrong initial coordinates calculation for scaled elements

In my previous changes initial drag was working smoothly for scaled elements positioned at 0,0 but as the position changed it was starting to get wrong initial coordinates, causing the element to jump during dragging.
I've noticed that initial coordinate calculation was ignoring the element scale, causing this issue. I previously didn't play with this case in the demo and noticed it in my project once I've pulled the 2.3.0 so sorry for missing it in my previous PR :(

That's all right. Can you reproduce this issue in the index.svelte file or create page in sveltekit so I can see the issue?

And add it to PR?

@PuruVJ done! I've added a slider where you can change the scale and play with it.


update docs in readme to reflect breaking changes in 4.0.0 release

With near-cli 4.0.0 release breaking changes were not documented in this project's README or docs.near.org.
Community has been reporting issues using certain commands like near deploy See Telegram Chat here.
Related: #1101, #1103, #1104

So this is quite critical (we're live at ETHDenver and hackathoners are getting blocked) and will take less than 1 hour. Another solution is to yank the major version 4 from NPM so people will automatically install the version that's documented

Updated readme and fixed https://github.com/near/near-cli/issues/1101, https://github.com/near/near-cli/issues/1104 in the latest release 4.0.8
I don't understand were people found https://github.com/near/near-cli/issues/1103, will ask the user that reported it

Closing this since the README was updated


Decimal places limited to 2

On the December build, any fields with a decimal places property set higher than 2 is limited to 2 decimal places. Here is the field definition and the result in the web client:

i have the same issue, tried it on Page and Table.


create component for number lists

Link for the min max states of this component
https://www.figma.com/file/IpIAYVQPeQfuT5TTUboQpo4S/Market-creation?node-id=1027%3A69449

Completed Jun 25


Fix building in nightly go

Looks like scanner returns a rune.  This fixes the build

Thanks, but I will only pull this change only when next weekly comes out. Gocode's HEAD is synced with the latest weekly.


remove unused files and update snapshots

Description
Removed unreferenced code and update snapshots.
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Snapshot Summary
 › 9 snapshots written from 9 test suites.
 › 76 snapshots updated from 44 test suites.

Test Suites: 75 passed, 75 total
Tests:       193 passed, 193 total
Snapshots:   76 updated, 9 written, 49 passed, 134 total
Time:        160.958 s


Transition not working between routes with four levels

I have two routes with a slide-transition between the sub-routes.
But only the animation on the first route is working
// First example: This one is working
this.transition(
  this.fromRoute('appInstances.appInstance.index'),
  this.toRoute('appInstances.appInstance.users'),
  this.use('toLeft', { duration: 500, easing: [ 0.35, 0, 0.25, 1 ] }),
  this.reverse('toRight', { duration: 500, easing: [ 0.35, 0, 0.25, 1 ] })
);

// Second example: This one is not working
this.transition(
  this.fromRoute('administration.appInstances.appInstance.index'),
  this.toRoute('administration.appInstances.appInstance.users'),
  this.use('toLeft', { duration: 500, easing: [ 0.35, 0, 0.25, 1 ] }),
  this.reverse('toRight', { duration: 500, easing: [ 0.35, 0, 0.25, 1 ] })
);

The first example is working, but the second one not. If I put on the debug-mode I get this for the first example:
[liquid-fire] Checking transition rules for
…

[liquid-fire rule 7] rejected because oldRoute was appInstances.appInstance.index
[liquid-fire rule 7 reverse] rejected because oldRoute was appInstances.appInstance.index
[liquid-fire rule 6 reverse] rejected because oldRoute was appInstances.appInstance.index
[liquid-fire rule 7] rejected because newRoute was appInstances.appInstance.users
[liquid-fire rule 7 reverse] rejected because newRoute was appInstances.appInstance.users
[liquid-fire rule 6 reverse] rejected because newRoute was appInstances.appInstance.users
[liquid-fire rule 6] matched

but this one for the second example
[liquid-fire] Checking transition rules for
…

[liquid-fire rule 9] rejected because oldRoute was app-instances.app-instance.index
[liquid-fire rule 9 reverse] rejected because oldRoute was app-instances.app-instance.index
[liquid-fire rule 10] rejected because oldRoute was app-instances.app-instance.index
[liquid-fire rule 10 reverse] rejected because oldRoute was app-instances.app-instance.index
[liquid-fire rule 9] rejected because newRoute was app-instances.app-instance.users
[liquid-fire rule 9 reverse] rejected because newRoute was app-instances.app-instance.users
[liquid-fire rule 10] rejected because newRoute was app-instances.app-instance.users
[liquid-fire rule 10 reverse] rejected because newRoute was app-instances.app-instance.users

This is the output of the ember-tool for the first example:

and this is the output of the ember-tool for the second example:

So you can see that my route 'administration.appInstances.appInstance.index' gets converted to 'app-instances.app-instance.index', 'administration' is missing and 'appInstance' gets converted from camelCase to kebab-case.
As a workaround i get this code working for my second example:
this.transition(
  this.fromRoute('app-instances.app-instance.index'),
  this.toRoute('app-instances.app-instance.users'),
  this.use('toLeft', { duration: 500, easing: [ 0.35, 0, 0.25, 1 ] }),
  this.reverse('toRight', { duration: 500, easing: [ 0.35, 0, 0.25, 1 ] }),
  this.debug()
);

I assume that it has something to do with the four levels of the route. Is it possible that the plugin does not supports routes with more than four levels?

@damianthepichler I have the same issue here, only the first level is working.
Have you found a solution?

Sorry for my question, issue solved at #361, you need an outlet for each child route.

I had a similar-sounding issue that I was able to resolve. My setup included three template files (e.g. "app.hbs", "app/list/index.hbs", and "app/list/detail.hbs"). Transitions between "index.hbs" and "detail.hbs" didn't work until I created a template file at "app/list.hbs" with the contents "{{liquid-outet}}". Interestingly, keeping "{{outlet}}" in "app.hbs" didn't break the transitioning.
There's an allusion that this step is needed in the "Transitions for nested routes" section of the documentation -- but it wasn't clear to me that I couldn't just put "{{liquid-outlet}} in "app.hbs" and have that directly wrap the "index.hbs" and "detail.hbs" templates.


simulation crashed, unknown cause

reproducing: I was placing worker ants and reached 98 when the game stopped running. Opening the console gave me the above error message. I was running at a fast tick rate and utilizing my gpu heavily, so it could have crashed due to that. Hopefully this helps.

Thanks for the bug report! I'll see if I can reproduce it at some point soon.


bug: tasks.json multi-line pattern message does not apply to all problems

Neovim version (nvim -v)
0.9.4
Operating system/version
EndeavourOS
Describe the bug
"pattern": [
          {
            "regexp": "^(\\w+\\sleak)\\sof.*from:",
            "message": 1
          },
          {
            "regexp": "^\\s+#\\d\\s\\w+\\sin\\s\\w+\\s(.+):(\\d+)$",
            "file": 1,
            "line": 2,
            "loop": true
          }
]

If message is defined in the first pattern group, then all found problems will use default message (the content of all lines matched by the second group) and not the message set by the first group.

In VSCode, the default behavior is for the message in the first group to apply to all problems matched in the second group.

The above problems should all have "direct leak" as message.
What is the severity of this bug?
tolerable (can work around it)
Steps To Reproduce

set tasks.json to above
run overseer vscode task

Expected Behavior
The above problems should all have "direct leak" as message.
Minimal example file
tasks.json
{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "(vscode) make run current file",
      "type": "shell",
      "command": "make",
      "args": [
        "run",
        "filename=${fileBasenameNoExtension}"
      ],
      "group": "test",
      "problemMatcher": {
        "fileLocation": [
          "relative",
          "${cwd}"
        ],
        "owner": "cpp",
        "pattern": [
          {
            "regexp": "^(\\w+\\sleak)\\sof.*from:",
            "message": 1
          },
          {
            "regexp": "^\\s+#\\d\\s\\w+\\sin\\s\\w+\\s(.+):(\\d+)$",
            "file": 1,
            "line": 2,
            "loop": true
          }
        ]
      }
    },
  ]
}

sample cmd output to match

=================================================================
==18072==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x7fc53d6e0cc1 in __interceptor_calloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:77
    #1 0x562414b2439e in test src/overflow.c:18
    #2 0x562414b2457f in main src/overflow.c:32
    #3 0x7fc53d445ccf  (/usr/lib/libc.so.6+0x27ccf) (BuildId: 8bfe03f6bf9b6a6e2591babd0bbc266837d8f658)

Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x7fc53d6e0cc1 in __interceptor_calloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:77
    #1 0x562414b2458e in main src/overflow.c:33
    #2 0x7fc53d445ccf  (/usr/lib/libc.so.6+0x27ccf) (BuildId: 8bfe03f6bf9b6a6e2591babd0bbc266837d8f658)

Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x7fc53d6e0cc1 in __interceptor_calloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:77
    #1 0x562414b241bf in test src/overflow.c:7
    #2 0x562414b24763 in main src/overflow.c:45
    #3 0x7fc53d445ccf  (/usr/lib/libc.so.6+0x27ccf) (BuildId: 8bfe03f6bf9b6a6e2591babd0bbc266837d8f658)

Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x7fc53d6e0cc1 in __interceptor_calloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:77
    #1 0x562414b2439e in test src/overflow.c:18
    #2 0x562414b24763 in main src/overflow.c:45
    #3 0x7fc53d445ccf  (/usr/lib/libc.so.6+0x27ccf) (BuildId: 8bfe03f6bf9b6a6e2591babd0bbc266837d8f658)

Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x7fc53d6e0cc1 in __interceptor_calloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:77
    #1 0x562414b241bf in test src/overflow.c:7
    #2 0x562414b2457f in main src/overflow.c:32
    #3 0x7fc53d445ccf  (/usr/lib/libc.so.6+0x27ccf) (BuildId: 8bfe03f6bf9b6a6e2591babd0bbc266837d8f658)

SUMMARY: AddressSanitizer: 200 byte(s) leaked in 5 allocation(s).

Minimal init.lua
No response
Additional context
No response

Should be fixed!


Improve auto-update error

If an error occurs during auto-update retrieval or install of Plex, show a clearly visible message inviting to do a docker pull wernight/plex-media-server:autoupdate or docker-compose pull.

Not possible to do a fallback system ?

Good point.
Could wait for input if stdin is open or show a message for something like 30 sec if stdin is closed, and after skip the update part.
However if the user never installed it, it'd fail which I think it Ok. The alternative would increase image size and some users may think it autoupdates when it fails due to their network or something.

Or it could be great to force a link by an ENV var at run.
For example, if it's crashing as actually, i can go to plex, copy link and force it in my run command, so container will be usable with last plex pass version. And we can wait for an updated image :)

Through environment sound hacky and edge case; like for people who really really cannot for to get latest version and have some decent system/programming knowledge, like you.

It will be invisible for end user, but available for us by putting e PLEX_DL='https://downloads.plex.tv/plex-media-server/<IP_ADDRESS>.1621-344f193/plexmediaserver_<IP_ADDRESS>.1621-344f193_amd64.deb'
:)

Feel free to submit in PR. With the two new commits it should be pretty solid.

If you do, I'd recommend using explicit names like PLEX_FORCE_DOWNLOAD_URL and/or PLEX_SKIP_UPDATE.

Outside of those it should also show a clear error if username/password are wrong, see #13.


Investigate if posing new Fluid content in teams can be optimized

From https://dev.azure.com/office/OC/_workitems/edit/4899481?src=WorkItemMention&src-action=artifact_link
Scenario:

User creates a Fluid component to send in a Teams chat
User adds some content to the component
User presses send
Result:
User that created the component show up in loading state when it is inserted into the chat rather than an instant hydration.

The key expectation here - initial loading of same container to happen without network calls.
I.e. client to cache enough information to make second render instant.
There is no good way to accomplish that today.
The best we could do is

cache initial summary that file was created from and convert it to snapshot format (or find other way to load from it directly)
cache all the ops up to some point.
when loading, load from snapshot and play ops, instead of going over network for latest snapshot + ops.

Might be simpler, but lesser gain to the user:

start fetching snapshot from storage sooner, on user click send, outside of original iframe, and block loading of new container until this process is done. It only helps if all the other things (creation of new iframe, etc.) could happen in parallel (i.e. not be blocked by pending fetch) and only fetching for snapshot would block and wait for results from pre-fetch.

@jatgarg, any chance you have time to help me here in next 5-7 business days?
The core of the work here is to convert payload we get from Container when creating new file (ISummaryTree) to a snapshot (IOdspSnapshot), such that we can push it into cache and could reuse on next boot.

@vladsud yes sure. So should I write an api say in odsp-driver to convert the snapshot?

PR referenced above is big part of a solution. What's missing is adding end-to-end caching and testing

I have not had time to attack it in June, need some help :)
Si - I'd appreciate if you can take care of it.
Jatin - I'd appreciate if you could guide see on actual details here.
Here are two parallel streams of work that we can be doing here:

Convert "create new file" summary to a snapshot and cache it. Jatin did preliminary work here, so adding caching is likely rather trivial here. Biggest concern here - testability and correctness. If something goes wrong, it may have rather big impact on user scenario. So we need to think how we will ensure this flow is tested across as many flows as possible (UT in driver, UT / end-to-end tests in runtime, make sure it's included in stress tests, maybe other places).
We can cover 95% of that scenario and improve other scenarios simply by fetching snapshot from storage and caching it. This can be more generic than just on create new. For example, we already have prefetchLatestSnapshot() that does all of that - we can call it on specific triggers, like

creation of a file
When CacheOpsLimitHit event is hit due to too many ops on top of prior cached snapshot. Right now we delete all cached data in such case forcing next boot to go to storage, but we can also simple wire this flow to trigger prefetchLatestSnapshot() can continue ops caching. This is likely more involved (as requires partial ops deleting up to new snapshot), but something to look at (and consider percentage of sessions that run into this case - if it's relatively high, maybe separate issue is warranted to track it)

@vladsud So as I can understand in teams when a user creates a fluid content in personal textBox is a creation case and then when user hits the send button, the container is attached and then loaded back again in the chat window?
If so, should be consider just dehydrating detached container on send button, rehydrating it back in main chat window and then letting it attach in the background or maybe it is not possible because whatever is in main chat  window should always exists on server? Just a thought so putting it out there?

I do not think we want to go that far, yet :) This would be rather big change for hosting app, as today they may block user from moving away (from given window / chat) while waiting for initial post to finish, but do not care about loaded container.
I think long term we should assume that process of file creation may happen outside of iframe and controlled by host, while containers are more like views that can come and go at any point in time. So fast rendering should not be tied to how long it takes to post a file or where it happens (and lifetime of original container). So the task here is smaller in scope - when attachment process starts, simply cache the snapshot for another container instance to be able to rehydrate from it, if that's possible. If it's not possible, I'd rather wait for creation to finish and invoke prefetchLatestSnapshot() right away. Latter only hosts because all clients create files too early in the process, before user clicks send.

@chensixx So for now we can implement the first approach where we cache the "CreateNew" snapshot and ops in host persistent cache and then load from that on next Container load as it involves 0 extra network calls whereas the "Prefetching snapshot" involves making network calls.
Steps:
I think for now we can implement it under a policy flag and we will that that policy option in driver factory

HostStoragePolicy

.
1.) I implemented the function to convert "createNew" summary to IOdspSnapshot which is the format we fetch from server. However we currently don't use it cache the summary. So you need to add this support of converting and caching that while we create the file in createNew.ts in Odsp driver. This snapshot just contains blobs and trees and no ops as we don't have any ops yet. You can see that in implementation.
2.) Odsp driver already have capability to cache ops when they are emitted from container, so you don't need to do add anything extra for caching of ops in host cache.
3.) Now once both are cached, they will just be fetched from cache during the load time. So imo no extra work will be required there.
Testing:
1.) We do have some unit tests in place for converting "createNew" summary format to IOdspSnapshot but once you cache, you may want to add more unit tests for the same.
2.) I think for this we can add support in "Webpack-fluid-loader" to test the end-to-end flow and see that the contents are actually fetched from cache and no network call is made for the same. Look at the implementation to test "prefetchSnapshot" api in webpack-fluid-loader. Here: https://github.com/microsoft/FluidFramework/blob/c32fff7c6214a8562bb6cf416eed94a6eb502a4f/packages/tools/webpack-fluid-loader/src/loader.ts#L249

@jatgarg, I believe you implemented conversion for # 1 earlier, but it's unused. So the work is mostly around caching it and validation

Yes. I forogt to paste the link of the api to Si.: https://github.com/microsoft/FluidFramework/blob/4788e9eae17d986947b5e555c935a384fd4da7ca/packages/drivers/odsp-driver/src/createNewUtils.ts#L14

Reopening so that you can enable default flag after adding test. After that you can close it.


Wolfenstein 2 VR

Game no longer works with SteamVR 2.1 probably due to the changed desktop theater.
A completely wrong resolution  is displayed in the info window and the game just hangs when  loading a save.

Hmm..  there is no issue that I can see with SteamVR 2.1 and Wolfenstein 2 VR:

Oh.. I think I understand what you are saying...

Hi, if you check the performance I think that you will find that it is terrible. This is because the desktop theater screen is being displayed behind the game screen and you don't seem to be able to prevent it with the new SteamVR UI.
I have now solved it for the moment by loading the temp_1.2.5 from the betas of SteamVR AND moving the steamvr_desktop_game_theater.exe from the SteamVR Tools.
If you view the discussions of SteamVR you will see that a lot of people are having serious problems with SteamVR 2.1.

Strange. I just played the game around 40 minutes. And I do not have this issues. I do not see any issue ith the SteamVR game theater screen. It just loads into VR mode as any VR game.
I am running a RTX 4090 and I updated that check last year.. what version of Vk3dVision are you using? Are you running 4.22.16?
https://github.com/helifax/Vk3DVision-Public/releases/tag/v.4.22.16

Ok. I see.. You are starting Wolf 2 through SteamVR right? If you start it from the PC from Steam the VR screen thingy is not enabled and the game starts directly into VR.
For this you need to either see the desktop in VR and start the game from Steam, or get your headset off go to your PC and start the game from Steam.
Very strange how Steam made it works now.

I start the game from a desktop shortcut generated from steam, anyway my solution works for the moment.
I was using the Vk3DVision from the download of the game, didn't think to check if there was an update duh. Thanks for the info.


fatal: cannot run .husky/pre-commit: No such file or directory

Version
0.5.4
Details
Hi, i have an issue for v0.5.4, my project already has pre-commit file in .husky folder

My pre-commit file is
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

#Run the command group in .husky/task-runner.json
dotnet husky run --group pre-commit

#Allow Committing
exit 0

My task-runner.json file is
{
  "tasks": [
    {
      "name": "dotnet-format",
      "group": "pre-commit",
      "command": "dotnet",
      "args": ["dotnet-format", "--include", "${staged}"],
      "include": ["**/*.cs", "**/*.vb"]
    }
  ]
}

My .confif/dotnet-tool.json file is
{
  "version": 1,
  "isRoot": true,
  "tools": {
    "husky": {
      "version": "0.5.4",
      "commands": [
        "husky"
      ]
    },
    "dotnet-format": {
      "version": "5.1.250801",
      "commands": [
        "dotnet-format"
      ]
    }
  }
}

Steps to reproduce

I am on a branch with Husky installed in my project.
Then, I switch to a branch without Husky installation.
When I switch back to a branch with Husky installed and commit anything than I encounter this error.
fatal: cannot run .husky/pre-commit: No such file or directory

It gives this error in different situations sometimes as well. For instance, I clone the project from scratch and then face this issue on a branch with Husky already installed. As far as I can understand, I encounter this error when changing branches locally.

Hi @Filiphasan,
Have you attached husky to one your projects? if not if you switch to a repo/branch that doesn't have all the husky files, you might encounter similar errors.
or just check if you manually install husky again, would it fix the problem?
I tried to reproduce the error but it is working on my two machines.

Hi @alirezanet
I manually configured the Husky setup for my project with the following tag. I am experiencing the issue on macOS. When I tried it on Windows, I didn't encounter any problems. Thank you for your support.
<Target Name="husky" AfterTargets="Build" Condition="'$(HUSKY)' != 0">
        <Exec Command="dotnet tool restore" WorkingDirectory="../" />
        <Exec Command="dotnet husky install" WorkingDirectory="../" />
</Target>

Oh Unfortunately at the moment I only can test it in Linux/Windows operating systems, can you please verify if your git commit have required permissions and it is executable on mac after installing husky?

Yes, i have already +x permission
ls -l .husky/pre-commit
-rwxr-xr-x@ 1 hasan.erdal  staff  162 Aug 25 11:20 .husky/pre-commit

well normally you have it, but I mean check it when you've faced the error... since the error message is:
fatal: cannot run .husky/pre-commit: No such file or directory

I think either the hook is missing for some reason or the hook doesn't have permission.

Hi @alirezanet,
I found the cause of my issue. My project has .gitattributes file for end-of-line settings and in this file there is "* text eol=crlf" settings for all files.
My old .gitattributes file
# Set end-of-line to CRLF for All files.
* text eol=crlf

And now
# Set end-of-line to CRLF for All files.
* text eol=crlf

# Exclude files or folders
.husky/** -text

This changes has solved my "fatal: cannot run .husky/pre-commit: No such file or directory" issues.
Thanks for your support


Update Request: Silicon support version

Prerequisites
Please check that your issue isn't already filed: https://github.com/kmikiy/SpotMenu/issues?utf8=✓&q=
Description
[Can you make a version which is native version instead of Intel]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expect to happen]
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
Versions
SpotMenu version: [Version of SpotMenu]
You can get this information by highlighting SpotMenu.app (most likely in your Applications folder) in finder and pressing space.
MacOS version: [Version of MacOS]
You can get this information by clicking the  logo on the top left of your menu bar and selecting About This Mac.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

To help out others who want to try it, I was able to compile it on my M1 Macbook Air following the instructions in the Readme.
The only additional changes I needed to do was to remove the following lines from the Podfile as they aren't compatible with Apple silicon, these just handle crash reporting and app updating so not very relevant to a local build anyway
pod 'Fabric'
pod 'Crashlytics'
pod 'Sparkle'

After that, I kept building and removing/commenting the lines it errored on (i.e. from missing package or item not found from the packages that were removed) until it successfully compiled. Effectively removing all the lines directly using stuff from the removed packages. After that, I was able to build and install it locally and now I've got a working native build.

@simon-wh awesome! I was looking if the fork was on your profile but couldn't find it. Could you perhaps share your build?

@simon-wh awesome! I was looking if the fork was on your profile but couldn't find it. Could you perhaps share your build?

Seconding this request!

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).
You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).
You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

Dank je wel, Thanks Mattijs for your build! Unfortunately I get the  'The application "..." can't be opened' error. I already tried to disable gatekeeper and give extra permission via terminal to the .app and executable file but didn't help. :(

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).
You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

Dank je wel, Thanks Mattijs for your build! Unfortunately I get the 'The application "..." can't be opened' error. I already tried to disable gatekeeper and give extra permission via terminal to the .app and executable file but didn't help. :(

Yeah, you're right. I noticed the same when trying to run the .app on a different Mac.
Probably due to the fact that I didn't sign it with a paid developer account.
So you can always checkout my fork and make a .app yourself 😄

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).
You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

Dank je wel, Thanks Mattijs for your build! Unfortunately I get the 'The application "..." can't be opened' error. I already tried to disable gatekeeper and give extra permission via terminal to the .app and executable file but didn't help. :(

Yeah, you're right. I noticed the same when trying to run the .app on a different Mac. Probably due to the fact that I didn't sign it with a paid developer account.
So you can always checkout my fork and make a .app yourself 😄

Is that with Xcode? what may I search on google for a tutorial? thanks

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).
You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

Dank je wel, Thanks Mattijs for your build! Unfortunately I get the 'The application "..." can't be opened' error. I already tried to disable gatekeeper and give extra permission via terminal to the .app and executable file but didn't help. :(

Yeah, you're right. I noticed the same when trying to run the .app on a different Mac. Probably due to the fact that I didn't sign it with a paid developer account.
So you can always checkout my fork and make a .app yourself 😄

Is that with Xcode? what may I search on google for a tutorial? thanks

From the top of my head

Open project
Install pods
Product --> archive
Select archived app + click on 'Distribute app'
Select the correct option (out of 4 I guess)
You'll now have a folder with a .app inside
Copy that to your Applications on your Mac

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).
You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

Dank je wel, Thanks Mattijs for your build! Unfortunately I get the 'The application "..." can't be opened' error. I already tried to disable gatekeeper and give extra permission via terminal to the .app and executable file but didn't help. :(

Yeah, you're right. I noticed the same when trying to run the .app on a different Mac. Probably due to the fact that I didn't sign it with a paid developer account.
So you can always checkout my fork and make a .app yourself 😄

Is that with Xcode? what may I search on google for a tutorial? thanks

From the top of my head

Open project
Install pods
Product --> archive
Select archived app + click on 'Distribute app'
Select the correct option (out of 4 I guess)
You'll now have a folder with a .app inside
Copy that to your Applications on your Mac

Thanks a lot!

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).
You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

Dank je wel, Thanks Mattijs for your build! Unfortunately I get the 'The application "..." can't be opened' error. I already tried to disable gatekeeper and give extra permission via terminal to the .app and executable file but didn't help. :(

Yeah, you're right. I noticed the same when trying to run the .app on a different Mac. Probably due to the fact that I didn't sign it with a paid developer account.
So you can always checkout my fork and make a .app yourself 😄

Is that with Xcode? what may I search on google for a tutorial? thanks

From the top of my head

Open project
Install pods
Product --> archive
Select archived app + click on 'Distribute app'
Select the correct option (out of 4 I guess)
You'll now have a folder with a .app inside
Copy that to your Applications on your Mac

Hi!
Sorry but I have no experience with Xcode.
I used Xcode 13.2.1 and the only result I get is a file called "MusicPlayer [date].xcarchive"
When you say "Install pods" I interpreted selecting the "pods" folder and hit the play button, then in the "Select archived app + click on 'Distribute app' just have to options and the only one that generates a file is the second one 'Archive: export a copy of this file' (1st is 'Built products')
I guess it's easier than this but, no clue :(
Thanks!

To install the pods, you'll have to navigate in a terminal to the root of the project (where Podfile & Podfile.lock are) and execute pod install.

@Profitsarts
To install the pods, you'll have to navigate in a terminal to the root of the project (where Podfile & Podfile.lock are) and execute pod install.

@Profitsarts
To install the pods, you'll have to navigate in a terminal to the root of the project (where Podfile & Podfile.lock are) and execute pod install.

Thanks for the helping hand :)
But, after install 'sudo gem install cocoapods' and run 'pod install' I get this:
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html
[IMPORTANT]
Don't forget to include the Crash Report log file under
DiagnosticReports directory in bug reports.
zsh: abort      pod install

Then When I go to distribute, I just have two options:

'Archive: export a copy of this file'
'Built products'

If a chose the 2nd I get a folder with a '.xcarchive' file on it, just that :(
Sorry, I am so limited doing this things


Appstudio update test-component-pac-lcol

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-lcol-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
appstudio-init

✅ Succeeded
11 seconds
clone-repository

✅ Succeeded
19 seconds
sast-snyk-check

✅ Succeeded
19 seconds
appstudio-configure-build

✅ Succeeded
43 seconds
build-container

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
16 seconds
sanity-inspect-image

✅ Succeeded
16 seconds
clair-scan

✅ Succeeded
49 seconds
clamav-scan

✅ Succeeded
19 seconds
sbom-json-check

✅ Succeeded
21 seconds
sanity-optional-label-check

✅ Succeeded
21 seconds
sanity-label-check

✅ Succeeded
8 seconds
show-summary

Pipelines as Code CI/test-component-pac-lcol-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
appstudio-init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
19 seconds
sast-snyk-check

✅ Succeeded
19 seconds
appstudio-configure-build

✅ Succeeded
33 seconds
build-container

✅ Succeeded
18 seconds
sanity-inspect-image

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
44 seconds
clamav-scan

✅ Succeeded
14 seconds
clair-scan

✅ Succeeded
17 seconds
sbom-json-check

✅ Succeeded
15 seconds
sanity-label-check

✅ Succeeded
16 seconds
sanity-optional-label-check

✅ Succeeded
7 seconds
show-summary

Pipelines as Code CI/test-component-pac-lcol-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
appstudio-init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
19 seconds
appstudio-configure-build

✅ Succeeded
19 seconds
sast-snyk-check

✅ Succeeded
33 seconds
build-container

✅ Succeeded
18 seconds
sanity-inspect-image

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
14 seconds
clair-scan

✅ Succeeded
44 seconds
clamav-scan

✅ Succeeded
17 seconds
sbom-json-check

✅ Succeeded
16 seconds
sanity-optional-label-check

✅ Succeeded
15 seconds
sanity-label-check

✅ Succeeded
7 seconds
show-summary


Ghost in the Shell does not boot

tonyhax ver 1.2.2
installed through ulaunchelf on PS2
Tony Hawk's Pro Skater 3 NTSC-U
Playstation 2 3900X
stuck at tonyhax screen
Ghost in the Shell SLUS-00552

What do you mean stuck? It does not recognize the disc? It does not detect the tray is getting opened and closed?

@AbdomenFella
Maybe try this and see if you get any results...
Using your Tony Hawk's Pro Skater 3 NTSC-U
(1) Boot the game as you’d normally do.
(2) On the main menu, wait until the save file is automatically loaded.
(3) Once done -> Swap CD Now - Shut Lid
(4) Choose the “CREATE SKATER” menu and press X.
(5) After a couple seconds, TonyHax should boot and run game.
So basically, instead of swapping CDs on the TonyHax screen (when asked), do it right after the save game file has loaded then continue the steps as usual.
Please let me know if this helped any, it was helping some of the racing games (Castrol, Superbike, XS Moto) on the 'gate way' games list, which were getting stuck on the TonyHax screen. But then TonyHax v1.2.3 has since fixed those games that had that bug.

I can test on PS1 later today, I'll update with how it goes.

Perhaps this is related to #24 ?

I'll close this, since @AmuroRayMan indeed confirmed it works on a PS1 and thus is likely the same bug as #24.


balena-yocto-scripts: Update to v1.14.9

Update balena-yocto-scripts from 1.14.6 to 1.14.9
Changelog-entry: Update balena-yocto-scripts from v1.14.6 to v1.14.9
Signed-off-by: Alex Gonzalez<EMAIL_ADDRESS>

@balena-ci I self-certify!


Can't use tab navigation to go outside after focusing the path box

Describe the bug
After clicking on the path box to see the full location, I can't get to the next element via the tab key. Esc key works but it wrongly focuses the selection box button instead of the next element after it.
To Reproduce
Steps to reproduce the behavior:

Go to a folder
Click on the path box
Press tab
See error

Expected behavior
A clear and concise description of what you expected to happen.
It should go to the next element like normal
Desktop (please complete the following information):

OS Version: Windows 10 Pro version 20H2
App version: v<IP_ADDRESS>

This issue appears to be resolved in main.


Can't compile on gentoo linux

hi,
trying to compile on gentoo, stops with this output:
/usr/bin/ruby19 extconf.rb
checking for portaudio.h... yes
checking for main() in -lportaudio... yes
checking for PaStreamCallbackTimeInfo in portaudio.h... yes
creating Makefile
make
compiling portaudio.c
linking shared-object portaudio.so
portaudio.o: nella funzione "rb_portaudio_write_from_mpg":
portaudio.c:(.text+0x4d9): riferimento non definito a "mpg123_read"
portaudio.c:(.text+0x534): riferimento non definito a "mpg123_plain_strerror"
collect2: error: ld returned 1 exit status
make: *** [portaudio.so] Errore 1
maybe some specific support must be enabled in portaudio? my version is 19_pre20140130, compiled with following flags: alsa cxx -debug -jack -oss -static-libs.
thanks in advance

I'm also having the same issue compiling on Cygwin.
Ruby seems to cache my partially installed gem in a different place (~/.gem/ruby/gems/audite-0.4.0/ext/portaudio) but I too can add -lmpg123 and get a portaudio.so.
I'm frankly very confused why this isn't in the Makefile to begin with, possibly it isn't required on some platforms?
Besides that, it seems impossible to continue the installation of the gem after compiling the .so manually. gem install audite simply deletes the .so you just compiled and nukes the changes to the Makefile so it fails again.
Is Ruby just painful like this? I also can't figure out how to install a gem "from source", audite and soundcloud2000 are both open source, but it seems impossible to build them without using the gem program.

Add -lmpg123 to LIBS in /usr/lib/ruby/2.2.0/rbconfig.rb, e.g. change CONFIG["LIBS"] = "-lpthread -lgmp -ldl -lcrypt" to  CONFIG["LIBS"] = "-lpthread -lgmp -ldl -lcrypt -lmpg123"
Built it successfully on Cygwin.


Fix respawn logic & prevent related cheating

This one isn't perfect, it allows respawn during the 2 second cooldown after death, but that is a big improvement on the previous situation.. ship it!

@steamroller-airmash I forgot about tests and .. ugh.. didn't even see rustfmt.
 		let AirmashServerConfig {
-			mut world,
-			builder,
-			..
+			mut world, builder, ..
 		} = self.config;

Didn't realize merge conflict-inducing formatting was institutionalized over in Rust land.
Will clean up this evening, suddenly the fun has been utterly drained from the exercise


Fix Android Build

I signed it!

I'm not sure of the context of this PR. Which android build have you fixed? Can you tell me how I can verify this?

As you can see, the nightly Android builds are failing. To verify it, you can follow the instructions in /contrib/makefile and contrib/android

@aselle @gunan can you look at this? I don't think I have the expertise to review appropriately.

Ugh, we have another cmakefile under contrib/android?
Adding @petewarden, as he is the owner of the android build.
In our CI, android builds are passing. ci.tensorflow.org is deprecated, and it has last ran the android build a month ago. So if you are referring to that one the results there are obsolete.
We are working to expose the new CIs results.

Nagging Assignee @martinwicke: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @martinwicke: It has been 31 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@petewarden @aselle please review.

Nagging Assignee @martinwicke: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @martinwicke: It has been 30 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Reviewer @aselle, @petewarden: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle, @petewarden: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

Thanks

Nagging Reviewer @aselle, @petewarden: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 16 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle, @petewarden: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 30 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle, @petewarden: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 45 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle, @petewarden: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 29 days with no activity and the awaiting review label has been applied.

Sorry for the slow review. We're no longer actively maintaining the cmake Android builds for mainline TensorFlow, we're deprecating that in favor of TF Lite, so closing for now.


catalog2dnx no-op can miss index.json update

The no-op in catalog2dnx has the following rule.
If the source .nupkg and destination .nupkg have the same Content-MD5 header, skip the catalog leaf.
Also, if the no-op does not pass and catalog2dnx determines the package should be added, it performs the following steps in sequence:

Upload .nuspec
Upload .nupkg
Update index.json

Suppose the update of the index.json fails. The next time catalog2dnx attempts to add the package, the no-op will occur and the index.json will never be updated.

@joelverhagen , what's the priority on this? As far as I remember, the client doesn't use the flat container index.json

As far as I remember, the client doesn't use the flat container index.json

It does!!!
https://github.com/NuGet/NuGet.Client/blob/8b627e1ed95fd814a18d950d7af06b172224e52d/src/NuGet.Core/NuGet.Protocol/RemoteRepositories/HttpFileSystemBasedFindPackageByIdResource.cs#L347
Priority is high-ish given we have no monitoring on this problem.

Seems like a reasonable fix will be to update always try to update the index.json even if the nupkg no-ops.

Seems like a reasonable fix will be to update always try to update the index.json even if the nupkg no-ops.

To do the index.json update you have to download the index.json. You can skip the write if the version is already there. But yeah, pretty much.

We should be able to see in the logs if this already happened.

After fixing this we need to reflow:

[ ] paulovich.caju 0.0.2


Feat: Windows | Run commands without administrative mode

This feature lets us run zvm install and zvm use command without explicitly opening command prompt in administrative mode in windows machine.

@tristanisham We have 2 functions which needs to be used in install.go and use.go. Which is the common place to add these functions?

The build is getting failed for machines other than windows when i add //go:build !linux flag in user_perm_win.go. If I remove that flag then it builds fine.

Yeah, take off the build tag. I haven't had a chance to review any code.

Yeah sure, Have raised draft PR, will test in my system for all cases and will raise PR.


Publication dataset doesn't get indexed

The Publication Dataset 2ced91fd6d543e79af90313e52ada57d on PROD isn't being indexed in the ES indices for some reason.  It wasn't in the indices after initial creation nor after a manual call to /reindex/ was made.

@yuanzhou I see this in the "portal" index, but not the "entities" index

@shirey yes I was able to see it in the portal index this early morning, but didn't check the entities index. Just tested and saw this
[2023-06-06 03:04:29] ERROR in es_writer:96: Error Message: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Limit of total fields [3500] has been exceeded"}],"type":"illegal_argument_exception","reason":"Limit of total fields [3500] has been exceeded"},"status":400}

@shirey Probably due to the fact that we have not removed those deprecated fields. I had this draft PR from a few months ago after we switched to sample_category : https://github.com/hubmapconsortium/search-api/pull/611 but back then, we were waiting @bherr2 to finish the switch.
We may also need to remove the origin_sample and source_sample fields since we introduced the origin_samples and source_samples a while ago. I recall @john-conroy had switched to source_sample from source_samples back in Feb or March. Can we remove origin_sample and source_sample fields?

@bherr2 We're keeping sample_category which replaces the deprecated specimen_type and specimen_type_other which we want to remove.  Also, are you using origin_sample or source_sample which are deprecated, replaced with the pluralized, always list/array versions origin_samples and source_samples?
@john-conroy I thought you stopped using all of the above deprecated fields, but please confirm.


Updated to the most recent Spring Boot version (3.2.0)

This PR is going to address issue #37 . The springboot version is updated to 3.2.0 (latest) for both initial and complete directoties.

Superseded by a subsequent commit.


Bug Fixes

Update NOI Heading
Change from strong -> subheading2 for PFRS to match the rest
Add warningBanner ID so that they scroll to the banner
Render divs with the a so the files are on different lines

I just wanted to make sure this was intended to go to main.

Definitely not, updated to develop. Good catch.

approved


test

@lemonshir, VMware has rejected your signed contributor license agreement. The merge can not proceed until the agreement has been resigned. Click here to resign the agreement. Reject reason:

123

@lemonshir, VMware has rejected your signed contributor license agreement. The merge can not proceed until the agreement has been resigned. Click here to resign the agreement. Reject reason:

123456

@lemonshir, VMware has rejected your signed contributor license agreement. The merge can not proceed until the agreement has been resigned. Click here to resign the agreement. Reject reason:

test

@lemonshir, VMware has rejected your signed contributor license agreement. The merge can not proceed until the agreement has been resigned. Click here to resign the agreement. Reject reason:

test


use_legacy_loading exception when loading model json file which is saved by

In train.py, saving model json file (dspy-ai 2.5.10):
optimized_cot = teleprompter.compile(****)
optimized_cot.save(new_model_file)
In llm.py, loading model json file (dspy-ai 2.5.10):
cot= xxxxWithAssertions().activate_assertions()
cot.load(new_model_file)
Got exception here:
e=Retrieve.load_state() got an unexpected keyword argument 'use_legacy_loading'

More information, I verified no this issue on dspy-ai 2.5.5
In train.py, saving model json file (dspy-ai 2.5.10):
optimized_cot = teleprompter.compile(****)
optimized_cot.save(new_model_file)
In llm.py, loading model json file (dspy-ai 2.5.5):
cot= xxxxWithAssertions().activate_assertions()
cot.load(new_model_file)

Thank you @wangyiav ! Adding @chenmoneygithub

@wangyiav Thanks for reporting the issue! The error is because use_legacy_loading gets accidentally passed to dspy.Retrieve module. Let me fix it.

Hi @wangyiav, I have updated my dspy version with "2.5.12".  Now we are able to load compiled rag json successfully but  getting below error when make any call with question.
"TypeError: 'NoneType' object is not callable"
rag = RAG()
loadedRag=rag.load("compiled_rag_program.json")
print(loadedRag)
my_question = "Hello"
pred = loadedRag(my_question)
print(f"Question: {my_question}")
print(f"Predicted Answer: {pred.answer}")
Can ypu

Hi @wangyiav, I have updated my dspy version with "2.5.12". Now we are able to load compiled rag json successfully but getting below error when make any call with question.
"TypeError: 'NoneType' object is not callable"
rag = RAG()
loadedRag=rag.load("compiled_rag_program.json")
print(loadedRag)
my_question = "Hello"
pred = loadedRag(my_question)
print(f"Question: {my_question}")
print(f"Predicted Answer: {pred.answer}")

@wangyiav Thanks for reporting the issue! The error is because use_legacy_loading gets accidentally passed to dspy.Retrieve module. Let me fix it.

Are you able to use the model after load ?


Update player references to character in accordance with Lua API changes in 0.17.35.

Update player references to character in accordance with Lua API changes in 0.17.35.
This will fix #97.

Thanks you!


Apparently creating too many threads for tracing-subscriber

Getting a lot of these panics early after startup & running a clean build, which seems to create failures all over the place.
thread 'tokio-runtime-worker' panicked at /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/sharded-slab-0.1.7/src/tid.rs:163:21:
creating a new thread ID (8374) would exceed the maximum number of thread ID bits specified in sharded_slab::cfg::DefaultConfig (8191)
  2024-08-28T08:11:17.344013Z ERROR nativelink_store::filesystem_store: Failed to delete file, file_path: "/nativelink/data/tmp_path-worker_cas/...", err: Error { code: Internal, ... it panicked, basically }
    at nativelink-store/src/filesystem_store.rs:124
    in nativelink_store::filesystem_store::filesystem_delete_file
    in nativelink_store::filesystem_store::filesystem_store_emplace_file
    in nativelink_worker::local_worker::worker_start_action
    in nativelink::worker with name: "worker_0"

The implication here is nativelink is creating 8000+ threads. It can apparently recover if you restart the build, which is nice. The only crate in the graph that depends on sharded-slab is tracing-subscriber, and I assume that's the code that is using the default limits. I think it's weird that nativelink would be creating 8000+ threads. 8000 sounds like a perfectly sane limit.
Nativelink version 0.5.1 from GitHub running in docker.

Hmmm, is this specific to tracing-subscriber? From what I see in nativelink we limit blocking threads to ~5k by default (math is 10 * config.global_cfg.max_open_files).
We do 10x because of an edge case that can happen when limiting max open files, in some cases open file limit can need more than 1 descriptor.

Hm, maybe the max open files is set too high in my config. What happens if you try to schedule more work than fits in the max open files limit? Does it fail in a similar way to hitting a ulimit? Or does the scheduler avoid it / things just queue up? If it's the latter I can fix this by dropping max open files back to a reasonable number.

Yeah, that fixed it. I think this means max_open_files should absolutely never be more than 800 with the current 10x-ing thread limit behaviour. Not that I actually read the docs when I set it way too high, but may be worth adding to them.

Hmmm... it did fix this problem, but now nativelink seems to be running 1-2 actions at a time. This started happening pretty late in a big build, initially it was fine, but it seems to have run out of open files. Set max_open_files to 512, and it's got about 600 threads running (not 5000). Sounds to me like something is is keeping files open or failing to decrement the open files limit or something. Build graph was about 2000 nodes.
; ls /proc/$(pgrep nativelink)/fdinfo/ | wc -l
543

Actually, late in the build graph you have things with many dependencies, and those dep lists are just long lists of object files. So in this weird way, it may make sense we would hit open file limits more with more dependencies. Still would be a bit weird to consume an open file handle for that while the action is executed.


Support for typeof expression

Vue has no problem parsing this expression:
typeof var.test !== 'undefined' && var.test > 0
When I try the same thing with vue-pre I get:
Error: VuePre doesnt understand this JS expression: "typeof var.test && var.test > 0"
When leaving out the typeof check it shows this error:
Error: Cant parse "\VuePre\ConvertJsExpression::getObjectValue($var, ['test'])" : Undefined index: test

so, typeof isnt supported yet. But i see this is indeed a problem. I will fix this as soon as i can.

This is now fixed, note: you must use () brackets when using typeof
e.g. typeof(var.test)

That was quick, thank you!
Lorenz Vandevelde<EMAIL_ADDRESS>schrieb am Mo., 6. Mai 2019,
14:30:

This is now fixed, note: you must use () brackets when using typeof
e.g. typeof(var.test)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ctxkiwi/vue-pre/issues/5#issuecomment-489603067, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABFNS7IHK5MIM7J2IMMAU53PUAQFHANCNFSM4HHV5WGA
.

That was quick, thank you!

It wasn't quick at all... I only saw your issue after like 13 days. I feel kinda bad for that 😅


Move deprecated items to subfolder. Add/Update readmes

We've had some questions in the Support channels about which designs are the most "up-to-date".
These changes are an attempt to provide clarity on what's the most current designs as samples to reference, while maintaining access to older designs that users may still need to reference.
Included some additional readmes to describe contents for various item folders.

s/b deprecated, instead of depreciated.

@zfields Changed references from "depreciated" to "deprecated"


operators gitops-primer (0.0.2)

Signed-off-by: Ryan Cook<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[] Are you familiar with our contribution guidelines?
[] Have you packaged and deployed your Operator for Operator Framework?

[] Have you tested your Operator in all supported installation modes?
[] Have you considered whether you want use semantic versioning order?
[] Is your submission signed?
[] Is operator icon set?

Updates to existing Operators

[X ] Did you create a ci.yaml file according to the update instructions?
[X ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[X ] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[X ] Have you tested an update to your Operator when deployed via OLM?
[ X] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

I may have made a mistake adding in the package file but I noticed that some of the other operators that had multiple versions had that file

/test 4.8-deploy-operator-on-openshift

/merge possible

/approve

/merge possible

seems that we are hitting limits: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/redhat-openshift-ecosystem_community-operators-prod/517/pull-ci-redhat-openshift-ecosystem-community-operators-prod-main-4.6-deploy-operator-on-openshift/1470423987736547328#1:build-log.txt%3A53
I am wondering if we can just retest at the top of the hour and that will do the trick/

/retest

/test 4.6-deploy-operator-on-openshift

/merge possible


How to manually adjust the exposure compensation value in cameraX

val factory = SurfaceOrientedMeteringPointFactory(1.0f, 1.0f)
val createPoint = factory.createPoint(x, y)
val actionAE = FocusMeteringAction.Builder(createPoint, FocusMeteringAction.FLAG_AE)
.setAutoCancelDuration(3, TimeUnit.SECONDS)
.build()
cameraControl.startFocusAndMetering(actionAE)
Through this method, I can only call API to adjust AE automatically. Is there any API that can set custom exposure compensation value

def camerax_version = "1.0.0-alpha09"
implementation "androidx.camera:camera-core:$camerax_version"
// CameraX Camera2 extensions
implementation "androidx.camera:camera-camera2:$camerax_version"

// CameraX Lifecycle library
implementation "androidx.camera:camera-lifecycle:$camerax_version"

// CameraX View class
implementation "androidx.camera:camera-view:1.0.0-alpha08"

// CameraX Extensions library
// implementation "androidx.camera:camera-extensions:1.0.0-alpha05"
implementation 'androidx.camera:camera-extensions:1.0.0-alpha09'

This is the reference version number

The open PR is for the core module, so alpha10 is very old news there. We will upgrade the sample to beta03 (core) and alpha10 (view) very soon.


Update cookies with source, purpose and parameters

Replaces PR #4206 to point to new Docs Stack structure

Hi @feddovanede
I've removed the list within a table as being very difficult to maintain. I've put the three values in their own columns,. Hopefully, that will be clear enough to the reader.
I've also made some minor proofreading changes.
Let me know if you are happy and we can publish it.


Guess file types for Scraping, Extension for Formats

Add a field to the Formats model for a comma delimited list of file extensions ( So there can be more than one file extension for each format )
When scraping, set the file format for the entry from the first format that matches the file extension of the url.

I think the comma delimited list is not good choice here because it will require complicated sql query or custom data structure while matching. Better choice is to create model (table) with extensions having relation to Format and db index over name of the extension. From client side view it will look like one input with comma separated extensions.

That would be a better data model -- do that if you prefer to.

On Apr 7, 2015, at 12:20 AM, Kazbek<EMAIL_ADDRESS>wrote:
I think the comma delimited list is not good choice here because it will require complicated sql query or custom data structure while matching. Better choice is to create model (table) with extensions having relation to Format and db index over name of the extension. From client side view it will look like one input with comma separated extensions.
—
Reply to this email directly or view it on GitHub.

Eric Busboom<PHONE_NUMBER>
<EMAIL_ADDRESS>http://www.busboom.org

requires migration.


Controll via Telegram Bot

Hey there
This module you created is great! I love it!
I would like to use it, to stream workout videos to my MagicMirror, so i could work out along.
Everything works great if I enter a Youtube id in the config file.
But i would like to use Telegram to send Yt Videos to the mirror. I have set up the whole Telegram Bot and everything works great so far. When the Mirror boots up it sends me a message to my phone, and tells me that he has woken up from a deep sleep. So that means, that i connected the Mirror correctly to Telegram right?
When I try to send a message via the Bot to the mirror he does not reply. So if i say for example: "/yt https://www.youtube.com/watch?v=dAB3gziF9R4", it  just stays there and i get no reply from the MMM-Youtube module.
Does anyone have any idea, what I could have missed? Is there a step more I have to take to make it work? Does it help, if I would send you my config file?
Thank you in advance

Hmmm...

For me, it works, I'll look inside. All other clip doesn't work?

Thank you for your quick response!
The Problem is not just with that video. I cant get any reply from my MagicMirror.
I just need those two modules right? The MMM-Youtube and the MMM-Telegram.
Here is my configuration for those two Modules. Is there anything wrong with them?
{
module: 'MMM-TelegramBot',
config: {
telegramAPIKey :'My_API_KEY’,
allowedUser : [‘My_Username’(without @)],
adminChatId : MY_admin_Chat_ID
}
},
            {
                    module: "MMM-YouTube",
                    position: "middle",
                    config: {
                            verbose:true,
                            defaultQuality: "default",
                            width: "1910px",
                            height: "2280px",
                            volume: 100,
                            disableCC: true,
                            showPlayingOnly: false,
                            defaultLoop: false,
                            defaultShuffle: false,
                            defaultAutoplay: true,
                            onStartPlay: null,
                            playerVars: {
                                    controls: 0,
                                    hl: "en",
                                    enablejsapi: 1,
                                    showinfo: 0,
                                    rel: 0,
                                    cc_load_policy: 0,
                                    },
                            telegramBotCommand: {
                                    YOUTUBE_LOAD_BY_URL: "yt",
                                    YOUTUBE_CONTROL: "yc"
            },
                            outNotifications: {
                                    "-1": "UNSTARTED",
                                    "0": "ENDED",
                                    "1": "PLAYING",
                                    "2": "PAUSED",
                                    "3": "BUFFERING",
                                    "5": "VIDEO CUED",
                                    }
                            }
            },

To make things simple, Remove (comment out or add disabled:true) all other modules except just two modules. And you don't need all those options (most of them are already default). Then,
(If you are using pm2, stop pm2 first)
Execute MM by dev mode (npm start dev in your MagicMirror directory)
It will show detailed front-end log.

I have commented out all the unnecessary options and modules. The i did what you told me to do with the dev mode and now i have the MagicMirror opened with a front-end log on the right side. Where can I see if the Mirror actually gets my messages from Telegram?

I can see, that there is an error with the stylesheet, but that does not seem important to me.

This will be normal log; Is it something different with yours?

I dont get the "clock recieved a module" command. But I just noticed, that when I send a message from Telegram, I get a message at the bottom of the console, saying: "Uncaught TypeError: Cannot read property 'index0f' of undefined.

Oh, show me that message. Which file and line it indicates? (e.g: MMM-Youtube.js:218)

My log looks like this. Hope you can read it

Hmmm. Can you check your current version of MMM-TelegramBot. You can see it in package.json

I think your MMM-Youtube and MMM-TelegramBot are somewhat out-dated. update them.

It tells me, that it is version 1.2.3

but when I do "git pull" in the MMM-Telegram folder it tells me, that it is already on the newest version.

Hmmm.. wait a sec. I'll look inside more.

Hmmm. but your error message shows different line number with current version. I don't know why, but your MMM-TelegramBot.js seems different with current. Can you check the lines?
https://github.com/eouia/MMM-TelegramBot/blob/2fc91ae77845aa77de471c99079eec779fe398e7/MMM-TelegramBot.js#L506-L514
Line 506~514 What codes exist in your MMM-TelegramBot.js ??

I have just checked those lines and they look exactly the same as yours. Is it possible that it has something to do with the version of the MagicMirror itself? Because when I do git pull on just the MagicMirror folder I get an error, saying that something is wrong with my package.json file.

It always gives me this Error:
Updating 5bf90ae..447c0bf
error: Your local changes to the following files would be overwritten by merge:
package-lock.json
Please commit your changes or stash them before you merge.
Aborting
But I dont know if it has anything to do with my problem.

Ok. I think I found something. Remove this part in your config and try again;
telegramBotCommand: {
  YOUTUBE_LOAD_BY_URL: "yt",
  YOUTUBE_CONTROL: "yc"
},

It was my fault. config example was wrong on README.md. sorry.

It worked!!
You are my Hero! ☺
I know how I can thank you for your help and your time!

It worked!!
You are my Hero! ☺
I don't know how I can thank you for your help and your time!


MWPW-154899 - Pilot preloading marquee dependencies

Preload known marquee dependencies if in LCP section
Not in scope: MEP awareness

Resolves: MWPW-154899
Test URLs:

Before: https://main--cc--adobecom.hlx.live/products/illustrator?martech=off&mep=off
After: https://marqpreload--cc--adobecom.hlx.live/products/illustrator?martech=off&mep=off

How to test:
Observe in the network calls that all marquee dependencies load before things that are historically in front of blocks: placeholders, etc.
Additional context:
This is a pilot to see if this feature should be elevated to Milo at a later date. I'm a little suspect this will add any performance gains in low bandwidth scenarios, but it's worth trying.

I'd recommend

Enable logging web vitals on a page https://github.com/adobecom/milo/pull/2686
Wait for a bit of data for a day
Merge this PR and share any changes in numbers

@salonijain3 can someone take care of this?

@sharath-kannan can you look at improving the message logic? It's a little spammy if the PRs don't get merged

Skipped merging 383: MWPW-154899 - Pilot preloading marquee dependencies due to missing verified label. kindly make sure that the PR has been verified

@sharath-kannan can you look at improving the message logic? It's a little spammy if the PRs don't get merged

Skipped merging 383: MWPW-154899 - Pilot preloading marquee dependencies due to missing verified label. kindly make sure that the PR has been verified

Sure, i will check this.

@mokimo @salonijain3 is there anything needed from me on this? The lana tracking PR has been merged. Would you like me to assign someone to verify this?

I don't know much about the cc contribution process. @salonijain3 can you help getting this merged? The goal are some performance improvements we'd want to trial on cc.

Given the concerns from @aishwaryamathuria this is currently not in a state to be merged. @Ruchika4 would you want to give this a spin?