Jellyfin uses this project but some subtitles don't display

For example, in this picture, from line 27 to 47, text starts with {\fad(200,300)\be1} or {\fad(500,500)\be1\an8} will not be loaded in the video.
If I delete all the text in {...} and {}, those subtitles can be loaded correctly.
However, line 48 can display.

Here is the issue in jellyfin:https://github.com/jellyfin/jellyfin-web/issues/2081

What if you remove just \be1 from those lines?

What if you remove just \be1 from those lines?

It doesn't work. But if a delete \faq(...) in first picture, it works.

this is an issue with the font file, subtitle octopus doesnt have a good font fallback and the file you played it back on probably didint include an embedded font file at all, it's an issue with the file and not jellyfin/S.O.

@swhoro also note that we have a fork at JustAMan/SubtitlesOctopus do to some changes that never got merged here, so you'd have to make the change there. We technically have an "official" fork at jellyfin/SubtitlesOctopus but I think the former is more recent, so we should probably migrate everything into one repository at some point.

@swhoro also note that we have a fork at JustAMan/SubtitlesOctopus due to some changes that never got merged here, so you'd have to make the change there. We technically have an "official" fork at jellyfin/SubtitlesOctopus but I think the former is more recent, so we should probably migrate everything into one repository at some point.

both of those repos are private?

I fixed the links, I haven't looked at either in months. It looks like the official one is most recent, so any pull requests should be directed here first, and then to our fork if the maintainer decides they aren't within scope.

I fixed the links, I haven't looked at either in months. It looks like the official one is most recent, so any pull requests should be directed here first, and then to our fork if the maintainer decides they aren't within scope.

oh, my bad, but this is a file issue, not a S.O. issue, but yeah, this repo is more up to date because they introduced "an api" [but seems like its broken anyways](https://github.com/Dador/JavascriptSubtitlesOctopus/issues/77

I think the former is more recent

jellyfin/JavascriptSubtitlesOctopus is what we use as a dependency. It's basically this repository with some rendering speed improvements (A feature we never upstreamed because the person who made it is less active these days) and without the added API (We don't need it so we never bothered to bring in the changes)

this is an issue with the font file, subtitle octopus doesn't have a good font fallback and the file you played it back on probably did'nt include an embedded font file at all, it's an issue with the file and not jellyfin/S.O., most likely, it could also be an issue with the chars themselves, the file itself would be nice since i cant find the release anywhere
edit: managed to find the release, seems like the subtitles are embedded in a very weird way and neither vlc or any web player picks them up

So are my font files broken?
But if I change the font to 宋体, which is used in second picture, in [V4+ Styles] area, the subtitle will not display too.

The second picture video has embedded subtitle but only English, no Chinese.
 If possible, could you please help me check these files?
(Sorry for my poor English)

this is an issue with the font file, subtitle octopus doesnt have a good font fallback and the file you played it back on probably didint include an embedded font file at all, it's an issue with the file and not jellyfin/S.O., most likely, it could also be an issue with the chars themselves, the file itself would be nice since i cant find the release anywhere
edit: managed to find the release, seems like the subtitles are embedded in a very weird way and neither vlc or any web player picks them up

I have tried many videos and ass recently, it seems all subtitles with {/fad(...)} will not show up in jellyfin. Unfortunately, I have deleted videos and ass files in second picture...

{\fad()} does work in our example file with current JSO, see eg at aroung 57s in the demo.
Can you try again with somethng similar to your original subtitles and current JSO? If your logged into GitHUb you can download a nightly build here (the js Artifact near the bottom of the page): https://github.com/libass/JavascriptSubtitlesOctopus/actions/runs/1108283199

{\fad()} does work in our example file with current JSO, see eg at aroung 57s in the demo.
Can you try again with somethng similar to your original subtitles and current JSO? If your logged into GitHUb you can download a nightly build here (the js Artifact near the bottom of the page): https://github.com/libass/JavascriptSubtitlesOctopus/actions/runs/1108283199

Thanks for your reply!
Unfortunately, I have deleted animes and subtitles listed in the question.
But recently, when I watch gundam z with jellyfin on browser, some Japanese character(in the ass file, the Japanese font is HGMaruGothicMPRO ) will only show a square. I think this is because I don't install this font in my computer(I am a Chinese user), so I download HGMaruGothicMPRO.ttf and convert it into .woff2 and put it into font folder that jellyfin will use. And now all the Japanses character will show up.
Howerver there is another question. The animation of subtitles will not show up. For example, the subtitle should move and become smaller gradually, but actually the subtitle move from one place to another place and become smaller suddenly. The subtitle animation can work well on the jellyfin app on ipad, but cannot work well ont safari(ipad), chrome(android) and chrominum edge(win11).
I think this may be the same reason that cause the question I said at first?
At last, I don't know how to use the js file after download it...

I think this is because I don't install this font in my computer

Yes, you need fonts for all glyphs. For complex typeset ASS you even need to have the exact same font available as the subtitle-author to get the intended result.

Howerver there is another question. The animation of subtitles will not show up. For example, the subtitle should move and become smaller gradually, but actually the subtitle move from one place to another place and become smaller suddenly. The subtitle animation can work well on the jellyfin app on ipad, but cannot work well ont safari(ipad), chrome(android) and chrominum edge(win11).
I think this may be the same reason that cause the question I said at first?

Jellyfin uses a fork of JSO with custom patches (but and older libass). Perhaps they use different versions for the web and iOS-Frontends, or maybe the iOS-App is using libass directly without JSO as a middle layer?
Can you share the subtitle file (or the relevant excerpt including headers and styles) and required fonts? Then I could test with upstream JSO and libass.

Jellyfin uses a fork of JSO with custom patches

We'd like to upstream these at some point, but the team member who made them went MIA about a year ago and I'm not personally sure what is and what wasn't upstreamed (And I'm not well-versed in web assembly development).
Iirc, our patches were mostly around making rendering faster for more complex animations.
I do want to use the upstream version as-is in our Vue client at some point though, so I might look into bringing them over, if #106 doesn't do so before.

this is 100% a jellyfin/font issue, I tested this aggressively when making my own version of JSO, and all glyphs worked no problem as long as the font supported them, all animations I've encountered from fansubs also seem to work

We'd like to upstream these at some point, but the team member who made them went MIA about a year ago and I'm not personally sure what is and what wasn't upstreamed […]
I do want to use the upstream version as-is in our Vue client at some point though, so I might look into bringing them over, if #106 doesn't do so before.

Good to hear there's interest in (helping to) upstream the patches, not so good to hear about the MIA-part; I hope the missing member is doing well.
Having the affected subs+fonts, will allow to identify whether it is an issue with the patches, and if so hopefully enable us to fix them before they get upstreamed. Or perhaps it's an old, already fixed libass bug, or something specific to jellyfin's use of JSO (I did see some code about detecting and stripping tags for some options+circumstances as part of the patches). Does the Swift iOS-app also use jellyfin's JSO or does it use (up-to-date) libass directly?

I think this is because I don't install this font in my computer

Yes, you need fonts for all glyphs. For complex typeset ASS you even need to have the exact same font available as the subtitle-author to get the intended result.

Howerver there is another question. The animation of subtitles will not show up. For example, the subtitle should move and become smaller gradually, but actually the subtitle move from one place to another place and become smaller suddenly. The subtitle animation can work well on the jellyfin app on ipad, but cannot work well ont safari(ipad), chrome(android) and chrominum edge(win11).
I think this may be the same reason that cause the question I said at first?

Jellyfin uses a fork of JSO with custom patches (but and older libass). Perhaps they use different versions for the web and iOS-Frontends, or maybe the iOS-App is using libass directly without JSO as a middle layer?
Can you share the subtitle file (or the relevant excerpt including headers and styles) and required fonts? Then I could test with upstream JSO and libass.

