Add test for translation cancel bulk action

Motivation

This is a follow-up issue for #2007 . Let's add some test for this new functionality 🧪
Proposed Solution

Add tests for the new bulk action which resets currently_in_translation status.
Alternatives

Leave it untested and live with higher threat of bugs 🐛
User Story

Additional Context

Design Requirements

Not blocked anymore as #2007 is completed.


[BUG]  Blog Images are not showing

Description of the bug
in your blog page the images of the blogs are not showing. i can fix that please assign me for this.
Please add screenshots (if applicable)

Add any other context about the problem here
No response
Checklist

[X] I have read the Contributing Guidelines
[X] I have checked the existing issues
[X] I am willing to work on this issue (optional)
[ ] I am a GSSoC'23 contributor

i already fixed this in this PR https://github.com/WebXDAO/WebXDAO.github.io/pull/549 7 month ago and it never got merged. this project seems to become obsolete.


"surveillance capitalism"

I think the expression "surveillance capitalism" (1.5 Decentralization) is ideologicly stamped and doesn't serve the academic prupose of the paper.
I think "surveillance society" would convey the same idea without the anti free market taste of it.

Yeah I agree.
I really like how Naval Ravikant explains this at the blockstack summit : https://youtu.be/IrSn3zx2GbM?t=10m34s
I'm making a PR changing to surveillance society.
Thanks @GaspardJ and welcome to the crew :)

there goes the pul request : #120


Mac QGIS version 3.16.2 not on website or outdated link?

On this page:
https://qgis.org/en/site/forusers/download.html
The hyperlink for the text:
"QGIS macOS Installer Version 3.16" -  links to version 3.16.1 it should link to 3.16.2.
Please fix this.
Thank you.

For what I can see, there is no 3.16.2 yet @PeterPetrik ?. I cannot check for real, as I do not have a mac and there is not version number in the files, but there is no file with a recent creation date...
Building of install packages is done on voluntary basis, so please be patient.

While in QGIS - select from the menu "Help"  and then "Check QGIS Version"
Was able to install the Windows 3.16.2 version using this method. However, the link for the MAC version is still 3.16.1 it should be 3.16.2. Perhaps I'm missing something?

link on web is ok, just package in not yet created. this is duplicate of https://github.com/qgis/QGIS-Mac-Packager/issues/106

link on web is ok, just package in not yet created. this is duplicate of https://github.com/qgis/QGIS-Mac-Packager/issues/106

Peter,
Thanks for the information.
Perhaps it would cause less confusion if on the website it stated that version 3.16.x for the macOS is not yet available.

Peter,
Thanks for the information.
Perhaps it would cause less confusion if on the website it stated that version 3.16.x for the macOS is not yet available.

QGIS 3.16.2 for macOS is now available.

QGIS 3.16.2 for macOS is now available.

Thank you!

On Jan 7, 2021, at 4:29 PM, Andrea Giudiceandrea<EMAIL_ADDRESS>wrote:
QGIS 3.16.2 for macOS is now available.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you!

On Jan 7, 2021, at 4:29 PM, Andrea Giudiceandrea<EMAIL_ADDRESS>wrote:
QGIS 3.16.2 for macOS is now available.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

So, you can close this issue.

So, you can close this issue.

Hi,
How does one know when a new macOS build is available for download? Is it stated on the website?
Thank you,
John

On Jan 7, 2021, at 4:29 PM, Andrea Giudiceandrea<EMAIL_ADDRESS>wrote:
QGIS 3.16.2 for macOS is now available.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi,
How does one know when a new macOS build is available for download? Is it stated on the website?
Thank you,
John

On Jan 7, 2021, at 4:29 PM, Andrea Giudiceandrea<EMAIL_ADDRESS>wrote:
QGIS 3.16.2 for macOS is now available.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

You can always check in the download area directly https://qgis.org/downloads/macos/ when the last file was produced. The link on the website only refers to the "latest" in that folder


Require SPARK, for clients for Hive/Spark/Tez on Master

Install clients for Hive, Spark, and Tez using Ambari's built-in capabilities. Also, require SPARK since Ambari doesn't have optional dependencies.

Does introducing the TEZ_CLIENT host dependency mean there should be a TEZ dependency at the cluster scope?  otherwise, 👍 LGTM

Probably. Let me be explicit and add it. It gets pulled in by Hive (kinda like how Pig does) always, but it is better to be explicit, IMO.

So... thinking about this, I need to not have TEZ at all. Otherwise, it will break on older HDP versions which don't ship TEZ. This will also affect SPARK.

HDP
Tez
Spark

2.0
n/a
n/a

2.1
0.4
n/a

2.2
0.5
1.3

2.3
0.7
1.5

2.4
0.7
1.6

2.5
0.7
1.6[*]

[*] Spark 2.0 is provided, but it's called SPARK2
I'll have to update the dependencies and such for the later HDP versions.


upx compatibility

Rice should work on a upx-compressed binary go executable: https://github.com/upx/upx/issues/195 .

The end-user says that it does work when appending the rice box to a binary executable that is already compressed by upx.


[Feature request] An option to send specified key when button is pressed with a modifier

Description of problem:
I have a setup that turns HJKL into navigation arrows while holding f:
nav_f  (tap-hold 500 f (layer-toggle navigation))

Navigation works beautifully. However, what I noticed is that when I type capital F, 90% of times it comes out as lowercase f. Looking at kmonad debug output I noticed it's because of a particular way I type when I'm typing fast:
(press Shift, press letter, release Shift, release letter)
That's a tough habit to get rid of.
Possible solution:
Have an option to tap-hold to send specified key when button is pressed with a modifier:
nav_f  (tap-hold 500 f (layer-toggle navigation) :modifier-shift: f)

I just wanted to open this exact same issue (having configured the same navigation layer myself).
Maybe the solution could also be for kmonad to detect if a modifier was pressed on the keydown event, as opposed to the keyup event, as it currently seems to be implemented. (This is just a guess on my part, maybe kmonad does this completely differently)

Here is a related issue: https://github.com/kmonad/kmonad/issues/50
This is the only thing that is kinda annoying thing for me at the moment.

#256 is another related issue (duplicate?).
One way to address this is pull request #524 which I would love to get feedback on. If you're willing to compile your own version from this branch, you could give it a spin and tell me if that fixes it for you.


Cannot use Github App on multiple projects for the same organization

I am trying to use the GitHub App authentication in multiple projects for the same organization.
I have created a project using the GitHub App (which is installed in GitHub giving access to all repos in the organization). This works fine as expected.
However, when I create another (a second) new project, I am prompted to use OAuth:

If I click on the other option Install our app from the GitHub Marketplace I am redirected to the GitHub App page:

Where I can confirm it is installed, and enabled for all repositories.
Expected behaviour
I would expect Azure Pipelines to give me a list of all my repositories when creating a new project.
According to the documentation:

The app will become Azure Pipelines’ default method of authentication to GitHub (instead of OAuth) when organization members create pipelines for their repositories. This is recommended so that pipelines run as “Azure Pipelines” instead of a user’s GitHub identity which may lose access to the repository.

This is one of the first search results for this issue.
The solution is to share the service connection across projects.


Problems with H6076

Version of the integration
Latest version. Reinstalled the integration just before filling this issue.
Device setup
RPI4 via docker. BLE enabled
H6076 Govee light with the latest firmware
Describe the bug
I have a problem using this integration with H6076 light. After installing and configuring the integration, the only functions that work are toggling on or off and sometimes brightness control. Color change, scenes and other functionality does not work at all.
Debug log
The only errors i get in the log are cancelled warnings if I try to control lights too quickly in succession.
File "/usr/local/lib/python3.11/site-packages/bleak_retry_connector/__init__.py", line 459, in establish_connection
   _raise_if_needed(name, device.address, exc)
 File "/usr/local/lib/python3.11/site-packages/bleak_retry_connector/__init__.py", line 326, in _raise_if_needed
   raise BleakConnectionError(msg) from exc
bleak_retry_connector.BleakConnectionError: C93832311A4F - C9:38:32:31:1A:4F: Failed to connect after 4 attempt(s): [org.bluez.Error.Failed] Cancelled

I have the exact same behavior on mine.
To be more precise, it's a Govee_H6076_684A, turning it on/off works, and the brightness can be used between 1% and 39% on Home Assistant, 39% corresponding to 99% in the Govee App

@Beshelmek ничего не посоветуешь? Где начинать, что копать?


Add integration test for rebalance in upsert tables

Mostly tests that partitions move as a whole unit to new servers

Codecov Report

Merging #11568 (172391d) into master (722f093) will increase coverage by 0.09%.
Report is 3 commits behind head on master.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #11568      +/-   ##
============================================
+ Coverage     62.94%   63.03%   +0.09%
- Complexity     1106     1109       +3
============================================
  Files          2325     2325
  Lines        124772   124797      +25
  Branches      19052    19056       +4
============================================
+ Hits          78534    78667     +133
+ Misses        40625    40535      -90
+ Partials       5613     5595      -18

Flag
Coverage Δ

integration
<0.01% <ø> (ø)

integration1
<0.01% <ø> (ø)

integration2
?

java-11
63.01% <ø> (+48.52%)
:arrow_up:

java-17
62.89% <ø> (+48.39%)
:arrow_up:

java-20
62.89% <ø> (-0.03%)
:arrow_down:

temurin
63.03% <ø> (+0.09%)
:arrow_up:

unittests
63.03% <ø> (+0.09%)
:arrow_up:

unittests1
67.44% <ø> (+0.16%)
:arrow_up:

unittests2
14.48% <ø> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 26 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Mostly tests that partitions move as a whole unit to new servers

is there an jira that prompted this item? did this not work in some env / scenario?

Mostly tests that partitions move as a whole unit to new servers

is there an jira that prompted this item? did this not work in some env / scenario?

Yes, there are cases when ideal state diverges from instance partition map and it created prod issues.
@klsince is working on the fix for the issue.

@klsince Can you help review this test?


PHP Parse error:  syntax error, unexpected '$value' (T_VARIABLE) in aws/aws-sdk-php/src/functions.php on line 36

For Bug Reports

