Add auto deployment for GitHub Pages

one more question,
is it tested in your forked repo? any preview link?

Yes and it can be viewed on the github.io pages of my repo


test: adjust reindex test to check with txindex on/off

Issue being fixed or feature implemented
https://github.com/dashpay/dash/pull/6316#discussion_r1791520650
What was done?
How Has This Been Tested?
Breaking Changes
Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation
[ ] I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

utACK 251434f09494dd1d347907b55ed4336de3a0279f


Add /repos/:owner/:repo/mirror-sync

Add repo mirror-sync from https://github.com/go-gitea/gitea/pull/1508

LGTM

LGTM

resolved #48


Question: Is there a way to reference a layout in the classpath?

Is it possible to use a layout from another jar via the classpath?
 <html layout:decorator="classpath:SomeLayout">

It should be possible to load files via the classpath as I use the same lookup mechanism as other things in Thymeleaf, like th:include/th:replace.  To make it work, you should have a ClassLoaderTemplateResolver as one of your configured template resolvers.  Most of the examples given only show configuring 1 template resolver, usually a ServletContextTemplateResolver as that's most relevant to web projects, but you can add multiple template resolvers to the template engine.

Thats awesome.
So would this be the right syntax to load something from the classpath?

The syntax is the same as in all the Thymeleaf examples, so <html layout:decorator="SomeLayout"> will still work for a layout called SomeLayout.  The difference is in the ClassLoaderTemplateResolver and how you set that up, eg: in a Spring config file
<bean id="templateResolver" class="org.thymeleaf.templateresolver.ClassLoaderTemplateResolver">
  <property name="prefix" value="org.example.layouts."/>
  <property name="suffix" value=".html"/>
  <property name="templateMode" value="HTML5"/>
  <property name="cacheable" value="true"/>
</bean>

So the above template resolver, plus what's in decorator:layout will load a file, called SomeLayout.html inside the org.example.layouts classpath.

Cool, thanks for the help!


CLI: JSON output format

The library is always going to be the most optimal way to use askalono, but sometimes it's nice to use the binary/cli for a quick test. I'd like to support JSON output for some modes:
askalono id --format=json
askalono id --batch --format=json
askalono crawl --format=json

For modes like crawl and batch, it'll be something like a JSON document for each line, describing one file.

Solved via 983dac4de9c70ce0f827286b95c99db064cd0d2d


Support set_auth(token) and or customisation of headers for storage

Is your feature request related to a problem? Please describe.
I'm currently using Supabase in a FastAPI middleware, I want to use RLS for permissions management.
When the user logs in via my /login endpoint, I authenticate them with Supabase and return the access token provided by Supabase.
In subsequent calls, I want to retrieve the Supabase session of the user with the previous access token in order to make RLS-protected calls.
Describe the solution you'd like
It would be nice to have a function set_auth(access_token) on the client in order to change the permissions of the client according to the user making the request.
Describe alternatives you've considered
There is a workaround when uploading files, we can set the bearer token manually:
response = supabase.storage.from_("files").upload(
        f"{str(user_id)}/{str(file_id)}",
        file_content,
        file_options={"authorization": f"Bearer {token}"},
    )

But this is not possible when downloading or listing files..
Additional context
Add any other context or screenshots about the feature request here.

I think this is related to: https://github.com/supabase-community/gotrue-py/issues/221
I understand now that we can use:
supabase.auth.set_session(token, refresh_token)
supabase.auth._remove_session()

It's confusing to be forced to use the refresh_token, even if we don't want to refresh the access_token.

do we create supabase client for every user？

