The generated TypeInference class does not have access to _Imports.razor usings

Describe the bug:
When working with generic components and type inference, the TypeInference class is not generated in a context where _Imports.razor usings are available. I'm hitting this when a where clause needs to be repeated on that class.
Version used:
VS2022 17.0.1
SDK 6.0.100, Microsoft.AspNetCore.App 6.0.0
To reproduce:
Run dotnet build in https://github.com/Tragetaschen/blazor-type-inference-class-usings-issue
Expected behavior:
None of the files in the project show any errors in VS, so I expect the build to succeed.
Actual behavior:
Building produces the error
…\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\App_razor.g.cs(60,23): error CS0246: The type or namespace name 'MyModel' could not be found (are you missing a using directive or an assembly reference?) […\repro.csproj]

Additional context:
In the App_razor.g.cs, there is a TypeInference class that does not have any usings within its namespace:
namespace __Blazor.repro.App
{
    #line hidden
    internal static class TypeInference
    {
        public static void CreateGeneric_0<T>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::repro.Services.IService<T> __arg0, int __seq1, global::Microsoft.AspNetCore.Components.RenderFragment<T> __arg1)
            where T : MyModel
        {
        __builder.OpenComponent<global::repro.Generic<T>>(seq);
        __builder.AddAttribute(__seq0, "Service", __arg0);
        __builder.AddAttribute(__seq1, "R", __arg1);
        __builder.CloseComponent();
        }
    }
}

so the MyModel type in the where clause is not found.

The source generator will always just emit the MyModel type name in the where clause. I tried fully qualifying it in the generic component, but that didn't change it in the TypeInference class.
As a workaround, I have moved the using from _Imports.razor to a global using.

On a seemingly related note: A class generic constraint results in a syntax error in the TypeInference class.
I have added a commit to the reproduction repository showing this as well.
namespace __Blazor.repro.App
{
    #line hidden
    internal static class TypeInference
    {
        public static void CreateGeneric_0<T1, T2>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::repro.Services.IService<T1, T2> __arg0, int __seq1, global::Microsoft.AspNetCore.Components.RenderFragment<T1> __arg1)
            where T1 : MyModel
            where T2 : , class
        {
        __builder.OpenComponent<global::repro.Generic<T1, T2>>(seq);
        __builder.AddAttribute(__seq0, "Service", __arg0);
        __builder.AddAttribute(__seq1, "R", __arg1);
        __builder.CloseComponent();
        }
    }
}


Extension to new Schedulers, Random Plan Generation, Summary Table, and more...

List of changes:

introduction of the configurable scheduler with an extensible infrastructure
new supported schedulers:

FIFO
SJF
SRTF
HRRN
RR

added random scheduling plan generator
new fixtures covering most edge cases, used also for tests
fixes per cfs:

correct handling of non-zero arrival time
added preemption check in case of non-zero arrival time
implemented functionality for minimum granularity

this required a multitude of fixes (search for comments marked with "WARNING")

latex changes:

fixed and translated export data
added summary table
fixed missing text inside some of the task ticks
added marker for preemption checks
added option to move inline text below the plot
improved plot scaling w.r.t. timer

additional examples in README.md
added more graphics under /static
added MIT licence

Development has been carried out by @EMJzero and @AleSassi, under the supervision of @vzaccaria, as part of their project for the "Advanced Operating Systems - 2023/2024" course at PoliMi.
Note: for the licence, we settled upon the MIT one as recommended by the Bun community and GitHub. However, we are open to any suggestions on the matter.

Update:
In accordance with the request in https://github.com/vzaccaria/aos-sched/pull/1#issuecomment-2102629217, we have squashed the previous commits into a few that we thought being the most significant ones. We apologize for closing the previous pull request, but it could not be avoided due to the modifications requiring a forced push to our repository.
Furthermore, now all commits report a summary of the modifications they inherited from the previous commit history.

Firstly, I suggest we consider removing the example.tex file from our repository. Upon reflection, it appears that this file may not be directly relevant to the core objectives and functionalities of our project. Its presence could potentially lead to confusion or misinterpretation of our project's purpose and scope.
Additionally, docker-related files currently housed within our repository may be redundant. Removing them could streamline our project setup and reduce unnecessary clutter, making our repository cleaner and more efficient.
Lastly, I would like to address the inclusion of word art within our project. While creative expressions are always appreciated, it seems that the current word art does not accurately reflect the name or the essence of our project. To be candid, it also falls short in terms of visual appeal. Therefore, I propose we remove the word art. We'll have time to reflect on the logo...

Thank you very much for the feedback, we agree on the importance of a simple project setup and a minimized presence of misleading files. Regarding the wordart, after a second thought, we indeed concurred that it was very much out of place, and we apologize for its original inclusion.
As of the above commit all reported concerns should have been addressed, and we remain open to any further suggestion.


Create unit tests and end-to-end tests for Presto Manager.

This would happen after #55.
The basic function test includes testing for Install, Start, Stop, Uninstall Presto, Query Presto Status and few Config path APIs. We would need separate tests for the remaining functionalities, namely:

Upgrade, Restart Presto
Configuration/Connector/Log files access and modification

In addition, we should include tests for edge cases, such as Start when Presto is not installed, Uninstall when Presto is running; Play around with different Query Parameters, etc.

See the Unit Tests project.


RuntimeError: [Errno 2] No such file or directory: 'checkpoint/plot_training_curves.png'

When i try good_quality_fast_inference preset, i got following error
RuntimeError: [Errno 2] No such file or directory: 'checkpoint/plot_training_curves.png'
Code
predictor = ImagePredictor(verbosity=1)
predictor.fit(train_df,tuning_data=val_df,presets=['good_quality_fast_inference'])
Full log
RuntimeError                              Traceback (most recent call last)
<ipython-input-14-92abe5771cf1> in <module>()
----> 1 get_ipython().run_cell_magic('time', '', "predictor = ImagePredictor(verbosity=1)\npredictor.fit(train_df,tuning_data=val_df,presets=['good_quality_fast_inference']) ")

4 frames
/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py in run_cell_magic(self, magic_name, line, cell)
   2115             magic_arg_s = self.var_expand(line, stack_depth)
   2116             with self.builtin_trap:
-> 2117                 result = fn(magic_arg_s, cell)
   2118             return result
   2119

<decorator-gen-53> in time(self, line, cell, local_ns)

/usr/local/lib/python3.7/dist-packages/IPython/core/magic.py in <lambda>(f, *a, **k)
    186     # but it's overkill for just that one bit of state.
    187     def magic_deco(arg):
--> 188         call = lambda f, *a, **k: f(*a, **k)
    189
    190         if callable(arg):

/usr/local/lib/python3.7/dist-packages/IPython/core/magics/execution.py in time(self, line, cell, local_ns)
   1191         else:
   1192             st = clock2()
-> 1193             exec(code, glob, local_ns)
   1194             end = clock2()
   1195             out = None

<timed exec> in <module>()

/usr/local/lib/python3.7/dist-packages/autogluon/vision/configs/presets_configs.py in _call(*args, **kwargs)
     13         def _call(*args, **kwargs):
     14             gargs, gkwargs = set_presets(preset_name, *args, **kwargs)
---> 15             return f(*gargs, **gkwargs)
     16         return _call
     17     return _unpack_inner

/usr/local/lib/python3.7/dist-packages/autogluon/vision/predictor/predictor.py in fit(self, train_data, tuning_data, time_limit, presets, hyperparameters, **kwargs)
    375                 self._classifier = task.fit(train_data, tuning_data, 1 - holdout_frac, random_state)
    376             if err.exc_value is not None:
--> 377                 raise RuntimeError(err.exc_value + err.hint)
    378         self._classifier._logger.setLevel(log_level)
    379         self._classifier._logger.propagate = True

RuntimeError: [Errno 2] No such file or directory: 'checkpoint/plot_training_curves.png'

Thanks for highlighting this issue! Does this error only occur with good_quality_fast_inference or does it occur with other presets?

I am working on others, for example, please check #1141. If I found an error with other presets, I will update

I think this was fixed in https://github.com/awslabs/autogluon/pull/1188

Assuming #1188 fixed this, resolving for now. Please re-open if the issue still persists.


Remove need for explicit ISTIO_VERSION in download scripts

TLDR remove ISTIO_VERSION requirement from download scripts which are automatically redirected from istio.io tot he correct branch and script.
https://github.com/istio/istio/pull/17187#issuecomment-554642053

@ericvn as you were the assignee on the last issue related to this - any interest in tackling this?

Doesn't the script already download the latest one if you don't set that? I haven't tried but I thought it might

I just need to verify. We missed a cherry pick from master to 1.4 which should fix the release requirement. It was needed before the cherry pick so it was added to the docs as a workaround.

The https://istio.io/downloadIstio now downloads the latest 1.4.0 by default (no specified version), but we need to apply the same change we did for that to https://istio.io/downloadIstioctl so it pulls the correct version. I'll submit a PR, cherry-pick that to 1.4 and then create a istio.io PR updating the two commands removing the ISTIO_VERSION.

https://github.com/istio/istio/pull/19047 fixes downloadIstioCtl.sh to remove beta, rc, alpha versions.

https://github.com/istio/istio.io/pull/5792 removes from itsio.io commands.


Globus path mapping in config

At the moment we are conflating the Globus/Local path mapping and the working directory. I think we should break this config up as follows:
 "data": {
     "globus": {
           "endpoint_name": "7d2dc622-2edb-11e8-b8be-0ac6873fc732",
           "endpoint_path": "/home/globus/kyle",
            "local_path" : "/home/user/kyle"
       }
       "working_dir" : "/home/user/kyle/parsl-stuff
 }

This would then allow us to keep the mapping in the site-specific Globus object (from endpoint_path to local_path) and manage the working directory as a general data option. I expect this will be easier in the long run as we transition to externally cataloged site definitions too.

"working_dir" specifies where files will be staged in to. "endpoint_path" is optional and by default is  the same as "working_dir". "endpoint_path" is needed only when <endpoint_name><working_dir> does not correspond with working_dir on the filesystem. In this case, endpoint_path needs to be specified, so <endpoint_name><endpoint_path> points to the working_dir on the filesystem.
"data": {
"globus": {
"endpoint_name": "7d2dc622-2edb-11e8-b8be-0ac6873fc732",
"endpoint_path": "/kyle/parsl-stuff"
}
"working_dir" : "/home/user/kyle/parsl-stuff
}

