Add adium-beta 1.5.11b3

I create the cask because the stable current version of Adium doesn't allow to connect though Google Talk when you activate 2FA on your Google Account.
After making all changes to the cask:

[x] brew cask audit --download adium-beta is error-free.
[x] brew cask style --fix adium-beta reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install adium-beta worked successfully.
[x] brew cask uninstall adium-beta worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked the cask was not already refused in closed issues.
[x] Checked the cask is submitted to the correct repo.

Welcome and thank you.
Beta versions belong in caskroom/versions. We’re not really considering taking Adium beta again, though. It’s seldom updated and almost no one uses it.


Example Doesn't Work

Example file as per README:
#!/usr/bin/env cato

import Chores

let result = >["xcodebuild", "-version"]
print(result.stdout)

After running it:
Analyzing dependencies
Downloading dependencies
Installing Chores (0.0.3)
Generating Pods project
Skipping User Project Integration
Building frameworks
[!] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project Pods.xcodeproj -scheme Pods-cato -configuration Release -sdk macosx

Build settings from command line:
    SDKROOT = macosx10.12

xcodebuild: error: 'Pods.xcodeproj' does not exist.

Any idea why?

Sorry, as said in the README, this project is unmaintained now.

Yeah sorry I see that now. Pity it seemed like a great idea, do you know if theres anything out there which replaces this? Id really love a nice, virtualenv / pip style experience for swift. I see theres swiftenv already, now we just need something to handle dependencies for shebang style scripting.


Automated Package Upgrade

:tada: This PR is included in version 5.0.441 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Oracle VM

Hi Chris,
I used your script to do the software updates, and found an issue. It removes Oracle VM fine, then tries to install it again and fails. Afterwards has to be uninstalled with the installer that failed, then re install it again. No idea why this was the case, and only took a few clicks to correct.
Not a huge issue, but worth mentioning.
Thank you for creating such a huge time saver. I recently replaced the guts of a Win 10 system with a 13600k system and upgraded it to Windows 11. Your script was a huge time saver after installing Windows 11.
Thanks for what you do,
Scott

I'll add Orcale VirtualBox to #374


Build failed on CentOS 7.3.1611

I am trying to build cri-o on a Centos 7.3.1611 machine with Go 1.6.3.
I followed the setup instructions and installed all the required build dependenies rpms.
The GOPATH variable is defined correctly.
The make install.tools installs the necessary vendor dependencies.
When I run the make command I obtain the following:
go build -o ocid \
	-tags "selinux seccomp  " \
	github.com/kubernetes-incubator/cri-o/cmd/ocid
vendor/k8s.io/client-go/rest/request.go:21:2: cannot find package "context" in any of:
	/home/vagrant/go/src/github.com/kubernetes-incubator/cri-o/vendor/context (vendor tree)
	/usr/lib/golang/src/context (from $GOROOT)
	/home/vagrant/go/src/context (from $GOPATH)
make: *** [ocid] Error 1

The package golang.org/x/net/context is Installed under $GOPATH/src/github.com/kubernetes-incubator/cri-o/vendor/golang.org/x/net/context so I tried to create a symlink called $GOPATH/src/github.com/kubernetes-incubator/cri-o/vendor/context to satisfy the search path of the error.
Now the build seems to start fine but after a short time I receive the following error:
go build -o ocid \
	-tags "selinux seccomp  " \
	github.com/kubernetes-incubator/cri-o/cmd/ocid
# github.com/kubernetes-incubator/cri-o/vendor/k8s.io/client-go/rest
vendor/k8s.io/client-go/rest/request.go:660: req.WithContext undefined (type *http.Request has no field or method WithContext)
vendor/k8s.io/client-go/rest/request.go:732: req.WithContext undefined (type *http.Request has no field or method WithContext)
vendor/k8s.io/client-go/rest/request.go:810: req.WithContext undefined (type *http.Request has no field or method WithContext)
make: *** [ocid] Error 2

Changing the package to golang.org/x/net/context in the github.com/kubernetes-incubator/cri-o/vendor/k8s.io/client-go/rest
vendor/k8s.io/client-go/rest/request.go source file gives the same error.
Thank you for the support

Hmm, I'm guessing we need Go 1.7 as a build dependency now, per: https://golang.org/doc/go1.7#context

I installed Go 1.7 and the build went fine! Thank you very much!
It would be great to include an hint about the right version of Go in the README file of the repository.
go build -o ocid \
	-tags "selinux seccomp  " \
	github.com/kubernetes-incubator/cri-o/cmd/ocid
go build -o ocic github.com/kubernetes-incubator/cri-o/cmd/ocic
go build -o kpod github.com/kubernetes-incubator/cri-o/cmd/kpod
make -C conmon
make[1]: Entering directory `/home/vagrant/go/src/github.com/kubernetes-incubator/cri-o/conmon'
cc -std=c99 -Wall -Wextra -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -c -o conmon.o conmon.c
cc -std=c99 -Wall -Wextra -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -c -o cmsg.o cmsg.c
cmsg.c: In function ‘sendfd’:
cmsg.c:45:9: warning: missing braces around initializer [-Wmissing-braces]
  struct iovec iov[1] = {0};
         ^
cmsg.c:45:9: warning: (near initialization for ‘iov[0]’) [-Wmissing-braces]
cmsg.c: In function ‘recvfd’:
cmsg.c:91:9: warning: missing braces around initializer [-Wmissing-braces]
  struct iovec iov[1] = {0};
         ^
cmsg.c:91:9: warning: (near initialization for ‘iov[0]’) [-Wmissing-braces]
cc -o conmon conmon.o cmsg.o -std=c99 -Wall -Wextra -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -lglib-2.0
make[1]: Leaving directory `/home/vagrant/go/src/github.com/kubernetes-incubator/cri-o/conmon'
make -C pause
make[1]: Entering directory `/home/vagrant/go/src/github.com/kubernetes-incubator/cri-o/pause'
cc -std=c99 -Os -Wall -Wextra -static   -c -o pause.o pause.c
cc -o pause pause.o -std=c99 -Os -Wall -Wextra -static
strip pause
make[1]: Leaving directory `/home/vagrant/go/src/github.com/kubernetes-incubator/cri-o/pause'
go build -tags "selinux seccomp  " -o test/bin2img/bin2img github.com/kubernetes-incubator/cri-o/test/bin2img
go build -tags "selinux seccomp  " -o test/copyimg/copyimg github.com/kubernetes-incubator/cri-o/test/copyimg
go build -o test/checkseccomp/checkseccomp github.com/kubernetes-incubator/cri-o/test/checkseccomp
./ocid --config="" config --default > ocid.conf
/home/vagrant/go/bin/go-md2man -in docs/ocid.conf.5.md -out docs/ocid.conf.5.tmp && touch docs/ocid.conf.5.tmp && mv docs/ocid.conf.5.tmp docs/ocid.conf.5
/home/vagrant/go/bin/go-md2man -in docs/kpod.1.md -out docs/kpod.1.tmp && touch docs/kpod.1.tmp && mv docs/kpod.1.tmp docs/kpod.1
/home/vagrant/go/bin/go-md2man -in docs/kpod-launch.1.md -out docs/kpod-launch.1.tmp && touch docs/kpod-launch.1.tmp && mv docs/kpod-launch.1.tmp docs/kpod-launch.1
/home/vagrant/go/bin/go-md2man -in docs/ocid.8.md -out docs/ocid.8.tmp && touch docs/ocid.8.tmp && mv docs/ocid.8.tmp docs/ocid.8

Right, and also, we should get rid of all the go versions matrix in Travis since, afaict, we run tests in a container :) @jawnsy would you take care of that? :angel:

@runcom Sure, I can look at it, but it'll be awhile as I'm out of the office for most of next week at Microsoft Build in Seattle. Can you assign #393 to me?

Is this still an issue, I know that @lsm5 has built crio for centos,  Please close issue if this works fine.

the cri-o build for CentOS virt sig can be found here: https://cbs.centos.org/koji/buildinfo?buildID=17551 . There might be some deps associated with this, so i would suggest:
# install the virt sig repo
sudo yum install https://lsm5.fedorapeople.org/centos-release-container-1-3.el7.noarch.rpm

# install cri-o
sudo yum install cri-o

This was built using golang 1.7.4, also available in Virt SIG repo

@mrunalp Please Close.


Use of Unsafe is going to introduce problems with Java 9

OrientDB makes a lot of use of the infamous sun.misc.Unsafe API. Is the development team aware of the problems this will give starting Java 9?
For an excellent opinion about this matter, see
https://jaxenter.com/javas-unsafe-class-there-is-certainly-also-a-way-without-it-119084.html
IMO the use of Unsafe for direct memory access is a suboptimization for recent Java runtimes  and should be avoided.

Hi @rmuller
I can not agree with you without direct memory we had situation when JVM was stopped for minutes not seconds also modern Java runtime in enterprise is Java 6-7 .
But we aware of the problem. Still I think that we should start to develop alternative once we will be completely sure that we can not manipulate by direct memory using Unsafe in Java 9. Right now situation is not very optimistic personally I do not want to to have minutes stop the world for the project  but even earlier we had prototypes which do not include usage of direct memory and still very fast in performance so lets wait and see if Unsafe and direct memory pointers will be put in the past since Java 9 we have ideas and prototypes which will replace this approach without working directly with Java heap.

Hi Andrey,
Thanks for your detailed reply. It's up to the OrientDB team to decide what to do with this issue. We (finally) do no use OrientDB in our application, so it will not have impact on us. I only posted this issue because i still have much sympathy for the OrientDB team and personally i am still very interested in its development.
Note that I see the BIG advantage of using direct memory! However, my statement about  suboptimization refers to to use of Unsafe. The difference between using Direct Memory via the official API and the Unsafe usage is relative small (at most 10-15% @ Java 8). I bet (but cannot prove) in real world scenarios it is even (much?) smaller.
And yes, most enterprise environments still use Java 6 or 7. However, the adoption rate (also in the enterprises) of Java 8 is very high compared with previous versions. Your product should focus on long term stability and Java 8 adoption is "just around the corner". For Java 9 nobody knows, but why take the risk and uncertainty?


OpenAI API key requested when using transformers models

I'm trying to use a transformers model like so
model = guidance.llms.Transformers('stabilityai/stablelm-base-alpha-3b', device=0)
but getting the following error when I try to call the guidance program:
AssertionError: You must provide an OpenAI API key to use the OpenAI LLM. Either pass it in the constructor, set the OPENAI_API_KEY environment variable, or create the file ~/.openai_api_key with your key in it.

I can't replicate, can you please provide the full code snippet?
I run the following with no problems even when I delete my OpenAI api key:
import guidance
model = guidance.llms.Transformers('stabilityai/stablelm-base-alpha-3b', device=0)
p = guidance('''Hello {{gen 'ae'}}''', llm=model)
p()

