text:
Outlines integration

This package looks awesome!  I was wondering why you decided to copy Outlines' code instead of importing the FSMs directly from outlines? There are several improvements on the performance of guided generation in the pipeline and you will be missing out on those. By importing you get better as we get better :)

@rlouf We actually tried to import rather than copy the code. We met some dependency issues before, but we are happy to resolve the issue. @hnyls2002 Could you put your error message here?

Happy to help!

Glad to work with you! I tried to import outlines a few weeks ago when your version was 0.0.22. The dependency error is
Could not apply nest_asyncio: Can't patch loop of type <class 'uvloop.Loop'>

This is because nest_asyncio is not compatible with our dependencies. When I looked into your repo today, I was delighted that you made nest_asyncio an optional dependency.
https://github.com/outlines-dev/outlines/blob/65ed0f7e9f900701ba62479982ee29bb47cc2738/outlines/base.py#L17-L25
Great to see this! I will import your library into ours in a short time.

By the way, we just implemented simple regex for constraint decoding; later, we also want to support more complex constraint decoding, such as CFGs. I am happy to see you outlines did a great job in these fields !

@rlouf Hi, I have made outlines an import in this PR(#60).
But when I set vllm>=0.2.5 and outlines>=0.0.24 as dependencies at the same time， we meet a conflict error:
ERROR: Cannot install sglang, sglang[srt]==0.1.5 and vllm==0.2.5 because these package versions have conflicting dependencies.

The conflict is caused by:
    sglang[srt] 0.1.5 depends on pydantic; extra == "srt"
    outlines 0.0.24 depends on pydantic>=2.0
    vllm 0.2.5 depends on pydantic==1.10.13
    sglang[srt] 0.1.5 depends on pydantic; extra == "srt"
    outlines 0.0.24 depends on pydantic>=2.0
    vllm 0.2.7 depends on pydantic==1.10.13
    sglang[srt] 0.1.5 depends on pydantic; extra == "srt"
    outlines 0.0.24 depends on pydantic>=2.0
    vllm 0.2.6 depends on pydantic==1.10.13

Do you have any idea how to solve this?

We will likely need to wait until https://github.com/vllm-project/vllm/pull/2468 is merged on the vLLM side, which will relax the pydantic version.

It should soon be ok, vLLM merged https://github.com/vllm-project/vllm/pull/2531 that drops dependency on Pydantic v1.

vLLM released 0.3.0 which bumps the Pydantic version to >= 2.0. We'll cut a new release in Outlines today or tomorrow.

@rlouf Hi, I have imported outlines as a dependency(#168). Thanks for your great work on FSM and regex!

repo: sgl-project/sglang


text:
Static linking of libmysqlclient

How I can static link the library in order to not require the installation of "libmysqlclient.so.20" in other machines?
I tried compiling with x86_64-unknown-linux-musl without luck.

That's going to depend heavily on your setup. Are you using pkg-config or mysql_config? Do you have the correct version of mysqlclient installed on your machine compiled for static linking? You mentioned you're trying to use musl -- Did you compile mysql from source against musl?

Actually I managed to resolve adding a "build.rs" file with this content:
fn main() {
    println!(r"cargo:rustc-link-lib=static=mysqlclient");
    println!(r"cargo:rustc-link-lib=static=stdc++");
    println!(r"cargo:rustc-link-lib=static=z");
}

@Emulator000 And on which OS are you building this? With which dev libraries installed?

@BlackDex I'm bulding it on Ubuntu 20.04 LTS with libmysqlclient-dev installed, I think that libmariadb-dev it's okay too.
You can see a compiled binary in this way here: https://github.com/facile-it/rabbitmq-consumer/releases/tag/v1.0.3

source: gharchive/issue

authors: BlackDex Emulator000 sgrif

repo: sgrif/mysqlclient-sys

license_type: permissive

license_source: github-api


text:
BadMethodCallException in Validator.php line 1067: Method [validateNulable] does not exist.

In your online demo (users / edit user demo id = 3)
http://webed.hitbui.com/admincp/users/edit/3
I try to change the about field with a value and save...then I catch this error !

Hello,
I'm checking it.

Move to new demo site

repo: sgsoft-studio/webed

license: mit

license_source: bigquery


text:
Update scala-compiler, scala-library, ... to 2.13.11

About this PR
📦 Updates

org.scala-lang:scala-compiler
org.scala-lang:scala-library
org.scala-lang:scala-reflect

from 2.13.10 to 2.13.11
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-lang" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #672.

source: gharchive/pull-request

repo: shadaj/slinky


text:
明明只是ss,别挂ssr的名字吧。。。。

或许改个名字？误导别人不太好

确实就是 ssr 。
ssr 本来就是 ss 的修改版。
去 manyuser 分支看。

authors: andylizi jackwener

repo: shadowsocksr-backup/shadowsocksr


text:
I created a goto-regex version

https://github.com/Ivanca/sublime-goto-regex
I needed a goto-regex plugin, so I just changed the re.escape (character) part for character instead; that way I can use it with regex from key bindings, as in:
  {
    "keys": ["alt+down"],
    "command": "goto_character",
    "args": {
      "character": "\\{|\\}"
    }
  }

(Created this issue just for reference/linking)

This looks like "goto expression" plugin, here is usage example: https://github.com/shagabutdinov/sublime-expression/blob/master/macro/goto_in_nesting_forward.sublime-macro
Goto expression was intended to provide smart code navigation (like selection inside brackets and etc.) and may look complex at first glance but it is stable and works well.

authors: Ivanca shagabutdinov

repo: shagabutdinov/sublime-goto-character


text:
Taking huge time to compressing the video in android (react-native)

Hi every one,
Here I am compressing video with react-native-video-processing. Actually, It was taking almost 60 - 80 sec to compress 20
to 30 MB video's. Can we reduce the time to 20 to 30 sec? Any idea?
Current Behavior
It was taking huge time to compress. Almost 1 to 1.5 min for 30 MB video.
Expected Behavior
Can we do compressing within less time? (20 to 30 sec)
Your Environment
----------------------------------------Here is my code ---------
const options = {
width: 720,
height: 1280,
bitrateMultiplier: 3,
saveToCameraRoll: true, // default is false, iOS only
saveWithCurrentDate: true, // default is false, iOS only
minimumBitrate: 300000,
//   removeAudio: true, // default is false
};
        await ProcessingManager.compress("---my video path ---", options) // like VideoPlayer compress options
            .then((data) => (console.log(data));

And we are using the properties like ..
             bitrateMultiplier: 3,
             minimumBitrate: 300000,

what exactly those fields do...?
Please help me

software
version

react-native-video-processing

react-native

node

@harikrishna1213
I have a solution for this issue as use a native package.
I just public it in git, you can check out and try it.
trim video and get asset image very fast.
I also
I'm developing it on IOS, and hope in the future this solution working great.
https://github.com/Thanhcao86/React-Native-CompressVideo

Any progress here 😔 ?

Hi, could anybody tell us why doess it take so much to compress video on Android? What is our alternative? Thanks..

Any solution guys ?


text:
Unable to take screenshot of the video tag if the contentType is widewine but the video is clear content

Have you read the Tutorials?
yes
Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
4.3.2
Please ask your question
I have come across a scenario where-in
when we request for a video manifest I get a response which states the contentType is widewine and based on this we do the configure method
drm: { servers: { 'com.widevine.alpha': licenseUrl  }, advanced: { 'com.widevine.alpha': { 'videoRobustness': 'SW_SECURE_CRYPTO', 'audioRobustness': 'SW_SECURE_CRYPTO' } } }
But whatever video manifest we receive would be a clear content. So in simple terms i will put it across as fake DRM(where in drmType would be widewine but the video manifest would be a clear content dash).
With this scenario in mind,
whenever we pause or look for thumbnails, we generally take the screenshot of the video frame at that moment and display it on the screen as below.
`var canvas = document.createElement('canvas');
canvas.width = 640;
canvas.height = 480;
var ctx = canvas.getContext('2d');
let video = document.querySelector("video")
ctx.drawImage(video, 0, 0, canvas.width, canvas.height);
var dataURI = canvas.toDataURL('image/jpeg'); // where dataURI is the screenshot of the video frame`
Now coming to the issue, if the contentType is not specified, i.e drmType is none, then this is a happy scneario for me as I am unable to take the screenshot of the video as and when required.
But with my fakeDRM scenario, when i take the screenshot all I get is black screen although the video is clear. (because i am calling the player.configure method). Now without parsing the manifest we would not know whether the content is clear or DRM protected, but even before parsing the manifest i would be setting the player.configure which is restricting me from taking the actual video screenshot.
Please let me if this is a known issue or is there any possible work-around availble for this issue?

Shaka Player doesn't have and involvement in the prevention of screenshots.  That's a Widevine feature, and one we have no control over in the player.
You should either contact Widevine for support or consider removing the license server config when you play clear content.

If you don't know your content is clear in advance, then that's an issue for your content metadata system.

@joeyparrish : Thanks for clafirying in detail.This really helps..

repo: shaka-project/shaka-player


text:
Fix generator. Do not remove jQuery plugins from application.js

Fixes #117.

:clap: :clap: :+1:
This looks great! Once the CI passe, I'm merging.
Thanks @szyablitsky!

license: MIT


text:
Foldr

Something like:
 -- foldr(function, default_value, table)
 -- e.g: foldr(operator.mul, 1, {1,2,3,4,5}) -> 120
 function foldr(func, val, tbl)
     for i,v in pairs(tbl) do
         val = func(val, v)
     end
     return val
 end

which comes from FunctionLibrary on the wiki.

Implemented in 0a1dfa6a519c396d06a5d4c78d85e07410f46da7


text:
patch 0.5.X release to fix maxListeners

gaze@0.5.x doesn't pay attention to maxListeners: 0. It should set them to infinite but currently ignores the option. This is fixed in 0.6.X, but 0.6.x is unable at the moment
Is it possible to release a patch for 0.5.X?

Done on https://github.com/shama/gaze/commit/5c71641d5449873df3b0c36ef73ff100da399703

repo: shama/gaze


text:
Move all dependencies from vendor to node_modules since we're moved to NPM

And, remove gulp get-deps and gulp get-dev-deps

A pair with #427

repo: shamansir/rpd