In the long run I expect the person defining the Globus config will be different than the person defining the working_dir. So it would be preferable to include both endpoint_path and local_path to specify the mapping independent of the working directory.

To clarify @kylechard's comment, I think what he's saying is to have what we had before with the working_dir as an additional option


Fix controller create taskRun all the time after create task failed.

When pipeline has multi taskRun, controller will create taskRun again and again if one taskRun create failed.
Signed-off-by: longhui.li<EMAIL_ADDRESS>
Changes

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[x] Commit messages follow commit message best practices
[ ] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes

Thanks @llhhbc can you please explain your use case when you are running into this kind of failure? This is by design until pipelinerun eventually time out. Will help to troubleshoot if you can provide the errors you are running into.

Thanks @llhhbc can you please explain your use case when you are running into this kind of failure? This is by design until pipelinerun eventually time out. Will help to troubleshoot if you can provide the errors you are running into.

@pritidesai  I have a pipelinerun that has 4 taskrun, but one taskrun name has upper case word. It will failed when create taskRun, then the pipelinerun controller will create all taskrun again.  In minitues, It will create so many taskrun that the system resource has reach the limit.

/remove-lifecycle stale

/remove-lifecycle stale

/assign @sbwsg

/assign @sbwsg

This is a bug fix for pipelinerun create taskrun again and again after create one taskrun failed. For example: I have a pipeline with 4 task,  then the pipelinerun controller will create 4 taskrun, but the third one create failed, but first and two is create success. And it will repeat this action again and again. Then my k8s will have many taskrun objects.

This is a bug fix for pipelinerun create taskrun again and again after create one taskrun failed. For example: I have a pipeline with 4 task,  then the pipelinerun controller will create 4 taskrun, but the third one create failed, but first and two is create success. And it will repeat this action again and again. Then my k8s will have many taskrun objects.

/retest

/retest

@llhhbc can you create a bug report for this?  I would like to see an example PipelineRun that reproduces the problem.  I'm not able to reproduce the behaviour described here running a Pipeline with a failing Task but I might be missing something.  A PipelineRun that reproduces the problem would make this much easier to verify and help debug.
In the report please include:

What platform you are running on (bare metal / GKE / OpenShift etc)
What k8s version you are running
What Tekton Pipelines version your are using
A short PipelineRun with embedded Pipeline spec that reproduces the problem for you

@llhhbc can you create a bug report for this?  I would like to see an example PipelineRun that reproduces the problem.  I'm not able to reproduce the behaviour described here running a Pipeline with a failing Task but I might be missing something.  A PipelineRun that reproduces the problem would make this much easier to verify and help debug.
In the report please include:

What platform you are running on (bare metal / GKE / OpenShift etc)
What k8s version you are running
What Tekton Pipelines version your are using
A short PipelineRun with embedded Pipeline spec that reproduces the problem for you

@llhhbc can you create a bug report for this? I would like to see an example PipelineRun that reproduces the problem. I'm not able to reproduce the behaviour described here running a Pipeline with a failing Task but I might be missing something. A PipelineRun that reproduces the problem would make this much easier to verify and help debug.
In the report please include:

What platform you are running on (bare metal / GKE / OpenShift etc)
What k8s version you are running
What Tekton Pipelines version your are using
A short PipelineRun with embedded Pipeline spec that reproduces the problem for you

I have create a bug report issue, any question welcome to ask.
ref https://github.com/tektoncd/pipeline/issues/3678

@llhhbc can you create a bug report for this? I would like to see an example PipelineRun that reproduces the problem. I'm not able to reproduce the behaviour described here running a Pipeline with a failing Task but I might be missing something. A PipelineRun that reproduces the problem would make this much easier to verify and help debug.
In the report please include:

What platform you are running on (bare metal / GKE / OpenShift etc)
What k8s version you are running
What Tekton Pipelines version your are using
A short PipelineRun with embedded Pipeline spec that reproduces the problem for you

I have create a bug report issue, any question welcome to ask.
ref https://github.com/tektoncd/pipeline/issues/3678

Thanks for opening the issue @llhhbc!  As noted by @pritidesai in that issue you're running quite an old version of Pipelines (0.10) and you're using v1alpha1 objects. This issue is already caught in the latest version of Pipelines because we've added validation for it.
I'm going to close this PR because it looks like the best step forward is to upgrade the version you're using.  If we need to discuss further then let's continue in the issue you opened.

Thanks for opening the issue @llhhbc!  As noted by @pritidesai in that issue you're running quite an old version of Pipelines (0.10) and you're using v1alpha1 objects. This issue is already caught in the latest version of Pipelines because we've added validation for it.
I'm going to close this PR because it looks like the best step forward is to upgrade the version you're using.  If we need to discuss further then let's continue in the issue you opened.


Update Readme and switch to using latest Alpine

After a long time of searching through random articles, I realized that the ssh key I was using was encrypted.

Both fair points but I can't accept them in the current form.

Using latest is discouraged because it's not future proof. Today latest means one release, tomorrow it starts to mean another release and everything may suddenly break. Always use properly tagged releases in Dockerfiles.

Nice catch about encrypted keys but I don't think we really need instructions on creating a new key...Isn't that a very well known knowledge? And even if so; it's better to explain how to decrypt the existing key (openssl rsa -in enc.key -out dec.key) rather than create a new one.

These two are absolutely unrelated and should not really go in one commit.

If you don't have time to rework I'll merge this manually in a few days.

Sounds good. I made the edits.


odd_even by subhagata

thank you for reading my request! I am a 1st year student with no much idea about coding, I am here to experience and learn. i am trying my best to cope up.

@sumanmeher please review

Make a folder and put the code in it and push. It's written clearly in the readme. Follow the instructions carefully.

okk..I'm so sorry, I'll do it again
On Tue, Oct 11, 2022 at 5:31 PM Suman Meher @.***>
wrote:

Make a folder and put the code in it and push. It's written clearly in the
readme. Follow the instructions carefully.
—
Reply to this email directly, view it on GitHub
https://github.com/sumanmeher/Hacktoberfest-2022/pull/2#issuecomment-1274572556,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3HOM3LNVZIG5XMGQXSC4DTWCVJLLANCNFSM6AAAAAARBT3X3A
.
You are receiving this because you authored the thread.Message ID:
@.***>

I did it. @sumanmeher

Follow the instructions. You haven't written your name and username in your file. Read the readme carefully.

From next time onwards write your name and username.

thank you so muchh.. I surely will.
On Tue, Oct 11, 2022 at 10:14 PM Suman Meher @.***>
wrote:

From next time onwards write your name and username.
—
Reply to this email directly, view it on GitHub
https://github.com/sumanmeher/Hacktoberfest-2022/pull/2#issuecomment-1274984920,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3HOM3IUZIVGUTXVODUF4KTWCWKN7ANCNFSM6AAAAAARBT3X3A
.
You are receiving this because you authored the thread.Message ID:
@.***>


Question: aiohttp vs. gRPC API

Hello! I was curious if there was a reason gcsfs uses aiohttp with the JSON API to query GCS rather than using the Google Python client which calls the gRPC API. AFAIK the gRPC API is a lot more efficient.

I don't think grpc-async was a thing when this repo switched to async.
Honestly, I doubt for the size of the encoded messages, it makes any difference at all, and actually json is pretty well optimized for python (whereas protobufs are certainly not). Any bytes payload (i.e., file down/uploads) would be the same in either model.


First frame initialization issues about pose estimation

Hello Dr, I have questions about the position of your pose initialization, when I change the first frame of initialization prediction pose est_pose (0) to the given second frame gt pose, the reconstruction effect is very unsatisfactory, do you know what is the cause? Or does co-slam have to set the prediction est_pose (0) to the gt pose of the first frame to achieve pose estimation for subsequent frames?

Hi @Aurora-chevalier, this is because when you change the first frame pose, you need to have a corresponding scene bound that covers the entire scene. Co-SLAM does not require setting the first frame pose as the gt pose.

Thank you very much for your reply, do you have any suggestions for solving the minimum bound after changing the pose of the first frame? Or is there any way to fix this?

Hi @HengyiWang, thanks for your explanation.
I noticed that in the default code, the first_frame_mapping uses the gt pose. Will the results be worse if we do not use the gt pose, and use, say, randomly initialized pose values? I wonder if you have any investigations on this. Thanks!


Fix icons showing up for owners on team page