Ah, as of yesterday we had OpenAI as the default LLM (we don't anymore), I'm guessing you probably didn't set model as the LLM for the call (like I did above) or as the default guidance LLM, like this:
guidance.llm = model

I'm going to assume that's what it is and close this, but please reopen if this is not it.


Add SaveFile method to the PyMol wrapper

Fixes #882

Should we wait for a windows test or merge as-is and let it shake out in the wild :)

I think it's safe to merge as-is. :-)


[e2e]: nodejs push branch1 default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/10261197639
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Tue Aug  6 06:17:22 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/10279038936
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Wed Aug  7 06:12:22 UTC 2024
Tests are passing now. Closing this issue.


Update P4A version.

Fixes #109
Unfortunately, webview bootstrap does not support multiarch yet, so we may need to do some work to port it from SDL2.

It worked when I ran it, so I'm going to assume this is no worse than it was before!


dep: Upgrade rustls v0.20 => v0.21

Hello @bradfier can you review this please?

I've done an upgrade to latest rustls at https://github.com/tiny-http/tiny-http/pull/271

Thanks, closing this one


configured maxlength not applied to database field

I'm setting up field length restrictions on the model builder:

The migration is using this restrictions:

But the snapshot doesn't have that:

And the migration designer doesn't have that too:

This is a dupe of #882

Sorry I didn't looked before.


Web UI monitor data question

I start up collect ,web and two agent service(service-auth and service-user) for test
Then i call follow api then return success. I try many times But I cant find any monitor data in web.
@RequestMapping("/auth/feign/test")
@ResponseBody
public String feignTest(){
logger.info("/auth/feign/test");
return userService.feign();
}

I meet same situation, but I restart collector and web again make it work, you can try it.


Add support for namespaces

Currently, namespaces are ignored completely. Given the following input:
definition mynamespace/user {}

definition mynamespace/document {
     relation viewer: user
     relation editor: user

     permission view = viewer + editor
     permission edit = editor
}

The following output is generated:
namespace TestNameSpace
{
    public static class TestSchema
    {
        public static class Definitions
        {
            public static class User
            {
                public const string Name = "user";
            }

            public static class Document
            {
                public const string Name = "document";
                public static class Relations
                {
                    public const string Viewer = "viewer";
                    public const string Editor = "editor";
                }

                public static class Permissions
                {
                    public const string View = "view";
                    public const string Edit = "edit";
                }
            }
        }
    }
}

We should consider how to support the namespace. Should it be part of the name, or a separate field? How should it interact with the WithId method?

If using SpiceDb.net it won't matter if you configure your namespace when initializing the library as it will add the namespace in when parsing the various relationships if it isn't there.  I haven't personally worked with multiple namespaces in the same schema though.   WithId could be augmented with an optional namespace / prefix argument.  SpiceDb.net calls it a prefix similar to what AuthZed does.. but they refer to it as prefix/namespace depending on where you are looking.


Clarify/improve inactive/debug states on the streamdeck

When the connection to companion core is not established, or a streamdeck is not initialised with companion yet, the top left button shows a colur as a basic debugging tool.
This behaviour should be improved to utilise the whole area of the deck and using text
blue = device being setup
red = no connection to companion
green = connected to companion, waiting for images

https://github.com/Julusian/companion-remote/releases/tag/v0.2.0
Renders a card on the streamdecks like https://raw.githubusercontent.com/Julusian/companion-remote/master/docs/disconnected-screen.png (make sure to view on a black background)


Broken Link - Release Flow

The following link from this page to the following is broken: https://docs.microsoft.com/en-us/azure/devops/learn/devops-at-microsoft/release-flow.

@murraj -- thank you for your feedback, and I as well see that link as a 404.  Please clarify the source page.