in the client - this seems to fix things -
   def set_auth(self, *, access_token: str) -> Session:
        """Overrides the JWT on the current client. The JWT will then be sent in
        all subsequent network requests.

I think this is related to: https://github.com/supabase-community/gotrue-py/issues/221
I understand now that we can use:
supabase.auth.set_session(token, refresh_token)
supabase.auth._remove_session()

It's confusing to be forced to use the refresh_token, even if we don't want to refresh the access_token.

you can use access_token simply by
client.auth.get_user(jwt=rsp_user.session.access_token)
   async def test_retrieve_user(self):
       rps_super = await self.superuser_sign_in()
       assert rps_super.session.user is not None, "user is None"
       pre_user = await self.client.auth.get_user()
       rsp_user = await self.client.auth.sign_in_with_password(
           {"email"<EMAIL_ADDRESS>"password": "Zz030327#"}
       )
       assert rsp_user.session.user is not None, "user is None"
       after_user = await self.client.auth.get_user(jwt=rsp_user.session.access_token)
       assert pre_user.user.id != after_user.user.id, "id is equal"
       assert (
           pre_user.user.email != after_user.user.email
       ), "after get_user email is  equal"

       assert (
           after_user.user.email ==<EMAIL_ADDRESS>       ), "after get_user email is not equal"
       rps = await self.client.auth.get_session()
       assert (
           rps.user.email ==<EMAIL_ADDRESS>       ), "after get_session email is not equal"

here with more tests


Create header_onmicrosoft_traversal.yml

Description
Add coverages for observed technique of onmicrosoft traversal
Associated samples

Write Up and Sample

Associated Hunts

Hunt 1

/update-test-rules

looking good in test rules - ready for review


Fix ArrayValue constructor which accepts BType

Description:
$Subject.
https://github.com/ballerina-platform/ballerina-lang/blob/5c5f0d4b92ac005d7c758618358f35b9476ef651/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/ArrayValue.java#L121
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

@chamil321 , what do we have to fix here?

I beleive this is a cleanup task. current constructor public ArrayValue(BType type) is too generic as it allows to create an array with any given type. We should break it in to two, so that one accepts a BArrayType and the other accepts a BTupleType.


Client access key

Is there any way to get access key with authenticate or we can authenticate automatically by giving login details. Because in my app i want to save all files on google drive but when I always require the authentication. If I want to use the upload the file on the single user drive which not going to change then why I  always login and then give the access permission.
Please help me to this with getting login screen.

https://developers.google.com/identity/protocols/OAuth2 walks you through how to use this library and  Google API Console automate authentication and authorization.

This is not working. If want to upload the file on my drive then there should be a way to upload image without authenticate again and again. All user file will upload on my drive


Aviationist feed always shows blank page when link clicked

For this feed:
http://theaviationist.com/feed/
The feed data displays correctly, but clicking any link to display feed article content results in a blank screen. Always.
If I copy the article link and open it in safari directly it works fine.
So there seems to be some kind of internal rendering issue. They have lots of ads on their site which perhaps plays a role?

Mac? iPad? iPhone? What account type (On My Mac, iCloud, Feedly, etc.)? Are you clicking on the title of the article to open the page, or…?

@grempe are you still seeing this issue?  If so, could you please restart your phone and see if the problem persists. It is probably was either a temporary problem with the feed or iOS since I'm not able to recreate the problem.

I have been seeing this issue for many months. Across many iPhone restarts.
Just finally got annoyed enough to file the issue.
If there are steps I can take to help debug please let me know.

Does this happen randomly or consistently? Are you only seeing it with one feed or with others?
The next time you see it, could you please copy the URL from title you clicked by long pressing it and the pasting it into this issue?

If that was the case, how do you explain that it works in iPadOS which presumably uses the same embedded Safari as both iOS and iPadOS are on latest version?
It also works in native Safari on both platforms.

NetNewsWire is the same code for iPhone and iPad. By your logic, how is this bug in NetNewsWire?
The website owner on the other hand might be doing something based on the agent string or viewport. It just isn't possible for use to debug server side code that we don't have access to.

Because only you have access to the viewport console which would likely
display rendering/URL permission/etc errors.
Its certainly possible that something they are doing server side is
triggering it, but the issue, by all indications, is only present in your
viewport on iOS.
You may be using the same code for iOS and iPadOS builds, but clearly there
are conditionals based on platform attributes. So they code path may not be
the same on both platforms. No?
Even if it is something beyond your control, you might be able to provide
the clue. That would allow them to fix (and i would happily file the report
with them).
On Mon, Jun 20, 2022 at 1:01 PM Maurice Parker @.***>
wrote:

NetNewsWire is the same code for iPhone and iPad. By your logic, how is
this bug in NetNewsWire?
The website owner on the other hand might be doing something based on the
agent string or viewport. It just isn't possible for use to debug server
side code that we don't have access to.
—
Reply to this email directly, view it on GitHub
https://github.com/Ranchero-Software/NetNewsWire/issues/3604#issuecomment-1160670580,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAA5NT3ZHW4M77IFQL25DVQCPXNANCNFSM5Y7AWAMQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Here is the site rendering fine on my iPhone. My guess is that there is a targeted advertising bug in that site.

I've installed iSource Browser from the app store.
It allows you to see the web console of a webview trying to render a URL. This is the type of output that I'm sure you would have had access to to assist with identifying the issue.
You should expose this console within NNW to assist with similar issues in the future.
https://theaviationist.com/2022/06/19/norway-permanently-terminates-nh90-ops/
Here is the output.

I'll follow up with the website owner.


Fix the discriminator of semi-supervised_learning_2.ipynb

This patch fixes the second layer's leaky ReLU of the discriminator in semi-supervised_learning_2.ipynb and its solution.

This PR has not been handled for over 2 years, so I close it.


Revert "Fix cronet header memory free"

Reverts grpc/grpc#9430
Needed by #9428. To be reintroduced once https://github.com/grpc/grpc/pull/9444 goes in

Yes. I've asked @ctiller to make them part of his roll-forward PR #9444

Known issue: #9150


Any plans to support Direct State Access (DSA)?

OpenGL 4.5 adds direct state access, which makes wrappers like ModernGL much cleaner since most operations now no longer disturb context state (bind to create vs bind to modify vs bind to render).
Are there any plans to support GL 4.5 and DSA?

To have backwards compatibility to 3.3 or at least 4.1 is important for integrated graphics cards and the (shitty) fact that OS X stalled their OpenGL support at 4.1. It keeps the user base of this project fairly broad I imagine.
I do love the idea of using DSA and I'm not sure if we can easily have compatibility as well.


watch api cannot auto unwatch when page is unmounted if there is await in onMounted before composable API

Environment

Operating System: Windows_NT
Node Version:     v18.15.0
Nuxt Version:     3.3.3
Nitro Version:    2.3.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules, vite, css, imports, eslint, stylelint, pinia, i18n, routeRules, appConfig
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-gqjmkc?file=pages/index.vue
Such watch cannot auto unwatch when page is unMounted, if there is await before composable API like useRouter .
so I have to unwatch it manually.
Describe the bug
watch api cannot auto unwatch when page is unmounted
Additional context
No response
Logs
No response

@manniL  Here is it sir :
https://stackblitz.com/edit/github-gqjmkc?file=pages/index.vue
Often I need to use await import to execute some client only code by putting these code in onMounted , and  use useFetch to send some request in onMounted also. Then I have to unwatch every watch API manually, and I don't know if there is any other memory leaking.

useFetch should not be used in onMounted. Instead, you can use $fetch directly.

You’re right, thank you very much

The reason you are experiencing this is that you are calling useRoute within onMounted, after an await, which means it isn't bound to the instance. You should move useRoute and useRouter out of the onMounted callback.


It seems doesn't work will with .jsx file.

I add three [home, default, 404] in src/layouts use jsx.
1、 vite.config.ts
    Layouts({
      extensions: ['vue', 'jsx'],
    }),

2、add layout yaml config
import { defineComponent } from 'vue'

export default defineComponent({
  setup() {
    const { t } = useI18n()
    // eslint-disable-next-line unused-imports/no-unused-vars
    const route = useRoute()

    return () => (
      <>
        <div>
          Test layout
        </div>
        <route lang="yaml">
        meta:
          layout: home
        </route>
      </>
    )
  },
})

But it always use default layout when file name is index.jsx. when I change back to index.vue. It works with meta layout.

@whoooami Because the  custom block only applies to the SFC，jsx is so dynamic that parsing it is difficult, and in most cases the only way to know what's going on inside is to run it.


The problem is how do you debug and run the core part in your comuter?

I want to add some new funtions in my computer. The problem is how do you debug and run the core part in your comuter?
Is this core-part must run on the   Web application?

Hello @ZhangK123 - you raise a very good point, in that the development for both TD webapp and TD desktop rely on the common core functions/package. I have raised an issue in the OWASP repo for this:
https://github.com/OWASP/threat-dragon-core/issues/28
and I will put some notes in there on how I run and debug core code for both TD webapp and TD desktop . Maybe later on today ... I will try :-)


Page sections should have anchor links in the titles

This is a suggestion that has been raised before so there might be another card for it but we should have anchor links on our section titles on pages so that users can link to a specific part or example on a page.
This might be something that we want to go through design on what we want the links to look like. There is currently ids on all our titles so the link can be created manually by the user but it would be good to make the titles clickable so that it would be easier for the user to get the link they need to refer to a specific part of a page.

Placement:
Positioning:

Put the "Copy Link" button in close proximity to the heading it relates to.

Consistency:

Placing button on the right introduces variable change for the location of the button according to title length.
Placing button on the left raises a lot of technical considerations and doesn't look right in terms of placement, but is consistent in location

Visual Design:

Clear text like "Copy Link" for easy understanding of buttons purpose
Use an icon (like a chain link) alongside the text to visually represent the action.

Tooltips:

If additional information is required. Implement a tooltip that appears when users hover over the "Copy Link" button. The tooltip can provide additional context.
This could be flipped to reduce visual clutter. The actual button could be just an icon, but when hovered/focussed state, a tooltip could appear

Feedback:

Changing the button colour briefly to a darker shade or ons blue indicating its been clicked. Consider changing text from "Copy Link" to "Link Copied" with a tick icon
(dev note: that functionality can only be done with javascript. Response with javascript disabled could still have the colour
change but no change of text)

Responsiveness:

Considerations on button size and placement in mobile screens (whether again it needs text or not)
Since mobiles have neither focused or hover states, it may be better to have the text upfront and an icon rather than hiding the text behind a tool tip

Accessibility:
Keyboard Accessibility:

Needs to be in the tab index

Focus States:

Clear focus states

ARIA Attributes:

Use specific aria attributes for specific headers? "Copy link to heading: ....."

Examples (for visual design) :
https://kinsta.com/blog/anchor-links/#step-3
https://learn.microsoft.com/en-gb/power-platform/alm/overview-alm?WT.mc_id=DX-MVP-5004113#what-is-alm
(icon only appears and on the left when user hovers over the title)
https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html
(similar to the one above)
https://docs.github.com/en/get-started/learning-about-github/githubs-plans#github-team
(github docs to the right)

@JNATION85 and I had a chat about this and decided we won't go ahead with the anchor links. The users can simply use the functionality that is already provided by marking some text, right clicking and then select the option "copy ink to highlight"

@Majsol @JNATION85 can I close this ticket?

Closing this ticket as it duplicates #1879 which has been moved to the UCD Board.


Can someone create a mobile app for Leela Zero as well now that AQ got one?

<!--
Thank you for reporting issues.
Since the developer is so busy, please understand that unimportant questions or requests may not be responded.

[Before adding an issue]
Please search and check if there are similar issues and questions, including those already closed.

[How to add a new issue]
**Title**
Make it possible to grasp the content of the issue by title only.

  Good: 'Resigns immediately on handicap games'
  Bad: 'some questions', 'a bug'

**Comments**
Please write the contents concisely.
Do not include multiple topics in one issue.

In the case of a bug, please describe the following contents.
+ Execution environment (AQ ver. / OS / CPU / GPU)
+ Reproduction procedure (in detail as much as possible)
+ How to fix it (if you have an idea)

**Labels** (able to attach from the right setting list)
'question': just a question
'enhancement': request for additional functions and improvement
'bug': a bug

Other labels will be judged by the developer, so the reporter should not use it.
--!>

I wonder what the power consumption would be like for such an app (given the current state of the engine).

which one? aq or lz

Honestly, I'm curious about both, though I expect Leela Zero would melt your phone in half.

Here https://github.com/gcp/leela-zero/issues/591#issuecomment-360826163 is an interested developer. People talked about 5x64 or 6x128 networks, but AQ's networks seem larger? (Not clear about the architectures; the only thing I can find are conv17 in vl.pb and conv21 in sl.pb). For small networks, it's probably necessary to incorporate a ladder module as the AQ Android developer did. Anyway, why are you posting here instead at gcp/leela-zero?

This mobile app is done by a third party not the aq dev himself. so I posted here so mayb e he can se eit and do one for LeelaZ as well!

It's good for him to see it, but for LZ mobile we need developers familiar with either the LZ codebase or with Android or both, but not so much with AQ.

https://github.com/gcp/leela-zero/issues/1136

No plans for iOS?

Andriod is apk

@ddugovic : power consumption is indeed enormous with AQ-Android, my new S8+ is hot after 30 min of AI v. AI games and more than 15% battery has been used

This issue mentions an older version, or hasn't been discussed in a long time, so we close it.


train help

im trying to get train to work
start preprocess
['trainset_preprocess_pipeline_print.py', 'C:\Users\44794\Desktop', '40000', '4', 'C:\TCHT\Retrieval-based-Voice-Conversion-WebUI/logs/mi-test', 'False']
C:\Users\44794\Desktop/error.txt->Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio
ffmpeg.input(file, threads=0)
File "C:\Python310\lib\site-packages\ffmpeg_run.py", line 325, in run
raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 79, in pipeline
audio = load_audio(path, self.sr)
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: ffmpeg error (see stderr output for detail)
C:\Users\44794\Desktop/Retrieval-based Voice Conversion WebUI.lnk->Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio
ffmpeg.input(file, threads=0)
File "C:\Python310\lib\site-packages\ffmpeg_run.py", line 325, in run
raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 79, in pipeline
audio = load_audio(path, self.sr)
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: ffmpeg error (see stderr output for detail)
C:\Users\44794\Desktop/desktop.ini->Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio
ffmpeg.input(file, threads=0)
File "C:\Python310\lib\site-packages\ffmpeg_run.py", line 325, in run
raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 79, in pipeline
audio = load_audio(path, self.sr)
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: ffmpeg error (see stderr output for detail)
C:\Users\44794\Desktop/music->Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio
ffmpeg.input(file, threads=0)
File "C:\Python310\lib\site-packages\ffmpeg_run.py", line 325, in run
raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 79, in pipeline
audio = load_audio(path, self.sr)
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: ffmpeg error (see stderr output for detail)
C:\Users\44794\Desktop/samples->Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio
ffmpeg.input(file, threads=0)
File "C:\Python310\lib\site-packages\ffmpeg_run.py", line 325, in run
raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 79, in pipeline
audio = load_audio(path, self.sr)
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: ffmpeg error (see stderr output for detail)
C:\Users\44794\Desktop/ride on take 3.aup3->Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio
ffmpeg.input(file, threads=0)
File "C:\Python310\lib\site-packages\ffmpeg_run.py", line 325, in run
raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 79, in pipeline
audio = load_audio(path, self.sr)
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: ffmpeg error (see stderr output for detail)
C:\Users\44794\Desktop/ride on take 4.aup3->Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio
ffmpeg.input(file, threads=0)
File "C:\Python310\lib\site-packages\ffmpeg_run.py", line 325, in run
raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 79, in pipeline
audio = load_audio(path, self.sr)
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: ffmpeg error (see stderr output for detail)
C:\Users\44794\Desktop/vocal->Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio
ffmpeg.input(file, threads=0)
File "C:\Python310\lib\site-packages\ffmpeg_run.py", line 325, in run
raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 79, in pipeline
audio = load_audio(path, self.sr)
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: ffmpeg error (see stderr output for detail)
C:\Users\44794\Desktop/beutifull test.wav->Suc.
C:\Users\44794\Desktop/onlymp3.to - beautiful_boy__darling_boy_._ultimate_mix__2020____john_lennon__official_music_video_hd-Lt3IOdDE5iA-192k-1689431006.mp3->Suc.
C:\Users\44794\Desktop/training->Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio
ffmpeg.input(file, threads=0)
File "C:\Python310\lib\site-packages\ffmpeg_run.py", line 325, in run
raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 79, in pipeline
audio = load_audio(path, self.sr)
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: ffmpeg error (see stderr output for detail)
end preprocess

Usually ffmpeg errors are related to your path characters. Try removing any spaces or special characters from you folders and files names, and try again.
For example, remove the space from "beutifull test.wav"

thanks that solved the issus


Bad_alloc when building standalone project in Debug

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): Most recent, pulled from github
GCC/Compiler version (if compiling from source): VS 2015
CUDA/cuDNN version: CPU Only
Bazel version:  NA
GPU model and memory:  NA
Exact command to reproduce: Practically any  tensorflow command in debug

I have a large project (C++) that uses a CNN for a small part of the code. I have built tensorflow from sources as a shared library using the cmake instructions. I have linked against this built library and integrated it in our code. The project uses QTCreator and Qmake.
In currently works perfect in Release mode, however as it is a larger project there is needs to occasionally build in debug. When doing a debug build I get an exception thrown on basically the first instance of tensorflow (currently a call to ReadBinaryProto). If you comment that line out it will break on the next tensorflow call.
I have built a standalone project in visual studio 2015 that isolates the tensorflow part of the project and it behaves exactly the same way.
The exception is Microsoft C++ exception: std::bad_alloc at memory location 0x00000071F8AFC730.
I know there is no supported way to build a debug version of the library, but I need to use this library like this. I have no pressing need to debug tensorflow related code just the rest of it.
Thank you

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Bazel version
GPU model and memory
Exact command to reproduce

original post updated with information

Nagging Assignee @aselle: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@mrry, do you have any suggestions?

I think this is a known limitation of MSVC, e.g. see this forum post. Presumably the issue is a different memory layout for std::string in the two libraries, and this will affect many of our C++ APIs.
It might work if you replace the uses of the C++ API with equivalent calls to TensorFlow's C API.

@jtavrisov ,
Is this still an issue?
Could you please update TensorFlow to the latest stable version v.2.6 and let us know if you are facing the same error. Thanks!


Please help

I am using your project laravel-mongodb. It is very helpful for me.
However, I have some problem when using laravel-mongodb.

How I create a collection with custom field when insert -> like:
{
'_id' : AUTO_INCREMENT
'username' : unique (phuocduy1988)
'view_count' : interger 64 bit ()
'average'  : double
}

How to make index for username

Please give me more example how to using:
$client = DB::getMongoClient();
$db = DB::getMongoDB();

I cannot using DB in laravel Controller
$client = DB::collection('spot')->where('name', 'John')->get();
I got an error:
Call to undefined method Illuminate\Database\MySqlConnection::collection();

Please help me!

I have the same issue.

I found the Solution for this error.
You have to use this
$db = \DB::connection('mongodb')->getMongoClient();
and mongodb is the name that you use in the config/database.php
I hope that help!

Thank Wu4m4n,
I found other solution.
I custom other class to connect direct to mongodb via php driver mongodb/mongodb.


react-redux mapDispatchToProps shorthand

When using flow to define props defined using the shorthand notation of mapDispatchToProps, flow flags the lack of those props when the component is consumed. After looking at the definition, it appears that mapDispatchToProps is expected to be a function.
Example:
type Props = {
  someFunc: () => void
};

class MyComponent extends Component {
  props: Props;

  render() {
    return

;
  }
}

export default connect(null, {
  someFunc: someActionCreator
}, MyComponent);

Did you find any workaround besides not using the shorthand ?

What I don't completely understand here, is that the definition reads:
 declare type MapDispatchToProps = ((dispatch: Dispatch, ownProps: OP) => DP) | DP;

Notice the | DP at the end: this can be an object too.
But it looks like that as long as Flow is concerned it's not properly combined with the state props to form the stateless object's props.

cc @villesau

still experiencing this problem with react-redux v5.0.7

Indeed it seems to be a problem.  I don't know why it does not match the right one.
Here is an updated example:
// @flow

import * as React from 'react';
import { connect } from 'react-redux';

type Props = {
  someFunc: (abc: string) => Object
};

class MyComponent extends React.Component<Props> {
  render() {
    this.props.someFunc('fds');
    return
;
  }
}

export default connect(
  null,
  {
    someFunc: (abc: string) => {}
  },
  MyComponent
);

@GAntoine this could be opened.

Hello guy, any update here?
I am getting this error on brand new fresh redux(4.0.1), react-redux(5.0.7), flow(0.83.0) installation when I am trying to connect actions to Component.
Cannot create RootContainer element because undefined [1] is incompatible with object literal [2] in the return value.

RootContainer.js

const mapStateToProps = (state) => ({
activeTransactionId: getActiveTransactionId(state),
})
const mapDispatchToProps = {
appLoaded: createActionAppLoaded,
}
export default connect(mapStateToProps, mapDispatchToProps)(RootContainer)
 App.js
 12│     render() {
 13│         return (
 14│             <Provider store={store}>
 15│                 <RootContainer />
 16│             </Provider>
 17│         )
 18│     }

 src/screens/root/RootContainer.js

[1] 16│     appLoaded: () => void,
 src/screens/root/actions.js

[2]  5│ export const createActionAppLoaded = () => ({
6│     type: APP_LOADED,
7│ })


Interface subtypes

Hello,
Before version 1.0.21 I was using reflection to get all subtypes of a class like this:
    private static MatcherOperator<ObjectPropertyGenerator> interfacePropertyGenerator()
    {
        return new MatcherOperator<>( property -> isTypeAbstract( property.getType() ),
                                      property -> new InterfaceObjectPropertyGenerator<>( getSubtypes( property.getProperty().getType() ) ).generate( property ) );
    }

    FixtureMonkey.builder().pushObjectPropertyGenerator( interfacePropertyGenerator() )

But now InterfaceObjectPropertyGenerator is deprecated and I have to use InterfaceCandidateConcretePropertyResolver and it seems that I can now only setup interfaces using the pushExactTypePropertyCandidateResolver.
The issue with that is that I have to list all interfaces that I have on my project which is cumbersome. Is there any other way of doing this that I'm missing?
Thanks

@esfomeado
Hello.
The pushPropertyCandidateResolver option for this case will be added in 1.1.0 like other options.
Since the option can be nested, I need more tests.
Thank you

@esfomeado
Hello, sorry for the confusion. All the interface options are now in InterfacePlugin.
Please use the option interfaceImplements(Matcher, CandidateConcretePropertyResolver) in 1.0.23. You can find out more here
Thank you for waiting!

Thanks


How can I refer to self?

Tutorial sample fast_blank is
class String
  def blank?(string)
    char *s = string
    int i = 0
    int a = string.size

    while i < a do
      return false if s[i] != ' '
      i += 1
    end

    return true
  end
end

This code define String#blank?(string) method.
But I think the fast_blank evaluates value of self, not argument.
I tried below:
class String
  def blank?
    char *s = self
  end
end

I got error below:
~ rubex fast_blank.rubex

PARSE ERROR:
Line:     char *s = self
Location: fast_blank.rubex:3
Error:

parse error on value "self" (kSELF)
Traceback (most recent call last):
	7: from /Users/shigerunakajima/rubex/bin/rubex:7:in `<main>'
	6: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
	5: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
	4: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
	3: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
	2: from /Users/shigerunakajima/rubex/lib/rubex/cli.rb:21:in `generate'
	1: from /Users/shigerunakajima/rubex/lib/rubex/compiler.rb:48:in `compile'
/Users/shigerunakajima/rubex/lib/rubex/compiler.rb:105:in `generate_code': Must be a Rubex::AST::Node::MainNode, not NilClass (RuntimeError)

Tried version is 'bf5ee9365e1b93ae58c97827c1a6ef6c04cb5f33' of the mater branch.

Hmmm good point. Currently there is no support for self. I will add it in future versions.

Hi, I'm using rubex for the first time today (2019), I think that is the golden gate for ruby performances!!! Please, not abandon this amazing project!


🐛 Bug Report: techdocs: Docker does not appear to be available

📜 Description
This happens when I click VIEW TECHDOCS on a component.
The error in the logs looks like:
[1] 2023-03-24T14:32:24.801Z techdocs error Failed to build the docs page: Failed to generate docs from /var/folders/hr/bf758kqx6f14sf0dyrw0v9zh0000gn/T/backstage-9tLcpC into /private/var/folders/hr/bf758kqx6f14sf0dyrw0v9zh0000gn/T/techdocs-tmp-M77xoW; caused by Error: This operation requires Docker. Docker does not appear to be available. Docker.ping() failed with; caused by Error: connect ENOENT /var/run/docker.sock Failed to generate docs from /var/folders/hr/bf758kqx6f14sf0dyrw0v9zh0000gn/T/backstage-9tLcpC into /private/var/folders/hr/bf758kqx6f14sf0dyrw0v9zh0000gn/T/techdocs-tmp-M77xoW; caused by Error: This operation requires Docker. Docker does not appear to be available. Docker.ping() failed with; caused by Error: connect ENOENT /var/run/docker.sock type=plugin name=Error cause=Error: This operation requires Docker. Docker does not appear to be available. Docker.ping() failed with; caused by Error: connect ENOENT /var/run/docker.sock stack=Error: Failed to generate docs from /var/folders/hr/bf758kqx6f14sf0dyrw0v9zh0000gn/T/backstage-9tLcpC into /private/var/folders/hr/bf758kqx6f14sf0dyrw0v9zh0000gn/T/techdocs-tmp-M77xoW; caused by Error: This operation requires Docker. Docker does not appear to be available. Docker.ping() failed with; caused by Error: connect ENOENT /var/run/docker.sock

I have app-config.yaml created from create-app, so the techdocs section looks like:
techdocs:
  builder: 'local' # Alternatives - 'external'
  generator:
    runIn: 'docker' # Alternatives - 'local'
  publisher:
    type: 'local' # Alternatives - 'googleGcs' or 'awsS3'. Read documentation for using alternatives.

👍 Expected behavior
TechDocs should have been generated and shown
👎 Actual Behavior with Screenshots
An error appeared in the logs and the TechDocs page shows the "dropped the mic" 404 page.
👟 Reproduction steps

npx @backstage/create-app@latest
cd <backstage>
Modify app-config.local.yaml to look like:

integrations:
  github:
    - host: github.com
      token: ghp_xxx

yarn dev
Click "Create..." in the left pane
Click "Register Existing Component" in the top-right
Paste in https://github.com/backstage/backstage/blob/master/catalog-info.yaml as the "Repository URL", then click "Analyze"
Click "Import"
Click "Home" in the left pane, then click on the "backstage" element in the table
Click "View TechDocs"

📃 Provide the context for the Bug.

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

@mitchhentgesspotify Do you have Docker Desktop or an equivalent Docker instance running on your local laptop? That error is essentially it's trying to connect to the Docker socket to generate the docs and isn't able to.
For example, on my laptop, if I quit Docker Desktop, I get the same error. If I start Docker Desktop back up, the docs generate.

Ah, that's what I get for multi-tasking - that's the critical information needed with this bug :)
Indeed, Docker is running on my macbook.
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (arm64v8)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

Interestingly, in the error message, it mentions that it's trying to find /var/run/docker.sock which indeed doesn't exist on my machine:
sudo ls -l /var/run/docker.sock
ls: /var/run/docker.sock: No such file or directory

Maybe the library trying to connect to Docker thinks it's on Linux?


Scripts folder error

Description
Hi, is not possible find any script in scripts folder, when press ctrl+f and can´t open script for execute in the sql editor
DBeaver Version
Community Editon Versión <IP_ADDRESS>405191503
Operating System
Linux Fedora 39
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Thank you for bug report. I reproduce the issue. Here are steps:
0. Run DBeaver

Switch to Database Navigator

Press Open resource (Scripts)

Search icon is disabled, nothing happens on Ctrl+F

Try Browse from here command. Searching doesn't work here also. And filter icon looks unrelated

We discussed this issue with the team and decided to do the following:

Fix the ability to search on the Script folder
Improve filters: if the root node is a resource, do not analyze tables and filter files by name


nth:child(2) not correct

When processing a page http://ymammy.ru/category/dlya-mam/ , nth-child(2) does not work correctly.
http://skrinshoter.ru/i/211118/U0Lo9X7F.png

hi guys, want do you want to get(html fragment) form the site, can tell us,

When processing a page http://ymammy.ru/category/dlya-mam/ , nth-child(2) does not work correctly.
http://skrinshoter.ru/i/211118/U0Lo9X7F.png

I suggest that you go to https://try.jsoup.org/ and save it so that Jonathan or others can investigate effectively. Since the live url would change content and the screenshot also didn't provide necessary context information. At least you should provide input, expected output and actual output.
If this information can be provided I would also like to have a try to fix it - if it's proved to be a real issue.

Yeah, can you please send a fragment of the HTML so people can look into it/investigate? Without knowing what's in the "li" variable it's hard to see why JSoup fails. I can come up with multiple fragments that could work with the screenshot provided.

The selector does not work correctly, if there are hidden elements present such as

Please provide a fragment and the selector so anyone can replicate this. Best to use try.jsoup as mentioned.

Please provide a fragment and the selector so anyone can replicate this. Best to use try.jsoup as mentioned.

<title>Try jsoup</title>

row1

row2

row3

row4

selector: p:nth-child(n+2):nth-child(-n+2)
I want to get 2nd
 tag only but returns row2,3,4.
Instead of using nth-child(-n+x), I could get expected result by p:nth-child(n+2):lt(2).
thanks!

(Confirmed in browser that p:nth-child(n+2):nth-child(-n+2) will select just the second row)


Fellowship. Voted. There is no information about voted referenda

Description
There is no mark for voted referenda in Fellowship
Environment
https://github.com/novasamatech/nova-spektr/commit/9566874b5af6958a8708dcdb05794b3622ac25db

SubQuery project has to be implemented.


Running The Demo Solution Locally

Running The Demo Solution Locally

@grdryn @nialldonnellyfh @paolobueno @wtrocki Hi folks, I don't have permissions to merge here in this project. Could you please check and merge it?

I've rebased and merged this.


Authentication Failed - Incorrect API Key

I an trying to use Octopod with my Ender 3 v2, when i follow instrcutions and try to login i get the following error message -
Authentication Failed Incorrect API Key
Still get this message after i scan the image on the printer.

Try application keys instead of api keys

any update on this issue @bobster316 ?


Add a pre-install hook to force frameworks and --no-integrate

Closes #2.
Closes #14.

:+1:

\c @neonichu

:+1:
I'm thinking we should also remove the --no-integrate from the README.

Done


analysis with multiple biom not working

If a study has 2 process data from 2 different prep templates and the prep templates have the same sample name (which they should) the analysis will merge the 2 biom into one. The correct functionality should be to keep them apart.

I think this requires some kind of thought... If that is the correct behavior, how do we rename samples in a way that we can actually do the analysis?
I might be misunderstanding something, but I think that in some case it can be useful to do that merge. For those cases, do you think it will be useful to add a flag in the interface so the user can activate the merging of the samples?

Not sure we will need to merge ... in theory it's possible but not sure in which cases we will actually want to do

That's why I propose a flag, so in case that there is a use case that we are missing, the user can still do it...

The problem was that #1237 is hiding the actual error with this one, which is that the biom table is not being created due to this check. Not sure what's the best solution but one that comes to mind is: add a new column on the fly to the mapping file and prepend to the sample name the process data id, except if the user checks an option where samples with the same name will be merged into a single sample ...

Is this related to this issue?

Not really, the issue discussed here is if 2 samples have the same name. The other issue is talking about the reference files (i.e. the reference tree) being hardcoded for GreenGenes.


Add matrix type switch nodes

ND_switch_matrix33
ND_switch_matrix44
ND_switch_matrix33I
ND_switch_matrix44I

@jstone-lucasfilm this will probably not compile with MDL 1.6 and 1.7 because the stdlib_1_6.mdl needs the definitions too (or it should be there only).. anyhow I'll fix this as soon as I can.
But a general question. Isn't it possible to implement the switch in mtlx directly using a graph? this hard-coded number of options doesn't look nice.

@krohmerNV - are the additions you're suggesting are needed to stdlib_1_6.mdl in this PR already - here ?
Or are other changes needed?

@ld-kerley, you are right. That's what I meant. Sorry.
I'll check locally to verify and let you know.


[buck-yeh-bux] Fix error C7595

In an internal version of Visual Studio, buck-yeh-bux install failed with following error:
E:\0110\vcpkg\buildtrees\buck-yeh-bux\src\c9e66a4664-c1c802f90b.clean\src\XException.cpp(49): error C7595: 'fmt::v8::basic_format_string<char,int,const char (&)[30],const DWORD &,const DWORD &,void *,void *,const DWORD &>::basic_format_string': call to immediate function is not a constant expression
The reason is the format string is incorrect, add (size_t) to fix it.
I have submitted an issue on upstream: https://github.com/buck-yeh/bux/issues/4

Thanks!


Produce MacOS desktop app bundle on CI

To easily test any version of the Tangram ES core library, it will be helpful for our CI builds to include a MacOS desktop target. We can store the output on an S3 bucket so that the build artifacts are easily cataloged and publicly accessible.

Wish list:

Demo application bundles deployed to S3 automatically and available on ios.mapzen.com
Tangram ES version (and build number?) displayed in app UI
GUI for adding/saving API key preference
File open modal and shortcut
File reload shortcut
Open current file shortcut


How's the reception to this blockchain application

Have you heard from @Federal-Aviation-Administration on blockchain in aviation.

@


Primitives/base class

Add release note and consistent parameter ordering.
I dropped run() method in favour of having consistent use of call

Thanks a lot. I am trying to resolve the conflicts. I have one question: the Estimator is passing parameters to the constructors in the order (grouping, paremeters), but the Sampler is in the order (parameters, circuits). Which is correct?

I found your comment: https://github.com/Qiskit/qiskit-terra/pull/7723#discussion_r819397485


Panic in Window::all() while in mission control on MacOS

This panic happens consistently when trying to call Window::all() while the screen is in mission control (4-finger swipe up)
thread 'main' panicked at /Users/rex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/core-foundation-0.9.4/src/string.rs:28:1:
Attempted to create a NULL object.
stack backtrace:
   0: std::panicking::begin_panic
             at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:688:12
   1: <core_foundation::string::CFString as core_foundation::base::TCFType>::wrap_under_create_rule
             at /Users/rex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/core-foundation-0.9.4/src/lib.rs:110:17
   2: <T as core_foundation::base::FromVoid>::from_void
             at /Users/rex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/core-foundation-0.9.4/src/base.rs:358:31
   3: xcap::platform::impl_window::ImplWindow::new
             at /Users/rex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xcap-0.0.6/src/macos/impl_window.rs:89:17
   4: xcap::platform::impl_window::ImplWindow::all
             at /Users/rex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xcap-0.0.6/src/macos/impl_window.rs:179:35
   5: xcap::window::Window::all

Fixed! Brilliant! and thank you very much. As promised I sponsored you again for this and those other things you fixed while you were at it.

Thank you again


"unable to extract yt initial data" - outputs different codec

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 reporting that yt-dlp is broken on a supported site
[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 checked that all URLs and arguments with special characters are properly quoted or escaped
[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
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
Germany
Provide a description that is worded well enough to be understood
yt-dlp does not give out the required format:
The codec of the output video is now vp09, which it wasn’t before this issue occurred, when using this command:
yt-dlp -f 'bv[height<=1080][ext=mp4]+ba[ext=m4a]/mp4' [YT-URL]
vp09 can’t be played back on my device, I need H.264.
I tried different configurations, downloading different videos, on their own, or in a playlist. Every time an unplayable vp09 video was the output. I received the following error messages:
WARNING: [youtube:tab] unable to extract yt initial data
WARNING: [youtube:tab] Incomplete yt initial data received.
WARNING: [youtube] Incomplete data received in embedded initial data; re-fetching using API.

Below, I inserted the verbose output from the video I originally wanted to download. (Beware, it's a k-pop video)
Please understand that I’m not really familiar or talented with coding or anything related, I’m just using yt-dlp for the long term reliability and I reported the issue because I was told to.
If you can offer me instant help by giving me another command, it would be greatly appreciated.
I'm using yt-dlp for homebrew on Mac. Please do not refer me to other versions, as homebrew turned out to be the only viable method for me.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] 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
[debug] Command-line config: ['-vU', '-f', 'bv[height<=1080][ext=mp4]+ba[ext=m4a]/mp4', 'https://www.youtube.com/watch?v=zi_6oaQyckM']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (pip)
[debug] Python 3.11.4 (CPython arm64 64bit) - macOS-13.4.1-arm64-arm-64bit (OpenSSL 3.1.2 1 Aug 2023)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.07.22, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[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>[youtube] Extracting URL: https://www.youtube.com/watch?v=zi_6oaQyckM
[youtube] zi_6oaQyckM: Downloading webpage
WARNING: [youtube] unable to extract initial player response; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
[youtube] zi_6oaQyckM: Downloading ios player API JSON
[youtube] zi_6oaQyckM: Downloading android player API JSON
[youtube] zi_6oaQyckM: Downloading iframe API JS
[youtube] zi_6oaQyckM: Downloading player 3cd2d050
[youtube] zi_6oaQyckM: Downloading web player API JSON
[youtube] zi_6oaQyckM: Downloading m3u8 information
WARNING: [youtube] unable to extract yt initial data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] Incomplete data received in embedded initial data; re-fetching using API.
[youtube] zi_6oaQyckM: Downloading initial data API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] zi_6oaQyckM: Downloading 1 format(s): 616+140
[debug] Invoking hlsnative downloader on "https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1692141129/ei/6bHbZMm4BYWi6dsP1Jy32AI/ip/2003:c9:af4e:dc00:1088:c64f:58d5:780b/id/ce2ffaa1a4327243/itag/616/source/youtube/requiressl/yes/ratebypass/yes/pfa/1/wft/1/sgovp/clen%3D71501643%3Bdur%3D208.416%3Bgir%3Dyes%3Bitag%3D356%3Blmt%3D1667368824399046/hls_chunk_host/rr2---sn-4g5ednsz.googlevideo.com/mh/YV/mm/31,26/mn/sn-4g5ednsz,sn-h0jeenle/ms/au,onr/mv/m/mvi/2/pl/42/initcwndbps/1775000/vprv/1/playlist_type/DVR/dover/13/txp/5532434/mt/1692119374/fvip/2/short_key/1/keepalive/yes/fexp/24007246/beids/24350018/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,pfa,wft,sgovp,vprv,playlist_type/sig/AOq0QJ8wRgIhAO5KPIrUbXyVnl-GVoVWoBSJwpIAqbHeXahpdxEQwDQYAiEAovNAxU2-1h6gXAhQYvAcaqMOkX0Ip-X12OoiOTgTB7k%3D/lsparams/hls_chunk_host,mh,mm,mn,ms,mv,mvi,pl,initcwndbps/lsig/AG3C_xAwRAIgOGwGluHUqmgL9_jASu5XSGeXyUiTm6KmhQE11jV2iSwCIBh8rGt91t2J5eToOho1ssWbzVmtu-9PnvgkYdaAsA-z/playlist/index.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 41
[download] Destination: TWICE ＂Merry & Happy＂ M⧸V [zi_6oaQyckM].f616.mp4
[download] 100% of   68.21MiB in 00:01:11 at 975.37KiB/s
[debug] Invoking http downloader on "https://rr2---sn-4g5ednsz.googlevideo.com/videoplayback?expire=1692141129&ei=6bHbZMm4BYWi6dsP1Jy32AI&ip=2003%3Ac9%3Aaf4e%3Adc00%3A1088%3Ac64f%3A58d5%3A780b&id=o-AAHsWLjg9rRBtgW7hkSVzc34yhmjE4RVdlUs61dCIdBd&itag=140&source=youtube&requiressl=yes&mh=YV&mm=31%2C26&mn=sn-4g5ednsz%2Csn-h0jeenle&ms=au%2Conr&mv=m&mvi=2&pl=42&initcwndbps=1775000&vprv=1&svpuc=1&mime=audio%2Fmp4&gir=yes&clen=3374512&dur=208.468&lmt=1575018300672107&mt=1692119374&fvip=2&keepalive=yes&fexp=24007246&beids=24350018&c=IOS&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAIirlFRD0C_y3nXi90eX5XH0ULgZac25wBxgpr7e8Nt6AiEAi304r0PjBAX50DZBOo3xeoEdxJfylLb724OxInjsy2U%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhALh1MgYWyIB04bgN9wCJs49Tyo6EAW44MfFP7zQsTGTcAiEA_RqtjHvNiGregH_HzqDruetOXnM2-DXuprcFdVut_bM%3D"
[download] Destination: TWICE ＂Merry & Happy＂ M⧸V [zi_6oaQyckM].f140.m4a
[download] 100% of    3.22MiB in 00:00:03 at 1.02MiB/s
[Merger] Merging formats into "TWICE ＂Merry & Happy＂ M⧸V [zi_6oaQyckM].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:TWICE ＂Merry & Happy＂ M⧸V [zi_6oaQyckM].f616.mp4' -i 'file:TWICE ＂Merry & Happy＂ M⧸V [zi_6oaQyckM].f140.m4a' -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart 'file:TWICE ＂Merry & Happy＂ M⧸V [zi_6oaQyckM].temp.mp4'
Deleting original file TWICE ＂Merry & Happy＂ M⧸V [zi_6oaQyckM].f616.mp4 (pass -k to keep)
Deleting original file TWICE ＂Merry & Happy＂ M⧸V [zi_6oaQyckM].f140.m4a (pass -k to keep)

Running into the same issue with the following params: bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/best[height<=1080][ext=mp4]

The different codec is unrelated to the "unable to extract yt intiial data" issue (which was #7594 and fixed by 378ae9f9fb8e8c86e6ac89c4c5b815b48ce93620, install master branch if you want the patch)
Format 616 is vp9 in mp4 container. That's just how Youtube serves it. So it is not "wrong," it is just not what you were expecting.
If you don't want vp9, then explicitly filter it out with [vcodec!~='vp0?9']
mp4 is just a container. Using ext=mp4 does not guarantee any particular codec. But if you want h264/avc (which is what most people seem to want when they say they want mp4), you could do something like this instead of your -f arg:
-S vcodec:h264,res,acodec:m4a


Archive.ZIP upload FAIL

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Describe the bug
AWS Amplify
Archive.ZIP upload FAIL
Expected behavior
AWS Amplify
Archive.ZIP upload SUCCESS
Reproduction steps
Login to AWS Amplify Success
Upload Archive.ZIP
Upload Success
Build Settings
Login to AWS Amplify Success
Upload Archive.ZIP
Upload Success

Additional information
Problem has persisted for more than 48 hours.

Although AWS Dashboard reports AWS Amplify Sydney is UP, clearly there is some backend issue that is DOWN.
https://ap-southeast-2.console.aws.amazon.com/amplify/home?region=ap-southeast-2

The problem occurs persistently now via https://ap-southeast-2.console.aws.amazon.com.
Currently via this instance AWS Amplify cannot be considered 100% stable.

Upload via AWS Console is more stable now


Fix Gradle Cache

:tada: This PR is included in version 1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update middleware signature for PSR-15

Let middleware be single-pass by default. We will provide a double-pass middleware adapter for those that still want it.

I really would appreciate this too, but I guess that this would require a major version bump.

Closed as per #2555


Updating/work-with this template for GHA and Azd Devcontainer feature.

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

We are updating this template to support new features in Github Action and Azd Devcontainer.

For the Github Action feature: We will remove two lines of code on container image and add GHA code after checkout step in the .github/workflow/azure-dev.yml file. (Shown as below)

For the Azd Devcontainer feature: We will add  the following code in devcontainer.json file.

"ghcr.io/azure/azure-dev/azd:latest": {}

@rajeshkamal5050 , @kjaymiller , @pamelafox for notification.

Close it as Azd Devcontainer feature has supported and GHA feature is no longer needed (azd in currently not installed).


fix: json schema

Codecov Report

Merging #40 into main will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   65.16%   65.16%
=======================================
  Files           5        5
  Lines         155      155
  Branches       20       20
=======================================
  Hits          101      101
  Misses         53       53
  Partials        1        1

Impacted Files
Coverage Δ

src/config.ts
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Don't know how to build task 'native:arm64-darwin'

Looking forward to getting started with rb-sys, but I'm having an issue while cross-compiling.
Here's my Rakefile:
# frozen_string_literal: true

require "bundler/gem_tasks"
require "rb_sys/extensiontask"
require "rspec/core/rake_task"
require "rubocop/rake_task"

RSpec::Core::RakeTask.new(spec: %i[compile:dev])
RuboCop::RakeTask.new

GEMSPEC = Gem::Specification.load("datafile_ruby.gemspec")

RbSys::ExtensionTask.new("datafile_ruby", GEMSPEC) do |ext|
  ext.lib_dir = "lib/datafile_ruby"
end

task build: %i[compile]
task default: %i[compile spec rubocop]

I can build fine locally, but using https://github.com/oxidize-rb/actions/tree/main/cross-gem I get the following:
...
no configuration section for specified version of Ruby (rbconfig-arm64-darwin-3.1.4)
no configuration section for specified version of Ruby (rbconfig-arm64-darwin-3.2.2)
rake aborted!
Don't know how to build task 'native:arm64-darwin' (See the list of available tasks with `rake --tasks`)

Could you try adding the following lines to your Rakefile:
desc "Build native extension for a given platform (i.e. `rake 'native[x86_64-linux]'`)"
task :native, [:platform] do |_t, platform:|
  sh "bundle", "exec", "rb-sys-dock", "--platform", platform, "--build"
end

And add + install rb-sys-dock to your gemfile?

Gah, got the gem name wrong. It's rake-compile-dock.
I think simply including it as a dev dependency automagically includes the necessary Rake tasks, because it is the one that does define the native:{platform} task that's missing: https://github.com/rake-compiler/rake-compiler-dock#add-to-your-rakefile
Admittedly, it's been some time since I set a project up from scratch! My tasks are defined exactly as yours are, though. If you have a repo I can clone it and poke around, too.

Thanks @gjtorikian.
There's a minimal reproduction at https://github.com/ball-hayden/rb-sys-repro/pull/1
I'll give you collaborator access to that repo so you can play around if you like.
I've tried adding the rake-compiler-dock gem as well - that doesn't seem to help at all.

Okay - I think I've worked out some of the problem.
The docker image seems to have RAKE_EXTENSION_TASK_NO_NATIVE=true set, which causes rake-compiler to skip defining the native tasks.

Some success - I was able to get it going by skipping the rb-sys-dock tool and using the container directly:
https://github.com/ball-hayden/rb-sys-repro/pull/2

Okay... Got it.
It's needing ext.cross_compile = true set in the Rakefile, and the ruby version needs to be one of those defined in https://cache.ruby-lang.org/pub/misc/ci_versions/cruby.json - including the patch version confuses it.

I appreciate your prompt help @gjtorikian, and ❤ for the work you've done with oxidize-rb.

Thanks, but most of the credit for oxidize goes to @ianks!
Would you be willing to update documentation/README to help others alleviate this issue. It's strange, I haven't set cross_compile in any of my projects that embed Rust in Ruby. I wonder if I'm running on older versions of a dependency that now requires this?

Yeah this is the same problem I'm running into, but clearly the cross_compile option is not the solution for me. I'm having trouble interpreting what @ball-hayden means by the Ruby version needing to be one from the referenced list. I'm not even clear what Ruby version we're talking about here, let alone where to set it.
I've tried RUBY_CC_VERSION=3.0 in a few places and it seems to generally respond to those changes but it hasn't actually fixed anything.
In the Docker context all of the native prefixed tasks don't appear to exist. So far it's also not clear to me how these tasks or built or where, but they don't appear anywhere unless I add the task to my Rakefile by hand, as @gjtorikian suggested earlier. There's also the distinction between rake tasks with a native namespace and an actual name of the platform, vs. the native task with a string platform name argument.
Either way, I'm getting this in every scenario:
no configuration section for specified version of Ruby (rbconfig-x86_64-linux-3.0)
rake aborted!
Don't know how to build task 'native:x86_64-linux' (See the list of available tasks with `rake --tasks`)

Alright, well I don't really have an explanation for why this is the case, but as far as I could tell, the native tasks don't get generated because @gemspec is nil, which after digging around in rake-compiler source just seems to be the case because it's not passed into the RbSys::ExtensionTask initializer in my Rakefile. Changing it to this and things are building:
spec = Gem::Specification.load("rust_json_schema.gemspec")]
RbSys::ExtensionTask.new("rust_json_schema", spec) do |ext|
  ext.lib_dir = "lib/rust_json_schema"
  ext.cross_compile = true
end


[ERROR] chrome command not found

I'm really sorry bout this I just really don't know what to do, I downloaded the latest commit, installed the npm packages and downloaded chrome/chromium but it still doesn't work for me. Please help.  I copied the error i get below, thanks in advance.
./animepahe-dl.sh: line 37: command not found
[ERROR] chrome command not found

Hey @Anime-Tako, could you check the PATH variable echo $PATH, and put chrome binary into one of the path? This should help the system to find the chrome. Let me know if this works for you.

Hello, I tried doing what you suggested. The error no longer appears but i am still unable to download. What happens now is that after I tried entering (i.e ./animepahe-dl.sh -s 113bd27d-b06c-e940-993e-06072bbbaec9 -e 1 -r 1080) the error no longer appears and the chrome app opens and thats it. The download still doesn't start.

@Anime-Tako Try ./animepahe-dl.sh -s 113bd27d-b06c-e940-993e-06072bbbaec9 -e 1 -d and it will print out debug logs. If you could paste some logs here, I will help to take a look.

Hi, sorry for the delay, here's what i got.  It was my terrible coding mistake. Now, it's fixed in the latest commit.

Anime-Tako

how did you put chrome binary into one of the path?


Location validation

Assuming we're storing the lat/lng returned from the Google Places autocomplete, the user should not able able to enter custom text in the box. The user must choose an option from the autocomplete list, or face a validation error.

Now only accepts when selected from list


[WIP] Priority and automatic email systems for admission

DO NOT MERGE YET
This PR changes the admission system to enable automatic rejection emails.

Applications now have priority (for cooperation between groups) and status (accepted/rejected) for automatic emails
Admissions manager have better tools to keep track of admission status
Tools for sending automatic rejection emails

Some screenshots to explain systems
Interview priority system:

Admissions admin overview:

Review rejection recipients:

@evgiz So now it seems that if you get an offer for a job and decline it, you still get a rejection email? Is that really necessary?

@evgiz So now it seems that if you get an offer for a job and decline it, you still get a rejection email? Is that really necessary?


[TW#24584] OTA gets stuck/frozen in poor Wifi conditions

Environment

Development Kit:      NONE (custom board)
Core (if using chip or module):  PICO
IDF version: 3.0 & 3.1
Development Env: Make
Operating System: Windows
Power Supply: external 5V

Problem Description
When I have poor RSSI on wifi, OTA can get frozen sometimes.
Expected Behavior
During OTA, if the socket breaks or has a timeout, restart the processor.
Actual Behavior
Socket times out, the OTA process gets frozen forever
Steps to repropduce

Get to really poor wifi rssi
do an OTA
repeat until an OTA freezes freezes (1 in 5 for me)

See attached pic

@hchaudhary1
We have refactored OTA example/s, and modified such that it uses esp_http_client component from IDF instead of lwIP socket level API.
Refer: https://github.com/espressif/esp-idf/commit/cdc792d72c3121db67d7360087fd59ab520d7ec7
Could you please try once with updated example in your environment?

As @mahavirj has pointed out, the OTA example/s now have support for esp_http_client component, which has a default timeout of 5000 ms after which the socket timeout occurs, and optionally, you can configure timeout in the esp_http_client_config_t struct.


GA scraper using nonce

This scrapes the current Technical College System of Georgia page, which contains all notices after Jan 1 2023.

Triggering tests by closing and reopening.


Can't get by name using decorator

This works:
        class AppX{
          foo() { console.log('foo')}
        };
        var container = new Container();
        container.registerTransient('AppX', AppX);
        var app = container.get('AppX');
        expect(app).toEqual(jasmine.any(AppX));

but this does not:
        @transient('AppX')
        class AppX{
          foo() { console.log('foo')}
        };
        var container = new Container();
        var app = container.get('AppX');
        expect(app).toEqual(jasmine.any(AppX));

I understand the reason is being the container does not have a handle to AppX when calling container.get('AppX') so autoRegister wouldn't able to find the function and get the meta data attached to it.
I want this feature for generic rendering, i.e. the engineer would not know the type in advance.
This is the best approach because each component (AppX) can decorate its intent usage.
If I have to rely on container.registerTransient(...), I need to find a place to do the registration where the container is known, and it becomes the responsibility of the consuming engineer (typically application engineer) to do the registration, not ideal.
would it work well if there is a Conatiner.decorationContainer that will have a hold of the references and the resolving logic will consult it at container.get()?
I would be happy to contribute.

@unional can you explain a little bit more about your setup?  Specifically this part:

I want this feature for generic rendering, i.e. the engineer would not know the type in advance.

How are these classes used- what does the developer ultimately do with all the string registration ids- are they used in @inject(..) statements or are they calling container.get as you have done in the test code above?
How do the modules containing these transient components get loaded?  (assuming if the dev doesn't know the class then they don't know the module ids either).

For generic rendering, the engineer do not know to need or access to the class.  The appropriate class is chosen based on the data and metadata coming in, typically from database.
So there are three engineer roles here. The framework engineer, the component engineer, and the application engineer.

The framework engineer wrote the framework.
The component engineer design the component.
The application engineer use the framework and component to write application.

The key part regarding responsibility is this:
The component engineer has the initial say on how the component should be used (e.g. singleton or transient, data type / structure it supports, what kind of customization is available, how extensible it is)
The application engineer can customize and extends the component, but they cannot fundamentally change some of the basic premises of the component. For example, whether the component should be used as a singleton or transient)

are they used in @inject(..) statements or are they calling container.get

Framework engineer and component engineer uses both.
Application engineer typically don't need to use any. When they need to, it would mostly be @inject (for generic DI, not for UI component). They would use container.get() if they want to further customize or create component, but that means they step into the component engineer role.

How do the modules containing these transient components get loaded?

The application engineer determine at the start of the application on which module they want to use, much like any UI framework such as kendo or jquery UI.

if the dev doesn't know the class then they don't know the module ids either

Yes and no. When you use any UI library in javascript, you are relying on documentation to know what is available. e.g. for webix:
webix.ui({
  rows:[
    { type:"header", template:"My App!" },
    { cols:[
      { view:"tree", data:tree_data, gravity:0.4, select:true },
      { view:"resizer" },
      { view:"datatable", autoConfig:true, data:grid_data }
    ]}
  ]
})

You need to know there are views called "tree", "resizer", and "datatable". You know the module id but you don't know the class.
Does it help? :tulip:

You will need to register the simple itself at app startup:
var container = new Container();
container.registerSingleton('AppX', AppX);

Just like with any server or other DI, if the key and the value are not the same, you need to perform configuration at application startup to tell it what is what. With the above registration, you can then do this.
@inject('AppX')
export class SomeOtherClass {
  cosntructor(app) { ... }
}


add a screenshot

Could you add a screenshot in the readme ?

Hi! yea, will do.

I will have to create "senseful" demo content also, so this will take a little longer, sorry. It's probably quicker to connect this repo/ui to your instance

screenshot added

demo content added. Simply clone or download the repo and open "typesense-ui.html". Hope you find the UI useful.

thank you  !


Release USB

There is no "clean" way to stop the usb connection without a shutdown!
It would be great if we were able to release the usb interface when deleting the PTPy class.
From what i have seen there is no real proper way to release the usb interface.

You can call the __shutdown method on the PTPy instance.
This means a "shutdown" of the class rather than a shutdown of the camera.
Note that it is possible to ask the physical shutdown of the camera through PTP as well... With the operation power_down using the same terminology as the PTP standard.
This will probably change in the future and will be dealt with automatically.

Looking at the current implementation, I find that either a normal exit of the Python program or an explicit call to the PTPy instance's _shutdown will result in the expected behaviour regarding USB release...
Is there another use case you had in mind?
Or a specific platform where this is not working?

Well what i was trying to do was controlling the sequoia with multiple PTP implementation. The transfer implementation of PTPy for photo transfer is super slow so i wanted to use an other program to fetch the pictures.  But i figured out a way to do it! and yes the shutdown method is working to release the usd interface. I would just include it in the class destructor so on the event of the the del method called it will still be possible to claim the udb again without closing the program.

I think it is dangerous to leave that to __del__.
As that will get called upon garbage collection.
And depending on the Python implementation that could happen right after del PTPy_instance, at the very end of the Python interpreter session, or anywhere in between... But PTPy_instance._shutdown() will be immediate.
I have tried locally and this will only rarely behave as expected. I think it's best to add that to the README as a known quirk.

Sequoia also has FTP implemented over RNDIS.
Though it will be less clear which files correspond to which capture. This shouldn't be a problem if you don't have some very finicky characterisation set-up to begin with.
Since it is a different set of USB endpoints you can probably use it at the same time without having to release USB.


[idea] Predefined tags

Just an Idea for improvement:
Would it be possible to define tags in the config, which are predefined (but editable) for every new note?
I'd like that to tag every clipped note e.g. as "webclip", so I am able to search for them later on.

That's a great idea! I played around with trying to pull tags from SilverBullet so you can select them in the clipper but it was all getting too hard. Your idea is a good compromise. I'll add it to the list. Thanks for the feedback.


feat(#9): home endpoints

@l3r8yJ take a look, please
ref #9

PR-Codex overview
The focus of this PR is to add new dependencies, implement routes for home endpoints, and create error handling structures.
Detailed summary

Added serde_json dependency
Added axum and tokio dependencies
Implemented routes for home endpoints
Created error handling structures for route errors

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@h1alexbel Oops, I failed. You can see the full log here (spent 10min)
Reading .yamllint.yml ...
    Updating crates.io index
 Downloading crates ...
  Downloaded hyper v1.3.1
  Downloaded httpdate v1.0.3
  Downloaded axum-core v0.4.3
  Downloaded num_cpus v1.16.0
  Downloaded futures-task v0.3.30
  Downloaded anyhow v1.0.86
  Downloaded tower-layer v0.3.2
  Downloaded pin-project-internal v1.1.5
  Downloaded futures-util v0.3.30
  Downloaded futures-core v0.3.30
  Downloaded httparse v1.8.0
  Downloaded pin-project-lite v0.2.14
  Downloaded tower-service v0.3.2
  Downloaded matchit v0.7.3
  Downloaded form_urlencoded v1.2.1
  Downloaded hyper-util v0.1.5
  Downloaded mime v0.3.17
  Downloaded rustversion v1.0.17
  Downloaded bytes v1.6.0
  Downloaded itoa v1.0.11
  Downloaded http-body-util v0.1.1
  Downloaded async-trait v0.1.80
  Downloaded fnv v1.0.7
  Downloaded quote v1.0.36
  Downloaded http-body v1.0.0
  Downloaded percent-encoding v2.3.1
  Downloaded log v0.4.21
  Downloaded ryu v1.0.18
  Downloaded memchr v2.7.2
  Downloaded proc-macro2 v1.0.84
  Downloaded serde v1.0.203
  Downloaded sync_wrapper v1.0.1
  Downloaded sync_wrapper v0.1.2
  Downloaded http v1.1.0
  Downloaded serde_path_to_error v0.1.16
  Downloaded mio v0.8.11
  Downloaded axum v0.7.5
  Downloaded once_cell v1.19.0
  Downloaded pin-utils v0.1.0
  Downloaded unicode-ident v1.0.12
  Downloaded pin-project v1.1.5
  Downloaded tokio-macros v2.3.0
  Downloaded serde_urlencoded v0.7.1
  Downloaded smallvec v1.13.2
  Downloaded futures-channel v0.3.30
  Downloaded serde_derive v1.0.203
  Downloaded socket2 v0.5.7
  Downloaded tracing v0.1.40
  Downloaded tracing-core v0.1.32
  Downloaded tower v0.4.13
  Downloaded serde_json v1.0.117
  Downloaded syn v2.0.66
  Downloaded tokio v1.38.0
  Downloaded libc v0.2.155
error: package `axum v0.7.5` cannot be built because it requires rustc 1.66 or newer, while the currently active rustc version is 1.63.0
container 6b03671e10d8743b3b0206ea116fd615e077280f354b309125cbbc17e8ab6c1b is dead
Sat Jun  1 15:25:06 UTC 2024

blocked by #11

@l3r8yJ can we try to install required rustc in install section inside .rultor.yml?

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@rultor stop

@rultor merge

@rultor stop

@h1alexbel OK, I'll try to stop current task.

@rultor stop

@h1alexbel Sorry, I failed to stop the previous command, however it has the following result: Oops, I failed. You can see the full log here (spent 2hr)
set -o pipefail
if [ -e /home/r/.profile ]; then source /home/r/.profile; fi
shopt -s expand_aliases
alias 'sudo=sudo -i'
export HOME=/home/r
cd "${HOME}/repo"
export 'head=git@github.com:h1alexbel/fakehub.git' ; export 'pull_id=10' ; export 'fork=git@github.com:h1alexbel/fakehub.git' ; export 'fork_branch=ghas' ; export 'head_branch=master' ; export 'pull_title=feat(#9): home endpoints' ; export 'author=h1alexbel' ; pdd --file=/dev/null ; sudo apt install rustc ; rustc -V ; cargo --color=never test -vv ; cargo --color=never fmt --check ; cargo doc --no-deps ; cargo clippy ;
+ su --login r --command /home/r/script.sh
Found 7 lines in /home/r/repo/.pdd
My version is 0.21.3
Ruby version is 2.7.0 at x86_64-linux
Reading from root dir .
Excluding target/**
Excluding xargs/**
/home/r/repo/resources/home.json is a binary file (2428 bytes)
/home/r/repo/.xcop is a binary file (0 bytes)
/home/r/repo/renovate.json is a binary file (106 bytes)
Reading .pdd ...
Reading src/main.rs ...
Reading src/routes/home.rs ...
Puzzle 9-8508d2b5 25/DEV at src/routes/home.rs
Reading src/routes/rs_err.rs ...
Reading src/routes/mod.rs ...
Reading clippy.toml ...
Reading .gitattributes ...
Reading .gitignore ...
Reading .github/workflows/reports-check.yml ...
Reading .github/workflows/license.yml ...
Reading .github/workflows/typos.yml ...
Reading .github/workflows/xcop.yml ...
Reading .github/workflows/actionlint.yml ...
Reading .github/workflows/yamllint.yml ...
Reading .github/workflows/year.yml ...
Reading .github/workflows/pdd.yml ...
Reading .github/workflows/cargo.yml ...
Reading README.md ...
Reading .rultor.yml ...
Reading Cargo.toml ...
Reading .markdownlint.yml ...
Reading .0pdd.yml ...
Reading LICENSE.txt ...
Reading .yamllint.yml ...

 Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

The following additional packages will be installed:
  libstd-rust-1.59 libstd-rust-dev
Suggested packages:
  cargo lld-13 clang-13
Recommended packages:
  llvm-13
The following NEW packages will be installed:
  libstd-rust-1.59 libstd-rust-dev rustc
0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded.
Need to get 76.3 MB of archives.
After this operation, 349 MB of additional disk space will be used.
Do you want to continue? [Y/n] 11c3d63bbcb3c9596431127354c0a211faecc5a869b7b49a5e7a24691f936c2f
Error response from daemon: Cannot kill container: 11c3d63bbcb3c9596431127354c0a211faecc5a869b7b49a5e7a24691f936c2f: container 11c3d63bbcb3c9596431127354c0a211faecc5a869b7b49a5e7a24691f936c2f is not running
container 11c3d63bbcb3c9596431127354c0a211faecc5a869b7b49a5e7a24691f936c2f is dead
Sun Jun  2 12:13:08 UTC 2024

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@h1alexbel Oops, I failed. You can see the full log here (spent 8min)
My version is 0.21.3
Ruby version is 2.7.0 at x86_64-linux
Reading from root dir .
Excluding target/**
Excluding xargs/**
/home/r/repo/resources/home.json is a binary file (2428 bytes)
/home/r/repo/.xcop is a binary file (0 bytes)
/home/r/repo/renovate.json is a binary file (106 bytes)
Reading .pdd ...
Reading src/main.rs ...
Reading src/routes/home.rs ...
Puzzle 9-8508d2b5 25/DEV at src/routes/home.rs
Reading src/routes/rs_err.rs ...
Reading src/routes/mod.rs ...
Reading clippy.toml ...
Reading .gitattributes ...
Reading .gitignore ...
Reading .github/workflows/reports-check.yml ...
Reading .github/workflows/license.yml ...
Reading .github/workflows/typos.yml ...
Reading .github/workflows/xcop.yml ...
Reading .github/workflows/actionlint.yml ...
Reading .github/workflows/yamllint.yml ...
Reading .github/workflows/year.yml ...
Reading .github/workflows/pdd.yml ...
Reading .github/workflows/cargo.yml ...
Reading README.md ...
Reading .rultor.yml ...
Reading Cargo.toml ...
Reading .markdownlint.yml ...
Reading .0pdd.yml ...
Reading LICENSE.txt ...
Reading .yamllint.yml ...

 Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

The following additional packages will be installed:
  libstd-rust-1.59 libstd-rust-dev
Suggested packages:
  cargo lld-13 clang-13
Recommended packages:
  llvm-13
The following NEW packages will be installed:
  libstd-rust-1.59 libstd-rust-dev rustc
0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded.
Need to get 76.3 MB of archives.
After this operation, 349 MB of additional disk space will be used.
\u001b[33m
0% [Working]\u001b[0m

Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libstd-rust-1.59 amd64 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 [39.6 MB]
\u001b[33m
0% [1 libstd-rust-1.59 0 B/39.6 MB 0%]\u001b[0m\u001b[33m
1% [1 libstd-rust-1.59 1,291 kB/39.6 MB 3%]\u001b[0m\u001b[33m
12% [1 libstd-rust-1.59 11.8 MB/39.6 MB 30%]\u001b[0m\u001b[33m
24% [1 libstd-rust-1.59 22.6 MB/39.6 MB 57%]\u001b[0m\u001b[33m
35% [1 libstd-rust-1.59 33.4 MB/39.6 MB 84%]\u001b[0m\u001b[33m

48% [Working]\u001b[0m

Ign:2 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libstd-rust-dev amd64 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2
\u001b[33m
48% [Working]\u001b[0m

Ign:3 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 rustc amd64 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2
\u001b[33m
48% [Working]\u001b[0m

Err:2 http://security.ubuntu.com/ubuntu focal-updates/universe amd64 libstd-rust-dev amd64 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2
  404  Not Found [IP: <IP_ADDRESS> 80]
\u001b[33m
48% [Working]\u001b[0m

Err:3 http://security.ubuntu.com/ubuntu focal-updates/universe amd64 rustc amd64 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2
  404  Not Found [IP: <IP_ADDRESS> 80]
\u001b[33m
48% [Working]\u001b[0m

Fetched 39.6 MB in 3s (14.5 MB/s)
\u001b[1;31mE: \u001b[0mFailed to fetch http://security.ubuntu.com/ubuntu/pool/universe/r/rustc/libstd-rust-dev_1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]\u001b[0m
\u001b[1;31mE: \u001b[0mFailed to fetch http://security.ubuntu.com/ubuntu/pool/universe/r/rustc/rustc_1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]\u001b[0m
\u001b[1;31mE: \u001b[0mUnable to fetch some archives, maybe run apt-get update or try with --fix-missing?\u001b[0m
container 7fddee71207626c13dd09b05ece9558b9d4ea3671d07d00590dcdbfa66dc4c01 is dead
Sun Jun  2 12:25:36 UTC 2024

@rultor merge

@h1alexbel looks like we need to debug rultor...

@l3r8yJ it's in outage for now

@h1alexbel you can close this pr, remove remote branch and reopen pr, maybe it will help

@l3r8yJ this repository is not connected to this outage, we can only wait for now

@h1alexbel whatsupp here?

@l3r8yJ @rultor still in the outage. we can merge this pr manually

@h1alexbel sure, wont wait


Create mynameistito.is-cool.dev

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] Your website is not hosting on the following due to SSL issues: Vercel, Netlify

Description

on my domain, I will be using it for a blog!
Link to Website

https://mynameistito.com

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

I have read the CLA Document and I hereby sign the CLA

recheck


'az vm show' results in No module named 'pwd'

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az vm show
Errors:
No module named 'pwd'
Traceback (most recent call last):
Temp\pip-install-z6h9b3s8\knack\knack\cli.py, ln 215, in invoke
azure\cli\core\commands\__init__.py, ln 552, in execute
azure-cli-core\azure\cli\core\__init__.py, ln 374, in load_arguments
azure\cli\command_modules\vm\__init__.py, ln 32, in load_arguments
azure\cli\command_modules\vm\_params.py, ln 662, in load_arguments
azure-cli-core\azure\cli\core\util.py, ln 490, in get_default_admin_username
Microsoft SDKs\Azure\CLI2\lib\getpass.py, ln 168, in getuser
    import pwd
ModuleNotFoundError: No module named 'pwd'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az vm show -r{} {} -n{} {} -s{}

Expected Behavior
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.6
Installer: MSI

azure-cli 2.4.0 *

Extensions:
interactive 0.4.3

Additional Context

hi @qwordy , could you pls have a look?

Hi @dmraymond , the version azure-cli 2.4.0 is very old. Could you upgrade to latest one and retry?


How do I use the tile controlnet?

I don't see it in the examples?
@xinsir6

in the promax folder, you can see it.