how to jump forward and backward in history？

Very practical tool,  yet how to jump forward and backward in history？
Expect them to be added to shortcut keys.

No way yet 😅 I'm planning on getting a command panel to get started (related to #8). If you have any suggestions for the shortcuts or UI please drop them here!

Supporting the existing shortcuts would be nice, for example I use ALT← for back and ALT→ for forward in other chromium-based browsers.

This feature just landed on the main branch! You can give it a try by downloading the latest binaries using CI builds, or using the next Docker image:
$ docker pull fathyb/carbonyl:next
$ docker run -ti fathyb/carbonyl:next

The ALT← and ALT → shortcuts should work too!

This feature just landed on the main branch! You can give it a try by downloading the latest binaries using CI builds, or using the next Docker image:
$ docker pull fathyb/carbonyl:next
$ docker run -ti fathyb/carbonyl:next

The ALT← and ALT → shortcuts should work too!

The shortcut key does not work, but the symbol in the upper left corner does.


Ignore everything in root directory for WordPress.gitignore

Reasons for making this change:
I think that first line was missing in the .gitignore, am I wrong?
Links to documentation supporting these rule changes:
This first line in the current repository points to this ignoring everything in the root directory:
https://github.com/github/gitignore/blob/master/WordPress.gitignore#L1
Thanks

I think that first line was missing

.gitignore files don’t use /* PHP-style comments */

am I wrong?

Probably. Your change uses valid .gitignore syntax, but not in the way I imagine you intended:

the leading / refers to the directory separator, and
the * matches everything except /,

so adding this .gitignore would permit Git to ignore any file in the same directory whose name was a single character, but wouldn’t

Ignore everything in root directory for WordPress.gitignore

@LucasLarson Thanks for the feedback!
I was not trying to add a php style comment, but trying to

Ignore everything in root directory for WordPress.gitignore

This configuration (with the modification I added) works great on my windows machine with gitbash, but maybe my machine is a edge-case.
Without it, all the files of WordPress code are commited to the repo. With it, only the plugin / theme files are commited (which is what I was looking for in my case)