@keybase/react-hackers
The reason the folder and chat icons weren't showing up on a team page when you're the owner is that we had canManageChat hooked up to the leaveTeam capability, and sole owners can't leave a team.
After this PR, always show the folder icon, and show the chat icon if we're able to createChannel (which seems like the closest capability for managing channels).
The JIRA also asked for having the chat button switch from Manage Channels to Jump to Chat for the main channel (the small team channel, or the #general channel for a big team).  There's a ticket waiting on CORE for adding an entry to tell us whether a given team is big or small, so that change should be blocked on that ticket.  Filed DESKTOP-6129 to be done after CORE-7089 is unblocked.

@buoyad Thanks, good points!  I made the folder viewing conditional on !yourOperations.joinTeam, which is what we're using elsewhere in this component to discover whether you're on the team.
Leaving the Chat conditional on createChannel since it's still in Manage Channels mode, agree it should move over to be part of the same condition once the semantics are changed.

@cjb I don't see why this is blocked. You don't need to know if this is a small of big team to do this, you just need to switch to the #general channel. There is no difference between that channel in small and big teams other than where it shows up in the UI.


multiple collections per document

multiple collections can be assigned to a document by adding a comma-separated list of collections in metadata

This can already be achieved with an array. Also, code conflicts.


Compiling error : "source/psychlua/HScript.hx:317: characters 89-96 : Type not found : TeaCall"

Describe your problem here.

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No I haven't editted anything yet

open file source/psychlua/HScript.hx and replace all text "TeaCall" to "Tea", then I think you are good to go

I tried that but now instead of not being able to find type "TeaCall" it can't find type "Tea"

could be because SScript is not installed or right version, type "haxelib install SScript" in terminal and type "y" to update it

So the Teacall error is fixed but now I get this

did you install libraries through "setup/setup-windows.bat"?

Nope I have no idea what "setup/setup-windows.bat" is ._.'

open it, and it will install required library

how do I open it?

double click to open

Everything works now!!! :D
Thanks for all the help! :P

open file source/psychlua/HScript.hx and replace all text "TeaCall" to "Tea", then I think you are good to go

hi, I'm a begginer , can you tell me how do I open the "hx" file?

need text editor stuff like Visual Studio Code, but other thing will be much stuff
I recommended to watch tutorial like this:
https://github.com/ShadowMario/FNF-PsychEngine/blob/main/BUILDING.md

open file source/psychlua/HScript.hx and replace all text "TeaCall" to "Tea", then I think you are good to go

hi, I'm a begginer , can you tell me how do I open the "hx" file?

need text editor stuff like Visual Studio Code, but other thing will be much stuff I recommended to watch tutorial like this: https://github.com/ShadowMario/FNF-PsychEngine/blob/main/BUILDING.md

I followed de instructions but whem i put the "lime test windows" says that "lime" isnt a valid term
"lime : O termo 'lime' não é reconhecido como nome de cmdlet, função, arquivo de script ou programa operável. Verifique
a grafia do nome ou, se um caminho tiver sido incluído, veja se o caminho está correto e tente novamente.
No linha:1 caractere:1

lime test windows

  + CategoryInfo          : ObjectNotFound: (lime:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException"

  (you can translate to english if you want to see better whats it is)

did you setup folder directory haxelib setup <haxelib repository path, default (C:/haxelib)> ex:haxelib setup C:/haxelib and run setup-windows.bat ?

did you setup folder directory haxelib setup <haxelib repository path, default (C:/haxelib)> ex:haxelib setup C:/haxelib and run setup-windows.bat ?

I think so, later I will try again and show you what happend

did you setup folder directory haxelib setup <haxelib repository path, default (C:/haxelib)> ex:haxelib setup C:/haxelib and run setup-windows.bat ?

yes, still with the same error

double click to open

double click where?

source/psychlua/CallbackHandler.hx:55: characters 18-33 : Class<llua.Lua_helper> has no field sendErrorsToLua
export/release/windows/haxe/ApplicationMain.hx:153: characters 5-36 : ... Called from macro here
source/psychlua/CallbackHandler.hx:55: characters 41-46 : Class<llua.LuaL> has no field error
export/release/windows/haxe/ApplicationMain.hx:153: characters 5-36 : ... Called from macro here
source/psychlua/FunkinLua.hx:280: lines 280-283 : Int should be Bool
source/psychlua/FunkinLua.hx:280: lines 280-283 : ... For function argument 'f' what is this and how do i fix it?

I tried that but now instead of not being able to find type "TeaCall" it can't find type "Tea"

I got the same problem + this:
source/psychlua/HScript.hx:13: characters 8-11 : Type not found : Tea source/psychlua/HScript.hx:14: characters 23-30 : Type not found : SScript , I tried haxelib install SScript but it says that I already got it, I also tried uninstalling it and reinstalling it, but still I get the same error.
What do I do? :/

I need help please i have the same error

open file source/psychlua/HScript.hx and replace all text "TeaCall" to "Tea", then I think you are good to go

How do i do that

I tried that but now instead of not being able to find type "TeaCall" it can't find type "Tea"

Hey man, can you send me the Hscript.hx on discord? I tried to use the same fix but it didn't work for me

when i type in "lime test window" it says "type not found : TeaCall"

could be because SScript is not installed or right version, type "haxelib install SScript" in terminal and type "y" to update it also you can setup required library on setup/setup-windows.bat

i did but still the same error

when I try it returns
Warning: Ignoring unknown fps=""
source/psychlua/HScript.hx:317: characters 89-96 : Type not found : TeaCall
I have replaced all of the TeaCall's in Hscript already what do I do?

TeaCall problem solved, but I found a new problem

idk if this can be related but dose anyone know how to fix this?


Whenever gem 'failed to load command: rake'

looking for some help.
I am running a rails app (v3.2.5) with the whenever gem (v0.9.7) and rake (v11.2.2). I am also doing this in a docker container image ruby:2.3 (cron was installed and bundle install was ran)
Here is my schedule.rb
set :environment, ENV['RAILS_ENV']

every '*/2 9,10,11,12,13,14,15,16 * * 1-5' do
    rake "import_csv", output: {:error => 'log/import_csv_errors.log', :standard => 'log/import_csv.log'}'
end

note RAILS_ENV is set at container launch to development
Here is my cron job that is on the container after build (crontab -l):
# Begin Whenever generated tasks for: /usr/src/app/config/schedule.rb
*/2 9,10,11,12,13,14,15,16 * * 1-5 /bin/bash -l -c 'cd /usr/src/app && RAILS_ENV=development bundle exec rake import_csv --silent >> log/import_csv.log 2>> log/import_csv_errors.log'

# End Whenever generated tasks for: /usr/src/app/config/schedule.rb

When this cron job runs, the logs return:
import_csv_errors.log
Bundler::GemNotFound: Could not find rake-11.2.2 in any of the sources
  /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:95:in `block in materialize'
  /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:88:in `map!'
  /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:88:in `materialize'
  /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/definition.rb:140:in `specs'
  /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/definition.rb:185:in `specs_for'
  /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/definition.rb:174:in `requested_specs'
  /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/environment.rb:19:in `requested_specs'
  /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:14:in `setup'
  /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:95:in `setup'
  /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/setup.rb:19:in `<top (required)>'
  /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'

import_csv.log
bundler: failed to load command: rake (/usr/local/bin/rake)

Now here is the odd thing. If I copy the cron job command:
/bin/bash -l -c 'cd /usr/src/app && RAILS_ENV=development bundle exec rake import_csv --silent >> log/import_csv.log 2>> log/import_csv_errors.log'

and run this in the container, it works fine, but if the cron job runs it, I get thos errors in the logs!!! I am at a lost here...
I've tried adding
env :PATH, ENV['PATH']
env :GEM_PATH, '/usr/local/bundle'

to the top of schedule.rb and I tried doing
command 'cd /usr/src/app && RAILS_ENV=development bundle exec rake import_csv --silent >> log/import_csv.log 2>> log/import_csv_errors.log'

Instead of using rake in the task and I get the same errors..
Any help is appriciated

How did you install Ruby?

Ruby was installed with the image - Ruby 2.3 (Docker hub)

In case you need it:
Ruby
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
Rails
Rails 3.2.5
OS
Distributor ID:	Debian
Description:	Debian GNU/Linux 8.5 (jessie)
Release:	8.5
Codename:	jessie
Kernel
Linux 3.13.0-74-generic x86_64

+1 me too

I fix this bug, there are two reasons

docker ruby 2. 3 image reinstall bundler，see this issue
setting ENV.each { |k, v| env(k, v) } in your config/schedule.rb, see this blogs

I was also able to resolve by using a Ubuntu image instead. Here is partially my Dockerfile incase anyone wants to use my method:
FROM ubuntu:15.10
# Installs needed to run rails on ubuntu
RUN apt-get update && apt-get install -y apache2 curl git build-essential libmysqlclient-dev mysql-server-5.6 nodejs make
RUN apt-get update && apt-get install -y ruby-dev zlib1g-dev
RUN gem install rails --version 3.2.5 --no-ri --no-rdoc

@joe11051105
"- setting ENV.each { |k, v| env(k, v) } in your config/schedule.rb, see this blogs"
my savior

@joe11051105
I follow the blog and get the error
"-":36: bad minute
crontab: errors in crontab file, can't install
[fail] Couldn't write crontab; try running `whenever' with no options to ensure your schedule file is valid.

@mysterytree Might have been caused by using the 0/1 syntax, try using */1 instead.

@joe11051105
I follow the blog and get the error
"-":36: bad minute
crontab: errors in crontab file, can't install
[fail] Couldn't write crontab; try running `whenever' with no options to ensure your schedule file is valid.

use whenever with no option, check whether there is a multi-line config or env in output crontab file.

I know this is an old issue, but this fixed it for me, by adding this on top of my crontab file before calling items
GEM_HOME=/usr/local/bundle
RACK_ENV=production
BUNDLE_APP_CONFIG=/usr/local/bundle
BUNDLE_BIN=/usr/local/bundle/bin
RAILS_ENV=production
BUNDLE_PATH=/usr/local/bundle

@luis-allan
use whenever with no option, check whether there is a multi-line config or env in output crontab file.
This is my problem. I have an environment variable with multiple lines that is breaking whenever. I need this variable, so what are my options?

I fix this issue, there are two reasons

docker ruby 2. 3 image reinstall bundler，see this issue
setting ENV.each { |k, v| env(k, v) } in your config/schedule.rb, see this blogs

This solved a hard issue for me. I would definitely include this in the main page for the docs.


[TEVA-4468] Add bullet point toggle button to new fields

Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-4468
Changes in this PR:

Added toggle bullet points button for safeguarding_information and further_details
Made some changes to editor_component to allow for custom styling of labels
Added validations for safeguarding_information and further_details so that they're not valid if only bullet points are submitted

Hey @robyoung91
Looks good on the form page

This needs to be sorted on the review/show answers page though

It also appears to be displaying in a different font on the listing itself compared to the other sections


core: upgrade to Jetty 11.0.8

What this PR changes/adds
Upgrade to jetty 11.0.8
Why it does that
Jetty 11.0.8 includes couple of CVE and several bug fixes.
Issue
This closes #896

@jbonofre can you sign the CLA?

Hey @jimmarino. Actually I already signed CLA/ECA while ago, just updated it this morning. Let me double check and trigger a new check CI to verify it's OK now. Thanks !

OK, almost there. Can you please add an entry in the Milestone 3 section of the changelog?

OK, almost there. Can you please add an entry in the Milestone 3 section of the changelog?

@jimmarino sure, let me do that. Thanks !

And also, I gonna check about ECA/ICLA again.

Hi @jbonofre ,
is there any update on this PR? How can we move forward?

Hey. Sorry for the delay. I will rebase and update the PR. My CLA should be sorted out now. I will rework on it today/tomorrow. I also have other changes in progress (for new PRs).

Hey. Sorry for the delay. I will rebase and update the PR. My CLA should be sorted out now. I will rework on it today/tomorrow. I also have other changes in progress (for new PRs).

Rebased.
I'm checking with my ECA is not linked here.

OK, I think I got it: my commit email address is not the same as in my ECA. Trying to rebase/squash with the correct email address.

ECA OK now :)

@bscholtes1A @jimmarino can you guys take a look on this one ? Now all is OK, I will move forward with other PRs.

The dependency analysis looked to have failed due to Java heap space (it works on my machine).

@bscholtes1A thanks ! I'm moving on other PRs and issues.


Logo/Mascot idea :)

