Z3/smt2_eval_CVC4 inconsistency: QF_BV/spear/wget_v1.10.2/src_wget_vc18197.smt2

QF_BV/spear/wget_v1.10.2/src_wget_vc18197.smt2 smt2_eval_CVC4 FAIL
QF_BV/spear/wget_v1.10.2/src_wget_vc18755.smt2 smt2_eval_CVC4 FAIL
QF_BV/spear/wget_v1.10.2/src_wget_vc18756.smt2 smt2_eval_CVC4 FAIL
QF_BV/spear/wget_v1.10.2/src_wget_vc18196.smt2 smt2_eval_CVC4 FAIL

After minimization:
$ cat out.smt2
(set-logic QF_BV)
(assert (= (_ bv0 64) (bvsdiv (_ bv0 64) (_ bv0 64))))
(exit)
$ smt2_eval_CVC4 out.smt2
[metaSMT] Instance is SAT
[z3] Instance is UNSAT

@finnhaedicke: Could look into the CVC4 backend?


fix: avoid overflowed numbers when making error

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@1c430d4). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #484   +/-   ##
=======================================
  Coverage        ?   72.81%
=======================================
  Files           ?       56
  Lines           ?     7996
  Branches        ?        0
=======================================
  Hits            ?     5822
  Misses          ?     1851
  Partials        ?      323

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Updates to Ports for NSG and Overview update

Hi @solankisamir, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Samir Solanki). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@antonba can you review

@solankisamir : Thanks for your contribution to the Azure documentation! The author, @antonba, has been notified to review your proposed change.

#sign-off


NoMethodError: undefined method `sensitive'

Getting the following, when trying to setup users:
(postgresql::setup_users line 8) had an error: NoMethodError: undefined method `sensitive' for Chef::Resource::Execute

It's a wild guess but it seems like the Chef version I'm using doesn't support sensitive. Upgrading, for me, will not be an option at this point. Any suggestions will be highly appreciated.
Meta
Chef: 11.12.4
Cookbook version: git ref 08718bbfc7

Removing sensitive made it work. I will be using the fork until I get the chance to upgrade. Thank you

@vesln thanks for the note. The sensitive attribute was introduced around Chef 11.13. Once you can update you should be fine.


API similar to fluidsim.load_sim_for_plot and sim.output.phys_fields.get_var?

I think it would be useful to recreate a Simul object from a directory. It would be a nice way to read the parameters and the results from Python.
It would be really nice to be able to load a particular field with the sim object (returned as a Numpy array). And even to read a particular cross-section.

I have took inspiration from the architecture of InitFields and SpecificInitFields classes in fluidsim, to design the PhysFields and Reader classes respectively.

Can we close this one now that #7 has been merged ?

I will add a short update to the load function to invoke init_reader via a parameter.


Seleno: Debug automated UI tests

Hi,
How can i debug the automated UI tests using Seleno for an ASP.net MVC C# project.

Have you tried attaching to the iisexpress.exe that is spawned?

On 19 Apr 2016, at 12:49 am, wijdenchebbi<EMAIL_ADDRESS>wrote:
Hi,
How can i debug the automated UI tests using Seleno for an ASP.net MVC C# project.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Hi,
I didn't use this idea, can you explain me more.

I have some info here in the section "Debugging the IIS Process." I hope it helps.


[stable/nginx-ingress] Feature  apiVersion compatibility switch

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[ ] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test

/retest

/retest

/retest

/lgtm

Hi!
https://github.com/helm/charts/blob/master/stable/nginx-ingress/templates/controller-role.yaml#L85 still use hardcoded "extensions" apiversion for podSecurityPolicy =(
Maybe template this too?


Add cancel callback

This way the app can be notified if the user canceled the sign in flow
and handle accordingly.

The README will need updates as well. Good search terms for that are "callback", "client", "completion".

Added changes to the other PR


4.0.0 yanked because of false py36 support

I've been using jsonschema with python3.6 on centos7. I didn't realize that the python3.6 support was incorrect on PyPi and now I'm getting a warning in CI and when installing my package. Things are still working fine and I don't plan to change anything. However, I'm curious to know what in the code isn't 3.6 compliant so I can avoid it? Also, is there a risk that the 4.0.0 release will be removed entirely in the future?

Hi there. It will never be deleted entirely off PyPI (doing so is really really bad behavior), just yanked.
I don't remember what doesn't work on 3.6, you can run tox/the test suite on 3.6 (and see what fails) or find the commit that bumped the version, one of the two should hopefully explain.

Looks like importlib_metadata doesn't support <py3.7. Thanks for the insight, I'll keep an eye on it and hopefully won't run into any issues.


session.get_credentials() has become optional

Describe the bug
session.get_credentials() has become optional, but it shoudn't.
To Reproduce
Steps to reproduce the behavior:

Install boto3-stubs
Run mypy/pyright on the following code sample

import boto3

session = boto3.Session()
creds = session.get_credentials()

reveal_type(creds)

Actual output
[...](file.py:6: note: Revealed type is "Union[botocore.credentials.Credentials, None]")

Expected output
[...](file.py:6: note: Revealed type is "botocore.credentials.Credentials")

Additional context
Your OS, boto3-stubs installation method, boto3 version, etc.
boto3==1.29.1
boto3-stubs-lite==1.29.1

Hello!
Session.get_credentials can return None if there are no credential providers, or none of the providers return valid credentials. So, you have to check if creds are not None
import boto3

session = boto3.Session()
creds = session.get_credentials()
assert creds is not None

reveal_type(creds)  # Type of "creds" is "Credentials"

Please let me know if it works for you.

Ah, I see.
    def load_credentials(self):
        """
        Goes through the credentials chain, returning the first ``Credentials``
        that could be loaded.
        """
        # First provider to return a non-None response wins.
        for provider in self.providers:
            logger.debug("Looking for credentials via: %s", provider.METHOD)
            creds = provider.load()
            if creds is not None:
                return creds

        # If we got here, no credentials could be found.
        # This feels like it should be an exception, but historically, ``None``
        # is returned.
        #
        # +1
        # -js
        return None


Top-p halves the generation speed in the Llama example

Hi, I'm reaching out about a particular problem I'm running into. Using top-p with the logits sampler seems to halve the generation speed, and I'm not sure why.
❯ ./target/release/examples/llama --prompt "Jack and Jill" --top-p 0.9
loading the model weights from meta-llama/Meta-Llama-3-8B
starting the inference loop
Jack and Jill is a fun, affordable hotel for families. With 48 rooms including suites and cabins as well as a campground, there's something here for everyone.
This hotel is perfect if you are looking to stay in the country but not too far from town. The hotel has large units with kitchens, wood burning fireplaces, and decks overlooking acres of meadows or the mountain.
Located just off highway 20 between Tahoe City and Truckee, the Cedar House Sport Hotel features luxurious accommodation surrounded by beautiful mountains and streams.

103 tokens generated (34.67718999077969 token/s)

❯ ./target/release/examples/llama --prompt "Jack and Jill"
loading the model weights from meta-llama/Meta-Llama-3-8B
starting the inference loop
Jack and Jill is a children's nursery rhyme that has been recorded for over two centuries.
The rhyme counts down from ten and is associated with other verses about the names Jack and Jill. Children usually play a game where they hold hands in a circle, and one child claps his/her hands while singing the rhyme.
In this version: Take turns repeating lines. Line 1 is said by each person at the same time until everyone says line 3, then repeat line 4 etc.

96 tokens generated (69.52924165700331 token/s)

This correlates with GPU utilization dropping from ~95% to 47% when top-p sampling is enabled.
With top-p

Without top-p

Tested on a H100 94GB.
Love this library, thanks in advance 😄

The issue there is that the sampling takes place on the cpu at the moment and so we have to compute the multinomial bits for all the vocab size (which is very large for llama 3 at 128k). However when using top-p, we do a first pass that just selects the top-p values in linear time and then only do the multinomial part on the logits that are left (which is a very small number). We're working on putting this part more on the gpu so hopefully this will improve things significantly but at the moment the recommendation is certainly to use top-p :)

Sorry I messed things up between top-k and top-p in the previous comment, I've updated it so that hopefully it makes more sense now, in a nutsheel if you want to use top-p you can combine it with top-k and it's likely to improve performance quite a bit.
I've also added support for top-k in the llama example in #2150  so that it's easier to illustrate it, here are the timings I get on a H100  SXM (80G), using top-k makes for a big improvement but hopefully with the upcoming sampling improvement it should not be needed anymore.
$ cargo run --example llama -r --features cuda -- --prompt "Jack and Jill" --top-p 0.9 -n 100
     Running `target/release/examples/llama --prompt 'Jack and Jill' --top-p 0.9 -n 100`
...
100 tokens generated (35.17282300703097 token/s)

$ cargo run --example llama -r --features cuda -- --prompt "Jack and Jill" --top-p 0.9 -n 100 --top-k 200
loading the model weights from meta-llama/Meta-Llama-3-8B
...
100 tokens generated (81.1718374444453 token/s)

That makes sense, the vocabulary size is a major problem here alongside the expensive sorting step. I tested on CPU and metal as well which reflects this.
I had assumed everything was done on GPU and was wondering why the utilization dropped. Looking forward to the upcoming sampling improvement 😃
Looks like top-p + top-k is a good workaround, thanks!


ActionView::Template::Error