I don’t think this is production-ready yet.
.gitignore is already built to ignore or skip everything in a directory unless otherwise specified. Adding the /* line to an existing .gitignore does nothing to your repo unless you also run git rm -rf --cached: “The files/folder in your version control will not just delete themselves just because you added them to the .gitignore” and if they’re “already in the repository” then “you have to remove them” yourself (via Ahmad on StackOverflow).
If the user will already have to git rm -rf --cached, then there is no need to add this line, because those entries will already be skipped unless they’re in this .gitignore’s other rules.

.gitignore is already built to ignore or skip everything in a directory unless otherwise specified.

I'm on Git 2.23.0, and using this .gitignore without a /* at the beginning, in a freshly downloaded WordPress folder, after git init and before any commits, VS Code tells me there are 1,694 pending changes:

After adding /* (and !.gitignore), VS Code tells me there are 29 pending changes:

Also, gitignore's documentation says that with the !, "any matching file excluded by a previous pattern will become included again", and their example at the end for excluding everything except a specific directory includes a /* at the top:

Example to exclude everything except a specific directory foo/bar (note the /* - without the slash, the wildcard would also exclude everything within foo/bar):
$ cat .gitignore
# exclude everything except directory foo/bar
/*
!/foo
/foo/*
!/foo/bar

Closing in favor of https://github.com/github/gitignore/pull/3378

In favor of #3295, that is. 👌🏼


onAppIntegrity after releasing playstore

when process debug, the application run normal and only shows onDebug check
but when released to playstore in testmode always get onAppIntegrity check
sha256 convert to base64 n package name already right value
how to solve it

Hello @naufalmms ,
could you send us your watcherMail and package name at<EMAIL_ADDRESS>We will look at the data.
Kind regards,
Talsec team

@msikyna same for me also. When i uploaded my app for internal testing and installed it through playstore, it caught with appintegrity check. Need to comment on that check before uploading it in playstore. Any solution for this?

Hello @ribuemsyne  ,
could you send us your watcherMail and package name at<EMAIL_ADDRESS>as well? We will look at the data.
Kind regards,
Talsec team

I also have the same issue when upload to testflight app store connect and internal testing playstore console.
How to resolve this?

Hi @msikyna
Thanks for the response.
I already send the requested info using email<EMAIL_ADDRESS>Please have a look.
Thanks again for your support


Next - Theme Generator

Linked Issue
https://github.com/skeletonlabs/skeleton/issues/1142
Description
Scaffolds the new SvelteKit-based theme generator website.

/sites/themes.skeleton.dev

Changsets
Instructions: Changesets automate our changelog. If you modify files in /packages, run pnpm changeset in the root of the monorepo, follow the prompts, then commit the markdown file. Changes that add features should be minor while chores and bugfixes should be patch. Please prefix the changeset message with feat:, bugfix: or chore:.
Checklist
Please read and apply all contribution requirements.

[ ] This PR targets the dev branch (NEVER master)
[ ] Documentation reflects all relevant changes
[ ] Branch is prefixed with: docs/, feat/, chore/, bugfix/
[ ] Ensure Svelte and Typescript linting is current - run pnpm ci:check
[ ] Ensure Prettier linting is current - run pnpm format
[ ] All test cases are passing - run pnpm test
[ ] Includes a changeset (if relevant; see above)

@ryceg FYI, this will be the new theme generator app!

@nick3842 will you help take a look at why this is:

Being picked up by the Vercel CI/CD process (maybe because it defaults to target dev branch?)
Why it's failing - which may be a non-issue once it's picked up on Cloudflare

If we can get this in a working state, then I think this PR is ready to merge. The app doesn't do much, but it stubs out it's position in the monorepo, and should allow us to close: https://github.com/skeletonlabs/skeleton/issues/2352

@ryceg I've requested a review from you. The plan is to merge accept feedback over the next 24 hours from you and any other team members. I'll plan to implement that tomorrow, then current progress will be merged into the Next branch. This will then unblock us to move forward on other initiatives, including:

Implementing our Lightswitch solution for light/dark mode across ALL apps
Implementing a theme switcher in at least the documentation site
Audit and balance color selection for many default Tailwind plugin provided utility classes

These additions will help contributors currently working to build the components be able to quickly preview in both light/dark mode and preview with a number of themes applied.
This does not signal this feature is in anyway complete. Merely that it's ~good enough~ to progress to the next step of things. I'd still love your help in improving the typing, color balance, accessibility features, etc. All of those can be handled in either dedicated PR passes.
If you don't have time to review right now, that's fine. But the door is open for these additional updates at any time.

Not sure if it's a Windows issue, but the select options appear not to be colored correctly when in dark-mode. Light-mode does work

Bug: when seeing a value you can pass any valid color CSS value, ex red. But the seed function is not parsing this to a hex when inserted into the state.

Might be worth updating to modern font stacks to expand the font selection before worrying about any external font referencing.
theme: {
    fontFamily: { // https://github.com/system-fonts/modern-font-stacks
      systemui:     ['system-ui', 'sans-serif'],
      transitional: ['Charter', 'Bitstream Charter', 'Sitka Text', 'Cambria', 'serif'],
      oldstyle:     ['Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', 'P052', 'serif'],
      humanist:     ['Seravek', 'Gill Sans Nova', 'Ubuntu', 'Calibri', 'DejaVu Sans', 'source-sans-pro', 'sans-serif'],
      geohumanist:  ['Avenir', 'Montserrat', 'Corbel', 'URW Gothic', 'source-sans-pro', 'sans-serif'],
      classhuman:   ['Optima', 'Candara', 'Noto Sans', 'source-sans-pro', 'sans-serif'],
      neogrote:     ['Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif'],
      monoslab:     ['Nimbus Mono PS', 'Courier New', 'monospace'],
      monocode:     ['ui-monospace', 'Cascadia Code', 'Source Code Pro', 'Menlo', 'Consolas', 'DejaVu Sans Mono', 'monospace'],
      industrial:   ['Bahnschrift', 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', 'sans-serif-condensed', 'sans-serif'],
      roundsans:    ['ui-rounded', 'Hiragino Maru Gothic ProN', 'Quicksand', 'Comfortaa', 'Manjari', 'Arial Rounded MT', 'Arial Rounded MT Bold', 'Calibri', 'source-sans-pro', 'sans-serif'],
      slabserif:    ['Rockwell', 'Rockwell Nova', 'Roboto Slab', 'DejaVu Serif', 'Sitka Small', 'serif'],
      antique:      ['Superclarendon', 'Bookman Old Style', 'URW Bookman', 'URW Bookman L', 'Georgia Pro', 'Georgia', 'serif'],
      didone:       ['Didot', 'Bodoni MT', 'Noto Serif Display', 'URW Palladio L', 'P052', 'Sylfaen', 'serif'],
      handwritten:  ['Segoe Print', 'Bradley Hand', 'Chilanka', 'TSCu_Comic', 'casual', 'cursive'],
    },
    ```

From https://modernfontstacks.com/ courtesy of https://www.youtube.com/watch?v=VOd6jfAImV4

The App handles beautifully. I'm missing one well loved feature from the previous iteration though (or I just missed it):
The randomize all button so you can rapid fire try multiple color combinations.
It's not particularly useful so I could understand not bringing it back, but it's always been fun.

@niktek that's beautiful, exactly what I was looking for as a stopgap until more custom font settings are possible.
@Sarenor drop that comment over in the issue thread - we'll circle back to it in the next pass. It should very much be possible, along with the potential for randomizing OTHER sections, or maybe even ALL settings.


Jupyter badge in README wrong URL

The Jupyter badge displayed at the top of the readme is not working. URL returns an error.

Works perfectly now. Sorry for the noise.


Add pagespeed extension

Description
A simple Raycast extension that monitors PageSpeed insights for websites based on page-speed.dev.
Screencast
https://github.com/raycast/extensions/assets/1022166/153d9d68-440a-4970-894c-02ed18db5c09
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi @pernielsentikaer, thanks a lot for the feedback.
I can make the change really easily, if you think that's the best way to go I'll can do so, just let me know.

If you want to keep it in one view, then you could do something like how this extension is doing it by using a List.EmptyView to add it
What do you think of that (or the previous mentioned)

Are you still around @vorillaz

I keep getting this error in the latest update, do you have an idea why?

Hello @pernielsentikaer for some reason the API is failing to parse the results for this specific domain,
https://page-speed.dev/dr.dk
I am sure @danielroe can give you more insights, but the extension is properly fetching the results, it also works with short but valid domains.

The issue is that there is a redirect in place from dr.dk -> www.dr.dk. We have an open PR to handle redirects so this should be resolved shortly.

Are you waiting on me?

Hey @danielroe I can't quickly patch the redirect issue if needed, pretty easy fix.
@pernielsentikaer Any feedback will be highly appreciated, regarding the redirects I think it's irrelevant to the current PR.

We can merge this into the store, but I hope the redirect issue could be resolved since it's a blocker for me using it and I think users will be confused too

Updated and now deployed - page-speed will now follow redirects. Note that there may be other issues with dr.dk and Page Speed Inishgts in general.

Here is the improved text:
Do we need any changes to the extension as well?
I tried the following list, but all of them failed:

dr.dk
https://dr.dk
https://www.dr.dk

The problem is that there is no valid API data from Google for that particular domain. It's not an issue with page-speed.dev.
See https://pagespeed.web.dev/analysis?url=https://www.dr.dk.

🙏

Are you still around @vorillaz

Hey @pernielsentikaer I’ve missed your comment due to flooding GitHub notifications. I am out of office so coming back to the changes ASAP in the upcoming weeks, it’s worth implementing the changes and finally merging everything

🙏

Did you look into this yet @vorillaz

😢

@vorillaz do you still want to look into this?

🙏

Hey @danielroe just made all the changes, apologies for the inconvience.


Tokeniser issue

It seems like the Tokenizer is broken since the following code snippet:
train_text = ['hello world', 'foo bar']
tokenizer = Tokenizer()
train_tokens = tokenizer.fit_transform(train_text)
results in:
[[2, 2], [2, 2]]

By default the tokenizer represents all words with frequency less than 10 as UNKOWN tokens which are 2. You can change this by setting min_df=1.
If you use tokenizer.inverse_transform([[2, 2], [2, 2]]) it will return ["UNK UNK", "UNK UNK"].

Makes perfect sense, thank you very much for your help and time :)


Can't turn the lights on

Hi!
I cannot make this work. I have a esp8266 (data pin: D4) connected to ws2812b lightstrip with 32 leds.
I could connect to it thought the phone app but cannot turn the lights on.
The only instruction I didn't do is this because I didn't find this one: Replace avm/pgmspace.h with pgmspace.h
what I set up:
wifi creditials,
#define NUM_PIXELS_PER_LIGHT 32
#define pixelCount 32
#define pixelPin D4
set #define PRINT_BUFFER_LEN 4096 in aJSON.h
and this one shows as many device in the app as I write into it:
#define MAX_LIGHT_HANDLERS 2
What have I missed?

Are you sure the electrical connections to the LED strip are correct, can you use it using other sketches using the same LED library (e.g., its example sketches)?

Connections are ok, i have homebridge neostrip and mclightning projects running on other esp8266s. Which LED library are you talking about? I havent found any example sketches yet.
Possibly im just one step away and its the most frustrating 😃
One more question. pixelCounts number / num_pixels_per_light number should be <= than max_light_handlers. Or this should be set to equal?

I have tried the LED library's examples and it worked great with both GPIO2 and GPIO3 connection/method. And your project is also looks like working on my device because the strip goes white-red-green (on all the 50 leds) and the pairing process in the app also looks good but after that I can't control the added lightstrips.
Could you write down your config? How should I set NUM_PIXELS_PER_LIGHT, pixelCount,MAX_LIGHT_HANDLERS? Have I missed something? And where should I replace avm/pgmspace.h with pgmspace.h ?
Thank you for your help.

Same issue here. I get the white / red / green scans indicating I've got wifi connection. My Android Philips Hue app establishes a connection, but is not switching the strip on. Serial monitor indicates communication is happening. Did you get it working tamasharasztosi?

Sadly i didnt manage to make it work so i gave it up..

@tamasharasztosi can you control your LED strip with the example files that come with the https://github.com/Makuna/NeoPixelBus library?

Last time it worked with UART method I think, but now I can make it work at all. Im using Wemos D1 mini board which is based on ESP-12, the data pin is connected to D4 (GPIO2).

I have the same issue. I have it working with NeoPixelBus from this
example:
https://www.reddit.com/r/arduino/comments/4yb6cl/wemos_d1_mini_internet_status_led/d6mmc7b/.
My LED ring has 12 pixels and I have modified the code in that post to use
12 pixels and they all light up.
With regard to the ESP8266HueEmulator, when I plug my Wemos D1 mini in the
USB controller I see first a red led running (2-3 times), then green led
running (1 time) and finally 1 led of 12 leds stay on.
Met vriendelijke groeten, Warm regards,
Jan-Dirk Schuitemaker
On 16 October 2017 at 17:06, tamasharasztosi<EMAIL_ADDRESS>wrote:

Last time it worked with UART method I think, but now I can make it work
at all. Im using Wemos D1 mini board which is based on ESP-12, the data pin
is connected to D4 (GPIO2).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/probonopd/ESP8266HueEmulator/issues/82#issuecomment-336916318,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPpBZcLbIY2B6l0F3DKPUWdoC53TOHqks5ss3DugaJpZM4PcA2x
.

I have to use bitbang method to get anything On 16 Oct 2017 16:17, jdschuitemaker<EMAIL_ADDRESS>wrote:I have the same issue. I have it working with NeoPixelBus from this
example:
https://www.reddit.com/r/arduino/comments/4yb6cl/wemos_d1_mini_internet_status_led/d6mmc7b/.
My LED ring has 12 pixels and I have modified the code in that post to use
12 pixels and they all light up.
With regard to the ESP8266HueEmulator, when I plug my Wemos D1 mini in the
USB controller I see first a red led running (2-3 times), then green led
running (1 time) and finally 1 led of 12 leds stay on.
Met vriendelijke groeten, Warm regards,
Jan-Dirk Schuitemaker
On 16 October 2017 at 17:06, tamasharasztosi<EMAIL_ADDRESS>wrote:

Last time it worked with UART method I think, but now I can make it work
at all. Im using Wemos D1 mini board which is based on ESP-12, the data pin
is connected to D4 (GPIO2).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/probonopd/ESP8266HueEmulator/issues/82#issuecomment-336916318,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPpBZcLbIY2B6l0F3DKPUWdoC53TOHqks5ss3DugaJpZM4PcA2x
.

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

Could someone who has working lightstrips share their line these settings:
NeoPixelBus<NeoGrbFeature, NeoEsp8266UartWs2813Method> strip(pixelCount, D4);
#define NUM_PIXELS_PER_LIGHT 41
#define pixelCount 11
#define pixelPin D4
#define MAX_LIGHT_HANDLERS 2
and how should I replace avm/pgmspace.h with pgmspace.h on a Mac?

Ok guys, finally it started working with bitbang method! (only with that)
My setup:
#define MAX_LIGHT_HANDLERS 2  //in LightService.h
#define NUM_PIXELS_PER_LIGHT 21
#define pixelCount 41
#define pixelPin 2  //(D4 on wemos d1 mini)
NeoPixelBus<NeoGrbFeature, NeoEsp8266BitBang800KbpsMethod> strip(MAX_LIGHT_HANDLERS * NUM_PIXELS_PER_LIGHT, pixelPin);

Bitbang solved it for me too! Thank you @tamasharasztosi .
Now how to get the iOS version see the same setup that I created with the Android version of the app.

@tamasharasztosi want to send a pull request?


Problem with creating queues _skipped and _error

Hi guys,
I have a problem that we have one distributed system that uses MassTransit and RabbitMq to communicate and for some reason we have one queue that on  Staging environment has queue _error and _skipped but on Development environment the queues are missing but we do have exchanges with those names.
Also the exchanges (especially _skipped one) has some non-zero Message rate, despite the fact that it wasn't used for some time now.
When I creared _Skipped queue and created binding between the queue and exchange - the queue got like 2k messages and the exchanges stopped.
What might be the reason the _skipped and _error queues are not created?
Also on one client environment there are like 4k messages being redelivered even though there is no incoming traffic and there are also _skipped and _error exchanges there but no queues.
I assume that when we create the queues - the redelivery will finally stop.
But what might be the reason thos queues hasn't been created?
We thought one safety measure to preventwould be to set TTL for every message but I'm not sure if it's easy to set globally for whole rabbitMQ and would it stop infinite redelivery
Regards,
Lukasz

Have you looked at the logs produced by your application to see what errors are causing redelivery?
Are you restricting the service permissions related to RabbitMQ?

Were you able to resolve your environmental issue? It doesn't seem like a MassTransit issue, so I'm going to close this shortly if I don't see an update.

Most of the errors where redelivered because previously there was a published message that was consumed by consumers on this queue, but we modified the flow and we didn't want the message to be consumed on this queue.
Despite the fact that there were no consumers and the message being published - the message still ended up on the queue.
I assume it was because there were still exchanges that connected the message type to the queue. Is my assumption correct?
And still, we have same permissions on dev and staging and still only one of the environments has skipped queue.  What might be the reason for that?

Messages in the skipped queue are usually caused by:

Leftover exchange bindings from previous consumers that were removed from a receive endpoint.
Message types that do not match, often because the namespace doesn't match

As to why it is only in one environment, it's likely that environment is the only one with the old exchange bindings.

Well, ok, but on both env withouth skipped there where issues:

on one the exchange seemed to have some messages and when I created and bound the queue - the exchange just emptied and stayed that way
on one othe client's environments one we had thousands of redelivery and it messed up rabbit server

So might be there another reason why skipped queue should be created but wasnt?

Without details, it's really hard to understand your issues, but they seem related to changes on your end. Also, exchanges don't hold messages, they only route them, queues are the only thing that can have messages in them with RabbitMQ.
If you're able delete and recreate the virtual host from scratch in those problem environments, that may help resolve your routing issues.

Well, those are client environments and we can't really do it.
We asked clients to recreate those queues, but they checked today and those queues were missing. They checked and sent us policy they found:

Is it normal that those queues expires? If so then shouldn't they be created automatically every time there are some messages to be skipped?

From what I understand the problem might come from our approach to listening.
As I understand when I consume published message the good practice is to create dedicated queue and so far we've been using existing queues, for example one per microservice.
Would the problem of handling deleted consumers disappear if we have dedicated queues for each?

You should usually have a queue per consumer, so yeah. As for deleted consumers, you'll need to delete those queues once those consumers are removed. But at least you'll be able to obviously point out the no longer used queues.
Putting all your consumers on a single queue is typically frowned upon, so yeah, I would move away from that.


discv5: wip

not ready for review. sharing work in progress

https://github.com/ethereum/ethereum-org-website/issues/8310


First pass at enabling structs, arrays, and maps for more parts of the plan

This covers a lot of the high level SparkPlan parts.  There are follow on issues for joins and several other parts where I ran into a few issues. I will keep working on expressions and other operators, but those are more likely to be follow on issues instead of fixes that can be done right away because most of the time we already support about as much as cudf allows us to.

build

build


Accessibility: Make ZeroClipboard work for Enter key presses

Currently, ZeroClipboard attaches itself to glued elements on mouseover and injects into the user's clipboard on click.  This is awesome.
However, everything I've read about the Flash clipboard API suggests that we can also trigger the injection on keyboard events, e.g. the user pressing the Enter key.  Not necessarily a high priority feature but it is something I'd like us to attempt to get working at some point in the future....
Note: We may not succeed. :confused:
Requirements:

Glued HTML elements now need a "focus" handler, which would then focus on the Flash object instead.

Here's another focusing approach, using SWFObject.js and jQuery that claims to work cross-browser as well.
Here's a "SWFFocus" technique described by the W3C accessibility group... should maybe start with that.

The ActionScript would need a new KEY_DOWN event handler listening for the Enter key.

Possible points of failure:

Some sources speculate that this is only possible if we change wmode to opaque. I believe doing so would make the ZC object a visible layer, which would be unacceptable.
Stealing focus to the Flash object will probably cause issues if someone was trying to tab/arrow past the element that ZC is glued to (rather than trying to tab/arrow to it to use ZC). Possible workarounds:

Again, first refer to the "SWFFocus" technique described by the W3C accessibility group.
This may be possible to avoid if the ActionScript KEY_DOWN event handler we add captures tab/arrow and defers it back to JS somehow (including focusing back on the element it came from last).
May be able to add a JS event handler to the Flash object/embed element that swaps it in/out of the z-index/layer when needed

This would be a nice feature

I thought github was using ZeroClipboard, and Github clone URL copy is working not only on click but Enter as well. Does it mean something has been done here despite the issue still being open? Or is that a Github "only" feature?

Ok, looks like this is working on Chrome only.


support pods

Codecov Report

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

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   95.08%   95.08%
=======================================
  Files           3        3
  Lines         122      122
=======================================
  Hits          116      116
  Misses          6        6

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 738570c...39572d3. Read the comment docs.


Cache yarn data on Travis

Per https://docs.travis-ci.com/user/caching/, should help build times a
bit.

          1 Warning

:warning:
Please provide a linked tracker story for this PR in the description

          1 Message

:book:
Nice, more deletions than insertions :red_circle:

  Generated by :no_entry_sign: danger

Going to self-review and merge.


How to use fairness indicators for SEER models?

❓ How to use fairness indicators for SEER models?
Hi,
First of all, thank you for providing vissl, it's a great tool.
I would like to know what changes have to be made to use the metrics provided in the fairness indicator project for the SEER RegNet models (for eg. ; https://github.com/facebookresearch/vissl/blob/main/projects/fairness_indicators/label_associations_indicator1.md).
Inputs: I have created a sample set from the casual conversations dataset and added that to the vissl system as mentioned.
Outputs: I expect the fairness metrics as an output as mentioned in the sample documentation.
I am using google colab, with a single GPU.
Fairness indicators: https://github.com/facebookresearch/vissl/tree/main/projects/fairness_indicators
SEER models: https://github.com/facebookresearch/vissl/tree/main/projects/SEER#pretrained-models-weights

Hi @Prabharoop,
Thanks a lot for your interest in VISSL and our fairness indicators :)
I am not the most qualified for this part, Priya should be able to best explain it.
@prigoyal Could you please take a look at this issue?
Thank you,
Quentin


On own installation, “Unable to request certificate from Lets Encrypt” error during deploy

Getting this error when I try to deploy to my own Staticland server.
No immediately obvious errors / more information being logged. I feel this is an issue in my configuration settings for the Let’s Encrypt-related settings.
I’m not entirely sure where these should point to/their purpose:
    letsEncryptDir: '/home/staticland/letsencrypt',
    letsEncryptCommand: '/home/staticland/certbot-auto',
    letsEncryptChallengeDir: '/home/staticland/api/html',

Given that the account I’m using on my server is ubuntu, I currently have:
    letsEncryptDir: '/home/ubuntu/letsencrypt',
    letsEncryptCommand: '/home/ubuntu/certbot-auto',
    letsEncryptChallengeDir: '/home/ubuntu/staticland-api/html',

(1) Is an empty directory I made, assuming that Staticland will use it to store Let‘s Encrypt related files. Not sure if this should be the Let’s Encrypt folder that Let’s Encrypt was installed in (i.e., /etc/letsencrypt) – will try that next.
(2) I have certbot-auto at that path. This should be correct.
(3) This points to the html folder in my staticland-api installation. Assuming this, too, is correct.

I just looked up the certbot-wrapper project and noticed the note: “We recommend Ubuntu 16.10.”
Since the installation instructions for staticland-api state Ubuntu 14.04, that’s what I’d gone with. I don’t know whether this is the issue. Going to update the server to Ubuntu 16.10…
(Messed up server update… nuked it… starting from scratch. Will report back progress on 16.10.)

OK, narrowed it down. It’s a bug in ssl.js, where the vhost template has the /.well-known challenge location for Let’s Encrypt is hardcoded:
  location @error {
    root /home/staticland/staticland-api/html;
  }

  location ~ /.well-known {
    root /home/ubuntu/staticland-api/html;
  }
}`
}

(The error route is also hardcoded but that’s a separate issue.)

More hard-coded static.land domain references in site.js:
Site.prototype.firstDeploy = function siteDeploy (opts, callback) {
  if (!opts) return callback(new Error('options object with domain and owners properties required'))
  if (!opts.domain) return callback(new Error('domain property required'))
  if (!opts.owners) return callback(new Error('owners property required'))
  var self = this

  var isSubdomain = opts.domain.indexOf('static.land') > -1
  var matchesReserved = this.reserved.indexOf(opts.domain.split('.static.land')[0]) > -1

  if (isSubdomain && matchesReserved) {
    return callback(new Error('subdomain ' + opts.domain + ' not available'))
  }

OK, so what’s failing is the nginx reload. Can recreate form the command-line:
ubuntu@staticland:~/staticland.ind.ie$ sudo nginx -s reload
nginx: [emerg] BIO_new_file("/home/ubuntu/letsencrypt/config/live/cyborgrights.eu/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/home/ubuntu/letsencrypt/config/live/cyborgrights.eu/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)

Right, I think I’ve narrowed it down:
in cert.js:
 if (config.requestCerts === false) return callback()
is false (and thus returning callback()) even in production mode (NODE_ENV="production" is exported) and even though the config.js has:
  production: {
    secret: process.env.STATICLAND_SECRET,
    requestCerts: true,
    debug: true
  }

OK, so export NODE_ENV=production isn’t picked up by forever if you start the app with forever start index.js
However, if you specify it in the command itself, it is:
NODE_ENV=production forever start index.js

(This should be updated in the docs. TODO: issue/PR)
Now I have another issue: getting a bad request back from Let’s Encrypt. Well, I guess it’s progress… :)

Also, you need to specify an email field in config.js for your email address to be used for the Let’s Encrypt cert.

OK, so the correct certbot command (cmd) isn’t being passed to the certbot-wrapper. It defaults to "certbot" (which doesn’t exist, so the exec is failing) instead of passing the actual path (e.g.) "/home/ubuntu/certbot-auto"
Now Let’s Encrypt is being run but that’s returning error… another step forward…

OK, the Let’s Encrypt issue is from my not updating the IP address in the A-record when I recreated the server from scratch this morning on 16.10.

OK, now the Let’s Encrypt cert is being created correctly but the site hasn’t been uploaded.

Hey @aral! Thanks for opening this and for all the notes as you've been debugging.
You might be the first person other than me to set up an instance, so I apologize if things are a little messy.
I'm busy right now but I'll look at this (and your PR and issues on the cli repo) in depth later today.

Hey Seth, no worries + thanks so much for sharing Staticland – it’s going to be awesome once I have it running… I’m almost there… now stuck trying to understand how to debug why the sites contents (sent over via the tarstream) are not being written out to /sites/html// – I can see the stream being created on the client and unpackTarball() is completing but the unpackTarball callback is not getting called in the deploy function in /lib/handlers/sites.js (I should probably get some sleep and look into it tomorrow – any tips you might have gladly accepted) :)
PS. I know how it is – I tried to make the third-party install of Better (https://source.ind.ie/better) as simple as possible with automated scripts, etc., and still the first person to try to install the whole thing had quite a few issues. It’s just how it goes… hopefully we can streamline it based on this experience + the notes here, etc. Thanks again for making this and sharing it – very, very cool :)

That's strange. Are the files being created in /sites/html/<sitename>/?
My first guess is a permissions issue, but that might not be it.

Nope, no files in that directory. Will continue trying to debug it today and report back when I have something.

Could this be related to https://github.com/request/request/issues/2499 ?

The tar-fs tarstream object created on the client –– can you see anything wrong with this @sethvincent  (does another jump out at you by chance @mafintosh?
Pack {
  _readableState:
   ReadableState {
     objectMode: false,
     highWaterMark: 16384,
     buffer: BufferList { head: null, tail: null, length: 0 },
     length: 0,
     pipes: null,
     pipesCount: 0,
     flowing: null,
     ended: false,
     endEmitted: false,
     reading: false,
     sync: true,
     needReadable: false,
     emittedReadable: false,
     readableListening: false,
     resumeScheduled: false,
     defaultEncoding: 'utf8',
     ranOut: false,
     awaitDrain: 0,
     readingMore: false,
     decoder: null,
     encoding: null },
  readable: true,
  domain: null,
  _events: {},
  _eventsCount: 0,
  _maxListeners: undefined,
  _drain: [Function: noop],
  _finalized: false,
  _finalizing: false,
  _destroyed: false,
  _stream: null }

I'm realizing there should probably be req.on('error', cb) and tarstream.on('error', cb) listeners in https://github.com/staticland/staticland-api/blob/master/lib/unpack-tarball.js. There might be an error we're not catching?

Oddly, tarstream.on('finish'…) is being called properly (and on('error'…) isn't getting called there or on req – just tried adding the handlers to both).
May I cry now? :)

I also added a map function to the see if the files were being untarred and it’s not getting called. (Although the mapStream version on the client is – so I know the files are being tarred.)
      var tarstream = tar.extract(htmlpath, {
        dmode: octal(555),
        fmode: octal(444),
        map: function(header){
          console.log("UNTARRING: >>>> " + path.basename(header.name));
          return header
        }
      })

Possibly related? https://github.com/nodejs/node/issues/2156

Just an update: I’ve failed to resolve the hanging stream issue. Unfortunately do not have time to devote to debugging this further at the moment. Going to look for another solution in the interim.

Right, giving it another shot – @sethvincent, can you please let me know what version of Node is running on your server?

Well, ~42 days of off-and-on trying later I finally got it working.
How?
The culprit was – drumroll – npm and semver. Something in one of the packages was messing things up silently.
The fix: I removed all minor version matches in package.json (^), replacing them with the actually specified versions. And voila, it works.
Yay!
PS. Yes, you can take this as a public service announcement to use a deterministic package manager like yarn instead, even if it is from Facebook (spit).

@aral Yikes - this sounds like a nasty bug! But thanks for sharing your findings :-)
FYI, with node 8.x and npm 5.x, you should have deterministic packaging, similar to what yarn provides (and nvm is a great tool for managing node versions). For example, with npm 5.x, running npm install should produce a package-lock.json file, which is similar to the yarn.lock file. If that works for you, it would be great if you can commit that file to help future users from encountering this bug :-)
More info on npm 5:
http://blog.npmjs.org/post/161081169345/v500
http://blog.scottlogic.com/2017/06/06/does-npm5-deprecate-yarn.html
and adding the package-lock.json file:
https://stackoverflow.com/questions/44552348/should-i-commit-yarn-lock-and-package-lock-json-files


Disable a menu item

Hello,
The plugin is great. I need to make a parent category menu item disabled.
Is there a way to do that ?
Thanks

I also needed this, seems like the library has some default behavior for the dropdown items and there is no way to overwrite it. Yet I was able to achieve something in a counterintuitive way, by wrapping the items in a Pressable, like so:
`renderItem={(item) => (<Pressable
disabled={item.isEnabled}
style={[
styles.dropdownItemStyle,
!item.isEnabled && styles.dropdownItemDisabled,
]}

 <Text>{item.text}</Text>

)`
Not sure I fully understand why it works, as you can notice, the disable/enable logic is reversed, my theory is that the Pressable captures all the press events, this way preventing the default behavior of the item press.

@DanBizu I tried to approaches with TouchableOpacity and Pressable and both of them work, but can not understand one thing:
it workds when  disabled={item.isEnabled}
seems, right way should be disabled={item.disabled}
Could you please tell me if you understood why it works this way?


WebGL support?

Hi! I was trying to use your lib in WebGL project, but I've got an error:
uncaught exception: abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking") at jsStackTrace
So, how difficult to make this lib works on WebGL platform? I can try to do it myself but I need some help with this. Can you give me some advice on how I can do it. Or the best way if you can do lib with WebGL support. Thank you.

Hi @maxplayrix .
Currently this project doesn't support WebGL.(only iOS, Android, Windows, Linux )
I didn't image to support that.
From your Issue, I'm interesting to support WebGL. I will try to find a way to support WebGL in this library.
But I don't have experience to making library for WebGL.  So It take a time or long time.
If you found some useful link to making library for WebGL. Please comment to this issue.
or I will be happy, If you are fork this repo and contribute.

https://blogs.unity3d.com/2017/01/19/low-level-plugins-in-unity-webgl/
https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html

https://developer.mozilla.org/en-US/docs/WebAssembly/existing_C_to_wasm

Hi! Thank you for the answer. I also tried to investigate this topic and found the same links as you. And me too don't have this kind of experience, but I will try to do to something in the future. Cause anyway it will be needed in the project I'm working on.

https://webmproject.github.io/libwebp-demo/webp_wasm/index.html
C# - js - wasm

Hello,
Do you have any progress on this issue?

Was any progress made on this?

Was any progress made on this?

with b0ece32190734abe4660465eb66fb4355e72b8fa , f749713de0ae56065037c85728de5ffff7949aa4, Now It can be built for WebGL


Move export QUARTO_PYTHON to env_setup

@Hofer-Julian Not sure how you used to test this. Was something broken with the normal python that was used by Quarto?

@Hofer-Julian Not sure how you used to test this. Was something broken with the normal python that was used by Quarto?

It detected the wrong Python on windows. Unfortunately quarto uses pylauncher on Windows instead of simply using the first python in Path. Feel free to experiment with removing it, maybe it's fixed nowadays.

This also means that you only have to set the env var on windows. You can leave UNIX alone

@Hofer-Julian How do I see that it 'detects the wrong python'? What was going wrong?

@Hofer-Julian How do I see that it 'detects the wrong python'? What was going wrong?

Windows adds a dummy python on every machine, which does nothing but redirecting you to the windows apps store. On my machine, it detected that.

So you're saying it doesn't detect python at all and therefore doesn't start the preview.

I've tried it again, and without QUARTO_PYTHON it still breaks for me:
  File "C:\checkouts\github.com\Deltares\Ribasim\.pixi\env\Library\share\quarto\jupyter\jupyter.py", line 21,
in <module>
    from notebook import notebook_execute, RestartKernel
  File "C:\checkouts\github.com\Deltares\Ribasim\.pixi\env\Library\share\quarto\jupyter\notebook.py", line 17,
 in <module>
    import nbformat
ModuleNotFoundError: No module named 'nbformat'
Python 3 installation:
  Version: 3.10.10 (Conda)
  Path: C:/Users/hofer_jn/AppData/Local/mambaforge/python.exe
  Jupyter: (None)

@Hofer-Julian Can you tell me what is "it"? What are you running?

@Hofer-Julian Can you tell me what is "it"? What are you running?

Fair enough. I ran pixi run quarto-render. During the run it picked up the wrong Python.

@Hofer-Julian This doesn't happen on my machine, because I don't have another python installed. Could you give it another go? I have changed it so that QUARTO_PYTHON is set during the activation of pixi.


Feature/fixhistory

Had all the fields populating but trying to clean up my code and created an infinite loop.


No validation of email for user API

What version of UAA are you running?
4.11.0 (or from dev)
How are you deploying the UAA?
I am deploying the UAA

locally only using gradlew
using a bosh release I downloaded from bosh.io
using cf-deployment
as part of a commercial Cloud Foundry distribution

What did you do?

create a new user, e.g. uaac user add testuser --emails i_like_snail_mail
select a new pwd of your choice
uaac user get testuser

result
.....
emails:
value: i_like_snail_mail
primary: false

.....
What did you expect to see? What goal are you trying to achieve with the UAA?
An exception or error (meaningful or generic)
What did you see instead?
Any input is accepted for Email
Please include UAA logs if available.
na.

We reproduced this.


TLS handshake with client certificate

When I using a c++ quic29 server, using this aio python client to connect to the server. Unfortunately, the server was close by the client during connection establishment because of unexpected_message. I inspect the client python code, the exception was arised in tls.py. Client recieved CERTIFICATE_REQUEST message when client's TLS state was in CLIENT_EXPECT_CERTIFICATE_REQUEST_OR_CERTIFICATE . I notice there is a FIXME annotation, it means that is a known issue. I wonder when you decide to fix it?

By disable server send CERTIFICATE_REQUEST , I work around this

By disable server send CERTIFICATE_REQUEST , I work around this

Right, we don't support client certificates for the moment. I did not get round to implementing this for lack of a server against which to test.
Do you have a public server I can test against, and a client certificate I can use?

Some C++ implementations of QUIC have cert validation features. For example Facebook's QUIC implementation (mvfst) can be configured to require a client cert -- https://github.com/facebookincubator/mvfst/tree/main/quic/server
Server cert and verify requirements can be configured in FizzServerContext

https://github.com/facebookincubator/mvfst/blob/707cbf8d7d44f289345490ed19271eb64fa03032/quic/common/test/TestUtils.cpp
See ClientAuthMode in FizzServerContext -- https://github.com/facebookincubator/fizz/blob/3c0cb003df2e71639b22eb1cefd171fa75c1a067/fizz/server/FizzServerContext.h

If no public quic server is available, maybe give that a try?

Hi, do you plan to provide / set up a public server I can use or should we close this issue?


Asp.Net project with Build platform x86

I have a asp.net project that reference a native dll via Nuget package. This native DLL is only build for x86. I've changed my project.json to set buildOptions
"platform": "x86"
But when I build this asp.net project via visual studio, it creates "bin\Debug\net46\win7-x64" as oppose to "win7-x86". If I run the resulting ".exe" file it would crash.
I've tried to use "dotnet build -r win7-x86" and it would create the right folder "bin\Debug\net46\win7-x86"  and then I can run the ".exe" file.
Still cannot test the application in x86 mode.

Could you file this bug in the CLI repo - https://github.com/dotnet/cli?


No Debug Symbols when using per_file_copt option

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): RHEL 8 (Linux 4.18.0-147)
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): source
TensorFlow version: 2.2.0
Python version: 3.7
Installed using virtualenv? pip? conda?:virtualenv
Bazel version (if compiling from source): 2.0.0
GCC/Compiler version (if compiling from source): 8.3.1
CUDA/cuDNN version: Not used
GPU model and memory: Not used

I've been building 2.2.0 from source (targets:build_pip_package and libtensorflow_cc.so) while  selectively including debug flags, using the per_file_copt option (per suggestion in issue #27495).
My build succeeds, but the debug symbols aren't there for either libtensorflow_cc.so.2.2.0 or the libtensorflow_framework.so.2.2.0.
Below are some of the options I've tried. If I examine the .so files, with 'readelf -S libtensorflow_cc.so.2.2.0' they indicate that the debug symbols exist, but not so for libtensorflow_framework.so.2.2.0. TotalView debugger and gdb don't appear to find any of the debug symbols
Provide the exact sequence of commands / steps that you executed before running into the problem
I always build the build_pip_package target first. After it's complete I provide the exact same command (below), changing the build target to libtensorflow_cc.so
Variation 1 (This doesn't uses the per_file_copt option, but demonstrates that the --strip=never compile option gives an error when put after the '-c' flags):
bazel build -c dbg --strip=never //tensorflow/tools/pip_package:build_pip_package
Variation 2: (moving the --strip=never flag in front of the -c options)
bazel build --strip=never -c opt --config=opt --per_file_copt=//tensorflow/c/..cc,//tensorflow/cc/./..cc,//tensorflow/core/./.*.cc@-g //tensorflow/tools/pip_package:build_pip_package
Variation 3 (try to prevent stripping by passing -O0 to the per_file_copt)
bazel build -c opt --config=opt --per_file_copt=//tensorflow/c/..cc,//tensorflow/cc/./..cc,//tensorflow/core/./.*.cc@-g,O0  //tensorflow/tools/pip_package:build_pip_package
Please advise as to what I'm doing wrong and how to make sure that the debug symbols (which I believe are built), don't get stripped during linking.
Thanks
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Need to verify something in second build target

Had a typo in target name, should have commented inside of closed issue

I myself never sucessfully build TF with debug symbols.
@hlopko could you comment on the options used above to build with bazel with debug symbols?

This is a very difficult problem for me. I'm trying to advocate that my company migrate their software to TF 2.X, from 1.X. We use the C/C++ API for inference and Python API for model training.
We've observed threading contention and other issues when calling TF C++ API from within our product. So, I'd really like to be able to do some debugging. If I compile the entire program with debug symbols, the .so file is > 4G and I can't even link to it. So unfortunately that's not an option.
I need debug symbols for a handful of files. Thanks

You could take a look at https://github.com/tensorflow/tensorflow/issues/27495#issuecomment-481101932

Thanks. I did look at that, and followed it very closely. It's cross-referenced in my original post.
I had the same issues as that user. I also got desperate and decided to compile with the  -g flag set for all files.  After compiling, the linker was trying to link for hours so I gave up. In addition to the fact that the .so file was > 15G, compiling a full debug build seems unhelpful for me. I can't link it.
Since my original post I've tried a few additional experiments. For example, I found out that the option --strip=never needs to passed to the bazel build command before an options that have a '-c' or '-copt' flag. But, unfortunately this didn't help.
In issue #27495, the individual who submitted the ticket made the following statement:

with this new command, gdb can read symbols from libtensorflow.so, but still unable to read from libtensorflow_framework.so

I'm not sure how this was determined, but if I run
readelf -S bazel-bin/tensorflow/libtensorflow.so.2.2.0,
I see lines matching the pattern .debug_***
If I run
readelf -S bazel-bin/libtensorflow_framework.so.2.2.0
I don't see any lines that match the pattern .debug_***
This seems to confirm the findings in #27495.
So maybe the fact that I build the libtensorflow.so target after the build_pip_package and libtensorflow_cc.so target is causing my debug symbols to be stripped when libtensorflow.so is linked?
What is built by the target libtensorflow.so that isn't built using the target build_pip_package and libtensorflow_cc.so ?
It seems that when I build libtensorflow.so after building build_pip_package and libtensorflow_cc.so, all that is done is some linking.
I have used bazel query "deps(***)" to find the dependencies of these libraries. Is there anything in more human readable format that describes what the different targets build, or do I need to read through all of the BUILD files?
Thanks

Hi all, I apologize for not investigating deeper (I'm on vacation and in the process of moving to a different city), so I'll only throw some breadcrumbs that might help.
To tell Bazel you want to build in the debug mode use --compilation_mode dbg or -c dbg.
If you only want to include debug symbols for some files, use --per_file_copt.
And for stripping, I'm not sure which C++ toolchain are you using, but the one built into Bazel will strip debug info during linking depending on the value of the --strip. Put never there to be sure.

hlopko,
Thanks for replying, especially since you are on vacation.
I think from you post, I can see what I may have done incorrectly.
Originally I put the '--strip=never' after -c dbg, but got an error because of the ordering.
I thought that by doing
bazel build --strip=never -c opt --config=opt --per_file_copt=//tensorflow/c/..cc,//tensorflow/cc/./..cc,//tensorflow/core/./.*.cc@-g //tensorflow/tools/pip_package:build_pip_package
That the '-g' flag would be applied to all files matching my regex
But seems I should have done
bazel build --strip=never -c dbg --per_file_copt=//tensorflow/c/..cc,//tensorflow/cc/./..cc,//tensorflow/core/./.*.cc //tensorflow/tools/pip_package:build_pip_package
I'll give this a try. I'm using bazel 2.0.0, that I built from source. My gcc is 8.3.1.

OK
This doesn't work.
bazel build -c dbg --strip=never --per_file_copt=//tensorflow/c/.*\.cc,//tensorflow/cc/saved_model/.*\.cc,//tensorflow/core/framework/.*\.cc,//tensorflow/cc/framework/.*\.cc //tensorflow/tools/pip_package:build_pip_package
Using the command above for either the target build_pip_package or libtensorflow_cc.so , results in the following error:
external/aws-checksums/source/intel/crc32c_sse42_asm.c: In function 's_crc32c_sse42_clmul_256': external/aws-checksums/source/intel/crc32c_sse42_asm.c:61:5: error: 'asm' operand has impossible constraints      asm volatile("enter_256_%=:"      ^~~ Target //tensorflow/tools/pip_package:build_pip_package failed to build
This is apparently issue #37498
I've combed over the internet for months trying to find a way to build with debug symbols for select files. I also posted a question on stack overflow months ago.  I haven't come across a solid answer yet.
It seems that @gunan's response is fairly common. Many people, Google employees included,  haven't built TF with debug symbols.
I've only been developing software in industry for 10 years, but I write code every day that has mistakes. I can't imagine trying to debug my code without a debugger. In fact, the fancier the debugger, the more I like it. For a while my debugger of choice has been TotalView.
I know you guys are all top developers, but how do you debug code if you don't build it with debug symbols? This isn't meant to be condescending, I'm really just curious :) .
Is the only way forward to use the work around suggested in that ticket?

I would suggest you to use -c opt with the per file copt option.

Can you please elaborate on how this is different from what I tried and listed as 'Variation 2' and 'Variation 3' in the original ticket submission?

//tensorflow/c/..cc,//tensorflow/cc/./..cc,//tensorflow/core/./.*.cc
is not a valid path filter.
See https://docs.bazel.build/versions/master/user-manual.html#flag--per_file_copt for an example.
PS: you could try //tensorflow/c/.*\.cc,//tensorflow/cc/.*\.cc,//tensorflow/core/.*\.cc@-g,-O0

I'm sorry @byronyi,
Somehow the path filter I posted in my original post got corrupted when I pasted it.
I did have the . properly escaped in my bazel build command. This filter path I used is below, I got this from the  bazel user manual. I should have the proper level of recursion.
--per_file_copt=//tensorflow/c/.*\.cc,//tensorflow/cc/.*/.*\.cc,//tensorflow/core/.*/.*\.cc
I'll try your path filter, but I'd think that at least //tensorflow/c/.*\.cc should have produced debug symbols for the .cc files in the C API. Thanks