Sorry about that.  The source page is https://docs.microsoft.com/en-us/azure/devops/repos/git/git-branching-guidance?view=azure-devops.
Jeff Murray
Information Technology
William Blair
The William Blair Building | 150 North Riverside Plaza, Chicago, Illinois 60606
+1<PHONE_NUMBER> direct
<EMAIL_ADDRESS>| williamblair.comhttp://www.williamblair.com/
Facebookhttps://www.facebook.com/WilliamBlairCo/ | LinkedInhttps://www.linkedin.com/company/166939 | YouTubehttps://www.youtube.com/channel/UC7CPnCaTlZcLxOF7WFwY0uw | Twitterhttps://twitter.com/WilliamBlairCo
From: William Anton Rohm @.>
Sent: Thursday, May 20, 2021 2:44 PM
To: MicrosoftDocs/azure-devops-docs @.>
Cc: Murray, Jeff @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-devops-docs] Broken Link - Release Flow (#10777)
@murrajhttps://github.com/murraj -- thank you for your feedback, and I as well see that link as a 404. Please clarify the source page.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-devops-docs/issues/10777#issuecomment-845374500, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABXB37OLNNBC2YMPG25QWDDTOVJ73ANCNFSM45HTA7IQ.


Performance?

Hey @otto-schnurr, really great work here! I'm wondering if you have any performance tests to share?  Even a rough comparison of matrix multiplication in Metal vs Accelerate would be great.
I've been playing around with vector operations, and have been unable to make Metal beat Accelerate in ANY tests so far. These are mostly simple operations (addition, multiplication, etc.), but even with vectors maxing out the buffer size (1GB), Accelerate always beats the GPU by at least 2x.
I'm hoping that something more complex like matrix multiplication will produce better results!

Hi @collinhundley. Interestingly, I'm seeing the same thing. I even have it listed here as something I want to investigate.
A frustrating aspect of it for me is that I haven't developed enough diagnostic chops to even be able to measure and evaluate what is causing the difference between the two. I assume it's related to memory bandwidth but have no measurements to back that up.
I've tried some preliminary profile attempts in Instruments but it seems like I'm going to have to dig a lot deeper to figure out what in particular is slowing Metal down.

Hey @otto-schnurr, I just noticed that when you allocate new buffers in MetalMatrix.swift using the device.makeBuffer method, you're keeping the default configuration. On macOS, this means your buffers are using shared main memory.
This could potentially be the culprit of your memory bandwidth theory. You might want to try managed or private buffers instead - my own code saw a 3x speedup with managed buffers.

Update: I did a couple quick comparisons with your code.  Keeping the buffers shared, Metal and Accelerate were pretty much neck and neck on my laptop (~220 GFLOPS):

But switching the buffers to managed, we see a big performance boost:

Here I'm able to get 1+ TFLOPS periodically on my Radeon Pro 460.  I would have assumed that larger matrices would result in better GPU performance, but interestingly that doesn't seem to always be the case.

Thanks Collin. That's great news. It's a relief to know the test is able to achieve some GPU performance.
I hadn't switched the buffer type yet because I wasn't able to achieve a noticeable difference. Very helpful to know that it's something in my setup.
I'll troubleshoot this some more and get the test updated to managed buffers.
Test Results
Here's what I'm seeing with shared buffers:
... MatrixMultiplication-OSX[6812:777372] Metal GPU Frame Capture Enabled
... MatrixMultiplication-OSX[6812:777372] Metal API Validation Enabled
>> Dimensions: [636 x 563]T[636 x 1532] -> [563 x 1532]
   100 times -><PHONE_NUMBER> million operations
   Accelerate: 180.3 gflops, Metal: 27.1 gflops
>> Dimensions: [937 x 1088]T[937 x 1560] -> [1088 x 1560]
   100 times -> 318070.272 million operations
   Accelerate: 229.4 gflops, Metal: 26.1 gflops
>> Dimensions: [1353 x 396]T[1353 x 502] -> [396 x 502]
   100 times -> 53793.1152 million operations
   Accelerate: 252.6 gflops, Metal: 23.6 gflops
>> Dimensions: [837 x 747]T[837 x 1397] -> [747 x 1397]
   100 times -><PHONE_NUMBER> million operations
   Accelerate: 280.0 gflops, Metal: 26.4 gflops
>> Dimensions: [369 x 876]T[369 x 616] -> [876 x 616]
   100 times -> 39823.6608 million operations
   Accelerate: 222.1 gflops, Metal: 32.1 gflops
Program ended with exit code: 0

managed buffers are only slightly faster for me:
... MatrixMultiplication-OSX[6913:781594] Metal GPU Frame Capture Enabled
... MatrixMultiplication-OSX[6913:781594] Metal API Validation Enabled
>> Dimensions: [883 x 883]T[883 x 450] -> [883 x 450]
   100 times -> 70172.01 million operations
   Accelerate: 249.1 gflops, Metal: 41.8 gflops
>> Dimensions: [1026 x 1763]T[1026 x 824] -> [1763 x 824]
   100 times -><PHONE_NUMBER> million operations
   Accelerate: 275.0 gflops, Metal: 54.5 gflops
>> Dimensions: [1893 x 930]T[1893 x 368] -> [930 x 368]
   100 times -> 129572.064 million operations
   Accelerate: 284.1 gflops, Metal: 57.0 gflops
>> Dimensions: [1487 x 746]T[1487 x 1086] -> [746 x 1086]
   100 times -><PHONE_NUMBER> million operations
   Accelerate: 256.3 gflops, Metal: 30.3 gflops
>> Dimensions: [1530 x 721]T[1530 x 2030] -> [721 x 2030]
   100 times -> 447870.78 million operations
   Accelerate: 274.0 gflops, Metal: 28.6 gflops
Program ended with exit code: 0

At this point, I'm suspicious of the first two logs. I'm guessing frame capture and API validation could interfere with performance testing.
Hardware
I specifically bought a refurbished 2014 MacBook Pro to try out CUDA and Metal at the same time. (From what I can tell, it's the last year Apple used an NVIDIA GPU.)

I'll also double-check that I'm not trying to use too much VRAM on this older hardware.

It's very strange to me that you would be seeing <50 GFLOPS on your GPU... I'm pretty sure the Apple Watch could beat those numbers ;) Are you sure that you're using the discreet GPU and not the Intel graphics?

Looks like you're right - frame capture and API validation do impact performance. I disabled them and tried again, though the results didn't change much:
Shared:
>> Dimensions: [1387 x 2021]T[1387 x 466] -> [2021 x 466]
   100 times -><PHONE_NUMBER> million operations
   Accelerate: 280.5 gflops, Metal: 635.7 gflops
>> Dimensions: [1096 x 988]T[1096 x 915] -> [988 x 915]
   100 times -> 198161.184 million operations
   Accelerate: 277.9 gflops, Metal: 171.2 gflops
>> Dimensions: [1522 x 1464]T[1522 x 389] -> [1464 x 389]
   100 times -><PHONE_NUMBER> million operations
   Accelerate: 259.2 gflops, Metal: 394.9 gflops
>> Dimensions: [634 x 1781]T[634 x 1035] -> [1781 x 1035]
   100 times -> 233734.878 million operations
   Accelerate: 243.3 gflops, Metal: 268.1 gflops
>> Dimensions: [1708 x 1851]T[1708 x 1164] -> [1851 x 1164]
   100 times -><PHONE_NUMBER> million operations
   Accelerate: 257.2 gflops, Metal: 267.6 gflops
Program ended with exit code: 0

Managed:
>> Dimensions: [1950 x 1474]T[1950 x 650] -> [1474 x 650]
   100 times -> 373659.0 million operations
   Accelerate: 284.3 gflops, Metal: 748.0 gflops
>> Dimensions: [1790 x 1819]T[1790 x 823] -> [1819 x 823]
   100 times -> 535939.246 million operations
   Accelerate: 253.1 gflops, Metal: 1018.3 gflops
>> Dimensions: [652 x 343]T[652 x 1918] -> [343 x 1918]
   100 times -> 85786.7696 million operations
   Accelerate: 269.3 gflops, Metal: 318.9 gflops
>> Dimensions: [1565 x 1874]T[1565 x 1221] -> [1874 x 1221]
   100 times -> 716192.202 million operations
   Accelerate: 267.6 gflops, Metal: 597.7 gflops
>> Dimensions: [1068 x 1907]T[1068 x 1269] -> [1907 x 1269]
   100 times -><PHONE_NUMBER> million operations
   Accelerate: 255.2 gflops, Metal: 686.3 gflops
Program ended with exit code: 0

Interesting. Yeah, I have gfxCardStatus (v2.3) installed and it reports switching over to the discrete GPU when running the test.
The results get even more interesting when I set gfxCardStatus to "Integrated Only" to force the test to use the Intel chipset.
Shared buffer with Intel chipset:
>> Dimensions: [915 x 1545]T[915 x 1916] -> [1545 x 1916]
   100 times -> 541720.26 million operations
   Accelerate: 226.9 gflops, Metal: 233.3 gflops
>> Dimensions: [1212 x 1156]T[1212 x 354] -> [1156 x 354]
   100 times -> 99195.8976 million operations
   Accelerate: 212.8 gflops, Metal: 716.5 gflops
>> Dimensions: [1926 x 776]T[1926 x 1923] -> [776 x 1923]
   100 times -><PHONE_NUMBER> million operations
   Accelerate: 238.5 gflops, Metal: 193.4 gflops
>> Dimensions: [1925 x 1823]T[1925 x 1071] -> [1823 x 1071]
   100 times -> 751686.705 million operations
   Accelerate: 229.6 gflops, Metal: 368.2 gflops
>> Dimensions: [1036 x 266]T[1036 x 697] -> [266 x 697]
   100 times -> 38415.2944 million operations
   Accelerate: 212.1 gflops, Metal: 219.2 gflops

Managed buffer with Intel chipset:
>> Dimensions: [1740 x 966]T[1740 x 1537] -> [966 x 1537]
   100 times -> 516690.216 million operations
   Accelerate: 280.5 gflops, Metal: 186.8 gflops
>> Dimensions: [519 x 1300]T[519 x 260] -> [1300 x 260]
   100 times -> 35084.4 million operations
   Accelerate: 237.7 gflops, Metal: 898.9 gflops
>> Dimensions: [1244 x 623]T[1244 x 286] -> [623 x 286]
   100 times -> 44330.6864 million operations
   Accelerate: 238.7 gflops, Metal: 469.1 gflops
>> Dimensions: [1602 x 1650]T[1602 x 1498] -> [1650 x 1498]
   100 times -> 791932.68 million operations
   Accelerate: 273.7 gflops, Metal: 183.3 gflops
>> Dimensions: [1356 x 326]T[1356 x 644] -> [326 x 644]
   100 times -> 56936.8128 million operations
   Accelerate: 253.3 gflops, Metal: 217.1 gflops

I suppose it makes sense that shared memory could be fast for the integrated GPU.

The only other idea I have is the possibility that the NVIDIA driver for Metal compute kernels is not optimized very well. Or maybe I messed that driver up somehow when I installed CUDA on the machine.
I don't think either of those explanations are likely. The lack of performance with the NVIDIA device is pretty severe. I'll try troubleshooting it some more. I'm really curious about what it could be now that I know it's not the code.

I have some good news to report!
I've taken a modified version of your matrix multiplication, and integrated it into a neural network. It's not a perfect apples-to-apples comparison, but it helps demonstrate the performance difference between Accelerate and Metal in a similar environment.
Each "execution" consists of a single matrix multiplication and an element-wise activation function (in this case tanh). For Accelerate this was accomplished in 2 steps using vDSP_mmul and vvtanhf. For Metal this was done within the multiplication kernel by applying tanh to each output element.
The neural network consisted of 3 layers of sizes (16384, 8192, 4096). I tested on batch sizes ranging from 1 to 10,000 and compared the execution times. Times are the average execution for a single batch across 10 tests:

Batch Size
Accelerate
Metal
x Faster

1
0.0516438962949906
0.00107475990662351
48.0515657280483

10
0.0553191840997897
0.00223677990725264
24.7316170537925

100
0.158342724299291
0.00741387389716692
21.3576230855233

1000
1.39466911040363
0.0786920181999449
17.7231330738015

5000
6.6650691549934
0.324507305695443
20.5390419199028

10,000
13.7549448485079
0.623831143893767
22.049147406546

Worst case is about 18x speedup and best case is 48x. Not bad! I have no way of measuring FLOPS here, but I'm assuming that the overhead cost of Accelerate is coming into play since we require 2 separate calls.

@otto-schnurr I have a question for you: since we're using unsigned short for bytesPerRow in the kernel, we're limited to a max of 65,536 bytes = 16,384 elements per row (assuming Floats). Is this strictly necessary? That's pretty small - only 128 x 128 for images. How could we modify the code to accept a larger number of columns?

That's great news Collin. Glad to hear it's working.
Just to make sure I understand correctly, for a hypothetical 128 x 128 image you're flattening it into a single row? (Multiple images packed into multiple rows?)
A side question: Have you looked into Apple's performance shaders for convolutional NN (API here). Just curious. I haven't heard from anyone yet on how well they work.
It's been a while since I worked on that matrix pipeline. I think the unsigned short is something inherited from the Apple sample app. I'm guessing we could change these lines to some larger integer. And then make a corresponding change here.
This brings up some other questions for me.
I thought I remember seeing texture size limits for Metal. Do you know if that kind of hardware constraint plays into buffer sizes for Metal? I'm just wondering if at some point, a large matrix would have to be split across multiple buffers to work correctly.

Sorry, never mind my previous question. I get it now.
For an input image of 128 x 128, that turns into an input feature vector of with a length of 16,384. At four bytes per pixel, that hits our maximum bytes per row with unsigned short.

@otto-schnurr yep, exactly. I did notice that Apple's sample uses ushort as well, but had trouble making it larger.  I'll give it another go.
There are buffer size limits for Metal, and it seems to be determined by the hardware. For my graphics card it's 1GB (4GB VRAM); not sure about other cards. Regardless, you could build some pretty big matrices before hitting that limit.
As for performance shaders, they're good but right now they're strictly iOS only. Hopefully they'll bring them to the Mac this year.


tvOS 15, options menu not clickable.

Bug
When using react-native-video with tvOS 15, you are not able to change audio tracks or subtitles. The menu buttons is showing up (apples new UI) but you can't click them.
Platform

tvOS

Environment info
Library version<EMAIL_ADDRESS>Steps To Reproduce

Open a video with tvOS 15 simulator, try to hit the icons above the timeline for the video. (previous swipe down)

Expected behaviour

Show controls

I can confirm this behavior as I have been chasing it for a few days now.  To replicate you can use the Apple HLS test stream as the video URI (contains captions):
https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8
I can also confirm that caption selection works perfectly with the swipe-down menu on TVOS 14.3 or earlier, but on 15 the buttons for both captions and audio selection appear but when selected the UIMenu does not present as expected.

same problem, any updates?

This is being caused by setFullscreen and setControls being called in RCTVideo.m before setSrc has created the _player object.  The _player object is required for setFullscreen to present a full-screen videocontroller on tvOS.  But setSrc is not creating the _player object until a later time (dispatch_after)
Quick fix: comment out the dispatch_after in setSrc, and the options menu will work on tvOS.

doesn't work for me

@NazarKurylo, I had the same problem and fixed it on an older version of the repo.
Have a look at commits #5f19b4f and #60ae02c in this branch
https://github.com/nfb-onf/react-native-video/commits/4.4.7-tv

@ashnfb, hey - tried your changes on same old version of repo and it doesn't work for me. Subtitles and audio options are not clickable. Tested on device (tvOS 15.1.1) and emulator (tvOS 15.0).
mb I'm missing something in App.js file?

import React, {Component} from 'react';
import Video from 'react-native-video';
export default class App extends Component{
render() {
return (
<Video
controls
style={{flex:1}}
source={{uri: 'https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8'}}
/>
)
}
}

@NazarKury1o , here's what I have.  Fullscreen is required.  Also, pay attention to  onFullscreenPlayerWillDismiss and onEnd, as I had to also call navigation.dispatch(StackActions.pop()) to exit the video player component in my app.
`<Video style={{ flex: 1 }}
      source={{ uri: '....m3u8' }}
      ref={(ref) => {
        this.videoContainer = ref;
      }}
      paused={this.state.paused}
      onEnd={this.onEnd}
      onFullscreenPlayerWillDismiss={this.fullScreenWillDismiss}
      fullscreen={true}
      controls={true}
      selectedTextTrack={this.state.selectedTextTrack}
    />`

@ashnfb
Thanks! It work!
Missed, that fullscreen is required.


Redirect URI validation fails when defined as a regex to support multiple redirect URIs for an SP

Describe the issue:
When the redirect_uri parameter is made optional in the authorization request(PAR request flow), and when there is a redirect_uri defined for the SP as a regex pattern to accept multiple redirect URIs, the redirect_uri validation fails in the Authorization request.
How to reproduce:

Create an SP with multiple redirect URIs.
Do a PAR request.
Do an authorization request with only client_id and request_uri parameters in the request.

Expected behavior:
Successfully validates the redirect URI
Environment information

Product Version: IS 5.11, IS 6.0

Closing this since the fixes are gone to the master branch and the needed support branches.


Upload wheel to PyPI

There are tools that will only download wheels from PyPI.  I want to use this library from those tools.  As this is a python only library with no compiled extensions this should be as simple as building and uploading a bdist alongside the sdist

Yes, please.
Advantages of wheels

Faster installation.
Avoids arbitrary code execution for installation. (Avoids setup.py)
Allows better caching for testing and continuous integration.
Creates .pyc files as part of installation to ensure they match the Python interpreter used.
More consistent installs across platforms and machines.

To upload wheels to PyPI, when you would normally run python setup.py sdist upload, run instead python setup.py sdist bdist_wheel upload.
Or if you use twine, see https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives
$ python3 setup.py sdist bdist_wheel
$ twine upload dist/*

For more information on wheels, see:

https://pythonwheels.com/
https://wheel.readthedocs.io/en/stable/

Closed by latest 0.9.X release with backported bugfixes


DBZ-447 Remove double initialization

https://issues.jboss.org/browse/DBZ-447

Merged to master and 0.6. Thanks, @jpechane!


Add support for AbstractFFTs Interface

Addresses #22, I believe works with fft, ifft, bfft, rfft, irfft, and brfft from the AbstractFFTs package in both two- and three-dimensional output; e.g. it should work with fft(A, [j,k]) with any A::AbstractArray and j,k both Ints.

Codecov Report

Merging #40 (28c7cb3) into main (b213f97) will decrease coverage by 10.10%.
The diff coverage is 89.38%.

@@             Coverage Diff             @@
##             main      #40       +/-   ##
===========================================
- Coverage   99.67%   89.56%   -10.11%
===========================================
  Files           3        3
  Lines         304      345       +41
===========================================
+ Hits          303      309        +6
- Misses          1       36       +35

Impacted Files
Coverage Δ

src/algos.jl
86.20% <ø> (-13.22%)
:arrow_down:

src/plan.jl
89.38% <89.38%> (ø)

src/FFTA.jl

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 b213f97...28c7cb3. Read the comment docs.


Consistently quote values in the docker-compose configurations

This commit aligns the quoting style to always use single quotes rather than an mix
of double quotes, single quotes, and no quotes.
The "no quotes" also introduced a rather ugly other problem: at least podman-compose locally
gets confused by environment variables like KAFKA_BROKER_ID: 0, and basically drops these
out, probably because '0' is a falsy value in YAML. This leads to Kafka starting up without
a broker id, and thereby it generates one for itself -- which the tests then are very unhappy about:
 FAIL  src/cluster/__tests__/brokerPool.spec.js
  ● Cluster > BrokerPool › #refreshMetadata › updates the list of brokers

    expect(received).toEqual(expected) // deep equality

    - Expected  - 1
    + Received  + 1

      Array [
    -   "0",
        "1",
    +   "1001",
        "2",
      ]

      178 |       expect(brokerPool.brokers).toEqual({})
      179 |       await brokerPool.refreshMetadata([topicName])
    > 180 |       expect(Object.keys(brokerPool.brokers).sort()).toEqual(['0', '1', '2'])
          |                                                      ^
      181 |       expect(Object.values(brokerPool.brokers)).toEqual(
      182 |         expect.arrayContaining([expect.any(Broker), expect.any(Broker), expect.any(Broker)])
      183 |       )

      at Object.<anonymous> (src/cluster/__tests__/brokerPool.spec.js:180:54)

As environment variables should always be strings anyways: Fix that by just always quoting all environment
variables, to reduce the mental load of having all of YAMLs arcane rules in ones head.

Fun, only slightly related fact, I once worked on a product that had different features enabled in different countries. To manage this configuration, we were using YAML and simple lists of country codes. Something like this:
newFeatureEnabled:
  - se
  - fi
  - gb

At some point we added support for Norway:
newFeatureEnabled:
  - se
  - fi
  - gb
  - no

But to our great surprise, it didn't work in Norway. In fact, I seem to recall us having some issue after introducing Norway into this list. Turns out, our YAML parser helpfully converted the string no to the boolean value false, because that makes a lot of sense.
I don't love YAML.


Month/days not loading

The month list on the side stopped loading for me about two months ago: http://kiriska.com/tweety/ I was on the last release of TweetNest, beta 1.1, I guess? loadtweets.php had also stopped working.
I just download the master copy from here and reinstalled/reauth'd everything. I was able to use loadtweets.php and loaduser.php fine now, but the months still don't display. Navigating to month/day pages also doesn't work: http://kiriska.com/tweety/2015/11 All the tweets are still safe in the database, so I'm not sure what the issue is.

Ended up it was a weird timezone offset issue. SQL's "SELECT TIMESTAMPDIFF(SECOND, UTC_TIMESTAMP(), NOW())" and PHP's date('Z') were returning different values, which was causing problems. To be honest, I'm not sure what the issue was exactly, but manually setting DB_OFFSET to "+0" fixed the problem without appearing to create any additional problems, so...

Update: figured it out. the 'time' column of the 'prefix_tweets' table needs to be unsigned to allow for negative offset math in the case the mysql timezone and php timezone differ.

I seem to have the same problem, how do you modify the  DB_OFFSET to +0 exactly?
Time table is already unsigned.

I no longer needed the +0 fix after setting the prefix_tweets table as unsigned, so it's strange you're still experiencing the same issue.
My prior fix was in inc/preheader.php, after:
$dbOffset          = $dbOffset >= 0 ? '+' . $dbOffset : $dbOffset;
I inserted:
$dbOffset = "+0";
Which is honestly a really bad fix.
I'd suggest making sure that your problem was the same as mine (date offset) by printing out the php date and database date and going from there. There might be another problem that causes the same issue?

It was an error on my part... Did not configure the .htaccess the right way. Thanks for the reply.


Freshness count is Number or Jinja String

Fixes issue #13

This looks great! Thanks for sorting the keys too 🙏

I've made the jinja string definition more strict to make sure something like " <text> {{ <jinja> }}" fails. Let me know if you would like me to revert though.

I'm 99% comfortable with it, but I suspect that someone somewhere out there is doing something like
    freshness: # default freshness
      warn_after:
        count: {{ env_var('WARN_TIME_HOURS') }}
        period: hour
      error_after:
        count: 2 * {{ env_var('WARN_TIME_HOURS') }} # suddenly this one doesn't work
        period: hour

So I think that it's probably better to say all bets are off if you're doing Jinja strings.

I think something like 2 * {{ env_var('WARN_TIME_HOURS') }} would fail to compile, you would need to do {{ 2 * env_var('WARN_TIME_HOURS') }} in which case the regex would still work.
but I agree that this is probably not the right place to make the change and there's probably some other edge cases that would fail here so I have reverted the regex. Happy to make any other changes you feel relevant.

You're right that inlining it is better! I think the other way would technically work, because the result is slapped directly into a SQL query, but it does make it much more of an edge case.
Anyway, I'm happy with where we've landed! Thanks for the contribution 🌟


Standardize the TRE API naming

Description
Standardize the naming of TRE API by removing the work management as it gets confused with the management RG.
Acceptance criteria

[ ] Document the naming convention - what is the management RG, Core RG, TRE API, Composition Service, Resource Processor
[ ] Remove the word management from the TRE API in code, folder and documentation.

Need to wait until Monday when others are on vacation - as we need to make sure we have no PRs or other work in progress when doing this


Fix/ros vs tango timestamp

This is a workaround for #299.
It does not fix the issue but allows the tango ros node to be used with other ros nodes. In particular, it serves as a temporary fix for /tf issues encountered when using the tango ros node with the navigation stack.

FYI @adamantivm @jubeira

@PerrineAguiar Code changes are LGTM. Do you intend to merge this or should we keep it in a feature branch to avoid having forwards-backwards changes in master?
Some questions that could help tracking down the actual timestamp issue: Do you have an idea why the timestamp is wrong? How big is the offset? Is the time offset due to accuracy or due to an error in the calculation? Is the offset always constant?

@mcopejans Thanks for the review.
I would merge this PR (but keep the issue opened) as this is blocking Ekumen at the moment.
The reason of the issue is explained in #299. The problem comes from the calculation of the offset and the fact that we do not have a way to convert Tango time to system time.
The error of the offset seems to be between 0.09 to 0.18 s (values taken from tf exceptions when trying to use the Tango ROS Streamer with the navigation stack). It varies between runs and also during the same run.

@jubeira @adamantivm @mcopejans
I am now using CLOCK_BOOTTIME as suggested by Ian. This allows us to calculate accurately the time offset between Tango and ROS. I tested it with the turtlebot and the navigation stack and it seems to resolve the tf issue.


Retain links when extracting text using PDFLoader

System Info
Hi,
I'm using version 0.0.105 of langchain (nodejs).
I'm using PDFLoader to embed PDF documents, and I've noticed that the extracted documents do not retain the hyperlinks that were present in the files.
Is there a way to retain them? I couldn't find it in the document or the PDFLoader class.
Who can help?
@eyurtsev @hwchase17 @agola11
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[X] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
var pdfLoader = new PDFLoader(filePath, {
splitPages: false,
});
var rawDocs = await pdfLoader.load();
console.log(rawDocs);
Expected behavior
I was expecting PDFLoader to convert the hyperlinks in the PDF to either raw URLs or markdown URL.

Bump

@ahm750 This is the wrong repository. Can you close this and open an issue on LangChainJS


Add shebang-line

Adding a shebang-line in order to remove the need to explicitly launch the python scripts with python if /usr/bin/env support is present.

Pull request to keep compatibility with Bruteforce Movable miner has been opened at https://github.com/deadphoenix8091/bfm_autolauncher/pull/6


CIL: Speedup consistency tests

Our nightly test of rc/1.21 keeps failing the CIL consistency tests, so this is a cherry-pick of https://github.com/Semmle/ql/pull/1514 onto rc/1.21.

Can we re-run the C# tests?


[BUG] Docker build failed at 'Failed to build xlearn'

Description
Docker build failed at 'Failed to build xlearn' in only GPU stage.
In which platform does it happen?
macOS: 10.15.4
docker: 19.03.8
I also tried to build in two debian server, and failed with same error.
How do we replicate the issue?
DOCKER_BUILDKIT=1 docker build -t recommenders:gpu --build-arg ENV="gpu" .
or
DOCKER_BUILDKIT=1 docker build -t recommenders:full --build-arg ENV="full" .
Other Comments
I issued this problem firstly in https://github.com/microsoft/recommenders/pull/1120#issuecomment-641999330

@gramhagen asked me to tag @yueguoguo.

might be related to #1143

ok, dug in a bit further, since gpu is pulling from a separate image it isn't getting the cmake installation from the base section of the dockerfile. I'm pushing cmake installation down to the final stage and just installing from apt-get.
@yueguoguo is there any issue using the version in aptitude (3.10.2) versus what was previously here (3.15.2)?

@gramhagen I have not tried aptitude (3.10.2) for building the image. Does it still break the building by using the old version?

it builds / installs fine and I was able to import xlearn afterwards, so I believe it is working fine


Unescape pathname from url when loading from local filesystem

When a path contains a space it will be escaped to ’%20’ when converted to a url. When loading from local filesystem it has to be converted back to a space to get the correct path.

checkout https://www.npmjs.com/package/xmlhttprequest-ts - i added your pull request


update: python support (-3.6, -3.7, +3.10, +3.11)

According to https://endoflife.date/python:

3.6 support ended 2023-12-23
3.7 support ends 2023-06-27

We should add 3.10 and 3.11 checks to make sure everything works in currently-supported versions of python.

Turns out 3.10 gets interpreted as 3.1 by yaml. Now I need to check if github actions supports strings for version numbers.

Yes it does: https://github.com/actions/runner/issues/1989

To add support for the shields.io badge, I need to update setup.py to include the classifiers for the versions of python that are supported.


Allow unavailable conformances to non-Sendaable protocols during contraction

Refusing to acknowledge unavailable conformances at this point in the
requirement machine doesn't allow us to make use of unavailable
conformances from unavailable contexts, something which code currently
depends on. Limit the new filtering behavior to Sendable conformances
where we need them, as a narrow fix for this regression. We'll revisit
the approach here later.
Fixes rdar://94154905.

@swift-ci please smoke test

@swift-ci please test source compatibility


Updating Qwen2 small model configs and component/model builders

Context
What is the purpose of this PR? Is it to

[ ] add a new feature
[ ] fix a bug
[x] update tests and/or documentation
[ ] other (please add here)

Removing low-memory config params from 0.5B and 1.5B Qwen2 models, since they probably don't need them and they will slow training down.
Also ensure validity between apply_lora_to_output and tie_word_embeddings
Tests:
                         __..--.._
  .....              .--~  .....  `.
.":    "`-..  .    .' ..-'"    :". `
` `._ ` _.'`"(     `-"'`._ ' _.' '
     ~~~      `.          ~~~
              .'
             /
            (
             ^---'

Definitely agree with the approach, but eyes aren't gunna get this one by me, no matter how cool the ASCII art is.
* Can you run 10 steps for each of these so we can get a sense of the max memory allocated and reserved?

* Can you test the batch sizes with convergence? I think as long as memory is below 24 GB, you can increase the batch size. Otherwise might be worth keeping in a smaller grad acc value.

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⠆
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⡄
⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⢰⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⢀⡄⠚⢁⣠⠴⠚⠋⠉⠉⠁
⠈⠑⢦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⡎⠀⠀⠀⣀⡀⡀⠀⠀⠀⠠⢀⠔⠁⣠⡶⠋⠁
⠀⠀⠀⠈⠻⢤⣀⠀⠈⠓⢤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⢇⠀⠈⠁⠀⠀⠀⠀⢸⠟⡔⢁⣤⣾⣿⣿⡶⢶⣤⣤⡀
⠀⠀⠀⠀⠀⠀⠉⠳⢄⡀⠀⠈⠓⢤⡀⠀⠀⠀⠀⠀⠀⣸⡆⢳⡀⢸⡄⠀⠀⠀⠀⠀⠀⡇⢀⣶⣿⡿⠛⣻⣿⣯⢾⣷⡉⣷⡄
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠢⣄⠀⠀⠙⢦⡀⠀⢀⡤⠾⠎⢱⡄⢣⠀⢳⡀⠀⠀⠀⠀⠀⢠⠏⣼⠉⠛⠶⢧⣤⠼⠏⠛⠛⠉⢻
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠦⣀⠀⠙⠰⠋⠀⠀⠀⠀⠙⠂⢣⡈⢷⡀⠀⠀⠀⢀⡟⢰⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⡇
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠓⢦⣀⠀⠀⠀⠀⠀⠀⠀⠀⠱⣄⠻⣄⠀⠀⢸⡇⣼⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⡇
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠓⢤⡀⠀⠀⠀⠀⠀⠀⠈⠀⠈⢷⣄⠀⢿⣿⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡾⠁
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⣦⣄⠀⠀⠀⠀⠀⠀⠀⠀⠈⢹⡿⠿⢦⣀⡀⠀⠀⠀⠀⠀⣀⡴⠟⠁
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⠞⣴⣟⢧⣄⠀⠀⠀⠀⠀⠀⢠⠏⠁⠀⣠⣄⣉⡉⠓⠒⠋⠉⠉
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡴⢋⡞⠁⠈⠙⢿⠀⠀⠀⠀⠀⢀⡟⠀⠀⠀⡿⠀⠈⠉⠉⠉⢻⠆
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠞⣱⢋⡀⢀⠀⠀⢸⡀⠀⠀⠀⠀⣾⠁⠀⠀⢠⠃⠀⠀⠀⠀⠀⡟
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⢏⡞⢁⠞⠀⡈⠳⡀⢰⠃⠀⠀⠀⠀⢸⡀⠀⠀⢸⠀⠀⠀⠀⠀⣼⠃
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡼⣱⠋⢠⠊⠀⡼⠁⠀⡇⠸⠀⠀⠀⠀⠀⠈⣧⠀⠀⣼⠀⠀⠀⠀⢠⡏
⠓⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⢏⡼⠁⣠⠋⠢⣼⠁⠀⢀⣷⣀⣀⣀⣰⣟⡳⣄⡘⣦⢀⡟⠀⠀⠀⠀⣼
⠀⠀⠙⢦⣀⠀⠀⠀⠀⠀⠀⣴⣣⠏⠀⢠⠃⠀⠀⠉⢧⣰⠟⢳⣤⠾⠛⣿⠛⠛⡛⡛⠛⠋⠉⠉⠉⠉⣷⣇
⠀⠀⠀⠀⠈⠳⣄⠀⠀⢠⣾⡿⠁⠀⠀⠛⢦⡀⠀⠀⠈⡟⠀⠀⠙⢶⢶⢿⠒⠚⣿⣿⠛⠛⠋⠉⠉⡟⣻⠁
⠀⠀⠀⠀⠀⠀⠀⠙⢶⣿⣿⡄⠀⠀⠀⠀⠀⠹⡄⠀⢸⡇⠀⠀⠀⢸⢸⣼⠀⠀⣿⣿⠀⠀⠀⠀⠀⡇⡿

you got it. fwiw I grabbed these values from the gemma 2b configs

Repporting: maximum peak memory (GB), ~median toks/sec, over 250 steps.
Tested on a 2080 8GB.
WandB runs here

Config
Active
Allocated
Reserved
toks/sec

0.5B full single device
6.7
6.7
7.8
800

0.5B LoRA single device
6
6
8
1200

1.5B full single device
8
8
8
400

1.5B LoRA single device
6.5
6.5
7
450

If you'd prefer to see higher throughput we can bump bsz and announce with support for 12GB.

Not a blocker for merging this PR, but did you check how much compile helped for the 1.5B full single device and the 0.5 full single device?

Just gave it a quick try. No difference. Might make a difference on more modern hardware?

Codecov Report
Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 70.64%. Comparing base (0cdea67) to head (61fafb3).
Report is 2 commits behind head on main.

Files
Patch %
Lines

torchtune/models/qwen2/_component_builders.py
33.33%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1273       +/-   ##
===========================================
+ Coverage   27.06%   70.64%   +43.58%
===========================================
  Files         251      255        +4
  Lines       11649    11696       +47
===========================================
+ Hits         3153     8263     +5110
+ Misses       8496     3433     -5063

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

small note: I needed https://github.com/pytorch/torchtune/issues/1185 to make these experiments fit on my GPU.

small note: I needed #1185 to make these experiments fit on my GPU.

not sure if this pushes the needle on that issue? it's listed on the docs in stable (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables) but denoted "experimental"

small note: I needed #1185 to make these experiments fit on my GPU.

All experiments? Or just the 1.5 full finetuning?

All experiments? Or just the 1.5 full finetuning?

I'm going to say all to be safe.


Add ELO to GUI

Add ELO to GUI
Fix ELO update in every endgame scenario
Add getEloScore to Chess contract
Close #207
Pairprogrammed with @HeavyPanda

Works for me.
For bonus points, we could add listeners to EloScoreUpdate({player: myOwnAddress})... but that's another feature request I guess.

Merge? :D


ADD Algorithm to find number of record breaking days

ADD Algorithm to find number of record breaking days

Hi @chandrikadeb7, I've have a query,
In the hacktoberfest profile page under contributions section this project is mentioned as "Excluded Project".
is it a repo for hacktoberfest? correct me please.


Add polars-strsim plugin

Link to suggestion
https://github.com/foxcroftjn/polars-strsim
Targeted section
Require a new section (please describe below)
Describe your suggestion

polars-strsim - Polars plugin that computes string similarity measures directly on a Polars dataframe by @foxcroftjn.

Checklist

[X] checked if your suggestion is not already listed in Awesome Polars list.
[X] checked if it can fit in an existed section or suggest a new section and explain why your item does not fit into one and what would be the interest of your new section.
[X] checked when it's a repository if it's maintained (archived repository will be rejected).

@foxcroftjn your work will be added to the Awesome Polars List


Break up resources template

The resources template is getting quite large due to the schema. Break it up into separate templates.

Also rename resource tf files based on service (e.g. bigquery.tf, gke.tf, storage.tf)

won't fix at this moment, if needed, will reopen


Custom command-line argument parsing?

Pros

I'd like to have more control over the help and error messages.
There doesn't seem to be a way to have both a positional argument and subcommands (i.e., I want quiz whatever to open the quiz whatever but quiz count to invoke the count subcommand).

Cons

More complex implementation

However, if I go ahead with #72 there will be a lot fewer commands and flags to deal with.

I have decided that the cons outweigh the pros.


Hangman android app

We have hangman GUI and CLI for Windows and Linux.
We can also have an android app hangman-app.
Any more platforms left. 😜

Ok, I am not experienced with app dev, PR's are welcome


Remove unused helper functions EVP_str2ctrl() & EVP_hex2ctrl().

These were added when the EVP_MAC work was being done.
I dont think these lightweight wrappers are required, and it seems better to remove them,
rather than adding documentation.
@levitte they haven't been used for 2 years now :)

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

NOTE: this is related to EVP_str2ctrl() & EVP_hex2ctrl() being undocumented currently (See #13192)

This pull request is ready to merge

Thanks. Merged to master.


Unable to login - Internal Server Error

OS: Ubuntu 16.04
Python: 3.5.2
Webserver: Apache2
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

I have been hunting to find where the issue lay, authentication is working (it is very insecure). However once logged in I get Internal Server error when going to the redirected url: "/login.py?login=admin&pass=admin"
Apache2 logs have no records for this at all.
If I run this from python and set the username and password in the code, I get the following:
/var/www/haproxy-wi/app$ python3 login.py
Set-Cookie: uuid=e3d0c66c-2571-479f-aaf4-64e1b850f097; expires=Tue, 14 Aug 2018 14:05:34 GMT; Path=/app/
Content-type: text/html

ok

Bit stumped as to where to go next

Yes, it's insecure, but apache dont wont work with post method, couse ajax form used.
Login page dont redirect you with login and pass uri, its ajax method. At your browser javascript enabled?
Отправлено из Mail.Ru для Android четверг, 09 августа 2018г., 20:06 +06:00 от hobojoe720<EMAIL_ADDRESS>:

OS: Ubuntu 16.04
Python: 3.5.2
Webserver: Apache2
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
I have been hunting to find where the issue lay, authentication is working (it is very insecure). However once logged in I get Internal Server error when going to the redirected url: "/login.py?login=admin&pass=admin"
Apache2 logs have no records for this at all.
If I run this from python and set the username and password in the code, I get the following:
/var/www/haproxy-wi/app$ python3 login.py
Set-Cookie: uuid=e3d0c66c-2571-479f-aaf4-64e1b850f097; expires=Tue, 14 Aug 2018 14:05:34 GMT; Path=/app/
Content-type: text/html
ok
Bit stumped as to where to go next
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly,  view it on GitHub , or  mute the thread .

I have tried Chrome, Firefox and Internet Explorer.
I have checked within Chrome and JavaScript is enabled.

I just made a fresh install, it works. Check to see if you do not block downloading the jqury from their site and try running the web inspector and see if there are any errors js

This is a fresh server, new install of Ubuntu 16.0.4, install Apache2, install Python3, download and install the app.
Will check to see if there are any errors in the browser

Keep me informed :)

Ok, there is a permission somewhere thats the issue. I got annoyed and set the whole directory to 777 and it works.

How everything just turned out :) But apache must log this error...
How to use, please leave your comments, what you liked / did not like and generally

And added sudo for chmod special for Ubuntu )


Cursor Pointer Issue

Environment (please complete the following information):

OS (e.g., Windows 10):
Extension version (e.g., 1.2.3):

Describe the bug:

I have an issue with the microsoft edge devtool visual studio, I don't know if this happen to others but a cursor pointer won't pop even though I a css property and its value "cursor: pointer"
Repro steps:

Expected behavior:

Additional context:

Thanks for reporting this.
The extension streams the webpage from a headless Edge process into VS Code. So essentially, what you're seeing is a series of screenshots that are taken of the actual running webpage, being displayed in a panel in VS Code.
So, for the cursor to change, the headless browser would need to send events for when the cursor is hovering over an element that has cursor:pointer (or other). The extension would then have to listen to those events and change the cursor in VS Code accordingly.
So, not impossible to do I guess. But pretty technically involved.
If you need to test something related to cursors right now, I suggest switching your setup to use an actual external browser window as described in the docs: https://learn.microsoft.com/en-us/microsoft-edge/visual-studio-code/microsoft-edge-devtools-extension/external-browser-window
@vidorteg what are your thoughts on the above? I have a feeling this could be a candidate to add to our WONTFIX list in #1317 .


maintain zoom level/position when the number of metrics changes

When adding or removing a metric, the plots currently always reset. They should
instead maintain zoom level/position when the number of metrics changes
@philippjfr you mentioned there was an easy this, can you points us in the right direction?

Also, just to add to this issue, this should be solved in conjunction with solving (or on the way toward) general state persistence, not just of zoom/pan level of individual plots.  A related use case to keep in mind here is that someone might want to be able to make some selection of points in the dashboard, and then explore that same selection in some ad-hoc analysis in a notebook.  So not yet the full "explore in jupyter" button, but perhaps something where a text query defining the data selection can be copied from the dashboard to be pasted & used elsewhere.

Oh, sorry; I hadn't seen #109

fixed in #146


After buying product, it throws PlatformException(InappPurchasePlugin, purchase error, responseCode:0)

Version of flutter_inapp_purchase
flutter_inapp_purchase: ^0.9.2
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
After buying product I expect to get PurchasedItem.
Actual behavior
After buying product I get the following exception: PlatformException(InappPurchasePlugin, purchase error, responseCode:0) which is logged here https://github.com/dooboolab/flutter_inapp_purchase/blob/ca88fda50229f090602ab3a6b186fff80536079d/android/src/main/java/com/dooboolab/flutterinapppurchase/AndroidInappPurchasePlugin.java#L430 indicates that products are null.
Tested environment (Emulator? Real Device?)
Real Device
flutter doctor -v
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.3 18D109, locale en-TR)
    • Flutter version 1.2.1 at /Users/figengungor/Documents/development/flutter
    • Framework revision 8661d8aecd (7 weeks ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/figengungor/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update with Brew, run:
        brew update
        brew uninstall --ignore-dependencies libimobiledevice
        brew uninstall --ignore-dependencies usbmuxd
        brew install --HEAD usbmuxd
        brew unlink usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 33.4.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] Connected device (1 available)
    • LG H850 • LGH85074f531b6 • android-arm64 • Android 8.0.0 (API 26)

Steps to reproduce the behavior
Calling this function and after completing payment steps in test account and getting payment success, I got the mentioned PlatformException above.
 Future<PurchasedItem> buyProduct(IAPItem data) async {
    await _initConnection();
    PurchasedItem purchasedItem =  await FlutterInappPurchase.buyProduct(data.productId);
    if(purchasedItem!=null) _isSubscribedController.add(true);
    await _endConnection();
    return purchasedItem;
  }

Future<String> _initConnection() async {
    return FlutterInappPurchase.initConnection;
  }

  Future<String> _endConnection() async {
    return FlutterInappPurchase.endConnection;
  }

I am having the same problem on a real device (Nexus 5 / Android 8)

The workaround for me was fetching purchases again after I get PlatformException after buying subscription.

I hope you guys to try out example project so we can talk on the same code.

Same issue with me! Any solution?

Try consuming the purchased item immediately after buying the product. I was facing the same issue. Fixed it by following below method
PurchasedItem purchased =
          await FlutterInappPurchase.buyProduct(item.productId);
   if (purchased != null) {
        print('>> Purchased - ${purchased.toString()}');
        FlutterInappPurchase.consumePurchase(purchased.purchaseToken); //Consume Item Fixes PlatformException issue
   } else {
        print(">> Purchase Failed");
}

@SachinGanesh FlutterInappPurchase.buyProduct throws with PlatformException and therefore the following code won't run. So I guess we are facing different problems.

We have the same issue, same exception, same 0.9.2 version, also real device.
The issue only applies to our subscriptions products, though. Our consumable products works like a charm.
As mentioned earlier, a workaround is catching the exception and read through the purchased products from getAvailablePurchases. Eg. like:
PurchasedItem purchasedItem;
List<PurchasedItem> allOfThem;
try {
   purchasedItem = await FlutterInappPurchase.buyProduct(productId);
} catch (err) {
   allOfThem = await FlutterInappPurchase.getAvailablePurchases();
   // find your purchasedItem from the List
}

Also testing on a real device. Turns out if it's a sandbox user it screws up the product and we cannot purchase it again (This In-App Purchase Has Aready Been Bought). Looks like someone forgot to add Platform.isIOS somewhere.
Error message is Unsupported operation: consume purchase is not available on Android

Looks like this is fixed in 2.0.0+4 or above.

@ollydixon
Did you find the solution for "This In-App Purchase Has Already Been Bought" error?

The flutter team has developed an in-app package, now. Would go with that, instead.

I actually tried that package and got same issue, then I switched to this package @Lastmanstanding

@Lastmanstanding @phuc-koli the reason I came to this package was cause the Flutter official one was far worse. ;-P


Feature/biagas/add reader avsucd

Description
Resolves #3709
Added a plugin for AVSucd formatted data, along with sample data, a test, and baselines.
How Has This Been Tested?
I tested with customer's data and other sample AVSucd files I found.
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have updated the release notes
[ ] I have made corresponding changes to the documentation
[ ] I have added debugging support to my changes
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] I have added any new baselines to the repo
[X] I have assigned reviewers

Added the requested release notes.


[JA CVVC Phonemizer] Add new end breath sounds

Re-submitting as a separate pull-request, as I figure out how to make alternates work properly.
Sounds added:

B (inhale)
H (exhale)

If possible, it would be nice to have some tests for delta phonemizers too, assuming them being the more popular ones.

Sure, I'll take a look at this later.


Update to hacking 1.1.0

Close #263.
Note: # noqa: E402 works, but with any error number (like # noqa: E234) it seems to disable E402.

LGTM


"Lazy" binding Input component

Hi Rafael,
i have just fixed a issue about Input component.
At the moment it's imposibile have a "lazy" binding; according to Vue documentation v-model.lazy is equals to :value and @change: but now the input method related to Input component emit a 'change' event and so it's impossibile have only the final value (on change).

Well this is a breaking change, there must be people using the @change event.
I'll wait until Bulma 0.5.0 release for the breaking changes.


Default Viewtype

I'm submitting a feature request
General information
Netflix has a lot of pages and the addon-on often goes to the default viewtype instead of the one selected at the top of the category or first page viewed.  When changing viewtypes often the add-on does not remember the last selected.
Addon version used
0.14.6
Steps to Reproduce
Select a list or category with several pages
Change the viewtype
Notice subsequent pages use the default viewtype for the Kodi skin.
Expected behavior:
When a viewtype is selected for a category or initial page of a multi-page list it should remember the viewtype and make it sticky for subsequent pages or subcategories.  Alternately, there should be a settings selection for viewtype at the global level
Actual behavior:
The add-on does not remember user selected viewtype through multiple pages or subcategories.  A selection does not stick to sub-categories or secondary pages.
Installation
I'm using this Netflix Repo
Operating System
Linux aarch
Additional informatin on the environment
CoreELEC 9.0.3 on Odroid-N2
Using Estuary skin

this does not depend on the plugin,
the management of the skins is the skins themselves
the behavior that saves the last position is managed by the skin you currently use
In the case of Estuary Kodi skin:
this has several limitations, one this is what you are specifying, because it saves the settings per page not for the menu you access,
and even if you set to View folder a custom id, from the last test i had done long ago the estuary skin don't supports other types of views for this type of page
you can always try other skins, some have the function to block view types
but i warn you that some skins could create malfunctions in the addon
the only way is to try and find the most suitable one

I figured that might be the case, but if there's any way to control it from the add-on it was worth a try to request it.  Anyway, that seems like a big oversight in the skin design to me, maybe there's a way to get in there at the coding level and change the skin's default viewtype.

I have not found a way, the only possible way would be to encode the type of view via code,
but this is a very very bad pratice, that would only be compatible with one type of skin
so in any case if you find a solution update me thanks


More Analytics

Hey Amey,
Came across your dataset and on top of it I have created a Hans Rosling Style Analytics. Take a look here: http://randomwalk.in/covid19India/
I hope you will keep updating the dataset. I have added you as a collaborator. I think this is the only Hans Rosling style analytics publically available. So let us keep this running. It might be useful for somebody.
-Regards, Rahul

Hi Rahul,
Your work is amazing!
I will certainly keep updating the dataset as regularly as the source provides it.
Thanks a lot for adding me as a collaborator!
Glad to see you put this data to such a great use.
Let us definitely keep it running!
Stay safe.
Regards,
Amey.


Can't measure 49 reason: no ref log

Hi,
The library works perfectly, however we are getting this log every time and on scroll as well. Not sure how to resolve this. Is there any thing that we are doing it wrong?
React Native Version - 0.62.2
Lib - 2.3.3
Any help? Thanks in advance

Any update?

The following code will triggered the warning you mentioned
<View>
<DraggableFlatList
        data={contents}
        renderItem={renderItem}
        keyExtractor={(item) => `draggable-item-${item.id}`}
        onDragEnd={async ({ data }) => {
                console.log(data);

        }}
      />
</View>

By setting style={{flex:1}} to the <View> solved the problem
Working code without warning or error
<View  style={{ flex: 1 }}>
<DraggableFlatList
        data={contents}
        renderItem={renderItem}
        keyExtractor={(item) => `draggable-item-${item.id}`}
        onDragEnd={async ({ data }) => {
                console.log(data);

        }}
      />
</View>

What when I cannot use a View arround the FlatList?

@bernardnongpoh  My Code is exactly same, still the issue exists. The logs says ## can't measure 49 reason: no ref

What if I cannot use a View arround the FlatList?

Worked fine for me without View

@bernardnongpoh  My Code is exactly same, still the issue exists. The logs says ## can't measure 49 reason: no ref

Can you please  share me your code and react native version

<View  style={{ flex: 1 }}>
<DraggableFlatList
data={data}
renderItem={this.renderItem}
keyExtractor={(item) => draggable-item-${item.id}}
onDragEnd={async ({ data }) => {
console.log(data);
    }}
  />

React Native Version 0.63.2

I know why this is, I found out it only happens with items that aren't currently rendered. I suggest removing the no ref error as the follow-up queue measures it correctly when the VirtualizedList renders the next batch of items.

@computerjazz Should be resolved with the new debug prop if I'm right?


[ui] Templar improvements and bug fixes

Fixes #398
Fixes #400
Fixes #403

this moves the templating of a : command to the UI, (pre action)
this allows for :run site.yml --eei {{ details.repotags[0] }}  (running a playbook using a specific image while looking at image details (as an example)
remove templating logic from :open as it is being done in the UI now
:template now uses the App base class for convenience
Notification pop-up for action not found
Notification pop-up for templating error
Fix templar to use the configured logger
added integration tests focued around use of {{ }} in the : command input
adds a ui.clear() to both :select and :back to remove some bleed from the previous screens

Recheck

recheck


mml3.js collection of failed MML test suite tests

Just a quick pass. Some of these seem like bugs but most seem to be missing features.
Live demo: http://codepen.io/pkra/pen/WbRzOm
Open (by priority)
Sorted  by priority / feasability.

[ ] http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/longdivision-rtl2-full.xhtml

main "line" extends far too the left. (why is that an RTL test in the suite?)

[ ] http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-msline01-full.xhtml, http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-msline02-full.xhtml

msline position is off by 1 -- simple bug?

[ ] http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-mstack04-full.xhtml

stackalign="decimalpoint" cuts off msline -- bug?

[ ] http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-mstack20-full.xhtml

align="baseline -2" fails (other align tests look basically ok -- simple bug?)

[ ] http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/longdivision-rtl1-full.xhtml

extended "main line" but also RTL issues ("top level" is RTL but the individual calculation steps are not).

[ ] http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-mscarries07-full.xhtml, http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-mscarry10-full.xhtml, http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-mscarry11-full.xhtml

spacing issues in subsequent carries (also, msline segmented) -- fixable?

[ ] http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-msline03-full.xhtml

leftoverhang / rightoverhang fails

[ ] http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-mstack05-full.xhtml (etc.)

charspacing fails

[ ] http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-mstack10-full.xhtml

charalign fails

[ ] http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-mstack24-full.xhtml

align="axis" fails.

Fixed

[x] http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-mstack02-full.xhtml

stackalign="center" fails (left, right are ok) -- bug?

[x] http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-mscarries13-full.xhtml

scriptsizemultiplier fails

HTML-CSS specific issues
These are due to dir "bleeding" through to the output. They work fine in SVG.

[ ] http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/mfenced2-full.xhtml
[ ] http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/mixednumbers-rtl1-full.xhtml
[ ] http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/mmultiscripts3-full.xhtml
[ ] http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/mmultiscripts2-full.xhtml
[ ] http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/subtraction-rtl1-full.xhtml
[ ] http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/thearithmeticmean1-full.xhtml

Thanks for that, I'll see what I can do....

I added support for scriptsizemultiplier= and stackalign=center to the
upstream googlecode sources.
https://code.google.com/p/web-xslt/source/list
I hope to do some more during the week, so you could pick up the
mml3.js or wait, depending which works best for you.
David

Note to self: browsers are "interfering" in RTL behavior. E.g., the first test at http://codepen.io/pkra/pen/WbRzOm will render correctly in SVG but not HTML-CSS.

On 4 February 2015 at 09:34, Peter Krautzberger<EMAIL_ADDRESS>wrote:

Note to self: browsers are "interfering" in RTL behavior. E.g., the first
test at http://codepen.io/pkra/pen/WbRzOm will render correctly in SVG
but not HTML-CSS.
—
Reply to this email directly or view it on GitHub
https://github.com/mathjax/MathJax/issues/1025#issuecomment-72820726.

Yes I had wondered about injecting bidi isolation characters into token
elements in mml3mml2's rtl support  but most appropriate is probably U+2069
but that's Unicode 6 and produces missing glyph markers if the browser/font
not expecting it. The mathml spec says that each token element should be
isolated for bidi so arguably mathjax could? be using    or a css CSS
rule  using unicode-bidi: on token elements although they are a similar
vintage: bdi, being introduced in html5  so I don't know....

Thanks, David. I suspect we're just getting to the end of the line of hacking RTL support this way.

Just a note to say that since googlecode is being killed the upstream repository is now also on github at
https://github.com/davidcarlisle/web-xslt

Thanks for the heads up, @davidcarlisle

I've updated the OP with the latest results.

Another update to the OP, noting the improvements to the RTL tests. We should probably add that CSS hack to the extension.

Added  #1252


Can not editor with japanese string

@yuhua-chen the last MCLog source is not crash,
However, i can not editor japanese with xcode,
Please help me for this!
thank you!
i am running OSX El Capitan with xcode 7.1.

Hey~ Check out the latest version. It should work.

@yuhua-chen
thank you for lastest version of MCLog,
I checked out and check,
Now, it is very good,

:beers:


"write bootstrap" & "full/diff backup pool"

Hi,
this merge request adds:

support for the "write bootstrap" option in the job and jobdefs defination
"full / differential backup pool" support for jobdefs.

bootstrap example:
  bacula::job { "host-job":
    jobdef    => 'default',
    ....
    write_bootstrap => '/srv/bacula/bootstraps/host',
  }

backup pool example:
    bacula::jobdefs { "default":
      ....
      full_backup_pool  => "full-pool"
    }

This looks good, thank you.  Would you mind also updating the README for the new option?


Remove uses of SFINAE in xview accessor

Slight modification on the top of #44, which should be functionally equivalent.
This replaces SFINAE with template resolution.
Ping @wolfv

Passes the test i've added in the other pull request :)


Flow typing is incorrectly exported

Are you submitting a bug report or a feature request?

Bug report
What is the current behavior?

The Field and FieldArray exports on index.js.flow have FieldProps and FieldArrayProps respectively as their props. These props are for the component passes to Field or FieldArray, not for Field and FieldArray themselves.
The build:flow does not export the flow definitions to the es folder
The Dispatch in FieldProps.types.js.flow should have a wildcard generic type (Dispatch<*>) or else flow complains about ambiguous polymorphic type.

What is the expected behavior?

The Props for Field and FieldArray in index.js.flow should be FieldInputProps and FieldArrayInputProps instead.
build:flow should also export the flow definitions to the es folder
Change Dispatch to Dispatch<*> in FieldProps.types.js

Sandbox Link

What's your environment?

<EMAIL_ADDRESS>Other information

I added .*/node_modules/redux-form/.*\.flow to section [ignore] inside .flowconfig in the meantime.

Fantastic reporting, @huangbi! 👍 👍

Published in v7.0.3.

The Dispatch in FieldProps.types.js.flow should have a wildcard generic type (Dispatch<*>) or else flow complains about ambiguous polymorphic type.

Correct me if I'm wrong, but I believe that * is not "a wildcard generic type". It's an existential type.

An existential type is used as a placeholder to tell Flow to infer the type.

I saw a weird cases in my apps where having * in the type would use a different type depending on the order of calling the function with different arguments.
I believe a wildcard generic type looks like this in Flow:
function identity<T>(value: T): T {
  return value;
}

I just wanted to point it out there, because from my experience, a liberal use of * resulted in many weird Flow errors down the road which I've been fixing with the generic type.

@ravicious So what should it be? Dispatch<any> or just Dispatch with no type?

I'm not really an expert on this, so I'm afraid I can't tell you what should be there. :(
I just wanted to point out that this could be a good point to start debugging if people ever come with a problem about Dispatch type.

Still get error "Required module not found"
import {   Field, reduxForm,   getFormValues, change, } from 'redux-form';
redux-form 7.0.3
flow-bin 0.52.0


Create a new pull request by comparing changes across two

eslint                           ^8.16.0  →  ^8.17.0
sass                             ^1.52.1  →  ^1.52.2
stylelint-config-twbs-bootstrap   ^3.2.0  →   ^4.0.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.06%) to 95.767%