Hello, I am the founder and editor of the newsletter FullStack Bulletin. I am current editing the next issue (coming out on Monday 27th) and I will be featuring this project there (great project BTW!)
As I was working on generating a cover picture with the issue, I came up with this illustration (through Microsoft Designer).

It looks pretty cool to me, so I just wanted to say, if you like it, feel free to use for this project as a logo/mascot!
Have a great one 👋🏽

Hey @lmammino , thank you so much, I love it, this is so cool! I will definitely add it! Is there an option to change the orange color to something blue (#58C4DC) in order to make it fit even better with React branding?


"There are no stores hydrated..." error

Hello,
Currently, I'm working with this setup (simplified for readability):
react_on_rails 11.1.4
Layout Controller (index method)
redux_store('appStore', props: { foo: 'bar' })
Layout
<%= redux_store_hydration_data %> (before close of body tag)
View
<%= react_component('FooBar') %>
JavaScript
ReactOnRails.registerStore({ appStore });
If I inspect the source, the data and the component appear to be present; however, the component itself isn't rendering due to these fatal errors:
Uncaught Error: There are no stores hydrated and you are requesting the store managerStore...
Uncaught Error: Could not find store registered with name 'managerStore'. Registered store names include...
So far as I can tell, the setup is inline with what's been outlined in the documentation so I'm wondering if this is a bug of some sort.

ReactOnRails.registerStore({ appStore });

Note: appStore.
ERROR
Uncaught Error: There are no stores hydrated and you are requesting the store managerStore

Note: managerStore.

Correct line:
ReactOnRails.registerStore({ managerStore });

Ah, I forgot to edit the error messages to match the naming in my examples. In reality, they do match and the error is still present. I suppose I’ll just have to keep debugging. Thanks for your attention regardless.

You need the register call to run when the bundle loads. Put in some console logs before you call register. However, depending on your app, you may not want to be using the separate redux store.
ReactOnRails.registerStore({ managerStore });


PERF: Fix #6923 - Implement DbContext pooling for high scale scenarios.

Initial impl. of context pooling.

@ajcvickers @AndriySvyryd

Clean up transaction state? Reset command timeout?

@ajcvickers Thanks, was sure I had missed stuff. With transactions, is it just clearing IRelationalConnection.CurrentTransaction?

Not sure about the transactions. @AndriySvyryd would know.

Calling IRelationalConnection.Dispose should be enough to reset the transaction state

I think IDbContextPoolable should provide a way to subscribe to the resetting, so non-core services are able to participate

@AndriySvyryd It would be great to see an example of where this is needed to understand what the solution might look like.

@anpete The IRelationalConnection above for instance.

@AndriySvyryd Great! Will take a look. BTW, it looks like it is safe to call RelationalConnection.Dispose but then keep using it?! Is this by design?

@anpete I believe it's because there was no real downside to this approach and it was less code

@AndriySvyryd Added provider services reset in latest commit.

:shipit: contingent on @ajcvickers signoff

I'm still not happy with the use of scoped services like this. Feels like pit of failure to me since you have to understand the scoped-per-request-but-not-really semantics. If @divega is fine with it, then he's the boss. To me it feels like there are better architectural options.

I would prefer to sort out @ajcvickers' concerns in person. I would also like to see if we can use ActivatorUtilities.CreateFactory() to avoid reflection/expression compilation overhead each time we create a new instance.

@ajcvickers Out of curiosity:  Can you share some benchmarks about this improvement?

@ajcvickers @AndriySvyryd @divega Added a commit which I think addresses the decisions from today. Let me know if I missed something.


[DOC]: Build failed inside Docker container following README

How would you describe the priority of this documentation request
Low (would be nice)
Please provide a link or source to the relevant docs
https://github.com/nv-morpheus/MRC/blob/branch-24.03/README.md
Describe the problems in the documentation
The Morpheus USER was unable to create the build directory following the instruction about building the repo inside Docker container in README.
(Optional) Propose a correction
No response
Code of Conduct

[X] I agree to follow MRC's Code of Conduct
[X] I have searched the open documentation issues and have found no duplicates for this bug report

Hi @yuchenz427!
Thanks for submitting this issue - our team has been notified and we'll get back to you as soon as we can!
In the meantime, feel free to add any relevant information to this issue.


Incorrect GitHub links in Cargo.toml and README

Cargo.toml has
repository = "https://github.com/substrait/substrait-rs"
homepage = "https://github.com/substrait/substrait-rs"

This should be
repository = "https://github.com/substrait-io/substrait-rs"
homepage = "https://github.com/substrait-io/substrait-rs"

The README also has incorrect link

This was fixed in https://github.com/substrait-io/substrait-rs/pull/4


Many display problems with Select2 4.0.1

Hello,
Since version 4.0.1 (no problem with version 4.0.1-rc1), even the simplest examples are not displayed correctly on all browsers (latest Chrome / Firefox / Safari at least): the dropdown is not displayed under the selector.
Here is an example: https://jsfiddle.net/michaelperrin/zxu8pxn3/1/ (clicking on the selector shows the dropdown, but it is displayed too much on the left).

This appears to be a bug when there is a margin set on the body and the position is static.
So this is definitely related to https://github.com/select2/select2/commit/c9216b4b966653dd63a67e815b47899ef5325298, because it only affects statically positioned elements.

I had a possibly similar issue in which the dropdown portion appeared slightly lower and to the right of where it should have been. Do you think this is related? If so, what additional information, if any, would be helpful?
For the time being I just papered it over by tweaking the positioning in my custom CSS overrides, but obviously I'd prefer a better solution.

For anyone running into this issue, it would be useful to have the output for the following two statements (executed in your browser console, F12 usually):
document.body.style.position

and
$(document.body).offset()

On the documentation website, I get the following output

Which explains why the dropdown is lining up fine there.

I misremembered -- it's slightly above and left of where it should be. Anyway, Here's the console output from those commands:
> document.body.style.position
< ""
> $(document.body).offset()
< Object { top=8,  left=8}

I'm getting the same issue. Here's the output:
> document.body.style.position
  ""
> $(document.body).offset()
  Object {top: 20, left: 20}

Same here...
> document.body.style.position
< ""
> $(document.body).offset()
< Object {top: 65, left: 0}

And yes, it's positioned 65px too high, "left" position is correct.

Same problem:
$(document.body).offset()
Object {top: 54, left: 0}

For me, 4.0.1 opens the dropdown and immediately closes it whenever I click on the select. Reverting to 4.0.0 fixes the problem.

For me, 4.0.1 opens the dropdown and immediately closes it whenever I click on the select. Reverting to 4.0.0 fixes the problem.

This is probably a separate, unrelated issue. If you can create a jsbin/jsfiddle that reproduces the issue and a new ticket describing the issue, we can handle the bug.

It seems like the same issue. Also seems to be caused by CSS problems. Here's a fiddle: https://jsfiddle.net/hacf7fdy/

It's the same issue. Had the same thing here and it's caused by having one of the list items at the location of the mouse as soon as the drop down opens and when you "mouseup" select2 thinks the item has been selected and closes.

It seems like the same issue.

Ah, you're right. I forgot how we handle events in the dropdown.
The dropdown is getting placed beneath the mouse, and the mouseup event is being fired on it so it is closing.

Same here - noticed this because of an item being selected when the dropdown opens, as other people seem to have found.
> document.body.style.position
< ""
> $(document.body).offset()
< Object {top: 64, left: 0}

Same here. Dropdown is appearing too high.
document.body.style.position
""
$(document.body).offset()
Object { top: 10, left: 0 }

same issue appear with fixed header template

Note that this issue should be fixed with the latest master if you manually recompile the assets. It will be included in the upcoming 4.0.2-rc.1 release.


Surveys codes

There is a comprehensive list of survey codes with description here
https://icesit.sharepoint.com/sites/DCTeam/Shared Documents/Forms/AllItems.aspx?FolderCTID=0x0120006D5FF1C28157A04AA26465202873524C&viewid=d9a26d0c-1f7b-4a66-81a1-4729632b9d82&id=%2Fsites%2FDCTeam%2FShared Documents%2FGeneral%2FICES SurveyCodes docs
Only the green ones are in RECO (not visible).
Could we send out to Ruth to review it and import all the list to RECO, hoping that some codes will be edited in the future

See issue #37

Asked an update to Ruth, she will consult with Lotte whether this task can be closed and whenever new codes are needed those will be new issues. Answer by next week's RMG

@cekv  can you give a resume of the meeting with Lotte?

@odontaster Basically, I will present Lotte with the surveys that have not been checked and those where the more crucial information is missing and she will then get the assessment people to look through the surveys relevant for their stock to retrieve this. We will use the community to get information on the un-resorted codes.


[WIP] Breaking change example

Breaking change example
Internal preview page
//cc @PriyaPurkayastha

This was a PR for demo purposes only; closing.


Add translations for 4.18 release

/cherry-pick release-4.18

/cherry-pick release-4.18-compatibility


Test failure  TestAccLibvirtVolume_RepeatedName

Following test is failing
=== RUN TestAccLibvirtVolume_RepeatedName
--- FAIL: TestAccLibvirtVolume_RepeatedName (5.13s)
testing.go:696: Error destroying resource! WARNING: Dangling resources
may exist. The full state and error is shown below.

    Error: errors during apply: Can't retrieve volume /tmp/terraform-provider-libvirt-pool-ftntkyxpda/xwaydvqooo: virError(Code=50, Domain=18, Message='Storage volume not found: no storage vol with matching key /tmp/terraform-provider-libvirt-pool-ftntkyxpda/xwaydvqooo')

    State: libvirt_pool.ftntkyxpda:
      ID = 94e45a64-a02c-47a4-9f61-1a8ced8036ed
      provider = provider.libvirt
      allocation =<PHONE_NUMBER>8
      capacity =<PHONE_NUMBER>2
      name = ftntkyxpda
      path = /tmp/terraform-provider-libvirt-pool-ftntkyxpda
      type = dir
      xml.# = 0
    libvirt_volume.kuumqaqcpc:
      ID = /tmp/terraform-provider-libvirt-pool-ftntkyxpda/xwaydvqooo
      provider = provider.libvirt
      format = qcow2
      name = xwaydvqooo
      pool = ftntkyxpda
      size =<PHONE_NUMBER>
      xml.# = 0

@dancysoft

so you can run your test locally using this doc here: https://github.com/dmacvicar/terraform-provider-libvirt/blob/master/CONTRIBUTING.md#running-the-tests-testacc

for any question feel free to ping here :+1:

@dancysoft I have also a newer version of libvirt like 5 or 4.
Perhaps we can update travis images somehow, that could be also a good thing


docs(protocol): update mainnet deployment

@Brechtpd @adaki2004 please review this PR again. Guardian provers are not configured yet, but we'll do it later in another PR once all guardian addresses are collected..


Adding a "fav", "star" or "like" button would be great.

Retwist is a great feature but, if community keep on growing, every retwists will cause huge stream and it would become painful to re-read several times the same twist.
A fav/star/like (call it as you want) would be great to award value to a twist without annoying everybody. Each twist would have a small counter to see how many times it has been fav'd/stared/liked.
Would it be difficult to add a new kind of message to store this new feature ?

see https://github.com/miguelfreitas/twister-core/pull/333 twister-html currently does not support it though (i think)
Also, if the client is showing you the same retwist too many times its a problem of the client, it should have a option to limit the number of occurences of a retwist.
In general i think we should be very carefull with adding features in general. New clients such as https://github.com/ArcoMul/Twisting and https://github.com/tschaul/twister-react (mine) allready have problems to keep up. I think we should rather focus on making it easier to setup twister and use the existing features.

it's shame that I didn't add it to twister-html yet (I'll do it in a while). although, speaking about retwists, there is an option in twister-html to show retwists only if the original is older than some time.


Adds a script that can sell the remaining coins (added logging to trades.txt file)

Improvement from the pull request that I uploaded yesterday. This code now also logs the sell orders into the trades.txt file.

Does this sell all coins once you stop the script?

Does this sell all coins once you stop the script?

No you got to run it separately after you stop the bot

Please place this in a subfolder called utilities. Ensure pathing works and re-push.


ganttproject-bin: 2.8.10 -> 3.1.31

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

https://www.ganttproject.biz/download/gp30#zip :

GanttProject requires Java Runtime version 11+ with JavaFX modules.
I couldn't find a jre11 so I used openjdk11 as dependency.

It seems as if depending on jre is still fine since jre is pointing to openjdk17.

But it needs jre11 not jre17

Hmmm... I'm not sure now. I need to contact upstream what 'Java Runtime version 11+'  meant.
I interpret it as JRE 11 or any major version later. so jre17 would be sufficient.

Okay,
Quote from Release page on github

GanttProject requires Java Runtime version 11+ with JavaFX modules. It has been developed and tested with BellSoft Liberica Java 11 which is the recommended Java Runtime. However, it appears to run fine with Java 17 as well, and most likely will run with any other version of Java Runtime which is greater than 11 and includes JavaFX modules.

Which means it will probably work on jre17, however it could also mean that any other version than 11 is tested. So use jre11 is kind required otherwise it may introduce unstability.

v3.3.3300 has been released (https://github.com/bardsoftware/ganttproject/releases/tag/ganttproject-3.3.3300)

Recommended Java Runtime

GanttProject requires Java Runtime version 17+ with JavaFX modules. It has been developed and tested with BellSoft Liberica Java 17 which is the recommended Java Runtime.

We recommend using BellSoft Liberica Java Runtime. Choose Full JRE option for your platform on their download page.

Azul Zulu is another Java Runtime that includes JavaFX. There is also a very convenient tool called SDKMAN! for downloading and managing Java runtimes. It is Linux-native, but it also works fine on macOS and Windows with GitHub Shell.
Compatibility

GanttProject 3.3 is compatible with the files produced by the previous versions of GanttProject 3+. Previous versions can read files produced by GanttProject 3.3, except that the calculated columns will be treated as regular ones.

Superseded by #282989.


Has this been broken since Dec 4, 2023?

Is it useful to have this? We had talked about needing it, off and on, for over a year.
scikit-hep/awkward#1702 is the first issue about it (generally speaking).

I would like to have this and I'll get it running in the next week or so now that the beginning-of-year churn is quieting down.


Detection of circular references in file includes with relative paths

[ ] Need to write about his in readme


Update knative.dev/eventing

Proposed Changes

Update knative.dev/eventing.
Update the tests to match the breaking change from knative/eventing#2176.

Release Note

NONE

/approve
/lgtm

/lgtm


Normalize path values in configuration data within context of job workers

Some configuration data applicable to various DMOD jobs involves paths.  Examples include paths to other configuration files, BMI module shared libraries, data files/directories, etc.
Paths in configuration data need to be valid within the context of the job worker's file system.  Because users are generally not expected to be aware of this file system structure, functionality must be added to DMOD so that it can normalize these path values.
The normalization must be done at some point between receiving the data from the user (via form, direct file upload, etc.), but the best place for this still needs to be determined.  Two initial possibilities are:

within the InitialDataAdder class (or subclasses) and executed within the data service
within the worker (potentially just within one if a job has many) at the beginning of its execution

There are also implications to consider from the ngen-config dependency, in how it validates paths (in particular when applicable types are used within the data service, which won't always have the backing config data loaded).

This is blocked until the following are merged:

https://github.com/NOAA-OWP/ngen-cal/pull/95
https://github.com/NOAA-OWP/ngen-cal/pull/96

This is also now blocking this work:

https://github.com/NOAA-OWP/ngen-cal/issues/119

@aaraney, can you clarify the blocking relationship with https://github.com/NOAA-OWP/ngen-cal/issues/119; i.e.:

this issue strictly cannot be completed without ngen-cal-119
this issue is best addressed in a way that depends on the changes in ngen-cal-119, assuming ngen-cal-119 is in progress
something else

This issue can be completed without https://github.com/NOAA-OWP/ngen-cal/issues/119. However, if https://github.com/NOAA-OWP/ngen-cal/issues/119 is introduced, changes will be required to DMOD source inclusive of the feature discussed in this issue.

@aaraney, in thinking about #637, #654, #593, and similar issues, I'm considering whether we need to adapt/extend dataset formats and data orchestration behavior in certain ways that will be significant to this issue.  We might need to discuss some of this further.
For one, we may need to store certain data that comes in the form of a large number of individual files as archives for performance reasons.  Also, we may need to have a way to truly download data locally on disk (i.e., of the actual host node) for containerized workers, perhaps to a simple Docker volume or something.  These likely both have implications on how we set up paths in configs to find the data within the workers.
Archiving files before uploading to an object store (e.g., generated BMI init configs) is orders of magnitude faster, but means workers would need to extract things.  Retrieving all data files all at once - even without archiving - also appears to be orders of magnitude faster, at least for forcings CSV, than retrieving files one at a time.


Add ability to estimate cloud carbon foot print of (AWS/Azure/Gcloud) resources found in terraform files.

Feature Suggestion
Is your feature request related to a problem? Please describe.
At my current job we'd like to estimate the carbon footprint of changes we will make to our infrastructure that's managed via gitops and infrastructure as code.
Describe the solution you'd like
It would be great if there was a way of processing cloud (AWS/Azure/Gcloud) related resources from terraform files via a CLI command and report out the estimated carbon footprint by resource.
It would also be great if you could a threshold where if it exceeds a provided amount will return a 1 to fail a pipeline, otherwise it returns a 0 to allow the pipeline to succeed.
Finally, it would also be helpful to specify which files or directories (multiple) should be scanned.
Describe alternatives you've considered
Really, there's nothing we've found out there that can estimate carbon footprint from infrastructure as code.
Additional context
While there's quite a few infrastructure as code systems; terraform being the most popular would probably be the most popular. The use case would be primarily around CI/CD systems so examples of implementations in Github or Gitlab would be great as well.
Possible Implementation

Hi @trevorlinton! Thanks for the suggestion!! We will add to the backlog and do encourage anyone who is interested to try their hand at writing a PR. We will also discuss some possible approaches ourselves and comment back if we learn anything.


Leaver UI updates

https://uktrade.atlassian.net/browse/JMLL-1101
https://uktrade.atlassian.net/browse/JMLL-1102
https://uktrade.atlassian.net/browse/JMLL-1103
https://uktrade.atlassian.net/browse/JMLL-1104
https://uktrade.atlassian.net/browse/JMLL-1107
https://uktrade.atlassian.net/browse/JMLL-1108
https://uktrade.atlassian.net/browse/JMLL-1110
https://uktrade.atlassian.net/browse/JMLL-1123

Note: this PR also includes quite a lot of reformatting of html templates that are unrelated (in hindsight I should have done that in a separate PR)


Provide a way to programmatically update dependency version constraints in the Gemfile

I see people torn between pessimistic and optimistic declaration of dependencies with semantic versioned gems (i.e. ~> 1.1 vs >= 1.1) because the former does not allow tools to automatically update dependencies to their newest versions (e.g. a tool that uses bundler to automatically open PRs with dependency updates).
It would be great to have a feature that can update dependency version constraints in the Gemfile so people can take advantage of both being able to programatically update dependencies and pessimistic version constraints.

cc @agrim123

We need to add a few flags to the bundle install command, I suppose? So that users have flexibility over version of gems that can affect their code.
Can we also add these flags to bundle add maybe? Currently, we are using the pessimistic way when adding gems.
Should we also look to implement something to update the declaration? say from optimistic to pessimistic?

Basic specs can be
context "version specifications" do
  it "adds optimistic version" do
    bundle! "add 'foo' --optimistic"
    expect(bundled_app("Gemfile").read).to include %(gem "foo", ">= 2.0")
  end

  it "adds strict version" do
    bundle! "add 'foo' --strict"
    expect(bundled_app("Gemfile").read).to include %(gem "foo", "= 2.0")
  end

  it "adds pessimistic version" do
    bundle! "add 'foo'"
    expect(bundled_app("Gemfile").read).to include %(gem "foo", "~> 2.0")
  end
end

In my mind, it makes more sense to make another command, something like bundle edit-gemfile, but I’m not sure

Do you mean a command that would update gems version inidividually?

I am adding these two options to bundle add for now. Will open a PR regarding this by today evening. Then we can discuss more.

I did some experimenting here

@agrim123 @segiddins Thanks for picking this up so quickly.
Would clarify my use case with an example.
$ cat Gemfile | grep rails
=> gem "rails", "~> 5.1.4"

$ bundle new-feature-update-constraints

$ cat Gemfile | grep rails
=> gem "rails", "~> 5.2"

Having additional options on bundler add is nice and thanks for that but I think my use case is somewhat different. This is what happens with bundle add right now:
$ cat Gemfile | grep rails
=> gem "rails", "~> 5.1.4"

$ bundle add rails
=> [!] There was an error parsing `injected gems`: You cannot specify the same gem twice with different version requirements.

It could also work though if bundle add got a force flag allowing to overwrite existing dependencies therefore updating the constraints in the specified way:
$ cat Gemfile | grep rails
=> gem "rails", "~> 5.1.4"

$ bundle add -f rails

$ cat Gemfile | grep rails
=> gem "rails", "~> 5.2"

$ bundle add -f --strict rails

$ cat Gemfile | grep rails
=> gem "rails", "= 5.2.0"

On top of all it would great to have a command similar to bundle update that does this for all dependencies.

I am not sure if adding a -f option to bundle add would be good 🤔.
Though, we can surely make a different command for this. Need to think on that. @segiddins

@segiddins Are we implementing a new command, we would need to rewrite the gemfile (maybe a simple gsub can do 🤔).  Should we start working on it? suggestion for command name?

@amatsuda and @segiddins I would also love to see this see the light of day. I'm doing a rails version upgrade now, and it would really help to lock all the versions automatically. I.e. a way to re-write the gem file with pessimistic permissions to make upgrade easier.

There are a few merged PRs here, was this feature implemented?


headphone/earbud Audio delay issue

Describe your problem here.
title is self explanatory but i updated to the 1.0 build and now when i use headphones or earbuds the audio is delayed to almost a full second.
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

try unplugging and replugging in your headphones, it might be your headphone problem

try unplugging and replugging in your headphones, it might be your headphone problem

already did that along with a bunch of others stuff, its only in psych engine

You might wanna check your offset, in the code as well, something might be messed up with how the engine handles offset


issues in 2hop/3hop QA

I've trained a 200-dim ComplEx embedding for the knowledge graph of MetaQA.
As the best hyperparameters are not given, I directly use the default parameters.
The EmbedKGQA model works well in 1hop QA and gets 0.957 accuracy which is not too far from the value 0.975 given in the paper.
However when I tried 2hop and 3hop QA, I got 0.09 and 0.326 respectively. It seems to be more than just a issue of hyperparameters.
I find that in the test set of 2hop and 3hop MetaQA, most triples (topic entity, some relation, answer entity) don't appear in the knowledge graph kb.txt ( 4.97MB ), especially 2hop dataset ( 14872 QAs' in test set ). In 2hop set there are only 8 questions which have link between topic entity and answer entity in kb.txt. Also, the overlap (topic entity, some question, answer entity) between test and train set is only a small fraction of test set (less than a half).
Am I using the wrong dataset? Did I miss some important details?
This situation is similar with that described in Section 5.4: there is no link between head entity and answer entity. I dont understand how it could be possible that got 0.299 accuracy in 1hop( Table 4 in your paper) but 0.988 in 2hop( Table 2 in your paper).

Hi
As you have pointed out, in 2-hop test set there are only 8 questions which have link between topic entity and answer entity in kb.txt. However all have a 2-length path - this means that (topic entity, some relation, x) and (x, some other relation, answer entity) triples are present in kb. Direct link need not be present to answer question.
I am not sure about why you are getting bad results for 2 and 3 hop. Perhaps you could share with me the exact code you are running, and I can debug?
Also in section 5.4 we are doing an ablation study by knowingly dropping certain links, and the results can't be compared with full kb 2-hop.

Also if you are looking for cleaned up code (rather than the outline we have right now), I would request you to wait till Aug 5 since I have some commitments till then. I will be fully available after that.

Hi Apoorv,
I'm glad to know that you'll upload cleaned up code after Aug 5, hope to see that soon.
I am confused that after dropping links in section 5.4, 1-hop QA becomes multi-hop QA, the model get 0.299 accuracy while 2-hop and 3-hop QA are originally multi-hop QA but get a high accuracy.
For 2-hop QA, more than a half of questions in test set have following properties:
1)multi-hop
2)have no direct link in KB
3)have no paraphrases of the same question in train set.
I think they are the same settings as the ablation study in section 5.4, the model should not be able to solve it properly, But 0.988 accuracy induces that the model can answer almost all those questions. I wonder what's wrong with my view.
Also I'd like to make sure if you use RelScore or not in MetaQA. And did you use inverse relations in training KG embeddings?
Thanks a lot