@byronyi ,
I used your filter path. The debugger definitely loaded some debug symbols, but there was just nothing but addresses when I stepped through my source.
I do have a habit of changing my home directory temporarily when I do bazel build, to keep from filling up my home directory with its .cache (which is a far smaller size then the drive where I put the installs). I know there is an option to set the cache directory elsewhere, but I've never had luck with this.

It should work if you just use copt_per_file, without --strip=-never, using readElf -S to look for debug_info

@makn87,
Can you take a look at the above comment by @tanzhenyu and let us know if it helps? Thanks!


Question: How to add schema generator for recursive type?

Hello,
I have a recursive DU as part of my model:
type Node =
  | Leaf of int
  | Node of Node * Node

Currently the Schema Generator gets caught in an endless loop when asked to generate a Json Schema.
I would offer a PR however I'm not sure how to add this feature.
Thanks

That's an excellent question. I haven't attempted this. @Tarmil, do you have any suggestions?

Looks like the way to handle recursive types in JSON schemas is using $ref. I'm not familiar with how to do this with NJsonSchema though.


Fix warnings about SO types in Chado load

What's causing these?:
5'UTR SPAC8E11.03c.1:5'UTR:1 from gene: SPAC8E11.03c: no SO type for mRNA - skipping
CDS SPBP22H7.09c.1 from gene: SPBP22H7.09c: no SO type for mRNA - skipping
CDS SPBP22H7.09c.1 from gene: SPBP22H7.09c: no SO type for mRNA - skipping
mRNA SPMTR.04.1: no SO type for source - skipping
mRNA SPMIT.11.1: no SO type for source - skipping
Original comment by: kimrutherford