BookStack Version (Found in settings, Please don't put 'latest'): v0.22.0
PHP Version: default 5.4, also have installed 7.1 as FPM/CGI
MySQL Version: Ver 15.1 Distrib 5.5.56-MariaDB

Expected Behavior
Use the configured PHP version for the site
Current Behavior
Uses default PHP version
Steps to Reproduce
Setup CentOS 7 Perfect server with ISPConfig using this guide: https://www.howtoforge.com/tutorial/perfect-server-centos-7-apache-mysql-php-pureftpd-postfix-dovecot-and-ispconfig/
Then install PHP7.1 using this guide: https://www.sunaryohadi.info/additional-php-versions-centos-7-nginx-ispconfig-3-gce.htm
Then create a site and set the site's PHP version to use 7.1
You will receive this error when trying to run "composer install":
PHP Parse error:  syntax error, unexpected '$value' (T_VARIABLE) in /var/www/clients/client1/web1/web/docs/vendor/aws/aws-sdk-php/src/functions.php on line 36

Please verify the PHP version you are using is 5.5+ unsing php --version. This is the version composer tries to use and judging only by the error you posted this might still be 5.4.
You may also try running
PATH=$PATH:/path/to/your/directory/with/php/7.1 composer install
but I think this will still fail due to some scripts in composer.json, but you will get past the package installation with that.

The CLI version is 5.4. I do not want to attempt to change that.
The path statement did not work. I still get the same error:
`PATH=$PATH:/path/to/your/directory/with/php/7.1 composer install

php -r "!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');"
php -r "!file_exists('bootstrap/cache/compiled.php') || @unlink('bootstrap/cache/compiled.php');"
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating optimized autoload files
Illuminate\Foundation\ComposerScripts::postAutoloadDump
PHP Parse error:  syntax error, unexpected '$value' (T_VARIABLE) in /var/www/clients/client1/web1/web/docs/vendor/aws/aws-sdk-php/src/functions.php on line 36
`

BookStack needs a newer PHP version than 5.4 even in the cli part.
Since your php 7.1 binary is not named php the command fails because it still uses php 5.4
You can try to create a symlink to the 7.1 binary and use this one in the path command line:
ln -s /usr/bin/php71 /tmp/php
PATH=$PATH:/tmp composer install

In this case the last found php binary will be used by composer.

Didn't work, got the same error. Apparently the assertion that the last found php binary to be found will be used is somehow incorrect. Here I show the path setting was applied, but it is still using wrong version:
[root@s02 docs]# PATH=$PATH:/tmp && echo $PATH && php -v
/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/admin/.local/bin:/home/admin/bin:/tmp
PHP 5.4.16 (cli) (built: Apr 12 2018 19:02:01)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

Ok, just checked. The first found executable in PATH is taken, so it should work if you change it to:
PATH=/tmp:$PATH

I had to also install php71-php-tidy from the REMI repo but once done it completed successfully! Thanks!
The rest of the install went without issue, however as I'm installing this to a site that has several things on the site (wordpress at site.com/, OTRS at site.com/otrs, and this at site.com/docs). So I can't alter the document root, as step 7 says, and I assume this is why I get a 403 error? Are there other options?

BookStack should run fine if you symlink the public directory to some folder in your document root, see https://github.com/BookStackApp/BookStack/issues/291#issuecomment-276442469
You may need to add a rewrite base to the included htaccess file.


cloning the repo, any artisan commands results in composer error code 255

doing a fresh clone and composer install results in an error

Can you try https://github.com/ably-labs/laravel-broadcast-app#run-using-docker for the time being ? I will try to reproduce this on my local and will get back to you by tomorrow.

Same Issue at RUN composer install with docker compose up method

Ohkay 🤔... @qsdstefan can you take a look if available?
btw, Is it the same exact log message? What's the php and laravel version

Make sure you clear the local folder cache or clone the project in a different folder and run using docker there

Its the same issue, PHP version is 8.2 , laravel version depends on the repository, cant say cause cant install

@AndyTWF can you check what might be going wrong here. I think we support php 8.2 for ably-php

The root cause of this error is that no Ably key has been provided - this needs to be set in the .env file. After setting that, I don't get this error on PHP 8.1 or 8.2.
The second part is only triggered whilst trying to handle the first error. It looks like we need to update the dependencies (ignition) on this repo to fix that, I believe ably-php is fine.

I think I did set the key, even still I believe that this type of error is expected on runtime and not while the dependencies are being installed. ably-php is running fine in a separate project of mine, I'm using the official laravel-broadcast Here which itself is based on ably-php, my issue was limited to this demo

This demo app uses Ably's own implementation of the Laravel broadcaster - rather than the official Laravel one, and the error is occurring during Laravel package discovery. Setting ABLY_KEY in the .env should certainly fix it in the short-term.
I do agree though, that ideally this message shouldn't happen during package discovery, so I shall look into this.

Hi @rishabhrao076, I looked into this further for you. The reason the error arises is not something that can be easily avoided or deferred to runtime, unfortunately.
When performing the composer post-install scripts, composer actually boots the application (so this is, technically, runtime) to perform the artisan package:discover process, as part of the bootstrapmprocess it loads the broadcast channels from routes/channels.php.
By declaring channels (in any app, not just this one), Laravel requires an instance of the Broadcaster, which in turn means that we need to instantiate the AblyRest client from ably-php. Therefore, we need auth credentials to be present either in .env or cached config.
In theory, as long as you have a .env file with an ably key before you run composer install, everything should work fine. The readme specifies instructions in the wrong order here, so I'll get that updated.
Let me know if you have any other questions :)

Thanks @AndyTWF I'll keep it in mind

We have updated the doc as per #16. So, I am closing the issue. Please raise a new issue if you face any more problems.


Suggestion: whitelist arg for drill and mine_radius effects

These effects would be easier to configure if they use whitelist instead of a blacklist, I think generally people create these effects for a few specific blocks rather than everything with a few exceptions
Add a new arg to these effects, something like "use_as_whitelist: true/false" this solution would prevent people having to reconfigure their effects.
A separate whitelist arg or changing blacklist to whitelist would accomplish the same goal.

Wrong repository, this should go in Auxilor/libreforge


lime can't handle xgboost model with large feature size?

I have a xgboost model with 50k features, and after a plenty long time, it reports the following error:
IndexError                                Traceback (most recent call last)
 in ()