Files with Coverage Reduction
New Missed Lines
%

js/src/util/focustrap.js
1
91.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
2029

Relevant Lines:
2081

💛  - Coveralls


Backend templates - packaging script - application and branch parameters need to be seen as optional

Too strict validation of parameters, see
https://github.com/IBM/dbb/blob/9e7d55c5986c42fa9940f0de98335eb25cc3bdd5/Templates/Common-Backend-Scripts/packageBuildOutputs.sh#L283-L293

Delivered via #192


Reformat documentation

(and test Cloudflare Pages deployment)
Deployment URL is visible in logs:

We might make it more accessible later.
Readiness checklist

[ ] I added unit tests for new functionality or bug fixes.
[ ] I added integration tests for new functionality or bug fixes.
[ ] I added compatibility tests for new functionality or bug fixes.
[x] I made spot refactorings.
[x] I updated user documentation.
[ ] I ran task all, and it passed.
[ ] I added/updated comments for both exported and unexported top-level declarations (functions, types, etc).
[ ] I checked comments rendering with task godocs.
[x] I ensured that the title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

@Fashander @rumyantseva PTAL, enabled LFS check

do we need blog-preview similar to docs-preview?

I think that will be useful, yeah


Add an API client test by using mocks

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/approve


WebMidi.enable() callback never invoked

