use php8.1, added setup readme

refs https://github.com/phpstan/phpstan/issues/6213
I was not able to end-to-end test this with phpstan
since I am runnning into local errors
staabm@MBP-von-Markus extractor % php extract.php

In ParserAbstract.php line 315:

  Syntax error, unexpected T_STRING, expecting T_VARIABLE on line 7

extract

staabm@MBP-von-Markus extractor % php -v
PHP 8.0.13 (cli) (built: Nov 28 2021 14:26:44) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.13, Copyright (c) Zend Technologies
    with Zend OPcache v8.0.13, Copyright (c), by Zend Technologies

I don't want to do it like that, it's gonna be more complicated. I described what I want to do here: https://github.com/phpstan/php-8-stubs/issues/6#issuecomment-992926200


Tag release

Hello. Could you tag a new release? I'd like to be able to use the protoc download feature without having to specify the build dependency from the github url or mess around with hosting it on an internal pypi index.

done!


Move ansible-galaxy answers to a subfolder

So that they can be linked from the tutorial instead of pointing to the GitHub page (which may point to a newer version of the answers if running an archived tutorial).
A common solution for the dev tutorials should be found, which have answers or other files in topics/dev/files/ . Ideally that would be something similar to what we have for workflows, e.g. https://training.galaxyproject.org/training-material/topics/transcriptomics/tutorials/ref-based/workflows/

@nsoranzo what did you mean by "answers" here?

This has been solved by using git-gat since commit 627b22721bc7946642c0509de0e980984e04d3d6 .


mouse/rat hexagons swapped on http://<IP_ADDRESS>:5000

mouse and rat hexagons are swapped on gene pages at http://<IP_ADDRESS>:5000.
that is, rat hexagon showing on mouse gene pages, mouse hexagon showing on rat gene pages.
can you guys please flip those?

Just updated the site to the latest dev.

Mice and rats are too similar. This is an upstream bug caused by nature. 😂


Foreign language in Office file types

Description
I have the Japanese IME installed on my PC, but its main interface is English. However, Files shows Microsoft Office file types in Japanese for some reason. File Explorer doesn't. Like so:

Steps To Reproduce

Install Japanese IME
Open a folder containing Microsoft Office files

Requirements
Fix incorrect display of files
Files Version
<IP_ADDRESS>
Windows Version
10.0.22635.2771
Log File
debug.log

Thanks for the report, I've added this to the project board.

Thank you for the bug report. I have the same issue.
I guess the Office product has added those values in the Windows Registry on installed, in language you set on installing. And those values are, of course, hardcoded so we won't have no way to change them to be shown in the same language as Files app. The File Explorer follows Windows system language so you have probably never encountered this issue yet, however, once you changed the system language to another one you, I assume, will encounter this issue in the File Explorer as well.
If you have time, please change the system language to another one and see what will happen in File Explorer.

Thank you for the bug report. I have the same issue.
The Office product has added those values in the Windows Registry on installed, in language you set on installing (Japanese/ja-JP). And those values are hardcoded and I think this issue persists in the File Explorer too. The reason why the others are shown properly is because Windows have modified the Windows Registry when you've changed system language. But these are from the  Office product no from Windows and so neither of us nor Windows cannot figure our a way to modify when you change the system language.
You can see those values in regedit.exe with the path HKEY_CLASSES_ROOT -> .xlsx -> ...


xgboost does not train from existing model in distributed environment

When continuing training xgboost from an existing model in distributed environment with more than 3 workers, xgboost does not train: nothing happens in workers and it never finishes. But in local cluster or distributed cluster with less than 3 workers, the training happens and finishes.
dxgb.train(client, params, X_train, y_train,
xgb_model=existing_model,...)

Do you know why that might be?
Do things work if you use the native dask integration? https://xgboost.readthedocs.io/en/latest/tutorials/dask.html

I don't know why. The native dask integration in the link can train from existing model.
However, I have a different problem with it. Its performance is just like random in distributed environment vs. good performance from Dask xgboost with the same parameters and data.

I'm not sure why that would be, but the usual recommendation is to create a
performance report:
https://distributed.dask.org/en/latest/diagnosing-performance.html#performance-reports
On Mon, Mar 16, 2020 at 6:45 PM tuanatrieu<EMAIL_ADDRESS>wrote:

I don't know why. The native dask integration in the link can train from
existing model.
However, I have a different problem with it. Its performance is just like
random in distributed environment vs. good performance from Dask xgboost
with the same parameters and data.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-xgboost/issues/70#issuecomment-599807270,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKAOIVHPPOY5YKVF6KTKFLRH22ZJANCNFSM4LKICDDQ
.

I can create a performance report, but the thing is that the training does not seem to happen and never finish even if I build just one tree. CPU usage in all workers are %2-6% (vs. ~ +100% CPU usage if I remove the parameter xgb_model). If you have any suggestion for how to debug it, please let me know.

Just a blind guess, have you tried deleting dask-worker-space and storage directories that Dask creates.
They will be wherever temporary-directory is set to. This most likely would be set in ~/.config/dask/dask.yaml, but could be configured in other places depending on what your code might be doing. If unspecified, these will be in the same directory you ran the script or notebook from.

Thank for the suggestion. I had dask-worker-space  in my folder, after removing it, I can train with several workers on a small dataset. So, I moved to submit the job with skein instead of using my edgnode as client. But, when I increase the dataset size (< 1Gb), it does not train again. Looking at the log, I can see only one worker started the hist algorithm but did not progress to build any tree. And nothing happened at other workers.


Better detection of travis-ci vs pro

Currently if there is an env variable for repo token, plugin assumes it is travis-pro. This is not entirely correct. Since I have some integration tests, I am sending jacoco reports from my computer, not from travis. For this I need the env variable to be set, and yet I am using travis-ci not pro.

I have this problem too. The problem can be easily solved if coveralls-gradle-plugin doesn't ignore the environment variables for the serviceName which is CI_NAME. AS you can see, it is not used at all. So I think the CI_NAME should be also checked here and used here.

I've just uploaded the fixed one to my bintray repo and it works. Now I can see Coveralls's test coverage results.
If you want to test it, add the following info accordingly in your build.gradle.
buildscript {
  repositories {
    jcenter()
    mavenCentral()
    maven {
      url  "http://dl.bintray.com/kevinlee/maven"
    }
  }
  dependencies {
    classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.3.2'
  }
}


Update rename-transact-sql.md

Adding a note to let users know that renaming of SQL Pools is not supported at the moment.

@mariyaali : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@WilliamDAssafMSFT

@mariyaali : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Update Pull request template with more context on the "Type of change" field

Summary: Update Pull request template with more context on the "Type of change" field
Relevant Issues: N/A
Type of change: /kind documentation
Test Plan:
When I created my first PR with the new workflow (#735), I was confused on if the /kind  prefix mattered. A description like this would have cleared up my confusion.

test this please

@pixie-labs-buildbot test this please

@pixie-labs-buildbot test this please

@pixie-labs-buildbot test this please


OpenXR Hang on CreateInstance

Summary
Initializing an OpenXR instance causes a hang.

I'm still trying to gather more information about this, but it is happening in my FocusEngine using the latest Silk.NET 2.21 release.
Steam VR 2.7.4, Pico 4

It works when I use the null driver and another user with a Vive HMD works:

So... appears to be a Pico-related issue

Strange, just seems to be working now after retrying after the null driver...


add CHANSERV DEOP

From discussion with bogdomania on freenode; since we provide CHANSERV OP, it might also be helpful to provide DEOP.

yeah this makes sense for sure. note to self: if we don't already (or with the current manual PR), we should explicitly document in there for peeps looking for CHANSERV AOP/HOP/etc, easily greppable

And maybe the rest of the list:
Admin, halfop, voiced users :)
It would be handy to just /cs #channel +v nick, without having to get @

re. "/cs #channel +v nick": #692 allowed /mode changes from channel founders even when they aren't opped.


Canola Press crashing client on dedicated server

Adding canola to the press immediately crashes the user
crash-2024-12-30_23.16.16-client.txt

Adding it through a hopper seems fine. So does removing the canola.


I can not save a new file in a .csp already versioned folder

After I add a folder with CSP pages to version control I can not create any more .csp file in it.
After creating the new file I try to save him and the error message as the image below.

My workstation is in pt-BR, so the translation of the message is: "ERROR #5012: The file 'c:\temp\TESTE_VERSIONAMENTO\csp\teste\Untitled4.csp.xml' not exists"

Pull request #23

Can you please provide output of
zwrite ^Git from namespace where error happens

This file really not exists, the problem is the "OnBeforeLoad" from %SourceControl.Git is executed before creating the file also.

I don't think that this is the problem OnBeforeLoad should not throw error if there are no external file.

Yes, i agree. The problem happens when the " LoadIfOutdated " method tries to load the file and it does not exist. I think we can fix this by validating method if the file actually exists.

Ok, it's resolved but my last commit resolved a potencial bug too.
You can merge?

I think we don't need to check that file exists in LoadIfOutdated because IsRoutineOutdated should return false if there is no corresponding file on disk, so there is no need to merge.

In my opinion the most correct is to validate if the file or routine exists and don't set a fictious date to this.
So for me the responsibilities of validations are confused , if we think of quality as correct code would be to separate these validations .


Optionally preserve raw literals

This adds a 'raw' property to all Syntax.Literal nodes. We ignore this property for the SpiderMonkey compatibility tests, as the Mozilla parser API does not return raw literals.
The patch also includes property access optimization, in a separate commit. This compensates for some of the performance loss introduced by the raw literal tracking.

Moved all Syntax.Literal creation to separate function.
Added a 'raw' option.
Added checkbox for 'raw' option in parser demo.
Updated test code to run with enabled 'raw' option.

Issue: http://code.google.com/p/esprima/issues/detail?id=78

Merged. Thanks!


Add Bogdan and Markus's Twitter links to the mentolabs team page

https://twitter.com/boqdan_
https://twitter.com/MarkusMento

@bowd I believe you're looking for the https://github.com/mento-protocol/mento-labs-landing repo here :)