By accessing the url:
http://<IP_ADDRESS>:3000/projects/gisportal/settings/
I got the following error:
This error occurs after I activate intouch plugin in my project:
Started GET "/projects/gisportal/settings/" for <IP_ADDRESS> at 2016-08-25 09:23:53 -0300
Processing by ProjectsController#settings as HTML
Parameters: {"id"=>"gisportal"}
Current user: gledson.cruz (id=5)
Rendered projects/_form.html.erb (18.6ms)
Rendered projects/_edit.html.erb (20.3ms)
Rendered projects/settings/_modules.html.erb (5.6ms)
Rendered projects/settings/_members.html.erb (14.3ms)
Rendered plugins/advanced_roadmap_v2/app/views/projects/settings/_milestones.html.erb (2.1ms)
Rendered projects/settings/_versions.html.erb (4.5ms)
Rendered projects/settings/_issue_categories.html.erb (2.2ms)
Rendered projects/settings/_wiki.html.erb (1.9ms)
Rendered plugins/redmine_git_hosting/app/views/projects/settings/_repositories.html.haml (14.4ms)
Rendered projects/settings/_boards.html.erb (2.2ms)
Rendered projects/settings/_activities.html.erb (10.7ms)
Rendered plugins/redmine_intouch/app/views/projects/settings/intouch/common/_settings.html.erb (179.8ms)
Rendered plugins/redmine_intouch/app/views/projects/settings/intouch/_settings.html.erb (185.3ms)
Rendered common/_tabs.html.erb (273.4ms)
Rendered projects/settings.html.erb within layouts/base (274.2ms)
Completed 500 Internal Server Error in 293ms (ActiveRecord: 17.9ms)
ActionView::Template::Error (undefined method render_intouch_tabs' for #<#<Class:0x007fa7a63797b8>:0x007fa7a0a0ef48>):     10:       }     11:     end %>     12:      13:     <%= render_intouch_tabs settings_source, issue_update_tabs %>     14:      15:   </div>     16:    plugins/redmine_intouch/app/views/projects/settings/intouch/common/_settings.html.erb:13:in_plugins_redmine_intouch_app_views_projects_settings_intouch_common__settings_html_erb__2329897050763101602_43279640'
plugins/redmine_intouch/app/views/projects/settings/intouch/_settings.html.erb:29:in block in _plugins_redmine_intouch_app_views_projects_settings_intouch__settings_html_erb__3182936809133082087_44108340'   plugins/redmine_intouch/app/views/projects/settings/intouch/_settings.html.erb:8:in_plugins_redmine_intouch_app_views_projects_settings_intouch__settings_html_erb__3182936809133082087_44108340'
app/views/common/_tabs.html.erb:17:in block in _app_views_common__tabs_html_erb___3675473855529715786_70178827571580'   app/views/common/_tabs.html.erb:16:ineach'
app/views/common/_tabs.html.erb:16:in _app_views_common__tabs_html_erb___3675473855529715786_70178827571580'   app/helpers/application_helper.rb:325:inrender_tabs'
app/views/projects/settings.html.erb:3:in _app_views_projects_settings_html_erb___3270537101440791841_70179011938440'   lib/redmine/sudo_mode.rb:63:insudo_mode'
Can you help me?

Which version of redmine do you use?

3.2
Em 25 de ago de 2016 19:21, "Artur Trofimov"<EMAIL_ADDRESS>escreveu:

Which version of redmine do you use?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/centosadmin/redmine_intouch/issues/5#issuecomment-242562017,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAU1bS5hv7eQkfcVVSWnQ2ZKTk-G67y-ks5qjhVQgaJpZM4JtBBI
.

I tested with version 3.3 and occurred the same problem....

Please check that you use ruby >2.3. And the latest version of plugin.
If error still occures, please open the task again.


Handle dead client's connections ?

Hi,
I suppose,   Web manager could send periodically messages to client, to verify its connection.
Client could send a REST request only for verification (maybe to include also in its request a timestamp, provided by the manager's initiated message). Then the controller  to send message to web manager to update a "keep alive"  list with clients responses. Web manager periodically could clean the connections without "keep alive" responses.
Unfortunately, I don't have time, for a while,  to help your excellent effort.
One another question  by the way.
I suppose the scenario that the web manager is a separate asp.net core application, "talking" with the REST front-end controller,  could work also? there is not a problem with the reply to client ?

I believe this concept (ping/pong) is already implemented by webSockets, isn't it?

As I understand (with my poor experience in web sockets)  , the nice thing in Radu's project,  is that the web  sockets manager  can be configured to send only notifications, not to accept incoming messages from external clients. That is very useful in specific environments.  Of course maybe I have not understood well, or simply I don't know.


Anchor tag helper not working or working bad

From @spzvtbg on Wednesday, 24 October 2018 09:31:18
In ASP.NET Core 2.1 Project I use Areas whit Identity, Roles and Localization, for each role i have area with own layout but same Login partial view, and here is that Problem when i have no user changing between languages works, when i have logged user and the anchor tags pointing to home Controller and the shift method - application do Nothing so i have created a page for that language shifting and ist work but when i debuging the process not braking on this page and method.
That is my project
I'm still new and learning, but I think the links should go wherever they are pointed no matter where they are
Copied from original issue: aspnet/AspNetCore#3710

From @mkArtakMSFT on Wednesday, 24 October 2018 16:34:59
Thanks for contacting us, @spzvtbg.
@dougbu, can you please investigate this? Thanks!

So I want to have a web application with 2 languages. For this purpose I use localizations. As I mentioned for each role I will have the area and for each area I will use a separate layout but with the same _LoginPartial. For this purpose, I use a list of links for changing languages.
1. I tried with a separate  _LoginPartial, but the result was the same but in all cases the list itself works and shows the options but there is nothing going on when choosing.
2. When there is no user entered everything works fine, when someone joins the exchange links do not working:
a. Initially, I make the language-changing method  in the HomeController, but the links did not going there.
b. Then I moved the method to a separate page so it worked, but by debugging the application does not enter the method.
That is pretty all, the Point is that that links not working and I use <a asp-area="" asp-controller="Home" asp-action="Index" …. - because I showing Images, that I can not do with a @Html.Action that is why  I did not try this Option. I suppose the problem comes either from the logout form or localization process or both together

@spzvtbg the problem is in your Startup.Configure(...) method. You're creating two MVC middleware instances that know nothing about each other and that confuses many things, especially routing.
Instead of
app.UseMvc(routes =>
    {
        routes.MapRoute(
            name: "areas",
            template: "{area:exists}/{controller}/{action}/{id?}"
        );
    });
app.UseMvc(routes =>
    {
        routes.MapRoute(
            name: "default",
            template: "{controller=Home}/{action=Index}/{id?}");
        );
    });

it should be
app.UseMvc(routes =>
{
    routes
        .MapRoute(
            name: "areas",
            template: "{area:exists}/{controller}/{action}/{id?}")
        .MapRoute(
            name: "default",
            template: "{controller=Home}/{action=Index}/{id?}");
});

Thank you for your feedback. We're closing this issue as the questions asked here have been answered.

@dougbu, а very stupid mistake on my part, I do not know how to apologize for the lost time, really sorry for that. The next time I will be carefuly.
I apologize once again to you and all those who committed this mistake, with best regards.


sm8250 windows pe support and j716f update

(beta)

These should be submitted to https://github.com/edk2-porting/edk2-sdm845-binary

https://github.com/edk2-porting/edk2-sdm845-binary 에 제출해야 합니다.

Change done

Why did you remove Dsdt.asl? And where does the IORT table etc. even come from? sm7325 acpi tables won't work here.

왜 Dsdt.asl을 제거했습니까? 그리고 IORT 테이블 등은 어디에서 왔습니까? sm7325 acpi 테이블은 여기에서 작동하지 않습니다.

I'll fix it right away

Why did you remove Dsdt.asl? And where does the IORT table etc. even come from? sm7325 acpi tables won't work here.

I'll fix it right away


[feature request] LLAMA.CPP

It would be great to have this interface locally to use models on CPU with llama.cpp

I'm not really sure how to process that. Are you talking about ExUI?

Yes, sorry.. I realize now I posted it in the wrong repository.

It's fine.
But ExUI is really closely integrated with ExLlamaV2. I do plan to change it over to using tabbyAPI as a backend, which would mean it could also connect to other OAI-compatible servers, including ones running llama.cpp, or even ChatGPT. But I don't think I'll have time for that for at least a couple of months.


How to get artist master id using this API?

Is it possible to get a master id of an album using this API; I would like to know because I'd like to search the cover art according to an artist the user enters and I couldn't find a documentation or something to solve my issue.

GetMasterAsync should return want you want.

Indeed it works but I'd like to search an album's covert art first and then give it's master id as an argument to the GetMasterAsync function, is this possible?

I am not sure to follow you. I am sure what discogs API you are refering to when you say "search an album's covert art".
If the discogs rest API provides the information you need, then DiscogsClient should provide the corresponding API, so that you can use it. If it is an discogs rest API that is not mapped by this library let me know I will work on it.


If I try to add function access permission to a function from another function I get "No resources found for function"

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm i -g @aws-amplify/cli
If applicable, what version of Node.js are you using?
v14.15.4
Amplify CLI Version
5.0.1
What operating system are you using?
Mac
Amplify Categories
function
Amplify Commands
update
Describe the bug
So far, whenever I have needed to add access permissions to one lambda function (function Y) from another (function X), I have done is following steps from the amplify CLI:

amplify function update

Lambda function (serverless function)

select function X

Resource access permissions

select the function category (using the space bar)
select the target function in which I'm interested from the list of my function

Some day ago, I upgraded to 5.0.1; today, I have tried to add the access permission to function Y from the function X, so:

amplify function update

Lambda function (serverless function)

select function X

Resource access permissions

select the function category (using the space bar)
PROBLEM: now I don't get the list of functions to give accesso to but I get "No resources found for function."

Expected behaviour

amplify function update

Lambda function (serverless function)

select function X

Resource access permissions

select the function category (using the space bar)
select the target function in which I'm interested from the list of my function

@fgiopp thanks for reporting the issue, I was able to reproduce it.

I have upgraded to amplify 5.0.2, but the problem is still there.

I have upgraded to amplify 5.0.2, but the problem is not fixed.

It is not included in 5.0.2, will be in the next release.


German, Russian Languages Localization

Done
Script localization.js is created in assets/js

use data-localization="" on html tag in order to specify text that is supposed to be used
add the data-localization string in languagesData under the required language in order to load the content on language changes

additionaly some styles were changed to satisfy German and Russian translations
Ideas

Use user location to show appropriate language
Save user language in local settings, to avoid requirement to change it on any reload

#25

Conflicting files
index.html
Please see the conflicts highlighted in the image above. Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


not an issue A feature Modal for React 16

Just i wanted to say it's easy to merge the new code for portal and modal to material-ui (i did for myself)
the last repo using this new code is here working perfectly with last react 16
https://github.com/react-bootstrap/react-overlays/tree/3e4e05ea7116455f3816a080c5e557e474e4a458/src
I can share the code

I'm not sure to understand your point. Yes, please share the code :).


No module named 'nms.cpu_nms'

When I followed the instructions on readme, running "python pose_estimation/valid.py --cfg experiments/mpii/resnet50/256x256_d256x3_adam_lr1e-3.yaml --flip-test --model-file models/pytorch/pose_mpii/pose_resnet_50_256x256.pth.tar", it reported an error:
ImportError: No module named 'nms.cpu_nms'
I've noticed there are cpu_nmn.pyx under 'human-pose-estimation.pytorch/lib/nms'. I ran the 'setup.py' under the same directory by typing 'python setup.py install'. Unfortunately, it didn't solve my problem. I also tried to add various path including cpu_nms.py,cpu_nms.so...in to the environment, no use.

I have updated the install instructions.
Please build the libs first.
cd ${POSE_ROOT}/lib
make
``

Thanks, problem solved.
One caveat, since we don't have python3 as default, we use a virtualenv with python3 as default to run this project. If some persons want to run it directly with python2 as the default, they may need to change the 'python' command in makefile into 'python3'.


Add screenshot tests in engine/framework.

We should have basic screenshot tests running on real devices to catch rendering regressions in the engine and framework, to be able to catch regressions like https://github.com/flutter/flutter/issues/45098.
This can be done in the engine or the framework. I will list some of my proposals below:
Engine:

Use the scenario app.

Scenario app is currently only running on simulators. it Has to be set up running on some in house devices. The effort is tracked here: https://github.com/flutter/flutter/issues/43852
It decouples with framework logics and focus on the actual rendering.
Cannot catch framework bugs.
The tests run as early as engine repo post commit.

Framework

Create an example app and run flutter driver to perform screenshot tests.

Also has to be set up running on some in house devices.
Can potentially catches framework bugs.
The tests run after each framework commit, engine breakages are caught late after engine roll.

We can potentially have tests set up on both framework and engine. We seems to have better infra set up to support this in the framework so we might start with a test in the framework first.

The framework side of test is done. I believe there is an issue open for the engine already. I will close this issue.


Define the Backend APIs and DB Structure

We're building a backend service/DB to store the data about levels.
The proposed APIs we'll need for this backend service are listed in https://github.com/LPGameDevs/EditarrrPublic/blob/develop/backend/README.md#apis
We need to:

Define the API structure for the APIs
Determine how the level data (including high scores) get stored and access from the DynamoDB
Determine how the level preview images will get stored in S3
Document the solution

Once we've come up with the plan, we can implement the APIs, divided into 3 Issues:

https://github.com/LPGameDevs/EditarrrPublic/issues/54
https://github.com/LPGameDevs/EditarrrPublic/issues/55
https://github.com/LPGameDevs/EditarrrPublic/issues/56

See https://github.com/LPGameDevs/EditarrrPublic/blob/develop/backend/README.md for the proposed backend setup.

@HaywardMorihara yea sorry, its because the PR auto closed the ticket when I merged it. Not sure what caused that connection...

@HaywardMorihara yea sorry, its because the PR auto closed the ticket when I merged it. Not sure what caused that connection...

No worries! I  made that connection 😁 haha


Add getMidpoint() to Line Class

The getMidpiont method returns a Coordinate that's the midpoint of a Line object.
I used this in a project to get the distance between a specific Coordinate and a Line segment,
I might do a separate PR for that if this got accepted.

Hi
many thanks for the pull request.
Finding the midpoint of a line should be done by moving along the great circle between both points and picking the point which divides the great circle segment in two halves. The results will be wrong if just the average values of lat/lon are used  – the longer the line length, the larger the error.
I'll merge the PR and update the calculation method.

Documentation is updated as well: https://phpgeo.marcusjaschen.de/Geometries/Line.html#page_Midpoint


[Feature] Add sensor(s) for memory usage

Describe the solution you'd like
Add a sensor for memory usage %, cached memory usage, and ZFS cache
Describe alternatives you've considered
Single memory usage sensory with cached and ZFS cache as attributes

hmm, what would be a use of it? general memory usage is not the most useful thing.
you can see zfs arc already

If you are running a good bit of apps and or VMs it is nice to be able to monitor memory usage. Not much different than wanting to monitor CPU usage right?
Having sensor parity with what is available on the dashboard in TrueNAS itself seems reasonable. Memory usage is the last piece missing from that.

I support this request.
Just started using this component. And just not enough for my dashboard data on memory usage. But I also ask you to add sensors for using swaps: free space, total size and usage percentage. You can use one sensor, where the percentage is the main one, and everything else is attributes. This is related data.
My answer to why memory usage data is needed:
Yes, I know that ZFS takes up almost all the memory for its needs. But even up to 90% memory usage is normal for servers. It is not normal if more than this is used for a long time or, even worse, the data starts to go into swaps for a long time.
ARC is useful for tuning ZFS, but it's more useful to know the state of memory usage for tuning the entire server.

I propose to use a single principle for all sensors of memory usage (it can also be applied to sensors of disk usage): one sensor for each entity - memory, swap, cache, ZFS cache, - the main value of the sensor is the percentage of use, additionally in the attributes the total size and free size in bytes.

I will have a look at what kind of data are available via API.


python3Packages.kubernetes: fix aarch64 darwin build

Description of changes
fix aarch64 darwin build
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[X] 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
[ ] 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

[ ] Fits CONTRIBUTING.md.

merging this just to fix the build for now, but happy to take care of any feedback should there be any.


Release v1.2.9

feat: set interactive enabled if local flags are unchanged, except for cluster flag
feat: don't send update request if there are no changes
refactor: setting up a function to look into given params expected to be unchanged
Hosted-cp flag now forces byo vpc prompt
bump ocm sdk to 0.1.289
update hypershift naming convention for latest SDK
add market specific billing options for addon installations
[SDA-6984] Add support for nightly builds for HyperShift
[Hypershift] Filter regions where HostedCP is avalaible
feat: check if rosa cli is up to date
fix: lint
refactor: clean up
fix: favor replicas instead of deprecated compute-nodes param
Revert "[Hypershift] Filter regions where HostedCP is avalaible"
removed --channel-group  from --help options.
[Hypershift] Filter regions where HostedCP is avalaible
[Hypershift] Filter regions where HostedCP is avalaible
update owners file
STS is now default mode for cluster creation, added flags for non-sts
Transformer added to change escaped empty strings to real empty strings
refactor: manual aws command builder
add --yes to create cluster cmd
fix hosted cluster parameter in create cluster
unhide tags during cluster create
Create/oidcprovider bug sets interactive.Enable
fix: add tags check when b.tags nil
Output current environment when it is not production
Bump OCM SDK GO version to v0.1.292
FIPS: Unhide flag
Revert "[SDA-6643] STS is now default mode for cluster creation, added flags for mint mode/non-sts mode"
feat: add warn messages about sts/non sts modes
fix: specify which flag in message
fix: message when non sts
fix: message non sts
fix: don't show if redirecting to file
Bump OCM SDK GO version to v0.1.293
show Limited Support status when calling rosa describe cluster
Create machinepool - filter supported instances by availability zones
feat: add aws command builder unit tests
Create a machine pool - prevent choosing a spot instance for a local AZ
feat: new upgrade roles command and some refactors
Fix bug - create a machine pool with a different region configured in the AWS CLI
Create machine pool - display spinner when fetching instance types
feat: add channel group and option to choose version for policy tags in upgrade roles cmd
fix: sort prefixes to ensure consistancy when they are the same rank
fix: order of messages
fix: remove not needed vars in favor of using the args
fix: prompt mode for upgrade cluster when sts and mode is empty
fix: invert condition for no reason to update
fix: always show warning, don't go into interactive if mint mode or non sts flags are enabled
feat: checking undefined aws region
fix: handle empty strings before validation
Move HostedCP region supports check to the backend side
Adding check for Changes in replicas flag too
Remove redundant quotation

/lgtm


Dumped file but file will not be parsed

INFO:root:Parsing file ../../TEST_1636586596_lsass.dmp INFO:pypykatz:===== BASIC INFO. SUBMIT THIS IF THERE IS AN ISSUE ===== INFO:pypykatz:pypyKatz version: 0.3.7 INFO:pypykatz:CPU arch: X64 INFO:pypykatz:OS: Windows 10 INFO:pypykatz:BuildNumber: 22000 INFO:pypykatz:MajorVersion: 6  INFO:pypykatz:MSV timestamp: 0 INFO:pypykatz:===== BASIC INFO END ===== ERROR:root:Error while parsing file ../../TEST_1636586596_lsass.dmp Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/pypykatz/lsadecryptor/cmdhelper.py", line 195, in run     mimi = pypykatz.parse_minidump_file(args.memoryfile)   File "/usr/lib/python3/dist-packages/pypykatz/pypykatz.py", line 77, in parse_minidump_file     raise e   File "/usr/lib/python3/dist-packages/pypykatz/pypykatz.py", line 73, in parse_minidump_file     mimi.start()   File "/usr/lib/python3/dist-packages/pypykatz/pypykatz.py", line 267, in start     self.get_logoncreds()   File "/usr/lib/python3/dist-packages/pypykatz/pypykatz.py", line 168, in get_logoncreds     logoncred_decryptor.start()   File "/usr/lib/python3/dist-packages/pypykatz/lsadecryptor/packages/msv/decryptor.py", line 360, in start     entry_ptr_value, entry_ptr_loc = self.find_first_entry()   File "/usr/lib/python3/dist-packages/pypykatz/lsadecryptor/packages/msv/decryptor.py", line 263, in find_first_entry     position = self.find_signature('lsasrv.dll',self.decryptor_template.signature)   File "/usr/lib/python3/dist-packages/pypykatz/lsadecryptor/package_commons.py", line 71, in find_signature     raise Exception('Signature was not found in module %s Signature: %s' % (module_name, self.decryptor_template.signature.hex())) Exception: Signature was not found in module lsasrv.dll Signature: 33ff4189374c8bf34585c074 Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/pypykatz/lsadecryptor/cmdhelper.py", line 195, in run     mimi = pypykatz.parse_minidump_file(args.memoryfile)   File "/usr/lib/python3/dist-packages/pypykatz/pypykatz.py", line 77, in parse_minidump_file     raise e   File "/usr/lib/python3/dist-packages/pypykatz/pypykatz.py", line 73, in parse_minidump_file     mimi.start()   File "/usr/lib/python3/dist-packages/pypykatz/pypykatz.py", line 267, in start     self.get_logoncreds()   File "/usr/lib/python3/dist-packages/pypykatz/pypykatz.py", line 168, in get_logoncreds     logoncred_decryptor.start()   File "/usr/lib/python3/dist-packages/pypykatz/lsadecryptor/packages/msv/decryptor.py", line 360, in start     entry_ptr_value, entry_ptr_loc = self.find_first_entry()   File "/usr/lib/python3/dist-packages/pypykatz/lsadecryptor/packages/msv/decryptor.py", line 263, in find_first_entry     position = self.find_signature('lsasrv.dll',self.decryptor_template.signature)   File "/usr/lib/python3/dist-packages/pypykatz/lsadecryptor/package_commons.py", line 71, in find_signature     raise Exception('Signature was not found in module %s Signature: %s' % (module_name, self.decryptor_template.signature.hex())) Exception: Signature was not found in module lsasrv.dll Signature: 33ff4189374c8bf34585c074
It was dumped fine but it could not be parsed either from mimikatz or pypykatz.

Hey there!
did you run it with -v? if not, did you run restore_signature.sh?
Is the Windows machine 64 bit?

Ye i tried it in 2 different hosts both ways -v and without and ran restore_signature.sh
Worth mentioning that both hosts were Windows 11 although i doubt it should have any difference at least on the syscalls calling.

I don't have access to a W11 at this very moment but you could try to dump LSASS using the task manager or maybe by running rundll32.exe C:\Windows\System32\comsvcs.dll MiniDump <lsass pid> lsass.dmp full to confirm that pypykatz properly parses that dump.

So I had an outdated pypykatz. Now it works! Good work man(Works against Crowdstrike SHHHH)

That is great! 😄 I'm glad


can not connect on windows 10

$ yarn do src/electron/run
....
Outline is starting
Pipe connected
Got data from pipe for action: resetRouting
could not connect: Error (spawn UNKNOWN)
git clone from master, the code works well on iOS and android.

@galenzhao Apologies for the slow reply.
I'm afraid for Windows the background service must be running - the client should have prompted you for admin privileges so that it could install the service. Did this happen?
Regardless, if you first install the client the regular way (download from getoutline.org) before running with yarn do then the service should be found.


Create Merge Two Sorted Linkedlist.java

Closing Issue/Referencing Issue
issue reference (#)
Changes Made In Pull Request

Ineligible Repository
Your PR was submitted to a repository that is not participating in Hacktoberfest. Maintainers of the repository can add the "hacktoberfest" topic to their repository if they wish to participate. Alternatively, an individual PR can be opted-in with a maintainer adding the "hacktoberfest-accepted" label to the PR.
Please see to it.


[GLFW] No longer set the RL_TEXTURE_FILTER_LINEAR when high dpi flag is enabled

I am not sure why this was done in the first place. If I am missing something here and there is a good reason for doing this, please tell me.
Right now when the font texture filter is set to linear when the high dpi flag is enabled the default font looks very blurry.
The screenshots were made on a 4k monitor on Windows 11 with the HIGH_DPI flag enabled.
Linear Filter Enabled / Before I changed it (Blurry)

Linear Filter Disabled / How it looks now with the changes (Not Blurry)

@SoloByte I'm merging it because it removes code and I like it but note that visual quality is relative to users, afair, the filter was added because some users preferred the slightly blurry text than the irregular nearest-neighbourgh scaling mode.

Thanks, okay good to know. But it is still possible to set the default font filter to linear if the effect is wanted, correct ?


Array lookup should return T | undefined

TS 2.0.3
    const xs = [1,2,3];
    const x5 = xs[5]; // type is number, expected number | undefined

The type system doesn't know of care about the length of xs, so I would expect any lookup in the array to return T | undefined.

IMO, even the strictest type systems tend to allow unsafe array indexing. I think the reason is that a type system should check things that are within its scope of being proven, but without going into the world of proof assistants and formal verification, virtually all array lookups cannot be proven to the type system to be within bounds, so the only practical result is that xs[i]! gets written everywhere instead, or lookups are done through a function that throws in the case of out-of-bounds.

Duplicate of #9235
See also #5203, 7140#issuecomment-192606629, #6229, and 9842

+1 for this. I've been bitten by this compromise a couple times now so count me in for more safety not less!

the only practical result is that xs[i]! gets written everywhere instead

If folks are using an unsafe pattern everywhere, maybe that's exactly what should happen. I don't find it particularly onerous. I guess I'd like to see some data on exactly how much impact this would have on existing TypeScript programs before we write it off as making the language "unusable".

how many real bugs it would find
how many false positives
how much it costs to annotate the false positives w/ ! (this could be automated for existing code)

Right now the sentiment I've seen from TS team is that 1 is negligible, 2 is huge, and 3 is prohibitive. Are there numbers to back up these hunches?
Some alternatives to ! proliferating:

Do undefined-checks on the result. This is the right thing to do in many cases!
Rewrite loops with for (let item of array) or array.forEach instead of for(let i = 0; i < array.length; i++).

Looping over a string[] array with for-of or forEach (or map, etc.) would never emit undefined, since each result is guaranteed to be in-bounds.
The same could be argued for Map<string,string>. map.get('foo') returns string | undefined, but map.set('foo', undefined) would be banned so that when looping over values with forEach or somesuch, you are guaranteed only to get string values, not string | undefined.

Rewrite loops with for (let item of array) or array.forEach instead of for(let i = 0; i < array.length; i++).

1000

this indeed is a duplicate of #9235. thanks @aluanhaddad.
As noted in #9235, this is an intentional behavior, and without this array access would be fairly unusable under --strictNullChecks.

If authors enable strictNullChecking then they should expect some boilerplate overhead in return for increased safety. I'm surprised TypeScript isn't consistent in its approach here—as far as I know, this is the only scenario where the team has decided to go against type safety in favour of reduced boilerplate with regards to strictNullChecking?
I'm not too familiar with many other type systems, but Scala does have List.headOption which will return Option<T>, which would be the same thing as T | undefined in TypeScript.
Indeed there would be slightly more boilerplate if we did return T | undefined, as discussed above, but surely the job of the type system is to return the correct type, so the author can handle that correctly.
Without this there will be a whole class of bugs that TypeScript will never catch. 😒 😢

@OliverJAsh Scala is an interesting example but headOption is a way to get the first element in a collection that may or may not be empty instead of first checking if the collection is empty. But the result of headOption on some TraversableLike[T] is still an Option[T] so we are just deferring the check.
Consider the following Scala:
case class Something(name: String)

var xs = Vector[Something]()
def unsafe = {
  xs head
}
def safe = {
  xs headOption
}
println(safe match {
          case Some(s) => s name
          case _ => "explicit default"
        })
println(unsafe name)

If you index into xs via xs(n) then you get T just like when you call head instead of headOption.

I'm currently working around this with a helper function:
const arrayHead = <T>(ts: T[]): T | undefined => (
	ts[0]
);

it seems bizarre to me that this code is OK when pretty much all other possible errors are covered:
var myArray: string[];

const firstItem = myArray[0];

console.log(firstItem.length);

I vote for firstItem here to be string | undefined


Add searchListener initialization check

Task/Issue URL: https://app.asana.com/0/488551667048375/1203093229437389/f
Description
Adds an initialization check before accessing searchListener.
Steps to test this PR

[x] Add some bookmarks/folders.
[x] Verify that search still works correctly.

Thanks for the review @anikiki!


2.9.0: Unable to exit app after going to notifications activity

Summary:
I am unable to exit the app using the back button just after I go to the notifications activity. Hitting the back button cycles through the notification and main screen infinitely.
Steps to reproduce:

Open the app
Tap on the notification icon (left end of the top bar)
Hit back (should have come to the main screen)
Hit back to exit the app
Hit back agian

Observation
When I hit back in steps 4 I am taken back to the notification activity. In step  5, I'm taken back to home screen. This goes on infinitely and I'm unable to exit the app. This seems very odd.
Device and Android version:
Galaxy J1 ace running Android 5.1.1 (stock)
Commons app version:
2.9.0
Would you like to work on the issue?
No

I can reproduce on latest alpha.
Additionally, the jpp crashes after I do it many many times:
USER_COMMENT=
ANDROID_VERSION=7.1.2
APP_VERSION_NAME=<IP_ADDRESS>
BRAND=google
PHONE_MODEL=Nexus 5
CUSTOM_DATA=
STACK_TRACE=java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.SharedPreferences android.content.ContextWrapper.getSharedPreferences(java.lang.String, int)' on a null object reference
at fr.free.nrw.commons.notification.UnreadNotificationsCheckAsync.onPostExecute(UnreadNotificationsCheckAsync.java:51)
at fr.free.nrw.commons.notification.UnreadNotificationsCheckAsync.onPostExecute(UnreadNotificationsCheckAsync.java:18)
at android.os.AsyncTask.finish(AsyncTask.java:667)
at android.os.AsyncTask.-wrap1(AsyncTask.java)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6186)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

I think @domdomegg submitted a PR for this. Let us try again after his PR is merged :)