this is related, its the polycistronic trancript covering SPAC8E11.03c above (it probably has 2 IDs as it covers 2 genes...)
FT mRNA 3382284..3385575
FT /note="polycistronic mRNA from AB008545"
FT /gene="rad24"
FT /gene="SPAC8E11.02c"

Out of date?


faster-whisper 0.10 pypi package has been overriten with version 1.0.0

Problem
Yesterday (2024/2/21) faster-whisper 0.10 package was been overwritten with version 1.0.0
See: https://pypi.org/project/faster-whisper/0.10.0/#files

It seems that a new version was been pushed to https://pypi.org with the 1.0.0 code but with version 0.1.10
This has happened because https://github.com/SYSTRAN/faster-whisper/blob/master/faster_whisper/version.py has not been updated with a new version
Proposed solution
Fix 0.10 version
Version 0.10 needs to build from the tag and push it to pypi
Release a new 1.0.1 version
Do a change like https://github.com/SYSTRAN/faster-whisper/pull/696 and publish a 1.0.1 version with the right version in the version.py file

Workarround is to install through the archive link on GitHub: pip install --force-reinstall faster-whisper @ https://github.com/SYSTRAN/faster-whisper/archive/refs/tags/0.10.0.tar.gz

I was wondering what was going on...lol  Thanks for being on top if this!