I'm trying to debug odd behavior when using webmidi and the iOS Web MIDI Browser.
If I connect my MIDI input device (happens to be bluetooth) after starting the app, webmidi behaves as expected.  However if I start the app with the MIDI device already connected, WebMidi.enable() never invokes its callback function.
It's hard to debug since the Safari remote inspector isn't working for me (Web MIDI Browser author claims it should), but I've confirmed that a JS exception is not occurring.  Roughly, the following code will only log "done":
WebMidi.enable(function(err) { log('enable'); });
log('done');

details:
webmidi v2.0.0-rc.11
Web MIDI browser v1.0.6
iOS 11.2.1   iPad Air 2

I forgot to note that the Web MIDI Browser test app, which uses the Web MIDI API directly, works fine in both cases.

I have the web inspector running now and was able to narrow this down:  the promise for the open() call on the port corresponding to the bluetooth MIDI input is never completing.  This is the code added to enable() recently to ensure that all devices trigger connected event at init.
I can't confirm if this is specific to the device being bluetooth since I don't have the necessary cable to test USB connection to the iPad.
Interestingly, if I forcibly remove that promise from the subsequent Promise.all() call then things work fine, and the app still gets a connected event on the bluetooth MIDI input.

Since I haven't heard back from you, I'm going to close this as I have no means to test this scenario any further. You can always reopen it if you have more info to provide.