Cryptic error message on verify for incomplete Solidity pragmas

When verifying a contract with an incomplete Solidity version pragma, such as pragma solidity ^0.5, the CLI outputs the following error message:

✖ Verifying and publishing contract source code of Counter on etherscan (this usually takes under 30 seconds)
Could not parse .sol for extracting its imports: ParserError: mismatched input '0.5' expecting VersionLiteral (1:17)

Changing the pragma to pragma solidity ^0.5.0 fixes the issue.
The underlying cause is this issue in the parser, which truffle-flattener relies on: https://github.com/federicobond/solidity-parser-antlr/issues/15.
I'm not sure how we can handle this other than fixing the bug in the parser, but in the meantime, hopefully this report will help others facing the same issue.

(note that this only happens when verifying and not when compiling due to our new custom parser)

Maybe we can build a custom flattener based on our own parser...?

Alternatively we can change truffle-flattener to use our own parser, since it only uses the antlr one to extract the imports. It'd also be faster as a side effect :stuck_out_tongue:
@alcuadrado would you be open to this?

I can update it, but I'm not sure which parser you are talking about.

This is the one: https://github.com/frangio/fuzzy-import-parser

How is that parser generated? Have you tested it enough?
Maybe I can release an rc of truffle-flattener with it first


support for database static roles