https://github.com/mento-protocol/mento-labs-landing/pull/13/files


[BUG]fix unknown setting [plugins.security.disabled] issue

Description
Issue is caused by security plugins not available in plugins folder. Need to add a check before set plugins.security.disabled to the config file.
Issue Resolved:
https://github.com/opensearch-project/opensearch-dashboards-functional-test/issues/473

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Could @ananzh sync up with @kavilla? https://github.com/opensearch-project/opensearch-dashboards-functional-test/pull/470/files


Does not export images in conditionally rendered components

Describe the bug
I've recently started using next-export-optimize-images, and have arrived at the issue that images in conditionally rendered components, such as a modal or different component view, do not export and gives me 404 error for any images that are meant to be in these types of components. It looks like the src and srcset are renamed, but the images are missing.
To Reproduce
Steps to reproduce the behavior:

Create a conditionally rendered component (e.g. using state)
Build app
Open relevant page
Toggle the component to be shown
Images give 404 error

Expected behavior
Images to be exported and optimised in conditionally rendered components. Not get a 404 error.
Screenshots

Desktop (please complete the following information):

OS: macOS 13.2.1
Browser: Chrome
Version: 114.0.5735.198

Try using the latest ver of next-export-optimize-images!
This one is now supported in 3.0 👍

I've also been getting the issues 'Element type is invalid' and 'Does not work with output: export' - this is why I had to downgrade both Next.js and next-export-optimize-images...

I see...
In my environment, "Element type is invalid" and "Does not work with output: export" do not appear...

Next.js 13.4.9
next-export-optimize-images 3.0.6

If you don't mind, could you please share your repositories, etc.?

Unfortunately it is a private repo that I am unable to share - however I also tried a downgrade to next 13.4.7 and next-export-optimize-images 3.0.5
However, now it does not seem to export images using the following in my next.config.js. Only images in the public directory...

外部画像に関しては、ビルド時に全てを検知するのは不可能なので明示的に記述する必要があります！
https://next-export-optimize-images.vercel.app/docs/Features/external-images
(やや面倒なのですが・・・)

That really makes it difficult for me since they are all coming from Prismic as a dynamic source - which means they will be changing over time. e.g. between builds. They also have dynamically generated img url. This was working previously in v2.1.0

A disruptive change was made in v3.0.0.
This is to ensure that image optimization is performed for components that are not detectable at build time, such as dynamically switching components like the first one you mentioned.
However, the change also affects external images.
Originally, only images that could be detected at build time were targeted, so external images could be detected as well.
However, in order to optimize for images that are not detected at build time and to ensure consistency of behavior, we have explicitly changed the description of images that are not locally available, such as external images.

I can't do it yet, but what if we multiply it by the following?
// export-images.config.js

module.exports = {
  remoteImages: async () => {
    // Image acquisition process
    const imageUrls = await getImageUrls()
    return imageUrls
  },
}

Well, I can only say that it depends on the application...
Basically, it should be done in the same way as the process of retrieving content from the CMS.

I'm trying to search through the cms, but it is looking quite difficult for me. Is there a way to include all remote urls (that match the remotePatterns from next.config.js) that are used in the next/image component?

Oh wow that was quick!

I'm not familiar with Prismic ...
Am I correct in getting the following?
https://prismic.io/docs/fetch-data-nextjs

Yes that is usually how I get data from the pages, however I'm currently trying to fetch data using this since it is in the config Fetch data vanilla javascript

If the data retrieval that is done at the point where the images are passed to next/image is also done in export-images.config.js, it would be possible to retrieve all the images used in the site!?

Would it be possible to get the urls from within the next-export-optimize-images/dist/components/image component?

I think it would be difficult because it would be difficult to get only at build time ...

It would have to be retrieved at build time, since new images are often added to the CMS. The CMS update then requires a new build

Perhaps you could do the following?
I am not familiar with Prismic so I am not sure it is perfect.
// index.jsx

export default function Page() {
  const [data, setData] = useState()
  useEffect(() => {
    client.getAllByType('blog_post').then((results) => setData(results))
  }, [])

  return (

      {results.map((content) => (

          //

      ))}

  )
}

// exprot-images.config.js

module.exports = {
  remoteImages: async () => {
    const results = await client.getAllByType('blog_post')
    return results.map((result) => result.image.url)
  }
}

Yes somewhat, however I have multiple pages with multiple images deeply nested

I see.
By the way, why not get the images directly from Prismic?
Prismic seems to have image optimization, so it seems like a good idea to use that as well.

I have tried, unfortunately it does not cache and reduces the speed as then we rely on Prismic servers (which are often slow, depending on the location)

Perhaps if I use the picture tag and set the fm and w parameters manually, it might be somewhat faster.
While it is convenient to use parameters that automate that area, does it take some time until they are generated once?

I've gotten this so far... when the same code is in a page it returns all images urls in an array. It does not seem to fetch the urls in the config file. I have now updated to<EMAIL_ADDRESS>and<EMAIL_ADDRESS>import * as prismic from '@prismicio/client'

