unifiy golang and debian base image prod releases

Issue #, if available:
https://github.com/orgs/aws/projects/23/views/26?pane=issue&itemId=18822067
Description of changes:
Now, when we release a Golang Debian Base Image, the tags will:

include one tagged simply with the latest Git tag for the given version, with no other identifiers, to act like a 'latest' image
include a tag which includes the Git tag, the EKS Go release number, and the Dockerfile release number

The Debian dockerfile release will also take place as a part of the standard EKS Go prod release. This way, we can still update the Dockerfile independently of the EKS Go release process in order to trigger a release and modify the image, but we also get the convenience of automation release when we release a new prod version of EKS Go. See the ticket for the whole picture.
Requires some updates to the prow jobs, specifically including an image build in each one.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/approve


Added support to new Direct Messages Events endpoint (rebased)

@danicuki: Thanks for your work on this! As @sferik asked on #847 I rebased master and resolved the conflict, I hope you don't mind.
It'd be awesome to have this merged alongside #900 to be able to fully use the new DM API which will replace the one currently used by the gem.
If any work is needed, I'd be glad to help :slightly_smiling_face:

Awesome @FabienChaynes!!! Thanks

@danicuki @FabienChaynes, I need these changes to be incorporated in current project. Thanks for making these changes. Do you guys have any idea when these changes were going to be merged in master (or) Do we have any specific person to whom,I should request to merge these changes.

@abhishek1203 all the conversation about this is present in this PR and in #847, so no we don't have more information :confused:

Thanks! I’ll push out a new release shortly.


Create nginx hosts only for "running" container

Hi,
Thanks for a great tool.
I noticed that there are no checks for container state.
As result container upstream may contain two IP addresses when the upgrade is not approved (old container still alive), or even IP part is missing on upstream when config generated at the moment when the new container is starting.
Missing IP address causing invalid nginx conf as well as a duplicate entry for the same container with the right IP address (on next config update)
I might be mistaken somewhere, but in general, I have one-two times for a week this issue, it is more or less reproducible with a heavy container where container entrypoint takes some time to start.

Hello,
Yeah I 'm aware of that kind of situation to avoid that we need to find a
way to check and keep only active containers !
Will try to find something for that !
Le 6 mars 2018 12:40, "Roman"<EMAIL_ADDRESS>a écrit :

Hi,
Thanks for a great tool.
I noticed that there are no checks for container state.
As result container upstream may contain two IP addresses when the
upgrade is not approved (old container still alive), or even IP part is
missing on upstream when config generated at the moment when the new
container is starting.
Missing IP address causing invalid nginx conf as well as a duplicate entry
for the same container with the right IP address (on next config update)
#I might be mistaken somewhere, but in general, I have one-two times for a
week this issue, it is more or less reproducible with heavy container where
container entrypoint takes some time to start.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/adi90x/rancher-active-proxy/issues/51, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AKpqdPq9LSLtKwBL6GD6RQBACLXdg7_7ks5tbnXBgaJpZM4Sej47
.

go-rancher-gen has "state" and "health" properties for a container, so the one more if statement can be added to a dynamic container configuration

Ok was not sure if the property was already available in rancher-gen !
It is quite easy then, will try to push something this afternoon
Le 6 mars 2018 12:59, "Roman"<EMAIL_ADDRESS>a écrit :

go-rancher-gen has "state" and "health" properties for a container, so the
one more if statement can be added to a dynamic container configuration
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/adi90x/rancher-active-proxy/issues/51#issuecomment-370759238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKpqdPqs9mzpaaRMe13Bzlk9SZ0Y8HR3ks5tbno-gaJpZM4Sej47
.

Looking at actual code it seems that there is already a check and it should
only get healthy and running containers...
Look at line 316, I will try to look again into that (it was merged from a
PR some time ago)
Le 6 mars 2018 13:02, "Adrien Maurel"<EMAIL_ADDRESS>a écrit :
Ok was not sure if the property was already available in rancher-gen !
It is quite easy then, will try to push something this afternoon
Le 6 mars 2018 12:59, "Roman"<EMAIL_ADDRESS>a écrit :

go-rancher-gen has "state" and "health" properties for a container, so the
one more if statement can be added to a dynamic container configuration
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/adi90x/rancher-active-proxy/issues/51#issuecomment-370759238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKpqdPqs9mzpaaRMe13Bzlk9SZ0Y8HR3ks5tbno-gaJpZM4Sej47
.

Just made some more test, it seems to work as expected... While upgrading
it only show working and healthy containers...
Do you have some logs  ?
Are you sure that your are running the last RAP version ?
Le 6 mars 2018 13:46, "Adrien Maurel"<EMAIL_ADDRESS>a écrit :

Looking at actual code it seems that there is already a check and it
should only get healthy and running containers...
Look at line 316, I will try to look again into that (it was merged from a
PR some time ago)
Le 6 mars 2018 13:02, "Adrien Maurel"<EMAIL_ADDRESS>a écrit :
Ok was not sure if the property was already available in rancher-gen !
It is quite easy then, will try to push something this afternoon
Le 6 mars 2018 12:59, "Roman"<EMAIL_ADDRESS>a écrit :

go-rancher-gen has "state" and "health" properties for a container, so
the one more if statement can be added to a dynamic container configuration
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/adi90x/rancher-active-proxy/issues/51#issuecomment-370759238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKpqdPqs9mzpaaRMe13Bzlk9SZ0Y8HR3ks5tbno-gaJpZM4Sej47
.

Sorry, my bad, I did not find any related issue in the changelog from version 0.9.2 which I use.
Will try to update and let you know.
Actually, I used a fork from v0.9.2 with some custom ldap and so on.

Is it a public fork ?
We may pull some commit from it
Le 6 mars 2018 15:44, "Roman"<EMAIL_ADDRESS>a écrit :

Sorry, my bad, I did not find any related issue in the changelog from
version 0.9.2 which I use.
Will try to update and let you know.
Actually, I used a fork from v0.9.2 with some custom ldap and so on.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/adi90x/rancher-active-proxy/issues/51#issuecomment-370803818,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKpqdGVxk9pDoRtrwbTmmLwxFm38mUUvks5tbqDUgaJpZM4Sej47
.

It is not public.
We use it for our dev infrastructure. I added next features:

basic auth based on ldap (https://github.com/kvspb/nginx-auth-ldap), ldap might be enable skipped for all RAP instance or for the specific container
"secret link" to bypass ldap authentication  (e.g. to share something who has no ldap account)
bypass ldap basic auth if request made from docker local network

Is it interesting to you?

Yeah the online update was merged between v0.9.2 and v0.9.3  (almost a year
happen between) and I merged quite a few PR !
Need to find a way to auto tag/ auto update version  !
Le 6 mars 2018 16:15, "Roman"<EMAIL_ADDRESS>a écrit :

It is not public.
We use it for our dev infrastructure. I added next features:

basic auth based on ldap (https://github.com/kvspb/nginx-auth-ldap),
ldap might be enable skipped for all RAP instance or for the specific
container
"secret link" to bypass ldap authentication (e.g. to share something
who has no ldap account)
bypass ldap basic auth if request made from docker local network

Is it interesting to you?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/adi90x/rancher-active-proxy/issues/51#issuecomment-370814248,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKpqdF_rfewRxY4iU6tPjLxZaiUVRqYUks5tbqgXgaJpZM4Sej47
.

Yeah if it is not too critical, would appreciate if you open a PR for that !
Quite sure some other people would be interested too
Le 6 mars 2018 16:15, "Roman"<EMAIL_ADDRESS>a écrit :

It is not public.
We use it for our dev infrastructure. I added next features:

basic auth based on ldap (https://github.com/kvspb/nginx-auth-ldap),
ldap might be enable skipped for all RAP instance or for the specific
container
"secret link" to bypass ldap authentication (e.g. to share something
who has no ldap account)
bypass ldap basic auth if request made from docker local network

Is it interesting to you?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/adi90x/rancher-active-proxy/issues/51#issuecomment-370814248,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKpqdF_rfewRxY4iU6tPjLxZaiUVRqYUks5tbqgXgaJpZM4Sej47
.

I merged the latest change to my fork. looks ok.
Should I create PR on gitlab or github?

Gitlab.com is easier for me to merge but if you are more used to Github.com
will move it !
Le 6 mars 2018 17:34, "Roman"<EMAIL_ADDRESS>a écrit :

I merged the latest change to my fork. looks ok.
Should I create PR on gitlab or github?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/adi90x/rancher-active-proxy/issues/51#issuecomment-370842462,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKpqdCE-el0Drvccmqo7vr1SYUSigu4Gks5tbrqIgaJpZM4Sej47
.

Closing this issue , [https://gitlab.com/adi90x/rancher-active-proxy/merge_requests/32](PR posted on GitLab) , do not hesitate if you have any other issue !

The issue still reproducible (from time to time).
I have two times completely the same upstream + hosts configuration ({{ define "server" }} section).
There are even the same IP addresses in two templates.
old container IP address is $alive, and the old one is not (commented)
I completely out of ideas how it is possible :(
Do you have some?


User settings

private_profile (default false): will hide album, deck and present box, so only show center and info about the account
color (default smile): Will color the square of your user in the users page and your own interface (navbar, ...) when you're logged in
notify (default true): send an email when a card is about to expire
favorite_account (default first match): the account you're automatically in when you log in
description: free text
best_girl: free text

twitter: @nickname
accept_friend_requests: True/False
friend_requests_conditions: free text


add git hashes

please test build before merging. build seems to work fine on my end, not sure about features.

closing thanks  to #74


I can not find CVPR40 dataset!

Please give me a address about CVPR40

Hi @younger1112 , you can access dataset from here [link].


AWS Release v18.4.1

ℹ Team Phoenix is drafting AWS v18.4.1 with Kubernetes v1.23 support.
Target release date: 2023-05-12.
Release PR: ...
Scope

[x] latest observability-bundle
[x] https://github.com/giantswarm/giantswarm/issues/26781

Pre-Release

[ ] Create release ticket on Releases board
[ ] Make an announcement on #sig-product that team is doing a release. Include a link to the ticket from the release board.
[ ] Make sure release was tested by creating new cluster, upgrading from older version and with HelloWorld app.
[ ] Aggregate release notes from all changed components and add to README.md in the release directory.
[ ] Send draft release announcement to #sig-product for review ASAP.
[ ] Verify documentation is up to date.

Releasing

[ ] Create release PR
Instructions

[ ] Define new release in release.yaml file.
[ ] Activate new release by setting state to active.
[ ] Deactivate old release if it's within same major version (state: deprecated). Verify with PO if you have doubts.
[ ] Check versions of all components included. They shouldn't be lower than those in the previous release unless there was a rollback.

Example PR

[ ] Release relevant operators.

[ ] Tag release branch.
[ ] Bump operator version in draft release.

[x] Make sure that WIP releases in releases repo branch are removed and not merged to master since the master branch is deployed automatically after merging PR and that would make WIP releases visible in customers’ installations which should generally not happen.

Post-Release

[ ] Update front-end cluster with the new release.
[ ] Verify release is available on all installations. You can use this script.
[ ] Send out release announcement to all customers according to these instructions.
[ ] PO subscribes to release posts on Slack to get notifications if there are follow-up messages.
[ ] Close release task on Releases board.

PR https://github.com/giantswarm/releases/pull/1114 is ready for review, I pinged team atlas to have a last look if that's all what we need to add 🤞.


what the happend

Visual Studio Code Version : [ VERSION_HERE ]
Code Settings Sync Version : [ VERSION_HERE ]
Operating System : [ VERSION_HERE ]
Occurs On: [Upload / Download / Help Configuring ]
Proxy Enabled: [ Yes / No ]
GIst Id: [ ID_HERE ]
I have posted frequently asked questions on
http://shanalikhan.github.io/2016/11/07/visual-studio-code-frequently-asked-questions.html
so you may able to resolve the error quickly.
Please make sure to write the versions and console logged error picture or copied text

me too

Please make sure to write the versions and console logged error picture or copied text


Thank you for your kindly sharing this great code . I was puzzled about some details

Dear Jeffrey,
Thank you for your kindly sharing the great two-stream-action-recognition code. Though I have read the readme and reference papers[1] [2] [3], I was puzzled about some details.
In training strategies, in every mini-batch, you randomly select 64 (batch size) videos from 9537 training videos and further randomly select 1 stacked optical flow in each video. I wonder which paper this method was proposed. Is this method part of TSN paper[2]?
In testing method, for every 3783 testing videos, we uniformly sample 19 frames in each video and the video level prediction is the voting result of all 19 frame level predictions. This method seems like TSN[2], but the 19 segments of 10 frames maybe overlapped.
In your validation stage, the precision stored in opf_test.csv is the test precision or validation precision? The loaded data is the testlist01?
The motion_video_preds.pickle save the video level prediction. What does it mean? And where to find the test accuracy in split 1 testlist01?
Is this code corresponding to your own paper? I want to quote your paper. Or can you give me some details about your code? Thank you very much.
I send an E-mail for your help. Thank you very much.
Best Regard,
tangjun

Dear Jeffrey,
Thank you for your kindly sharing the great two-stream-action-recognition code. Though I have read the readme and reference papers[1] [2] [3], I was puzzled about some details.
In training strategies, in every mini-batch, you randomly select 64 (batch size) videos from 9537 training videos and further randomly select 1 stacked optical flow in each video. I wonder which paper this method was proposed. Is this method part of TSN paper[2]?
In testing method, for every 3783 testing videos, we uniformly sample 19 frames in each video and the video level prediction is the voting result of all 19 frame level predictions. This method seems like TSN[2], but the 19 segments of 10 frames maybe overlapped.
Is this code corresponding to your own paper? I want to quote your paper. Or can you give me some details about your code? Thank you very much.
I send an E-mail for your help. Thank you very much.
Best Regard,
tangjun

Hi tangjun,
Sorry for the late reply!
Basically, the implementation in my repo is the combination of the three papers that I mentioned in my Readme.
For the spatial stream, I  followed the method in TSN [2] but I did not implement the corner cropping.
For the motion stream, I implemented  the method in two-stream CNN [1].
And for the testing method, for the reason that some videos in UCF101 dataset contain less than 25 frame, which is the testing method in [1], I set the number of testing frames as the number of minimum number of frames of single video in UCF101 dataset, which is 19.
Finally, the implementation in this repo is not corresponding to my own paper. It is just the combination of some previous works.
If you would like to quote this repo, I think you can just quote the [1][2][3] in my readme!.
Best regards,
Jeffrey

On 24 Apr 2018, at 8:53 AM, ttthappy<EMAIL_ADDRESS>wrote:
Dear Jeffrey,
Thank you for your kindly sharing the great two-stream-action-recognition code. Though I have read the readme and reference papers[1] [2] [3], I was puzzled about some details.
In training strategies, in every mini-batch, you randomly select 64 (batch size) videos from 9537 training videos and further randomly select 1 stacked optical flow in each video. I wonder which paper this method was proposed. Is this method part of TSN paper[2]?
In testing method, for every 3783 testing videos, we uniformly sample 19 frames in each video and the video level prediction is the voting result of all 19 frame level predictions. This method seems like TSN[2], but the 19 segments of 10 frames maybe overlapped.
Is this code corresponding to your own paper? I want to quote your paper. Or can you give me some details about your code? Thank you very much.
I send an E-mail for your help. Thank you very much.
Best Regard,
tangjun
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/jeffreyhuang1/two-stream-action-recognition/issues/24#issuecomment-383767919, or mute the thread https://github.com/notifications/unsubscribe-auth/AYkoP1T3z8q7YR5pHbXJhh5x1YRXmYaVks5trnd1gaJpZM4TaAGV.

Hi Jeffrey,
Thank you for your kindly help! I’m new to deep learning. So I still puzzled about that，in your validation stage, the precision stored in opf_test.csv is the test precision or validation precision? The loaded data is the testlist01? And where to find the test accuracy in split 1 testlist01?
Best Regard,
tangjun

I got it. Thank you for your kindly help!
Best Regard,
tangjun


SPIKE: what does it take to run Penumbra on Operator?

moved from: https://github.com/strangelove-ventures/infra/issues/1653
https://github.com/penumbra-zone/penumbra

We have slack channel for the penumbra operator work https://strangeloveventures.slack.com/archives/C06PRUZ8UJH
Look at git history for previous work on penumbra operator.

temporarly bloked because the testnet is down

@AntiTyping any updates on this?

I have penumbra and cometbft working in patched operator source code locally. My next step is to refactor and cleanup code.


Edit UI: Making changes to metadata sends old metadata to server

I've observed this in Cases for specific_topic and communication_mode, but it seems to be true for most of the metadata values. Title and body are being sent, as are new values for related lists.

I believe I have fixed this in #425. Can you check that your flow is working now?

Yup, fixed way back.


Between the style tags, give the p elements font-size of 16px. But after implementing that also i am not  able to submit it.

Challenge Change the Font Size of an Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

@1AjayKumar thanks for the issue but if you get stuck with a challenge, please ask questions to the Help Room. Hint: you cannot nest CSS rules like you have done. Happy coding!


Can't export with dark mode color palette

When I export my diagram, it respects the light mode color palette, but not the dark mode color palette. It would be great if it actually in dark mode as well.

Yes, so far the dark mode is only for the UI because it's not clear what the default should be and how best to handle this in the UI.
I imagine most people who work in dark mode (me included) don't want their drawings be exported in a color scheme that's based on what time of the day it is.
Anyway, duplicate of https://github.com/excalidraw/excalidraw/issues/2026

Yes, so far the dark mode is only for the UI because it's not clear what the default should be and how best to handle this in the UI.
I imagine most people who work in dark mode (me included) don't want their drawings be exported in a color scheme that's based on what time of the day it is.
Anyway, duplicate of https://github.com/excalidraw/excalidraw/issues/2026


fix material asset unload and reload

Fixes #3061
I confirm I have signed the Contributor License Agreement.

@raytranuk could you please give an overview of the changes you've made and why in the PR description?


'numpy.float64' object cannot be interpreted as an integer

Hi There,
I am running into issues using an objective function with this BayesianOptimization package.
Here is my objective function.
def hyp_choice_sklearn(hyperparameter_value,hyperparameter_value_two, y_tra = y_train, X_tra = X_train,
                       X_tes = X_test, y_tes = y_test):
    nmse = - mean_squared_error(y_tes,
                                GradientBoostingRegressor(n_estimators=hyperparameter_value,
                                max_depth =hyperparameter_value_two).fit(X_tra.as_matrix()
                                                                         ,y_tra.as_matrix()).predict(
                                    X_tes.as_matrix()))
return nmse

Here is my setup of the package
bayes_opt_hyp = BayesianOptimization(hyp_choice_sklearn,
                          {'hyperparameter_value': (1, 700),'hyperparameter_value_two':(1,71) }) # the bounds to explore
bayes_opt_hyp .explore({'hyperparameter_value': [int(i) for i in range(1,700,50)],
                        'hyperparameter_value_two':[int(i) for i in range(1,15)]}) # the points to explore, need the same size

and here is the results of my search.

Any help is appreciated.

Both n_estimators and max_depth and integer fields and expect integer inputs, your objective function does not guarantee that and, since GP na consequently BayesOpt. operate over continuous  space, it tries to probe your object function at some real value point which Grad.B. does not understand. You must make sure you cast the parameter of your estimator to integer within your object function.
GradientBoostingRegressor(
    n_estimators=int(hyperparameter_value),
    max_depth=int(hyperparameter_value_two)
)...

Thank you!


Add listener to DOMContentLoaded when document readyState is loading

Problem
The document load event waits for the browser to load all resources before executing (reference). The Magic Eden web app is very resource heavily with all our images, videos, and gifs which caused the wallet connection to be delayed. The quick patch we used was to listen to the DOMContentLoaded event so wallets can be connected before all the resources loaded.
Solution
@ArpitAgrawal321 suggested in https://github.com/solana-labs/wallet-adapter/issues/317 to fully use DOMContentLoaded for this case. @steveluscher suggested to also handle the in-between states of the document loading and finished loading.
This PR adds a DOMContentLoaded listener when the document state is loading while still watching the window load event in the case that the document is in the complete state

while still watching the window load event in the case that the document is in the complete state

Looks good, but I'm wondering about this part. It looks like it early returns if the state is complete?

Ah right, misspoke there. If state is complete the load event wouldn’t happen again, so it wouldn’t need the event listener.

Makes sense, thanks! I'll patch release in the morning.

Haha. Missed the merge by 4 minutes.

Closes #317.


Last.fm scrobbler

A last.fm scrobbler.
Uses the pylast library to easily scrobble to last.fm. Only works with whatify right now. The player (js) sends a POST to lastfm/scrobble with the data as json and the actual scrobbling occurs in a python file.

@davls care to make this mergeable again and make sure it works?


Bugfix: passing view (0, 1 or 2 for day, month and year) when filtering dates

Bugfix: passing view (0, 1 or 2 for day, month and year) when filtering dates

To reproduce the bug:

Select month (view 1) or year (view 2) when filtering dates.
When filtering, if you want to disable all Sundays if (date.getDay() === 0), some months will be disabled too.

This actually fixes closed issue #74. Thanks =)


Update user

Description of Change
This change adds a method code42 users update to update a single user, and the corresponding bulk method code42 users bulk update
It partially addresses (but does not fully address) issue #259
Testing Procedure
code42 users update --user-id <user-id> --email <new email>
code42 users bulk update users_to_update.csv

PR Checklist

[x] Add unit tests to verify this change
[x] Add an entry to CHANGELOG.md describing this change
[x] Add docstrings for any new public parameters / methods / classes

In code42cli.click_ext.groups.py, can you import Py42UsernameMustBeEmailError from py42 (gets raised during update_user()) and add it to the exception list caught in lines 59-69?

Do you mind also changing cmd/devices/.py where it says
csv_rows[0]["deactivated"] = False
to
csv_rows[0]["deactivated"] = "False"
that would be helpful.
This PR looks good!

Sure, I'll do that now.


Add isWindows check

defaulttails() function tails collectd and fluentbit log files while for windows only fluentbit log file is available and otel sends logs directly to the event logs so there is no log file.  (Having it include the collectd tailing plugin doesn’t affect current usage in Windows, it’s just a useless blob of collectd tailing file)

Windows prefer paths in style C:\var\log\ rather than ‘/var/log’. For buffer and log path, now we use ‘/var/log’ which does work in Windows but not preferred.

config/log file path is different in Windows V.S. Linux. We need to reflect in the testing and default config file

Tests passed  on both linux and windows:


Grouping with alphabetic order

When using the -g/--group combined with -alpha/--sort-alpha`, the resulting list of frequencies should respect the alphabetical order inside each group. Something like this:
$ count-files -g -alpha

Recursively counting all files, ignoring hidden files and directories, in
/Users/victor/Downloads/Count-files-sortbygroup/tests

+ ARCHIVES(3)
   GZ: 3
+ DATA(4)
   DAT: 1
   JSON: 1
   XLSX: 2
+ DOCUMENTS(29)
   MD: 2
   TXT: 27
+ FONTS(1)
   WOFF: 1
+ PYTHON(14)
   PY: 14
+ OTHER(7)
   CSS: 1
   HTML: 1
   [no extension]: 5

  Found 58 file(s).

Updated in new PR: https://github.com/victordomingos/Count-files/pull/121
[no extension] on top.
Starts with a non-alphabetic character.
+ OTHER(7)
   [no extension]: 5
   CSS: 1
   HTML: 1

Technically, it it has no extension, it does not start :-). I don't know, I expected that entry to be the last when ordering alphabetically, since it's a special case, but that's not a very important detail.


normalize filepath to fix issue #31

normalize filepath to fix issue #31 - TypeError: Cannot read property 'kind' of undefined

Thank you for you contribution to this repository.
Closing this contribution as this repository is being archived.


[branch-2.0](tablet invert index) fix tablet invert index leaky caused by auto partition #33973

pick: #33973
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

auto partition does not exist in 2.0.

not only auto partition will cause concurrent partitions with the same name.  The create table at first time  and dynamic partition sched thread will also cause too.

run buildall

run buildall

run buildall


Added Friction Calculator

Issue Id you have worked upon -
Friction Calculator #525
Briefly explain your program logic -
This calculator takes input of friction coefficient and normal force and gives output for friction.
Screenshots(Attach 2 screenshots of your own input and output) -

By raising this PR I affirm that -

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

Congratulations 🎉 @aditish11 on your contribution.
Thanks for adding value to this repository. 😊
Let's celebrate this fest 😃 by providing more developers 👨💻👩💻 an opportunity to contribute. Help us make this repository reach far and more by sharing this to your friends and colleagues.
Your efforts can make difference.

Hey 👋, may you also encourage us by clicking the star icon on the repository main page. ⭐


JAMES-2124 Enforces pom modules and dependencies ordering

Brace for impacts....
This PR adds systematic enforcement of the ordering of pom dependencies and modules using the sortpom maven plugin. The sorting engine when rewriting a pom also enforces top level tag ordering and tag ordering within the parent tag as they appear in the maven project descriptor (pom xsd).
After applying this PR the build will fail (and fail early at the first violation) if dependencies or modules appear in the wrong order in a POM.
To make developer life easier this PR also adds the -PsortPom profile which will rewrite offending POM files to sort the dependencies. Note that because of how XML is specified, the rewrite can alter attribute order, remove whitespace etc. This means that a manual review is recommended after running a build with the profile.
The fastest way to test this is to use
mvn package -DskipTests //will fail if a pom contains violations
//or
mvn package -DskipTests -PsortPom // will rewrite all the poms which contain violations

The order of the dependencies was significantly altered because the sorter considers that ${james.groupId} starts with $ and not with j and $ has lexicographical precedence over alpha characters. I reviewed commits and found one occurrence which seemed to warrant bypassing lexicographical order to ensure a correct build (the netty override in ./server/queue/queue-activemq/pom.xml ) but I may have missed something.
docker run -v $PWD/.m2:/root/.m2 -v $PWD:/origin -t james/project -s passes
docker run -v $PWD/.m2:/root/.m2 -v $PWD:/origin -t james/project doesn't but I am unsure why (currently running against  master as a sanity check)

Here be conflicts

I added 4 commits to address the comments and improve the PR a bit

073b33c drops the incorrect blank line in server/pom.xml
bcd0a26 switches to using explicit groupIds for apache-mime4j dependencies
7a062c3 reverts incorrectly changed empty tags
defb95b switches pom validation and sorting from compile to earlier validate phase, meaning the build will fail even earlier and running mvn validate -PsortPom lets developpers fix poms in a few seconds instead of a several minutes compilation

The fastest way to test this is to use

mvn package -DskipTests //will fail if a pom contains violations
//or
mvn package -DskipTests -PsortPom // will rewrite all the poms which contain violations

....

This fit the https://github.com/apache/james-project/blob/master/src/site/xdoc/contribute.xml https://github.com/apache/james-project/blob/master/docs/modules/community/pages/contributing.adoc content.
Can you add that there?

Compiling locally:
[ERROR] Failed to execute goal com.github.ekryd.sortpom:sortpom-maven-plugin:2.12.0:verify (strict-pom-ordering) on project apache-james-mpt-app: The file /home/benwa/Documents/apache/james-project/mpt/app/dependency-reduced-pom.xml is not sorted -> [Help 1]

Can you have a look? Is that an auto generated file? Can we ignore it?

Can you have a look? Is that an auto generated file? Can we ignore it?

I'll look into this a quick run of mvn validate didn't fail but running the docker run based compilation from the readme did fail.

@chibenwa I don't know how I missed it but the latest fixup should fix the issue

@chibenwa I have updated the documentatiom. I also moved POM validation to the validate phase ( before compile ) so it can be executed very quickly.

I merged this work quickly in order to limit conflicts, and prevent rebases here.
If there are some other feedback, we can handle it afterward.
Cheers, and thanks for this nice contribution!
Benoit

aweswome, I was unsure if I could to squash the commits to clean up the PR as it would reduce readability for review followup

I squash the fixups unpo merges, and I also added a missing JAMES-2124 prefix.
Overwize, I keep the history presented during the review, as you produced nice separated unitary commits ;-)
Does this answer some of your questions?

It was more an apology for letting you do the fixup work than a question :) I had no doubts the history would be preserved ( so little doubts that I didn't event check !)


Korean: space before or after parentheses

In #42 I noticed a few of failures like this one:
- Chungso kiŏp ŭi chŏllyakchŏk sŏngkwa kwalli(BSC) ironp'yŏn
?        ^^
+ Chungsogiŏp ŭi chŏllyakchŏk sŏngkwa kwalli (BSC) ironp'yŏn
?        ^                                  +
Original: 중소 기업 의 전략적 성과 관리(BSC) 이론편

(In order: test result, expected result, original string; ignore the mismatch in the first part for now)
I imagine that whether the original was a typo or a legit string for Korean language, the Romanized string should have consistent spacing for parentheses and other punctuation.
@hyoungl  Is there a generic cataloging practice for this? I already added some normalization rules for other punctuation signs (;, :, etc.), but it would be good to have a general normalization table for all punctuation signs of this kind on all Romanized strings if guidelines exist in that direction.

Unfortunately, there is no rule for how you might normalize punctuation and spacing. In library data, some punctuation marks are prescribed by ISBD (International Standard for Bibliographic Description) which usually requires spaces on both side of colon ( : ) and semi-colon ( ; ). This style of spacing is common in regular French text, but looks odd for English which does not normally place a space before colon or semicolon.  There is almost always a space after these marks, as there is after the comma and period, but in MARC there is no space after a final period in a field of text. The safest approach is probably not to change spacing at all during transliteration except for scripts that require it, like Chinese. From the example above, it looks like the best approach would have been to leave the spacing that occurred in the original script when converting to Latin, and vice versa.  (comment by Randy Barry)

Korean romanization rules have word division rules. While both 중소기업(no space) and 중소 기업 (one space) are both correct in Korean orthography, our romanization rules keeps the second one with space. So the catalogers should give a space even though the string on hand many not have a space. Then correct romanization will have a space.

I closed it by mistake.

So, what I'm hearing is this: we should not  change the original script spacing around  punctuation in general, but we should in Korean and Chinese (I'll leave the latter aside for now until I verify if it's being done).
Correct?

Now I realized that I paid attention to the wrong part, which is the mismatch in the first part.
As for spacing around punctuation should be the same for Korean. No alteration from the original script.
Sorry about the confusion.

Very well. Thanks.


2019-03-26-speed-test-accuracy.md: fix typo

Thanks @nkinkade

This change is

I am merging this, because Simone does not have permission.


Test Case Fix in Integration Test Module

Fix for Integration Test Module which failed in [Build #849]  (https://wso2.org/jenkins/job/product-cep/849/) due to an Assertion Error.

@lasanthafdo Added exception handling at the test case level to diagnose any unusual behaviors when starting and stopping server.


"Use esbuild to bundle some CommonJS main files (#160957)" (#161118)"

Bringing this back, after we had to revert. We have to understand why the server fails to bundle.

Since https://github.com/microsoft/vscode/pull/161095 somewhat needs our loader changes here, merging into https://github.com/microsoft/vscode/pull/161161


Fix luv.cancel(req) so cleanup occurs in the callbacks

Fixes issue:
https://github.com/luvit/luv/issues/257
NOTE: The documentation says cancel is implemented for a subset of request types:
http://docs.libuv.org/en/v1.x/request.html#c.uv_cancel
This change addresses some of the callbacks, but these probably also need to be changed to check for UV_ECANCELED:

luv_poll_cb()
luv_connect_cb()
luv_fs_event_cb()
luv_fs_poll_cb()
luv_shutdown_cb()
luv_connection_cb()
luv_write_cb()
luv_udp_send_cb()

We might want to also change the above functions so that the callbacks are not ran if UV_ECANCELED is the status. In light of the fact that the documentation claims cancel only works for a subset of types, not sure how critical it is avoid calling the callbacks when a request is canceled.
Thanks,
-Brian

Hmm, looking at this closer, I think the desired behavior is to call the callback in lua if libuv calls the callback in C and make sure the error value contains the canceled message.
So now I'm wondering why this didn't just work already.  I already check for a non zero status and report the failure.

I wonder if UV_ECANCELED is positive and I'm checking for for (status < 0) and that's why the code is not catching it?
If that's the case and we want to call the lua callback, then simply changing (status < 0) to (status) for those functions would fix it right?
Now some functions have meaning in positive status so we can't blanket change them all.

The most important change is to req.c to avoid the SEGV... otherwise the data is deallocated and set to null... then in the callback the data is dereferenced.

IMHO, if I cancel a task I don't expect the callback to be ran... but this is simply a question of what semantics you want for uv.cancel().

I want cancel called, because often I use luv with coroutines.
My coroutine is suspended when the call starts and it's resumed when the callback comes back.  If you never call the callback the code will hang forever.
Also it's common in callback code to assume the callback will always be called.

You're right. Better to still run the callback. Currently I only have access to a phone, so I can't update the pull request until tomorrow.

I'm looking to do a luv release later today, if you won't have time to update this, I can see about finishing it myself.

I've updated the pull request so it simply removes the deallocation code.
Thanks,
-Brian


Added alert for high broker address memory usage

Type of change

Enhancement / new feature

Description
Added alert for high broker address memory usage
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@robshelly Could you rebase and retest this?

@lulf yes we should start thinking about tests for monitoring, we can use also ClusterManager for that :)


Simple correlation example

While I use Bayesian analyses in my everyday work since quite a while now, I still mostly rely on high-level fitting packages (such as rstanarm). I recently decided to dive into the manual specification of models. I decided to start from scratch, with a basic correlation, and I found this great blogpost explaining the technical, but also the theoretical bits, which was very helpful for my understanding of the different aspects and thinking behind Bayesian models.
As I am not familiar with stan, I would like to "adapt" this in Turing. Provided that someone would help me correctly and efficiently (the julian/turing way) specify the model below, I could try implementing a nice post for the tutorial repo if you're interested 😃
data {
    int<lower=1> N;  // number of observations
    vector[2] x[N];  // input data: rows are observations, columns are the two variables
}

parameters {
    vector[2] mu;                 // locations of the marginal t distributions
    real<lower=0> sigma[2];       // scales of the marginal t distributions
    real<lower=1> nu;             // degrees of freedom of the marginal t distributions
    real<lower=-1, upper=1> rho;  // correlation coefficient
}

transformed parameters {
    // Covariance matrix
    cov_matrix[2] cov = [[      sigma[1] ^ 2       , sigma[1] * sigma[2] * rho],
                         [sigma[1] * sigma[2] * rho,       sigma[2] ^ 2       ]];
}

model {
  // Likelihood
  // Bivariate Student's t-distribution instead of normal for robustness
  x ~ multi_student_t(nu, mu, cov);

  // Noninformative priors on all parameters
  sigma ~ normal(0,100);
  mu ~ normal(0, 100);
  nu ~ gamma(2, 0.1);
}

generated quantities {
  // Random samples from the estimated bivariate t-distribution (for assessment of fit)
  vector[2] x_rand;
  x_rand = multi_student_t_rng(nu, mu, cov);
}

I think we'd enjoy having a write-up to post!
When I get a moment to sit down and look at this I'll provide the specifications for the model. Unless one of the other Turing people beat me to it.

@DominiqueMakowski I've added a model specification at the bottom of this post, hope it helps.
As a side note to any of the other Turing people, could you take a look at this? I had a little trouble getting this to get closer to the actual covariance matrix.
Here's the actual covariance:
2×2 Array{Float64,2}:
 1.01824    5.35655
 5.35655  108.08

Here's what I calculate after taking the mean parameters:
2×2 Array{Float64,2}:
 1.21787   4.41931
 4.41931  73.0534

Here's the model specification. There is some extra stuff at the bottom for extracting parameter observations and comparing covariance matrices.
using Turing, Random

Random.seed!(1)

# Specify Turing model.
@model correlation(x, N) = begin
    # Create mu variables.
    mu = TArray{Any}(2)
    mu[1] ~ Normal(0, 100)
    mu[2] ~ Normal(0, 100)

    # Create sigma variables.
    sigma = TArray{Any}(2)
    sigma[1] ~ Normal(0, 100)
    sigma[2] ~ Normal(0, 100)

    # Create rho.
    rho ~ Beta(1, 1)

    # Generate covariance matrix.
    p = sigma[1]*sigma[2]*rho
    cov = [sigma[1]^2 p;
            p sigma[2]^2]

    # Iterate through each datapoint, and observe its likelihood.
    for i in 1:N
        x[i,:] ~ MvNormal([mu[1], mu[2]], cov)
    end
end

# Helper function to generate a covariance matrix.
function tcovar(sigma, rho)
    p = sigma[1]*sigma[2]*rho
    return [sigma[1]^2 p;
            p sigma[2]^2]
end

# Number of datapoints to generate.
N = 100

# Target covariance matrix.
target_covariance = tcovar([1, 10], 0.5)

# Generate random data.
target_dist = MvNormal([0.0, 0.0], target_covariance)
df = rand(target_dist, N)'

# Sample using Metropolis-Hastings.
chain = sample(correlation(df, N), MH(10000))

# Extract our sigma and rho variables.
sig = hcat(chain[:sigma]...)'
rho = chain[:rho]

_, maxlp = findmax(chain[:lp])

# Calculate the covariance matrix using the average
# sigma and rho.
co = tcovar(mean(sig, dims=1), mean(rho))

# Print the covariance matrix we calculated.
display(co)

# Print the observed covariance matrix.
display(cov(df))

@DominiqueMakowski I have made a couple of changes to the model I gave you above to increase performance and accuracy.
Here's a summary of the changes:

I've used the Truncated version of distributions to force the parameters to have bounds. Previously, sigma and mu used regular Normal distributions, which meant they were pretty much free to take on any value. The Truncated versions apply bounds to sampled values and allow the sampler to converge better.
The sampler is now HMC (Hamiltonian Monte Carlo) and not MH (Metropolis-Hastings).
I changed the automatic differentiation mode to forward_diff, which is more performant for the moment.
Because we're now using forward_diff and things run quicker, I've also increased the sample size to 1,000. The covariance matrix now converges far closer to the actual model.

Let us know if we can be of further help!
using Turing, Random

Random.seed!(1)

# Specify Turing model.
@model correlation(x, N) = begin
    # Create mu variables.
    mu = TArray{Any}(2)
    mu[1] ~ TruncatedNormal(0, 100, -10, 10)
    mu[2] ~ TruncatedNormal(0, 100, -10, 10)

    # Create sigma variables.
    sigma = TArray{Any}(2)
    sigma[1] ~ TruncatedNormal(0, 100, 0, 10)
    sigma[2] ~ TruncatedNormal(0, 100, 0, 10)

    # Create rho.
    rho ~ Truncated(Uniform(-1, 1), -1, 1)

    # Generate covariance matrix.
    p = sigma[1]*sigma[2]*rho
    cov = [sigma[1]^2 p;
            p sigma[2]^2]

    # Iterate through each datapoint, and observe its likelihood.
    for i in 1:N
        x[i,:] ~ MvNormal([mu[1], mu[2]], cov)
    end
end

# Helper function to generate a covariance matrix.
function tcovar(sigma, rho)
    p = sigma[1]*sigma[2]*rho
    return [sigma[1]^2 p;
            p sigma[2]^2]
end

# Number of datapoints to generate.
N = 1000

# Target covariance matrix.
target_covariance = tcovar([1, 10], 0.5)

# Generate random data.
target_dist = MvNormal([0.0, 0.0], target_covariance)
df = rand(target_dist, N)'

# Use forward differentiation.
Turing.setadbackend(:forward_diff)

# Sample using HMC.
chain = sample(correlation(df, N), HMC(1000, 0.01, 5))

# Extract our sigma and rho variables.
sig = hcat(chain[:sigma]...)'
rho = chain[:rho]

# Calculate the covariance matrix using the average
# sigma and rho.
co = tcovar(mean(sig, dims=1), mean(rho))

# Print the covariance matrix we calculated.
display(co)

# Print the observed covariance matrix.
display(cov(df))

@cpfiffer Many thanks!! I will have a look, try to familiarize with it and will try to start writing the tuto 😃

I'm closing this issue for now. Please re-open if you have any further questions.


[feature] : Redesign the form

What feature?

In this project sign Up and  sign In page cannot approach dark mode pattern.
please assign me ... :rocket:

Add screenshots
Before

After

Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue

Thanks for creating but for now, we are okay with the current design so please check another issue @sivaprasath2004


Improved manifest logs results readability

Using JSON.stringify improves readability for Logs Array results.

:+1: much much better

@mounirlamouri WDYT?

lgtm!


Can't type in Atom

With the latest release, I cannot type randomly in Atom.
However, I can press enter and move the cursor asif the program is responding. When I re-open the current file, it works.
Linux: Linux RDI-GU 3.17.0 #1 SMP Sun Nov 23 20:55:44 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
Distro: Ubuntu 14.04
Atom: 150
I am using a custom kernel with BFS and BFQ patched in.
However, a friend of mine is has the same problem and he is running the mainstream kernel.

For anyone else having this issue in 2017 or beyond:
I was having this same issue where I was not able to type any text into the editor at all and finally narrowed it down to the synced-sidebar 0.4.3 package (in Atom 1.22.1 on macOS Sierra 10.12.6). Disabling this package solved the issue and I haven’t had it happen again.
I hope this helps.


Pull from the HimalCo/corpus repository

And adjust the experiment logging to note which version of the corpus is being used.

Since Alexis went to the effort of making the NA data repository and you put some things up on aarnet do we still need this?


Features like go to and definition searching unresponsive

Issue Type: Bug
When clicking on go to definition, it is loading, and it doesn't load or go to it. It is the same with CTRL+click feature.
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx   (8 x 2096)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
13.94GB (5.41GB free)

Process Argv
--crash-reporter-id 16cef231-2077-47c0-81c3-00be962e2b98

Screen Reader
no

VM
67%

Extensions (9)

Extension
Author (truncated)
Version

dotenv
mik
1.0.1

python
ms-
2021.12.1559732655

vscode-pylance
ms-
2021.12.2

jupyter
ms-
2021.11.1001550889

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.4

remote-wsl
ms-
0.63.13

cpptools
ms-
1.7.1

c-cpp-flag-debugging
uts
0.0.1

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vscop804cf:30404767
vscop341:30404997
vsrem710cf:30416617
vscexrecpromp3t1:30407762

In which programming language?

JavaScript, React native.
V V pet., 31. dec. 2021 ob 13:34 je oseba João Moreno <
@.***> napisala:

In which programming language?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/139844#issuecomment-1003366059,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARMBIKRUARDVXSSIKFNZEZ3UTWPM5ANCNFSM5K4A7RYQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

JavaScript, React native.
V V pet., 31. dec. 2021 ob 13:34 je oseba João Moreno <
@.***> napisala:

In which programming language?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/139844#issuecomment-1003366059,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARMBIKRUARDVXSSIKFNZEZ3UTWPM5ANCNFSM5K4A7RYQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Please provide steps the reproduce the issue


Why did I add custom dependency and runide OK. But after installing the plug-in run error message 'custom dependency class not found'. Why!!!

What happened?

dependencies add 'org.apache.commons:commons-text:1.11.0'

runide is ok,bug install plugin is error(custom dependency class not found)

Why are there two very different outcomes

plugin code address : https://github.com/anyilanxin/anyi-git-commit-helper

Relevant log output or stack trace
java.lang.NoClassDefFoundError: org/apache/commons/text/StringEscapeUtils
	at com.anyilanxin.plugin.githelper.model.TypeAlias.getTitle(TypeAlias.java:43)
	at com.anyilanxin.plugin.githelper.model.TypeAlias.toString(TypeAlias.java:60)

Steps to reproduce

Packaging plug-in

Install the packaged plug-in

Click the button below to run

error message 'java.lang.NoClassDefFoundError: org/apache/commons/text/StringEscapeUtils'

Gradle IntelliJ Plugin version
2.0.1
Gradle version
8.9
Operating System
None
Link to build, i.e. failing GitHub Action job
No response

How do you package the plugin and later install it?

@hsz

gradle task : buildPlugin
install plugin from disk

Is there a problem with this???

@hsz Thank you very much. I installed the wrong package. Using a distribution is fine


fix!: java options via env variable, to ensure they are enforced, even if tools would not pass on / respect java arguments

https://github.com/snakemake/snakemake-wrappers/pull/1322#issuecomment-1804157349

I think we should mark this as a breaking change, as this might break in some contexts / require updating the usage of the respective function. Not sure how exactly, but...
To add some context to the above link: Basically BBTools are implemented in Java, with Bash script wrappers around the different tools. And these wrappers don't pass Java options on to Java, but do complain about unknown arguments if you try to specify anything apart from -Xmx... sigh
But in addition, this seems like a more generic solution, IF it plays nicely with python setting the environment variables and then running the shell() commands.

I agree with making a bbtools-specific change. However, I don't know if the tmp dir argument is needed.

But this is something that the user might want to set via snakemake command-line options or via the resources: tempdir= directive in a rule using the wrapper, so it would then be good if the wrapper did pass this on to the actual execution of the tool.


bug: ion-item box-shadow

Bug Report
Ionic version:

[x] 5.0.0-rc.3
Current behavior:
The variable css --box-shadow does not have the same effect as box-shadow of css
Expected behavior:
The varibale --box-shadow  will have the same effect as box-shadow css.
Example:
1-
ion-item {
    box-shadow: 0 0 3px 0 var(--ion-color-medium);
}

2-
ion-item {
    --box-shadow: 0 0 3px 0 var(--ion-color-medium);
}

Thanks for your help.
Achille.

Thanks for the issue. It looks like this --box-shadow property never worked and wasn't supposed to be in there anyways. Moving forward, we suggest that developers just use box-shadow directly on ion-item.

Thanks for the issue. This has been resolved via https://github.com/ionic-team/ionic/pull/20412.


feat(lint/useShorthandAssign): add rule

Summary
Closes #276
Some questions

Should this rule be recommended?
Eslint only validates variable on left, so a = a + 1 is invalid and a = 1 + a is valid, should we validate both cases?
Eslint removes parentheses on fix a = (a + 1) -> a += 1, should we retain parentheses?

Test Plan

[x] Added invalid and valid cases

Eslint only validates variable on left, so a = a + 1 is invalid and a = 1 + a is valid, should we validate both cases?

Do you mean the opposite? a = a + 1 is valid and a = 1 + a isn't.
a could be a string. In this case, + is not commutative. Thus, we should keep the same behavior as ESLint.
ESLint recognizes the commutativity of *. Meaning that a = a * b and a = b * a can be contracted into a *= b.

@Conaclos

Do you mean the opposite? a = a + 1 is valid and a = 1 + a isn't.

Yes.
You are right about commutative, i think i need update the logic.
When the operator is commutative (* & | ^):
both cases are validated a = a + 1 and a = 1 + a but the second one is not fixable
When the operator is non commutative (+, -, /, %, <<, >>, >>>, **):
only a = a + 1 is validated and fixable

@ematipico

I wouldn't, I believe this will become a stylistic rule, and we tend to not recommend stylistic rules.

Ok, get it

Well, I think you are forced to remove parentheses. How would you write a shorthand assignment with parentheses?

You are right, it doesn't make sense.
The rule only retain parentheses on expression like a = a + (y / 100)


README.md: Improve docs on getting API key and secret

Hi @algestam
Thanks for contributing.
As your PR is accepted for the Hacktoberfest so can you please fill this form to become eligible for LoginRadius cool swags. :)
Thanks &Regards
Indrasen

HI @algestam
Thanks for your contribution to this project, this particular request is included in our latest Release Version 11.4.0
Please let me know if you see any other areas of improvement.
Regards
Indrasen


Not getting the tooltip on the labels in the ix-menu-items

Prerequisites

[X] I have not leaked any internal company information.
[X] I have not posted internal links or code snippets.

What happened?
It is expected behavior that we should get the tooltip by default on the ix-menu items .But we are not getting the tooltip on the labels . And unable to find any property to add tooltip to it .
What type of frontend frameware are you seeing the problem on?
Angular
Which version of iX do you use?
2.0.4
Code to produce this issue.
<ix-menu-item icon="star"
      (click)="navigateTo()"
     >
     Home
    </ix-menu-item>

you can try this.
<ix-tooltip for=".target"> Navigate to Home </ix-tooltip> <ix-menu-item class="target" icon="star"> Home </ix-menu-item>

@ridvandmrc I tried that but its look and feel is somewhat different from what the default tooltip on ix-menu-item have.

Internal ref [IX-896]

Is there any update or fix regarding this issue ?

Hi @vipinmahajan02 - sorry for the late reply, this ticket is in our current scope and should be completed in the next 1 - 2 sprint accordingly

We will close this issue, #1327 still remains.


Front camera is used by default

On Android device phones, the front camera is used by default. The default should be modified to the rear camera.

use this:
navigator.mediaDevices.enumerateDevices().then(function (devices) {
var camreass=[];
devices.forEach(function(e){
console.log(e)
if(e.kind=="videoinput")
{
camreass.push(e.deviceId)
}
})
console.log(camreass)
var userMediaConstraints = {
audio: false,
video: {
facingMode: 'environment',
deviceId:camreass[1],
width: {
ideal: _this.parameters.sourceWidth,
// min: 1024,
// max: 1920
},
height: {
ideal: _this.parameters.sourceHeight,
// min: 776,
// max: 1080
}
}
}

Hi,
is this a question or a proposal?
if it is a proposal as I guess, please make a PR :) We'll be glad to test it and eventually merge it


serviceCluster value cannot be overridden by  adding the proxy.istio.io/config annotation

Bug description
ProxyConfig defines variables for individual Envoy instances described from the document https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#ProxyConfig
The field serviceCluster defines the name for the service_cluster of current Envoy proxy. The default value of this field serviceCluster is from  the  –service-cluster flag in Envoy startup command.
By adding the proxy.istio.io/config annotation to the application Pod metadata specification to override this value, I  did the following config:
template:
    metadata:
      annotations:
        proxy.istio.io/config: '{"defaultConfig" : {"serviceCluster" : "MYTEST001" } }'

But its value still points to the default value instead of the specified value from annotation.
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
The default value should be overridden by annotation.
Version (include the output of istioctl version --remote and kubectl version --short and helm version if you used Helm)
1.6.8

Shown from the source code /pilot/cmd/pilot-agent/config.go as below, it explicitly assigns the value of  –service-cluster flag to the proxyConfig.ServiceCluster.
Confusing why we cannot assign the value from annotation.
func constructProxyConfig() (meshconfig.ProxyConfig, error) {
......
proxyConfig.Concurrency = int32(concurrency)
proxyConfig.ServiceCluster = serviceCluster
// resolve statsd address

ask for help @hzxuzhonghu @howardjohn

@osswangxining
try with the below expression, does it works out for you?
template:
    metadata:
      annotations:
        proxy.istio.io/config: '{"serviceCluster" : "MYTEST001" } '

@osswangxining
try with the below expression, does it works out for you?
template:
    metadata:
      annotations:
        proxy.istio.io/config: '{"serviceCluster" : "MYTEST001" } '

It cannot get the value from the annotation. From the current code logic , its values is populated from  value of –service-cluster flag

we have the same problem. we can not use annotation to override concurrency value for ingressgateway with following two format.
format 1:
selector:
matchLabels:
app: istio-ingressgateway
istio: ingressgateway
template:
metadata:
creationTimestamp: null
annotations:
prometheus.io/path: /stats/prometheus
prometheus.io/port: '15090'
prometheus.io/scrape: 'true'
proxy.istio.io/config: '{"defaultConfig" : {"concurrency" : "32" } }'
sidecar.istio.io/inject: 'false'
format 2:
selector:
matchLabels:
app: istio-ingressgateway
istio: ingressgateway
template:
metadata:
creationTimestamp: null
annotations:
prometheus.io/path: /stats/prometheus
prometheus.io/port: '15090'
prometheus.io/scrape: 'true'
proxy.istio.io/config: '{"concurrency" : "32" }'
sidecar.istio.io/inject: 'false'


question:  why is an iframe being generated

I see in the generated html an iframe and the angular code is placed within the iframe.  why is the iframe being used?  if there an option to not use an iframe?  is this generated by gulp?  just  trying to understand.  thanks for your response

@VictorEverett I don't have any iframe

thanks for working with me on this.  I can't imagine why whey I run the app I get an iframe yet when you run the app you don't.  why would you just close this?

If you are using this project and you see an iframe then take a look at the browser extension's you've installed.
I closed the issue because it is not related to the angular2-seed.


index.html.md:113: Document how to publish slate to...

The puzzle 10-b2e4db49 from #10 has to be resolved:
https://github.com/raboley/the-heroes-journey/blob/c3b7868a02f4880edf05939778336c2254f01870/source/index.html.md#L113-L113
The puzzle was created by @raboley on 05-Jul-20.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 10-b2e4db49 has disappeared from the source code, that's why I closed this issue.

@0pdd the puzzle #25 is still not solved.

@0pdd the only puzzle #25 is solved here.


Back button is broken after search

I am searching for something from the home page, getting a result, but if i click the back button it doesn't nothing happens.  It should send me back to the home page.

Duplicate of https://github.com/PATRIC3/patric3_website/issues/1999 I believe.
The back button in general is broken and we need to finish finding a solution to this that works everywhere.

I just tried several scenarios and back button seems to be working as expected.
Closing the ticket.


ImageManager::inspect()

First, small, typo in the header
this:
* @return ImageManager
shoule be something like
* @return json data from docker inspect, $image[id] is also set
further down in that function:
$image->setId($data['Id']);
// @TODO Add extra info on image
Why is the Id writteen again, and what is meant by that TODO, what extra info do you want stored? Did you also want to "re-write" the repo and tag, incase the $image variable is stale?
(I can create a  pull request one it has been agreed on what to do)

Why is the Id writteen again

IIRC what I was doing when I initially wrote this, ImageManager::inspect was meant to be used on images that have a repository set (and possibly a tag). It was not expected to work with a plain image id. When #79 is merged, everything will change, so this will need a fix too I guess.
So yes, I think re-writing the repository and tag too would be good, unless you have something better to propose to be sure the Image object has all the information (id + repository + tag)

I dont think it should set any of these, inspect() should just analyse and report back.
If inspect() gets an image with an id, it uses that. It should not need to change it. The json from docker is hardly going to come back with a different id?
Ah. Usually one does a find() first, which creates the image object, setting repo+tag. Then in find() one calls inspect.
Perhaps it would be more logical to have the $image->setId() in the find() as opposed to the inspect()
I have updated the PR so you can see what I mean

Yes that makes sense.

I guess we can close this now?

Tes!


Use mamba for cudf conda install [skip ci]

Signed-off-by: Peixin Li<EMAIL_ADDRESS>fix https://github.com/NVIDIA/spark-rapids/issues/4277
conda install seems give us weird inconstant versions,
use mamba instead as cudf recommended, verified locally

build


Lock vscode extensions' version

Now, the softwares installed into this image are certain, except the vscode extensions. That means, building the docker images by Dockerfile.build file will generate different images if one of the vscode extensions was updated between 2 builds.

https://github.com/zanminkian/web-ide/commit/42499954dc3a289e10d1ee47b5e5f9e5a510680d


Epic 472: Task management Phase II - add Task scorecard to Insights

part of #472 epic

Superseded by #1430


Add a test suite for Array

This salvages the work from #44381. Thanks to the original contributor :slightly_smiling_face:

Thanks!


Adding Birthday CountDown Timer

Adding a Birthday CountDown Timer That wishes on your birthday.
Please assign me this issue.
I m contributor at GSSoC'22.

hey @swapnilsparsh , Rajagopalan this side. I wish to make this birthday countdown timer.
I plan on displaying a heading saying "Countdown to your birthday" below which there is the countdown timer with days, hours, minutes and seconds displayed. The background is animated for birthday celebrations.
Below I am attaching a prototype for the same.

@rajprem4214 @rv602 Countdown Timer is already there on the website so look after some other projects.


(PUP-11667) document version range support for apt, yum and dnf

Can one of the admins verify this patch?

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

Thanks for your PR @evgeni Can you provide steps to show how this change corrects the documentation?

The rendered docs for the package type (eg https://www.puppet.com/docs/puppet/7/types/package.html) should list apt, dnf and yum with version_ranges in the "Supported features" list.

The diff of puppet doc -r type before and after looks correct:
1734c1734
< apt              |             | *X*      |              | *X*             | *X*         |                  | *X*       |               |                  |            |                   | *X*           | *X*         |                | *X*         | *X*              |
---
> apt              |             | *X*      |              | *X*             | *X*         |                  | *X*       |               |                  |            |                   | *X*           | *X*         | *X*            | *X*         | *X*              |
1738c1738
< dnf              |             |          | *X*          | *X*             | *X*         |                  | *X*       |               |                  |            |                   | *X*           | *X*         |                | *X*         | *X*              |
---
> dnf              |             |          | *X*          | *X*             | *X*         |                  | *X*       |               |                  |            |                   | *X*           | *X*         | *X*            | *X*         | *X*              |
1771c1771
< yum              |             |          | *X*          | *X*             | *X*         |                  | *X*       |               |                  |            |                   | *X*           | *X*         |                | *X*         | *X*              |
---
> yum              |             |          | *X*          | *X*             | *X*         |                  | *X*       |               |                  |            |                   | *X*           | *X*         | *X*            | *X*         | *X*              |
2038c2038
<     * Supported features: `holdable`, `install_options`, `installable`, `purgeable`, `uninstallable`, `upgradeable`, `versionable`, `virtual_packages`.
---
>     * Supported features: `holdable`, `install_options`, `installable`, `purgeable`, `uninstallable`, `upgradeable`, `version_ranges`, `versionable`, `virtual_packages`.
2071c2071
<     * Supported features: `install_only`, `install_options`, `installable`, `purgeable`, `uninstallable`, `upgradeable`, `versionable`, `virtual_packages`.
---
>     * Supported features: `install_only`, `install_options`, `installable`, `purgeable`, `uninstallable`, `upgradeable`, `version_ranges`, `versionable`, `virtual_packages`.
2400c2400
<     * Supported features: `install_only`, `install_options`, `installable`, `purgeable`, `uninstallable`, `upgradeable`, `versionable`, `virtual_packages`.
---
>     * Supported features: `install_only`, `install_options`, `installable`, `purgeable`, `uninstallable`, `upgradeable`, `version_ranges`, `versionable`, `virtual_packages`.

@evgeni Could you rebase your commit on 7.x?

@joshcooper done

GH is confused about which checks to run. Closing and reopening to retrigger with the correct list.


new faster data structure NomialMap

Closes #1082
Closes #1083

retest this please

This seems discerning to me. You can't solve aircraft.py, but all the unit tests are passing. The only thing failing is that the beam example is generating a different output. So it would seam that aircraft.py is exersizing something that does not exist in your unit tests, i.e. there is a hole in your test suite. Unless it's aircraft.py that needs to be updated.

Yeah, it's troubling. But aircraft.py is perpetually at the boundary of what's possible with gpkit, and changes a bit too rapidly to be a unit test just yet...

retest this please (compiler error on cvxopt systems??)

No compile error. The beam example is producing different output.  Yeah, that print difference was pointing to
a bug, I've got it tracked down and am fixing right now.

So there was no unit test to catch this bug. Could you add one so it does not reappear?

@galbramc, any idea why this is bringing up pylint issues from totally untouched folders?

Were you looking at just the new warnings? All warnings will include the existing warnings in untouched files. New warnings should only show up in files you have touched.

Yes, just the new warnings.

As best as I can tell, you have touched all the files listed here:
https://acdl.mit.edu/csi/job/gpkit_PullRequest_PyLint/406/buildnode=reynolds/warnings44Result/new/

Oops, you're right! My mistake.

Something is really wrong with reynolds. The computer in general is running incredibly slow, but I don't see a high load on it. I'm going to reboot the machine tomorrow to see if that fixes things. In the meantime, please be patient with long testing times.

@whoburg, this has a couple of remaining bugs that seem to do with the arbitrariness of varlocs order changing solve results a little bit, and that effect magnifying over multiple SP solves. Tracking it down now before merging, but in the meantime would recommend using this branch, since it now runs Phillippe's thesis great! (twice as fast)

what's the status of and plan for this PR?

test models please

test models please

@1ozturkbe, @mayork, by itself this reduces SP_aircraft.__main__ from 200s to 54s on my machine.

lol wait that might be my computer being weird

retest this please

@mjburton11, gassolar seems to be working on this branch, and should be a bit faster here! Still tracking down why d8 doesn't work on this. :-/

@1ozturkbe, @alisaab, could you check that this doesn't break RobustGP? I'm hoping to merge it into master soon.

@bqpd , I will get back to you early next week.

@whoburg this is ready for review (not yet pylinted though, so wait if you want me to take a first stab at docstrings before you review)

before (magenta is the mosek C code running)

after

Overall it's about one part building the model, one part building local approximations, and one part solving/checking/packing. The lowest hanging fruit remains changing genA to work with hmaps, second-lowest-hanging is probably speeding up solution packing.

engine code doesn't run on this branch...running the file engine_flight_profile_integration.py produces the following output
run engine_flight_profile_integration.py
T_{t_{4.1_{max}}}_Mission/Aircraft/Engine has no upper bound
Beginning signomial solve.
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
/Users/mayork/Documents/GpGit/turbofan/turbofan/engine_flight_profile_integration.py in <module>()
    468     mission = Mission(2, 2)
    469     m = Model(mission['W_{f_{total}}'], mission, substitutions)
--> 470     sol = m.localsolve(solver='mosek', verbosity = 1)
    471
    472     if plotR == True:

/Users/mayork/Documents/GpGit/gpkit/gpkit/constraints/prog_factories.pyc in solvefn(self, solver, verbosity, skipsweepfailures, *args, **kwargs)
     82         else:
     83             self.program, solvefn = genfunction(self, verbosity)
---> 84             result = solvefn(solver, verbosity, *args, **kwargs)
     85             solution.append(result)
     86         solution.program = self.program

/Users/mayork/Documents/GpGit/gpkit/gpkit/constraints/sgp.pyc in localsolve(self, solver, verbosity, x0, reltol, iteration_limit, mutategp, **kwargs)
    117     appear to be converging, you may wish to increase the iteration limit by
    118     calling .localsolve(..., iteration_limit=NEWLIMIT).""" % len(self.gps))
--> 119             gp = self.gp(x0, verbosity-1, mutategp)
    120             self.gps.append(gp)  # NOTE: SIDE EFFECTS
    121             try:

/Users/mayork/Documents/GpGit/gpkit/gpkit/constraints/sgp.pyc in gp(self, x0, verbosity, mutategp)
    207                     # TODO: cache parsed self.substitutions
    208                     smap = unsubbed.hmap.sub(self.substitutions, unsubbed.varkeys)
--> 209                     self._gp.hmaps[self._gppos+i] = smap
    210                 self._gp.gen()
    211             return self._gp

IndexError: list assignment index out of range

This means gpkit is missing a unit test. @mayork, can you create a unit test in gpkit on this branch that reproduces the error?

This looks like it happened somewhere in my last couple rounds of profiling, looking into it.

also it's only happening in engine_flight_profile_fleet.py

it only breaks in the very last commit...

TASOPT 737 3 mission optimization: 11 min 4 seconds
solving the SP version of that problem on this branch: 19.1 seconds (34.76x faster)
@1ozturkbe @whoburg

Ah, found the bug. Can probably be reproduced by any SP with a tautological monomial constraint.

You still have a hole in the unit tests of this bug was introduced and not caught by the tests. You should add a test, make sure it fails, then fix the bug, and make sure it passes. Otherwise some student in the future can break the code without knowing because the testing is incomplete.

@mayork: fixed!

@galbramc: I agree!

If you do not do it now it will likely not happen.

@whoburg, would you like to weigh in

@galbramc I went offline for a bit but it was already done before you requested @whoburg to weigh in, though I appreciate the concern.

Ok good. I was concerned it was getting added to an already long TODO list. So this test fails of you put the bug back in?

Yes, it fails on the previous commit. This ain't my first unit test, ya know :p

Lol, true.

sorry I was offline for a bit too...I also added the culprit model to turbofan tests (didn't before because it ran really slow but I'm just skipping cvxopt on that repo for now)

@alisaab, does this break RobustGP?

@bqpd  RobustGP is working on the latest gpkit pull

Awesome, thanks for checking!

(@alisaab, just to confirm; did you change your gpkit branch to nomialmap before running RobustGP?)

@bqpd  oops. Yeah I am getting an error: 8c47ff339e2e65abf4941badade7ef16c3e4f4c0

@alisaab which file in RobustGP should I run to reproduce this error?

@bqpd NomialMap_error

@alisaab, should be fixed in the newest push. Could you create a tests folder in robustGP and fill it with the scripts that you expect to run in future version of GPkit so we can add it to the unit testing?

test models please

@bqpd I will create that folder soon

@whoburg, this is ready for review

Thanks @bqpd and @galbramc for making sure we keep tests up to date.
These profiling visualizations are great, @edfan.
I'm going to fix the conflict now prior to review.

test models please

@whoburg, I was just about to tell you that all models are currently failing due to gpfit. So I would hope that the model test fails.

quick update -- I'm still reviewing this. I hope to finish today.

@whoburg, ready for re-review

Will re review tomorrow

make that today -- reviewing remains a top priority for me

@bqpd re-review complete

test models please

It looks like this currently breaks gas-solar (see models tests) -- that needs to be resolved before merging.

Locally I don't see any breaks on this that don't also happen on master...looking into it
Otherwise ready for rereview @whoburg

test models please

locally reproduced the gassolar failure, debugging....

test models please

@bqpd, re-review complete. What's the status on the model tests? They all pass over at https://github.com/hoburg/gpkit/pull/1124, which is a no-op from the point of view of the model tests.

test models please

test models please

test models please

test models please

test models please

test models please

test models please

test models please

test models please

test models please

test models please

test models please

@whoburg merging now that this passes model tests (at least as well as master...there's still that inconsistent turbofan)...it has its share of hacks, but fewer than on master, so I think it fits the "strict improvement" category. Plus, GitHub is crashing ~half the time it tries to load this issue due to all the commentary/commits on it!

cool, congrats on getting this one in, so many cool improvements!

PS let's try to keep PRs smaller than this  :)  once it breaks github it's solidly over the line...


The scope of the unsafe block can be appropriately reduced

In this function you use the unsafe keyword for some safe expressions.
We need to mark unsafe operations more precisely using unsafe keyword. Keeping unsafe blocks small can bring many benefits. For example, when mistakes happen, we can locate any errors related to memory safety within an unsafe block. This is the balance between Safe and Unsafe Rust. The separation is designed to make using Safe Rust as ergonomic as possible, but requires extra effort and care when writing Unsafe Rust.
Hope this PR can help you.
Best regards.
References
https://doc.rust-lang.org/nomicon/safe-unsafe-meaning.html
https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html

Thank you! Could you help format the code?


Fix Tests Broken by PR #5

Fix tests broken by replacing BrowserPanel with CalendarPanel (#5).

Fixed in d184ffe5736e7ddb35e5892d251f7f09a6d98bf1.


triggering a desired breakpoint auto-displays other threads and stops there without having breakpoint set

when triggering a breakpoint in one thread (the desired breakpoint), other threads are displayed and editor jumps to those threads without having breakpoints at those locations.
Very similar to the bug reported here and closed
https://github.com/Microsoft/vscode/issues/58125
Environment data

VS Code version: Code 1.27.1 (
Extension version (available under the Extensions sidebar): 2018.8.0 (04 September 2018)
OS and version: MacOS Sierra 10.12.6
Python version (& distribution if applicable, e.g. Anaconda): 3.7.1
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: Only package installed is vscode-python

Actual behavior
when triggering a breakpoint in one thread (the desired breakpoint), other threads are displayed and editor jumps to those threads without having breakpoints at those locations.
Expected  behavior
The process breaks at the desired current file and line .

Steps to reproduce:

Set breakpoint after another process that presumably creates another thread, in this case start a mongodb connection

Start debug, app will hit breakpoint and immediately open another file and stope

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
all are blank

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
Occurs after process is continued and allowed to finish..
console.ts:136 [Extension Host] Python Extension: Error in debugger Banner Error: Missing required @injectable annotation in: Random.
	at getTargets (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/planning/reflection_utils.js:20:15)
	at Object.getDependencies (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/planning/reflection_utils.js:11:19)
	at /Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/planning/planner.js:106:51
	at Array.forEach (<anonymous>)
	at _createSubRequests (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/planning/planner.js:94:20)
	at Object.plan (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/planning/planner.js:129:9)
	at /Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/container/container.js:316:37
	at Container._get (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/container/container.js:309:44)
	at Container.get (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/container/container.js:228:21)
	at ServiceContainer.get (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/ioc/container.js:28:89)
	at DebuggerBanner.<anonymous> (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:163:55)
	at Generator.next (<anonymous>)
	at /Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:18:71
	at new Promise (<anonymous>)
	at __awaiter (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:14:12)
	at DebuggerBanner.getDebuggerLaunchThresholdCounter (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:158:16)
	at DebuggerBanner.<anonymous> (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:135:22)
	at Generator.next (<anonymous>)
	at /Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:18:71
	at new Promise (<anonymous>)
	at __awaiter (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:14:12)
	at DebuggerBanner.passedThreshold (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:133:16)
	at DebuggerBanner.<anonymous> (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:72:30)
	at Generator.next (<anonymous>)
	at /Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:18:71
	at new Promise (<anonymous>)
	at __awaiter (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:14:12)
	at DebuggerBanner.shouldShow (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:68:16)
	at DebuggerBanner.<anonymous> (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:188:37)
	at Generator.next (<anonymous>)
	at fulfilled (/Users/currentuserfolder/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:15:58)
	at <anonymous>
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:412
(anonymous) @ extensionHost.ts:224
emitTwo @ events.js:126
emit @ events.js:214
emit @ internal/child_process.js:772
_combinedTickCallback @ internal/process/next_tick.js:141
_tickCallback @ internal/process/next_tick.js:180

Seems same as #2498
So far I had to digg trough stacks and fine the thread which actually pause on breakpoint - then I can step.

I have similar issues
Actual behavior

Can't step into
Breaking on lines where there is no breakpoint

Steps to reproduce

Put a break point anywhere where one wants to step into.
Try to step into and it will just continue to the next line of code.

Environment data
VS Code version: Code 1.27.1
Extension version (available under the Extensions sidebar): 2018.8.0 (04 September 2018)
OS and version: Ubuntu 16.04

I started getting the same issue (running on Windows). As @egorse suggested, looking for the thread and proceeding from there seem to be okay so the issue could be related to some threading issue or order of breakpoints.

confirming the thread workaround above works for me, and downgrading the extension to the previous version to 2018.7.1  via vsix also addresses this problem.   Will watch #2498 before updating...

Can you verify this, @DonJayamanne ?


UpgradedSendStream transmute is super unsound

https://github.com/hyperium/hyper/blob/1d4ff3597b8e76818c8553dbfa4234cf4208c958/src/proto/h2/mod.rs#L389C8-L397
This isn't sound. Neutered<B>  is:
#[repr(transparent)]
struct Neutered<B> {
    _inner: B,
    impossible: Impossible,
}

enum Impossible {}

Firstly, it's unclear what guarantees repr(transparent) confers here, impossible does have size_of == 0 but it's not exactly a zero-sized type. The repr(transparent) RFC is not clear about this, and it's quite shaky ground to rely on, especially since empty ("impossible") types are one place Rust does sometimes perform layout optimizations.
Empty types can and do affect enum representations. SendBuf<B> has the following definition:
#[repr(usize)]
enum SendBuf<B> {
    Buf(B),
    Cursor(Cursor<Box<[u8]>>),
    None,
}

There's nothing preventing the compiler from realizing that Buf(Neutered<...>) is impossible and deciding to not include it as a discriminant choice. The asserts in this code are insufficient to check that.
This code seems to work fine under the current compiler but I wouldn't rely on that.

For historical reference, this was discussed in https://github.com/hyperium/hyper/pull/2831 and determined it wasn't unsound. Could be we got it wrong in there, I'm just including it for context.

Yeah, that discussion seems to focus on whether Neutered<B> is constructed; not about whether the transmute is safe.

Also stepping back a bit this pattern here is extremely weird and has almost no comments explaining what it does or justifying its safety. It's worth considering moving away from this model anyway, if possible.

cc @nox, you'll remember this better than I.

There's nothing preventing the compiler from realizing that Buf(Neutered<...>) is impossible and deciding to not include it as a discriminant choice. The asserts in this code are insufficient to check that.

Agreed.

There is no such thing as “not include it as a discriminant choice” as that would be an observable behaviour for repr(usize) and break things related to such enums. Servo for example include uninhabited variants in repr(u32) enums specifically to skip a few variant discriminants to make the actually inhabited variants have their discriminants coincide with other enums. See discussions on the explicit discriminants Rust RFC. I am on PTO with a smartphone with a broken screen so you’ll excuse me for the lack of links in this comment hopefully.
Ven 22 déc 2023, à 16:09, Ralf Jung a écrit :

There's nothing preventing the compiler from realizing that Buf(Neutered<...>) is impossible and deciding to not include it as a discriminant choice. The asserts in this code are insufficient to check that.

Agreed.
—
Reply to this email directly, view it on GitHub https://github.com/hyperium/hyper/issues/3500#issuecomment-1867795392, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA6BV6JLBF3EMSPAHMNBULYKWPDNAVCNFSM6AAAAABA6V6R4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXG44TKMZZGI.
You are receiving this because you were mentioned.Message ID: @.***>

Ah sorry I had missed that this enum is repr(usize). That indeed makes a difference.

@RalfJung does that also work with the transitivity assumption?

Not sure which assumption exactly you mean?
Basically the question is, for two repr($int) enum, if they have the same variants in the same order and all fields have the same layout, then do the two enums have the same layout? I don't see any way this could not be the case; AFAIK layout is completely laid down for repr(usize). So I think just like repr(transparent) is "transitive" through repr(C), it should also be "transitive" through repr($int). At least I'd say we should make such a guarantee; I don't know if we do.
Whether that's actually implemented properly for uninhabited types (https://github.com/rust-lang/unsafe-code-guidelines/issues/485), I don't know.

Okay, good to know, thanks!

So did that extra information mean that this is fine after all? Or do we need to adjust something?

I think it's still potentially an issue given:

Whether that's actually implemented properly for uninhabited types (https://github.com/rust-lang/unsafe-code-guidelines/issues/485), I don't know.

but the bigger issue is a non-issue it seems.


Add connection timeout configuration for LDAP Client

I want to authenticate to a LDAP Server and If it is not possbiel to reach the server within a given timeout, i want to fallback to another, local auth mechanism.
For this it is neccessary to have a timeout config option and maybe a timeout event fired when timeout reached.

Yeah that would be useful.  I'll work that in sometime soon.

Ok, added - when you create the client, you can now pass in a timeout and connectTimeout (the latter for sockets).  timeout is a global setting, and applies to all operations (note it will not shut down the client, just that operation).  You can set the property timeout anytime later on on the client as well.  The default is not to use one.  I thought about setting a per-operation timeout, but it didn't seem tremendously useful right now (generally, people want this for searches, which usually take longer than everything else).  I can if others find that useful though.
It's in<EMAIL_ADDRESS>

Great! Thank you, i will try this out!


ci: Add support for ARM/RISCV by QEMU

Run failed in MacOS:
./test_wamr.sh -s spec
Starting interpreter for module '/var/folders/sd/mcflkwfs05l2myvkw51j1q480000gp/T/tmpk0m_eu7m.wasm'
Running: ../../../product-mini/platforms/darwin/build/iwasm --heap-size=0 -v=0 --repl /var/folders/sd/mcflkwfs05l2myvkw51j1q480000gp/T/tmpk0m_eu7m.wasm
Testing(return) call-overwritten-element  = 0x42:i32
;; Element sections across multiple modules change the same table
Writing WAST module to '/var/folders/sd/mcflkwfs05l2myvkw51j1q480000gp/T/tmp7sscdv2a.wast'
Compiling WASM to '/var/folders/sd/mcflkwfs05l2myvkw51j1q480000gp/T/tmpqekvp4rl.wasm'
Running: ./wabt/out/gcc/Release/wat2wasm --enable-thread --no-check /var/folders/sd/mcflkwfs05l2myvkw51j1q480000gp/T/tmp7sscdv2a.wast -o /var/folders/sd/mcflkwfs05l2myvkw51j1q480000gp/T/tmpqekvp4rl.waTraceback (most recent call last):
  File "/Users/wamr/WASM/wamr-internal-test/wamr-github/tests/wamr-test-suites/workspace/./all.py", line 464, in <module>
sm
Starting interpreter for module '/var/folders/sd/mcflkwfs05l2myvkw51j1q480000gp/T/tmpqekvp4rl.wasm'
Running: ../../../product-mini/platforms/darwin/build/iwasm --heap-size=0 -v=0 --repl /var/folders/sd/mcflkwfs05l2myvkw51j1q480000gp/T/tmpqekvp4rl.wasm
Testing Trap Mode: /var/folders/sd/mcflkwfs05l2myvkw51j1q480000gp/T/module1
Starting interpreter for module '/var/folders/sd/mcflkwfs05l2myvkw51j1q480000gp/T/module1.wasm'
Running: ../../../product-mini/platforms/darwin/build/iwasm --heap-size=0 -v=0 --repl /var/folders/sd/mcflkwfs05l2myvkw51j1q480000gp/T/module1.wasm
Did not one of following prompt(s): ['webassembly> ']
    Got      : ''
THE FINAL EXCEPTION IS Failed:
  expected: 'SystemExit(1)'
  got: 'Read file to buffer failed: open file /var/folders/sd/mcflkwfs05l2myvkw51j1q480000gp/T/module1.wasm failed.
'
Removing tempfiles
### End testing /Users/wamr/WASM/wamr-internal-test/wamr-github/tests/wamr-test-suites/workspace/spec/test/core/elem.wast
failed with a non-zero return code 101
    sys.exit(0 if main() else 1)
  File "/Users/wamr/WASM/wamr-internal-test/wamr-github/tests/wamr-test-suites/workspace/./all.py", line 420, in main
    ret = test_suite(
  File "/Users/wamr/WASM/wamr-internal-test/wamr-github/tests/wamr-test-suites/workspace/./all.py", line 301, in test_suite
    raise e
  File "/Users/wamr/WASM/wamr-internal-test/wamr-github/tests/wamr-test-suites/workspace/./all.py", line 284, in test_suite
    test_case(
  File "/Users/wamr/WASM/wamr-internal-test/wamr-github/tests/wamr-test-suites/workspace/./all.py", line 202, in test_case
    raise Exception(case_name)
Exception: elem

@wenyongh Could you try it again or we should add macos to CI

@wenyongh Could you try it again or we should add macos to CI

Yes, it works now. Had better not add MacOS spec test to CI, it takes long time to runtime spec case since -P  option isn't supported.


Handle multiple tabs using the same URL

Problem
At the moment, if you have multiple tabs using the same URL, the extension treats them as multiple pages.
This could result in some discrepancies which could be avoided.
Solution
If there are multiple tabs with the same URL, use the first one of them only.

I'll work on this one!


There is someone here?

The project is updated but the gem was no generated... There is someone that can generate it and push to rubygems?

kelvin, did you ever get access to the rubygem? We're having an issue here that I think might be resolved by the new version being pushed to a standard location rather than having to get it straight from Github.

No @dzoltok, I don't... :cry:

@chicks, can you arrange this?


[WIP] [feature] Concatenate contributor ids

Replaces #5824

Part of https://github.com/CenterForOpenScience/ember-osf/pull/59
Purpose
Contributors don't have guids, so it used the id of the user, beign unique for user per node. However that becomes a problem if you look for the ocntributor data universally, as missing the node information will lead to duplicate results (problems encountered in ember-osf). New ids for contributors are unique, and are concatenations of user and node ids.
Changes
Contributor ids are now a concatenation of node id and user id, separated by -
Ticket
https://openscience.atlassian.net/browse/OSF-6490

TODO

[ ] Update any frontend code to send correct contributor IDs.


Inspect usage of MakeGenericMethod/Type

We make extensive use of MethodInfo.MakeGenericMethod, Type.MakeGenericType, and Expression.Lambda (which calls MakeGenericType under the hood). The are the primary source of crashes on .NET Native.
We should inspect our usages of these troublesome APIs and reduce usage where possible, especially in commonly used paths e.g. QueryCompiler.CompileQuery

@anpete can you take a look at QueryCompiler.CompileQuery

We should just focus on things that are blocked... not removing ones that we have already enabled to work.


Duration Keeps Decimal as Days

I want to create a duration, and then add it to a moment. The reason is because Delphi stores dates in the format <Days from 12/30/1899>. and moment doesnt know how to parse this. So my solution was going to be to create a duration and add it to the moment.
The problem is that duration keeps the days in a decimal format. Shouldnt this reduce it down all the way to the millisecond spot?
    var base = moment("12/30/1899");
	console.log(base.format("dddd, MMMM Do YYYY, h:mm:ss a"))
	var dur = moment.duration(42156.4710896412, "days");
	console.log(dur.years() + " " + dur.days() + " " + dur.hours() + " " + dur.minutes() + " " + dur.seconds() + " " + dur.milliseconds())
	base.add(dur);
	console.log(base.format("dddd, MMMM Do YYYY, h:mm:ss a"))

if not does anyone have any alternatives to getting the hours minutes seconds and milliseconds from a decimal like that (besides doing it manually, which is also an option, just looking for an easier way)

Consider adding a function to simply convert to unix-based milliseconds:
function DephiToUnix(ts) {
    return (ts - 25569) * 864e5;
}

Now you'll can simply:
moment(DephiToUnix(42156.4710896412)).format()  // "2015-06-01T04:18:22-07:00"

or
moment.utc(DephiToUnix(42156.4710896412)).format()  // "2015-06-01T11:18:22+00:00"

etc...

Looks good! Thank you!

Looks good! Thank you!