The current sllm-store-server running state is stuck in the GPU buffer creation and log output phase, and does not continue to the part of the server startup listening.

Prerequisites

[X] I have read the ServerlessLLM documentation.
[X] I have searched the Issue Tracker to ensure this hasn't been reported before.

System Information
OS: Ubuntu 22.04
Python: 3.10
GPU: 4090*4
Pytorch: 2.3.0
Problem Description
I have followed the Quickstart Guide in the ServerlessLLM Store. But I couldn't start the checkpoint storage server in a separate process. May I ask what is the reason for this?
Steps to Reproduce
Steps to reproduce:
1.conda create -n sllm-store python=3.10 -y
2.conda activate sllm-store
3.pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ serverless_llm_store==0.0.1.dev4
4.git clone git@github.com:ServerlessLLM/ServerlessLLM.git
5.cd ServerlessLLM/serverless_llm/store
6.pip install .
7.cd ServerlessLLM/serverless_llm/store/tests/python
Running Python file
from serverless_llm_store import save_model
Load a model from HuggingFace model hub.
import torch
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained('facebook/opt-1.3b', torch_dtype=torch.float16)
Replace './models' with your local path.
save_model(model, './models/facebook/opt-1.3b')
8.sllm-store-server --storage_path /root/ServerlessLLM/serverless_llm/store/tests/python/models --mem_pool_size 32