module.exports = {
  remoteImages: async () => {
    const repositoryName = '****'
    const accessToken = '****'
    const routes = [
      {
        type: 'home',
        path: '/',
      },
      {
        type: 'services',
        path: '/services',
      },
      {
        type: 'service',
        path: '/services/:uid',
      },
      {
        type: 'work',
        path: '/work',
      },
      {
        type: 'case_studies',
        path: '/case-studies',
      },
      {
        type: 'case_study',
        path: '/case-studies/:uid',
      },
      {
        type: 'about',
        path: '/about',
      },
      {
        type: 'contact',
        path: '/contact',
      },
    ]
    const client = prismic.createClient(repositoryName, { routes, accessToken })

    let images = []
    function searchForImages(jsonArray) {
      jsonArray.forEach(function(jsonObj) {
        for (var key in jsonObj) {
          if (typeof jsonObj[key] === 'object') {
            searchForImages([jsonObj[key]]);
          } else if (typeof jsonObj[key] === 'string' && key !== 'meta_image') {
            if (jsonObj[key].includes('.jpg') || jsonObj[key].includes('.png')) {
              images.push(jsonObj[key])
            }
          }
        }
      });
    }

    const home = await client.getSingle('home')
    const services = await client.getSingle('services')
    const service = await client.getAllByType('service')
    const work_item = await client.getAllByType('work_item')
    const case_studies = await client.getSingle('case_studies')
    const case_study = await client.getAllByType('case_study')
    const about = await client.getSingle('about')

    searchForImages([home, services, service, work_item, case_studies, case_study, about])

    return images
  },

I've added an async.. await to the searchForImages() function, still no luck in remoteImages picking these urls up and returning optimised assets. See updated comment above ^
I'm also getting an error for images in the public folder: "Error: ENOENT: no such file or directory". Not sure what to do about that either, I wasn't really planning on optimising the assets in the public directory since it is mainly small UI elements or favicon. Is there an option to turn this off or ignore certain files?


Plan 5-server Drupal App Architecture

Initial idea

1 - Git server, Nginx load balance/reverse proxy
2 - Web server (Apache + PHP), Memcached
3 - Web server (Apache + PHP), Memcached
4 - Web server (Apache + PHP), Memcached
5 - Database server (MySQL single master)

Architectural questions

Memcached on dedicated server (#4) instead of distributed? (Do a few benchmarks to see what's fastest).
Varnish instead of Nginx for load balance and reverse proxy? (Maybe just whatever's quicker/simpler).
Should we go master/slave for MySQL instead of single server? (Might add too much complexity).

I'm going to go with Nginx everywhere, and a Redis caching server... feels like it may be simpler to get up and running quickly.
I might reconsider using Redis over Memcached, depending on D8 integration status; see Memcached (has a dev release) and Redis (8.x branch is in a sandbox currently).


factorial of a number in python

hey there,
added a python code for factorial

Can you update both the README also?


Deposit flow from collateral window

Story
As a new user of vega
I want to immediately see how to make a deposit and start trading from the UI
So that I can get started without having to find the right place to go
Acceptance Criteria

[ ] There is a call to action to deposit collateral when you have not connected your vega wallet e.g."deposit collateral" when there is no wallet connected , on the collateral tab, with intro copy e.g. "Deposit funds & start trading."
[ ] This is visible when you first come to console

Tasks

[x] Explore and sketch
[x] Team and stakeholder review
[ ] Visual Design
[ ] Dev
[ ] Test

Sketch
Collateral tab and its sibling tabs
Miro source

Additional details / background info

This task was split from https://github.com/vegaprotocol/frontend-monorepo/issues/2145. This ticket only concerns the entry points to the deposit form. The other ticket focuses on the experience in the deposit form.

@MadalinaRaicu lets go with option two, we should be able to update the collateral table to accept an asset id to pin that assets row to the top


Create console_chat_attachments.py

The idea is to write prompts with filepath of the attachments, like this " I want to add {{filepath=./file.csv}} and Provide summary of this file"

Hey , you have done a such a pretty cool work man. But usecases folder for realtime examples like discord bot, slack bot,chat app,etc...  .If you can come up with them please PR.
Thank You!


[ServiceBus] An exception occurred while creating receive link for identifier in Azure Functions

Library name and version
Azure.Messaging.ServiceBus 7.10.0
Query/Question
We recently upgraded to Azure.Messaging.ServiceBus from Microsoft.Azure.ServiceBus in our Azure Functions project. We connect to the bus using Managed Identity.
In our logs we now receive the following error like once a day.

Is this a bug in the Azure.Messaging.ServiceBus library? Can we ignore this error or what is the reason this is occuring?
Environment
Azure Function runtime version 4
dotnet 6.0.8

Hi @Hydrakus.   Thank you for reaching out and we regret that you're experiencing difficulties.   The stack trace that you provided seems to indicate a transient network failure.  This is automatically retried and should not impact operation of the Function.  Unless you're seeing these frequently or clustered for a period of time, they are safe to ignore.

Similar to https://github.com/Azure/azure-sdk-for-net/issues/30745. I'd like to reduce the log level for these instances to verbose as they occur within a retry policy that may end up retrying the operation. If the final retry fails, an error will get logged anyway by the receiver.

We have been seeing these errors more and more lately. There was a period of time yesterday (9/21/2022) between 9AM and 1PM where we had approximately 10 of these exceptions across multiple Azure Functions.  I agree with @JoshLove-msft that these should be treated as warnings.

Thank you @JoshLove-msft !

Thanks for fixing this. We are having the same issue and wondering when this fix would be released? or is it already?

It will be released sometime next week in 7.11.0.

We are still receiving similar errors.

Is the fix in? If it is, is this a different error that we can ignore?

We've also started seeing this issue in connection to when we're deploying our Function App that uses ServiceBus


Enable sound on main window

Hello. i just finished setting up displaycams to show streams from a sheep barn. its purpous is to monitor the animals i relations to giving birth. it works wonderfull. having two streams rotating one on-screen and one-off screen. but i miss to have the audio track playing on the stream that is on the main window. hope this is a feature wich can easaly be added?
and pleas forgive my bad non native english.
Hallvar

I think I can do this.  Give me a few days.  It'll probably be a set of options: enable_audio, volume_level, audio_stream (in case audio streams aren't the default), audio_output (for jack vs hdmi vs both).  If the first two have values, the system will enable >0 volume on whatever stream is in windows 0 (the first defined, usually top left) and disable it on the rest.

Turns out this is a lot more involved than I thought (mostly in the calculating the correct feed on which to turn off sound when rotating it out of the first window), and I want to clean up some changes implemented to allow for 'screen flop' style rotation before attacking this (what ends up being a significant change).  You'll have to give me a few weeks.

Thats fine, im trying to just capture the audio from one stream and have it playing continuisly in the background for now.

Is Therese prehaps some kind of workaround i can use to enable audio on one of my streams? If i can enable allover i can also just remove one mic on a camera to avoid echo. My VLC workaround is sadly a bit unstable.

The problem is turning sound on and off when folks are using rotation and want a feed on screen to be the one playing.  I JUST wrote a branch with exactly those edits (although -o hdmi shouldn't theoretically be required) before I saw your edit.

@skjeggape cool this works also for me!!
i have also a client who cannot walk anymore and i must make him a cam outside the house to look his birds....
and is also now fantastic when he can now also listen his birds...
thanks so much
Benny


unc0ver says unsupported

I got unc0ver for my iPhone XR, clicked on it and where it is meant to say Jailbreak it says Unsupported and i don't know why.
I'm running ios 12.4

The iPhone XR is not supported. Partial support is available if you compile 3.5.3; though Cydia is not compatible with the iPhone XR due to the A12 chipset.

Support for A12 devices is in 3.5.5 however. I would upgrade to that point release

It does say jailbreak now but it doesn't install Cydia app yet. I'll just wait untill it can fix itself

Yeah, I believe we’re all just waiting for Cydia to be fixed at this point, does anyone know any way around this?

@HonoringBills Tweaks aren't supported yet by uncover 3.5.6.
Currently, the jailbreak gives you access to SSH and remount filesystem as read-write.
If you want cydia and tweaks, either help with the development or wait.


Model runs on CPU instead of GPU

Hello, I am kinda noobie in LLM models. Trying out this new UI h2ogpt on my local computer with 3070Ti 8GB.
I am launching 4b model fromQ&A section command
python generate.py --base_model=h2oai/h2ogpt-gm-oasst1-en-2048-falcon-7b-v3 --hf_embedding_model=sentence-transformers/all-MiniLM-L6-v2 --score_model=None --load_4bit=True --langchain_mode='MyData'
which runs very slow and it seems like, it does not use GPU memory at all. Instead it seems like CPU and RAM do all the work.
I am confuced, please tell me what I am doing wrong

Same problem i faced today. I am using conda. While conda activated "conda install cudatoolkit" this command solve my problem.

You guys using linux, windows, or mac?

I am using Windows 11. I was using step-by-step guide to set up UI, idk, it might be relevant.
@brooqs, thank you for sharing, I will try your solution on my machine in, approximatly, 8 hours :)

You guys using linux, windows, or mac?

I am using ubuntu 22.04 LTS.

Did you check that torch uses GPU?
then check that can see CUDA from Torch:
```python
import torch
print(torch.cuda.is_available())

should print True.

Need to ensure torch is installed with

pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu118

I installed cudatoolkit in my venv and it didnt solve the problem 😞
Activated command for torch installment on user while venv was active.
pip install --user -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu118
But model still runs w\o GRU resources, torch test still showing false
python
import torch
print(torch.cuda.is_available())```

Why do you have the --user option?  It's like your env isn't conda, you shouldn't need that.

I revamped and fully tested the docs for windows, please try again: https://github.com/h2oai/h2ogpt/blob/main/docs/README_WINDOWS.md


Issue #685 minor doc clarification

Summary:
Clarification of necessary file creation.
Intended Effect:
End user convenience.
Copyright and Licensing
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:
Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Let me know I if got it right or am needing something additional.

I'm afraid not.  We need an indication of who the copyright holder is (usually you or your company, depending on employment contract) and an indication that the code's being licensed under BSD and doc under CC BY.
Sorry again for the all the boilerplate required for a one-word change.  We just want to make sure we have a copyright trail for every contribution.

@bob-carpenter, Oliver changed the PR description to include the copyright holder.
(I haven't found a way to get GitHub to send a notification when the description changes.)


Fix breaking new lines on streaming

Should fix #1478.

I actually discovered the same thing in the refactor: https://github.com/styled-components/styled-components/pull/1501/files#diff-4ebce830858431daa5d5e4570438264aR284
comp.css += '\n'
^ the trailing newline here shouldn't be necessary as the marker (/* sc-component-id: sc-keyframes-keyframe_0 */) contains a leading and a trailing one (not sure if this is inconsistent on master)

@kitten Yeah I think it's not really necessary, I actually kept there because I thought the old version was trying to add the new line.

@hakimelek I’m just really careful with these things as we accidentally broke the rehydration before 😅

Please take a look at this PR now that it’s merged since it should also address this problem. Thank you either way for contributing and feel free to reopen it if it is still relevant. Cheers! 👍😊 https://github.com/styled-components/styled-components/pull/1501


Prevent addition of 2nd /__partial/... suffix to Realm path as a result of partial: true

Currently, if one specifies a sync URL with a path that explicitly contains the __partial/<unique ident> suffix, and then also enables partial sync through partial property on sync config object, then the path that is sent to the server, will end up containing the substring /__partial/ twice.
This pushes the server into undefined territory, and can easily lead to a server-side crash.
The right solution seems to be, to prevent object store from adding the partial suffix to a path that already has a partial suffix.
From the point of view of the server, a path has a partial suffix if, and only if the path matches the regular expression, /__partial/[^/]*$.
In my opinion, and for extra safety, we should actually go one step further, and disallow the partial suffix on any application specified sync URL path, regardless of whether partial: true is specified or not. A consequence of this, of course, is that it will no longer be possible to bypass the partial sync API, but I think that is the desirable, as it also prevents accidental activation of partial sync mode.
cc @bdash
For some context, see https://github.com/realm/ros/issues/529#issuecomment-336603233.

I prefer the option where we completely reject paths containing the string __partial. We may want to go one step further and simply reject any path with a component prefixed by __, so we can use those in the future.

@austinzheng Sounds good to me.

I don't think we can reject anything leading with __ since we need to allowing opening internal ROS Realms that also follow that convention.

Will we ever need bindings to explicitly open those internal ROS Realms, versus opening them within object store and exposing APIs to work with them (like what we've done for permissions)?

The bindings currently open some of those Realms directly, and ROS does also.


automatically create pv for pending pvc

I tried to run this command, but the pv is not automatic create for the pending pvc like GKE
I use local-path-provisioner deploy by helm chart with
helm install --name=local-path-provisioner ./deploy/chart/
Thank in advance
helm install --name=redis stable/redis

kubectl get pvc
NAME                                STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS   AGE
data-redis-core-redis-ha-server-0   Pending                                                     2m30s

kubectl get sc
Name:                  local-path
IsDefaultClass:        No
Annotations:           <none>
Provisioner:           cluster.local/local-path-provisioner
Parameters:            <none>
AllowVolumeExpansion:  <unset>
MountOptions:          <none>
ReclaimPolicy:         Delete
VolumeBindingMode:     WaitForFirstConsumer
Events:                <none>

kubectl get pod
local-path-provisioner-f856c74cf-jqv8v   1/1     Running   0          10m

I solved it by enable defaultClass: true in local-path sc


Docker swarm error messages

Took me while to figure out the the error was coming from Swarm not being able to parse something in the docker compose file. Maybe the error messages could be improved a bit?
docker-flow -f books/docker-compose-test.yml -b -p books -t books -c http://consul-1.example.com:8500 -F deploy
>> Docker Flow: Deploying (books-blue)...
Pulling books-blue (docker.example.com/books:master)...
No stopped containers
Creating books_books-blue_1
json: cannot unmarshal string into Go value of type int64
>> Docker Flow: The deployment phase failed (up)
Docker Compose command &{/usr/local/bin/docker-compose [docker-compose -f docker-compose-flow.yml.tmp -p books up -d books-blue] []  <nil> 0xc208036008 0xc208036010 [] <nil> 0xc20801f1a0 exit status 1 <nil> true [0xc2080360d0 0xc208036008 0xc208036010] [0xc2080360d0] [] [] 0xc20802a720}
exit status 1

In fact the cpu_shares was in wrong format:
books:
    image: docker.example.com/books:${IMAGE_TAG}
    restart: always
    ports:
      - '8080'
    environment:
      - SERVICE_8080_NAME=${SERVICE_NAME}
      - SERVICE_TAGS=${SERVICE_TAGS}
      - SERVICE_8080_CHECK_HTTP=${HEALTH_CHECK_PATH}
    cpu_shares: 0,1
    mem_limit: 300M

The error messages have been improved in the release 1.0.2. Some errors come from Docker and/or Docker Compose. In such cases, the Docker Flow output will contain the error as reported by Docker and/or Docker Compose.
In this particular case, the error message with the latest release would be as follows.
ERROR: for app  json: cannot unmarshal string into Go value of type int64
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "compose/cli/main.py", line 63, in main
AttributeError: 'ProjectError' object has no attribute 'msg'
docker-compose returned -1

Please try the new release and let me know if the current way of reporting errors is acceptable.

The release 1.0.2 can be downloaded from https://github.com/vfarcic/docker-flow/releases/tag/v1.0.2

Please note that, even though this issue was reported for docker-flow-proxy, the root cause (and the fix) is inside docker-flow.


Sampling rate of VGGish

Hi, i am new to VGGish and i want to use it to extract audio features. The website says the feature tensor will be 128-d and correspond to 0.96s of the original video. Can i change this sampling rate to other numbers? I see I3D model provieds some arguments to do this(like stack_size and step_size), can i do this in VGGish?

Hi. We are on the same page here, I guess.
0.96s and the sampling rate corresponds to the official implementation. I have not tried it with different hyperparameters.
So, my answer is: I don't know.
What I would do to try it:

Append the classification head (+PCA as in the implementation) to the backbone
And look at the outputs, e.g. if the predicted classes are meaningful or not.

This is what my show_pred argument is for. However, I didn't implement it for VGGish yet (you could do it, perhaps :) ).

Closing this as it is not really an issue of this repo but feel free to ask more questions.

A similar question: https://github.com/v-iashin/MDVC/issues/27

Thanks for your quick reply. I will try to figure out if it's possible to make changes in VGGish :)

Hi, I take a look at the source code of VGGish and find that it is possible to change the sampling rate of input audios.
It seems that we just need to modify the args EXAMPLE_WINDOW_SECONDS and EXAMPLE_HOP_SECONDS in vggish_params.py and the length of the output feature vector changes.
The default value of above two args is both 0.96, so the sampling strategy is 1 feature vector <---> 0.96s of the input and feature vectors do not overlap.
I change the two args to my video sampling strategy and the output feature length is the same with my video feature length now. (almost, for there maybe some slight changes in values)
I am not quite sure about this, but i would like to try in my own project now.
Thank you for integrating VGGish in this repo again. ^ ^

Oh, i know. I understand what you mean, it's hard to know unless check this.


Fixes #7438 (more clearly define the payment_addr field in all documentation)

Changes made
This PR fixes #7438
Added -
In various situations, the payment_secret is used as an alternative term for payment_addr in required places.
Changed Files-
lnrpc/invoicesrpc/invoices.proto
lnrpc/lightning.proto
lnrpc/lightning.proto

@AndySchroder @guggero Please review my PR. Let me know if it requires more changes.

I didn't understand, what does no-itest and no-changlelog label exactly mean? @guggero


when i play the song, error occurs queuer not in voice

Please tick all applicable boxes.

[x] I am using Python 3.5.3 or higher (run python --version on the command line)
[x] I have followed the official guides to install the bot for my system
[x] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[x] release-260819-5-gc87dc05

What type of issue are you creating?

[x] Bug
[ ] Feature request
[ ] Question

Description of issue
This error occurs when I play the song "Skipping next song in added by as queuer not in voice". How do i resolve this problem?
Steps to reproduce

Log file
Please attach your MusicBot log file (located at logs/musicbot.log) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.
musicbot.log

Are intents enabled?

Can't seem to get this issue myself, and no response from OP.


Remove deprecated each_child and each_clip functions

Signed-off-by: Darby Johnston<EMAIL_ADDRESS>Fixes #1409
This PR removes the deprecated Python functions "each_child" and "each_clip", replacing them with "children_if" and "clip_if".
Python is not my expertise so here are a couple of notes about the changes I wasn't sure about:

stack.py and track.py effectively became empty files after removing the functions. The linter didn't like Python files with just imports so I removed them.
In a previous PR I had removed the function "each_clip" in clip.py which caused some issues and was later reverted. This time I renamed it to "clip_if", is that necessary?
As far as I understand the "each_child" and "each_clip" functions were iterators? The new functions return lists, so the couple places that were calling "next" I replaced with a list index.

From TSC meeting: Should we consider adding something like all_children and all_clips for readability in the cases where there are no predicates?

Maybe get_children and get_clips to make it obvious that they are not properties?

Codecov Report

Merging #1437 (cc80b55) into main (33cae7d) will decrease coverage by 0.09%.
The diff coverage is 74.12%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1437      +/-   ##
==========================================
- Coverage   78.89%   78.80%   -0.10%
==========================================
  Files         200      198       -2
  Lines       21724    21743      +19
  Branches     4403     4421      +18
==========================================
- Hits        17140    17135       -5
- Misses       2354     2363       +9
- Partials     2230     2245      +15

Flag
Coverage Δ

py-unittests
78.80% <74.12%> (-0.10%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/opentimelineio/serializableCollection.h
36.66% <0.00%> (-2.62%)
:arrow_down:

src/opentimelineio/stack.cpp
53.03% <0.00%> (-1.66%)
:arrow_down:

src/opentimelineio/track.h
100.00% <ø> (ø)

...timelineio/opentimelineio/algorithms/stack_algo.py
64.28% <0.00%> (ø)

...-opentimelineio/opentimelineio/core/composition.py
100.00% <ø> (ø)

...y-opentimelineio/opentimelineio/schema/__init__.py
100.00% <ø> (ø)

...o/opentimelineio/schema/serializable_collection.py
100.00% <ø> (ø)

...y-opentimelineio/opentimelineio/schema/timeline.py
100.00% <ø> (ø)

tests/test_item.py
98.66% <ø> (ø)

...entimelineio-bindings/otio_serializableObjects.cpp
27.58% <42.22%> (+0.99%)
:arrow_up:

... and 26 more

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 b52667d...cc80b55. Read the comment docs.

I added the "all_children()" and "all_clips" functions, check out the changes and see if they look reasonable. I think in the meeting we had talked about them being Python functions, but I thought if they are useful why not add them to the C++ API as well? It might also be worth considering adding convenience functions for getting the first child or clip which can be useful.
I'm not sure why the "deps" directory is showing up in this PR, I think it got added when I merged the latest code from main.

I think I fixed the "deps" commits but I'm not sure why they changed when I merged the main branch. Just for reference here are the steps I used:
Show the differences:
$ git diff main..remove_each_child -- src/deps
diff --git a/src/deps/optional-lite b/src/deps/optional-lite
...

I'm not sure, does it?

Ok, no it doesn't need a rebase. When I checked last, the diff also showed all the CI modifications for Python 3.11.

I re-ran all the checks just now.

codecov failed straight up again. @JeanChristopheMorinPerso Do you know what the issue is?

I unfortunately have no idea why it failed. Maybe just a glitch in the matrix... I'm guessing a retry might work.

I think it may be an intermittent issue with CodeCov, I had a similar failure in one of my projects recently.

@JeanChristopheMorinPerso You had suggested some alternate names:

Maybe get_children and get_clips to make it obvious that they are not properties?

I'm not very familiar with Python, what is the issue with properties?

I'm not very familiar with Python, what is the issue with properties?

Oh I missed your message. Nothing wrong with properties. My comment was more about the fact that all_children sounds like it is a property while it is actually a method. Python being Python, it's quite easy to think that something is a property and not call it like a method/function and it will still work but won't do what we think it would do.

I'd like to suggest we take the naming debate back to the issue.
https://github.com/AcademySoftwareFoundation/OpenTimelineIO/issues/1409

I think this is ready to go. @meshula can you take a last look? I see GitHub says you requested a change.
Thanks for persevering through our indecision with this @darbyjohnston - I think the find_ naming really works great!


Arrangement of the features on the map (mapfish V3)

Dear all,
currently I have the following problem: I want to print a line and some points. In the PDF file the line is above the points.

Is there a way to influence the arrangement of the elements?
Kind regards

Hi,
you have several options to influence the render order. Either you put your
points and lines into different layers (the layers will rendered in the
order you define in the request). Or you have just one vector layer and
either change the order of the features in the GeoJSON or the order of your
symbolizers in the style definition.
Tobias
On Wed, Jun 10, 2015 at 10:27 AM, hoytGMX<EMAIL_ADDRESS>wrote:

Dear all,
currently I have the following problem: I want to print a line and some
poimts. In the PDF file the line is above the points.
[image: example]
https://cloud.githubusercontent.com/assets/4170661/8078057/1ba5023c-0f5b-11e5-891d-4c2e76a9f1b6.JPG
Is there a way to influence the arrangement of the elements?
Kind regards
—
Reply to this email directly or view it on GitHub
https://github.com/mapfish/mapfish-print/issues/250.

Thank you for your quick response.
It works like a charme! (:


Selenium Tests? StaticLiveServerTestCase?

Hi guys,
I just tried to get selenium running against django-tenants and guess what? It does not work.
The problem seems to be that (when inheriting from StaticLiveServerTestCase) it will run a testserver on port:8001 and I just get a page-not-available when calling the tenants test-url.
Does anyone have a running selenium-test? If yes: how did you do it? :-)

I have working Selenium Tests, what is your problem? I use django.test.LiveServerTestCase, then WebDriver() and call self.selenium.get('%s%s' % (self.live_server_url, '/some/url/')).
On my setup I have vagrant server running in background so I use existing server and django is not creating test one, thought it shouldn't really be a problem. My app just can't work on django test server, that's why such setup.

Hi Kosz85,
thanks for the response.
I got it working. In order to use djangos runserver you need to run the server as root and pass the liverserver option.
This is the way to do it with a simple setup
sudo python manage.py tests --liveserver=<IP_ADDRESS>:80

Have a good one! :-)


Facing an Error using Jenkins Pipeline "/healthcheck" and "/readiness"

Hi @ardatan ,
In my Jenkins file, I've added "/readiness" and "/healthcheck" endpoints. I run the API in my postman I received 200 responses for '/healthcheck' and 204 responses for '/readiness'. I can access the APIs in my local environment. However, after completing the Jenkins deployment, I received the following error. I tried many ways to resolve this still facing this issue. I have add the error and Yaml configuration screenshot Here. Simply take a look and provide your feedback to help resolve this issue.

Hi @vijayakumarit ! Sorry for late response. Unfortunately the information you shared is not helpful for us to understand the issue.
These two routes are very simple;
https://github.com/Urigo/graphql-mesh/blob/master/packages/http/src/index.ts#L46
I don't know much about how Jenkins deal with these.
As I said above, I'd love to help but we need more details


feat: tags as cloud parameters and as chargeback statement export headers

d: do you think it makes sense to introduce a central page that talks about what kind of metadata we have available about projects and provide to Landing Zone Assets (Cloud Functions, templates, tags etc.)?

d: do you think it makes sense to introduce a central page that talks about what kind of metadata we have available about projects and provide to Landing Zone Assets (Cloud Functions, templates, tags etc.)?


cwd not updating when changed by neo-root plugin

@cseickel: I'm still keeping this option on :) OK, but there is a problem I have experienced for two months(or more?) I'm using a plugin I made for myself to change the current working directory. It seems that the tree would not get updated when this option is on and the current directory did change via my plugin. (Maybe I should open a standalone issue for this though.) Regarding the possible reason: it seems that either NeoVim or the libuv would treat manual cd and lua-command-cd(quoted below) differently. When doing things manually it can be successfully detected, but programmatically it would have some problems. (i.e. the first attempt was ignored)
https://github.com/nyngwang/NeoRoot.lua/blob/3c391852bc7bb4e5bc7c0fdae8632194d4ac3587/lua/neo-root.lua#L55
The current flow: (for "change the cwd" I mean programmatically via vim.cmd('cd ' ...), as the link)

I change the cwd to A, but the tree didn't reflect the change.
I change the cwd to B.
I change the cwd to A. The tree now does reflect the change.

expected flow:

I change the cwd to A. The tree now does reflect the change.

Originally posted by @nyngwang in https://github.com/nvim-neo-tree/neo-tree.nvim/issues/188#issuecomment-1101030310

@nyngwang I'm guessing the issue is is related to the fact that neo-tree does not follow cd (global workinng directory), it follows tcd (tab working directory). The two will sometimes be the same, particularly if there is no tab working directory set. Once a tab cwd is set however, the two are different.
This applies to sidebars. If you open netrw style, that used the lcd, or window local working directory.
The simplest way to fix this is probably to have your plugin set the tab working directory instead of the global one.

Great, let me try it now! I will report it back soon!

@cseickel: I think this is the solution :) it does get updated after I changed to tcd. But now another problem is that giving the current file is in the nested folder of the new cwd, the tree didn't expand the folder, which contains the target file, by default.

I think this can be safely closed now. The problem I found can be fixed in my plugin.


GH-38399: [Go][Parquet] DeltaBitPack decoder reset usedFirst after SetData

Rationale for this change

As https://github.com/apache/arrow/issues/38399 says. DeltaBitPack will corrupt when we meet a column chunk
with more than one page. During first page decoding, it works well. But when the second page comes, the
d.usedFirst haven't been reset, which cause the bug.
What changes are included in this PR?

Some style enhancement
Bug fix

Are these changes tested?
Currently not

Are there any user-facing changes?
bugfix

Closes: #38399

@zeroshade I've investigate and submit a fixing. It's a bit late in UTC-8. I'll add tests tomorrow.

This looks great to me @mapleFU thanks! I'll review again once you add the tests

I'm not familiar with go enough, so don't know why CI failed...

@mapleFU The failing appveyor test doesn't appear related at all so you're fine there.
Are either of the tests you added able to reproduce the initial failure that was reported in the issue (without your fix)? If not, can you add a test that does reproduce the initial failure?

		// Using same Decoder to decode the data.
		dec := encoding.NewDecoder(parquet.Types.Int32, parquet.Encodings.DeltaBinaryPacked, column, memory.DefaultAllocator)
		for i := 0; i < 5; i += 1 {
			dec.(encoding.Int32Decoder).SetData(len(values), buf.Bytes())

			valueBuf := make([]int32, 100)
			for i, j := 0, len(valueBuf); j <= len(values); i, j = i+len(valueBuf), j+len(valueBuf) {
				dec.(encoding.Int32Decoder).Decode(valueBuf)
				assert.Equalf(t, values[i:j], valueBuf, "indexes %d:%d", i, j)
			}
		}

I've add the same test for int32 and int64, please refer to "test decoding multiple pages". @zeroshade


hi, start git.md with alt account

hi, it's tarkitten with a pull request!

could ya add a step 4?

oops sorry i didn't have to close it


function monitor API - requires the function name to be all lower case and no dashes.

The following API
/azurejobs/api/functions/definitions/" + funcName + "/invocations?limit=20" and
the api to allow to use the same name as the original function name -> however, while using the API we need to lowercase and remove all '-' (dashes) from the name for the API to work correctly.

the work around on the UI is in - the API issue is filed on WebJobs Git project


why the master code not updated?

when I import by go.mod, the code not newest, and there's newer code in releases. so why update the master branch?

This package seems to be not actively maintained anymore. You might want to consider checking wneessen/go-mail which is actively maintained.

Dear all, it is possible to change your code?
Change from here:

https://github.com/go-gomail/gomail
https://github.com/go-gomail/gomail/issues/188
https://github.com/go-mail/mail
https://github.com/Shopify/gomail
https://github.com/Shopify/gomail/issues/59
https://github.com/ory/mail

It has been unmaintained and maybe one or more vulnerabilities :/
There are:

https://github.com/xhit/go-simple-mail from @xhit
https://github.com/wneessen/go-mail from @wneessen

Linked to:

https://github.com/go-gomail/gomail/issues/182
https://github.com/go-gomail/gomail/issues/163
https://github.com/go-gomail/gomail/issues/142
https://github.com/go-gomail/gomail/issues/108
https://github.com/go-gomail/gomail/issues/104
https://github.com/go-gomail/gomail/issues/105
https://github.com/go-gomail/gomail/issues/94
https://github.com/go-mail/mail/issues/78
https://github.com/go-mail/mail/issues/73
https://github.com/go-mail/mail/issues/61


Update lading to 0.24.0

This commit updates lading to the latest release version, updating logrotate configuration as the bytes-per-second setting is removed and replaced with a load profile.

/merge


Merged and added test cases for current functions: listemp, addemp and delemp

You are good to go. Go ahead and merge


What system do I need to run the router on

What system do I need to run the router on.
I want to test it in docker.
I used Ubuntu20.04 to generate a docker image and then started router tproxy in it.
The result was a failure.
It is guessed that systemctl may be the cause because it was found that the dns configuration could not be refreshed

@cltgit Yes, you can do that in Docker. You can use the official container image instead of building a custom image or using systemd. Would you like more specific instructions or Compose example? Here's an overview:

pull the openziti/ziti-router container image
create a Docker persistence (named) volume to store the router's state (identity, config, etc.)
generate a router configuration in the persistence volume and set filemode and owner to allow ziggy UID 2171 to write files
run the container to enroll the router (generates identity materials in the mounted volume)
run the container with a restart policy so it stays running even after a reboot

Thank you for your reply. I wanted to learn more about how the router intercepts requests. Initially, I started with the source code on my mac laptop, but I was told "failed to initialize tproxy interceptor: tproxy not supported on darwin". Then I tried to run it using docker, but the resolution failed "ziti-tunnel.resolver.test". I solved the problem by modifying the hosts file. In ziti, I defined the name of the service as "test.com". When I used nslookup to parse the test, I failed. I tried to parse the test in the router docker. My guess is docker mirroring, as my attempt to "systemd-resolved" was unsuccessful

Ah, you're using the router's trproxy mode, and the router is failing the DNS test at start-up because the container is not configured to send DNS questions to itself. I believe you can set the Docker container nameservers like docker run --dns <IP_ADDRESS> --dns <IP_ADDRESS>.

As for testing tproxy interception in Docker, you must configure the router container and the second container that is initiating the network request to a Ziti service to share a container network namespace.
docker run -d --name ziti-router-tproxy openziti/ziti-router
docker run -d --name client1 --network container:ziti-router-tproxy busybox

In this example, the BusyBox client container has access to any Ziti services that are authorized for the router's tunneler identity because they share a network namespace.

Here's a more detailed example that uses Docker Compose: https://github.com/openziti/ziti/blob/docker-router-example/dist/docker-images/ziti-router/README.md#tproxy-example


[Bug]: MiniCPM3-4B is support lora by --enable-lora ?

Your current environment

The output of `python collect_env.py`
docker pull vllm/vllm-openai:v0.6.2 this vllm
```text
Your output of `python collect_env.py` here
```

Model Input Dumps
No response
🐛 Describe the bug
when i use this

then get the error

Does this model currently not support Lora but i read the describe

it is supported
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Yes, MiniCPM3 supports LoRA, but there is a bug related to tie_word_embeddings. I am handling it now

Yes, MiniCPM3 supports LoRA, but there is a bug related to tie_word_embeddings. I am handling it now

thanks you i try now

Yes, MiniCPM3 supports LoRA, but there is a bug related to tie_word_embeddings. I am handling it now

not yet

from the error shows that only like 'q_proj', 'k_proj', 'v_proj', 'o_proj', 'gate_proj', 'up_proj', 'down_proj' ... this linear layer
but the cpm3-4b Trainable linear layer is
"kv_a_proj_with_mqa",
"up_proj",
"q_b_proj",
"kv_b_proj",
"o_proj",
"gate_proj",
"down_proj",
"q_a_proj"

Good catch, it's a new bug, i will handling it asap.

Good catch, it's a new bug, i will handling it asap.

thanks you very much


Make an intro

Currently, I am devoting myself to my studies. I like to read and play volleyball.
I'm not afraid of something new, ready to work, completely confident in my skills. Therefore, determined to pass the binary's selection.

Done with intro description


[BUG]: Neon - Typescript conflict between neondatabase/serverless and drizzle-orm/neon-http

What version of drizzle-orm are you using?
0.29.5
What version of drizzle-kit are you using?
0.20.17
Describe the Bug
Following the documentation on the Neon setup
https://orm.drizzle.team/docs/get-started-postgresql#neon
import { neon } from "@neondatabase/serverless";
import { drizzle } from "drizzle-orm/neon-http";

import * as schema from '../database/schema'

export const tables = schema

export function useDrizzle() {

  const sql = neon(process.env.DATABASE_URL!);
  const db = drizzle(sql, { schema: schema });

  return db;
}

The code works but the following warning is marked by Typescript
Argument of type 'NeonQueryFunction<false, false>' is not assignable to parameter of type 'NeonQueryFunction<boolean, boolean>'.
  Types of property 'transaction' are incompatible.
    Type '<ArrayModeOverride extends boolean = false, FullResultsOverride extends boolean = false>(queriesOrFn: NeonQueryPromise<false, false, any>[] | ((sql: NeonQueryFunctionInTransaction<ArrayModeOverride, FullResultsOverride>) => NeonQueryInTransaction[]), opts?: HTTPTransactionOptions<...> | undefined) => Promise<...>' is not assignable to type '<ArrayModeOverride extends boolean = boolean, FullResultsOverride extends boolean = boolean>(queriesOrFn: NeonQueryPromise<boolean, boolean, any>[] | ((sql: NeonQueryFunctionInTransaction<ArrayModeOverride, FullResultsOverride>) => NeonQueryInTransaction[]), opts?: HTTPTransactionOptions<...> | undefined) => Promise...'.
      Types of parameters 'queriesOrFn' and 'queriesOrFn' are incompatible.
        Type '((sql: NeonQueryFunctionInTransaction<any, any>) => NeonQueryInTransaction[]) | NeonQueryPromise<boolean, boolean, any>[]' is not assignable to type '((sql: NeonQueryFunctionInTransaction<any, any>) => NeonQueryInTransaction[]) | NeonQueryPromise<false, false, any>[]'.
          Type 'NeonQueryPromise<boolean, boolean, any>[]' is not assignable to type '((sql: NeonQueryFunctionInTransaction<any, any>) => NeonQueryInTransaction[]) | NeonQueryPromise<false, false, any>[]'.
            Type 'NeonQueryPromise<boolean, boolean, any>[]' is not assignable to type 'NeonQueryPromise<false, false, any>[]'.
              Type 'NeonQueryPromise<boolean, boolean, any>' is not assignable to type 'NeonQueryPromise<false, false, any>'.
                Type 'boolean' is not assignable to type 'false'.ts(2345)

Expected behavior
The warning / error should not be there :)
Environment & setup
Visual Studio Code on Windows 11

Duplicate of #2006

Hey guys. Thank you. I close this issue due to the duplicate


terminal errors when using webpack with sequelize

I was working on a project where I needed a quick DB interface, so I hit up npm install sequelize --save and npm install mysql --save and then reran my webpack build, only for webpack to rather spectacularly die on this new library:

Simply having var Sequelize = require('sequelize'); in my code triggers this rather weird error, and prevents webpack from actually building all the files.

The problem is a dynamic require (this.lib = require(sequelize.config.dialectModulePath || 'mysql');) which cannot be statically analysed. You could address it with the ContextReplacementPlugin.

That explanation is exceedingly worth putting in the error reporting, so that it's obvious why everything is going wrong

Can you give me an example how I should use the ContextReplacementPlugin in this case? I am having the same problem.

@Boelensman1 worth asking in a new issue, since that's a new problem you're having, not a problem directly related to the dynamic require in relation to sequelize

I don't really get what you mean. I have the same errors as you have with, probably, the same cause. I am also trying to use sequelize in combination with webpack.

oops, sorry, misread your question, comment deleted.

I have the same issue too. I don't know how to remove sequelize from bundling with webpack. Maybe You can give some advice? thank you


ci: remove unecessary gh-pages pre-commit alltogether

Root Problem that caused this PR was prettier doing weird shit to generated .md

and the ci failing https://results.pre-commit.ci/run/github/483207704/1707922723.HPDfI7gbSCWsKohOIbIg8Q
the pre-commit step was only added to ensure this doesnt happen.
no hook should care about the generated .md files which are solely for display in other services that dont support adoc (in ansible's case, galaxy).
i won't merge this PR here, but implement this upstream with a link to this PR (as this PR's commit shows the insignifigance of the now messing pre-commit step)
also, this will save a lot of CI time as for some other uninvestigated reason the github cache step does not seem to do shit, and everytime it had to download all pre-commit repos again - just for then running 2 that take concern with the files made in the workflow...
Pull Request Checklist

[x] I am a nice guy

[x] This pull request and its commits address only a single concern

[ ] Documentation has been altered or extended appropriately

[ ] I have followed JonasPammer's Ansible Role Development Guidelines

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

will be merged in upstream


Build issue for kanban in capstone project

Project link
We are 2 programmer

Hi @M-AminAlizadeh and @gergitokusse,
Status: Approved ✅
Your project Kanban board is all set up!  There is nothing else to say other than... it's time to start building your project :shipit:
Congratulations! 🎉

Good Highlights✔

Project tasks are distributed fairly

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

🙏🙏 Thank you @emmiiorji, Know we are ready to do our JavaScript Capstone project 👏👏👏.


Use SIMD instructions for MatMul on CPU; more than 2.5x speed up on x86_64 CPU

What?
Use SIMD instructions for MatMul on CPU
Why?
For more performant matmul on CPU with SIMD support, it's better to utilize SIMD instructions.

I don't think we should depend on Rust nightly as that is not available in most boxes. Maybe try another SIMD crate.
btw..we need to add a leaderboard btw for whoever scored the best tok/s for CPU & GPU. I will create a file for that.

Rust nightly as that is not available in most boxes.
rustup install nightly does the job everywhere -?

Re leaderboard, that's a good idea. But before that, we should first create a benchmark for it rather than using a single promt?

Updated my comment, it is more on the stability side, nightly is like depending on a * version! Yeah, +1 to add a benchmark.


Failure to find dependency that was installed from extra index url

Bug description
I created a requirements file for my project using pip-compile. To get the correct version, I added an extra url for the torch installation, resulting in the following command:
pip-compile --extra-index-url  https://download.pytorch.org/whl/cpu

This gives me the following requirements.txt
filelock==3.12.0
jinja2==3.1.2
markupsafe==2.1.2
mpmath==1.3.0
networkx==3.1
sympy==1.11.1
torch==2.0.0
typing-extensions==4.5.0

When I run pip-audit on this, I get the issue that torch is skipped from the auditing:
No known vulnerabilities found
Name  Skip Reason
----- ------------------------------------------------------------------------
torch Dependency not found on PyPI and could not be audited: torch (2.0.0+cpu)

Is this a bug or am I misusing pip-audit?
Reproduction steps
I generated my requirements using
pip-compile --extra-index-url  https://download.pytorch.org/whl/cpu
pip-sync

Then I ran
pip-audit -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu

Expected behavior
Auditing of all packages including torch.
Screenshots and logs
The logs are as follows:
DEBUG:pip_audit._cli:Auditing filelock (3.12.0)
DEBUG:pip_audit._cli:Auditing Jinja2 (3.1.2)
DEBUG:pip_audit._cli:Auditing MarkupSafe (2.1.2)
DEBUG:pip_audit._cli:Auditing mpmath (1.3.0)
DEBUG:pip_audit._cli:Auditing networkx (3.1)
DEBUG:pip_audit._cli:Auditing sympy (1.11.1)
DEBUG:pip_audit._service.pypi:Dependency not found on PyPI and could not be audited: torch (2.0.0+cpu)
DEBUG:pip_audit._cli:Auditing typing_extensions (4.5.0)
No known vulnerabilities found
Name  Skip Reason
----- ------------------------------------------------------------------------
torch Dependency not found on PyPI and could not be audited: torch (2.0.0+cpu)

Platform information

OS name and version: Ubuntu 20.04.4 LTS (Focal Fossa)
pip-audit version (pip-audit -V): 2.5.4
Python version (python -V or python3 -V): 3.11
pip version (pip -V or pip3 -V): 23.1

Thank you both for your elaborate replies!

@cornelius-braun, I'm curious, when you saw the "Dependency not found on PyPI and could not be audited", was this clear enough? Is there more we could do here to say "you installed something we've never seen before, we have no way to tell you if there are known vulnerabilities for it?"

To me, it was clear that you could not find information about the torch installation because it was not found on PyPi.
Since an --extra-index-url flag is supported, I was not sure, however, if you were checking for other vulnerability sources as well, as this permits to install packages from outside of PyPi.
Based on your explanations, your procedure now makes complete sense to me.

I think we do want to support this eventually, but we could make it more clear that it's not currently supported.

Agreed! I think we can improve the user experience here with the following:
If the user passes --index-url or --extra-index-url, we should emit a warning telling them that the PyPI vulnerability source won't necessarily report vulnerabilities for dependencies resolved from their sources.

Assigned to both myself and @tnytown, we'll triage it based on availability during the sprints.

Hi. I also have the same problem. pip-audit fails to find cpu versions of torch and torchvision on PyPI. Is there any progress here? Thanks.

Hi. I also have the same problem. pip-audit fails to find cpu versions of torch and torchvision on PyPI. Is there any progress here? Thanks.

That sounds like a different issue, since this issue is about third party index URL handling. Could you please file a separate issue and include an example for us to reproduce your problem with?


"Upgrading setuptools" should be much more emphasized

The current README asks to upgrade setuptools if the user uses an old one, but I would say this statement is too weak. Lazy users may (I mean, users are always lazy) just give a glance to this sentence and ignore it.
I guess a large portion of installation errors reported in Chainer v1 repository that say "cupy is not correctly installed" are due to an old setuptools.
I suggest to make the sentence much more strong, such as "You MUST upgrade setuptools before installing cupy", or maybe add a FAQ section (or a page?) to tell people that the very first thing to try after an installation failure is to upgrade it.

Documented in https://docs.cupy.dev/en/latest/install.html


[KO] Fix a dead anchor link in the specifics/ecto lesson translation

Thanks for the review, @devleoper!


[SPARK-16334][BACKPORT] Reusing same dictionary column for decoding consecutive row groups shouldn't throw an error

What changes were proposed in this pull request?
Backports https://github.com/apache/spark/pull/14941 in 2.0.
This patch fixes a bug in the vectorized parquet reader that's caused by re-using the same dictionary column vector while reading consecutive row groups. Specifically, this issue manifests for a certain distribution of dictionary/plain encoded data while we read/populate the underlying bit packed dictionary data into a column-vector based data structure.
Manually tested on datasets provided by the community. Thanks to Chris Perluss and Keith Kraus for their invaluable help in tracking down this issue!
Author: Sameer Agarwal<EMAIL_ADDRESS>Closes #14941 from sameeragarwal/parquet-exception-2.

Test build #64883 has started for PR 14944 at commit facf221.

cc @davies

Test build #64883 has finished for PR 14944 at commit facf221.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64883/
Test FAILed.

seems like the failure is related to https://github.com/apache/spark/pull/14797?

Yeah, I also hit it.

retest this please

Test build #64930 has started for PR 14944 at commit facf221.

Test build #64930 has finished for PR 14944 at commit facf221.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64930/
Test PASSed.

Merging this into 2.0 branch.


Add reserveWithTotalMemoryHint to IColumn

What problem does this PR solve?
Issue Number: ref #7495
Problem Summary:
As the issue described.
What is changed and how it works?

Add a new function reserveWithTotalMemoryHint to IColumn
Use reserveWithTotalMemoryHint to reserve memory in vstackBlocks for non-fixed-size column

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/merge

/run-unit-test


Supporting subscriptionTenantId and managementGroupId in SubscriptionClient.Alias.CreateAsync() Request

Library name
Microsoft.Azure.Management.Subscription
Please describe the feature.
In the Azure UI, we already can request subscriptions to be created under a different tenant
we see API calls being made to https://management.azure.com/providers/Microsoft.Subscription/aliases/{subId}?api-version=2021-01-01-privatepreview
with payload of
{additionalProperties: {managementGroupId: "", subscriptionTenantId: "{tenantId}",…} billingScope: "{billingScope}" displayName: "subscription-5" resellerId: null workLoad: "Production"}
We would like to use this in our production API

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Microsoft.Azure.Management.Subscription is able to create new subscriptions, you can refer to the following example.
string clientId = "";
string clientSecret = "";
string tenantId = "";

// get token
ClientCredential cc = new ClientCredential(clientId, clientSecret);
var context = new AuthenticationContext("https://login.microsoftonline.com/" + tenantId);
var result = context.AcquireTokenAsync("https://management.azure.com/", cc);
string AccessToken = result.Result.AccessToken;
var bauthCredentials = new TokenCredentials(AccessToken);
ServiceClientCredentials credentials = bauthCredentials;
DelegatingHandler[] handlers = new DelegatingHandler[] { };

// create SubscriptionClient
SubscriptionClient client = new SubscriptionClient(bauthCredentials, handlers);
client.SetRetryPolicy(new RetryPolicy<HttpStatusCodeErrorDetectionStrategy>(1));

// create new Subscription
const string aliasName = "navyprod1";
var putAliasRequest = new PutAliasRequest()
{
    Properties = new PutAliasRequestProperties()
    {
        DisplayName = "TestSub",
        Workload = Workload.Production,
        BillingScope = "/providers/Microsoft.Billing/billingAccounts/4756419/enrollmentAccounts/224190"
    }
};
var subscriptionResult = client.Alias.CreateWithHttpMessagesAsync(aliasName, putAliasRequest).ConfigureAwait(false).GetAwaiter().GetResult();

Console.WriteLine(subscriptionResult.Response.StatusCode);
Console.WriteLine(subscriptionResult);
Console.WriteLine(subscriptionResult.Body.Properties.SubscriptionId);

More information: source code test sample

Hi @dvbb
thanks for the comment, however, I need to create them into a specific tenant.
that is only available via that private preview API.

Hi @jujinfu
The API api-version=2021-01-01-privatepreview is not available in the current and historical versions of the SDK Microsoft.Azure.Management.Subscription.
This issue will route to the service team.

Hey @jujinfu
We have officially released the GA version (2021-10-01) of API which supports tenant id & management group Id, yes this is good to use for production scenarios.
https://docs.microsoft.com/en-us/rest/api/subscription/2021-10-01/alias/create

@veathipa thank you so much for the exciting news. We will try it out soon!

@veathipa
adding more details here:
If I provision a subscription in a different tenant and set a user as owner, it will send an email to ask user to accept.
If I provision a subscription in a different tenant, and set a service principal as owner, it still tries to send an email to accept.
However, since this is a service principal, it wont get any email.
Digging more into this, found that accpetOwnershipUrl in the initial response.
Then we need to call that Url using Service Principal
related doc: https://docs.microsoft.com/en-us/rest/api/subscription/2021-10-01/subscription/accept-ownership?tabs=HTTP
I think we are good now and this working at lease.
Would be nice to have this workflow documented somewhere.
Thank you again!


Is it possible to set enableReinitialize conditionally?

First of all, thanks for all your great help... I have a scenario where I need to reset form values conditionally, is it possible?
Specifically based on props value, can I set enableReinitialize?
In more detail: Is it possible to not refresh form on props update conditionally?

Please, provide code example and expected result. Thanks.

Closing due to long inactivity


ProjectAlpha Support / Support for Comcast's theplatform.com

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.03.14. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2018.03.14

Before submitting an issue make sure you have:

[X] At least skimmed through the README, most notably the FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones
[X] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[X] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

I've recently attempted to use youtube-dl with content hosted on Legendary Entertainment's projectalpha.com to no avail. A great deal of their content is available on VRV's premium option, but there is some Alpha-exclusive content. I was wanting to archive some older shows into Plex, but my attempts so far have failed.
When trying to run youtube-dl against the domain in the browser I get a message regarding it being an unsupported site - however the site levies a streaming platform developed by Comcast, so it's not just specific to them. For a test video I was able to snag the link to a .m3u8 file for a specific quality video using a Chrome extension, Video DownloadHelper.

youtube-dl ran against an episode on projectalpha.com
youtube-dl.exe https://www.projectalpha.com/browse/#svod?method=video&videoId=GaR5mX94hxr57MUJ_v_zyGJ1A_U4GqwH -v
[generic] #svod?method=video: Requesting header
WARNING: Falling back on generic information extractor.
[generic] #svod?method=video: Downloading webpage
[generic] #svod?method=video: Extracting information
ERROR: Unsupported URL: https://www.projectalpha.com/browse/#svod?method=video
'videoId' is not recognized as an internal or external command,
operable program or batch file.

youtube-dl ran against the .m3u8 file
youtube-dl.exe https://edge.legendary.top.comcast.net/default/Legendary/333/428/1521058040591/20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8.m3u8 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://edge.legendary.top.comcast.net/default/Legendary/333/428/1521058040591/20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8.m3u8', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.03.14
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: ffmpeg N-90315-gf706cdda56, ffprobe N-90315-gf706cdda56
[debug] Proxy map: {}
[generic] 20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8: Requesting header
[generic] 20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://edge.legendary.top.comcast.net/default/Legendary/333/428/1521058040591/20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8.m3u8'
[download] Destination: 20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8-20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers "Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 (Chrome)
Accept-Language: en-us,en;q=0.5
" -i "https://edge.legendary.top.comcast.net/default/Legendary/333/428/1521058040591/20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8.m3u8" -c copy -f mp4 "-bsf:a" aac_adtstoasc "file:20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8-20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8.mp4.part"
ffmpeg version N-90315-gf706cdda56 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56.  9.100 / 56.  9.100
  libavcodec     58. 14.100 / 58. 14.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 13.100 /  7. 13.100
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[hls,applehttp @ 000001b453e7ae00] HLS request for url 'https://edge.legendary.top.comcast.net/default/Legendary/333/428/1521058040591/20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_8_xc22975e5765a419e85b930d3b899b6e9_00001.ts', offset 0, playlist 0
[hls,applehttp @ 000001b453e7ae00] Opening 'https://edge.legendary.top.comcast.net/default/Legendary/333/428/1521058040591/20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_8_xc22975e5765a419e85b930d3b899b6e9_00001.ts' for reading
[hls,applehttp @ 000001b453e7ae00] HLS request for url 'https://edge.legendary.top.comcast.net/default/Legendary/333/428/1521058040591/20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_8_xc22975e5765a419e85b930d3b899b6e9_00002.ts', offset 0, playlist 0
[hls,applehttp @ 000001b453e7ae00] Opening 'https://edge.legendary.top.comcast.net/default/Legendary/333/428/1521058040591/20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_8_xc22975e5765a419e85b930d3b899b6e9_00002.ts' for reading
[mpegts @ 000001b455ca2180] parser not found for codec timed_id3, packets or times may be invalid.
[h264 @ 000001b456124e40] Reinit context to 1920x1088, pix_fmt: yuv420p
Input #0, hls,applehttp, from 'https://edge.legendary.top.comcast.net/default/Legendary/333/428/1521058040591/20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8.m3u8':
  Duration: 01:22:42.42, start: 2.059589, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (High), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
    Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 0
file:20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8-20180313_g_talksmachina_2009_2997_Alpha20_23971909671_m3u8_video_1920x1080_8000000_primary_audio_eng_xc22975e5765a419e85b930d3b899b6e9_8.mp4.part: No such file or directory

ERROR: ffmpeg exited with code 1
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\__init__.py", line 471, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\__init__.py", line 461, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\YoutubeDL.py", line 1989, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\YoutubeDL.py", line 850, in process_ie_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\YoutubeDL.py", line 1623, in process_video_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\YoutubeDL.py", line 1896, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\YoutubeDL.py", line 1835, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\downloader\common.py", line 364, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\downloader\external.py", line 57, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\downloader\common.py", line 166, in report_error
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\YoutubeDL.py", line 613, in report_error
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\YoutubeDL.py", line 575, in trouble

Account required
An account is required to access content on Alpha - I can provide one if necessary. There's also a 60 day free promo code right now (QUESTION).
https://twitter.com/Marisha_Ray/status/971820448596951040

Is there any information I can provide to make it easier to add support for this?

Who can I provide an account to in the hopes of getting support for this platform added?

This issue can be closed. Project Alpha is shutting down effective March 31st.


Outdated Code

Hi all there is a broken line of lua in this that stops it from working I have fixed this but due to it not being managed i cant add a pull request I have attached a link to the copy I have fixed that should work however I'm not looking after it unless my server breaks and I have to repair it
https://jamiez.co.uk/Gaddons/bluesbar.zip

Hello @lolteam4u it seems your website doesn't contain the updated code anymore... do you still have it?

ey @Requiem2003 , did you solved it?

Nope :/
On Sat, Aug 12, 2023 at 11:03 AM cupaaaa223 @.***>
wrote:

ey @Requiem2003 https://github.com/Requiem2003 , did you solved it?
—
Reply to this email directly, view it on GitHub
https://github.com/In-memory-of-CODE-BLUE/Blues-Bar/issues/1#issuecomment-1675954442,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6VWYPFHTLCTLHXQ7XJKKTTXU6LNJANCNFSM4RFLGLOQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Caleb Journeaux | Line Cook
Blackberry Farm Brewery
106 Everett Ave, Maryville, TN 37804
Office<PHONE_NUMBER> | Direct<PHONE_NUMBER>
@.***
Blackberry Farm |  Blackberry Mountain

@Requiem2003
https://github.com/lolteam4u/Blues-Bar/tree/patch-1
THIS VERSION WORKS


replace collaborators with team

pipeline_setter_bot: your pipeline is set: https://builder.ci.pix4d.com/teams/developers/pipelines/concourse-pypi-resource-pipeline-update-codeowner-file


Why the need of AudioContext and Analyzer

If a Clubber instance can be updated passing the frequencies data, why should we pass in the constructor the AudioContext and Analyzer (they get created automatically otherwise).

Seems to work not passing any context and analyzer, but these get created for apparently no reason.


added black and flake8 linters

The black code formatter in Python is an opinionated tool that formats your code in the best way possible and Flake8 is a powerful tool that checks our code’s compliance to PEP8. This will format and enhance the code quality whenever there is a PR in the repository or any changes done to .py file.
Fixes: #22

@RC99 I am participating through BITSoC. Please review.


NOTIFPLT-87:  Implement a FilteringNotificationServiceDecorator that …

…can filter (exclude some) notifications based on preferences configured in the portlet definition
https://issues.jasig.org/browse/NOTIFPLT-87
Examples...

Exclude all notices with less than top priority (priority=1)
Exclude all notices with greater than bottom priority (priority=5)
Exclude all notices that are not in the 'Library' category

This feature will allow admins to 'route' notifications from a common source to different display strategies ('normal', modal, emergency alerts, etc).

I threw in some Bootstrap classes on the emergency-alert-admin portlet...

@bjagg and @ChristianMurphy -- I'm going to carry on improving this PR.  I have at least one more requirement that can be handled by the FilteringNotificationServiceDecorator.  Keep the comments coming, but please don't merge.

Okay -- I think this one is ready... just going to wait a bit for the CI.

That's long enough...


Difference in neighborhood behaviour between in-memory and graph repositories

The getEntityNeighborhood method works differently between the in-memory and graph repositories, with regard to entity type filtering.
With either repository, if the entityTypeGUIDs filter parameter is null then all entity types are included in the returned subgraph.
If any entityTypesGUIDs are listed in the entityTypeGUIDs filter parameter then the two repositories behave differently. The difference concerns the root entity - i.e. the entity whose GUID  Is supplied to the getEntityBNeighborhood() method's entityGUID parameter.
The graph repository always includes the root entity in the subgraph; it is not subject to the filtering parameter. The root entity is included whether the filter is null, is non-null and contains the root entity's typeGUID, or is non-null and does not contain the  root entity's typeGUID.
The in-memory repository includes the root entity in the subgraph provided the filtering parameter is null or contains the typeGUID of the root entity. It does not include the root entity in the subgraph if the filtering parameter is non-null and does not contain the typeGUID of the root entity.
My opinion is that the in-memory repository should always include the root entity, regardlesss of the setting of the entityTypeGUIDs parameter.
A simple way to implement this change would be to check that, if the filter parameter is non-null and does not contain the typeGUID of the root entity, that the typeGUID is added the filter parameter. Alternatively, this could be fixed within the implementation of the InMemoryEntityNeighbourhood class.
@mandy-chessell @cmgrote - any comments? How do the proxy repository connectors handle this?

Easy: the repository proxies don't implement any of the graph queries (like neighborhood) 😉

Fixed by #2838 at beginning of April


Validate for property have required modifier but not RequiredAttribute SN-713

https://saritasa.atlassian.net/browse/SN-713

As we discussed with you before. Can we check for IsNullable? https://github.com/saritasa-nest/saritasa-forge-admin/blob/2eae614ba1aa8908b3135440541a4e7a53a1f321/src/Saritasa.NetForge.Domain/Entities/Metadata/PropertyMetadataBase.cs#L109

This bug is caused by having the required modifier without the RequiredAttribute, making the member always non-nullable in the entity. The only way to check it is by determining whether the property has the RequiredMemberAttribute but not RequiredAttribute.
I believe filtering the query directly is more efficient than querying all properties that are true in nullable property but lack the RequiredAttribute.
Remark: The RequiredMemberAttribute does not implement IValidatableObject, so it isn't validated in Validator.TryValidateObject.

This bug is caused by having the required modifier without the RequiredAttribute, making the member always non-nullable in the entity. The only way to check it is by determining whether the property has the RequiredMemberAttribute but not RequiredAttribute.
I believe filtering the query directly is more efficient than querying all properties that are true in nullable property but lack the RequiredAttribute (Because you alway need type of entity to find attribute).
Remark: The RequiredMemberAttribute does not implement IValidatableObject, so it isn't validated in Validator.TryValidateObject.

Will it work with IsRequired? https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.metadata.builders.propertybuilder.isrequired?view=efcore-8.0
What if we don't have both attributes but have this Fluent API configuration? It should be validated as well I guess.


Investigate assembly loading timeouts

Currently in app.module.ts when registering the Mongoose module, we set a large maxTimeMS, since that seems to fix some issues people have had loading large data sets. We want to avoid this if we can, though. It's possible that the timeouts are coming from loading the chunks of the reference sequences. We need to:

Test loading some large assemblies with and without annotations and without setting maxTimeMS to see if we can determine where the timeouts are happening.
See if reducing the default chunk size (set in refSeq.schema.ts) makes it so those can be loaded without increasing maxTimeMS

I don't recall if there were particular reasons for having the sequence in the database, but if not, could be worth considering storing externally. I believe I made a comment about this a long while back, but it could be worth re-considering potentially(?)

As part of the requirements for bringing Artemis features to Apollo 3, the sequence has to be editable, which is why we're storing it in the database. There could potentially be a mode for those who don't care about sequence editing, though, that uses an external sequence to simplify things.

It may not necessarily be the case that applying a sequence change requires storing in the database. Apollo1 had the concept of sequence changes also, stored just as patches in a database table.
I will also note, editing the sequence can be a very challenging feature to deliver correctly, and I would seriously consider what things can be done to try to simplify it or even define the problem away

These timeouts don't seem to happen any more.


You're resuming from a checkpoint that ended mid-epoch with every_n_epochs=1

Colab MRE
direct code
import os, torch
from torch.utils.data import DataLoader
from pytorch_lightning import LightningModule, Trainer
from pytorch_lightning.callbacks import ModelCheckpoint

BATCH_SIZE = 64

class MNISTModel(LightningModule):
    def __init__(self):
        super().__init__()
        self.l1 = torch.nn.Linear(28 * 28, 10)

    def forward(self, x):
        return torch.relu(self.l1(x.view(x.size(0), -1)))

    def training_step(self, batch, batch_nb):
        x, y = batch
        loss = torch.nn.functional.cross_entropy(self(x), y)
        self.log('loss', loss, prog_bar=True, on_step=True, on_epoch=True)
        return loss

    def configure_optimizers(self):
        return torch.optim.Adam(self.parameters(), lr=0.02)

class Data():
    def __len__(self):
        return 1000

    def __getitem__(self, batch_idx):
        return torch.randn(28*28), torch.rand(10)

make_ckpt_cb = lambda: ModelCheckpoint(dirpath='.', monitor='loss', mode='min',
                                       every_n_epochs=1, save_top_k=-1)

mnist_model = MNISTModel()
train_loader = DataLoader(Data(), batch_size=BATCH_SIZE)
trainer = Trainer(gpus=0, max_epochs=1, callbacks=make_ckpt_cb())
trainer.fit(mnist_model, train_loader)

ckpt_path = [nm for nm in os.listdir() if nm.endswith('.ckpt')][0]

mnist_model = MNISTModel()
train_loader = DataLoader(Data(), batch_size=BATCH_SIZE)
trainer = Trainer(gpus=0, max_epochs=2, callbacks=make_ckpt_cb())
trainer.fit(mnist_model, train_loader, ckpt_path=ckpt_path)

hey @OverLordGoldDragon
this was partially fixed in https://github.com/PyTorchLightning/pytorch-lightning/pull/11556
and will be completely fixed by https://github.com/PyTorchLightning/pytorch-lightning/issues/7406
will be available in the next release.

Thanks. If it's not a false positive, is there a better way to achieve the intended functionality in the meantime (e.g. every_n_train_steps)?

achieve the intended functionality in the meantime

what is your use-case exactly?

Saving (full model & trainer state, AMP16, wandb) at end of every epoch, then loading.

then every_n_epoch=1 is fine. You can ignore the warning.