Hi. @Wangyinquan
I am training meta qa 1-hop data. But, Accuracy is very low.
Can you sharing 1-hop model or training parameter?

Hi, @Hy-Choi
To train the QA model, you should get a KG embedding for kb.txt of MetaQA before that and use the same model (ComplEx) as in EmbedKGQA. In my experience, HIT@1 gets almost 1 since KGE overfits on kb.txt. Then I train EmbedKGEQ with default parameters.

It seems that you've tried many different combinations of modules during the experiment. Can you make public the results of different combinations?

Hi, @zmLeung
I just tried with default hyperparameters and found this issue. Maybe I did something wrong. Hope @apoorvumang will upload cleaned up code tomorrow.

Please check out the updated code @Wangyinquan @zmLeung @Hy-Choi

Closing this for now, I'm hoping the updated code will fix the problem. If not, please reopen this issue.


CFP: Support for more HTTP filters in Gateway API

Cilium Feature Proposal
The first cut for Gateway API was done in https://github.com/cilium/cilium/pull/21749, however, we have a couple of follow-up tasks to support more features from Gateway API upstream.
This issue is to track the work of implementing different HTTP Filters such as RequestRedirect, URLRewrite, RequestMirror, etc.
Propose Solutions
Goals
Users can fully use all the HTTP filters in Gateway API spec with Cilium.
Tasks