Expected Behavior
No response
Additional Context
No response

Quite wired, and I could not reproduce the process. Usually, it will show the server listening after around 10.
Could you provide more detail information about your hardware?
I20240919 08:23:13.470137 214832 pinned_memory_pool.cpp:29] Creating PinnedMemoryPool with 1024 buffers of 33554432 bytes
I20240919 08:23:25.807274 214832 checkpoint_store.cpp:81] Memory pool created with 32GB
I20240919 08:23:25.809898 214832 server.cpp:306] Server listening on <IP_ADDRESS>:8073

Thanks for your feedback!
Just a quick note: if you've installed via pip (step 3), there's no need to install from source again (step 6).
Regarding the issue, it looks like sllm-store-server is getting stuck while allocating 32 GB of pinned memory. Could you please provide the available system DRAM or the DRAM limit in your virtual environment (e.g., Docker, VM)?
Reducing the memory pool size to 4 GB should be sufficient to load the opt-1.3b model in FP16.

It's a problem caused by my server's low memory. I have modified this problem.
Thank you very much! ！！
But I had a problem running the sample code "Load model in your project and make inference".
Can you ask what causes the following?
Here is GPU information.

import torch
print(f"CUDA is available: {torch.cuda.is_available()}")
CUDA is available: True
print(f"Number of GPUs: {torch.cuda.device_count()}")
Number of GPUs: 3
for i in range(torch.cuda.device_count()):
...     print(f"GPU {i}: {torch.cuda.get_device_name(i)}")
...
GPU 0: NVIDIA GeForce RTX 4090
GPU 1: NVIDIA GeForce RTX 4090
GPU 2: NVIDIA GeForce RTX 4090
exit()