----> 1 explainer = lime.lime_tabular.LimeTabularExplainer(arr3, feature_names=feats, class_names=["0","1","2"], discretize_continuous=True)
/usr/local/lib/python3.6/site-packages/lime/lime_tabular.py in init(self, training_data, training_labels, feature_names, categorical_features, categorical_names, kernel_width, verbose, class_names, feature_selection, discretize_continuous, discretizer)
138                 self.discretizer = QuartileDiscretizer(
139                     training_data, self.categorical_features, feature_names,
--> 140                     labels=training_labels)
141             elif discretizer == 'decile':
142                 self.discretizer = DecileDiscretizer(
/usr/local/lib/python3.6/site-packages/lime/discretize.py in init(self, data, categorical_features, feature_names, labels)
123
124         BaseDiscretizer.init(self, data, categorical_features,
--> 125                                  feature_names, labels=labels)
126
127     def bins(self, data, labels):
/usr/local/lib/python3.6/site-packages/lime/discretize.py in init(self, data, categorical_features, feature_names, labels)
49             n_bins = qts.shape[0]  # Actually number of borders (= #bins-1)
50             boundaries = np.min(data[:, feature]), np.max(data[:, feature])
---> 51             name = feature_names[feature]
52
53             self.names[feature] = ['%s <= %.2f' % (name, qts[0])]
IndexError: list index out of range

I need a bit more information. Is 'feats' the same length as arr3.shape[1]? That seems to be the problem, not the number of classes.

@marcotcr Yes, the feats lengths is the same as arr3.shape[1], Is that a problem? What's the correct  practice?

It should be the same. I thought it could be different because of the error you are getting. I don't know what it is, but if you could try running it on a reduced version of the array:
lime.lime_tabular.LimeTabularExplainer(arr3[:10], feature_names=feats, class_names=["0","1","2"], discretize_continuous=True)
and the error still persists, maybe you could share the first few rows of your data?

The arr3 is the training data used for the xgboost model, it is 46829 cols, like this:
array([ 0.     ,  0.     ,  0.     , ...,  0.25687,  0.     ,  0.     ])
I apologize that the error I paste above maybe not the original callstack ...


Django 1.9 compatability

Hi, do you have any plans for support new django version?

Work on new Django versions starts when they are released as stable. I'm going to leave this issue open for now to track progress in the future, but no work is being done AFAIK.

Having said that, the RCs are usually close to what the final will look like, so no harm in testing now and getting the usual round of fixes in sooner than later.

+python 3.5 support as it is supported in django 1.8 and 1.9

@auvipy Please see here (mezzanine) and here (cartridge) for Python 3.5 support.
It already works out of the box with the latest master of each.

https://www.djangoproject.com/weblog/2015/dec/01/django-19-released/

issue is fixed then :dancer:

1.9.1 released

75f97e1cbd0073950b205262615508118ef90d5f


[Storage] Prepare for patch release for Blobs GA

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


Package unable to handle multiple locale names for simplified Chinese locale.

There are multiple ways to specify simplified Chinese in IE11; zh-Hans, zh-Hant, zh, zh-cn. There doesn't seem to be a way to map multiple locale names to the same translation file. The only way to support this seems to be to create multiple directories, one for each language.
There should be a way to indicate that multiple locales all map to the same translation file.

would be doable by extending https://github.com/i18next/i18next/blob/master/src/i18next.helpers.js#L431
as i'm on the run to release next version - i'm not sure if this will land in this version.
a PR adding this would be very welcome.

upcoming v2: http://i18next.github.io/i18next.com/
i18next-node will be replaced by https://github.com/i18next/i18next-express-middleware
PRs welcome


Translations available

Hello!  Thanks for the great picker.  I've been very happy with it.
We've translated our app into four non-English languages (so far) so I have some translated text for the project.  I didn't upload it into the repo, however, because I made one change to the text.  For the key "networkErrorMessage" I removed the 'Try refreshing.' part. (So I don't have translations for that.)
ar.js.txt
es_419.js.txt
pt_BR.js.txt
tr.js.txt
I've attached the four files here.  Next time I update our translations I can get "Try refreshing" translated into the four languages and update these files.

I'm fine with removing the "try refreshing" part. It's kind of presumptuous for one component on a page to offer advice for the entire page, anyway.
Thank you very much for this!

Released in 1.8.0. Thanks again for this; this is awesome!!

No problem.  I'll add more translations as we get them.


add couchbase support

:+1: merge plz?

@zeitlinger might be worth to squash the commits first. you have multiple commits with the same message

please don't merge this branch, it's broken. #457 builds up on this, fixes everything, and adds many more features. We're using it at @ Rounds for some time now and it's working great.


OS Detection crashes when running on another platform then linux/win32/darwin

Expected Behavior
Starting up app
Actual Behavior
2016-08-15 15:46:28,120 [       cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "./pokecli.py", line 595, in
main()
File "./pokecli.py", line 90, in main
bot.start()
File "/export/home/cliff/PGBot/PokemonGo-Bot/pokemongo_bot/init.py", line 86, in start
self._setup_api()
File "/export/home/cliff/PGBot/PokemonGo-Bot/pokemongo_bot/init.py", line 710, in _setup_api
self.api.activate_signature(self.get_encryption_lib())
File "/export/home/cliff/PGBot/PokemonGo-Bot/pokemongo_bot/init.py", line 689, in get_encryption_lib
full_path = path + '/'+ file_name
UnboundLocalError: local variable 'file_name' referenced before assignment
Steps to Reproduce
Run on different OS (Solaris, FreeBSD, etc)
Patch to report unsupported OS, altough most unices could be but under the darwin linux header.
patch-pokemongo-os-detection.diff.txt
Other Information
OS: Solaris 11
Git Commit: 40ea94202d76c46dbc457d83621954d863a36452
Python Version:
Python 2.7.9

#4068


Add ack and acknowledged

I absolutely agree with this PR, affirmative?

Please link to a source for Ack. I assume you mean it as short for Acknowledged, but I've never seen that used before.

https://www.dictionary.com/browse/ack
It's a verb: 'to ack' = 'to acknowledge', or a noun: 'ack' = 'acknowledgement'.
I guess you're right that it's not commonly used, but then again, not all yes words in the list are all common.


Background noise / static on receivers when muted & using DTX

Describe the bug
When DTX is enabled and a mic has background noise but no significant audio when it is muted, receivers will continue to hear the background noise. DTX seems to continue playing this baseline level when the mic is muted. If you are making louder sounds when muting, audio will go silent as expected. If DTX is disabled, audio will always go silent as expected. It helps to use a lower quality mic that pics up more white noise static when quiet.
Server

Version: [0.15.7]
Environment: Regional clusters running from docker
any other information about your deployment setup

Client

SDK: [js]
Version: [0.17.5]

To Reproduce
Steps to reproduce the behavior:

two clients are connected to room, you can use https://example.livekit.io/
Turn volume up on user B
Have some static like background noise on user A's mic - nothing too loud.
Mute A's mic while not talking
Hear that the background noise continues to be heard on user B

Repeat the same steps but add normal talking audio when muting the audio. You'll observe that the audio goes completely silent.
Expected behavior
Audio should always go silent when muting the mic.
Screenshots
N/A
Additional context
This seems to be the exact same problem as this issue described for Jitsi: https://github.com/jitsi/jitsi-media-transform/issues/383. It was apparently fixed by forwarding a small number of 0 audio level packets after muting so DTX stops adding noise, see: https://github.com/jitsi/jitsi-media-transform/pull/384
I'll see if I can replicate a similar fix on LiveKit, but someone else may be able to add this kind of fix faster.

thanks for this report! really great analysis into the issue.
I think sending a few 0 audio packets should fix this. I think this will be similar to our fix for video where blank frames are forwarded.

I think sending a few 0 audio packets should fix this. I think this will be similar to our fix for video where blank frames are forwarded.

Yeah, that's what I was hoping. I have a test commit that I was playing with that uses WritePaddingRTP in downtrack's func (d *DownTrack) Mute(muted bool) { after removing the check in that function that stops it from working on audio tracks... however, that doesn't seem to be working for some reason regardless of the number of padding packets that I send. Perhaps I'm just not understanding the code and the padding packets aren't doing what I expect.

padding packets wouldn't work here. since they would get ignored by the receiving client. It'll have to be an actual opus frame, where it's has encoded silence.
Janus does it here


Update API url to api.track.toggl.com

We've been using this library for an internal tool that interacts with the Toggl API, and it has been working great.
We recently got the following email from Toggl, so just wanted to check if its on your radar to update this code to use the new urls? Thanks!

Hey @brentonrace,
We're glad that the library is useful!  I gave it a bit of a revamp over the weekend, including updates to these URLs.
Best wishes,
David


🐛 BUG: Early termination throws Warning: Can't perform a React state update on an unmounted component.

What version of Wrangler are you using?
0.0.0-aacd1c2
What operating system are you using?
Ubuntu 20 (WSL)
Describe the Bug
Start wrangler dev index.ts then immediately after ⬣ Listening at http://localhost:8787 appears, CTRL-C to break out. This error appears:
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
    at Remote (/home/jgentes/.nvm/versions/node/v16.13.2/lib/node_modules/wrangler/wrangler-dist/cli.js:117133:42)
    at Dev (/home/jgentes/.nvm/versions/node/v16.13.2/lib/node_modules/wrangler/wrangler-dist/cli.js:117081:13)
    at ErrorBoundary2 (/home/jgentes/.nvm/versions/node/v16.13.2/lib/node_modules/wrangler/wrangler-dist/cli.js:95934:39)
    at withErrorBoundary(Dev)
    at App (/home/jgentes/.nvm/versions/node/v16.13.2/lib/node_modules/wrangler/wrangler-dist/cli.js:78296:9)

Thanks for reporting! Looks like we're already tracking in #375

Ah, I forgot the first rule of submitting an issue :)


Prettify function types

Closes #92

We lose information about extension functions, though it's correct, since they can be dispatched as a traditional function

We never had that info in the first place.


The build dependency g++ is missing

The build dependencies are missing g++. See:
https://github.com/amazon-ospo/thunderabsa-cli/blob/68b2f5649ebae24ebf36d01251550537284d961d/README.md?plain=1#L16
It is necessary to additionally run apt-get install g++ so that  pip3 install thundera-bsa succeeds.

Hi!
Thanks for the reminder. I add it to the documentation.
Thanks,
Oscar


test: add check outbound connectivity script

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 22 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall First build on alyssa/check-outbound-script at 60.389%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/templates/templates_generated.go
0
22
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
60.4%

Covered Lines:
2578

Relevant Lines:
4269

💛  - Coveralls


Added a few issue templates

I have added 4 issue templates :)

Is this closed in the favor of https://github.com/EddieHubCommunity/.github/pull/27?

Ahem yeah

I thought it said pull request template but it was issue template lol


[BUG] Calling a cdef fused function declared in a base class falls back to Python invocation

Describe the bug
Calling a fused method declared with cdef which is inherited from a base class tries to invoke it via Python lookup, presumably because Cython can't find it.
To Reproduce
Code to reproduce the behaviour:
ctypedef fused primitive:
	int
	unsigned int
	float
	double

cdef class Base:
	cdef make_stuff_happen(self, object o, primitive* p):
		p[0] = o # automatically convert Python value to integer of the correct type

cdef class Real(Base):
	def __init__(self, o):
		cdef float y
		self.make_stuff_happen(o, &y)
		print(y)

Expected behavior
It compiles and runs normally.
Environment
Windows 10 (64-bit)
Python 3.9.5
Cython 0.29.26
Additional context

Edited, code should be nicer now


bug : APA102 is BGR Led

Hello,
in file https://github.com/tvdzwan/hyperion/blob/master/libsrc/leddevice/LedDeviceAPA102.cpp#L38-L40, in write function is programming with RGB value but normally is BGR (https://cpldcpu.wordpress.com/2014/11/30/understanding-the-apa102-superled/)
edit: https://www.adafruit.com/datasheets/APA102.pdf, page 3, BGR coding value
Replace :
_ledBuffer[iLed4]   = 0xFF;
_ledBuffer[iLed4+1] = rgb.red;
_ledBuffer[iLed4+2] = rgb.green;
_ledBuffer[iLed4+3] = rgb.blue;
by:
_ledBuffer[iLed4]   = 0xFF;
_ledBuffer[iLed4+1] = rgb.blue;
_ledBuffer[iLed4+2] = rgb.green;
_ledBuffer[iLed4+3] = rgb.red;
You can confirme this modification ? or hyperion modify the order color before this call ?
My test use TestSpi.cpp with fixed color
THX

OK https://github.com/tvdzwan/hyperion/commit/2a77b551c5b504f4ce9b0a179d4c20eaf6128f6b
But I think :
-> Hardware is defined with data sheet and protocole
-> Software is the function to realize
-> Driver is wapper beetwen H and S

@fcarlier is that fixed? can be closed?

Should be done


Deluge in autoProcess.ini, host or hostname?

In the README for the Deluge settings it has hostname, but in autoProcess.ini.sample it has host.  I assume it's the latter as per the other setting sections.  Just thought I'd let you know so you could fix this :smiley:

Thanks, good catch.
Host is correct, not hostname


Create events from markdown

I want to make editing events even easier, so I've added a prebuild npm target which takes markdown files from /events and creates a event definition file.
What do you think, @mdrie ? If you like the idea, I would convert all existing events to markdown.

Events get more readable (see https://github.com/neustartklima/ich-kann-klima/blob/2ea101f70058bf663dbce3cecd410bcb2f2ff224/events/Altbausanierung.md)

Hey Joachim, this is a very nice idea.
However, i think that we loose quite a bit of IDE support, since the typescript blocks within the markdown might be checkt syntactically, but certainly not semantically. A serious plugin for vscode might solve this (like Volar for Vue).
If we do this, my suggestion would be to do it completely: Also for laws and including a vscode plugin for complete contextual semantics. Also, we should change the signature of the apply() function not to use context to eliminate the dependency on vuex.
All in all, i think our priority should be to (1) make the game work as a game (first happy path, then additional events and laws to distract/divert form the happy path) and (2) make it appealing to play on mobile as well es desktop using Alinas design and possibly clarify with her which additional graphics are needed.
The idea might help us with (1). Currently, my impression is not that the others will participate more in writing laws, if they can do it with Markdown with embedded JS rather than the other way around - but that is something we can ask them on Thursday.
Can we put this into an issue as a great idea for the future with a reference to the branch?

You are quite right, we should postpone that.


Optionally add storm UI 'log viewer' service through new attribute

Default behavior should be unchanged with this change.
Users can optionally change default['storm']['enable_logviewer'] = 'false'  to 'true' which will enable the web link functionality to view log files for worker/supervisor nodes.

Hey Kai!
Thanks for the email. Yeah... I was wondering the same thing bout Travis
:-)
I added a spec test that included the new resources and just pushed the
change. You'll also notice that I had to update the spec_helper to set the
platform/version info. Seems things have changed a bit since earlier
versions of chef. This was tested against 12.16.42 as noted.
Thanks for the cookbook! It worked great for my needs. Super easy to
read/follow. Very appreciative!
Matt
On Tue, Jan 31, 2017 at 5:13 AM, Kai Sasaki<EMAIL_ADDRESS>wrote:

@Lewuathe commented on this pull request.
@85matthew https://github.com/85matthew Thanks for pull request. I'm
not sure why CI is failiing. TravisCI uses old ruby versions (2.0.0,
2.0.0-p576).
And also could you add spec for logviewer service like other components
https://github.com/Lewuathe/storm-cookbook/tree/master/spec?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Lewuathe/storm-cookbook/pull/23#pullrequestreview-19300473,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJp7POTr2HsP6GduJLRZH9vDyWFrIwzpks5rXyV0gaJpZM4LvXqO
.

I found the prerequisites requires ruby 2.2.2. Could you try to update 2.2.0 -> 2.2.2?
Gem::InstallError: nio4r requires Ruby version >= 2.2.2.

Thanks for that. Updated some more formatting based on rubocop and it's
passing now.
On Sun, Feb 12, 2017 at 4:56 AM, Kai Sasaki<EMAIL_ADDRESS>wrote:

I found the prerequisites requires ruby 2.2.2. Could you try to update
2.2.0 -> 2.2.2?
Gem::InstallError: nio4r requires Ruby version >= 2.2.2.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Lewuathe/storm-cookbook/pull/23#issuecomment-279213542,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJp7PMeHS_eSapp7UWTZMFovc7HPtPHCks5rbvOCgaJpZM4LvXqO
.

@85matthew Thanks for update. I confirmed it works as expected.
Thank you very much of the patch!


support library evolution

These changes are made according to the .swiftinterface of Apples's Official Combine framework.
So it should not affect the performance or correctness of OpenCombine.
With these changes, OpenCombine can be distributed as a static binary framework

I also need library evolution, and here is a brief background: I work on a large-scale Swift project, where we use binary dependencies during development to reduce build time, although we still use source code builds when releasing.  Since modules with BUILD_LIBRARY_FOR_DISTRIBUTION enabled require dependencies that also have BUILD_LIBRARY_FOR_DISTRIBUTION enabled, I had to fork a copy of the OpenCombine code and make some modifications to support library evolution.  However, I have always hoped that we could return to the main branch, i.e., using the public release version.


Export JSX back to glTF

Is it possible to export the JSX back to glTF?

Yes, I'd use something like three's GLTFExporter.

Thanks Cody!

When I try to use GLTFEXporter all I get is this:
{
"asset": {
"version": "2.0",
"generator": "THREE.GLTFExporter"
},
"scenes": [
{
"nodes": [],
"name": "AuxScene"
}
],
"scene": 0
}
even though I have a whole scene with may meshes that are animated


qt.conf post link not running on Windows

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
I'm updating some old code that used to read the qt.conf file. However, on Windows this package no longer seems to actually generate this file even though the configuration seems to say it should.
The build script says it copies a post link script:
https://github.com/conda-forge/qt-main-feedstock/blob/1f4e0e494c19b1f0898b61646b831813b3b14b23/recipe/bld.bat#L127
I see a <env>/Scripts/.qt-post-link script with:
@echo off
setlocal enabledelayedexpansion
:: This file should be run after installing the qt package into any
:: environment.  It makes it so Qt knows where to look for includes and
:: libs.  This script is copied in bld.bat to the post-link script for qt,
:: which means it is run after the Qt package gets linked, and sets up
:: the correct path for whatever Conda env you install Qt to.
pushd "%~dp0\..\"
set "FORWARD_SLASHED_PREFIX=%CD:\=/%"
if not exist "%CD%\Library" mkdir "%CD%\Library"
if not exist "%CD%\Library\bin" mkdir "%CD%\Library\bin"
echo [Paths] > "%CD%\Library\bin\qt.conf"
echo Prefix = %FORWARD_SLASHED_PREFIX%/Library>> "%CD%\Library\bin\qt.conf"
echo Binaries = %FORWARD_SLASHED_PREFIX%/Library/bin>> "%CD%\Library\bin\qt.conf"
echo Libraries = %FORWARD_SLASHED_PREFIX%/Library/lib>> "%CD%\Library\bin\qt.conf"
echo Headers = %FORWARD_SLASHED_PREFIX%/Library/include/qt>> "%CD%\Library\bin\qt.conf"
:: Qt seems to not bother setting QMAKE_SPEC nor QMAKE_XSPEC these days on Windows.
echo TargetSpec = win32-msvc>> "%CD%\Library\bin\qt.conf"
echo HostSpec = win32-msvc>> "%CD%\Library\bin\qt.conf"
:: Some things go looking in the prefix root (pyqt, for example)
copy "%CD%\Library\bin\qt.conf" "%CD%\qt.conf"
@echo on

But there is no qt.conf. Now I have no idea if this is limiting Qt/qt-main at all, but I'm still confused why the file isn't created.

I...I...I have no idea. I looked back at the code that I was updating that sparked this bug report and I simply add a if not os.path.exists(qt_conf_file): return and just skipped the rest of the work I used it for.
I'm guessing if no one intentionally fixed this that is isn't fixed/repaired, but I still have no idea if that's OK Qt-wise. I'll try starting up a Windows VM (which I think you can still get a version for free from Microsoft) tomorrow and see if I can investigate. Given the Qt pinning throughout conda-forge I'll have to be careful about how I test this, maybe just look at the actual files.

I created a new environment in my Windows 10 VM with conda create -n qt_test qt and I find a qt.conf in the root of the repository and in <env>/Library/bin/ which is where they used to be. This installed qt-main 5.15.8 build 12 which isn't the newest build it seems, but is the newest version. So I think this is resolved :man_shrugging:
Closing...


Menu doesn't roll up even if we enter a choice that is not listed

OK, we have typed in "20 mm", which is not one of the choices,

but the list doesn't roll up on its own at this point.
It should roll up so we can start to work on the next question (field).
At this point the user will probably start clicking around the edges somewhere, in order to get it to roll up.
(Same menu as  in #8401.)

This is intended functionality. The drop-down menu is revealed while the text field is in focus unless there is no suggestions. You can use Tab, Shift+ Tab, Enter, or click anywhere on the edit feature side panel to unfocus the text field.


use tarball instead of git to resolve electron packager issue

electron-userland/electron-packager#796

does this mean that current build is broken ?


Changed flashing order

Before switching to esp-open-rtos I spent a great deal of time scratching my head until I found out about the ESP ROM SPI flash erase bug when my program failed to boot. As the esptool fix has not been pulled yet, the flashing order needs to change.

Thank you! I've been idling following this issue, but I guess it hadn't bit me yet.

It bit me a few weeks back and it took an entire evening to unlock its jaws :)


Add documentation comments for functions currently without docs

for example, the helpers and geojson library don't have any documentation. The new extension methods are also not documented anywhere.

https://github.com/dartclub/turf_dart/pull/75/commits/b2d66a6b132e1ac88722d1245f5941a3b02afda9 deals with this.


Check if datatypes are reasonable

Use Case
It seems like some datatypes could be more accurate
Describe the Solution You Would Like
correct datatypes if reasonable
Additional Context
example:
Variant[String[1], Stdlib::Port, Integer] $port = $postgresql::server::port,
Since Integer accepts all integers and String[1] all non empty strings the specialized  Stdlib:Port will be without effect if it is a Pattern.
It does not make sense to have both Integer and Stdlib::Port since it is defined as Integer[0,65535] - should probably remove Integer from the variant unless it is possible to have a port that is > 65535.

It does not make sense to have both Integer and Stdlib::Port since it is defined as Integer[0,65535] - should probably remove Integer from the variant unless it is possible to have a port that is > 65535.

Excellent example: it's impossible to have a port > 65535 because there simply aren't more bits in the TCP header. it's 16 bits and 2¹⁶ is 65536. If you start at 0 you end up with 65535 as the upper bound.
Similarly, we shouldn't accept strings for ports, unless the software allows specifying a range (like 10-20). Even then a Pattern would be better.

TIL! Thanks @ekohl

Removing Strings support for the $port parameter would be a breaking change. I am fine with that. Currently there are tests which cover this behaviour too.


Why is Monoid a record rather than a Class

Monoids in coq-ext-lib are defined as follow:
https://github.com/coq-community/coq-ext-lib/blob/ee71d144bd2a171532d9243198538c93aebb8a58/theories/Structures/Monoid.v#L11-L14
Is there a special reason that the definition is a Record rather than a Class? I know that, under the hood, they are the same thing, but if my understanding is correct, you will not be able to declare a data structure as an instance of a Monoid unless you use Existing Class Monoid (why cannot be found in coq-ext-lib).

The reason is that the index of the data structure (T) does not uniquely determine the Monoid. You could have + and 0, or * and 1, etc. We could go the Haskell route and wrap things, but I chose not to go that way initially because the wrapping incurs a performance cost.

But unlike Haskell Coq allows multiple typeclass instances for a type.
I do not have statistics on this but I suspect that in most practical uses there will be one monoid per type and using typeclass will make it much easier to work with it. In rare cases when there are multiple monoids per type they will have to specify which instance to use implicitly.

Is this is intended way of doing monoid-related things(suppose I need Monoid (list ..) instance for WriterMonad:

Existing Class Monoid.
Existing Instance Monoid_list_app.

?

My understanding is that Existing Class is "infectious", so if you use it, then everyone who depends on you is also forced to use it. If this is the recommended style, then ExtLib should change Monoid into a Class and users should specify instances manually when there are multiple of them.
An alternative is to use Local notations for certain things, e.g.
Local Notation "a ++ b" := (Monoid_list_app.(mplus) a b) ...

I'm not writing a lib, I need it only for a certain class of definitions... What is a Local notations thing? How can it help me to write MonadWriter instances? Maybe you know a better way to do this?

If you can provide more information, I'm happy to see if I can find a nice way to address your problem.

@gmalecha I am also curious to see if there is a better solution.

Sorry for not responding earlier. The hacky way to solve this problem is something like:
Local Notation tell := (tell (M:=Monoid_list_app _))

You can also convert this into a definition like:
Definition tellN (n : list Z) : Writer nat unit :=
  tell (M:=Monoid_list_app ...) n.

A better solution, however, would be ideal. Perhaps that is to make Monoid a type class and wrap things the way that Haskell does, i.e. you might not have an instance for Monoid nat but rather for something like:
Record Plus : Set := mkPlus
{ unplus : nat }.
Coercion mkPlus : nat >-> Plus.
Instance Monoid_Plus : Monoid Plus :=
{ monoid_plus a b := mkPlus (Nat.add a.(unplus) b.(unplus))
; monoid_unit := mkPlus 0 }.

... MonadWriter Plus T.

This is a lot of boilerplate though.


ValueError: Unknown scheme for proxy URL URL('socks://localhost:10808/')

Hello, I encountered the following error while running Python demo/seed/app. py. How should I resolve it? Thank you·
Traceback (most recent call last):
File "/home/cv8888/byf/industrial_vision/SAM/Segment-Everything-Everywhere-All-At-Once/demo/seem/app.py", line 14, in
import gradio as gr
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/init.py", line 3, in
import gradio._simple_templates
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/_simple_templates/init.py", line 1, in
from .simpledropdown import SimpleDropdown
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/_simple_templates/simpledropdown.py", line 6, in
from gradio.components.base import FormComponent
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/components/init.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/components/annotated_image.py", line 14, in
from gradio.components.base import Component
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/components/base.py", line 20, in
from gradio.blocks import Block, BlockContext
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/blocks.py", line 29, in
from gradio import (
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/networking.py", line 13, in
from gradio.routes import App  # HACK: to avoid circular import # noqa: F401
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/routes.py", line 137, in
client = httpx.AsyncClient()
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/httpx/_client.py", line 1429, in init
proxy_map = self._get_proxy_map(proxies or proxy, allow_env_proxies)
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/httpx/_client.py", line 217, in _get_proxy_map
return {
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/httpx/_client.py", line 218, in
key: None if url is None else Proxy(url=url)
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/httpx/_config.py", line 336, in init
raise ValueError(f"Unknown scheme for proxy URL {url!r}")
ValueError: Unknown scheme for proxy URL URL('socks://localhost:10808/')

you probably need to upgrade/change the gradio version.


Consume provider values via render prop as children

Motivation
Uncontrolled components are fairly straightforward to use, as seen in the basic Select example:
export default function Example() {
  return (
    <SelectProvider defaultValue="Apple">
      <SelectLabel className="label">Favorite fruit</SelectLabel>
      <Select className="button" />
      <SelectPopover gutter={4} sameWidth className="popover">
        <SelectItem className="select-item" value="Apple" />
        <SelectItem className="select-item" value="Banana" />
        <SelectItem className="select-item" value="Grape" disabled />
        <SelectItem className="select-item" value="Orange" />
      </SelectPopover>
    </SelectProvider>
  );
}

However, in complex scenarios like the ‘Select with custom items’ one, either a state variable shall be used or the value being stored by SelectProvider has to be accessed through useSelectContext(), wrapped by a custom component like SelectContextConsumer as shown:
type SelectContextConsumerProps = React.ConsumerProps<
  ReturnType<typeof useSelectContext>
>;

function SelectContextConsumer({ children }: SelectContextConsumerProps) {
  const store = useSelectContext();
  return children(store);
}

export interface CurrencySelectProps<T extends string> {
  label?: React.ReactNode;
  items: readonly T[];
  defaultValue?: T;
}

export function CurrencySelect<T extends string>({
  label,
  items,
  defaultValue,
}: CurrencySelectProps<T>) {
  return (
    <SelectProvider defaultValue={defaultValue}>
      <SelectLabel className="label">{label}</SelectLabel>
      <Select className="button">
        <SelectContextConsumer>
          {(store) => {
            const value = store?.useState().value;
            return typeof value === "string" ? (
              <CurrencySelectItemContent currency={value} />
            ) : null;
          }}
        </SelectContextConsumer>
        <SelectArrow />
      </Select>
      <SelectPopover gutter={4} sameWidth className="popover">
        {items.map((item) => (
          <SelectItem key={item} value={item}>
            <CurrencySelectItemContent currency={item} />
            <SelectItemCheck />
          </SelectItem>
        ))}
      </SelectPopover>
    </SelectProvider>
  );
}

interface CurrencySelectItemContentProps {
  currency: string;
}

function CurrencySelectItemContent({
  currency,
}: CurrencySelectItemContentProps) {
  return (
    <span className="item-content">
      <CountryFlag code={currency} intrinsicSize={24} />
      {currency}
    </span>
  );
}

Usage example
No separate component should be needed to use the value managed by SelectProvider. It should expose its underlying context value through a render prop specified as children.
export function CurrencySelect<T extends string>({
  label,
  items,
  defaultValue,
}: CurrencySelectProps<T>) {
  return (
    <SelectProvider defaultValue={defaultValue}>
      {(store) => {
        const value = store.useState().value;
        return (
          <>
            <SelectLabel className="label">{label}</SelectLabel>
            <Select className="button">
              <SelectContextConsumer>
                <CurrencySelectItemContent currency={value} />
              </SelectContextConsumer>
              <SelectArrow />
            </Select>
            <SelectPopover gutter={4} sameWidth className="popover">
              {items.map((item) => (
                <SelectItem key={item} value={item}>
                  <CurrencySelectItemContent currency={item} />
                  <SelectItemCheck />
                </SelectItem>
              ))}
            </SelectPopover>
          </>
        );
      }}
    </SelectProvider>
  );
}

An additonal benefit would be that the type of store could be narrowed to SelectStore<T> via inference (from SelectStore<SelectStoreValue> | undefined returned by useSelectContext()). Therefore, checks like typeof value === "string" in my initial example become redundant.
Requirements
SelectProvider should accept a function of type (store: SelectStore<T>) => React.ReactNode as children alongside React.ReactNode.
All the other providers should possibly follow suit.
Workaround
https://github.com/kripod/fxhu/blob/b8e4e741f22705afb98aa0f2cb9bf4c05516f073/src/components/CurrencySelect.tsx#L56-L63
Possible implementations
Backwards compatibility can be retained by evaluating typeof children === "function" within providers.

This could definitely be interesting and generally speaking represents a wide use case. Maybe it could be interesting to implement a sort of SelectConsumer that comes with the possibility to parse in a function as a child like you explained.
Overall to implement it directly on the Provider does not represent the standard react way, so I would not recommend it this way.


Deploy backend part.

Deploy FastAPI backend.

I've already deployed the FastAPI backend part using the Heroku service.


[mieb] Fix siglip bug & add retrieval datasets

fixed SigLIP text tokenizer bug. padding=True->padding="max_length". Turns out this led to significant performance drop in zero-shot classification and retrieval what has texts (comparing the results here and https://github.com/embeddings-benchmark/tmp, e.g., MNISTZeroShot ~10 accuracy -> 80+ accuracy). Reference: https://github.com/huggingface/transformers/blob/v4.46.2/src/transformers/pipelines/zero_shot_image_classification.py#L147

Remove normalization in SigLIP single-modality encoding which constantly hurts linear probing performance (comparing CIFAR and MNIST results here and https://github.com/embeddings-benchmark/tmp).

Fix #1417

added EDIS and GLV-v2 I2I retrieval.

cc @Muennighoff
Checklist

[x] Run tests locally to make sure nothing is broken using make test.
[x] Run the formatter to format the code using make lint.

Nice! I do wonder if points 1 and 2 should be applied to any other models 🤔
looks like it's a siglip only thing! https://github.com/huggingface/transformers/blob/v4.46.2/src/transformers/pipelines/zero_shot_image_classification.py#L147


Correctly record multiple native dirs per package

This fixes a bug when a package's build script outputs multiple library search
paths.  Because Compilation::native_dirs is a HashMap<PackageId, PathBuf> it
can only store one path per package.  Currently if there are multiple paths,
all but the last will be inserted and then overwritten.
The key from this map is never used anyway, so this fixes the bug by changing
it from a HashMap to a HashSet.

r? @wycats
(rust_highfive has picked a reviewer for you, use r? to override)

Added a second commit with a fix for #2765, since it depended on the first commit here. See the issue and the commit message for details.

Thanks! Could you be sure to add a test for both bugs as well?

Could you be sure to add a test for both bugs as well?

Done.

Instead of using Regex can this just use .splitn('=', 2)?

Done. I also made the prefix search more specific, so it exactly matches rustc's behavior. This is a bit annoying, but it's the only way to get correct results in the presence of directories with = in their names. Included a test for this.
Also changed for i in &native_dirs to for i in native_dirs.iter().

@bors: r+ 0cf0ce780c18822ddb097fd8efbe1bbba12b4a7f
Thanks!

:hourglass: Testing commit 0cf0ce7 with merge 3e70312...

:sunny: Test successful - cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


Feature/41b authentication setup backend

#41 Authentication Setup Backend
This PR continues on from the previous PR. It adds support in the back end to verify a Jwt token sent by the front end.
ExamplePrivateApi exposes some endpoints. The private endpoint is secured in the configure method in SecurityConfig.
Update 05/05/2020
I've refactored a lot of the Authentication code to use Spring Security instead of manually passing the token around. We can still access the token value using a method in the Authentication class using getTokenValue().
We still need to send some requests to the Auth0 API in order to get userInfo which contains the users email. We can use the email (or the users Auth0 ID) to get the users Roles from the Auth0 database.
Since we are using the users email to find them in the database, we will always need use the Auth0 ID from the access token to send a request to Auth0 for the users email. We can tailor the request to the Auth0 API in order to make the response smaller.
I've currently got very vague descriptions for some of the thrown exceptions in the class. The exceptions are thrown by the Java HttpClient.send() method.
Back-end
In order for the back-end to access certain parts of the Auth0 Management API, a client_secret must be used to get an access_token.
To do this, see rename the file resources/application-local-example.properties to resources/application-local.properties and add the client secret here. This can be found in the Auth0 dashboard.
You then need to add -Dspring.profiles.active=local to your VM options in the run configuration:

This token currently gives us full scope access which we should reduce in the future. Using this access token, we can access all of the Auth0 Managament API.
Other points for back-end
Currently, a lot of the methods in AuthenticationUtils take a String token parameter. We then perform checks on this string. However, when we use Spring Security to protect an endpoint in SecurityConfig it automatically stores information about the access token. This can then be accessed using SecurityContextHolder.getContext() in the current execution thread. This means that the users token doesn't need to be specified in the method, and we don't need to find the "Authorized" header from the request. However, if we are outside the execution thread of the endpoint, then it cannot be accessed.
TODO: Back-end
Split AuthenticationUtils into two separate classes, one to handle some of the business logic and another to handle any Auth0 related requests. The methods here also need updating to return the correct values, currently I'm not sure what should be returning what.
Front-end
From the front-end, it is possible to fetch the /api/public endpoint, but in order to access the /api/private end-point, this header must be used:
Authorization: Bearer <TOKEN>
Where token is the logged in user token. This can be obtained via Auth0 hooks and used like this:
import React from 'react';
import { useAuth0 } from '../react-auth0-spa';

const ExampleComponent = () => {
  const { getTokenSilently } = useAuth0();

  const getPrivateEndpoint = async () => {
    const token = await getTokenSilently();
    const response = await fetch('http://localhost:3000/api/private', {
      headers: { Authorization: `Bearer ${token}` },
    });
    return response.json();
  };

  return <div>{getPrivateEndpoint()}</div>
};

export default ExampleComponent;

I've also temporarily added a button which prints the current users access token to the console to be used in postman API tests for example.

Looks like you're on the right track with this. If a token is found to be invalid, we need to be able to return an informative warning about why it's been rejected. eg, has it expired, was it issued by our issuer for this app, does it have all the parts required for decoding and user pairing, etc

I am going to check this branch out locally and see what else needs to be done this morning

To those reading today, this is still in development so we do not yet require another review.
After discussions today, we still want to:

Add some more meaningful error messages
Use server-side roles to establish permissions, so remove and code we don't need which would get that info from AuthO
update the front-end to attach a valid token to every request made
tidy up

So at present:
You can now add an entry into data.sql with an email address matching your email address used to obtain your token. Then when you hit an endpoint such as 'myShifts' the email is extracted from the access token and shifts returned for that user.
The admin check is currently still performed within the classes as before. I'd like to be able to do this in the SecurityConfig (hence the comment line), but this will require the addition of an additional JwtTokenFilter class such as this one: https://github.com/ScottLogic/mtg-app/blob/master/cardstore/src/main/java/com/scottlogic/cardstore/authentication/JwtTokenFilter.java
Next, a valid token is currently hard coded in 'global.ts' on the front-end. This should be removed, and a fresh token attached to each outgoing request. This should be done in a request handler class such as 'apiService', which contains basic generic 'get' and 'put' methods, which take a url as an argument, then attach all necessary headers.
PR still contains some experimental code. Can be cleaned up now we know what we do/don't need.
In summary, tasks to do are:

append a fresh token to all front-end requests rather than a hard-coded value
add a JwtTokenFilter class to the back end so that we can perform an admin check in SecurityConfig rather than manually extracting the role
Remove back-end code we've decided not to use, as there's a bit left over from experimental setups

In summary, tasks to do are:

append a fresh token to all front-end requests rather than a hard-coded value
add a JwtTokenFilter class to the back end so that we can perform an admin check in SecurityConfig rather than manually extracting the role
Remove back-end code we've decided not to use, as there's a bit left over from experimental setups

I've done my best to implement these:

A fresh token is added to all requests, so a user must be logged in to send any request.

Added ApiService as suggested by Iain.
Added a temporary loading check to the App component which is needed to let Auth0 authenticate.

A RoleFilter now checks a user role against our database using their email address. If they have insufficient role, they get a 403 currently. This can be changed using the ExceptionHandler in another PR I believe.
I removed the back-end code which tried to use the Auth0 management API as it is no longer necessary. The only external call is one to the Auth0 /userinfo endpoint to get the users email address.

I've just worked out how to get the users email included in the access token, meaning we don't have to send the access token to Auth0 to get the email in a get request. 👍


Update to Blazor 0.9.0

I updated the library and the sample to Blazor 0.9.0.
There seems to be a bug with blazor/mono and some assemblies. This is the case for System.Memory here. I had to insert a post build event to customly copy some files. This is a dirty workaround and should be removed when this is fixed. I openend an issue for this: https://github.com/aspnet/AspNetCore/issues/8414
I had to modify the public API of the HubConnectionBuilder extension to accept the js runtime as we do not have a static accessor for this any more. This is a breaking change.
See:
https://github.com/AndreasTruetschel/BlazorSignalR/commit/f64d34084a9e8ec6348adb0a9b358268c23171e9#diff-e9d9f06e9f712c28b10b1d87b7ae90b9
https://github.com/AndreasTruetschel/BlazorSignalR/commit/f64d34084a9e8ec6348adb0a9b358268c23171e9#diff-1153528322b2944586221c4ce623072e
Closes #7

Thanks. Just another workaround in the long list for mono.
Looks good to me. I'll release a NuGet release later today/tomorrow.

Just another workaround in the long list for mono.

Maybe a hint should be given in the readme for users to know. Otherwise they run in the same issue aswell.

I also noticed you disabled LinkOnBuild, any reason for this?

I'll add a notice once the new NuGet package is out.

I also noticed you disabled LinkOnBuild, any reason for this?
It is a leftover of my 3 hours debugging experience. Sorry, forgot to remove it.


Bug: Replace Selection changes double backslashes to single backslashes

Description of your problem
When doing a Replace in a selection that has a string with double backslashes, the Replace command will change the double backslashes to single backslashes even though something completely different is being replaced.
What steps will reproduce the problem?

Example code:

a = 1
b = 2
c = a+b
s = "C:\\Test\\Test2\\output.txt"

Mark the example code and replace selection a with x
The output will be this:

x = 1
b = 2
c = x+b
s = "E:\Test\Test2\output.txt"

What is the expected output?
x = 1
b = 2
c = x+b
s = "E:\\Test\\Test2\\output.txt"

Please provide any additional information below
It only happens on Replace selection, not when doing Replace all.
Versions and main components

Spyder Version: 3.2.6
Python Version: 3.6.4
Qt Version: 5.6.2
PyQt Version: 5.6
Operating system: Windows 10

Dependencies
IPython >=4.0    :  6.2.1 (OK)
cython >=0.21    :  0.27.3 (OK)
jedi >=0.9.0     :  0.11.1 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.13.3 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.8.1 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.7 (OK)
sphinx >=0.6.6   :  1.6.6 (OK)
sympy >=0.7.3    :  1.1.1 (OK)

Thanks for reporting. We'll take a look at this in a future release.

Likely related to #5494 ; that apparently fixes other escaped cases but not escaping the escape char itself.

This becomes even more of a problem considering raw strings. While adding \ to the current reg-exp would solve this particular issue, it will still break on lines like:
b = r'\a\v\b'

Now, one may think that since all the escaped characters in the reg-exp are non-letters one can simply add all letters (and numbers). However, in e.g. SymPy, there is LaTeX printing, so a string may very well look like
r'\{7 \& 8\}'

If it wasn't for the word option, one could simply use subs instead for queries that are not regular expressions. Right now, I do not really have any idea how to deal with it...


Provide own JS code to load and instantiate the WASM file

Hi there!
I've been playing with wasm-bindgen for some time now and I think I'm missing a feature. Please note that I don't have any previous experience with NPM and webpack as well as very little experience in JS. So I might just have missed something.
Anyway, as I understand it there are basically three different ways to generate the JS shim:

normal:

Uses ES6 export statements to make the file a valid ES6 module
Uses import * as wasm from './foo_bg' to import WASM file. As far as I understand it, this only works together with some loader/package-thingy such as webpack. Browser can't load wasm modules via import statements yet, right?

nodejs

Uses module.exports.bar = ... (a node-style module)
Reads the WASM file via require('fs').readFileSync() and instantiates it manually

no-modules

uses a function thingy as module
Loads WASM file via fetch and instantiates manually

So I want to use the WASM file via the network (nodejs is out) and I also don't want to use something like webpack (so normal is out, right?). I'm left with no-modules, BUT I'd like to do the loading and instantiating myself!
Instantiating can be as simple as fetch() plus WebAssembly.instantiate(). As far as I see it, the only thing I need is (a) the path to the wasm file and (b) the export object defining all imports exports (the thing we pass to WASM.instantiate().
I think it would be great if wasm-bindgen let us define our own loading code. I see two possibility:

Giving the code to wasm-bindgen via --loader-code loader.js for example, or
Exposing the exports object from the generated shim. I think this is already happening, because I think I could just access wasm_bindgen.__exports, but I don't think it's intended that way, right?

Additionally, I would like to write my own loader + have a valid ES6 module. So I would like to have a way to configure how importing the wasm file is done in normal mode, too.

So: is this a good idea? Is this something other people want as well? Am I just missing something? Thanks :)

Thanks for the report! It really is a bumer that wasm modules aren't supported as native ES modules yet, it does indeed add all sorts of pain like this!
One thing I might recommend for this use case though is a tool like wasm2es6js in this repository. You can use that to translate a wasm module to an ES module (sort of) and perhaps something like that could be used in your use case?
I'm not sure how we'd best deal with foreign instantiation of the wasm module itself, so it may be one where we don't have a great way to insert that into the generated JS here but using a custom tool locally could work!

With https://github.com/rustwasm/wasm-bindgen/pull/969 we now have the option via --no-modules to pass in an already-compiled WebAssembly.Module if necessary, and for ES modules this is largely up to bundlers and such. As a result I'm gonna go ahead and close this for now, but we can always come back to it as situations arise!

@LukasKalbertodt did you succeed in doing that with first option ?


DRILL-7983: Add a REST API to support the get running or completed profiles

DRILL-7983: Add a REST API to support the get running or completed profiles
Description
Drill have a REST API to get the profiles of running and completed queries. this goal of ticket is extended from the /profiles.json to support get the running or completed profiles (not all of them). the client does not need to filter with the state.
old URI
/profiles.json

new URI
/profiles.json
/profiles/running
/profiles/completed

Documentation
NA
Testing
Manual tested (use Postman).

Overall, looks fine. I wonder, can we add a real test? Historically, the REST API stuff never had tests. I ended up writing a bunch when I redid the storage plugin layer because I didn't have the patience to test things with Postman over and over. Can we do something like that here? To test, there is one test config flag to set to enable the HTTP server: it is normally disabled.

@CuteKittyhoho
Here's an example of some tests for some unit tests for the REST API.  Could you please use this as a template for some unit tests for this PR?
Thanks!
https://github.com/paul-rogers/drill/blob/02365eac3ec68176029f05149a6062fc2af8bb21/exec/java-exec/src/test/java/org/apache/drill/exec/server/rest/TestRestJson.java

@CuteKittyhoho
Did you see the review comments from Paul?  I also think this would be ok to merge, but some additional unit tests would be nice.

@cgivre Thanks for your review! Resolving merge conflicts is in progress. After finishing this, I will go and undertake unit tests.

@CuteKittyhoho, thanks for this PR. I wonder, can we simplify the API a bit. As you stated your change is to change the original /profiles.json to:
/profiles.json
/profiles/running
/profiles/completed

One could imagine other filters as well: failed requests, completed requests, running requests by Charles, etc.
So, I wonder if it makes sense to add the filter as a query option:
/profiles/json?status=[all|running|completed]&...
Where the ... is whatever someone else wants to add later.
Might make the code a bit simpler also.
Then, on the unit tests: testing this one might be hard: there is no good way to ensure that there are, in fact, running queries when you request them. If it were me, I'd add a hack to the mock data source. Add a global lock. By default, it is unlocked so existing code works. A test can set the lock, then launch a query in one thread, while testing your API in another. The mock data source, when it fetches a batch, would block if the lock is set, waiting for the lock to be cleared. Ugly, but it should work.
Now, I'm not sure it's fair for us to ask you to add all that for just this case, so I guess I'm OK with doing only manual ad-hoc tests for now.

+1 for the proposal from @paul-rogers to use a URL query option on /queries.json to implement this.

Dear PR author and reviewers.
This is a generic message to say that we would like to merge this PR in time for the 1.20 release.  Currently we're targeting a master branch freeze date of 2021-12-10 (10 Dec).  Please strive to complete development and review by this time, or indicate that the PR will need more time (and how much).
Thank you.

Brilliant idea! An URL with arguments will make things far better, I wanna have a try about it.

@paul-rogers @cgivre Thanks again for your good advice! I have finished task of real test now. It first issued two queries then checked the results from /profiles.json, /profiles/running and /profiles/completed respectively. Adding a status parameter in GET request such as /profiles/json?status=[all|running|completed] is also done, so could you please review  these things now? However, implementing a test with threads to check running queries is a bit of challenging, so it still need some time for me.


Autocomplete/search results need to be tuned to be maximally intuitive

This covers a lot or ground, but the idea is that autocomplete and search results should be very intuitive for the majority of users.
The bulk of the solution may be connected to #131, and the simplified constructs around it. The rest will likely be tuning the new fields/parameters to get the desired "intuitive" results.

Should we split this ticket to get separate specs for bioentities vs classes? There are similarities and differences. For bioentities the species issue is paramount (see comments above, the Noctua AC is a massive improvement).
The class requirements have not been stated, first pass:

obsolete classes should be ranked lower
synonyms should probably be ranked higher than they are, this is partly a nudge to accommodate the fact that GO is overly formal in its nomenclature at times. E.g. try getting "apoptosis" in AC - you can't. (hint: GO calls this "apoptotic process" and uses "apoptosis" as a synonym, contrary to normal biologist usage)
the primary ontology (GO for GO) should rank above others. Again, try "apoptosis" - none of the top ACs are in GO


Nuclio deploying sam stuck at building docker image

Nuclio deploying sam stuck at building docker image {"image": "cvat.pth.facebookresearch.sam.vit_h:latest"}, have been waiting for more than an hour.
No error or warning.
No log in dashboard.
No clue if there is anything wrong.
Where can I see the building progress or time remaining?

for more than an hour

It can take more than one hour. So, just wait.

It can take more than one hour. So, just wait.

Thanks.
It upsets me when I can't figure out what's happening, but l'll wait.
Also wondering if there is a way to build the image in advance so as to save some time.

Add pip source in 'function-gpu.yaml', successfully deployed in minutes.

Add pip source in 'function-gpu.yaml', successfully deployed in minutes.

could you tell me how to solve this problem ? thanks!

Here is a example: add "-i https://pypi.tuna.tsinghua.edu.cn/simple" after pip instructions in function-gpu.yaml


fails with '`require': cannot load such file -- kramdown'

Hey, looks like a cool little script, I don't know ruby so forgive me if I have overlooked something. When running the script either with a cli argument or without like this:
ruby reddit-markdown.rb

it fails with this message:

 ruby reddit_markdown.rb
<internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- kramdown (LoadError)
	from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from reddit_markdown.rb:5:in `<main>'

I'm on manjaro linux  fully updated, ruby version installed:

ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c5) [x86_64-linux]

Thanks for letting me know. This seems to be an oversight on my end. Please run the following command to manually install kramdown, which is a dependency for my Ruby script:
sudo gem install kramdown

I'll include this dependency in a gemfile in a future version. Meanwhile, let me know if running the above command manually resolves the issue. Thanks.

THis works, thank you. I did it without sudo though, and put
~/.local/share/gem/ruby/3.0.0/bin

in my $PATH. works great. nice cli app here. There are some subreddits where I get
HTTP Error: 403 Forbidden

But I guess that's something that the moderators of that sub have put on and there is no way around that.

Thanks for confirming.
Regarding the 403, it might be possible once the script supports authentication (next release). I'll check that though provided I can get into a private sub.

As of the latest version, 403 is now handled gracefully (i.e. skipped) instead of erroring out.
Also, I've added a Gemfile where future gems (if any) will be documented for easy installation via bundle install


Fix bundle command for email alert check

Running bundle install doesn't seem to work, because it tries to install the gem to a location it doesn't have permission to. Setting the path fixes this.
This is used by all other jenkins jobs that run bundle install.
Trello: https://trello.com/c/GGGYpRXd

:+1: merge when green


[Package Issue]: Minitool.PartitionWizard.Free is installing pro version instead of the free one.

Please confirm these before moving forward

[x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[x] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
As the name of the package implies, it should install the free version instead of the paid / demo / pro one.
Steps to reproduce
winget uninstall Minitool.PartitionWizard.Free
Actual behavior
Installing Pro version of Minitool partition wizard that requires license
Expected behavior
Installing free version that dont require license.
Environment
Windows Package Manager v1.9.25180                                                                                Copyright (c) Microsoft Corporation. All rights reserved.                                                                                Windows: Windows.Desktop v10.0.26100.2033                                                                               System Architecture: X64                                                                                Package: Microsoft.DesktopAppInstaller v1.24.25180.0
Screenshots and Logs
No response

Manually verified in Windows Sandbox.


Template cleanup job fails

It looks like the template cleanup job no longer passes because permissions have changed. Specifically, the action doesn't have permission to open or approve pull requests (see here for an example). The error message is:
Error: GitHub Actions is not permitted to create or approve pull requests.

Should we disable that job or try to fix it?

There's no need for that job long term. It's supposed to just run once when a repository is created to delete files that a repository doesn't need that's from the original template. So we can definitely just delete that gha.


Package Update Errors

Hi all, when I want to update the installed packages in my FlareVM with command cup all I am getting error messages for some packages where it says "Unable to find a version of 'xxx' that is compatible with 'xxx 1.2.3'.
I attached a screenshot for all the failures I got during my last update process.

Huh, @Ana06 or @MalwareMechanic do you know where these failure come from?

Just taking a guess here, but these look like some of our metapackages. I think since we locked the versions in the metapackage's nuspec file, that when a dependency package is trying to update Chocolatey fails it since that would break the locked version. So, really it's not an error if this is what's happening -- the metapackages need updating to point to the newer dependency version.
We can check though. @tuttimann can you run choco list -l -r -all

This is the output from the command:
apimonitor|<IP_ADDRESS>10213 apimonitor.vm|<IP_ADDRESS>20224 autohotkey|<IP_ADDRESS> autohotkey.install|<IP_ADDRESS> autohotkey.portable|2.0.2 autopsy|4.19.3 Boxstarter|3.0.0 Boxstarter.Chocolatey|3.0.0 Boxstarter.HyperV|3.0.0 chocolatey|1.2.1 chocolatey-compatibility.extension|1.0.0 chocolatey-core.extension|1.4.0 chocolatey-visualstudio.extension|1.10.2 Cmder|1.3.20 Cygwin|3.2.0 dependencywalker|2.2.6000.9 dependencywalker.vm|2.2.6000 dnspyex|6.2.0 dotnetfx|<IP_ADDRESS>20524 exiftool|12.55 fiddler|5.0.20211.51073 flarevm.installer.vm|<IP_ADDRESS>21201 floss.vm|2.1.0 glogg|1.1.4 hashmyfiles.vm|<IP_ADDRESS>20113 hollowshunter.vm|0.3.5 hxd|<IP_ADDRESS> javaruntime|8.0.231 jre8|8.0.351 KB2919355|1.0.20160915 KB2919442|1.0.20160915 KB2999226|1.0.20181019 KB3033929|1.0.5 KB3035131|1.0.3 libraries.python2.vm|<IP_ADDRESS>21203 libraries.python3.vm|<IP_ADDRESS>30118 map.vm|12.20.21 notepadplusplus|8.4.8 notepadplusplus.install|8.4.8 openjdk11|<IP_ADDRESS>20913 python2|2.7.18 python3|3.9.13 regshot.vm|1.9.1 rundotnetdll.vm|2.2 sysinternals|2022.11.28 Temurin11|<IP_ADDRESS>0 vcredist140|14.34.31931 vcredist2010|10.0.40219.32503 vcredist2015|14.0.24215.20170201 visualstudio-installer|2.0.3 visualstudio2017-workload-vctools|1.3.3 visualstudio2017buildtools|<IP_ADDRESS> wireshark|4.0.2 yara|4.2.3

Any thoughts on this?

I think Blaine's idea is correct. There are new versions available (like cygwin 3.4.3, but the VM-Packages are pinned to an older version (like cygwin 3.2.0).

Odd, I see you have the package cygwin installed, but I don't see cygwin.vm installed.
Based on https://github.com/mandiant/VM-Packages/blob/main/packages/cygwin.vm/cygwin.vm.nuspec we are currently pinned at version 3.2.0.
Let me do a fresh install and then try to cup all, I'll report back

Let me do a fresh install and then try to cup all, I'll report back

Did you try the command after a fresh install?

Alright, yep it seems this is due to the dependency version locking we're doing. So if we see these, it means we need to update our packages. We have a script that should find these and try to auto-update: https://github.com/mandiant/VM-Packages/blob/main/scripts/utils/update_package.py I believe the script runs once a week, but we can also manually update the packages

@tuttimann we've updated some dependencies, do you still see the above errors, e.g., for Cygwin, etc.?

Thanks, I don't see these errors anymore and it updates the packages.

Awesome! Thanks for helping us figure this out 😄


enhancements/formatting-prettier

Changes: Bugs and formatting in Html files
Changes made: I fixed some overlapping code and bugs in challenges.html and index.html.
Also both files are formatted with prettier!
Next steps: None

Very well done! Everything looks great!
I did a quick test and everything works.


MWPW-160441: Disable geo popup for milo pages

Resolves: MWPW-160441
Before: https://stage--dme-partners--adobecom.hlx.live/channelpartners/?akamaiLocale=us
After: https://mwpw-160441-prevent-geo-popup--dme-partners--adobecom.hlx.live/channelpartners/?akamaiLocale=us

Codecov Report
Attention: Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.19%. Comparing base (5156bfb) to head (39c0cac).

Files with missing lines
Patch %
Lines

edsdme/scripts/utils.js
87.50%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            stage      #92      +/-   ##
==========================================
- Coverage   83.37%   83.19%   -0.18%
==========================================
  Files          10       10
  Lines        3181     3190       +9
==========================================
+ Hits         2652     2654       +2
- Misses        529      536       +7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


test: e2e - disable tests failing due to Fetch.enable

Allure Report
allure-report-publisher generated test report!

processReports: ✅ test report for e06d2fd6

passed
failed
skipped
flaky
total
result

Total
32
0
4
0
36
✅


On using .then I get UnhandledPromiseRejectionWarning: Unhandled promise rejection

How do I use .then and handle promise rejections using superagent?

Node wants you to add .catch() to the Promise. Using .then(successCallback, errorCallback) works too.
You only need to catch errors on the last promise in a promise chain. If you're using superagent in a function that shouldn't be handling the error itself, then return the promise and let caller handle it.
BTW, I've found node --trace-deprecation --trace-warnings is helpful in finding where the warnings come from.


Reporting Basics

[ ] Csv Export Possibilities
[ ] Just in time reporting possibilities

trakced in #2301 this will be closed


Basic Front-End Design of Portfolio Website

Modifying the .css, .html, and .js file provided to create the basic front end design of my portfolio website.
Functionality includes:

Links to resume/CV, icon links to Github/Linkedin
Button to click that displays randomly chosen fact
Button to click to change background image and label of the background image

To see the aesthetic changes, please refer to screenshots below.

Looks really good! I really like the colors and layout. I saw that in the CSS sheet you used repeating elements in h1 and h2
your code -----------------
h1 {
font-size: 70px;
color: white;
font-family: 'Reenie Beanie', cursive;
}
h2 {
font-size: 50px;
color: white;
font-family: 'Reenie Beanie', cursive;
}
you can incorporate both by doing this and inline styling the font as need be
h1, h2{
color: white;
font-family: 'Reenie Beanie', cursive;
}
Overall really great work I loved everything about this page especially the circle image very cool

Good stuff! Let me know when you have address Will and I's comments :)


Updated Freetype role

Changed checks for when to build freetype as they were
skipping tasks constantly. Also Changed syntax of win_shell
command for building freetype so it will work properly.
Signed-off-by: Colton Mills<EMAIL_ADDRESS>

Related #553

@karianna I'm confused. Admittedly I'm not an expert on the Travis build. My understanding was it's a syntax checker. So I don't understand why changing the freetype yml causes errors to be thrown in all the other files when they were previously green.

Yeah I'm also confused, it should not have behaved that way.  I'm happy to let it slide and we can sort it out on the next PR


Mainnet console deployment

Deploy console to IPFS for mainnet
Tasks

[ ] Confirm URL and URL behaviour (we probably want to redirect to from a vega.xyz url to an ipfs URL
[ ] Check env vars are correct
[ ] Create console app
[ ] Deploy and publish

Additional details / background info
Fairground Console is already deployed from IPFS so the setup should be almost the same

Requires #1873


0.6-dev branch build fails

Trying out 0.6-dev beta https://github.com/jts/nanopolish/commit/8be00b94182e60f8b610545a852cd81a35827a4d:
$ git clone --recursive https://github.com/jts/nanopolish.git
$ cd nanopolish
$ git checkout 0.6-dev
$ make
...
src/nanopolish_squiggle_read.cpp: In member function 'void SquiggleRead::_load_R9(uint32_t, const string&, const std::vector<EventRangeForBase>&, const std::vector<double>&, uint32_t)':
src/nanopolish_squiggle_read.cpp:242:28: error: 'class fast5::File' has no member named 'get_basecall_config'
         auto config = f_p->get_basecall_config(basecall_group);
                            ^
Makefile:104: recipe for target 'src/nanopolish_squiggle_read.o' failed
make: *** [src/nanopolish_squiggle_read.o] Error 1

Can't find any get_basecall_config code in the nanopolish or fast5 repositories - where does this come from?

Hi,
When pulling a branch in git the submodules are not automatically updated. If you run git submodule update it should grab the latest version of fast5 then compile.
Jared

Ah, thanks - compiled and running now. Sorry to bother you with this.

No problem, let me know if you find any issues with 0.6

Hi
$ git clone --recursive https://github.com/jts/nanopolish.git
$ cd nanopolish
$ git checkout 0.6-dev
$ make
...
src/nanopolish_squiggle_read.cpp: In member function 'void SquiggleRead::_load_R9(uint32_t, const string&, const std::vector&, const std::vector&, uint32_t)':
src/nanopolish_squiggle_read.cpp:242:28: error: 'class fast5::File' has no member named 'get_basecall_config'
auto config = f_p->get_basecall_config(basecall_group);
^
Makefile:104: recipe for target 'src/nanopolish_squiggle_read.o' failed
make: *** [src/nanopolish_squiggle_read.o] Error 1

Hi,
git clone --recursive https://github.com/EvdH0/nanopolish.git
cd nanopolish; git checkout 04fd9aecbb4ab266350476b957f4abb8ed994d8d; make
fatal: reference is not a tree: 04fd9aecbb4ab266350476b957f4abb8ed994d8d
g++ -c -fopenmp -O3 -std=c++11 -g  -fPIC nanopolish_squiggle_read.cpp
In file included from fast5/src/fast5.hpp:11:0,
from nanopolish_squiggle_read.cpp:11:
fast5/src/hdf5_tools.hpp:15:18: fatal error: hdf5.h: No such file or directory
compilation terminated.
Makefile:67: recipe for target 'nanopolish_squiggle_read.o' failed
make: *** [nanopolish_squiggle_read.o] Error 1

Is there a reason you are using that version rather than the latest code? Note that the repository you are cloning is not the main nanopolish repository but a very old fork.
In any case once you fix the repo you have to run git submodule update after the git checkout.


Updated to LBRY Austin

I also fixed a few resources (their locations changed)

Why did I not see #6


Error when using single quotes instead of double quotes in $ git commit

Running the following command on a Windows 7 computer like described in the book:
$ git commit -m 'initial project version'

will cause the following error:

It works when using double quotes:

This is known on StackOverflow.
I would have liked to change this myself quickly, but I am unable to find the related content file in this repo.

@schacon

Hey, this is the issue tracker for the git-scm.com website, not Git itself. If you still want to discuss this issue, you should reach out to the community.
Since this seems to be specifically relevant to G4W, you might also want to follow up over at git-for-windows/git.
Also, I can't reproduce this issue.


support: How to use ion-modal-controller in Ionic React?

How to use ion-modal-controller in Ionic React?
I'm trying to rewrite some ionic v4 code to Ionic React. My old code is making use of ion-modal-controller. I found some documentation that indicates the controller might be available. I couldn't find a way to import a modal controller and I didn't find a hint in Ionic React's source code. Is it possible or do I have to rethink the design and make use of the IonModal component only?

Hi @adonig,
You should be able to do most everything you would want to do by passing props to the IonModal component. Most of the options you would pass into the controller method are available on the component. If you find something that you can't do let me know. Thanks


push data into metering from async api

Can one of the admins verify this patch?

ok to test

Build finished.

Build finished.

Build finished.

Build finished.


Update a deprecated Pandas method to its contemporary equivalent.

Clean up deprecated Pandas reference on Index.diff -> Index.difference (https://github.com/pydata/pandas/issues/8226)

Coverage remained the same at 95.281% when pulling 318857c2cef66db6dec8b70060f802b6454f5129 on SANDAG:iss_deprecated_update into 78844b81765c2a7eb8935f240f0e19646f326629 on UDST:master.

This has been addressed in https://github.com/UDST/urbansim/pull/179.   Thanks!


Configure HTTPS for Argo

Previous iterations of the Argo application module relied on a self-signed certificate to have secure access over HTTPS.  This is obviously only a temporary solution, which needs to be fixed by issuing a genuine certificate through an official authority.  In this case, we want to use AWS ACM to issue the cert.  This should then be applied to the Argo service load balancer to complete the setup.  This PR makes the needed changes to get this all working.

Current status: this is not completely working.  I've been able to issue the certificate and get the load balancer configured to use it.  However, Argo seems to be quite unhappy, and does not allow for the Argo server interface to communicate with the backend controller.  The end result is that while it is possible to go to https://argo.compute.azavea.com, log in, and see the Argo server interface, that interface allows no actions.  It complains with a Failed to load version/info Error: Unauthorized error message.  Logs for both the Argo server and Argo controller show nothing specific to indicate what the error is.  Browser console info shows that requests to
scheme:   https
host:     argo.compute.azavea.com
filename: /api/v1/userinfo

return with a 403.  This is surely to do with the fact that these requests are being forwarded to https://argo.compute.azavea.com, and the token that is accompanying the request is not correct.  There must be some configuration that I am not setting correctly, but the docs for Argo seem to be very poor for this.
I'm going to have to punt on this for the moment.  I've spent far too much time here already.


readability of spec using GitHub UI

One of the selling points of using asciidoc was that it renders well when using the github UI.  It seems that is slipping away; see e.g. https://github.com/riscv/riscv-v-spec/blob/master/vmem-format.adoc vs. its previous history.  I don't necessarily disagree with this strategy, but in my mind it is starting to lose points vs. sticking with LaTeX.

but even this is an improvement over latex source viewed in GitHub

Asciidoc is the new standard for RVIA specs.
Closing issue.


User feedback: something

Details
I have been working on this motion for 9 days and I am not able to retrieve it   i get the 504 gateway time out error   please help me

Unclear which repo this is from--maybe one that isn't migrated from MAVC yet?