https://1drv.ms/f/s!AmlVPwgDqKkuvjvPlDyskaUkZkOG
The ttf file is the font I download from Internet,  and the woff2 is the file converted from ttf with a tool (https://products.aspose.app/font/zh/conversion/ttf-to-woff2).
Thanks for your help.

@swhoro At which line or time does the issue occur for you?

@swhoro At which line or time does the issue occur for you?

At line 362, when Japanese in op shows up

I can reproduce the issue with some glyphs remaining tofu, but only with the WOFF2-font; using the TTF version everything renders correctly (in both upstream and jellyfin JSO). It appears something went wrong when you converted the TTF to WOFF2; you can use the orignal TTF instead.
I cannot reproduce any animation issues in neither upstream nor jellyfin's JSO-builds using the default renderer. It may be that you're CPU (single-thread) just isn't fast enough to execute the WASM in time inside the browser, but it (barely?) works out with the iOS-app. If you/jellyfin is using the lossyRenderer which drops subtitle-frames on heavy CPU load this may be amplified.
If you think there's more to it we can reopen the issue. For now it appears to me like this is no issue with JSO or jellyfin.


Update core to 7.65

What's this PR do?
Update core to 7.65 (for DS Indonesia)
Security release: https://www.drupal.org/sa-core-2019-004

I'm going to go ahead and merge this because it's already been deployed to DS Indonesia too.


M5Stack core can't build with arduino ide

NOTE: For issues with the GUIslice Builder, please file a report instead at:
https://github.com/ImpulseAdventure/GUIslice-Builder-source/issues
Hello, I am a new Arduino.
I am use M5Stack core with arduino, but when I build examples I always get err like this:

Am I missing something that I have to install？
Thanks.

@huang443765159 The error indicates GUIslice thinks you are configured for Arduino not M5Stack.
Did you read the wiki?
Configure GUIslice for M5stack
Paul--

Hi @huang443765159 -- as Paul mentioned, it is likely that the configuration selected in GUIslice_config.h needs to be changed.
Please try selecting esp-shld-m5stack.h in GUIslice_config.h by uncommenting that line (and ensuring all other config lines are commented out):

Does that correct the issue for you?
thanks

Thanks for your reply.
Sorry, I may have missed reading the document.I'll try to modify and build again.


⚠ ClamAV has degraded performance

In 947cc3b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 83 ms

Resolved: ClamAV performance has improved in ef253e6.


Sign in - Wrong error message is displayed for incorrect password for 2FA account

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Launch the app
Log account with 2FA
Input correct email
Input correct password
Enter incorrect 2FA details and try to login
Enter incorrect password
Enter correct 2FA try to login

Expected Result:
Notification related to the wrong password should be displayed.
Actual Result:
The wrong 2FA is displayed when correct 2FA is inserted when an incorrect password is used.
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any account with 2FA
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/164338689-279662b5-58b6-4bb4-8086-1cefb51193f8.mp4

Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub

Will look today

Issue not reproducible during KI retests. (First week)

Issue not reproducible during KI retests. (Second week)


Updated alertmanager docs - Mails not sent when using remote smarthost with tls disabled

@brian-brazil As discussed in the prometheus-users google group, I've updated the docs. Please review.

Thanks!


CUDA out of memory

I'm getting the below error on the final Diffusion step...I have a 3080 12gb and don't think this should be an issue....is there something that is installed incorrectly? Or a default setting that is way too high? I've resolved all errors on the previous steps and everything runs through good and I've tried messing with a few setting to no avail, Thanks!
RuntimeError: CUDA out of memory. Tried to allocate 52.00 MiB (GPU 0; 11.76 GiB total capacity; 9.57 GiB already allocated; 47.50 MiB free; 9.95 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

I fixed it....just needed to scale back how many models I was using and tweak the settings a bit...great work on this, it's amazing!


Responsive layout, Aligning Search with body content, Search logo, Footer on on the botom

It wasn't really practical to install postgres on my development machine.
I added some docker scripts as an alternative way to start the application.

Awesome, thanks!


bug: /repos/javascript results in 404

@ArslanYM Try refreshing the page. It should work

@ArslanYM you can try using https://www.hacktoberfest.live/ it won't crash, I've deployed it on vercel which can handle sufficient amount of traffic on my plan and also I've bought this domain hacktoberfest.live for website @max-programming.

@sadiksaifi Is this a fork?

Should be fixed after 7aa1c84

@sadiksaifi Is it a fork?

Yes

Should be fixed after 7aa1c84

Ok, cool


Pytorch 1.7

The README says it may work for newer versions than Pytorch 1.5 but not tested. Has anyone tried it?

Yes, it works well with 1.7.


Response missing Content-Length header

When i make request via okhttp on android i did not get Content-Length header but when i do same request via curl i to have it. Why can be this difference?
Okhttp code:
String url = "http://www.kissfm.ua/static/img/content/gallery_foto/8/20/1/o.jpg";
Request.Builder builder = new Request.Builder().url(url).get();
Response response = client.newCall(builder.build()).execute();
response.body().contentLength() return -1and yes Content-Length is not presented in headers when i print them
Content-Type: image/jpeg
Transfer-Encoding: chunked
Connection: keep-alive
Server: nginx/1.6.0
Date: Wed, 01 Apr 2015 05:24:27 GMT
Last-Modified: Fri, 27 Mar 2015 13:03:53 GMT
ETag: "55155539-7795a"
OkHttp-Selected-Protocol: http/1.1
OkHttp-Sent-Millis:<PHONE_NUMBER>781
OkHttp-Received-Millis:<PHONE_NUMBER>929
But, when i do same request via curl:
curl -v -I http://www.kissfm.ua/static/img/content/gallery_foto/8/20/1/o.jpg

Hostname was NOT found in DNS cache
Trying <IP_ADDRESS>...
Connected to www.kissfm.ua (<IP_ADDRESS>) port 80 (#0)

HEAD /static/img/content/gallery_foto/8/20/1/o.jpg HTTP/1.1
User-Agent: curl/7.37.1
Host: www.kissfm.ua
Accept: /

< HTTP/1.1 200 OK
HTTP/1.1 200 OK

Server nginx/1.6.0 is not blacklisted
< Server: nginx/1.6.0
Server: nginx/1.6.0

< Date: Wed, 01 Apr 2015 06:06:54 GMT
Date: Wed, 01 Apr 2015 06:06:54 GMT
< Content-Type: image/jpeg
Content-Type: image/jpeg
< Content-Length: 489818
Content-Length: 489818
< Last-Modified: Fri, 27 Mar 2015 13:03:53 GMT
Last-Modified: Fri, 27 Mar 2015 13:03:53 GMT
< Connection: keep-alive
Connection: keep-alive
< ETag: "55155539-7795a"
ETag: "55155539-7795a"
< Accept-Ranges: bytes
Accept-Ranges: bytes
<

Connection #0 to host www.kissfm.ua left intact

As you can see Content-Length is presented. So why is that difference?

What happens if you pass --compressed to curl?

Looks like Content-Length gone. Is there way to explicitly request not compressed version?
curl -v -I --compressed http://www.kissfm.ua/static/img/content/gallery_foto/8/20/1/o.jpg

Hostname was NOT found in DNS cache
Trying <IP_ADDRESS>...
Connected to www.kissfm.ua (<IP_ADDRESS>) port 80 (#0)

HEAD /static/img/content/gallery_foto/8/20/1/o.jpg HTTP/1.1
User-Agent: curl/7.37.1
Host: www.kissfm.ua
Accept: /
Accept-Encoding: deflate, gzip

< HTTP/1.1 200 OK
HTTP/1.1 200 OK

Server nginx/1.6.0 is not blacklisted
< Server: nginx/1.6.0
Server: nginx/1.6.0
< Date: Wed, 01 Apr 2015 11:14:49 GMT
Date: Wed, 01 Apr 2015 11:14:49 GMT
< Content-Type: image/jpeg
Content-Type: image/jpeg
< Last-Modified: Fri, 27 Mar 2015 13:03:53 GMT
Last-Modified: Fri, 27 Mar 2015 13:03:53 GMT
< Connection: keep-alive
Connection: keep-alive
< Content-Encoding: gzip
Content-Encoding: gzip

<

Connection #0 to host www.kissfm.ua left intact

Try Accept-Encoding: identity as a request header.

I am getting this:
Content-Type: image/jpeg
Transfer-Encoding: chunked
Connection: keep-alive
Content-Encoding: gzip
Server: nginx/1.6.0
Date: Wed, 01 Apr 2015 05:24:27 GMT
Last-Modified: Fri, 27 Mar 2015 13:03:53 GMT
ETag: "55155539-7795a"
OkHttp-Selected-Protocol: http/1.1
OkHttp-Sent-Millis:<PHONE_NUMBER>781
OkHttp-Received-Millis:<PHONE_NUMBER>929

That's odd. You're calling it like so?
    Request request = new Request.Builder()
        .url(url)
        .header("Accept-Encoding", "identity")
        .build();

Can you print your request headers to confirm that it’s being included?

Sure, its same code as on top but with addHeader
Request.Builder builder = new Request.Builder().url(url).get();
builder.addHeader("Accept-Encoding","identity");
Request request = builder.build();
Response response = client.newCall(request).execute();
int responseCode = response.code();

Logger.w("pasha", request.headers().toString());
Logger.d("pasha", "response code "+responseCode);
Logger.d("pasha", response.headers().toString());

04-01 16:21:46.673  19694-19817/..* W/pasha﹕ Accept-Encoding: identity
04-01 16:21:46.673  19694-19817/..* D/pasha﹕ response code 200
04-01 16:21:46.673  19694-19817/..* D/pasha﹕ Content-Type: image/jpeg
Transfer-Encoding: chunked
Connection: keep-alive
Content-Encoding: gzip
Server: nginx/1.6.0
Date: Wed, 01 Apr 2015 13:21:46 GMT
Last-Modified: Wed, 25 Mar 2015 12:47:59 GMT
ETag: "5512ae7f-18ae8"
OkHttp-Selected-Protocol: http/1.1
OkHttp-Sent-Millis:<PHONE_NUMBER>505
OkHttp-Received-Millis:<PHONE_NUMBER>676

@swankjesse  Looks like problem gone after reinstall of app. Is headers saved in some place and reused somehow? How you can explain this?

@kraizman possibly in the response cache.


Issue #1167: Check for FIXUP commits

Closes #1167

Rebased to main and squashed FIXUP commits. @jklmnn Please resolve the conversion when your OK with the result.


add conditional to use is_authenticated property when django >= 1.10

In Django 2.0, support for user.is_authenticated() was removed in favor of the user.is_authenticated property that was introduced in Django 1.10 (https://code.djangoproject.com/ticket/25847)
This results in a 'bool' object is not callable error when using HijackRemoteUserMiddleware.
I'm not entirely sure this is the absolute best fix for the issue, but I thought it couldn't hurt to try to offer a solution while bringing up the issue.

Coverage decreased (-1.5%) to 90.837% when pulling 1b6add322c613dba05f6e8d63c55a5af1f0ced90 on sdnall:master into 27c0cf89a616c9d7ad14f4d2ca84c5bb014f8149 on arteria:master.

Hi @sdnall.
Thanks for opening this PR.
Do you mind changing you code to just check whether is_authenticated is a callable and call if so. This is also the way django does with things where you can eiher pass a value or a callable. This way we don't depend on any particular versions of django.
if callable(request.user.is_authenticated):
    is_authenticated = request.user.is_authenticated()
else:
    is_authenticated = request.user.is_authenticated

Sure thing. Thanks for the feedback! That's definitely a better way of checking.

Coverage decreased (-1.5%) to 90.837% when pulling 0012457f5c38462fc611aedebc103528f4494a8e on sdnall:master into 27c0cf89a616c9d7ad14f4d2ca84c5bb014f8149 on arteria:master.

Coverage decreased (-1.1%) to 91.2% when pulling d167e99ad1a635c788586570a2631ddc05d1afc9 on sdnall:master into 27c0cf89a616c9d7ad14f4d2ca84c5bb014f8149 on arteria:master.

Thanks for changing that.


Add @aws-amplify/backend-deployer to @aws-amplify/cli as a dependency

Problem

We need to add @aws-amplify/backend-deployer to @aws-amplify/cli because it's used in https://github.com/aws-amplify/amplify-backend/blob/cefddd1b4f2113a6fa99dd00a811c3a7d9393e39/packages/cli/src/commands/pipeline-deploy/pipeline_deploy_command_factory.ts#L2
without it, yarn complains:

Error: @aws-amplify/backend-cli tried to access @aws-amplify/backend-deployer, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Issue number, if available:
Changes

Corresponding docs PR, if applicable:
Validation

Checklist

[ ] If this PR includes a functional change to the runtime behavior of the code, I have added or updated automated test coverage for this change.
[ ] If this PR requires a change to the Project Architecture README, I have included that update in this PR.
[ ] If this PR requires a docs update, I have linked to that docs PR above.
[ ] If this PR modifies E2E tests, makes changes to resource provisioning, or makes SDK calls, I have run the PR checks with the run-e2e label set.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Please make checks happy.


Replaced get_db() with context manager class Database. Moved functions for tasks to crud file.

I replaced the get_db() function with an asynchronous context manager class Database to lower the chance of memory leaks, since now you won't have to close the connection every time you interact with the database. Its usage is something like the following.
async with Database() as conn:
    conn.execute("....")

I also moved any functions that modify the database in db.tasks.py to a new file db.crud.py for organization.

LGTM


Add unravel_index

Partial support of unravel_index

The ndarray type changes with #949 . i'd rather wait until it's merged to review this one :-)

Obsoleted by #995


tor-browser-bundle-bin: 8.0.6 -> 8.0.8

Motivation for this change
Follow-up to bump to from-source variant.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Should resolve #58210


Update test-infra: get rid of Unbound variable running update-deps wa…

/retest
On Fri, May 17, 2019, 9:22 PM Knative Prow Robot<EMAIL_ADDRESS>wrote:

@chaodaiG https://github.com/chaodaiG: The following test failed, say
/retest to rerun them all:
Test name Commit Details Rerun command
pull-knative-build-integration-tests ff6cde9
https://github.com/knative/build/commit/ff6cde97685e1735518dce689cbde9c52cc09cf8
link
https://gubernator.knative.dev/build/knative-prow/pr-logs/pull/knative_build/608/pull-knative-build-integration-tests/1129596814849216514/ /test
pull-knative-build-integration-tests
Full PR test history https://gubernator.knative.dev/pr/knative_build/608.
Your PR dashboard https://gubernator.knative.dev/pr/chaodaiG.
Instructions for interacting with me using PR comments are available here
https://git.k8s.io/community/contributors/guide/pull-requests.md. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
https://github.com/kubernetes/test-infra/issues/new?title=Prow issue:
repository. I understand the commands that are listed here
https://go.k8s.io/bot-commands.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/knative/build/pull/608?email_source=notifications&email_token=AKXNDYPSS24GG5ADN7CRJ3TPV6AAFA5CNFSM4HNZOZXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWHJVQ#issuecomment-493647062,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKXNDYIPI2PXUPOF53ZUEDLPV6AAFANCNFSM4HNZOZXA
.


Messenger embed

Basic Information
Implement the Messenger embed into the site. You can find the documentation for how to do this here.

[ ] We will set up some Facebook environment for you to use (needs to be done before this issue can be started). Will add a comment once this has been done

Other Information
See issue #23 for an idea of how this will integrate with the frontend.

We've run into some roadblocks setting up the Facebook environment. Meta has some very stringent requirements for developers, and apparently the manual review process might take some time. This could potentially take a while to sort out.


pass vi options from table to list to allow vi-key bindings.

@yaronn  for your consideration...
small change to allow options.vi to be passed to the underlying list so that vi-key bindings work as expected.

modified example to turn on vi keys in order to test.

This change is

Please merge this

Cool! Sorry for the late merge.


Update pypi version?

On pypi, fast-bert has not been updated since April 28. I am thus forced to use my forked branch in requirements. Would it be possible to please update the official pypi release of fast-bert? Thanks!

Done.

Thanks @kaushaltrivedi !!


Batchaccession

This runs a batch process on a series of OE packages and runs accession.py and makepbcore.py.

uh, the loopline retrospective accessioning script has found its way into this branch/PR as well. I'll leave the other PR to be used for those updates.


More generic gitignore

Motivation: I see that github/gitignore: A collection of useful .gitignore templates is quite usefull and common, I think using this as a base would be quite usefull.

Do we really need this? The current .gitignore seems to be sufficient.

Do we really need this? The current .gitignore seems to be sufficient for this project

I think this one is more generic and specifically done for Python. It covers many files that generated by editor and operating system and much more.

Closing due to inactivity.


Make Vec from a pointer that is valid for mutation

slice::as_ptr documents that the returned pointer or any pointer derived from it may not be used for mutation. It is therefore unsound to construct a Vec using this pointer, the docs advise as_raw_ptr instead: https://doc.rust-lang.org/stable/std/primitive.slice.html#method.as_ptr
I also specified the type in the cast, because as _ can produce very surprising behavior in unsafe code due to the reference and pointer coercions.
This issue can be detected with MIRIFLAGS="-Zmiri-tag-raw-pointers" cargo miri test
This change would be rendered unnecessary by https://github.com/gimli-rs/gimli/pull/603 but I can't tell what state that is in, the CI logs seem to have expired.

I also specified the type in the cast, because as _ can produce very surprising behavior in unsafe code due to the reference and pointer coercions.

Just for my understanding, can you point to an example of how that can go wrong?

In general casting of pointers is fraught with danger, because const vs mut is just a lint. Stacked Borrows (which is still just a prototype) makes this even more  and as _ hides what you're casting to. For example, you may do &T as *const T as _, which may convert const to mut, may change the type of the pointee, or both. If the cast is adding mut, this code is probably buggy.
Things can get even more strange in contrived examples. This code compiles, but it is UB per Stacked Borrows and probably by whatever finished pointer model Rust adopts:
unsafe{core::ptr::write(&mut 0i32 as *const i32 as *mut i32,1i32)}

The reason is that there is no as cast from &mut T to *const T. There's an implicit conversion from &mut T to &T inserted to make this compile. It's not necessarily UB to take a *const T and convert it to a *mut T to do writes through it, but in this case it is because raw pointer is derived from a shared reference. But you'd be hard-pressed indeed to figure that out without knowing what the input and output type is for the first as cast.

If I understand you correctly, the problem is that as itself is surprising, but as _ doesn't add any additional surprises. So the benefit of avoiding as _ is simply that it makes it easier to audit the as conversions.


Bookstore: connect to API

In this pull request, I did these:point_down:

Refactored my add book and remove book features to persist my changes in the server.

Thank you very much, @BrianSammit :pray:


docs(build): remove mentioning of browser build

Closes #281

Will create a own repository for the compression as the monorepo setup doesnt seem to work https://github.com/zxcvbn-ts/dictionary-compression


Smoother installation of a newer version of Node

Environment Setup Instructions are not enough - users still have issues stuck at v0.12.2 whereas azure-cli required Node v>=4.2.4.
Also verify that NPM 3+ is included

Path variable reset via shell script? Chocolately install a 32 bit version?

Fixed in new ARM Template. Used --x86 flag to override VS's installation of Node without mucking with the PATH variable. Merged in #74


Adjust to Dynamic DOMA

Right now, extension works by waiting for some time (e.g. 800 milliseconds) and the highlighting text in website. This works well for static websites whose content is finalized by that time, but not so well for dynamic pages (those whose DOM may change over time, or at least after the expected length). This would result in a lot of text getting placed in missing section unnecessarily.
To resolve this issue. I propose adding some listener to see if the DOM changes (for reasons other than highlighting) and if so, perform a search (at least on the changed DOM nodes) for text in missing and highlight if found.
Not sure if this is a real problem the at needs fixing.

Possible solution described here: https://stackoverflow.com/questions/3219758/detect-changes-in-the-dom

Possible idea:

Set up a permanent MutationObserver and observe body node (Element)
If no missing words, just return
For every update, look though list of added nodes for missingWords, highlighting when found
May need to filter based on modification type and avoid new nodes that are highlight nodes :)


Transmission cann't handle two clients when crossmatch

Expected behaviour:

Client1 + Client2 both purge seeds.
Actual behaviour:
Client1 purged, but client2 doesn't.
Because teansmission-rpc will remeber the last client.
Steps to reproduce:
use from_transmission_client2 crossmatch from_transmission_client1(which produce title that want to be purged)
Config:
  clean.purge_reseed_seeds:
    free_space:
      abort_if: above
      space: 30000
    <<: *from_transmission_reseed #Client2
    crossmatch:
      from: [from_task: purge.finished_seeds]
      fields: [title]
      action: accept
    <<: *purge_transmission_reseed

  purge.finished_seeds:
    limit_new: 2
    <<: *from_transmission #Client1
    imdb_lookup: yes
    sort_by: transmission_date_done
    if:
      - transmission_progress != 100.0: reject
    list_match:
      from:
        - movie_list: symlinked-movies
    <<: *purge_transmission

Log:

(click to expand)
2022-01-28 21:14:26 DEBUG    task          clean.purge_reseed_seeds executing clean.purge_reseed_seeds
2022-01-28 21:14:26 DEBUG    template      clean.purge_reseed_seeds Merging template global into task clean.purge_reseed_seeds
2022-01-28 21:14:26 DEBUG    log_filter    clean.purge_reseed_seeds Log filter added (config: [{'plugin': 'free_space', 'task': 'clean.purge_reseed_seeds'}])
2022-01-28 21:14:26 DEBUG    disable       clean.purge_reseed_seeds Disabled plugins: status, history, seen_info_hash, seen
2022-01-28 21:14:26 DEBUG    transmission  clean.purge_reseed_seeds Connecting to http://<IP_ADDRESS>:9092/transmission/
2022-01-28 21:14:26 DEBUG    backlog       clean.purge_reseed_seeds 0 entries purged from backlog
2022-01-28 21:14:26 VERBOSE  details       clean.purge_reseed_seeds Produced 10 entries.
2022-01-28 21:14:26 VERBOSE  from_task     clean.purge_reseed_seeds Running task `purge.finished_seeds` as subtask.
2022-01-28 21:14:26 DEBUG    task          clean.purge_reseed_seeds>purge.finished_seeds executing clean.purge_reseed_seeds>purge.finished_seeds
2022-01-28 21:14:26 DEBUG    template      clean.purge_reseed_seeds>purge.finished_seeds Merging template global into task clean.purge_reseed_seeds>purge.finished_seeds
2022-01-28 21:14:27 DEBUG    log_filter    clean.purge_reseed_seeds>purge.finished_seeds Log filter added (config: [{'plugin': 'free_space', 'task': 'clean.purge_reseed_seeds>purge.finished_seeds'}])
2022-01-28 21:14:27 DEBUG    disable       clean.purge_reseed_seeds>purge.finished_seeds Disabled plugins: history, seen_info_hash, seen
2022-01-28 21:14:27 DEBUG    remember_rej  clean.purge_reseed_seeds>purge.finished_seeds Task config has changed since last run, purging remembered entries.
2022-01-28 21:14:27 DEBUG    transmission  clean.purge_reseed_seeds>purge.finished_seeds Connecting to http://<IP_ADDRESS>:9091/transmission/
2022-01-28 21:14:27 DEBUG    backlog       clean.purge_reseed_seeds>purge.finished_seeds 0 entries purged from backlog
2022-01-28 21:14:27 VERBOSE  details       clean.purge_reseed_seeds>purge.finished_seeds Produced 3 entries.
2022-01-28 21:14:27 DEBUG    manipulate    clean.purge_reseed_seeds>purge.finished_seeds field: `title` from_field: `title` field_value: `sprd-790 Kaori Otosaki.mp4`
2022-01-28 21:14:27 DEBUG    manipulate    clean.purge_reseed_seeds>purge.finished_seeds field: `title` from_field: `title` field_value: `sprd-790 Kaori Otosaki.mp4`
2022-01-28 21:14:27 DEBUG    manipulate    clean.purge_reseed_seeds>purge.finished_seeds field `title` after replace: `sprd-790 Kaori Otosaki.mp4`
2022-01-28 21:14:27 DEBUG    manipulate    clean.purge_reseed_seeds>purge.finished_seeds field: `title` from_field: `title` field_value: `Reset.S01.2022.2160p.WEB-DL.H265.DDP-TJUPT`
2022-01-28 21:14:27 DEBUG    manipulate    clean.purge_reseed_seeds>purge.finished_seeds field: `title` from_field: `title` field_value: `Reset.S01.2022.2160p.WEB-DL.H265.DDP-TJUPT`
2022-01-28 21:14:27 DEBUG    manipulate    clean.purge_reseed_seeds>purge.finished_seeds field `title` after replace: `Reset.S01.2022.2160p.WEB-DL.H265.DDP-TJUPT`
2022-01-28 21:14:27 DEBUG    manipulate    clean.purge_reseed_seeds>purge.finished_seeds field: `title` from_field: `title` field_value: `Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai`
2022-01-28 21:14:27 DEBUG    manipulate    clean.purge_reseed_seeds>purge.finished_seeds field: `title` from_field: `title` field_value: `Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai`
2022-01-28 21:14:27 DEBUG    manipulate    clean.purge_reseed_seeds>purge.finished_seeds field `title` after replace: `Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai`
2022-01-28 21:14:27 VERBOSE  manipulate    clean.purge_reseed_seeds>purge.finished_seeds Modified 0 entries.
2022-01-28 21:14:27 DEBUG    sort_by       clean.purge_reseed_seeds>purge.finished_seeds sorting entries by: transmission_date_done
2022-01-28 21:14:27 DEBUG    if            clean.purge_reseed_seeds>purge.finished_seeds sprd-790 Kaori Otosaki.mp4 matched requirement now - transmission_date_done < timedelta(days=2)
2022-01-28 21:14:27 VERBOSE  task          clean.purge_reseed_seeds>purge.finished_seeds REJECTED: `sprd-790 Kaori Otosaki.mp4` by if plugin because matched requirement: now - transmission_date_done < timedelta(days=2)
2022-01-28 21:14:27 DEBUG    if            clean.purge_reseed_seeds>purge.finished_seeds Reset.S01.2022.2160p.WEB-DL.H265.DDP-TJUPT matched requirement now - transmission_date_done < timedelta(days=2)
2022-01-28 21:14:27 VERBOSE  task          clean.purge_reseed_seeds>purge.finished_seeds REJECTED: `Reset.S01.2022.2160p.WEB-DL.H265.DDP-TJUPT` by if plugin because matched requirement: now - transmission_date_done < timedelta(days=2)
2022-01-28 21:14:27 DEBUG    if            clean.purge_reseed_seeds>purge.finished_seeds Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai matched requirement transmission_status == 'stopped'
2022-01-28 21:14:27 VERBOSE  task          clean.purge_reseed_seeds>purge.finished_seeds ACCEPTED: `Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai` by if plugin because matched requirement: transmission_status == 'stopped'
2022-01-28 21:14:27 DEBUG    imdb_lookup   clean.purge_reseed_seeds>purge.finished_seeds lookup for Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai
2022-01-28 21:14:27 DEBUG    imdb.db       clean.purge_reseed_seeds>purge.finished_seeds movie `Eternals` age 1 expires in 7 days
2022-01-28 21:14:27 DEBUG    movie_list    clean.purge_reseed_seeds>purge.finished_seeds trying to match movie based off id imdb_id: tt9032400
2022-01-28 21:14:27 DEBUG    movie_list    clean.purge_reseed_seeds>purge.finished_seeds trying to match movie based of name: Eternals and year: 2021
2022-01-28 21:14:27 VERBOSE  limit_new     clean.purge_reseed_seeds>purge.finished_seeds Allowed Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai ()
2022-01-28 21:14:27 DEBUG    limit_new     clean.purge_reseed_seeds>purge.finished_seeds Rejected: 0 Allowed: 1
2022-01-28 21:14:27 DEBUG    urlrewriter   clean.purge_reseed_seeds>purge.finished_seeds Checking 1 entries
2022-01-28 21:14:27 VERBOSE  details       clean.purge_reseed_seeds>purge.finished_seeds Summary - Accepted: 1 (Rejected: 2 Undecided: 0 Failed: 0)
2022-01-28 21:14:27 DEBUG    transmission  clean.purge_reseed_seeds>purge.finished_seeds Connecting to http://<IP_ADDRESS>:9091/transmission/
2022-01-28 21:14:27 DEBUG    transmission  clean.purge_reseed_seeds>purge.finished_seeds Successfully connected to transmission.
2022-01-28 21:14:27 DEBUG    transmission  clean.purge_reseed_seeds>purge.finished_seeds Found Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai already loaded in transmission as Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai
2022-01-28 21:14:27 INFO     transmission  clean.purge_reseed_seeds>purge.finished_seeds purged Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai from transmission
2022-01-28 21:14:27 VERBOSE  list_match    clean.purge_reseed_seeds>purge.finished_seeds removing accepted entries from movie_list - symlinked-movies
2022-01-28 21:14:27 DEBUG    movie_list    clean.purge_reseed_seeds>purge.finished_seeds trying to match movie based off id imdb_id: tt9032400
2022-01-28 21:14:27 DEBUG    movie_list    clean.purge_reseed_seeds>purge.finished_seeds trying to match movie based of name: Eternals and year: 2021
2022-01-28 21:14:27 DEBUG    util.simple_persistence clean.purge_reseed_seeds>purge.finished_seeds Flushing simple persistence for task clean.purge_reseed_seeds>purge.finished_seeds to db.
2022-01-28 21:14:27 DEBUG    util.simple_persistence clean.purge_reseed_seeds>purge.finished_seeds Flushing simple persistence for task None to db.
2022-01-28 21:14:27 VERBOSE  from_task     clean.purge_reseed_seeds Finished running subtask `purge.finished_seeds`.
2022-01-28 21:14:27 VERBOSE  task          clean.purge_reseed_seeds ACCEPTED: `Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai` by crossmatch plugin because intersects with Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai on field(s) title
2022-01-28 21:14:27 VERBOSE  task          clean.purge_reseed_seeds ACCEPTED: `Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai` by crossmatch plugin because intersects with Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai on field(s) title
2022-01-28 21:14:27 VERBOSE  task          clean.purge_reseed_seeds ACCEPTED: `Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai` by crossmatch plugin because intersects with Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai on field(s) title
2022-01-28 21:14:27 DEBUG    urlrewriter   clean.purge_reseed_seeds Checking 3 entries
2022-01-28 21:14:27 VERBOSE  details       clean.purge_reseed_seeds Summary - Accepted: 3 (Rejected: 0 Undecided: 7 Failed: 0)
2022-01-28 21:14:27 WARNING  transmission  clean.purge_reseed_seeds Cannot purge Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai because it is not loaded in transmission.
2022-01-28 21:14:27 WARNING  transmission  clean.purge_reseed_seeds Cannot purge Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai because it is not loaded in transmission.
2022-01-28 21:14:27 WARNING  transmission  clean.purge_reseed_seeds Cannot purge Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai because it is not loaded in transmission.
2022-01-28 21:14:27 DEBUG    util.simple_persistence clean.purge_reseed_seeds Flushing simple persistence for task clean.purge_reseed_seeds to db.
2022-01-28 21:14:27 DEBUG    util.simple_persistence clean.purge_reseed_seeds Flushing simple persistence for task None to db.

Additional information:

FlexGet version: 3.2.13
Python version:
Installation method: docker/wiserain/flexget
Using daemon (yes/no): yes
OS and version:
Link to crash log:

This example is crazy and not a lot of people with 2 transmission instances to try to replicate this :rofl:
I need a little more info to understand the problem.

I see that your from task returns one accepted entry "Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai" and it removes it from trasmission.
Then it crossmatches with the other transmission instance and finds 3 torrents with the same name????
Then it fails to remove because it can't find it in transmission.

So:

Is the first correct? The from task is correct?
Do you have 3 entry with the same name?
It faills to remove, I assume that this is the problem... You actually have the entry in transmission. You should have, if crossmatch and f was able to map them.

Yes, you are right.
Let me write some details.
Client 1
With 1x
"Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai"
Client 2
with 3 x
"Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai"
the task "from_task" behave correct.
the torrent will be purge.
"Eternals.2021.BluRay.1080p.DTS-HD.MA5.1.x265.10bit-BeiTai"
but the task "cross_match" will fail.
because the task goes the remembered transmission_client_1 to match the 3 titles, which it should go transmission_client_3 to match the 3 titles. Then it failed.

I can actually see the problem! This is a reccuring problem with the from_task! Let me see if I can do something about it!

I solved this issue, please confirm that it's working

Many thanks!
But I don't know how to test it before you release it. I will test it as soon as you release it.


About 'context word embedding'  in contexe2vec

Hi,
firstly sorry because I'm not a user of chainer, so want to directly ask this.
I'm just curious about did you train 'context word embedding' with initializing a lookup table or use other pre-trained word2vec without further fine-tuning?
I think it is the former, am I right?

Indeed, I used a random initialization and then trained the context word embeddings as part of the training of the entire model.

thank you!


Add content from PowerPoints and brochure

[ ] Include video where possible
[ ] exercise descriptions
[ ] Include training overview above list of exercise

taking a look at adding the exercise descriptions - @mimiflynn is L1-e3 correct? It seems to have the wrong code snippet

That might be true, perhaps an update is needed to align it.

I can make the change i just wanted to confirm with you


YAPF config

I'm modifying the acme codebase externally, but the YAPF auto-formatter I'm using keeps producing different formatting results, which is frustrating for me.
I am using yapf 0.32.0 (latest as of today), with the following .style.yapf file:
[style]
based_on_style: yapf
indent_width: 2

It would be great if ACME can add .style.yapf in the OSS repository. What yapf config exactly is being used internally?
I came across dm-haiku's style.yapf file: https://github.com/deepmind/dm-haiku/blob/main/.style.yapf but this is not compatible with the latest yapf as the style preset chromium is gone and renamed to yapf. I tried that one with chromium -> yapf name changes, but the resulting style is still very different.

I'm not familiar with YAPF myself, but looking at what other OSS projects from DM and Google do, I'd suggest trying something like this:
[style]
based_on_style: yapf

Let us know if it works for. you and we can add it.

Actually, this should be equivalent to the config you proposed.
Do you have examples on how formatting differs from what we use in Acme? From all I can find, the config you showed should be equivalent with what we use.

Thanks for sharing those. The changes you show are something that our internal formatter does as well. I think this confirms that the YAPF config is the correct one.
I agree that we may want to be more strictly complying to the YAPF formatter. We will discuss auto-formatting the whole codebase but note that this is an invasive change. E.g. we are currently doing a series of non-trivial refactoring which touch many files. Re-formatting those in-between will cause a ton of merge conflicts.
FWIW, our internal workflow discourages auto-formatting the whole file on a change. Instead, the recommendation is to only auto-format the affected lines in the file. Is it an option for you to adopt a similar workflow?

Thanks for confirming. I hope the entire codebase can be reformatted properly soon, to reduce such overhead, but I understand that there can be some difficulties in regard to potential conflicts.
Many of the tools available (editors, IDEs, foramtters, ...) outside Google does auto-formatting the entire file rather than affected lines. YAPF, for example, supports -l range flag but the IDE/formatter has to specify the range being affected whenever it triggers auto-formatting. Ideally auto-formatting only the affected lines should be technically possible, but it would require some non-trivial workflow/dev tools setup for many of the users including me.


PawGui Update to default to not allow coding in it

Due to the huge amount of overhead and non-native feel while coding in the editor as well as syntax highlighting, code completion and more code for objects will simply be previewed as PLAINTEXT and when selected will open the file in the code/text editor of choice...
For now will just default to toggling the boolean to false for "isCodeEditor"

Closed via PR https://github.com/pawbyte/Game-Pencil-Engine-Editor/pull/106


Merged main dev 1.25

Merge main branch into dev-1.25 to keep in sync, part of the Docs activities in the release process.
/cc @kcmartin @cathchu @didicodes @sethmccombs @reylejano

/approve

Thankyou @krol3 , for the contribution.
@caesarxuchao can you Review this as requested.
/assign @caesarxuchao
/assign
do suggest @bradtopol

Assigning @reylejano to this.
/assign @reylejano
unassign @AmanSarraf
unassign @caesarxuchao

/lgtm


Add method to list all members including inherited members

The purpose of this MR is to implement a method to list all members including inherited members. Currently in the rudy sdk we have available only two methods, that don't return the inherited ones.

team_members, group_members - Gets a list of group or project members viewable by the authenticated user. Returns only direct members and not inherited members through ancestors groups.

Rather than trying to find a workaround(although I am not sure there is one) I think it is a good idea to have this endpoint as in the REST API that will return all members.

Thank you ❤


Add TestAssemblies mark to tests assembly definition

Reference

Adding tests to a package

I have not known about this option. Thank you!


License

Since all software are open-source I suggest to add the specific name of the license to the last column instead of "open-source.

@chraibi What do you think about replacing the license with a programming language?

Maybe even better!

@pozapas Can you create a PR for this?

@chraibi I have created a PR. Please review it.


Revert "Support trailing slashes, not extraneous ones"

Breaking change from #3158. Let's re-revert this back into master after a 2.1.1 can be cut.

@ryanflorence Can you push a 2.1.1? Thanks!

done.


Hover event handler of vrView hotspot

Is it possible to implement hover functionality to a hotspot?
I need to show some description to the hotspot, before the click (something like "hint" where will point you).

all hotspots emit a focus event which is caught in world-renderer.js
  this.hotspotRenderer.on('focus', this.onHotspotFocus_.bind(this));   this.hotspotRenderer.on('blur', this.onHotspotBlur_.bind(this));
You can do whatever you need in the handlers attached to these.

Thank you, I will use these handlers for my scenario.


Machinarium [PCSE00212]

Game summary

Game name: Machinarium
Game serial: PCSE00212
Game version: 01.00

Vita3K summary

Version: v0.1
Build number: 1190
Commit hash: https://github.com/vita3k/vita3k/commit/699475a

Test environment summary

Tested by: IllusionMan1212
OS: Windows 10 Pro
CPU: AMD Ryzen 5 1600
GPU: NVIDIA GTX 1050Ti
RAM: 8 GB

Issues
Crashes while generating shaders
Screenshots
None atm.
Log
vita3k.log

Vita3K summary

Version: v0.1
Build number: 1263
Commit hash: https://github.com/vita3k/vita3k/commit/fb20ce9

Issues
Goes ingame with unsupported texture format : 0xC003000
Screenshots

Log
vita3k.log

Vita3K v0.1.5 2594-4071eb35
crashes out during the intro
keeps spamming
|E| [Atrac9DecoderState::send]: Decode failure with code
vita3k.log

Vita3K v0.1.6 3002-4dfc3911
The console keeps spamming
[02:08:59.605] |E| [Atrac9DecoderState::send]: Decode failure with code -2112880633!

But the game is completely playable without audio so Ingame+ would be a perfect label.

as of https://github.com/Vita3K/Vita3K/commit/9d45a5fc666122ab7f53cd3bf47edad6b3adcbae, the game no longer crashes out in the intros.
Screenshots

Logs
vita3k.log
Recommeded Labels

Ingame +


Wheels for Python 3.13?

Hi @tshauck, wondering if you ran into this before. I am running into an issue installing biobear for 3.13. Seems like the wheels are not available so it tries to build from source. incase it helps: https://github.com/BiocPy/GenomicRanges/actions/runs/12437261937/job/34726750214?pr=133

@jkanche Hey, thanks for the note. I need to do a little work to get biobear + exon on Python 3.13. Will try to get it done over the next few days and follow up. Thanks for raising this!

no worries, thank you for your help.

@jkanche wheels should now be build for 3.13. I'm a little uncertain about 3.13t, because it's not fully support by PyO3 yet, but 3.13 looks to work fine. Please lmk if it gives you any issues. Thanks!


Final Report: Rewrite 4.3

Done -- it's currently in the Preliminary Report document in the shared Capstone Google Drive folder


log the connection info when failed to connect to the OAuth server

in the client module to get client credentials token. In most cases, the root cause would be the client.yml configuration file.
like the URL is not config correctly for direct connection or the serviceId is not configured correctly for service discovery.

 log the connection info when failed to connect to the OAuth server light-4j master


Is Array.from(str).reverse().join('') a sufficient replacement for this module?

Or am I missing something?

Yeah, that doesn’t handle combining marks.

Thanks for the quick explanation!


Make camera's bottom not in a half-block(?)

I tried to look into it, couldn't find any clues, will ask on the Stabyourself Discord to see if anyone knows

didn't get an answer, might need to figure out for 1.0? idk it can probably be figured out later down the line


[WIP] codemods

Just for code review purposes... i'll properly add description when it is ready

@diegohaz

I think we should name the file v016.js instead of v16.js so it won't conflict when we release v1+

By the way. What is a good name to call the cli? I mean, reakit-codemods param1 param2 <---

reakit-codemods foo bar looks good to me 🤔

Codecov Report

Merging #280 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #280   +/-   ##
=======================================
  Coverage   67.18%   67.18%
=======================================
  Files          85       85
  Lines         649      649
  Branches      149      149
=======================================
  Hits          436      436
  Misses        213      213

Continue to review full report at Codecov.

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

Yep

Ok, i'll change it!

Fixed!
Seems to work around that problem

I'll also change the approach on testing. As you see everything is being transformed right, don't merge yet.


Is it possible to wait for a specific path?

I am using a reverse proxy where a lot of services are located under the same domain on different paths.
my-domain/api/bacon
my-domain/api/potato

And I would like to wait for each of these services individually.
Would it be possible to do something like:
wait-for-it my-domain:80/api/bacon

I've tryed some variations of it and all of them fail.

@brendtumi it simply ignores the path and times out, even though my path is working just fine.
$ wait-for-it http://<IP_ADDRESS>:8001/bacon

wait-for-it: waiting 15 seconds for http://<IP_ADDRESS>
wait-for-it: timeout occurred after waiting 15 seconds for http://<IP_ADDRESS>

Sorry my bad, you may use https://github.com/Eficode/wait-for for url usage, this library only support availability of a host and TCP port.


Intellisense: Bug that prevents you from typing . s

I was able to reproduce this bug with this graph: https://www.desmos.com/calculator/eipggprxqp
Try typing a . into this expression. It won't type anything.

Probably you've already found out, but just in case on my end this only happens when you have the Auto-Subscriptify setting enabled.

Fixed by https://github.com/DesModder/DesModder/pull/823.
By the way @SlimRunner, it was helpful to have your note about Auto-Subscriptify being important. Thanks.


Urgent :memory Error

I am trying to run the code in python.
But,I am getting memory error in executing the 'Union' function.
please help.very urgent
Otherwise please provide alternative implementation of SWT in python.
Thanks

Hi, I also meet this question ,and i'm debugging to solve it.

@chitransh1998  See the Outofmemory error Issue. Some one provided the modified code.

Hi, i am getting memory error when trying to run this code in python. This function manly
def _find_letters(cls, swt, shapes, shape_h, shape_w):
# STEP: Discard shapes that are probably not letters
swts = []
heights = []
widths = []
topleft_pts = []
images = []
    for label,layer in shapes.items():
        (nz_y, nz_x) = (layer[0],layer[1])
        east, west, south, north = max(nz_x), min(nz_x), max(nz_y), min(nz_y)
        width, height = east - west, south - north

        if width < 4 or height < 4:
            continue

        if width / height > 10 or height / width > 10:
            continue

        diameter = math.sqrt(width * width + height * height)
        median_swt = np.median(swt[(nz_y, nz_x)])
        swts.append([math.log(median_swt, 2)])
        heights.append([math.log(height, 2)])
        topleft_pts.append(np.asarray([north, west]))
        widths.append(width)

        fulllayer = np.zeros((shape_w, shape_h), dtype=np.uint16)
        for i in range(len(layer[0])):
            fulllayer[layer[0][i], layer[1][i]] = 1
        images.append(fulllayer)

    return swts, heights, widths, topleft_pts, images


unable to get local issuer certificate

This is a business pod in my k8s,
My code structure is as follows
│   │   ├── src
│   │   │   -├── lib
│   │   │   --   ├── aws
│   │   │   ----        ├── AWS.lua
│   │   │   --   ├── operator
│   │   │   ----       ├── DynamicConfig.lua
│   │   │   -├── nginx
│   │   │   --    ├── nginx_init.lua
│   │   │   -├── service
│   │   │   --    ├── cc
│   │   │   ----        ├── CcManager.lua
DynamicConfig.lua is initialized in nginx_init.lua, AWS.lua is introduced in DynamicConfig.lua and the get_credentials() method is called, returning successfully
local function get_credentials()
    local AWS_global_config = resty_aws_config.global
    local config_aws = { region = AWS_global_config.region }
    local aws = resty_aws(config_aws)

    local creds, err = aws:TokenFileWebIdentityCredentials()
    logger:error(" to get AWS credentials due to '%s', '%s'",creds, err)

    local success, accessKeyId, secretAccessKey, sessionToken =
        creds:get()
    logger:error("TokenFileWebIdentityCredentials %s", { success, accessKeyId, secretAccessKey, sessionToken })

    return {
        access_key = accessKeyId,
        secret_key = secretAccessKey,
        security_token = sessionToken
    }
end

response success ,The log is as follows：
2023/07/31 02:06:30 [error] 1#0: [lua] NgxLogSink.lua:43: write(): [/mnt/lua/libs/aws/AWS.lua:40] TokenFileWebIdentityCredentials [true,"AS*****IT","I10t2s9*****81Se2o","FwoGZXIvYXdzECwaDGZZKm9yNb******68scObxG7ybiqlh114oA=="]
But when I use http to request my CcManager.lua, it refers to AWS.lua and also calls get_credentials(), but there are error as follows：
2023/07/31 02:07:33 [error] 11#0: 15 [lua] NgxLogSink.lua:43: write(): [ERROR] [:03fcbd76***8cc664e7e0][/mnt/lua/libs/aws/AWS.lua:40] [user_id: 06***e8fd69cdb5edf] TokenFileWebIdentityCredentials [null,"Request for token data failed: STS:assumeRoleWithWebIdentity() failed to connect to 'https://sts.amazonaws.com:443': 20: unable to get local issuer certificate"], client: 10...2*, server: , request: "POST /api/v3/cc/add HTTP/1.1", host: "***.svc.cluster.local", referrer: "https://***.com/"
I don’t understand why the same method  called under the same process. It can be obtained normally during initialization, but an error will be reported when other modules are called later. Do you have any professional advice? I need your help, thank you very much

STS:assumeRoleWithWebIdentity() failed to connect to 'https://sts.amazonaws.com:443': 20: unable to get local issuer certificate

Do you have correct lua_ssl_trusted_certificate defined in your nginx configuration?

Checked and did not configure lua_ssl_trusted_certificate，Can you tell me how to configure it?
And what I am wondering is why the initialization phase can be successfully obtained but the subsequent calls are not

Thanks a lot, it worked after adding lua_ssl_trusted_certificate parameters
can you explain to me why


Successful installation but cannot run program

Hello,
I just read the pre-print for AlphaImpute2 and I am excited to test it out. After installing, I try to run AlphaImpute2 without any arguments and I am met with the following error below:
[stefan@stefan-81x2 AlphaImpute2]$ pip uninstall AlphaImpute2 -y
Found existing installation: AlphaImpute2 0.0.3
Uninstalling AlphaImpute2-0.0.3:
  Successfully uninstalled AlphaImpute2-0.0.3
[stefan@stefan-81x2 AlphaImpute2]$ pip install dist/AlphaImpute2-0.0.3-py3-none-any.whl
Defaulting to user installation because normal site-packages is not writeable
Processing ./dist/AlphaImpute2-0.0.3-py3-none-any.whl
Requirement already satisfied: numba>=0.49.0 in /home/stefan/.local/lib/python3.8/site-packages (from AlphaImpute2==0.0.3) (0.52.0)
Requirement already satisfied: numpy>=1.19 in /home/stefan/.local/lib/python3.8/site-packages (from AlphaImpute2==0.0.3) (1.19.4)
Requirement already satisfied: llvmlite<0.36,>=0.35.0 in /home/stefan/.local/lib/python3.8/site-packages (from numba>=0.49.0->AlphaImpute2==0.0.3) (0.35.0)
Requirement already satisfied: setuptools in /usr/lib/python3.8/site-packages (from numba>=0.49.0->AlphaImpute2==0.0.3) (50.3.2)
Installing collected packages: AlphaImpute2
Successfully installed AlphaImpute2-0.0.3
[stefan@stefan-81x2 AlphaImpute2]$ AlphaImpute2
Traceback (most recent call last):
  File "/usr/bin/AlphaImpute2", line 5, in <module>
    from alphaimpute2.alphaimpute2 import main
  File "/home/stefan/.local/lib/python3.8/site-packages/alphaimpute2/alphaimpute2.py", line 4, in <module>
    from .Imputation import ParticlePhasing
  File "/home/stefan/.local/lib/python3.8/site-packages/alphaimpute2/Imputation/ParticlePhasing.py", line 19, in <module>
    from . import PhasingObjects
  File "/home/stefan/.local/lib/python3.8/site-packages/alphaimpute2/Imputation/PhasingObjects.py", line 17, in <module>
    from . import Imputation
  File "/home/stefan/.local/lib/python3.8/site-packages/alphaimpute2/Imputation/Imputation.py", line 2, in <module>
    from numba import jit, int8, int32, boolean, jitclass, float32, int64
ImportError: cannot import name 'jitclass' from 'numba' (/home/stefan/.local/lib/python3.8/site-packages/numba/__init__.py)

I'm not sure what is going wrong with the installation, and any suggestions would be greatly appreciated. If it is relevant, I am running Manjaro 20.2. Many thanks.

@sgavril , it looks like there is an issue with the Numba installation or the pip isn't pointing to the python with Numba installed. Could you open python in the terminal and type from numba import jit and if this works from numba import jitclass and report the output? Yout might need to install / reinstall Numba.
Alternatively, if you have the conda (anaconda / miniconda) installed, I would suggest installing the AlphaImpute2 within the conda environment.

Hello @janaobsteter, thanks for the quick reply. Below is the output from the first command:
Python 3.8.6 (default, Sep 30 2020, 04:00:38)
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from numba import jit
>>> from numba import jitclass
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'jitclass' from 'numba' (/usr/lib/python3.8/site-packages/numba/__init__.py)
>>>

I would prefer to use Conda if that is available, but I'm getting a packages not found error. Is there a link to anaconda cloud for alphaimpute2/suggested command?

@sgavril, can you also report the versions of Numba and Numpy:
import numba
print(numba.__version__)
import numpy
print(numpy.__version__)
Maybe updating Numba would solve the problem (via pip install numba).
By using conda I meant locally, instead of pip. The Numba site also recommends to use it with Conda (the reason being Conda installs and updates all the packages). I you want you can download Conda (Anaconda or Miniconda - I tried with Anaconda3 and it worked perfectly: https://www.anaconda.com/products/individual). Works with Arch/Manjaro Linux. Then your python path should point to the Conda python which has no problem handling numba and AlphaImpute2 (at least in my case).
So maybe first try to run the pip install numba command and try running AlphaImpute2 again (or open python and try to import jitclass).If this doesn't work, then I would recommend installing conda - and I am happy to help you with that!

@janaobsteter your suggestion to use Conda worked great! Thanks so much for your help.


Cleanup - Reduce forgiving json to 30 lines

This PR reduces the forgiving json import method to below 30 lines

Codecov Report

Merging #323 (92d4c50) into master (9312eeb) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #323      +/-   ##
============================================
+ Coverage     72.28%   72.39%   +0.11%
- Complexity     1247     1256       +9
============================================
  Files           160      160
  Lines          3842     3858      +16
  Branches        452      452
============================================
+ Hits           2777     2793      +16
  Misses          985      985
  Partials         80       80

Impacted Files
Coverage Δ

...du/contax/storage/JsonSerializableAddressBook.java
100.00% <100.00%> (ø)

src/main/java/seedu/contax/MainApp.java
0.00% <0.00%> (ø)

...a/seedu/contax/logic/parser/AddressBookParser.java
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


gtc does not yet support ** operator

This is not high priority, however one of the examples, demo_burgers.ipynb uses it.

Implemented in #363


displayEmpty does not work when native is set.

when using the combination of displayEmpty: true and native: true on a <TextField select /> it doesn't render the empty option

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
doesn't render an empty option

Expected Behavior 🤔
renders an empty option

Steps to Reproduce 🕹
https://codesandbox.io/s/hopeful-sutherland-h0pqd

Steps:

Context 🔦

Your Environment 🌎

Tech
Version

Material-UI
v4.?.?

React

Browser

TypeScript

etc.

You can only use it when the native prop is false (default).


how to specify URLs through symfony route names with restangular?

Hi,
I am new to restangular. My goal is just to try an example on symfony + angularjs + restangular.
I managed to make the example working. But, this required me to start a webserver through that command $ php app/console server:run localhost:8080
But, this is not what I am looking for. It's a symfony project and I am expecting to make trials on it with that url in my localhost: http://localhost/symfony-angular-todomvc/web/app_dev.php/TodoMVC
In fact, without running that command $ php app/console server:run localhost:8080, I am getting error telling that
GET XHR http://localhost/todos [HTTP/1.1 404 Not Found 0ms]

I solved that by specifying the setting the base URL in the that line L26 as follows:
RestangularProvider.setBaseUrl('/symfony-angular-todomvc/web/app_dev.php/');

So, my question is: "is it possible to specify the URLs when calling the API through symfony route name?" (I am asking this question to avoid setting a base url and then setting the allurl  Restangular.allUrl('todos');)
Hint: Routing.generate('route_name') from  FOSJsRoutingBundle could be a solution?
Thank you in advance

my question is: "is it possible to specify the URLs when calling the API through symfony route name?"

Yes:

// Include http://localhost in the URL
RestangularProvider.setBaseUrl("http://localhost/symfony-angular-todomvc/web/app_dev.php/TodoMVC");

And what about  Routing.generate('route_name') from FOSJsRoutingBundle?
Is it possible?

I'm not sure what you're talking about since I'm not familiar with the library in question. Can you please elaborate?

Hi @mappedinn you can use FOSJsRouting and expose symfony's routes

Thank you @miguelplazasr  for your answer.
Can you please how it would become in this case the code below?
RestangularProvider.setBaseUrl('/symfony-angular-todomvc/web/app_dev.php/');

Thanks again!


Using custom and default handlers together

After reading the Custom WebSocket Handlers documentation and the Router code, I understood that by using WebSocketsRouter::webSocket() a new websocket endpoint is added to the server, that still keeps the default /app/{appKey} route (compliant with the Pusher protocol).
Then, after setting my custom handler endpoint in routes/web.php:
WebSocketsRouter::webSocket('/test', \App\SimpleWebsocketHandler::class);

That just logs that the connection happened:
class SimpleWebsocketHandler implements MessageComponentInterface
{
    public function onOpen(ConnectionInterface $connection) { Log::info('onOpen'); }
    ...

I can verify that the server has both the /app/{appKey} and /test endpoints.
However, when the Laravel Echo instance in the browser tries to connect using the default route:
GET ws://localhost:6001/app/816622f4d65f3c4e1d2e11011658b785?protocol=7&client=js&version=5.0.3&flash=false

The custom onOpen function is executed instead:
Starting the WebSocket server on port 6001...
New connection opened for app key 816622f4d65f3c4e1d2e11011658b785.
[2020-01-30 00:30:51] local.DEBUG: onOpen
Connection id  closed.

And since the custom handler doesn't establish the connection and nothing is returned to the browser, the Laravel Echo connection fails with the error:
app.js:1 WebSocket connection to 'wss://localhost/app/816622f4d65f3c4e1d2e11011658b785?protocol=7&client=js&version=5.0.3&flash=false' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

So, is my understanding wrong? Is it not possible to use both a custom handler and the default Pusher compliant handler together?
In the issue #21 the example provided is a child of the default WebSocketHandler, but then when calling the parent::onOpen(), the Pusher format will be expected.

Duplicate of https://github.com/beyondcode/laravel-websockets/issues/296


moving to droidlet/tools

Just need a stamp here. Moving from fairo/tools/active_vision to fairo/droidlet/tools/active_vision to make it easier to share utils within the active_vision module
Stack from ghstack (oldest at bottom):

#1173
#1172
#1171
#1170
#1169
#1168
#1167
-> #1166
#1165
#1164
#1163
#1162

lol I started reviewing from the bottom, and asked for this in PR lower in the stack

Codecov Report

Merging #1166 (91348aa) into gh/anuragprat1k/18/base (bd41c32) will decrease coverage by 0.00%.
The diff coverage is n/a.

:exclamation: Current head 91348aa differs from pull request most recent head 0dcf37e. Consider uploading reports for the commit 0dcf37e to get more accurate results

@@                     Coverage Diff                     @@
##           gh/anuragprat1k/18/base    #1166      +/-   ##
===========================================================
- Coverage                    34.12%   34.11%   -0.01%
===========================================================
  Files                          345      345
  Lines                        34016    34016
===========================================================
- Hits                         11608    11605       -3
- Misses                       22408    22411       +3

Impacted Files
Coverage Δ

interpreter/robot/tests/world.py
74.45% <0.00%> (-0.73%)
:arrow_down:

interpreter/craftassist/tasks.py
75.94% <0.00%> (-0.54%)
:arrow_down:

lowlevel/minecraft/pyworld/fake_mobs.py
88.98% <0.00%> (+0.84%)
:arrow_up:


Upper tx validity could be very big on close/contest

Upper tx validity could be very big on close/contest (e.g. close but have deadline in 10 years)

enforce a bound using T_max - T_min < some slots

I think this gap actually might not be valid. So when we create close tx here , we already adjust the upper bound validity of the tx by calling adjustPointInTime with closeGraceTime which is hardcoded to 100 slots. So we set the upper bound of a tx to be current point in time  + 100 slots_. Then in the on-chain code we want to enforce that the deadline is not too far in the future (that is what this gap is about)  here we are again calling the addContestationPeriod using the already set tx upper bound and  contestation deadline as the second param. So, we are adding the contestation deadline again which makes me think we are already handling this too far in the future gap. It can happen that the contestationPeriod in the Open datum constructor can be arbitrarily set too much in the future which would lead to this gap but we are the ones controlling it so that should be fine.
cc @ch1bo @abailly

Related to https://github.com/input-output-hk/hydra/pull/615


Two subdomain problem

Hi,
That's the .env:
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://api.dev.app.com

API_DEBUG=true
API_STANDARDS_TREE=vnd
API_DOMAIN=api.dev.app.com
API_VERSION=v1
API_NAME="My App"
API_CONDITIONAL_REQUEST=false
API_STRICT=false
API_DEFAULT_FORMAT=json

DB_CONNECTION=mysql
DB_HOST=<IP_ADDRESS>
DB_PORT=3306
DB_DATABASE=myapp
DB_USERNAME=root
DB_PASSWORD=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

REDIS_HOST=<IP_ADDRESS>
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

I don't know why but every request returns a 405 Method Not Allowed, but if I put the same code on the api.app.com ( without the .dev ) works fine.

If this is a standalone Dingo API application then just use API_PREFIX=/, that's usually my preference.

@jasonlewis Using API_DOMAIN as I said or API_PREFIX i got the same error.

Just did a quick test and it's working fine here using either method (though like I said, if it's standalone API use API_PREFIX=/).

ah ... / this has saved my life...
We use docker to orchestrate all our Laravel apps that make up our API. DNS and service discovery is a little more complicated in this scenario and a simple environment variable with the domain just was not going to work.
This worked a charm

@jasonlewis Do u can send me all the API_* env configs? I'm using:
API_DEBUG=true
API_STANDARDS_TREE=vnd
API_PREFIX=/
API_VERSION=v1
API_NAME="My App"
API_CONDITIONAL_REQUEST=false
API_STRICT=false
API_DEFAULT_FORMAT=json

And the problem persist.


whitespace is (suprisingly) relevant in assetpack.def

I had a line
! codemirror.js<WHITESPACE>

Which caused an 'no asset registered to topic 'codemirror.js'. I didn't really expect to make white space a difference.

Which whitespace? Can you add quotes or something around the line?

Sorry, I fixed my markdown

Thanks!


fix(radio): Move .mat-radio-input above .mat-focus-indicator.

The reason why we want to do this is so that we can apply styles to .mat-focus-indicator based upon whether or not .mat-radio-input is focused. We can't do this right now, because we there is no way to "look backwards" with CSS selectors. After this change, we will be able to write:
.mat-radio-input:focus ~ .mat-focus-indicator

This change also aligns the DOM structure of radio button with checkbox and slide toggle (the two latter components already have their inputs before the focus indicator element in the DOM).
Ran TGP, no failures.

Marking as merge safe since Zack already ran a TGP for this PR


Fsutil does not rely on WSL

In the note at the top of this article, it states: "You have to enable Windows Subsystem for Linux before you can run Fsutil
On Server 2019, I see this:
PS C:\Foo> get-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
FeatureName      : Microsoft-Windows-Subsystem-Linux
DisplayName      : Windows Subsystem for Linux
Description      : Provides services and environments for running native user-mode Linux shells and tools on Windows.
RestartRequired  : Possible
State            : Disabled
CustomProperties :

PS C:\Foo> fsutil
---- Commands Supported ----
8dot3name       8dot3name management
behavior        Control file system behavior
dax             Dax volume management
dirty           Manage volume dirty bit
file            File specific commands
fsInfo          File system information
hardlink        Hardlink management
objectID        Object ID management
quota           Quota management
repair          Self healing management
reparsePoint    Reparse point management
resource        Transactional Resource Manager management
sparse          Sparse file control
tiering         Storage tiering property management
transaction     Transaction management
usn             USN management
volume          Volume management
wim             Transparent wim hosting management

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

ID: 18562b49-3654-a3ff-9617-3c59d50a7d1e
Version Independent ID: 3e69bcb1-b1e6-f0ea-e861-5ced88fe6a24
Content: Fsutil
Content Source: WindowsServerDocs/administration/windows-commands/fsutil.md
Product: windows-server
Technology: storage
GitHub Login: @toklima
Microsoft Alias: toklima

#assign:xelu86

Hey @doctordns,
Thanks again for contacting Microsoft. We value your feedback.
A documentation change has been made removing this from the note as WSL is not a dependancy for fsutil to run. Changes will be live after the next business day. We will now be closing this thread.
Thank you and have a most pleasant day. #please-close


BME68X_CHIP_ID is 0x60

I am working with BME688 and begin does not pass this line, because my chip is reporting ID 0x60:
https://github.com/BoschSensortec/BME68x-Sensor-API/blob/master/bme68x.c#L154
I would like to ask if this is variation or i need to know something else about my chip?
Thanks

0x60 is what BME280 chips claim, are you sure you have a BME688?

@horazont
We bought the module from: https://www.reichelt.de/de/de/entwicklerboards-sensor-bosch-bme688-debo-sens-bme688-p306628.html?trstct=pos_3&nbc=1&&r=1
and in our case the chip id is also 0x60 and not 0x61 as in the datasheet

@Murmele , it seems the manufacturer of the board has used the wrong part. Kindly check with the manufacturer or distributor.

@BST-Github-Admin thanks for the clarification!


Implement index update rework

Implementation work needs to be done to add the things proposed in this docs.rs RFC.

Some preliminary things can be done without switching completely:

storing the current commit in the database is pretty easy
we can implement the webhook endpoint in addition to the current index updates and run them both in parallel for a while to make sure they work
synchronization needs to be implemented before fully switching over to webhooks, because there is no analogue of peek_changes for webhooks (there's no way to ensure durability in case of a crash)

synchronization needs to be implemented before fully switching over to webhooks, because there is no analogue of peek_changes for webhooks (there's no way to ensure durability in case of a crash)

Yes there is, if we update the hash of the last visited commit in the same database transaction as adding crates to the queue we'd get the same level of consistency we have today.

last visited commit

I don't think this makes sense in the context on web-hooks because we might not receive the hooks in the order the crates were released. If crates A and B release and we get the webhook for B before A, updating the commit to point to B would mean we could skip A.

The webhook is just a trigger "check what crates were released between last commit and now", it will just call the exact same update code as the time based trigger does.

The future container-based setup for docs.rs will have:

web workers
build servers
one single registry watcher

which complicates the webhook setup, since the webhook is received by another physical server.


Algorithm accuracy

sorry to bother you again.
When I run your program, I'm not sure that the results of the program are correct.
My GPU is a Nvidia 1650, the Version of TensorFlow-gpu is 1.13.1. The training sample size is nnn = 66, 186, 21, 31, 13, 50, 13, 37, 10. I haven't changed any other parameters or Settings
But the OA is about 0.94.
Because the accuracy of your article is too different, so I want to consult you whether this data is reliable.
If I want to reference your article, can I use this data

The experimental results in our paper are obtained with 150 training samples per class. Since you have used a much smaller training set, I think the drop in OA is reasonable.

Thank you for your reply.
I will read your article detailedly and cite your methods in my future work.


[EXPLOIT] Buying any Upgrade and Re-joining Exploit

When you purchase late game upgrades and then quit the game then join back, you'll have the upgrades but the credits you spent will still be there. I believe only the host can make it happen so it isn't too cheaty but it is a pretty bad bug.

Repeat of issue #261


Colormovement

Summary
Do cool stuff with LEDs, reacting the accelerometer data
Technical Spec
There are a number of ways to do reactive LEDs. We should test and see the following methods

Map [X, Y, Z] to [R, G, B]
Map [X, Y, Z] to [H, S, V]
Calculate the magnitude of [X, Y, Z] and feed it into colorchord as a low frequency, one dimensional signal (will likely need to modify colorchord to key off lower frequencies)
Run some sort of peak detection on the magnitude signal and react to spikes (fist bump mode)

UI
The LEDs should blink, duh.
The OLED should have some menu to display and select the current reaction mode.
One button should cycle modes, the other should cycle brightness.
Last year one button cycled sensitivity, but I don't think that's necessary here.
How to Test
Wave it around, see if looks cooler than cool (ice cold)

@bbkiwi if you play around with option 3 (colorchord) please post results here.

I won’t be able to look at this for the next 5 days as I’ll be away.
1 and 2 are easy to try but I suspect will be a bit boring.
Another option (which is easy to implement) relates to the rollMode as it is now in my branch mazeandroll. There is one virtual pendulum which is driven by movement and the leds mirror this movement by flashing red. The pendulum has a natural resonance. To create a more interesting display, model 3 pendulums (for rgb) each with different frequencies and/or driven by x,y, or z readings.

I think you're right for 1 & 2, but I still want to see them. I can probably write it up quickly and get a demo going.
The pendulum approach sounds interesting. Let your imagination run wild!

35 mins before I leave for the airport. Just got a quick and dirty mod to do the pendulum approach. See branch rolllcolor. Just put up videos on slack. Have fun at the meeting!

Superseded by #66


Add PR checks, daily build, container push pipelines

We need to Run docker/k8s setup and run the integration test suite to verify the scenarios.

Blocked by https://github.com/Ballroom-Platform/ballroom-backend/issues/93

Base pipeline implementation is done.
Created https://github.com/Ballroom-Platform/ballroom-backend/issues/107 to track test intergration.


Add missing labels/annotations

Towards https://github.com/giantswarm/giantswarm/issues/14537
Checklist

[ ] Update changelog in CHANGELOG.md.

Tested this towards config repo - works fine


Either enable custom association options or set inverse_of for the relations

The associations generated by groupify and has_members methods lack the inverse_of option.
It should be possible to enable this on a per-call basis to keep backwards compatibility.
Example usage:
class Organization < Group
  has_members :managers,
    inverse_of: true
end

Which would generate
class Organization < ActiveRecord::Base
  has_many :managers,
    through: :group_memberships_as_group,
    inverse_of: :organizations,
    ... # The rest of the options
end

Alternatively allow the developer to merge in a (whitelisted?) set of extra keys to the association options hash.
Example of that:
class Organization < Group
  has_members :managers,
    inverse_of: :organizations
end

For more info on inverse_of specifically: https://www.viget.com/articles/exploring-the-inverse-of-option-on-rails-model-associations

I would be in favor of passing in association options.
For inverse_of specifically, in Rails 4 it is usually inferred automatically, so it doesn't need to be specified unless the names don't match up. So association options would allow that configuration to be put in place.

I started work in 3179b3e
If it looks ok I'll replicate it for all relations and merge with #49 for a PR.

@juhazi Please check out #61 - it allows you to specify custom association options using the has_group or has_member helpers for each association you want to create rather than using has_groups or has_members. Let me know if this does what you need. Thanks.


Adaptive Card on Lab 4

Might it be worthwhile to create an adaptive card for Lab 4 rather than using the Hero Card? Give us another opportunity to show off the functionality.

We gave this a second thought, and we believe that removing HeroCards from Lab 4 might not be ideal as it is a good feature to showcase. Also, using Adaptive Cards at that point might make the exercise more difficult to follow. The alternative we propose is adding it as a "Further Challenge Task" for Exercise 4, that includes not only the wording, but also some sample code (in the assets folder maybe).
Thoughts?

Let's compromise and go with a thumbnail card. We are going to have a little graphic of a "bot" to display, and it'll work best if it's off to the side.

Makes sense. This is how it would like like with the Thumbnail Card. It will be the same image for all documents, correct? Maybe we can use a different image background color for each article category (software, hardware, security, etc.).

I like it!


Question: How to fork and build this package locally to edit and use within the metamask-extension

Hello, I'm trying to fork and build this package locally to edit and use as a dependency within the metamask-extension repo. Unfortunately I've failed to do so.
I've tried linking it within the package json  using yarn install <filepath> which successfully creates a link to the local module however when running yarn start on the metamask-extension repo it produces an error: TypeError: Tried to access an environmental variable "_nodeLRUCacheForceNoSymbol" that wasn't declared in builds.yml I did try adding the env like it says however it keeps asking for envs to add to builds.yml which ultimately doesn't work.
I've also tried just putting the package directly inside the metamask-extension repo and change the imports to the filepath of the local package. But this caused many dependency issues.
Is there a better way to go about this? If you have any ideas I'd love to know. Thanks.

Hi @AngusBurton are you able to resolve this?

Hi @Cognacy, no I haven't been able to resolve this.

Have you tried listing your fork as a dependency in package.json? https://stackoverflow.com/questions/28728665/how-to-use-private-github-repo-as-npm-dependency


STORM-2549: Fix broken enforcement mechanism for maxUncommittedOffset…

…s in storm-kafka-client spout
Please see https://issues.apache.org/jira/browse/STORM-2549 and maybe also the comments on https://issues.apache.org/jira/browse/STORM-2343
This moves enforcement of maxUncommittedOffsets to the partition level. I don't believe there's a way to enforce the single limit globally without hitting a bunch of issues with it either being too strict regarding retries, or not being strict enough and allowing an unbounded number of new tuples along with the retries.

+1 for the changes.

@srdo I am reviewing this. Thanks.

@srdo I am doing one last review of this patch.

Sorry, had to rebase to fix conflicts.

Rebased again to fix conflicts

Squashed

Hi @srdo , I happened to see errors like this in my production after applied your PR:
2017-09-06 13:12:01.707 o.a.s.util Thread-15-spout-executor[103 103] [ERROR] Async loop died!
java.lang.IllegalStateException: No current assignment for partition kafka_bd_trigger_action-22
        at org.apache.kafka.clients.consumer.internals.SubscriptionState.assignedState(SubscriptionState.java:231) ~[stormjar.jar:?]
        at org.apache.kafka.clients.consumer.internals.SubscriptionState.resume(SubscriptionState.java:350) ~[stormjar.jar:?]
        at org.apache.kafka.clients.consumer.KafkaConsumer.resume(KafkaConsumer.java:1332) ~[stormjar.jar:?]
        at org.apache.storm.kafka.spout.KafkaSpout.pollKafkaBroker(KafkaSpout.java:323) ~[stormjar.jar:?]
        at org.apache.storm.kafka.spout.KafkaSpout.nextTuple(KafkaSpout.java:234) ~[stormjar.jar:?]
        at org.apache.storm.daemon.executor$fn__9708$fn__9723$fn__9754.invoke(executor.clj:646) ~[storm-core-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
        at org.apache.storm.util$async_loop$fn__553.invoke(util.clj:484) [storm-core-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
        at clojure.lang.AFn.run(AFn.java:22) [clojure-1.7.0.jar:?]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
2017-09-06 13:12:01.709 o.a.s.d.executor Thread-15-spout-executor[103 103] [ERROR]
java.lang.IllegalStateException: No current assignment for partition kafka_bd_trigger_action-22
        at org.apache.kafka.clients.consumer.internals.SubscriptionState.assignedState(SubscriptionState.java:231) ~[stormjar.jar:?]
        at org.apache.kafka.clients.consumer.internals.SubscriptionState.resume(SubscriptionState.java:350) ~[stormjar.jar:?]
        at org.apache.kafka.clients.consumer.KafkaConsumer.resume(KafkaConsumer.java:1332) ~[stormjar.jar:?]
        at org.apache.storm.kafka.spout.KafkaSpout.pollKafkaBroker(KafkaSpout.java:323) ~[stormjar.jar:?]

I think the issue might happen because it could be possible partition reassignment takes effect at kafkaConsumer.poll(), and as a result the pausedPartitions is different from the actual assignment. How do you think?

@WolfeeTJ Thanks for trying this out. I think you are right that it's because partition reassignment is happening at a bad time. I think we should move reassignment to be the first thing in nextTuple instead. Give me a little bit to fix this and maybe add a test.
I've been thinking a bit about partition revocation and shuffling, and we might want to add some warnings to the manual partition assignment API as well. There are a few cases I can think of where shuffling partitions can cause bugs. The Trident spout doesn't support partition shuffling because Trident doesn't expect partitions to move from task to task, as far as I can tell. When we implement at-most-once support for this spout there's also a requirement that partitions don't move between tasks, since otherwise it is possible that tuples are emitted more than once.

@WolfeeTJ I think it's fixed now, please take a look at the new commit.

Hi @srdo , I'm not sure, so please correct me if I were wrong:
So far as I could see, I'm using the default NamedSubscription. And I checked the code, it's doing NOOP in org.apache.storm.kafka.spout.Subscription#refreshAssignment().
My understanding is, actual reassignment happens when using
final ConsumerRecords<K, V> consumerRecords = kafkaConsumer.poll(kafkaSpoutConfig.getPollTimeoutMs());
in org.apache.storm.kafka.spout.KafkaSpout#pollKafkaBroker().
So we might need to get the fresh partition assignment for kafkaConsumer.pause(pausedPartitions); somehow after a kafkaConsumer.poll(), because the previous pollablePartitions list might has been changed after kafkaConsumer.poll() ?

@WolfeeTJ We are dropping support for NamedSubscription and PatternSubscription in 2.0.0 and deprecating them in 1.2.0 because Kafka's mechanism for automatically assigning partitions to consumers is a bad fit for Storm. See https://issues.apache.org/jira/browse/STORM-2542 for details.
From 1.2.0 (1.x-branch) on, the spout will assign partitions using the https://github.com/apache/storm/blob/master/external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/subscription/ManualPartitionSubscription.java class. The default subscription in KafkaSpoutConfig will also change to use this subscription.
Partition assignment happens in refreshPartitions for the ManualPartitionSubscription, and poll won't trigger rebalance anymore, so we shouldn't need to worry about partitions changing when we call poll.

@srdo great, thank you a lot for your info. This helps a lot. In this case I think it should be ok. I'll apply the commit and try it out.
Thanks a lot!

@WolfeeTJ No problem :)
Note that manual partition subscription doesn't work before version 1.1.2 https://issues.apache.org/jira/browse/STORM-2541, so you may want to check out 1.x-branch and apply this PR to it to get it working.

Thank you @srdo for pointing this out :) :+1: Will do.

@HeartSaVioR Thanks for the review.
The 1.x version is here https://github.com/apache/storm/pull/2407. I tried cherry picking to 1.1.x, but there have been a lot of changes in this module since then, and I don't think it's worth the effort to pull back if we're releasing 1.2.0 soon anyway. If someone really needs it I'll pull it back to 1.1.x, but otherwise I'll probably just move this and STORM-2546 to the 1.2.0 epic instead.

@srdo
Unfortunately I feel we couldn't bring Storm 1.1.2, and based on the fact, putting less effort to 1.1.x version line and focusing more on 1.2.0 may make sense to me. I guess it is not that trivial to port back indeed.
Let's revisit when someone asks us to port back. I'll take a look at #2407.


Crash after code received

I think this issue might be affecting this package:
https://github.com/electron/electron/issues/4374
I'm using this package with GitHub GHE OAuth. I have values set for client ID, client secret, redirect URL, token URL, and redirect URI. Currently using Electron 1.3.1

I couldn´t really reproduce but just published version 2.3.1 with the proposed workaround. Could you give it another try?

Works, thanks a bunch


fix(#105): Add ActionSheet support for iPad on OS versions less than 14

Overview
Currently, this library does not work on iPads running iOS 13 or lower. The ActionSheet presentation mode needs additional popover information to be presented on an iPad. This fix provides this support.
Test Plan
Run the example application on an iPad simulator running iOS 13 or lower

@sabymike Published new version with this change as v0.4.1 :tada:


RHEL 7.5 fixes the issue that this works around.

In RHEL 7.5, the strange params workaround causes a separate issue.  I believe it's because they actually fixed the bizarre behavior that was causing you to need the workaround in the first place.  The "new" issue only occurs on a first puppet run, and seems fine after.  Unfortunately I don't have a copy of the error in front of me but -- reverting back to 2.0.4 fixed the issue .. but then it caused issues for Ubuntu 16.
So anyway, this adds a simple check for "if we are running 7.5, then do it the old way that used to work".
Now with all that said, there is one caveat I want to make clear and possibly discuss before this is considered for merge.  Basically, this change causes rpcidmapd to be started:
/Stage[main]/Nfs::Client::Service/Service[rpcidmapd]/ensure | ensure changed 'stopped' to 'running'
So if there are tweaks you'd like me to make, maybe removing that part, please let me know and I'll be happy to.

Is there going to be a new release this fix sometime soon? This is causing us issues.