[x] Filters (only RequestHeaderModifier is implemented currently)

[x] RequestRedirect done in https://github.com/cilium/cilium/pull/22680
[x] ResponseHeaderFilter done in https://github.com/cilium/cilium/pull/22680
[x] URLRewrite
[x] RequestMirror
[ ] ~ExtensionRef~

[x] Make sure we have enough coverage for these filters. In addition to unit tests, we might need to add our own e2e tests as the current upstream Conformance test didn't have any. The best is to contribute back upstream.
[ ] Update Getting Started Guide documentation

@sayboras - can we now tick URLRewrite & RequestMirror?

Thanks for the ping 👍

Right now, we don't have any plan to add ExtensionRef, so the only item pending for this issue is to add related docs for new filters.

Closing this as all items are done.


Feature/svg

Codecov Report

Merging #48 into master will increase coverage by 0.15%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
+ Coverage   26.93%   27.09%   +0.15%
==========================================
  Files          32       32
  Lines         464      465       +1
  Branches       62       62
==========================================
+ Hits          125      126       +1
  Misses        315      315
  Partials       24       24

Impacted Files
Coverage Δ

src/components/Header.js
91.66% <100.00%> (+0.36%)
:arrow_up:

Continue to review full report at Codecov.

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


Removed Einar from flake texture.

Removed Einar. Should we have more textures for the flakes? Or maybe that's something we can do for a later release. Fixes #19

Is it only me, or is there still a circle-shaped shadow around the center of the snowflake?

Yes, I see the circle as well.
Regarding the multiple snow flakes: would be nice  to have different but I'd say it isn't necessary now. But when we do, we need to have all flakes on one and the same texture due to the instancing. But we can just fix the particles to use different texture in the shader

My bad. How about now?

Looks great! However, we do not want this to master, do we? Ready for merge!


Build error

=> ERROR [stage-1 3/5] COPY --from=builder --chown=node:node /app/build ./build

May I know which Docker version are you using?

It's because I didn't set the adapter as node.
Here is the proper setup, note import adapter from '@sveltejs/adapter-node';
import adapter from '@sveltejs/adapter-node';
import preprocess from 'svelte-preprocess';

/** @type {import('@sveltejs/kit').Config} */
const config = {
	// Consult https://github.com/sveltejs/svelte-preprocess
	// for more information about preprocessors
	preprocess: [
		preprocess({
			postcss: true
		})
	],

	kit: {
		adapter: adapter({ out: './build' }),

		// Override http methods in the Todo forms
		methodOverride: {
			allowed: ['PATCH', 'DELETE']
		}
	}
};

export default config;

And with this setup
# First stage to build and copy all files.
FROM node:16.15.1-alpine3.14 AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build && npm prune --production

# Second stage removes src files and reduces the size.
FROM node:16.15.1-alpine3.14
USER node:node
WORKDIR /app
COPY --from=builder --chown=node:node /app/build ./build
COPY --from=builder --chown=node:node /app/node_modules ./node_modules
COPY --chown=node:node package.json .
ENV PORT 3000
EXPOSE 3000
CMD ["node","build"]

@aprakasa they also changed the build directory. So you have to manually set it.


Fix propose-downstream in CentOS SIGs (for packit CLI)

This is a follow-up of packit/packit-service#2578.
Now we can build specfile in CBS Koji see details here.
However we can not yet propose-downstream a new specfile relese in SIG dist-git (as described in the above linked documentation).
We need to fix at least a couple of things:

[ ] make the DEFAULT_PARENT_NAMESPACE in centpkg-sig customizable (we should customize it using options we already have in the configuration files: dist_git_base_url, dist_git_namespace, sig)
[ ] the uploading in lookaside cache using centpkg-sig is not working; we should fix it in centpkg-sig (if possible) otherwise use the lookaside_upload_sig tool (as described in the CentOS SIG guidelines)

Try contributing this if possible but do it on Packit side if needed.


Make sure compiler-bridge is compiled

Shaving a couple of seconds from each build by making sure the compiler-bridge is already compiled. 😄

Nice!

Thanks. Will be released with the next Java/Scala/sbt version bump.


ZapfDingbats icons not rendered on Debian Linux 9 (squeeze) - probably extraneous issue

The flower icon in the hello.pdf file is not rendered on Debian while using the default PDF viewer. But ZapfDingbats is a standard PDF font. Probably, this may be a Debian issue,  but I would appreciate any info if you experienced something similar on your OS, or PDF reader app. #

MacOS Preview doesn't render , either.

Thanks for that info.


User unable to create login credentials for party

Current behavior

Linked jam:
https://jam.dev/c/27ff44f2-25ab-48dd-82aa-d7dc3443033f
Linked ClickUp task:
https://app.clickup.com/t/86cukw0kd