Workarround is to install through the archive link on GitHub: pip install --force-reinstall faster-whisper @ https://github.com/SYSTRAN/faster-whisper/archive/refs/tags/0.10.0.tar.gz

That command didn't work for me but this one did...
pip install --force-reinstall https://github.com/SYSTRAN/faster-whisper/archive/refs/tags/0.10.0.tar.gz

Thanks so much, errors happen!


Repo / Test Cleanup

This PR makes a couple cleanup changes:

Updates Dependencies
Move all the example bots into a src/examples directory. This makes it easier to use medplum-demo-bots as a "Template Repository". When a customer clones demo-bots, this will keep the examples cleanly separated from the bots used for their project
Disables failing tests. The current tests are failing due to either:

Changes needed in MockClient
Dependencies on 3rd party API keys

@codyebberson: Was thinking that bots shipped by Medplum Inc. go into src/examples/. When a customer clones the repo, files created by the customer go into src/.
Just makes it easier for our customers to keep track of Bots that we have written for them, vs. ones they wrote themselves


Windows complaining about it beeing a bank trojan

Just wanted to mention it, as it's annoying
But why a... bank trojan? I would understand why it think it could be some other malware but not a bank trojan...?

So python-exe files like this usually triggers false-positives. On the other hand, you can easilly decompile it to literal source code and compare it with the code on GitHub. So yeah, if it's really a virus, there should be a reddit post about it already...You can add it to the exclusions to prevent it from popping up again tho

Okay,
firstly thanks for the advice to add it to the exclusions, dont use much Windows expect from gaming
secondly, I meant to ask why its specificly a bank trojan? I thought maybe there is some reason behind it...
Still thanks tho!

I don't know xD. I my Windows Defender personally don't detect it as a threat at all. Maybe you can send me the screenshot of it warning u

I would have... but I downloaded it now and no error...
I dont know what Windows changed his mind, but I guess somthing did...
In my Browser history I can see that the trojan Code was: Win32/Phonzy.B!ml
Maybe this helps a bit more...
If I get the error again, I will post a screenshot... until then I think this is done XD

Good luck! Rest assured that there won't be any trojan in any of my executables ever