+1 on this feature. I have use cases where we want static roles for use with 3rd party operators.


Add support for nestedArrays, nestedTables and operators

The VU-Docs have nestedArrays, nestedTables and operators which are not currently implemented (or figured out) for the EmmyLua equivalent in the meta files.
This is required to finish up most of the VEXT related stuff for the 1.0 release.

Example: https://docs.veniceunleashed.net/vext/ref/server/type/player/#weaponunlocks
It’s just that you can do .weaponUnlocks[1][1] and it would give you the weaponunlock for the weapon of slot 1.
Like each weapon has 4 unlocks i think.
So just doing weaponUnlock[1] would return a table or nil.

Maybe sth like this?
code += `table<integer, vector|${_LT(p.type)}[]>`; // nestedTable

code += `vector|table<integer, vector|${_LT(p.type)}[]>`; // nestedArray (who cares, doesn’t even exist)

And operators are not possible atm I guess: https://github.com/sumneko/lua-language-server/issues/599

Fixed in https://github.com/Imposter/vscode-lua-vu/pull/32


Port to VS2019?

Love the color theme! Any chance of a port to VS2019?

I've been working on a VS2019 Port recently.
https://github.com/kai-oswald/NightOwl-VS-Theme
https://marketplace.visualstudio.com/items?itemName=kaos.nightowl

@kai-oswald Looks great! I'll give it a try and get back to you with some feedback. Thanks for doing this :-)

Is it possible to increase the color hightlight in the navigation? It is pretty difficult to see the item being hovered.

Hey, thanks for your feedback! I just updated the theme to v0.1.1 with increased command bar/document tab hover contrast.
For future requests I'd suggest you open an issue on the actual repo (https://github.com/kai-oswald/NightOwl-VS-Theme) or even better submit a PR with your changes :)


1.1.0_crab version of Use env var when getting CMSSW version in CRAB

Mirror of https://github.com/dmwm/WMCore/pull/7604 for our CRAB branch.

@emaszs, Eimilis, do you need a new tag with this patch?

@ticoann Yes please Seangchan, thank you.

Emilis, 1.1.0.crab2 tag was created.


CAV-445: Standardise API responses - Verify endpoint to return status…

… endpoint url in the Location header

refactored verify response, pass headers through

rebuild

PR job is failing only because changes to verification service have not yet been merged. All tests on all repos are passing locally

also tests are failing, please have a look

rebuild


Add the ability to set permanent notification

I am running into a use case where I want my notifications to only be dismissible by user action, not automatically after a timeout. This PR ads that ability, by passing false as the dismissAfter prop to <Notification>s.
I didn't want to change the default behavior of dismissAfter, as it could break for existing users.

Thanks for the PR! I'll review when I can this week. 😄

Can you rebase this branch to the latest commit? Thanks. 😄

Might make sense to change false to 0 so the type is consistent :)