VERIFIED AND WORKING FINE IN V1.4.0.


Fix travis build error

currently errors
https://github.com/guilgautier/DPPy/runs/4382763009
previously passes
https://app.travis-ci.com/github/guilgautier/DPPy/builds/204122410
use github workflow/action instead!

CI action with poetry passes https://github.com/guilgautier/DPPy/actions/runs/1526387603 on v1-dev branch https://github.com/guilgautier/DPPy/tree/v1-dev


[Bug]: Outdate guidance codes

Bug Description
When trying the GuidanceQuestionGenerator with GuidanceOpenAI I see it cannot run with the guidance==0.1.10 package. Looking at their repository it seems they have huge changes from version 0.0.64.
Downgrading the package to guidance==0.0.64, when trying the example in the documentation (with some other data I own) https://docs.llamaindex.ai/en/stable/examples/output_parsing/guidance_sub_question.html#construct-sub-question-query-engine-and-run-some-queries
When trying to query the engine
I'm getting the error below
File "/Users/myuser/projects/sample-proj/sample-proj-env/lib/python3.11/site-packages/guidance/llms/_openai.py", line 348, in _library_call
    prev_base = openai.api_base
                ^^^^^^^^^^^^^^^
AttributeError: module 'openai' has no attribute 'api_base'

Version
0.9.24
Steps to Reproduce

Prepare a query_engine using the data I have
prepare the ToolMetadata (a list)
prepare the QueryEngineTool (a list)
Initialize the GuidanceQuestionGenerator using GuidanceOpenAI as guidance_llm
Initilize the SubQuestionQueryEngine from the query engine tool made in step 3 and question generator made in step 4
Create the QueryBundle using the embedding model I have
Pass the user query and the embedding within the subquery engine (Error raised here)

some pseudo-codes
    query_engine_tools: list[QueryEngineTool] = []
    tools: list[ToolMetadata] = []

    # in my initial code I have one query engine
    my_query_engine = # prepare query engine function
    tool_metadata = # prepare the tool metadata of the query engine

    # appending the tools I have
    tools.append(tool_metadata)
    query_engine_tools.append(
            QueryEngineTool(
                query_engine=my_query_engine,
                metadata=tool_metadata,
            )
    )
    question_gen = GuidanceQuestionGenerator.from_defaults(
        guidance_llm=GuidanceOpenAI("text-davinci-003"), verbose=False
    )
    s_engine = SubQuestionQueryEngine.from_defaults(
        question_gen=question_gen,
        query_engine_tools=query_engine_tools,
    )
    query_bundle = QueryBundle(
        query_str=query, embedding=CohereEmbedding().get_text_embedding(text=query)
    )

    # error was raised here
    reponse = s_engine.query(query_bundle)

Relevant Logs/Tracbacks
Traceback (most recent call last):
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/llms/_openai.py", line 665, in __call__
    out = await self.llm.caller(**call_args)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/llms/_openai.py", line 348, in _library_call
    prev_base = openai.api_base
                ^^^^^^^^^^^^^^^