Questionable htmlDoc.dump() and LibXML::Document.serialize-html implementations

Just looking at this in more detail.

Is calling libxml function htmlDocContentDumpFormatOutput
The output encoding is being chosen based on htmlGetMetaEncoding, but the bindings are assuming utf-8
It then calls htmlDocContentDumpFormatOutput which temporarily sets the document type to htmlDocContentDumpFormatOutput, then calls htmlNodeDumpFormatOutput

So its both setting the encoding and mutating the raw type of the document.

I suspect we're better of to call htmlNodeDumpFormatOutput directly.
Calling serialize-html on a non-html document should either be protected (with the document type temporarily changed), or deprecated.

Fixed in LibXML 0.94 release. This serializes HTML via the more modern xmlSaveTree() with the XML_SAVE_XHTML flag set.


TabBar overflow behaviour

Use case
There are few alternatives for handling longer tabbars. Currently only isScrollable: true is the only solution for handling any length.
Proposal
I propose two additional ways to handle this. Either having the TabBar wrap to the next line on overflow or having a button with a drop-down menu for all tabs that do not fit on the far right of the TabBar.
Either this could be implemented with Boolean properties similar to isScrollable only allowing one of them to be true or with a new property: tabBarOverflowBehaviour of type TabBarOverflowBehaviour.
This seems to me to be small enough of a change to be considered being added to native flutter.

I see there's an open issue addressing this at https://github.com/flutter/flutter/issues/128148. Closing this issue as a duplicate, so please follow up on it for further updates. Thank you!


Testing package is being included due to lib/testsetup.go

Can you fix this?

Same issue here. +1

https://github.com/mattbaird/elastigo/pull/237 fixed it.


feat: use both project and user API token and populate default org id and projectid

#265

So just tested this out, it's nearly 0 delay while waiting for it get your project id and org on the current main branch, and about 3-4 seconds on this new version. If we're ok with that, we are good to go.


Option to persist config in chrome.storage.sync

Hi,
I'm developing a chrome extension that stores configs in chrome.storage.sync. It would be good to have an option to store the tracking-permitted config in chrome.storage.sync.
Thanks

Interesting idea. We don't currently persist anything currently in sync storage, including the user id.

@stevogotchi any plans to support sync storage?

It would be nice feature to have.


nodeb is not working over executor for all methods

e.g os.ls

now works, please verify

works now with new process module


embedder: locking and refcount support in FlutterDesktopMessenger

Import locking and reference counting support for FlutterDesktopMessenger from upstream (#345)

Leaving as draft until I've had a chance to review more thoroughly.


framerange missmatch

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior:
When i crate publisheble clip and publish it will go with wrong frame range: one frame less than nedeed so further publishing for example from nuke isnt working because of a out of frame range error. I mean that AYON reads frame range corectely, but publishes one frame shorter version
Expected Behavior:
Correct frame range
Version
1.0.0
What platform you are running on?
Windows
Steps To Reproduce:

take any video file (my test was mov apple prores 25fps)
2)put it inside timeline
3)trin it to 10 frames
create publisheble shot with 10 frames handles
publish a shot('s)
6)see published shot is 29 frames long but in AYON datadasae it is 30

Are there any labels you wish to add?

[X] I have added the relevant labels to the bug report.

Relevant log output:
No response
Additional context:
Hiero 15
Resolve has the same error (https://github.com/ynput/ayon-resolve/issues/8)

i just discovered that problem is only with prores files and i think in ffmpeg trimming proccess because with mp4 h264 source in works fine

Hi @timsergeeff, thank you for reporting this issue. We are currently redesigning the Hiero editorial publishing, and as part of this process, we reviewed the OTIO frame range calculations. Here are some updates in ayon-core that may fix the issue. Please update your server to the latest version of ayon-core and test the workflow again.
Fixes by @robin-ynput:

Issue 895
Issue 912

Additionally, there is an open PR for migrating Hiero into the current publisher: #14.
If you have a chance to test it and provide feedback, that would be fantastic! 💯


Allow csv_path to be a file-like object as well

Sometimes you don't have the CSV on disk but in memory. In instances like that it would be useful to be able to provide a file like object instead of first writing the csv to disk and then provide the path.

Do you see this as distinct from #25?

I had a look at that, and it looked like the person was suggesting a signature of CopyMapping in the following way CopyMapping(model=Entry, data=huge_list_of_unsaved_entries). Because of that signature suggestion I got unsure whether the author wanted something different than I did.
I wouldn't change the signature at all, instead I'd keep csv_path but check whether that argument is in fact a file-like object. If it is, I'd handle it as such.
If that sounds like an acceptable way of doing things, I'll submit something in the next few days.

You're right, though if I understand it right the solution proposed lower down in the thread ultimately uses a StringIO object, which I presume is something similar to what you're thinking.
If that's right, your file object approach might provide a crucial building block to tackle that more complex "list of objects" challenge. If you have an idea, I say go for it!


Simplified VotesOnlyOnce property on the concrete side

Managed to simplify the VotesOnlyOnce property on the concrete side. This property states that for any two votes v and v', cast by an honest α, in the message pool of a state st, if v and v' have equal rounds and epochs, then they vote for the same block.
In order to achieve that we defined a new lemma called newMsg⊎msgSent4 that for every message in the message pool of a post-state returns evidence that either is a new valid message for the peer taking the step or that some message with the same signature was sent before. Given that, to prove the VotesOnlyOnce property for the StepPeerState we just need to split the proof in 4 possibilities (as before):

v and v' were already present in the msgPool before -> use induction hypothesis
v and v' are both in the output produced by the PeerStep under scrutiny -> use ImplObligation₂
v was present before, but v' is new -> use ImplObligation₁
v' was present before, but v is new -> use ImplObligation₁

P.S.  As you anticipated @lisandrasilva, the merge of #21 caused some conflicts, so please merge and resolve.  Thanks.

Thank you @lisandrasilva, merging now.


Is it possible to copy files to mounted directory via code?

I want to copy files to the mounted directory via code for example by using move_uploaded_file function of php?

This is not an issue, please close this issue and ask elsewhere (stackoverflow is a good starting point).
And the answer is yes, this is the main purpose of the project. The mount point is like any other directory.


refactor(utils): categorize functions into separate files

Motivation
Clearer organization
Have you read the Contributing Guidelines on pull requests?
Yes

thanks 👍


NVM comparison?

Hi, I was wondering, what are the benefits from using nvmx instead of NVM?
And how do you handle npm packages installed with older version of node when you install a new one?

@J3m5 The initial motivation is, I need a nvm works at Windows. nvmx is only for macOS and Linux
In addition, nvmx also support nightly, rc, v8-canary version of Node.js, and Microsoft's node-chakaracore

And how do you handle npm packages installed with older version of node when you install a new one?

npm packages are seperated, as nvm does. We'll provide a command migrate to migrate all packages of one version to another, soon

Seems the name "nvmx" is already used by this project
And it may be too similar to "nvm".
Renamed to "nn" to avoid confusion.


Color notations not working with sass indented syntax files

Extension Version: 0.4.5
VS Code Version: 1.14.1
OS Version: MacOS Sierra
Node.js Version (result of command node -v): 6.9.5
NPM Version (result of command npm -v): 3.10.10

Steps to Reproduce:

Open a sass file with colors
Observe no color notation.
Open a scss file with colors
Observe color notation working.

Log (All lines):
(Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab)
Nothing logged

Hi @raldred, thank you for the report.
Sorry, What does the "color notation" mean?
Do you mean that e.g. hsl(1, 2, 3) is not selected when you do Pick Color command?

Apologies I should have included a screenshot.
Picking a color works fine with hex, rgb and hsl.
It's just there is autocomplete popup & no small indicator box with the current color in.
SCSS (works fine):

SASS (nothing):

This is "Color Picker" extension that  shows a dialog box, and "Convert Color".
It seems that you said about "syntax highlight" of VS Code editor.
You should report that to Microsoft, not here.

Ohh really, I totally assumed the color indicator inline came with this extension sorry for wasting your time.

😄

@raldred I've got the same issue. Did you report the issue to Microsoft ? and do you know wich ticket # ?
@anseki  First cool extnsion and sorry for clogging your issue tracker, dude...thnx

@ScorpioCoding yes I did, they don't and won't be supporting the indent sass syntax.

Hi @raldred,
BTW,
Was the https://github.com/anseki/vscode-color/issues/66 solved?

@raldred, @anseki    I got an email yesterday from the guys at VSCode that they are not responsable for the issue due to the fact that SASS (not scss) is not supported by them. Due to the fact that SASS an external language is. And they advise me to relay the isssue to them.
OK, but hoe do I relay the issue to,? Who is them?
This is what I call passing the buck around..!!!

Hi @ScorpioCoding,
Who sent the email to you?
At least, you should ask that question to one who sent the email (not here) because we don't know that email and its message.
Also, I guess that the SASS is (native) supported by future version of VS Code because many requests about SASS were assigned.
https://github.com/Microsoft/vscode/labels/css-less-sass

@anseki : my bad sorry dude it wasn't an email sorry, me mixing up twee situations...
What I meant to say there is an issue at microsoft where they comment that they don't support SASS
https://github.com/Microsoft/vscode/issues/36724

I see. 😄
However, @aeschli said that it is supported by extensions.
Also, this extension (Color Picker) already supports SASS.

In order to get color decorators in SASS file, SASS extensions need to provide a colorDecorator.
Please file an issue against the SASS extension you use.

Hi @aeschli, thank you for the advice.
@ScorpioCoding, in any case, this is a repository of Color Picker extension, you should report an issue about VS Code or an extension to those repositories, not here.

@aeschli Sass extension, ok now you've lost me.
I just did a sass -v and got Sass 3.5.5 (Bleeding Edge)
How do I determine which Sass extension to file an issue against.?

@aeschli
Ok this is my sass situation on my Win10 pro

Installed Ruby -> gem install Sass
In VSCode I've got 2 extensionsthat handle Sass

Sass from Robin Bently
Sass Fromatter from Sasa Jovanovic Spuki
So to whom do I send the issue to ??
Or Am I better off installing different extensions ?

@ScorpioCoding That would be Sass from Robin Bently then: https://github.com/robinbentley/vscode-sass-indented/issues

@aeschli : OK : Got it thanks, but last couple of questions...
And yes I do now this is the wrong place for this but...

Am I better of looking for a different extension if yes any suggestions?
Why doesn't Microsoft support the real Sass language and only Sassy css?

@ScorpioCoding Sorry, I'm not a Sass user myself and therefore don't have any tips on which the best extension.
Our team has a limited number of developer and we need to focus on the languages we use ourselves. We're very happy that people from the community help us, and also want to encourage external extensions. Let's help them with good feedback!


Unable to use a cron expression for "1st Sunday Of Every Month @ 4am"

... this would be the matching cron expression:
0 0 4 ? * 1#1
yet I get an error when I try to use this. Is there any way to get this particular recurrence pattern to work?

/cc @fabiocav @mathewc

You should be able to get this recurrence to work with this expression: 0 0 4 1-7 * 0


New Accessibility Service depending on new native node module

replaces https://github.com/Microsoft/vscode/pull/65529
fixes https://github.com/Microsoft/vscode/issues/54349

Maybe one thing to test is the performance impact of accessing the windows registry on startup. @alexandrudima are we already doing this on Windows for keybindings? Do we have an idea about the timing?

@sbatten would be great if you could also try to use registerSingleton and move the service out of workbench + have it as lazy service.

@bpasero Yeah, we are going into node-native-keymap on startup and I think that ends up calling that. AFAIK the Windows registry is very very fast, but perhaps the native call overhead is noticeable, I haven't checked...


Don't hit API again when Images already included with Listing

Right now, if you do listing = shop.listings(:active, includes: 'Images').first, listing.images won't use the image data it just got from the previous request - it'll hit the API again needlessly.
This fixes that :)