(sllm-store) root@ubuntu:~/ServerlessLLM/serverless_llm/store/tests/python# netstat -tuln | grep 8073
tcp6       0      0 :::8073                 :::*                    LISTEN
(sllm-store) root@ubuntu:~/ServerlessLLM/serverless_llm/store/tests/python# ps aux | grep sllm-store-server
root        2751  8.0  4.5 3190792 367908 pts/0  Sl+  01:46   0:02 /root/anaconda3/envs/sllm-store/bin/python /root/anaconda3/envs/sllm-store/bin
sllm-store-server --storage_path /root/ServerlessLLM/serverless_llm/store/tests/python/models --mem_pool_size 4
root        2811  0.0  0.0   6440   720 pts/2    S+   01:47   0:00 grep --color=auto sllm-store-server
(sllm-store) root@ubuntu:~/ServerlessLLM/serverless_llm/store/tests/python# ls -l ./models/facebook/opt-1.3b
total 2569900
-rw-r--r-- 1 root root        749 Sep 19 07:41 config.json
-rw-r--r-- 1 root root        132 Sep 19 07:41 generation_config.json
-rw-r--r-- 1 root root       1047 Sep 19 07:41 no_split_modules.json
-rw-r--r-- 1 root root<PHONE_NUMBER> Sep 19 07:41 tensor.data_0
-rw-r--r-- 1 root root      39842 Sep 19 07:41 tensor_index.json
-rw-r--r-- 1 root
one1.py：
import time
import torch
from serverless_llm_store import load_model
warm up the GPU
num_gpus = torch.cuda.device_count()
for i in range(num_gpus):
torch.ones(1).to(f"cuda:{i}")
torch.cuda.synchronize()
start = time.time()
model = load_model("facebook/opt-1.3b", device_map="auto", torch_dtype=torch.float16, storage_path="./models/", fully_parallel=True)
Please note the loading time depends on the model size and the hardware bandwidth.
print(f"Model loading time: {time.time() - start:.2f}s")
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained('facebook/opt-1.3b')
inputs = tokenizer('Hello, my dog is cute', return_tensors='pt').to("cuda")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

root         56 Sep 19 07:41 tied_no_split_modules.json

Thank you for providing detailed debug information. It appears that the server is listening correctly, but the client is unable to establish a connection. The issue might stem from SllmStoreClient attempting to connect to localhost:8073. In certain cases (such as hostname resolution or firewall settings), this can lead to connection errors. A fix has already been submitted in PR #94. Please test again once it's merged and released, or you can try installing from source to verify the fix in advance.

Thank you very much!
I've already used your latest version. I see that init.py in the serverless_llm_store folder has not been changed in your new release. After I cited it, it still didn't work. I don't know if it's because my hardware isn't up to par?
Also, if I install vllm by pip, the torch version required is 2.4.0, but serverless_llm installed torch version is 2.3.0, can serverless_llm run under torch==2.4.0? If I just want to use your fast model checkpoint loading method. What else can I do?

![PYPH4$JS1D4A5V01%NE R(2]

ents/assets/8a8c2cc7-61f3-47fa-b446-cc9fc79a5ca1)
(https://github.com/user-attachments/assets/0c89e1f8-597f-4be2-aa56-7f5580af37f2)

Hi, for use it with vLLM, since we have to apply our customized patch file on vLLM, only vLLM 0.5.0 is tested and supported (which also uses pytorch 2.3.0).
We haven't tested it with Pytorch 2.4.0. If you try to use it with the latest vLLM, you may have to modify the patch file we provided since vLLM has changed the API in model loading after 0.5.0.

Similar problems also occur when running vllm below. May I ask what causes these problems? How to fix it?

Could you please try using dev5 and let us know if the problem still exists?

I have tried using dev5, but the problem still exists.

I have tried using dev5, but the problem still exists.

Thanks for the update!
Could you check on the client machine if the port is accessible? For example, you can use:
nc -zv <server_ip> 8073

Let me know if the port is reachable.

The port is reachable. But it still won't work.

The port is reachable. But it still won't work.

If the issue persists, I can't determine the cause right now. However, we are planning to improve sllm's error handling capabilities in the next release. With more detailed error reporting, we hope to better understand and resolve this issue. Apologies for the inconvenience, and we'll notify you once the enhancement is merged and released.


refactor(component): adopt latest component pkg for json reference

Because

we want to use json reference for on the fly

This commit

adopt the latest component pkg for json reference
remove all render.py that was used for rendering json reference

related to https://github.com/instill-ai/community/issues/465


FreeBuilder on JOOQ generated interfaces produces placeholders.

Loving the prospect of of being able to generate the builder pattern, thank-you!
When I run FreeBuilder on the interfaces generated using JOOQ (after adding the FreeBuilder annotation and import).  the _Builder.java files are placeholders.  The interfaces (with @FreeBuilder) can be seen here: https://github.com/eghm/EffectiveJavaBuilders/tree/master/db2builder/my-app/src/main/java/com/mycompany/app/jooq/tables/interfaces
The FreeBuilder generated files can be found at https://github.com/eghm/EffectiveJavaBuilders/tree/master/db2builder/my-app/freebuilder-gen/com/mycompany/app/jooq/tables/interfaces
I'm hoping you would be able to shed some light on why I'm not getting full _Builder.java files?
Thank-you for your assistance.

Hey eghm,
You'll need to add a Builder type to each of your interfaces that subclasses the generated buIlder, e.g. in IAbsent, add:
class Builder extends IAbsent_Builder {}

I just checked out the JOOQ manual, and it seems you should be able to configure it to add arbitrary code like this to its generated classes. 👍  If I'm right, it would be great if you could post exact instructions here as I'm sure you won't be the only one wanting to do this!
Thanks!
Chris

Thank-you that does indeed resolve my issue.  I'll share the details once I get them sorted.


#704 responsive breadcrumbs

PR Checklist:

[x] Link to related issues: #704
[ ] Add changelog entry linking to issue, describe API changes
[ ] Add tests (optional)
[ ] (If new feature) add to description / readme

cherry picked into develop