AttributeError: module 'openai' has no attribute 'api_base'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/_program_executor.py", line 109, in run
    await self.visit(self.parse_tree, VariableStack([self.program._variables], self))
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/_program_executor.py", line 559, in visit
    visited_children.append(await self.visit(child, variable_stack, inner_next_node, inner_next_next_node, inner_prev_node, node, parent_node))
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/_program_executor.py", line 524, in visit
    command_output = await command_function(*positional_args, **named_args)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/library/_geneach.py", line 119, in geneach
    new_content += await parser.visit(
                   ^^^^^^^^^^^^^^^^^^^
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/_program_executor.py", line 559, in visit
    visited_children.append(await self.visit(child, variable_stack, inner_next_node, inner_next_next_node, inner_prev_node, node, parent_node))
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/_program_executor.py", line 559, in visit
    visited_children.append(await self.visit(child, variable_stack, inner_next_node, inner_next_next_node, inner_prev_node, node, parent_node))
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/_program_executor.py", line 266, in visit
    visited_children = [await self.visit(child, variable_stack, next_node, next_next_node, prev_node, node, parent_node) for child in node]
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/_program_executor.py", line 266, in <listcomp>
    visited_children = [await self.visit(child, variable_stack, next_node, next_next_node, prev_node, node, parent_node) for child in node]
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/_program_executor.py", line 379, in visit
    command_output = await command_function(*positional_args, **named_args)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/library/_gen.py", line 140, in gen
    gen_obj = await parser.llm_session(
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/myuser/projects/sample-proj-env/lib/python3.11/site-packages/guidance/llms/_openai.py", line 667, in __call__
    except openai.error.RateLimitError:
           ^^^^^^^^^^^^
AttributeError: module 'openai' has no attribute 'error'

Error in program:  module 'openai' has no attribute 'error'

Thanks llama-index community for implementing the bot (It's very cool). In this situation I investigated the guidance and llama-index package more and I concluded the following

The old guidance package (version guidance==0.0.64) is fully compatible with the openai<1.0.0 version.
The newer version guidance==0.1.10 is compatible with openai>=1.0 which is similar to the case of llama-index.

The best way to add support for the new version of guidance is to update the codes of llama-index library (the parts using guidance) to the newer version guidance==0.1.10. Is that going to be possible for the community of devs working on this library?

@amindadgar yea we can probably update it at some point this week. Happy to let you do it as well if you have more time :)

@logan-markewich Sure, I'll start doing it the next day!
If there's a standard to follow, please don't hesitate to let me know :)


Implemented Asynchronous methods

I think it is easier if the existing synchronous methods are modified to be asynchronous, then use the 'await' keyword when invocating the methods @oluwasege

@selfmadecode I have done this. Please review

this is great, but why are we removing the try catch ? @oluwasege

the ReadMe file also needs to be updated to reflect this enhancement @oluwasege

@selfmadecode I removed the try - catch because the using statement already handles error (This was a Sonarcloud recommendation), Direction to the part of the ReadMe to be updated woul be nice.

even though it's a small change, can we create a ticket for that so that others can weigh in on it ?? we should focus on async implementation for this @oluwasege
thanks for bringing that up


Add KeyOf and ValueOf definitions to built-in lib

Search Terms
None -
Empirical experience -
Suggestion
I want to see added KeyOf and ValueOf
Use Cases
Let them distribute union
let a_or_b_002!: KeyOf<{ a: 'Aa' } | { b: 'Bb' }>;      // "a" | "b"
let a_or_b_003!: KeyOf<({ a: 'Aa' } | { b: 'Bb' })>;    // "a" | "b"

Examples
let a_or_b_002!: KeyOf<{ a: 'Aa' } | { b: 'Bb' }>;      // "a" | "b"
let a_or_b_003!: KeyOf<({ a: 'Aa' } | { b: 'Bb' })>;    // "a" | "b"

instead of
let a_or_b_001!: keyof ({ a: 'Aa' } | { b: 'Bb' });     // "a" & "b"

Checklist
My suggestion meets these guidelines:

[x ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[ x] This wouldn't change the runtime behavior of existing JavaScript code
[ x] This could be implemented without emitting different JS based on the types of the expressions
[ x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x ] This feature would agree with the rest of TypeScript's Design Goals.

Here's implementation
declare type KeyOf<T> = T extends any ? keyof T : never;

declare type ValueOf<T> = T extends any ? T[ keyof T ] : never;

I use $Values by "utility-types" quite often, and find it useful. Would be nice to see a build-in Typescript version.

A quick search on GitHub shows a mountain of projects defining their own ValueOf or importing type-fest's ValueOf.

ValueOf should exist because keyof already exists, it is implementable and has been implemented as a one liner, but can be hard to get right (justifying its inclusion)
KeyOf should exist if ValueOf exists for syntax symmetry. (I'd argue keyof should've never been an operator since it's syntax on top of JS that could've just been a utility type, but that ship has already sailed.)
A quick search for "typescript valueof" shows significant interest, including a sort of duplicate issue (#53521)
#53521 is a feature request asking for a valueof operator. It was for some reason marked as a Question then closed as if it's just a resolved question for how to implement ValueOf yourself.

This is something that would likely be quite welcomed by the TypeScript community.

New utility types are declined by policy. See https://github.com/microsoft/TypeScript/wiki/FAQ#new-utility-types


Upgrade CodeMirror to 0.19.x

Upgrade CodeMirror to 0.19.x.
We tried and failed once, introducing #243, which led to a revert.
The branch cm-19 has reverted the revert and is ready for some debugging. Perhaps the DOM structure or default styling has changed? Draft PR #247.
When we have successfully upgraded we can re-close #148

Fixed by #247. I've closed #148 again.


Option to determine extractors ahead of time

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[ ] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[ ] New extractor
[x] New feature

Description of your pull request and other information
Sometimes I just want to know whether youtube-dl can be expected to handle a given URL.  This option accomplishes that quickly.  Previously, I would run youtube-dl with --simulate or --skip-download, but these would take 5+ seconds on my system before returning.  The --determine-extractors option of this PR, however, only takes 1.3 to 2.6 seconds.  You can use it, for example, to handle arbitrary URLs intelligently:  If --determine-extractors indicates success, run youtube-dl (or mpv or whatever).  Otherwise, run $BROWSER.
Thank you.

Thank you for the helpful feedback.  I will look into your suggestions and resubmit.  However, I am a little confused by your idea of falling back to the generic extractor with --force-generic-extractor.  Isn't the generic extractor's check guaranteed to succeed here?


Added country and town step for registration flow

:rocket: deployment of nhsuk/register-with-a-gp-beta-web succeeded (http://register-with-a-gp-beta-web-pr-215.dev.beta.nhschoices.net)

:rocket: deployment of nhsuk/register-with-a-gp-beta-web succeeded (http://register-with-a-gp-beta-web-pr-215.dev.beta.nhschoices.net)

:rocket: deployment of nhsuk/register-with-a-gp-beta-web succeeded (http://register-with-a-gp-beta-web-pr-215.dev.beta.nhschoices.net)

:rocket: deployment of nhsuk/register-with-a-gp-beta-web succeeded (http://register-with-a-gp-beta-web-pr-215.dev.beta.nhschoices.net)

:rocket: deployment of nhsuk/register-with-a-gp-beta-web succeeded (http://register-with-a-gp-beta-web-pr-215.dev.beta.nhschoices.net)


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 09:30:29 on 2023.05.17
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 5, errors out: 0
Original problem ID: 20751
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=20751

Problem has been resolved in 12m 0s at 09:42:29 on 2023.05.17
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 20751


[meta] add helm 3 beta support

This PR add Helm 3 support in preview as the main blockers were fixed in previous PR.
Note that adding automated tests with Helm 3 is still required to add full Helm 3 support.
This PR should be backported to 6.8, 7.x and 7.9 branches.

This PR add Helm 3 support in beta as the main blockers were fixed in previous PR.
Note that adding automated tests with Helm 3 is still required to add full Helm 3 support.

backported to 6.8, 7.9 and 7.x branches


perf: support jike social platform

Description
Jike is a new social platform in China. It would be very convenient for many people to add it.
Test Jike ID
jike: 'FBF0F46B-5CA8-4568-A98C-3D50EF570462'

Thanks @RaineySpace; I'd like to keep the social support as minimal as possible, but anyone who searches for Jike should find this PR :)


Add TilePosition Interface

We need an as simple as possible drag and drop interface to create, update and delete the TilePosition entity. At the end of the day, this is just about allocating the tiles on a view and saving the data into multiple TilePosition instances.

@Schubidu Please try to fix the moving issues with the grid system. It bugs to resize an tile before one can move it around after adding it.


skip_fields argument doesn't seem to work

Here's a code snippet to recreate my issue (ran in jupyter):
skip = ['cursor_pos', 'eye_pos', 'hand_pos', 'hand_vel']
print(skip)

## Load dataset

dataset = NWBDataset("000128/sub-Jenkins/", "*train", split_heldout=False, skip_fields=skip)

print(dataset.data) #dataset still contains skips

The output is as follows:
signal_type             cursor_pos            eye_pos           hand_pos  \
channel                          x          y       x      y           x
clock_time
0 days 00:00:00          -0.900000  -5.700000     7.2    2.0   -0.714908
0 days 00:00:00.001000   -0.907457  -5.687027     7.2    2.1   -0.717532
0 days 00:00:00.002000   -0.912768  -5.672115     7.6    1.2   -0.720323
0 days 00:00:00.003000   -0.914050  -5.653433     7.4    1.4   -0.723278
0 days 00:00:00.004000   -0.909980  -5.629617     7.4    3.6   -0.726362
...                            ...        ...     ...    ...         ...
0 days 01:55:52.296000 -114.378901 -79.712313   -95.0 -117.5 -114.334012
0 days 01:55:52.297000 -114.366164 -79.728485   -94.9 -117.4 -114.333252
0 days 01:55:52.298000 -114.365911 -79.749577   -94.6 -117.7 -114.332816
0 days 01:55:52.299000 -114.378419 -79.774473   -94.8 -117.7 -114.332814
0 days 01:55:52.300000 -114.400000 -79.800000   -97.8 -118.2 -114.333242

signal_type                         hand_vel            spikes       ...       \
channel                          y         x          y   1011 1021  ... 2861
clock_time                                                           ...
0 days 00:00:00         -40.526123 -2.624567  29.977111    0.0  0.0  ...  0.0
0 days 00:00:00.001000  -40.496146 -2.707321  30.577662    0.0  0.0  ...  0.0
0 days 00:00:00.002000  -40.464968 -2.872729  31.744164    0.0  0.0  ...  0.0
0 days 00:00:00.003000  -40.432658 -3.019660  32.847931    0.0  0.0  ...  0.0
0 days 00:00:00.004000  -40.399272 -3.059403  33.895227    0.0  0.0  ...  0.0
...                            ...       ...        ...    ...  ...  ...  ...
0 days 01:55:52.296000 -114.809976  0.905895  -0.883716    0.0  0.0  ...  0.0
0 days 01:55:52.297000 -114.810622  0.598148  -0.420075    0.0  0.0  ...  0.0
0 days 01:55:52.298000 -114.810816  0.218816   0.012961    0.0  0.0  ...  0.0
0 days 01:55:52.299000 -114.810596 -0.212940   0.393580    0.0  0.0  ...  0.0
0 days 01:55:52.300000 -114.810029 -0.427820   0.566803    0.0  0.0  ...  0.0

signal_type
channel                2862 2871 2881 2882 2911 2931 2941 2951 2961
clock_time
0 days 00:00:00         0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0
0 days 00:00:00.001000  0.0  0.0  0.0  0.0  0.0  1.0  0.0  0.0  0.0
0 days 00:00:00.002000  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0
0 days 00:00:00.003000  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0
0 days 00:00:00.004000  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0
...                     ...  ...  ...  ...  ...  ...  ...  ...  ...
0 days 01:55:52.296000  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0
0 days 01:55:52.297000  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0
0 days 01:55:52.298000  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0
0 days 01:55:52.299000  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0
0 days 01:55:52.300000  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0

[6952301 rows x 190 columns]

Hi, thanks for pointing this out. It looks like I didn't pass on the skip_fields argument when loading only a single file. I tried to correct it in the latest commit, so let me know if that fixes the issue!

Will the fix be applied if I run
!pip install git+https://github.com/neurallatents/nlb_tools.git
!pip install dandi

or do I need to uninstall nlb_tools first?  Thank you!

I believe running !pip install git+https://github.com/neurallatents/nlb_tools.git again should install the updated version, but if that does not work, then I would recommend uninstalling nlb_tools and trying again.

I believe running !pip install git+https://github.com/neurallatents/nlb_tools.git again should install the updated version, but if that does not work, then I would recommend uninstalling nlb_tools and trying again.

Uninstalling and reinstalling worked!  Thanks so much.  I have another quick question.  I know that the skip_fields argument doesn't apply to spikes, but is there any way to bypass this?  Even with the above fields skipped it's still too much data more my computer to handle.

I believe running !pip install git+https://github.com/neurallatents/nlb_tools.git again should install the updated version, but if that does not work, then I would recommend uninstalling nlb_tools and trying again.

Uninstalling and reinstalling worked! Thanks so much. I have another quick question. I know that the skip_fields argument doesn't apply to spikes, but is there any way to bypass this? Even with the above fields skipped it's still too much data more my computer to handle.

Resolved. I used a smaller dataset.


No Mention of Multiple Ports and protocols

It is a common requirement for admins to wish to enable broad ranges of ports and protocols (I know its not ideal in a Zero Trust scenario but limited broad access is better than Any/Any). As such it would be good to call out or explain the following questions/queries I have:

Does the port cover TCP and UDP for Ports > 0 and ICMP for Port 0?
Is there any way to define multiple ports in the same rule such as the RPC High range of 49152-65535?

Thanks
Leo

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

ID: f34e1f5f-3c05-25ee-5ba6-21b108202d8a
Version Independent ID: d76236a1-d2a2-13ed-9320-2add9ec63f5a
Content: How to configure Quick Access for Global Secure Access
Content Source: articles/global-secure-access/how-to-configure-quick-access.md
Service: network-access
GitHub Login: @shlipsey3
Microsoft Alias: sarahlipsey

Thanks for the question - I think you're the first one for the new products!
Did you check out this reference guide: https://learn.microsoft.com/en-us/azure/global-secure-access/reference-remote-network-configurations
I'm not sure if it's what you're looking for. If not - I can check with the team.

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

Just to clarify, I'm looking at this from a P2S scenario rather than a branch office scenario. I also saw some mentions on twitter that this was TCP only? If so that's a big limitation that should be called out?

Hi @ld0614,
We only currently support TCP. Support for adding port ranges and UDP is coming soon.
We mention it in our overview article, but we can mention it elsewhere to emphasize it. We have to be careful about how we describe things that are coming soon or in development in our docs.
https://learn.microsoft.com/en-us/azure/global-secure-access/overview-what-is-global-secure-access#key-features-1

Thanks for the update, I must have missed that when I was skimming the documentation and its great to hear that both are in development. In my mind I would treat features under development as known limitations or at least mention what it currently does support (single port TCP) on the Private Access overview page so that its a bit more discoverable.
As someone whos done development stuff myself I totally understand that the public wording on this stuff is very sensitive and I hope that these blockers are removed soon so that we can seriously look at this as a VPN replacement technology

Happy to help! We were able to include many of the features under development in the known limitations throughout, but I think this one was only mentioned in one place for some reason. Lots of moving parts!
I'll add it where appropriate this week.
Again - thanks for the feedback! Hope you're able to onboard and test the new products successfully!
Sarah

#please-close


SLP-SDK overwrites trest to rest

Attempting to initialize SLP to testnet like this:
let slp = new SLP({ restURL: 'https://trest.bitcoin.com/v2/' })
Will fail. SLP will actually initialize to rest.
The scope of this Issue is to investigate and see what may be preventing SLP-SDK from initializing to trest.

I'm unable to reproduce this. The following works properly for me
let SLPSDK = require("slp-sdk/lib/SLP").default;
let SLP = new SLPSDK({
  restURL: "https://trest.bitcoin.com/v2/"
});

// fetch details of testnet token
(async () => {
  try {
    let list = await SLP.Utils.list(
      "24686f336975796253be67ab3d6b1b304905f0f5d81fa934c581aba4da606f38"
    );
    console.log(list);
  } catch (error) {
    console.error(error);
  }
})();

I also could not reproduce this bug. It must have gotten fixed in one of the other code updates.


Make KenLM optional

The dependency adds a fair amount of compilation time (order: seconds) and may not be necessary for all people.

Closed by https://github.com/ryanleary/pytorch-ctc/commit/759f46f0f652ce142bb8ac8ca5ad97b2048a0681. Can add a --exclude-kenlm flag to python setup.py install.


Graphical Refactor

This PR reflects a refactor to a lot of stuff related to graphical frequency. I suspect that this fixes the problem that Beth found, but I have not yet confirmed. Passing tests at least confirm that we're doing at least as good as we were before the refactor.

This PR reflects a refactor to a lot of stuff related to graphical frequency. I suspect that this fixes the problem that Beth found, but I have not yet confirmed. Passing tests at least confirm that we're doing at least as good as we were before the refactor.

I have addressed all PR comments, but I still need to address comments from Beth.

@Brennan1994 I have finished my testing and cleanup. This PR is ready for you to backcheck. Please take a look at my new tests. Thank you.


When host is undefined can be listen all host, and notice that is not only localhost.

When host is undefined can be listen all host, and notice that is not only localhost.

@sugov5 Is there any reason not using explicit <IP_ADDRESS> value? IMO it just makes logics about HOST harder.

@pi0 i think you are right. thank you.