Looks like a good improvement to me!

@mattrayner sweet! any chance for a v0.3.2 version bump?

We released 0.3.2 to rubygems today -- sorry it took a while!


No type for path

Versions

gatsby-source-prismic: 5.2.7
gatsby-plugin-prismic-previews: 5.2.8
node: 14.19.3

Reproduction
We are running into a problem where if we've generated our static site including the custom type definitions, the preview will break if a custom type is updated after that update without rebuilding the website.
This breaks our workflow quite a lot because when developers are building or adjusting slices, the content marketeers still need to be able to preview the website. Forcing content marketeers to wait everytime a developer add or edits a custom type is not ideal.
Steps to reproduce

Build website with customTypes
Preview works just fin
Update a custom type without rebuilding the website
Previews are broken until website is rebuild

What is expected?
If new properties in custom types are added, the preview should function as expected, the new values can be ignored for that specific build since there i  no code using these new properties.
What is actually happening?
Prismic is hard enforcing all types to be defined in a scheme.

This issue is stale and may be fixed in a recent version. Please update to the latest version and try again. If the issue continues to be a problem, please open a new issue. Thank you!
See the documentation for guides on updating to the latest versions: Gatsby + Prismic Migration Guides


Cannot type the SteamGridDB ID, it keeps returning to the previous screen

When trying to manually type a 7-digit SteamGridDB ID, BoilR returns to the previous screen after each character. It's very annoying and time-consuming.
How to reproduce

Go to Images.
Click on any game.
Click on Click here if the images are for a wrong game.
Click on the SteamGridDB ID text input box, to focus it.
Start typing using the keyboard.

Expected behavior
I expected to be able to type it without any disruption.
Actual behavior
After each typed character, the UI goes back to the overview of all the images of a game/shortcut. Thus, I have to type one character, move the mouse down to click on the button, move the mouse up to click on the field, type the next character… and repeat it seven times until I type the full ID.
My System

Steam Deck
BoilR 1.9.4, installed via Flathub/Discover

Additional context
Why would I want to manually type the ID instead of copy-pasting it? Because it's convenient to open the website on a desktop computer with a large screen, and then manually type the ID onto the small Steam Deck screen.

To add to this, if you do manage to input the ID, it doesn't seem to want to (or be able to) search.


Accept string values as method parameters

Could the index functions accept an enum or a string argument?
E.g. WindowsZoneName | string, Territory | string and IanaName | string.
As it stands the readme examples would throw errors.
We currently have to perform this cast
// windowsName: string;
const windowsZone = windowsName as WindowsZoneName;
const timezone = findOneIana(windowsZone);

Alternatively could the index also export the enums?
Current having to do this import which isn't too nice.
import { findOneIana } from 'windows-iana';
import { WindowsZoneName } from 'windows-iana/dist/enums';

:tada: This issue has been resolved in version 4.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Thanks @rubenillodo


test: move bundle size scripts to its own dir

Issue or need
In order to generate the E2E apps programatically, let's reduce the differences between them.
One of them is they all have bundle size related scripts & source-map-explorer dependency
So in order to make the change easy, then making the "easy" change, moving all bundle size thingies into their own directory.

Proposed changes
Move all bundle size analysis tooling into its own directory
Also, to ease the change & maintenance of incoming generated E2E apps:

Remove build:source-maps run script in each E2E app. We can apply that flag manually.
Remove cache-clean run script in each E2E app. We can run that manually.
Remove most of a* IDE run configs. We have to keep them in sync with existing E2E apps.

Quick reminders

🤝 I will follow Code of Conduct
✅ No existing pull request already does almost same changes
👁 Contributing docs are something I've taken a look at
📝 Commit messages convention has been followed
💬 TSDoc comments have been added or updated indicating API visibility if API surface has changed.
🧪 Tests have been added if needed. For instance, if adding new features or fixing a bug. Or removed if removing features.
⚙ API Report has been updated if API surface is altered.

#499  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite


Fix transparent view allign

Description
Fixes #1329 , number 9, fixes transparent view visibility
Tests performed
Manual test API level 19
Screenshots showing what changed
Before:

After:

Thanks @neslihanturan !

Ups, forgot to rebase it to release branch @misaochan :/


Area of Frustum of Cone

There is currently a method called areaOfFrustum that lives in /lib/areaOfFrustum.js.
It is incomplete and needs to be fixed!

Function return the area of frustum of cone given upper and lower radius and the height of cone.
Acceptance Criteria:

Running yarn test <methodName> results in tests passing.
You have written a skeleton method for someone else to work on.
You have written tests surrounding your skeleton method.
Running yarn lint does not print any errors to the console!
Optional: write one or two more tests surrounding the method you are solving to account for potential edge cases.

Please include the skeleton of a new method + an accompanying test for someone else to work on at the time of creating a pull request! A pull request will most likely be denied if it does not contain a skeleton method for someone else to work on! For more information, please read the Contributing Guide.
Thank you so much for your contribution!

Assuming #774 gets merged first


Use CentOS Stream for rpm lima yaml

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #18
Special notes for your reviewer:
Follow-up from:

#33

OS changes from:
https://github.com/lima-vm/lima/blob/master/examples/centos-stream-9.yaml
Does this PR introduce a user-facing change?
None

/lgtm


add caching, addresses https://github.com/PyBites-Open-Source/search/i…

…ssues/11

Next up is https://github.com/PyBites-Open-Source/search/issues/13 -- really want this one!


Import sort ordering fixes

Misc fixes for our tox -e py34-syntax tests.

@cmaloney any idea why these ordering issues didn't trigger a code-quality failure before getting merged into master?

So a couple things that are happening here:

need to update isort because some fo these are known third party
https://github.com/dcos/dcos/blob/master/.isort.cfg
known_third_party: azure, retrying, passlib

Need to update tox.ini to have isort search these folders
https://github.com/dcos/dcos/blob/master/tox.ini#L21

@cmaloney thanks, will investigate further.

@lingmann https://github.com/dcos/dcos/pull/643 should help a lot here / radically change what needs to happen in this PR.
Everything in master currently passes (And is always included by default now). If you see more issues we can open a new PR.


Roosterteeth.com ad filter

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a site-specific feature
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Example URLs
https://roosterteeth.com/watch/death-battle-season-10-antman
Provide a description that is worded well enough to be understood
Some Roosterteeth videos, for example Death Battle season 10, embed ads both at the beginning and in the middle, which I'd like to remove.
Analysis of the HLS M3U files show that the ads are groups of segments, separated from the main video (and each other) by #EXT-X-DISCONTINUITY tags.
The existing option --hls-split-discontinuity doesn't work well here. While the ads are removed, so is the first half of the video.
I've added a filter of sorts in downloader/hls.py, enabled by a new option --roosterteeth-ad-filter, that removes these ads on the assumption that each is shorter than 10% of the whole video. My fork is here: https://github.com/Masken3/yt-dlp/tree/roosterteeth_ad_filter
The output below shows a successful run with this option.
I've opened this issue because I'm new to yt-dlp development and would like the maintainers' input on the matter before I open a pull request.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[x] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
> python -m yt_dlp --no-check-certificate -vU --roosterteeth-ad-filter https://roosterteeth.com/watch/death-battle-season-10-antman
[debug] Command-line config: ['--no-check-certificate', '-vU', '--roosterteeth-ad-filter', 'https://roosterteeth.com/watch/death-battle-season-10-antman']
[debug] Encodings: locale cp65001, fs utf-8, pref cp65001, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: da85e4757
[debug] Python 3.9.6 (CPython AMD64 64bit) - Windows-10-10.0.17763-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2022-02-14-git-59c647bcf3-essentials_build-www.gyan.dev (setts), ffprobe 2022-02-14-git-59c647bcf3-essentials_build-www.gyan.dev
[debug] Optional libraries: certifi-2021.05.30, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[RoosterTeeth] Extracting URL: https://roosterteeth.com/watch/death-battle-season-10-antman
[RoosterTeeth] death-battle-season-10-antman: Downloading video JSON metadata
[RoosterTeeth] death-battle-season-10-antman: Downloading m3u8 information
[RoosterTeeth] death-battle-season-10-antman: Downloading episode JSON metadata
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 50934: Downloading 1 format(s): hls-4606+hls-audio-3-en__Main_
[debug] Invoking hlsnative downloader on "https://ssaimanifest.prod.boltdns.net/us-east-1/playback/once/v1/hls/v4/clear/6203312018001/ddc307e2-0354-47b3-861c-073c2c03cae5/dc628e2a-f1ab-49ff-8f65-700740a06609/28be398c-fdbe-40c4-904a-2e6f0e063ff5/default_video4000_5_1920x1080/media.m3u8?bc_token=NjRiODVmZDVfMTUyNTgxN2RjMTY0Y2UzMjJkNzZmZTA5ZTRmODgzMTgxYTE2OWYwOGI2OTU3YjE1MzQ1YjExOTk0NzJjZjU3YQ%3D%3D"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 123
[download] Destination: Ant-Man VS Atom (Marvel VS DC) [50934].fhls-4606.mp4
[debug] File locking is not supported. Proceeding without locking
[download] 100% of  554.69MiB in 00:03:05 at 2.99MiB/s
[debug] Invoking hlsnative downloader on "https://ssaimanifest.prod.boltdns.net/us-east-1/playback/once/v1/hls/v4/clear/6203312018001/ddc307e2-0354-47b3-861c-073c2c03cae5/dc628e2a-f1ab-49ff-8f65-700740a06609/28be398c-fdbe-40c4-904a-2e6f0e063ff5/4b45bfd7-2729-4aea-b477-f60642c9fd73/media.m3u8?bc_token=NjRiODVmZDVfMTBiNTUzNGNmMTcwNGM3NDM3NDhiOWQzNWJlYTFkYzgyMThkMDI3OGIyMmUxNmQ3YjdkM2IzMDc4NTY0YTJjOA%3D%3D"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 124
[download] Destination: Ant-Man VS Atom (Marvel VS DC) [50934].fhls-audio-3-en__Main_.mp4
[download] 100% of   31.73MiB in 00:02:14 at 242.04KiB/s
[debug] ffmpeg command line: ffprobe -show_streams "file:Ant-Man VS Atom (Marvel VS DC) [50934].fhls-audio-3-en__Main_.mp4"
[Merger] Merging formats into "Ant-Man VS Atom (Marvel VS DC) [50934].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Ant-Man VS Atom (Marvel VS DC) [50934].fhls-4606.mp4" -i "file:Ant-Man VS Atom (Marvel VS DC) [50934].fhls-audio-3-en__Main_.mp4" -c copy -map "0:v:0" -map "1:a:0" "-bsf:a:0" aac_adtstoasc -movflags "+faststart" "file:Ant-Man VS Atom (Marvel VS DC) [50934].temp.mp4"
Deleting original file Ant-Man VS Atom (Marvel VS DC) [50934].fhls-audio-3-en__Main_.mp4 (pass -k to keep)
Deleting original file Ant-Man VS Atom (Marvel VS DC) [50934].fhls-4606.mp4 (pass -k to keep)