@ungoldman I think, false is fine: it is more explicit in terms of describing what the effect will be.
@cp Do you have time to rebase this? I will be able to merge and release when you can. Thanks!

I'm going to close this PR temporarily and reopen when it's ready for review!

@cp Any updates on this PR?

@cp Would love to have this available.


Problem with my system?

First, thanks a lot for the role. I'm trying to use it, but I experienced an error at Create certificates step:
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": true, "cmd": ["/home/root/.cache/ansible-simp_le/generate-certs", "/home/root/.cache/ansible-simp_le/conf.json"], "delta": "0:00:00.027201", "end": "2016-03-13 14:27:54.053156", "failed": true, "rc": 1, "start": "2016-03-13 14:27:54.025955", "stderr": "Traceback (most recent call last):\n  File \"/home/root/.cache/ansible-simp_le/generate-certs\", line 77, in <module>\n    main(sys.argv)\n  File \"/home/root/.cache/ansible-simp_le/generate-certs\", line 68, in main\n    ret = subprocess.call(cmd, cwd=vhost[\"output\"])\n  File \"/usr/lib/python2.7/subprocess.py\", line 522, in call\n    return Popen(*popenargs, **kwargs).wait()\n  File \"/usr/lib/python2.7/subprocess.py\", line 710, in __init__\n    errread, errwrite)\n  File \"/usr/lib/python2.7/subprocess.py\", line 1327, in _execute_child\n    raise child_exception\nOSError: [Errno 2] No such file or directory", "stdout": "", "stdout_lines": [], "warnings": []}
I'm using Ubuntu 14.04 and don't know, what file or directory could be missing.

I have yet to test if this is the cause of your problem but you are not
supposed to run this role as root/sudo.
Can you give me the contents of /home/root/.cache/ansible-simp_le/conf.json?

{"dest": "/home/root/.cache/ansible-simp_le/simp_le", "vhosts": [{"domains": ["www.shaarli.milhaus.cz", "shaarli.milhaus.cz"], "output": "/var/certs/shaarli_milhaus_cz", "root": "/var/www/shaarli/.well-known/acme-challenge"}], "email": "<my_email>"}
All the directories do exist.

I use this role on multiple VPS running Ubuntu 14.04 and it works fine, but it
is designed to run as an unprivileged user.
Hence the hackish thing I did in defaults/main.yml, I use /home/<user> as
the remote user home directory so the cache is written in /home∕root/.cache
instead of /root/.cache.
You'll want to set the following variable if you plan to keep using root:
simp_le_cache: "/root/.cache/ansible-simp_le"

I successfully ran the role as root on Ubuntu 14.04.
Does /home/root/.cache/ansible-simp_le/simp_le/venv/bin/simp_le exist?

Yes, it exists. I set the variable you mentioned, but the problem remains.

Edit ~/.cache/ansible-simp_le/generate-certs and print cmd and
vhost["output"] before L68.
See if both paths are correct and exist.

I believe the issue is in the generate-certs script caused by a leading slash in the second argument to os.path.join. Proposed fix:
43c43
<     command = [os.path.join(conf["dest"], "/venv/bin/simp_le")]
---
>     command = [os.path.join(conf["dest"], "venv", "bin", "simp_le")]

Confirmed. I wonder why it worked for me.
This is fixed in master, can you try again @miloskroulik ?

Yes, I can confirm that it works afterwards. Thanks a lot @ghostwords and @L-P


Livekit server can't start because of "invalid" TURN configurations

Describe the bug
Because of the config validation introduced on this PR the livekit server now can't start on the latest version because of TURN configurations that are set on the helm chart (such as the loadBalancer annotations). It stays in crashloopbackoff with the following logs:
could not parse config: yaml: unmarshal errors:
  line 15: field loadBalancerAnnotations not found in type config.TURNConfig
  line 17: field secretName not found in type config.TURNConfig

And this is what I'm setting on the helm chart values:
autoscaling:
  enabled: true
  maxReplicas: 3
  minReplicas: 1
  targetCPUUtilizationPercentage: 60
livekit:
  keys:
    asdasdasdasd123: ASDASDasDASDASDASD
  redis:
    address: my-redis.abcdef.ng.0003.euw1.cache.amazonaws.com:6666
  rtc:
    use_external_ip: true
  turn:
    domain: mytest4312.dev
    enabled: true
    loadBalancerAnnotations:
      external-dns.alpha.kubernetes.io/hostname: turn.live.mytest4312.dev
    secretName: livekit-turnz
    tls_port: 3478
  webhook:
    api_key: asdasdasdasd123
    urls:
    - https://rlyd.dev/api/live/events
loadBalancer:
  tls:
  - hosts:
    - live.mytest4312.dev
  type: alb
nodeSelector:
  eks.amazonaws.com/nodegroup: livekit-server-workerz
replicaCount: 2
resources:
  limits:
    memory: 2048Mi
  requests:
    cpu: 7000m
    memory: 1024Mi

That sets this on the envirorment variable with the config file inside the pod (kubectl exec -it livekit-server-5fdd96f9b6-d42nz  -- env):
...
LIVEKIT_CONFIG=keys:
...
turn:
  domain: turn.live.mytest4312.dev
  enabled: true
  loadBalancerAnnotations:
    external-dns.alpha.kubernetes.io/hostname: turn.live.mytest4312.dev
  secretName: livekit-turnz
  tls_port: 3478
...

Server

Version: 1.2.4
Environment: EKS

To Reproduce
Steps to reproduce the behavior:

Update livekit server to latest version (1.2.4)
Set a secret and loadBalancerAnnotations for TURN on the helm chart.

Expected behavior
If these configurations on the helm chart are not valid to be parsed inside the livekit-server then they shouldn't be passed to the envirornment variable tat contains the configuration file to be parsed by the server.

One more thing is that the main problem might be here on the helm chart: https://github.com/livekit/livekit-helm/blob/master/livekit-server/templates/configmap.yaml#L7
It is setting on the configmap all the values "blindly", including the ones that the server won't be able to parse as a config (in my case loadBalancerAnnotations and secretName but maybe there's other configs that will also trigger this issue).

ugh.. you are right this is a problem. I think in the near term, we can introduce a mode where it bypasses strict mode. I'll take a look at this tomorrow.

Thanks @davidzhao! yup, that could be a solution. Keeping the logs in non-strict mode would be helpful anyways 🤷♂
Another solution could be on the helm chart avoid passing "invalid" configurations to the configmap (in this case loadBalancerAnnotations and secretName) It would get more verbose though...

This was fixed in #1105 and released in v1.2.5. Give it a shot and let me know how this works for you!.

thank you @davidzhao 🙇


About ohem

loss_c = log_sum_exp(batch_conf) - batch_conf.gather(1, conf_t.view(-1, 1))
I'm confused with this line of code. Why not using conf_data to select hard examples? What is this loss_c stand for?

I'm confused with this line of code too. Do you understand why use loss_c instead of conf_data here now?

loss_c = log_sum_exp(batch_conf) - batch_conf.gather(1, conf_t.view(-1, 1))
I'm confused with this line of code. Why not using conf_data to select hard examples? What is this loss_c stand for?
I'm confused with this line of code too. Do you understand why use loss_c instead of conf_data here now?

I'm confused about this process, too. Maybe someone can explain this.

I'm also confused.

loss_c = log_sum_exp(batch_conf) - batch_conf.gather(1, conf_t.view(-1, 1))
I guess this author considers log_sum_exp part as an approximation to maximum function, which represents predicted confidence.
And batch_conf.gather(1, conf_t.view(-1, 1)) just pick out target classes' confidence.
It's just my guess, but you can change it to torch.nn.functional.cross_entropy(batch_conf, conf_t.view(-1), reduction='none') or the like. Although the eventual rank would be a little different.


Static image doesn't repeat

I modify this example https://openlayers.org/en/latest/examples/static-image.html but when zoom out the imagen doesn't repeat on x, any ideas?

see #7288


Improve rendering of variables view

Environment data

VS Code version: 1.67.0
Jupyter Extension version (available under the Extensions sidebar): v2022.4.1011282140
Python Extension version (available under the Extensions sidebar): v2022.6.1
OS (Windows | Mac | Linux distro) and version: MacOS Big Sur
Python and/or Anaconda version: 3.9
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Jupyter server running: Local

Expected behaviour
Variable view style is consistent with the rest of VSCode.
Actual behaviour
It isn't and it has never been.

Look at the size of those headers. And the pitch black color. A slight decrease of font size and weight in the header would IMO improve the appearance.

Indeed sometimes it seems like there is a slight zoom after the initial rendering:
https://user-images.githubusercontent.com/2845433/168107566-415bab83-8c0d-4723-9b4c-2ae1ca4b6ec7.mov

@memeplex Thanks for the report here. The variable viewer is implemented using a separate webview and (as you noted) does have some inconsistencies of look and feel with VS Code. We can keep this open as a suggestion for cleanup, though we may consider seeing if we can move from the webview to a native vscode control at some point instead of putting more cleanup work into the current view.

Thanks @IanMatthewHuff. There's another related issue that would probably be addressed by moving to a native vscode control as you said, but perhaps I could file a different report for it:

It seems that the font is not monospaced so there's an alignment problem (look at the dots).

@IanMatthewHuff upon further inspection, there is a notebook.outputFontFamily setting that notebook html output is ignoring (including the variables view as reported above), moreover there is notebook.markup.fontSize but no corresponding notebook.markup.fontFamily, which may be more appropriate for html output. This seems to me a problem in vscode general notebook support, not specific to the jupyter extension.

This will become built-in to vscode, then it will match by default https://github.com/microsoft/vscode/issues/165445


Unhandled message type: {"tag":"test"}