This design has a few issues which we need to address:

We will not add a new switch for it. The functionality should be enabled by the extractor.
length < fragments/10 is a very hacky filter. We need better logic
The logic must be in the extractor, not the downloader

Related #6654

The existing option --hls-split-discontinuity doesn't work well here. While the ads are removed, so is the first half of the video.

It splits the sections into separate formats. Check -F, fetch the ones you want, and concat them with ffmpeg.

no ads here, use the firefox  add-on called the stream detector (set it to ffmpeg)
grab the master.m3u8 file & download.


Do not require map in template for "info.json"

Right now an exception is thrown if there is no map for a template when calling info.json of the "old api". This PR removes this constraint.

Thanks!


NO-TICK: Reuse LMDB txn.

LMDB is configured with MAX_TRANSACTIONS = 1 but we tried to create second txn without dropping the first one.

bors merge


Added Partition rules for Sort.

Assigned to @jianqiao.
This PR deals with Sort w/ partitioned inputs.

LGTM. Merging.


Familiarity sections and some quick links

New And Experienced Section
Closes #230. Added sections for new and experienced users under guide usage:
Here's what the section looks like on the website.

Quick Links To Top
Also added quick links to return to top of the page. Using CSS styles, the markdown file can be configured to show different messages depending on if the code is meant to be used as a website or as a printed document. Closes #241.
In this case:

Print: Show "Back To Table of Contents"
Generated: Show "Back To Top"

Example on website:

Example on printed UG:

Also note that the website has no Table of Contents header:

While the printed one does:

This does not fix #236.

@jiahui0309 have fixed the typo, could you help to look again?


Maintaining dingo/blueprint

@from2day @thilanga In Issue 1428 (Call For Maintainers) I offered my help with dingo/blueprint. I'd like to discuss what could be done.
I support the idea of making dingo/blueprint standalone. It could and should of course still be part of dingo/api but all the dingo/blueprint specific code (service provider, artisan command etc) should IMO be extracted to dingo/blueprint. Compatibility with the newest versions of Laravel should always be prioritized and issues should be taken care of (either being solved or closed). There are some interesting open issues that would complete API Blueprint features like adding support for the overview and metadata sections. How do you see dingo/blueprint's place and further development?

si patron

Thanks for the replay.
I totally agree on your idea, that dingo/blueprint should work as a standalone package. I was surprised too at first that commands come from dingo/api only.
I haven't tried yet to separate them and check how deeply coupled they are. But this could be one of the first things to do.
I've tried your laravel-blueprint-docs generator it works nice.
About features:

That overview section I hope we will merge as soon as it tested.
The metadata section is still a new topic for me, but it is a really important one.
What about multiple files rendering or including parts as separate files?

Anything else?
For the start it seems we do share the same vision. And there are clear tasks already.

Some questions (sorry to burst into your chat :) )

Should we start by removing blue print dependency from dingo/api
what do you think about OpenAPI? It turned to a  mature 3.0 version and ecosystem looks much richer

@catalinux OpenApi is something I was always interested in. Can you create a seperate issue and label as discussion.
We can talk about it there

With your support, I will work on a pull request that pulls over dingo/blueprint specific code from dingo/api (and make it work in Laravel 5.5).

Just to add, blueprint code actually got run on every request. This doesn't sound like good to performance.

@jasonlewis @M165437 I really appreciate your work, but what's the status?
Cause for now the api:docs command is generally faulty. It fits FORMAT 1A to some extent, but generated docs are rather useless.
So, if not maintained, I think it would be better, to remove it from documentation.


Create command map like "jar" program

Any one can guide me , how to create command map like "jar" program?
jar c[efmMnv0] [entrypoint] [jarfile] [manifest] [-C dir] file ... [-Joption ...] [@arg-file ...]

when -C option can repeated call.

how to handle -C flag(s) if command like this?
jar cvf output.jar -C images . -C audio .

@remkop tank for answers, I will try it.

Btw .. -C flags in "jar" program is truly change directory to process or just replace filename when we packing to jar archive?
I not have jar program on my davice.

I run it on android with ecj batch compiler and compile again to dex bytecode  .. so I want to create program like "jar" .. for packaging my programs.

To be honest I’ve never experimented with the -C option of the jar command. You’ll have to try yourself, the docs are a bit brief...
Anyway, you don’t need to copy what other applications do, just provide functionality that makes sense for your application and your users.  :-)

Did that answer your question?

Can you guide me to implementing ITypeCoverters ?

The user manual has some examples:
http://picocli.info/#_custom_type_converters

Did that answer your question?

Yess..
But now I will ask again.
Can I put code like this? :
@Parameters(name="phone-num")
private String phonenum;

@Parameters(name="message")
private String message;

and wiil give command map like:
command-name [phone-num] [message]

can I do that?
I had tried it. But when I put command like:
command-name 123456

value of "[phone-num]" parameter is set to 123456
value of "[message]" parameter is set to 123456
how to validate if [phone-num] has set, then [message] reqiured.
but if [phone-num] is not set, [message] is optional.

If you don't specify the index of a positional parameter, the default index is 0.
So both phonenum and message had index=0 and received the same value (the first positional parameter).
I think what you want to do is this:
// index=0: this is the first positional parameter
// You can set arity=1 to make this positional parameter mandatory
@Parameters(index = "0", arity = "1", paramLabel="phone-num")
private String phonenum;

// index=1: this is the second positional parameter
// You may set arity=0..1 to make a positional parameter optional
@Parameters(index = "1", arity = "0..1", paramLabel="message")
private String message;

Any validation logic that involves multiple fields needs to be implemented by the application.

Thank you for answer.
how to add "help" subcommand,
I was followed http://picocli.info/#_built_in_help_subcommand
and this mycode
import picocli.CommandLine.HelpCommand;

@Command(name = "cmd",                                            version = "1.1",                                            mixinStandardHelpOptions = true,                            helpCommand = true,                                         subcommands = {
        Main.Sender.class,
        HelpCommand.class
}
)

but when I execute:
cmd help

no given anything, no error , no output.

You don’t want to use helpCommand=true.

I was removed that, but still no output.

Can you switch on tracing and show the output here?
http://picocli.info/#_tracing

Has the problem been resolved?

Closing this ticket. Feel free to reopen or open a new one if more questions come up.


Project-level Config file

I would like to put a config file (.ctags) at the root of my project but this doesn't seem to be recognized. If I put one at ~/.ctags, it works but this is not ideal. Is there a way to use one at the project-level?

@okonomiyaki3000 I proposed a fix in https://github.com/yongkangchen/atom-ctags/pull/148. If it isn't accepted, you can accomplish something similar by specifying --options=.ctags in the preferences for atom-ctags arguments.


6.12.0 package includes tests

The 6.12.0 release is installing a tests package containing the tests for pip-tools.
This means any project that has pip-tools installed will have its own tests modules eclipsed by pip-tools' tests.  This broke our CI build when I upgraded all the deps in a project today, chased it down to pip-tools.
Demonstration:
root@docker-fi:~# pip install pip-tools==6.11.0
[...snip...]
Successfully installed pip-tools-6.11.0
root@docker-fi:~# ls /usr/local/lib/venv/lib/python3.9/site-packages/tests
ls: cannot access '/usr/local/lib/venv/lib/python3.9/site-packages/tests': No such file or directory
root@docker-fi:~# pip install pip-tools==6.12.0
[...snip...]
Successfully installed pip-tools-6.12.0
root@docker-fi:~# ls /usr/local/lib/venv/lib/python3.9/site-packages/tests
__init__.py  conftest.py   test_cache.py	test_cli_sync.py  test_fake_index.py  test_minimal_upgrade.py	test_repository_pypi.py  test_subprocess_utils.py  test_top_level_editable.py  test_writer.py
__pycache__  constants.py  test_cli_compile.py	test_data	  test_logging.py     test_repository_local.py	test_resolver.py	 test_sync.py		   test_utils.py	       utils.py
root@docker-fi:~#

Just to clarify the expectations:

the sdist must bundle tests
the wheel should avoid including them

P.S. I haven't checked but it might be related to the updates in setuptools. Whoever ends up debugging this could try to verify this by running PIP_CONSTRAINT=build-constraints.txt python -m build with various setuptools versions pinned in build-constraints.txt and using wheel unpack to inspect the contents.
Checking the build log output can also shed some light on the problem.

The current wheel is also polluting site-packages with docs and examples.

But the default autodiscovery provided by setuptools does not work for pip-tools (neither src layout nor flat layout), so maybe provide explicity packages for setuptools.packages.find or exclude explicitly tests and other packages

The fix is released as part of pip-tools v6.12.1.


Remove the shard limit enforcement logic

Summary of the changes / Why this improves CrateDB
We inherited the logic from ES. So far it resulted in a deprecation
warning if the shard limit was exceeded. In ES 7 the limit became a hard
limit that aborts index creation.
Given that we didn't expose the setting, and that the strict enforcement
might be a bit too imposing on partitioned tables, this removes the
enforcement logic altogether.
We might re-introduce this at a later point more tailored to our
tables/partitioned table structure.
cc: @joemoe
Checklist

[x] User relevant changes are recorded in CHANGES.txt
[x] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

I'd add a warning somewhere

I'll follow up on this in a separate PR