If types will be implemented later, but not prior to first release, please comment them so users can't poke and ruin the notebook post.
Preferable alternative: Leave them and let other designers maybe use them and allow the front end to ignore inlines that it doesn't like.
Error: Unhandled message type: {"tag":"test"}
    at Xp (http://localhost/apps/groups/assets/index.5ecbd790.js:1007:74497)
    at QH (http://localhost/apps/groups/assets/index.5ecbd790.js:67:53181)
    at Jq (http://localhost/apps/groups/assets/index.5ecbd790.js:71:8838)
    at Aq (http://localhost/apps/groups/assets/index.5ecbd790.js:71:955)
    at g1e (http://localhost/apps/groups/assets/index.5ecbd790.js:71:881)
    at Fb (http://localhost/apps/groups/assets/index.5ecbd790.js:71:732)
    at pP (http://localhost/apps/groups/assets/index.5ecbd790.js:69:10926)
    at http://localhost/apps/groups/assets/index.5ecbd790.js:67:38960
    at e.unstable_runWithPriority (http://localhost/apps/groups/assets/index.5ecbd790.js:56:3906)
    at Ag (http://localhost/apps/groups/assets/index.5ecbd790.js:67:38737)

@rabsef-bicrym Is this still an issue for you?

Closing, happy to reopen if confirmed it's still valid.


lr_scheduler doesn't work when start training from checkpoint

Hello:
I want to use MultiStepMultiGammaLR scheduler in my pruning lr_scheduler.
When I using the compress_classifier.py to pruning the res_net20_cifar from the begining and define the lr_scheduler in the yaml file, it works well.
But when I using the checkpoint to train and prune, the lr_scheduler defined in the yaml file doesn't work. The lr doesn't decay when the epoch achieve defined milestone.
I use the script below:
python3 compress_classifier.py --arch resnet20_cifar  dataset/ -p=50 --lr=0.3 --epochs=150 -b 128 --compress=resnet20_cifar_ele_pruning.yaml -j=1 --vs 0 --deterministic --resume=logs/resnet20_cifar_baseline/checkpoint.pth.tar
Below is my yaml setting
version: 1
pruners:
  low_pruner:
    class: AutomatedGradualPruner
    initial_sparsity : 0.05
    final_sparsity: 0.60
    weights: [module.layer1.2.conv1.weight,  module.layer1.2.conv1.weight,
              module.layer1.0.conv1.weight,  module.layer1.0.conv2.weight,
              module.layer1.1.conv1.weight,  module.layer1.1.conv2.weight]

  mid_pruner:
    class:  AutomatedGradualPruner
    initial_sparsity : 0.05
    final_sparsity: 0.67
    weights: [module.layer2.2.conv1.weight,  module.layer2.2.conv2.weight,
              module.layer2.0.conv2.weight,  module.layer2.0.downsample.1.weight,
              module.layer2.0.conv1.weight,  module.layer2.0.downsample.0.weight,
              module.layer2.1.conv1.weight,  module.layer2.1.conv2.weight]

  high_pruner:
    class:  AutomatedGradualPruner
    initial_sparsity : 0.05
    final_sparsity: 0.76
    weights: [module.layer3.0.conv1.weight,  module.layer3.1.conv1.weight,
              module.layer3.1.conv2.weight,  module.layer3.0.conv2.weight,
              module.layer3.0.downsample.0.weight, module.layer3.0.downsample.1.weight,
              module.fc.weight]
lr_schedulers:
  training_lr:
    class: MultiStepMultiGammaLR
    milestones: [300, 302, 400]
    gammas: [0.1, 0.1, 0.5]

policies:
    - pruner:
        instance_name: low_pruner
      starting_epoch: 300
      ending_epoch: 400
      frequency: 2
    - pruner:
        instance_name: mid_pruner
      starting_epoch: 300
      ending_epoch: 400
      frequency: 2
    - pruner:
        instance_name: high_pruner
      starting_epoch: 300
      ending_epoch: 400
      frequency: 2
    - lr_scheduler:
        instance_name: training_lr
      starting_epoch: 0
      ending_epoch: 400
      frequency: 1

Is there any problem in my script and yaml setting?

I guess it is because you  ignore the start epoch is not 0 if you resume model from checkpoint file instead it is the last epoch you train last time. so the lr scheduler may work on epoch 300+start epoch, 302+.., 400+..]. i hope this will solve your problem.

Hi @stvreumi  and @hunterkun,
Kun's answer was also what I initially thought, but the answer is a bit more complicated.
If you look at PyTorch's LRScheduler implementation, you will see that the basic mechanism is pretty simple: each time step() is invoked they increase a counter (self.last_epoch) and then update the LR.  So self.last_epoch tell the LR scheduler what is the current epoch.
Now we get back to Kun's answer: you are resuming a checkpoint at epoch=180, but when MultiStepMultiGammaLR is instantiated, the constructor argument last_epoch is not explicitly set and so it gets the value -1 because this is the default value (see code).
So MultiStepMultiGammaLR starts counting from 0, not from 180.
The fastest and simplest way around this is to tell MultiStepMultiGammaLR  that we are starting at epoch=180:
lr_schedulers:
  training_lr:
    class: MultiStepMultiGammaLR
    milestones: [300, 302, 400]
    gammas: [0.1, 0.1, 0.5]
    last_epoch: 180   <============================ I added this line

This is annoying, and error prone, so I think the better solution is to determine what is the epoch we are starting from, and to pass this to the constructor of the LR policy.
The relevant code is here and here.
If either one of you wants to take a stab at this and issue a PR with the fix, I would be happy ;-).
Cheers!
Neta

@nzmora I try to implement your idea that is to add new  parameter named start_epoch to file_config function and then the calling
lr_schedulers = __factory('lr_schedulers', model, sched_dict, optimizer=optimizer, last_epoch=start_epoch)
but i encounter a problem: if we explicitly set last_epoch value other than -1, then pytorch will think you want to resume a optimizer which has 'initial_lr' attribute. However, our optimizer obviously don't have this. so it would give KeyError.
if last_epoch == -1:
     for group in optimizer.param_groups:
           group.setdefault('initial_lr', group['lr'])
else:
      for i, group in enumerate(optimizer.param_groups):
             if 'initial_lr' not in group:
                  raise KeyError("param 'initial_lr' is not specified "
                           "in param_groups[{}] when resuming an optimizer".format(i))

@hunterkun I haven't tested this yet, but I think we need both (1) + (2), or (1) + my initial suggestion (setting the epoch in LRScheduler constructor).
If we do (2) alone, then the LR of the first epoch (until we take the first step()) will be wrong.
This code in the constructor of _LRScheduler takes a step():
https://github.com/pytorch/pytorch/blob/3749c581b79cba49f511b19fa02c0f50fa05b250/torch/optim/lr_scheduler.py#L22
And in the step() function the _LRScheduler sets the Optimzer's initial LR:
https://github.com/pytorch/pytorch/blob/3749c581b79cba49f511b19fa02c0f50fa05b250/torch/optim/lr_scheduler.py#L51-L56
I'm also thinking of a different solution: (2) + invoke step(<first epoch from checkpoint>) after constructing the _LRScheduler.  I'm not sure I like this solution.  It is simple but somewhat brittle.

@nzmora,  you think the initial lr is still what we set using command line rather than that of last training time we saved when we resume, isn't it? If so, this small change indeed consider it. And it is sensible that we save and load the optimizer and then it is possible that we can resume training from the last lr in the last time.

Considering the points raised here and in @hunterkun's PR (#72), I think it would be best to just go ahead and implement loading of the optimizer state. Note that we're already saving it today.
(In fact, some optimizers (not SGD) actually maintain and update an internal state other than the LR. So if we're looking to properly support resumed training, we should be loading it anyway).
Following @nzmora's comment about the LR in the first epoch after resuming, it seems to me the solution has to be (1) + passing the epoch number in the scheduler's CTOR. (1) + (2) won't work. Then we could also "play it safe" and pass the epoch number in each call to step as in (2), but I don't really see a point in doing that.

@hunterkun (or @stvreumi) would you like to tackle this?

First I want to thank @hunterkun and @nzmora, currently the script is working as I expected after changing  the milestone epoch.

As far as I understand from @guyjacob, the next thing we need to do is
(1) + passing the epoch number in the scheduler's CTOR, right?
And I have a problem is that, if we resume the optimizer from the checkpoint, what happening when the optimizer is conflict with the lr_scheduler?
I'm new to this repo. If I misunderstand anything, please let me know, thanks.
And I'm in the midterm week, sorry for replying late.

@stvreumi no worries about late replies, thanks for taking the time to contribute :)
I'm not sure what you mean by optimizer conflicting with the LR scheduler. The optimizer only stores the actual learning rate value. The LR scheduler takes the optimizer in its CTOR and initializes the learning rate according to the optimizer. Where do you see a possible conflict?

@guyjacob I have this idea because I see a lot of data in the optimizer value(ex. momentum buffer) when loading the checkpoint rather than just learning rate. So I have a question that, if I use different scheduler or learning rate from the checkpoint, will this cause any conflict?

OK I see, I will try my best to figure out how to fix the problem when I have time.

Hi,
Closing this due to staleness. Feel free to reopen if needed.


Scripting Image

Describe the solution you'd like
An Image for the module "Skriptsprachen".
Needs bash and python, maybe perl as well.
Additional context
Jupyter kernels:
Perl, zsh, lua, bash

Most of the basic stuff will be put in the vscode-base-image. New features can be added basically any time.


Compilation error: function full_path/1 undefined

I included Trot in a project of mine, and plug_heartbeat comes as a dependency. Then I've got this error at compile time:
== Compilation error on file lib/plug_heartbeat.ex ==
** (CompileError) lib/plug_heartbeat.ex:48: function full_path/1 undefined
    (stdlib) lists.erl:1337: :lists.foreach/2
    (stdlib) erl_eval.erl:669: :erl_eval.do_apply/6

==> plug_heartbeat
could not compile dependency plug_heartbeat, mix compile failed. You can recompile this dependency with `mix deps.compile plug_heartbeat` or update it with `mix deps.update plug_heartbeat`

Which is weird because if I git clone & mix compile the repository, it compiles perfectly well.

Hey @Annwenn, thanks for reporting! I updated plug_heartbeat to v0.2.0, which fixes the problem, and opened an issue on trot to notify of the update. Let me know if that'll fix things!

@whatyouhide Thanks for jumping on this so quickly and letting me know about your fix!
@Annwenn I just pushed up v0.5.3 of Trot which uses v0.2.0 of plug_heartbeat, let me know if you have any problems with it.


error about openmp

my computer does not install openmp, i configure with --disable-openmp, but i still could not compile with error:
./.libs/libtesseract.so: undefined reference to omp_get_thread_num' ./.libs/libtesseract.so: undefined reference to GOMP_sections_end_nowait'
./.libs/libtesseract.so: undefined reference to omp_get_num_threads' ./.libs/libtesseract.so: undefined reference to GOMP_parallel'
./.libs/libtesseract.so: undefined reference to GOMP_parallel_sections' ./.libs/libtesseract.so: undefined reference to GOMP_sections_next'
so, if have some bugs about the configure!

which tesseract version (revision) you use?

I use 4.0 version, and i set the _OPENMP undef manually, then it could compile.

Please submit config.log and output of this commnad (onfigure.log):
./configure --prefix=/usr 2>& | tee configure.log

@yhl41001, do you still have this issue?
If you do, please response to zdenop.

@zdenop, please close this issue.


Prefer Paint Timing API over chrome.loadTimes()

Fixes apache/incubator-pagespeed-ngx#1537

This looks good to me; did you get a chance to test this?
Is this ready for merging?

Just tested with the mod_pagespeed build process. Indeed, Closure Compiler doesn't like the omission of var declarations.

@injust is this good to go as far as you are concerned?


Update(s)

Don't merge yet, I might add more tomorrow (it's 8 PM rn)

I mean, thanks for wanting to contribute, but the shell is something I wanna get working myself, and then let people add stuff to it. Also, changing the prompt to "nop>" is something completely subjective, and I don't like it that much.

Ok. will remove. Also, should I try adding the cursed NMI again or should I forget it.

Meh, just forget about NMI, like almost no OS even changes that, and it isn't that important. Oh and I pushed some new changes with a new prompt and a better shell, please check it out.

I checked it out, and I like the new prompt. I think I'll just close this, seeing as I don't have any new ideas for what to add.

UNLESS YOU WANT ME TO TRY TO ADD A NEW DRIVER OR SOMETHING why am I yelling.


Update the provider version to use minimum 1.65.0

In the CBR module, the provider constraints are updated to >= 1.65.0, hence the need to update.

Available in release https://github.com/terraform-ibm-modules/terraform-ibm-event-streams/releases/tag/v2.2.3, closing this.


Compilation warning "(re)run Biber on the file"

Hi, I have problems with your template. However, I find it so nice that I still want to use it. Can you help me how to fix the errors?
 pdflatex.exe -synctex=1 -interaction=nonstopmode "main.tex"

I have compiled your project with Github Workflow. It doesn't work there either. I have attached the log for you. Can you help me there?
https://github.com/Zeyecx/LatexTemplate/runs/3097906076

Hi @Zeyecx 👋
That is in fact the expected warning for the first run. As explained by the message, you now have to run biber (to build the bibliography-related files) and then re-run LaTeX (in your case pdflatex).
Normally, you shouldn't have to do that manually as most LaTeX editors (texmaker, texstudio, overleaf, etc.) do it automatically. For more information, see

https://tex.stackexchange.com/questions/523493/package-biblatex-warning-please-rerun-biber
https://tex.stackexchange.com/questions/154751/biblatex-with-biber-configuring-my-editor-to-avoid-undefined-citations

zeyecx@Lenovo:/mnt/c/git/sleek-template$ pdflatex -synctex=1 -interaction=nonstopmode main.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./main.tex
LaTeX2e <2020-02-02> patch level 2
L3 programming layer <2020-02-14>
(/usr/share/texlive/texmf-dist/tex/latex/base/report.cls
Document Class: report 2019/12/20 v1.4l Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
(/usr/share/texlive/texmf-dist/tex/generic/babel/switch.def)
(/usr/share/texlive/texmf-dist/tex/generic/babel-english/english.ldf
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def
(/usr/share/texlive/texmf-dist/tex/generic/babel/txtbabel.def))))
(./packages/sleek.sty

LaTeX Warning: You have requested package `packages/sleek',
               but the package provides `sleek'.

(/usr/share/texmf/tex/latex/lm/lmodern.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/lm/t1lmr.fd))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty)

! LaTeX Error: File `eurosym.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.16 ^^M

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on main.log.
zeyecx@Lenovo:/mnt/c/git/sleek-template$ biber main.tex
INFO - This is Biber 2.14 (beta)
INFO - Logfile is 'main.tex.blg'
ERROR - Cannot find 'main.tex.bcf'!
INFO - ERRORS: 1

Unfortunately, the bibier only crashes. I throw out a few parts and put the packages in the root. Maybe that will help.

You should call biber main not biber main.tex.


resolve make targets that didn't match

Fix targets/requirement names that didn't match

fixed a different way


This extention Stopped working

You cant see the the continue watching window but the video still stops.

try https://addons.mozilla.org/nl/firefox/addon/ytnonstop/

try https://addons.mozilla.org/nl/firefox/addon/yt-nonstop/

@BPower0036 causes tracks playing to jump back to the beginning

@BPower0036 causes tracks playing to jump back to the beginning

If you install the extension it reloads the webpage. That's why it starts over again at the beginning of a track.

try https://addons.mozilla.org/nl/firefox/addon/yt-nonstop/

You are essentially forcing me to switch to firefox which is not ideal in any way the reason I commented here is to try to get the developer of the original extension for chrome to work once more.

@BPower0036 causes tracks playing to jump back to the beginning

@ite-klass If you install the extension it reloads the webpage. That's why it starts over again at the beginning of a track.

That's not what was happening. It happened three or four times on automatic playback song switches.

You are essentially forcing me to switch to firefox which is not ideal

I'm sorry but it's your fault, you omit information that you use Chromium (e.g. Chrome/Edge/Opera) on a daily basis.
For future reference, don't skip this when the repository owner has a break from coding for more than 6 months.
I assume there's a small chance he'll remember his GitHub account.

You are essentially forcing me to switch to firefox which is not ideal

I'm sorry but it's your fault, you omit information that you use Chromium (e.g. Chrome/Edge/Opera) on a daily basis.
For future reference, don't skip this when the repository owner has a break from coding for more than 6 months:

I assume there's a small chance he'll remember his GitHub account.
Both Dutch boys support Edge:
https://microsoftedge.microsoft.com/addons/detail/youtube-nonstop/ddobgngkifgapahlheghhckckkcgpikf
https://microsoftedge.microsoft.com/addons/detail/yt-nonstop/ljhaomibkgdhmfdiglflmkijdbiejcom
Other Chromium needs use CRX viewer (https://chrome.google.com/webstore/detail/chrome-extension-source-v/jifpbeccnghkjeaalbbjmodiffmgedin) or manually install from releases:
https://github.com/JohnyP36/YT-Nonstop/releases
https://github.com/BPower0036/YT-Nonstop/releases

Thanks the first github link led me to and extention that actually works properly! appreciate it!


[Enhancement] add glow conditional on entity properties

Maybe this is possible through scripting and I don't know how to go about it.  What would be nice is to be able to add entity glow conditionally based on entity properties.  A big one is highlighting drowned carrying tridents, but could also include mobs with one or more diamond armor, or horses with a speed of 14+.  Things like that.

For drowned I just enable "Show Equipped Items" and I can see drowned with trident easily. Same with diamond armor.
It is not the same effect as having script to decide which entity to highlight, but decent workaround.
As for adding script conditions for blocks/entities ESP. I was thinking about this, but it will be big amount of work.

Will add this in the next version. Example:
int id = currentEntityEsp.getId();
float speed = game.entities.getHorseMovementSpeed(id);
float jump = game.entities.getHorseJumpHeight(id);
currentEntityEsp.setTitle(
    "Speed: " + convert.toString(speed, 3) +
    " / Jump: " + convert.toString(jump, 2));

Available methods:
currentEntityEsp.disableCollisionBox()
currentEntityEsp.disableOutline()
currentEntityEsp.disableOverlay()
currentEntityEsp.disableTracer()
currentEntityEsp.getId() → int
currentEntityEsp.setTitle(string title)

Added in 2.13.0


New package: Posets v0.1.0

Registering package: Posets
Repository: https://github.com/scheinerman/Posets.jl
Created by: @scheinerman
Version: v0.1.0
Commit: 2d345f5d0db9872a88c5d31b677445b7d378904d
Reviewed by: @scheinerman
Reference: https://github.com/scheinerman/Posets.jl/issues/1#issuecomment-2269817565
Description: Partially ordered sets

[noblock] Looks good! The name is not an issue.


[Broken CI] main builds blocked due to 2.5.0 not being available

All current PRs to main, in security plugin, are broken due to unavailability of 2.5.0 which is blocking CI.
Reference issue: https://github.com/opensearch-project/security/issues/2221

We haven't initiate our build for 2.5 as we don't currently have the manifest for 2.5. We are trying to resolve some of the issues on our side so we could get it started.
https://github.com/opensearch-project/opensearch-build/issues/2854

@zelinh Any update? This is blocking our main builds in Security from executing BWC tests that pass.

@opensearch-project/engineering-effectiveness  We cannot complete the release issues for 2.4.0 which requires we have updated our plugins 2.x branches to the 2.5.0 build.

@peternied We should be now having the build for 2.5.0 min artifact.

CI is starting to pass [1], we are able to build against 2.5.0 - thanks @zelinh !
[1] https://github.com/opensearch-project/security/pull/2249

Closing this issue as 2.5.0 builds are available now.


Update locale file da.js

Set uppercase month names.

Seems not to be actial, because of

In Danish, they would be capitalized only if used as the first word in a sentence.


Improve documentation and errormessage of bitfields.

A leftover of PR #7787.
I'm not sure what exactly is meant with the word 'bitfield': A single entry or the whole thing? (According to Wikipedia it is still something else, more or less a BitArray). I used bitfield for the whole thing, but after I finished got in doubt and are somewhat confused now. If you think it should be different, I'll reword it.
I also changed some ddoc style. IMHO structs and classes aren't params - it seems to me, that this was some sort of abuse of these macros. Having said this, I couldn't find a definitive description which macros should be used for Phobos docs. For me, it seems, every module uses it's own convention... If you've got a pointer to something useful, I'll be happy.

Sorry for being so rigorous, but this one seems to be the last round.

Thank for being so rigorous. :-) I think it's a good thing to do so.

Thank you! I will let another 3 days pass until merging so that other people get a chance to take a look.


Change Twitter Symbol to X in footer section

I would like to propose a change to update the Twitter symbol to "X"  to reflect Twitter's recent rebranding. This change ensures consistency with the platform's new identity and avoids any potential confusion for users. please assign this issue to me

Please don't make this type of issues we have a great project please look other problems


[BUG]: NodeLink doesn't reset player position in player start event

NodeLink version
Latest GH version
Description
NodeLink doesn't reset the player position in the player start event on WS.
When overriding track, NodeLink should reset the position however, it doesn't reset and it's strange.
Client
TsumiLink
Steps to reproduce
Play some track, and override it without stopping it.
This is what it looks like:
{
  guildId: '919809544648020008',
  track: {
    encoded: 'QAAA0QMACldha2UgTWUgVXAABkF2aWNpaQAAAAAAA8aCABYwbnJSUDJiazE5ckxjMG9ya1dQUWsyAAEANWh0dHBzOi8vb3Blbi5zcG90aWZ5LmNvbS90cmFjay8wbnJSUDJiazE5ckxjMG9ya1dQUWsyAQBAaHR0cHM6Ly9pLnNjZG4uY28vaW1hZ2UvYWI2NzYxNmQwMDAwYjI3M2UxNGYxMWY3OTZjZWY5ZjlhODI2OTFhNwEADFNFVU03MTMwMTMyNgAHc3BvdGlmeQAAAAAAAAAA',
    info: {
      title: 'Wake Me Up',
      author: 'Avicii',
      length: 247426,
      identifier: '0nrRP2bk19rLc0orkWPQk2',
      isSeekable: true,
      isStream: false,
      uri: 'https://open.spotify.com/track/0nrRP2bk19rLc0orkWPQk2',
      artworkUrl: 'https://i.scdn.co/image/ab67616d0000b273e14f11f796cef9f9a82691a7',
      isrc: 'SEUM71301326',
      sourceName: 'spotify',
      position: 0
    }
  },
  volume: 100,
  paused: false,
  filters: {},
  voice: {
    token: '',
    endpoint: 'discord.media:443',
    sessionId: ''
  },
  state: { time:<PHONE_NUMBER>908, position: 8300, connected: false, ping: -1 }
}

Example code
No response
Confirmations

[X] My environment meets the minimum requirements.
[X] I have verified that this is not a duplicate issue.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I couldn't reproduce this -- when replacing a track it resets the voice statistics (frameStats), used for position.


docs: documentation on versioning

Which problem is this PR solving?
This actually an issue in a PR form to

explain my understanding of what happenend with the versioning breakage in contrib;
to allow for better comments and updating the situation as we go with the history;
to grow that into a guide of some sort for contributors in core as well as contrib.

Short description of the changes
Currently just a description for what happened and why + couple of my personal takes for solutions for feedback and critisism.
Read the file stylized for more confortable reading here.

I think one of the important topics is to avoid duplication of modules. NPM dedup seems to behave different between major versions. I'm not 100% sure but I think the dedup differs also between modules mentioned in dependencies and the automatic installed peer dependencies.
I think the main problem we have regarding version ranges are that serveral modules implement an interface from another module. For them a semver minor update can be breaking. e.g.

SDK implement API
propagators implement parts of API
context managers implement parts of API
Exporters/SpanProcessors implement parts of the SDK API

Besides the pure JS compatibility there is also the typescript compatibility. see e.g. https://github.com/open-telemetry/opentelemetry-js/issues/2845
The cause is by using the class Span in interface SpanProcessor.
The type system tells here that classes - even with the same name and shape - do not match if they come from different .d.ts files. So if dedup is not working for whatever reason users may end up in such problems even the JS code would work fine.
The solution for this would be to never use a class in APIs instead use an interface. For above case I started this here but I noticed that this is not the sample as class Span refers to other classes like Resource.
I assume fixing this in all OTel modules is quite some work and most likely breaking. Besides that some tooling would be nice to avoid that classes are exported by accident. Not sure if classes are the only issue here.


Request new module: wazi-dev-spaces-operator

Related user story
#275
Type of module
gitops
If requesting a terraform module, what is the target cloud platform?
n/a
What is the purpose of the module?
Deploy Wazi Dev Spaces operator into an OpenShift cluster
What is the category of the module?
middleware

released


JSDoc Issues

Part of #1684 for post 1.0.  We should consider submitting issues for each to JSDoc.

[x] After #1729, array types do not create links to the element type.  Not investigated yet.
[x] Modules containing functions do not show the function signature.  Example binarySearch. This is because it can't tell whether the module is a function, or an object (example WindingOrder)  This may be fixable in our template.
[x] Functions still must be declared as var Foo = function() instead of function Foo().  I assume this is a parsing problem in JSDoc that we cannot fix on our end.
[ ] @link inside @default does not create a link in the documentation, e.g., @default {@link Cartesian3.ZERO} just turns into Cartesian3.ZERO.  @link tags elsewhere appear to work.
[ ] #832 - @exception for ECMAScript 5 properties.

@mramato any update if these are still relevant with the latest version?

@link inside @default does not create a link in the documentation, e.g., @default {@link Cartesian3.ZERO} just turns into Cartesian3.ZERO. @link tags elsewhere appear to work.

#832 - @exception for ECMAScript 5 properties.

I'm pretty sure they are both still relevant, but we should actually try and see.  I'll do that when I get a chance.

@pjcozzi @mramato I can confirm that both

@pjcozzi @mramato I can confirm that both

@link inside @default does not create a link in the documentation, e.g., @default {@link Cartesian3.ZERO} just turns into Cartesian3.ZERO. @link tags elsewhere appear to work.
#832 - @exception for ECMAScript 5 properties.

are working with the latest version.

Thanks for the research, @bampakoa.  @mramato if/when we are on the latest version, can you please close this?


README: Use syntax highlighter that allows comments

Use the jsonc instead of the json syntax highlighter in the README
to avoid the comments being marked as error.
The GitHub syntax highlighter seems to have parsing issues with the use
of comment tokens /** and */ within strings: it thinks those are
JSON comments, even though they are normal strings. Converting the JSON
fragment into a full JSON document with curly braces at the beginning
and end brings the parser back on track and gets us the right syntax
highlighting.

Before:

After:

Hi @imphil ,
thank you for contributing!
I have considered this before but unfortunately the jsonc style isn't correct either.
You can see the problem in your second screenshot where everything after "/**" is commented out.
Do you have a proposal on how to fix this?

@cschlosser good catch! I experimented a bit, and neither the jsonc nor the json5 highlighter (which would be the other option) seem to properly highlight the "comments within strings". Switching from a JSON fragment to a full JSON document works, however. I updated the PR description accordingly.


New User, Error after setting sync path incorrectly

Sync: Error Logged In Console (Help menu > Toggle Developer Tools).
the console has : Error: EISDIR: illegal operation on a directory, read
Prior to this error, I tried setting custom sync path but it was an incorrect path not sure how to fix
thanks

Finally found syncLocalSetting and removed the incorrect paths in "customFiles" properties to nothing so "customFiles":{}, until I figure out how to use them correctly
Drive:\Users%UserProfile%\AppData\Roaming\Code\User\syncLocalSettings.json


[CosmosDB] Dependency on<EMAIL_ADDRESS>with security vulnerability

CosmosDB SDK has a reference to<EMAIL_ADDRESS> This is reported have a medium level DoS security vulnerability which they say has been addressed in version 2.6.1.
This is being picked up by security scans in our product's build pipelines.  Are there any plans to update the reference of node-fetch to version 2.6.1 in the near future?

Actually my bad, I see it's ^2.6.0, and installing the latest version of the SDK in our project seems to have pulled in<EMAIL_ADDRESS>


Updated inetd details at basic-network-tools.md

I found inetd for Alpine Linux, link https://dev.alpinelinux.org/~clandmeter/other/forum.alpinelinux.org/forum/general-discussion/alpine-inetd-setup.html

Thanks @toblery - and sorry for the delay, just getting back to the articles today


Updated v1 query script to meet new arch slide standards

Added a few features to query multiple scopes at once (removed default scope unfortunately along the way), new output mode (PR mode that queries and group all stories per category based on TSA status). Changed the presentation as well and added ability to sort per id / order (default).
Sorry didn't work in a branch so couldn't squash before creating the PR.
See the updated README for usage on all new modes.

Note that this also queries Big stories and Features by default as my programs' PMs used that ... should probably add a command line switch in the future to control that.


Support 3.5 for version option

@kddnewton Currently there are bunch of versions comparisons like https://github.com/ruby/prism/blob/3c4851cbdc001f6c02720819c357400f4251f30c/src/prism.c#L2969 in prism.c
I think they are correct because all conditions use PM_OPTIONS_VERSION_CRUBY_3_3 (and it is the lowest version) and none use 3_4/LATEST (which would most likely result in a bug) but it feels brittle.
WDYT about giving enum values that increase with newer versions?
That way one could do e.g. parser->version >= PM_OPTIONS_VERSION_CRUBY_3_4 instead of parser->version != PM_OPTIONS_VERSION_CRUBY_3_3, which seems a lot clearer about intent (behavior for 3.4+).


Table to Polygon - does not accept a csv file as Input Table

@topowright @mfunk
Conversion Toolset - Table to Polygon - does not accept a csv file as Input Table.  The sample file was created by copying the TableToPolyline.csv.  If Model opened for editing and saved w/o making changes, the parameters are rearranged (to be logged in seperate issue).
Tested using Pro 1.3 build 5792

Redundant issue: https://github.com/Esri/military-tools-geoprocessing-toolbox/issues/76

Not sure this one is related to #76  as that problem is fixed for the Pro version of the tool. However this is showing a problem with Model Builder in that the link to the Polyline To Polygon script tool is broken, and there is no way to fix it (that is, reset it's correct source location).

In ArcMap Model Builder would allow us to browse to the correct location of the *Polyline To Polygon tool.

This is also affecting Table To Ellipse (link to Polyline To Polygon is broken) and Convert Coordinates (link to sourceCC is broken).

This is what we see in ArcMap when the link to a tool is broken..

I noticed I would receive these errors if I sync'd from github WHILE I had ArcMap or Pro open with the toolboxes, etc.  Closing all Arc-products and doing a hard reset fixed them.

Looks like there's been some core changes in Pro that breaks the animated flash that we created.

Fixed in #146

fix verified


languageServer\hostfxr.dll failed

Environment data

VS Code version: 1.25.1
Extension version (available under the Extensions sidebar): 2018.7.1
OS and version: win7
Python version (& distribution if applicable, e.g. Anaconda): 3.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A

Actual behavior
XXX
Expected  behavior
XXX
Steps to reproduce:

XXX

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Starting Microsoft Python language server.
Failed to load the dll from [c:\Users\mustafa\.vscode\extensions\ms-python.python-2018.7.1\languageServer\hostfxr.dll], HRESULT: 0x80070057
The library hostfxr.dll was found, but loading it from c:\Users\mustafa\.vscode\extensions\ms-python.python-2018.7.1\languageServer\hostfxr.dll failed
  - Installing .NET Core prerequisites might help resolve this problem.
     http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
[Info  - 12:53:27 PM] Connection to server got closed. Server will restart.
Failed to load the dll from [c:\Users\mustafa\.vscode\extensions\ms-python.python-2018.7.1\languageServer\hostfxr.dll], HRESULT: 0x80070057
The library hostfxr.dll was found, but loading it from c:\Users\mustafa\.vscode\extensions\ms-python.python-2018.7.1\languageServer\hostfxr.dll failed
  - Installing .NET Core prerequisites might help resolve this problem.
     http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
[Info  - 12:53:27 PM] Connection to server got closed. Server will restart.
Failed to load the dll from [c:\Users\mustafa\.vscode\extensions\ms-python.python-2018.7.1\languageServer\hostfxr.dll], HRESULT: 0x80070057
The library hostfxr.dll was found, but loading it from c:\Users\mustafa\.vscode\extensions\ms-python.python-2018.7.1\languageServer\hostfxr.dll failed
  - Installing .NET Core prerequisites might help resolve this problem.
     http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
[Info  - 12:53:27 PM] Connection to server got closed. Server will restart.
Failed to load the dll from [c:\Users\mustafa\.vscode\extensions\ms-python.python-2018.7.1\languageServer\hostfxr.dll], HRESULT: 0x80070057
The library hostfxr.dll was found, but loading it from c:\Users\mustafa\.vscode\extensions\ms-python.python-2018.7.1\languageServer\hostfxr.dll failed
  - Installing .NET Core prerequisites might help resolve this problem.
     http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
[Info  - 12:53:27 PM] Connection to server got closed. Server will restart.
Failed to load the dll from [c:\Users\mustafa\.vscode\extensions\ms-python.python-2018.7.1\languageServer\hostfxr.dll], HRESULT: 0x80070057
The library hostfxr.dll was found, but loading it from c:\Users\mustafa\.vscode\extensions\ms-python.python-2018.7.1\languageServer\hostfxr.dll failed
  - Installing .NET Core prerequisites might help resolve this problem.
     http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
[Error - 12:53:27 PM] Connection to server got closed. Server will not be restarted.

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
XXX

Please confirm you have Windows 7SP1

yes it is 7SP1

solved by update (KB2533623)