Build fails on OS X < 10.11

yup-oauth2 fails to build on Travis CI OS X workers:
   Compiling yup-oauth2 v0.5.4
     Running `/Users/travis/build/programble/fresh/target/debug/build/yup-oauth2-6fcf5dac526993e1/build-script-build`
Build failed, waiting for other jobs to finish...
failed to run custom build command for `yup-oauth2 v0.5.4`
Process didn't exit successfully: `/Users/travis/build/programble/fresh/target/debug/build/yup-oauth2-6fcf5dac526993e1/build-script-build` (signal: 11)
--- stderr
thread '<main>' has overflowed its stack

https://travis-ci.org/programble/fresh/jobs/107171816
This seems to be the only place this happens. Building locally on OS X works fine.

Thanks for letting me know ! I have opened an issue in the project that I suspect is causing this issue.
In the meanwhile, I will leave this one open until there is a solution.

Getting this issue on a different OS X machine running Yosemite 10.10. Seems like it breaks on OS X < 10.11, since Travis runs OS X 10.9.5.

It seems that this is definitely a distinct issue from Byron/google-apis-rs#148, since there doesn't appear to be any older version of serde_codegen + syntex that doesn't overflow.


🚸 Refactor .describe() and feature assignment, fix order of columns in displays

I keep iterating through different versions
This is where I am right now

And here with types

@falexwolf cool! Feels much more reduced.
I wonder whether should keep the ' given that in the case of experimental_factors they are super distracting because some 10x assays also contain ' in their names. I know that we want to keep colors minimal, but maybe just highlighting the , would serve as better separators than the much more cluttering '?

Yes, legitimate! Let me make another big change, and then we'll discuss polishing!


🐛 Bug Report: PRs disappeared

📜 Description
My team had a score of 54 and suddenly all of our PRs have disappeared and the score dropped to 14
👟 Reproduction steps
Take a look at the leaderboard, team name is squad_zero
👍 Expected behavior
It should be displaying the correct score and display our PRs
👎 Actual Behavior with Screenshots

💻 Operating system
Windows
🤖 Node Version
Latest
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?

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

Are you willing to submit PR?
No response

Yes happening today


drivers_test.go drivers.Open incorrectly

drivers_test.go
readyDB, err := drivers.Open(readyURL, nil, nil)

drivers.go
// Open opens a sql.DB connection for a driver.
func Open(ctx context.Context, u *dburl.URL, stdout, stderr func() io.Writer) (*sql.DB, error)

Fixed in https://github.com/xo/usql/commit/c0e58c704e24a9a762b415a2bf419f30eff28f60, thanks for reporting!


Fix minor typos.

Some things I saw while reading the tutorial.

Sorry for the delay! I somehow missed this PR. Will publish an updated tutorial soon.


Expense - Submitted expense gets hidden after submitting previous expense

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.21-1
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Navigate to staging.new.expensify.com
Sign in with a new Gmail account and finish the onboarding flow by selecting "Something else"
Create a new workspace
Toggle on "Report fields"
Add a report field with "Text" type
Navigate to workspace chat and create an expense but don't click on submit
Open the combined transaction report and add a report field and save it
Click on Submit
Edit the report field and save it again
Click on From link on the sub header to navigate back to workspace chat
Click on the Expense to navigate to the combined report again
Click on the Workspace chat from the LHN
Submit another expense

Expected Result:
The submitted expense appears under the previous expense
Actual Result:
The newly submitted expense becomes hidden
Workaround:
Unknown
Platforms:

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/0deec07f-925d-4d22-ab8f-fcc6dfeab10e

View all open jobs on GitHub

We think that this bug might be related to #wave-collect - Release 2

@mallenexpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@fedirjh , lil help here plz.   At the :25 second mark of the vid, I don't understand how to get the expense to show in the main pain if Submit hasn't been clicked, Step 6 in the OP.  Do you?
ie. from here

to it showing here

Vid of what happens when I click outside the RHP, it takes me to the main chat without the expense showing
https://github.com/user-attachments/assets/44033016-0bc9-4aa8-a88b-e9e055929fbb

Are you guys able to reproduce this issue?
I can't reproduce on latest main.
https://github.com/user-attachments/assets/a49fafec-b1c2-4ce4-a7d1-868320df5e4d

Thanks @fedirjh and @tushar-a-b , since 3 of us can't reproduce, I'm going to close.


add cec2 0.1.0 to stable

as per https://github.com/iobroker-community-adapters/ioBroker.cec2/issues/121 this should be done... ;-)

0.1.0 created 18.02.2021 (!)
47 user
OK


Possible buffer overflow for streaming uploads

When I set a custom part size and do a multi-part streaming upload, the buffer overflows when chunk size doesn't perfectly divide the part size.
E.g. When I'm streaming data in chunks of 3MB(over gRPC) for a 64MB part size, the buffer overflows.
What's possibly happening is that while copying the last chunk into buffer, there was some space left but it doesn't exactly fit the last part.
panic: runtime error: slice bounds out of range [:69206016] with capacity 67108864

goroutine 102 [running]:
github.com/minio/minio-go/v6.Client.putObjectMultipartStreamNoLength(0xc0000dec80, 0xc000083bc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc0001e2810, 0xc0002327a0, ...)
	external/com_github_minio_minio_go_v6/api-put-object.go:277 +0x11e2
github.com/minio/minio-go/v6.Client.putObjectCommon(0xc0000dec80, 0xc000083bc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc0001e2810, 0xc0002327a0, ...)
	external/com_github_minio_minio_go_v6/api-put-object.go:205 +0x6ce
github.com/minio/minio-go/v6.Client.PutObjectWithContext(0xc0000dec80, 0xc000083bc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc0001e2810, 0xc0002327a0, ...)
	external/com_github_minio_minio_go_v6/api-put-object-context.go:32 +0x198
.
.
.

Expected Behavior
The buffer should flush when it reaches its capacity.
Current Behavior
Sets the progress reader to an offset beyond its size.
Possible Solution
Add logic in api-put-object.go to flush the buffer when it reaches its capacity.
Steps to Reproduce (for bugs)
Create a minio Client to upload an object greater than the part size.
Set object size to -1(unknown size) and some custom part size in upload options.
Stream data in chunk sizes that doesn't perfectly divide the part size.
Regression
No
Your Environment
Version used (v 6.0.53):
Environment name and version:
Server type and version:
Operating System and version (Linux node01 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun 18 16:35:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux):
Link to your project:

Could you share your parameters sent to PutObjectWithContext?

@klauspost I'm using these params
opt := minio.PutObjectOptions{
  UserMetadata: metadata,
  PartSize:     64*1024*1024,
  NumThreads:   4,
}

where metadata is a map with filename, size and crc32 checksum.

panic: runtime error: slice bounds out of range [:69206016] with capacity 67108864

This is not possible the length returned by io.ReadFull() is greater than the buffer that was sent into it. , what is the reader implementation here @gohilankit ?

This can only happen if your Reader implementation returns more bytes than the buffer supplied to the buffer
func ReadAtLeast(r Reader, buf []byte, min int) (n int, err error) {
	if len(buf) < min {
		return 0, ErrShortBuffer
	}
	for n < min && err == nil {
		var nn int
		nn, err = r.Read(buf[n:])
		n += nn
	}
	if n >= min {
		err = nil
	} else if n > 0 && err == EOF {
		err = ErrUnexpectedEOF
	}
	return
}

@harshavardhana My reader looks like this:
type myreader struct {
	chunks [][]byte
}

var i = 0

func (sr myreader) Read(d []byte) (n int, err error) {
	if i == len(sr.chunks) {
		return 0, io.EOF
	}
	p := sr.chunks[i]
	copy(d, p)
	i = i + 1
	return len(p), nil
}

And my driver code uses a helper function(getChunks) to break file into chunks.

@harshavardhana My reader looks like this:
type myreader struct {
	chunks [][]byte
}

var i = 0

func (sr myreader) Read(d []byte) (n int, err error) {
	if i == len(sr.chunks) {
		return 0, io.EOF
	}
	p := sr.chunks[i]
	copy(d, p)
	i = i + 1
	return len(p), nil
}

And my driver code uses a helper function(getChunks) to break the file into chunks.
  .
  .
        filePath := "minioTestData/temp_100MB_file"
	r := myreader{chunks: getChunks(filePath)}
	size := int64(-1)
	opts := minio.PutObjectOptions{
		PartSize:   64 * 1024 * 1024,
		NumThreads: 4,
	}
	objectName := "temp100m"
	ctx := context.Background()
	n, err := minioClient.PutObjectWithContext(ctx, bucket, objectName, r, size, opts)
  .
  .

func getChunks(file string) [][]byte {
	chunkSize := 3 * 1024 * 1024 //3MB
	data, err := os.Open(file)
	if err != nil {
		log.Fatalf("failed to read file: %v", err)
	}
	defer data.Close()
	var chunks [][]byte
	reader := bufio.NewReader(data)
	chunk := make([]byte, chunkSize)
	l := 0
	for {
		if l, err = reader.Read(chunk); err != nil {
			if l > 0 {
				chunks = append(chunks, chunk[:l])
			}
			break
		}
		chunks = append(chunks, chunk[:l])
	}
	return chunks
}

There are quite a few bugs here @gohilankit your io.Reader implementation is not compatible with io.Reader spec which is causing this issue, it is has nothing to do with minio-go @gohilankit
If you look at the spec you will understand what you are missing.

Ok I will have a look at the specs.
But this works fine if you change the part size to 66MB keeping 3MB chunks, or keep 64MB part size with chunks of 2MB.
Basically the partsize should be exactly exactly divisible by chunk size, which is what I suggested in my previous comments.

What's possibly happening is that while copying the last chunk into buffer, there was some space left but it doesn't exactly fit the last part.

But this works fine if you change the part size to 66MB keeping 3MB chunks, or keep 64MB part size with chunks of 2MB.

You don't need to use minio-go just write code where you pass 64MiB buffer to io.ReadFull() and see if your reader returns higher value than the buffer. If it does then your reader is buggy.

	p := sr.chunks[i]
	copy(d, p)
	i = i + 1
	return len(p), nil

As mentioned you never check if the size of d can hold all of p. In that case the copy will copy less bytes, but you return the length of p as the number of bytes copied, which is wrong.

@harshavardhana @klauspost  - Thanks for your inputs. I corrected my reader implementation and it works fine now.


SVG images loading very slow from embedded resources if in the listview

Hi Daniel,
i have a listview  datatemplate as below and problem is that first load is very slow on Android.
I tested with real device Sony xperia z3 andoird 6
I am seeing loading.gif for like 5+ secs and suddenly all images are appearing.
But on UWP, super fast i dont even see any loading. I thought that maybe problem is using loadingplaceholder but even if I remove it, i see blank first 5+ secs and all appears. Do you know if I am doing something wrong or there is  a problem?
Version:2.3.4

 <DataTemplate>
                                <Frame  OutlineColor="Silver" HasShadow="True" InputTransparent="True" Margin="5" Padding="1" BackgroundColor="Transparent" HorizontalOptions="FillAndExpand">
                                    <Grid  VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" >
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="*"></ColumnDefinition>
                                            <ColumnDefinition Width="*"></ColumnDefinition>
                                        </Grid.ColumnDefinitions>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="*"></RowDefinition>
                                        </Grid.RowDefinitions>

                                        <ffimageloadingsvg:SvgCachedImage RetryCount="1"	  TransparencyEnabled = "false"
                                                LoadingPlaceholder="loading.gif"        FadeAnimationEnabled="True"    InputTransparent="True"     ErrorPlaceholder="resource://myApp.Images.Icons.error.svg"
                                                    Source="{Binding Image1, Converter={StaticResource thumbnailConvertor}, ConverterParameter=0}"
                             Aspect="AspectFit"  Grid.Row="0" Grid.Column="0"  />
                                        <ffimageloadingsvg:SvgCachedImage  RetryCount="1"	  TransparencyEnabled = "false"
                                                     LoadingPlaceholder="loading.gif"    FadeAnimationEnabled="True"    InputTransparent="True"     ErrorPlaceholder="resource://myApp.Images.Icons.error.svg"
                                                    Source="{Binding Image2, Converter={StaticResource thumbnailConvertor},ConverterParameter=1}"
                             Aspect="AspectFit"  Grid.Row="0" Grid.Column="1"  />

                                    </Grid>
                                </Frame>
                            </DataTemplate>

Hi @EmilAlipiev

What's the code for thumbnailConvertor?
What are the image sources? urls? embedded resources? streams?

hi @daniel-luberda
sorry for the confustion of converter. it doesnt do much, it just sets adjusts the path but i have already tested the speed of this and it is under 1ms and i use exactly same converter for png files, they are super fast.
my Svg images are embedded files in Shared net standard2.0 project. and each of them are between 50-10kb big.
I am using Syncfusion sfListView but I guess that it has nothing to do with them if png files are fast.

Could you reproduce it with 2.3.5?

I will try it asap but quick question I recognized that you didnt upgrade skiasharp 3.0, any reason for it?

@daniel-luberda  this version looks like working better. performance is much better i can see. thank you for the fix.


File Not Found in the Model Pre-trained Download Section

Hello Rex
Thank you very much for sharing Cutie. Recently, I ran Cutie on Google Colab, and in the pre-trained model download section, the specified path does not exist, the specified python file python scripts/download_models.py  does not exist and this error message is appeared:[Errno 2] No such file or directory: '/content/Cutie'
/content
python3: can't open file '/content/scripts/download_models.py': [Errno 2] No such file or directory
I would appreciate it if you could add this file to your GitHub
thank you

It is python cutie/utils/download_models.py not python scripts/download_models.py
You need to cd into the Cutie repo before running the command


Fix query profiled segments error

Please answer these questions before submitting pull request

Why submit this pull request?
[x] Bug fix
[ ] New feature provided
[ ] Improve performance

Bug fix

H2 storage query profiled segment error when the segment size bigger than one.

Codecov Report

Merging #4516 into master will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #4516      +/-   ##
==========================================
- Coverage   25.50%   25.47%   -0.03%
==========================================
  Files        1244     1244
  Lines       28919    28918       -1
  Branches     3958     3959       +1
==========================================
- Hits         7375     7368       -7
- Misses      20865    20871       +6
  Partials      679      679

Impacted Files
Coverage Δ

...n/jdbc/h2/dao/H2ProfileThreadSnapshotQueryDAO.java
0.00% <0.00%> (ø)

...walking/oap/server/core/analysis/Downsampling.java
0.00% <0.00%> (-100.00%)
:arrow_down:

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 2118a76...73dc2a9. Read the comment docs.


MIT or 3 clause BSD

Just noticed the bower file has 3 clause BSD as the license, but the LICENSE file is MIT. Happy either way but they should probably match up, and since it's your project you get to pick.

Good catch, going with MIT because I'm lazy.


helm upgrade --debug --dry-run displays old NOTES.txt

Description
helm upgrade --debug --dry-run displays old NOTES.txt
Scenario

helm install . OK
edit NOTES.txt
helm upgrade --debug --dry-run

Expected result:
Renders the new NOTES.txt
Actual result:
It renders the old NOTES.txt.
Info
Output of helm version:
Client: &version.Version{SemVer:"v2.8.2", GitCommit:"a80231648a1473929271764b920a8e346f6de844", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.8.2", GitCommit:"a80231648a1473929271764b920a8e346f6de844", GitTreeState:"clean"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:55:54Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"8+", GitVersion:"v1.8.10-gke.0", GitCommit:"16ebd0de8e0ab2d1ef86d5b16ab1899b624a77cd", GitTreeState:"clean", BuildDate:"2018-03-20T20:21:01Z", GoVersion:"go1.8.3b4", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
GKE

Confirmed the issue is that --dry-run does not display changes from disk but a normal upgrade command does return the updated notes. Marking as a bug since user expects to see the final output in the dry-run.

I have started working on this.

This can be fixed on the client side by updating the Notes field from Status (I will submit a PR for this)
As a second option, it seems that tiller could return the latest resource string (which seems to be the only "missing" piece of information) as part of the update response and remove the need for a second tiller call from client side. The downside could be that tiller will need to make an additional call to the api-server as part of update operation (currently, this call is made anyways as the upgrade command requests it from tiller).
If the second option seems preferable, please let me know and I can submit a PR for that instead.

closing as inactive.


question // any reason to use CMake released 4 years ago?

Hello, @iverg
Are any particular reasons to use so old CMake (CMake 3.5.1 March 24, 2016)?
I see the following code
cmake_minimum_required(VERSION 3.5.1)
...
SET(CMAKE_CXX_FLAGS "--std=c++11")

and have no viable explanation of why I should buy your book in 2020.
The only reason which comes into my mind, we sometimes use aged Enterprise Linux (RHEL 7) for embedded development, but it provides CMake version cmake3-3.17.2-1.el7.src.rpm
For Ubuntu LTE situation is even better - Kitware provides apt repository https://apt.kitware.com/

Hi Sergey,
This is a minimum version. CMake rules in the examples are very simple and
can work with pretty outdated versions of make. It does not limit you
however to use this version.\
Best,
Igor
On Fri, Jun 19, 2020 at 9:07 AM Sergei Nikulov<EMAIL_ADDRESS>wrote:

Hello, @iverg https://github.com/iverg
Are any particular reasons to use so old CMake (CMake 3.5.1 March 24,
2016)?
I see the following code
cmake_minimum_required(VERSION 3.5.1)
...
SET(CMAKE_CXX_FLAGS "--std=c++11")
and have no viable explanation of why I should buy your book in 2020.
The only reason which comes into my mind, we sometimes use aged Enterprise
Linux (RHEL 7) for embedded development, but even those distribution
provides CMake version cmake3-3.17.2-1.el7.src.rpm
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PacktPublishing/Embedded-Programming-with-Modern-CPP-Cookbook/issues/1,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWQXSWU5WM56X6KVGDFH6DRXOELDANCNFSM4OC3LLSA
.

Thank you for your explanation.


Simplify process of adding yourself to the OEO

Description of the issue
The current process of adding yourself to the OEO is decribed in the wiki. But that process is very complex for newbies that are not familiar with Git/GitHub.
Ideas of solution
One possible solution is to have two possibilities to enter the OEO:

The newbie follows the current worklow themself.
A newbie will be added by the @OpenEnergyPlatform/oeo-community-manager and/or one of the most experienced oeo-developers like @stap-m or @l-emele.

For option 2, we could create a special issue template where the relevant information (especially for CITATION.cff) is entered.
Workflow checklist

[ ] I am aware of the workflow for this repository

@l-emele and @Ludee I added a note to the wiki-page to clarify, that the process that might seem complicated to a newbie (like me:-) is also kind of a driving licence for an OEO contributer, are you ok with that? Maybe we can also delete the first two steps for finding one's ID since they might cause confusion as well (I had two different ID-numbers depending to choose from).

Also I think adding option 2 is a good idea, @Ludee


[2.1] Build issue for Android with NDK r18: ld: unrecognized option '--threads'

Having trouble compiling Godot.. Im using NDK r18, Godot 2.1.x, Platform=Android, Windows10 Laptop.
D:\Arcanium\Godot\godot215stablesourcecode>scons -j4 platform=android target=release_debug
scons: Reading SConscript files ...

MSVC not detected, attempting Mingw.
- gcc detected.
Godot Android!!!!! (armv7) (with neon)
Using NDK unified headers
scons: done reading SConscript files.

scons: warning: you do not seem to have the pywin32 extensions installed;
        parallel (-j) builds may not work reliably with open Python files.
File "C:\Python27\Scripts\scons.py", line 201, in <module>
scons: Building targets ...
[ 98%] Linking Shared Library ==> bin\libgodot.android.opt.debug.armv7.neon.so
[ 99%] =====
D:\androidSDK\sdk\ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: unrecognized option '--threads'
D:\androidSDK\sdk\ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: use the --help option for usage information
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
[ 99%]
=====
[100%] progress_finish(["progress_finish"], [])
[100%] scons: *** [bin\libgodot.android.opt.debug.armv7.neon.so] Error 1
scons: building terminated because of errors.

I'm not sure the 2.1 branch can build properly with NDK r18, there were various fixes in the master and 3.0 branches for that (#23033) which haven't all been done in the 2.1 branch.
@allkhor Any idea?

Im using windows10 pro 64 bit


Editor not working

Issue description:
Hi, the editor isn't working, instead blue button is appearing which don't have any value/label. I believe it will be "Open Editor". but this blank buttons isn't working either. I've uploaded reference image as well.
Version used:
(Did you try using the develop branch from github? There's a chance your issue has already been adressed there)
No I've plugin installed of this, and its added by TGMPluginActivation.
Using theme_mods or options?
theme_mods

Code to reproduce the issue (config + field(s))

Please post the code you're using, I'm unable to replicate this one and nobody else has reported this on the latest version, which makes me think there's something unique with your configuration that's causing this.

hello Aristath, thanks for the reply. Please check attached screenshot as code reference. Also here is the piece of code for About Section.
Code:
// About Section Content cleanresume_Kirki::add_field( 'about_section_content', array(     'type'        => 'editor',     'setting'     => 'about_section_content',     'label'       => __( 'About Section Content', 'cleanresume-lite' ),     'section'     => 'about_content_section',     'priority'    => 30, ) );
Attachment:

Note:
I'm only using 1 editor in whole customizer.

can you also pot your config?

Hi, thanks for the reply. I'm sorry are you referring to wp-config.php ?

No, I mean your Kirki::add_config() 👍

Hi, any update regarding my issue. Its still not resolved yet. Although Its working in localhost but not on live server.

In your Kirki::add_config() function you're defining that the ID of your configuration is cleanresume.
However, when adding your fields you're using about_section_content.
These need to be the same as per the docs on https://aristath.github.io/kirki/docs/getting-started/fields.html#breakdown-of-a-field-creation-call

Well it still not work either with 'cleanresume' or 'wysiwyg'

I'm afraid I won't be able to help unless I see your entire code.
Can you please send me your theme via email so that I may test this on my localhost?

Thanks for the reply and helping me out on this issue.
I can send you my website login information so you can check there. Its working fine on localhost but not on live.

Hi, Any news on this one ?
I still can't add a full working editor field
#1159
#968
thanks

https://github.com/aristath/kirki/issues/1046

https://github.com/aristath/kirki/pull/1246

Hello,
I had this problem too.

Which version of Kirki are you using? I was working on version '2.4.0-beta.2'. I tried version '2.3.7' and editor works fine.

Hi, i already got this resolved by adding theme slug on each field, especially with Editor field.
Thanks for the comment, though :)


Beanshell 2.0b1 hangs on start

The splash screen appears, but never disappears, and
the console window never appears. This happens
infrequently, and has been observed on both Linux and
Mac OS X with Java 1.4.1.
Reported by: redross
Original Ticket: "beanshell/bugs/143":https://sourceforge.net/p/beanshell/bugs/143

Need to test on MacOS and Linux

Tested on MacOS and Linux
Closed: cannot reproduce


Add chain_id claim to token

⚠ Depends on #1405
Summary
This adds a new chain_id claim to our authentication token.
SiWe sessions are chain-specific and routes pertaining to certain chains will to determine the chain of a session. As such, the session chain has been added to the token payload for later verification.
Changes

Add chain_id to JwtAccessTokenPayload
Add/update test coverage accordingly.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 3 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.04%) to 93.091%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
6794

Relevant Lines:
7045

💛  - Coveralls


Add the username who made the commit

For each commit listed please add the ability to view the author of that commit. I think it would make it much better to read

:+1: Want to submit a PR? :smile:

This was implemented with PR #86

For future reference, if a commit fixes an existing issue, you can put Fixes #86 in the body of the commit message and when it gets merged to master, GitHub will automatically close the issue.


InteractiveHighlighting needs a way to make its highlight invisible

In ratio-and-proportion/BothHandsPDOMNode, I have a node composed (interactiveNode) that has a keyboard focusHighlight, but we don't want a mouse highlight for. Currently the only way to hide mouse highlight is by setting it to null and using focusHighlight: 'invisible'.
I used this approach for AccordionBox, see first checkbox in https://github.com/phetsims/sun/issues/743#issuecomment-1057312096
But that doesn't work here. I ended up finding a work around with:         interactiveHighlight: new Shape(),. But I honestly don't know if that will cause problems, it presents with the desired behavior.
What are you thinking @jessegreenberg, can we add 'invisible' as an allowed value to interactiveHighlight?

I have never been a huge fan of the 'invisible' value in the API for ParallelDOM.focusHighlight but it is what we currently have. It was easy to use it for interactiveHighlight too so I added it. Should probably make Node | null | Shape | 'invisible' its own type.

There is now a type in HighlightOverlay.ts called Highlight. Ive gone through and used it in a11y code related to highlighting. It includes 'invisible'. I tested it with InteractiveHighlighting and ReadingBlock.
@zepumph will this work for you in Ratio and Proportion? Also do you think that HighlightOverlay is the right place for the Highlight type to live?

Works great for me! This feels like a really good place for it. Since you can so easily find it in the public API, it is best to organize it somewhere that makes sense for the scenery internal structure of Highlights.
https://github.com/phetsims/scenery/blob/f727ebe72dce0b85b59a8cdfe302ed1919a09d96/js/accessibility/voicing/InteractiveHighlighting.ts#L24
Thanks!


Location within the overall documentation website

This may not be practical, but I feel that Layout is such a vital topic that it needs something closer to star billing. Right now in the docs it is buried in User Interface >> Controls >> Layouts, and I had to scrounge a bit to find it. It is a type of Control, but could you consider raising it up one tier, so that it appears under User Interface >> Animation?
Thanks for considering this,
Michael
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: fdcef51d-4863-b416-c6c3-6b9d7095bef5
Version Independent ID: fdcef51d-4863-b416-c6c3-6b9d7095bef5
Content: Layouts - .NET MAUI
Content Source: docs/user-interface/layouts/index.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @mprogers
Thanks for the suggestion, but afraid it's got to stay where it is for now. Thanks anyway!

No worries, and thanks for considering it.


Write the technical plan

[ ] Add technical plan document to repository

Reference: https://site.robaone.com/blog/practical-email-management

Using a template from a private repository.


Suggestion: Add Vegetarian/Vegan to basic tags

Not sure if there are any other relevant ones but there are a lot of recipes which are vegetarian/vegan right now, and it would be nice to filter for them.

this you?

this you?

No it's not. It's a fact that there are a lot of recipes without meat on the site (Broccoli, Hummus, Pasta Sauce, Ketchup etc.). Idc about veganism and such, but sometimes you want something without meat (which there is on the site), and it wouldn't be that difficult. But if you guys insist on not adding it, fine, so be it.

Wondering if it might be good to reopen this issue. Even if you don't necessarily agree with the ideology of Veganism, the advantages include cost (meat is always more expensive at least where I live), independence (easy to grow plants) and (potentially) better health.


Fix building on Windows

Following commit c6b4b6d5f31449449a3798fab2640aeaf1d0d544, building on
Windows gives the following error in Python.sln/libpython-shared.vcxproj:
1>C:\dev\p\build\python-prefix\src\python\Modules\timemodule.c(1062): error C2491: '_PyTime_FloatTime' : definition of dllimport function not allowed

Defining Py_BUILD_CORE for just timemodule.c fixes the compile error,
but then the following linker error occurs:
1>LINK : fatal error LNK1104: cannot open file 'python27.lib'

This commit fixes the build by ensuring that Py_BUILD_CORE is defined
for all files in libpython-shared.vcxproj.

#82 attempts to address the failing tests in AppVeyor as well as fixing the build, so we can close this.


Template parsing

I'm trying to write custom rule by parsing HTML files or template in ts files.
What is right way to start on, any links would be appreciated.

You can use this rule as a base.
At some point I'll extract the parsing logic as a separate package.


Add dev guide to the template

Include a few words in the hydrated README and perhaps a page in the autogenerated sphinx docs that includes things like:
First you pip install -e .
Then you pip install -e .[dev]
Then pre-commit install
Then conda install pandoc
etc.
Just a few lines to help new devs how to get up and running with a newly hydrated project, or a new dev who is working on a project created from the python project template.

Be sure to explain what the -e flag does.


Code Selection Artifacts with "window.zoomLevel": some_fraction_number

VSCode Version: 1.15.0
OS Version: Windows 10 Version 1703 Build 15063.540

Steps to Reproduce:

Use "window.zoomLevel": 0.5 in config
Select all contents of file (example data https://gist.githubusercontent.com/Miserlou/c5cd8364bf9b2420bb29/raw/2bf258763cdddd704f8ffd3ea9a3e81d25e2c6f6/cities.json)

Reproduces without extensions: Yes
Issue not present with natural number in "window.zoomLevel".
Screenshot:

My config file:
// Place your settings in this file to overwrite the default settings
{
    "editor.fontSize": 17,
    "editor.fontFamily": "Fira Code Regular",
    "editor.fontWeight": "normal",
    "editor.tabSize": 4,
    "editor.cursorStyle": "line-thin",
    "git.enabled": true,
    "explorer.openEditors.visible": 9,
    "explorer.enableDragAndDrop": true,
    "files.encoding": "utf8",
    "files.eol": "\r\n",
    "files.insertFinalNewline": true,
    "files.autoSave": "off",
    "window.openFilesInNewWindow": "default",
    "editor.renderWhitespace": "none",
    "window.zoomLevel": 0.5,
    "workbench.startupEditor": "welcomePage",
    "editor.lineHeight": 24,
    "editor.fontLigatures": true,
    "terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe",
    "workbench.colorTheme": "Material Theme",
    "workbench.iconTheme": "eq-material-theme-icons",
    "editor.minimap.enabled": true,
    "editor.dragAndDrop": true,
    "editor.minimap.renderCharacters": false,
    "editor.cursorBlinking": "blink",
    "workbench.activityBar.visible": true,
    "workbench.statusBar.visible": true,
    "editor.mouseWheelZoom": false,
    "editor.renderIndentGuides": true,
    "editor.renderLineHighlight": "all",
    "editor.multiCursorModifier": "ctrlCmd",
    "editor.matchBrackets": false,
    "diffEditor.renderSideBySide": true,
    "extensions.autoUpdate": false,
    "editor.quickSuggestions": {
        "other": true,
        "comments": false,
        "strings": false
    },
    "subtleBrackets.disableNative": true,
    "subtleBrackets.parse": true,
    "subtleBrackets.styles": {
        "global": {
            "borderWidth": "1px",
            "borderStyle": "none none solid none",
            "borderColor": "#FFCC00"
        }
    },
    "editor.find.seedSearchStringFromSelection": true,
    "editor.find.autoFindInSelection": false,
    "editor.selectionHighlight": true,
    "editor.occurrencesHighlight": true,
    // https://github.com/Microsoft/TypeScript/issues/6209
    "typescript.disableAutomaticTypeAcquisition": true,
    "css.colorDecorators.enable": false,
    "scss.colorDecorators.enable": false,
    "less.colorDecorators.enable": false,
    "json.colorDecorators.enable": false,
    "window.restoreWindows": "all",
    "extensions.ignoreRecommendations": true
}

Selection is painted as a list of discrete rows, which in css pixels are covering a region entirely. When these coordinates get multiplied by the browser and the zoom level is applied, rounding errors in the browser engine lead to such smearing.
I suggest to not use window.zoomLevel unless you are projecting to an audience and need a quick way to zoom in.

This is an upstream issue (possibly within Chromium), and there are no known workarounds that we could implement on our side, short of removing window.zoomLevel entirely. This means there is no possible code change for us to do in VS Code sources to improve things.
To keep the number of issues in our inbox at a manageable level, we’re closing issues that have been on the backlog for a long time but haven’t gained traction or that are not actionable. Thank you for your time and understanding.


Added missed else clause in WebHost InvokeAction and updated HttpRequest Spliting Query to exclude fragments if exists

In case we have fragments in the query it will not include them in the last key-value pair of the splited query

When we getting value from request and successfuly convert it we did not add it in actionParameterValues list.

Nice catch! I've fixed it already in another commit. Thanks.


Dev and Test results don't match with Paper

I wanted to replicate your result on Ontonotes 5 with your provided pretrained model,  roberta_(e20_2021.05.02_01.16)_release.pt . But my results in dev and test test set are not the same as mentioned in your paper.
Here is the results,
dev: | WL:  loss: 0.12536, f1: 0.76390, p: 0.71747, r: 0.81674 | SL:  sa: 0.96890, f1: 0.73320, p: 0.69405, r: 0.77703

test: | WL:  loss: 0.11088, f1: 0.77439, p: 0.72105, r: 0.83624 | SL:  sa: 0.96855, f1: 0.74050, p: 0.69525, r: 0.79205

I used the default config file, config.toml. Can you please tell me why it is not providing the same results?

Hi!
The numbers you see should be showing the LEA metric rather than the CoNLL-12 metric reported in the paper.
You need to run calculate_conll.py on the produced files to get the CoNLL metrics. Please refer to the Evaluation section of the README.

Thanks. But I encountred another issue when I tried to run calculate_conll.py
====== TOTALS =======
Identification of Mentions: Recall: (17754 / 19764) 89.82%      Precision: (17754 / 21181) 83.82%       F1: 86.72%
--------------------------------------------------------------------------
Coreference: Recall: (13264 / 15232) 87.07%     Precision: (13264 / 16394) 80.9%        F1: 83.88%
--------------------------------------------------------------------------
None

Traceback (most recent call last):
  File "calculate_conll.py", line 42, in <module>
    extract_f1(subprocess.run(part_a + [metric] + part_b, **kwargs)))
  File "calculate_conll.py", line 17, in extract_f1
    return float(re.search(r"F1:\s*([0-9.]+)%", prev_line).group(1))
AttributeError: 'NoneType' object has no attribute 'group'

Hm. You can try running the evaluation scripts manually.
I am using the official scorer from here: https://github.com/conll/reference-coreference-scorers

@vdobrovolskii I am able to solve the issue in calculate_conll.py
you have to pass "capture_output": True as well in Subprocess.run
kwargs = {"check": True, "text": True, "capture_output": True}
extract_f1(subprocess.run(part_a + [metric] + part_b, **kwargs)))

Now it returns None.

I guess it is related with the difference if python versions... Thanks for posting the solution!


[FLINK-21669][table-api] Support "table.dml-sync" option to execute statement in sync mode

What is the purpose of the change
Introduce the option table.dml-sync. This option allow users to execute sql in sync.
This option doesn't work in old planner and batch mode.
Brief change log

Add new option in TableConfigOptions
When execute modify operation, it will chcek the value of the table.dml-sync and determine whether to await.
Throw exception in TableEnvImpl if set this option true

Verifying this change
This change added tests and can be verified as follows:
Added the pipeline as follow: TABLE A -> TABLE B -> TABLE C and check the TABLE C has all data in the Table A. The test is in the SqlClientITCase and TableEvnrionmentITCase
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

The implementation is wrong. I need to fix again...


Support DM'ing users who have not yet signed up

Still relevant?

Yes, but probably extremely low on the priority list

Does this even make sense in the new system?

The problem was that we didn’t create the Twilio user until after the user logged in the first time (rather than when they were registered). If the twilio users get made right away now, then it should be all good now.

Ah okay, then yes I resolved this.


initial fastlane structure

For your RFP with F-Droid, Fastlane structure will be needed to provide description and graphics. This PR provides some initial data. Be welcome to use my Fastlane Cheat Sheet to build on this, e.g. adding featureGraphic and per-release changelogs (both are optional but nice to have). Also feel free to skip any of the screenshots you don't like, add your own, modify the description… This PR should just help you getting started with this :smiley:
PS: for tagging, it would be nice if tag names could match the versionName. For the current release, that would mean something like v1.0 instead of Alpha. Thanks in advance!

Thank you! Looking forward for further collaboration with you!

s udovolstvijem! You might wish to check this place in about an hour. If you like what you see there, find a badge here for your Readme to link to that place. Once your app hits the F-Droid.org repo, I usually remove it again from mine after an overlap of about 10 days (you can switch to a proper F-Droid badge then), unless there's some reason the author wants it to stay :smiley:


README: Note usage of submodule

Closes #10

Tbh for me this is two separate things:

Obtaining the sources
Running the build

I would encourage you to read Diana C' Reep's books, if technical writing interests you at all.
https://www.amazon.ca/dp/0205721508
Consider the following.

The build system uses CMake wrapped with mz-cmaketools for convenience. Acquire the software was follows:
git clone https://github.com/emzeat/linter-cache
cd linter-cache
git submodule update --init

The software is acquired and ready to build. Ensure cmake, g++, and ninja are installed and included in the PATH. Use CMake to configure and build the project as follows:
mkdir build/release
cd build/release
cmake -G Ninja -D CMAKE_BUILD_TYPE=Release -S ../.. -B .
cmake --build .

... etc.

My point is: don't bury the instructions within the prose. Keep them separated and clearly visible.

My question would rather be - did you get the build running now? Does the tool work for you?

My question would rather be - did you get the build running now? Does the tool work for you?

No. The instructions weren't clear from the outset, so we moved on to another tool.


checkstyle: ensure curly brackets have whitespace around them #181

Fixes #181
Update: Apologies. Didn't manage to spot the ongoing PR for this

Thanks for the PR @sebastianquek
Closing for now on account of the other ongoing PR for this issue.


[MESOS-10210] Cherry picked grpc patches fixing glibc 2.30 symbol conflict.

Function name gettid() causes linking error with glibc 2.30. Below two
commits from the upstream is cherry-picked to fix this issue in the
bundle.

https://github.com/grpc/grpc/commit/de6255941a5e1c2fb2d50e57f84e38c09f45023d
https://github.com/grpc/grpc/commit/57586a1ca7f17b1916aed3dea4ff8de872dbf853

Running into this issue compiling Mesos 1.11.0 on Ubuntu 20.04. Thanks for the fix.

Running into this issue compiling Mesos 1.11.0 on Ubuntu 20.04. Thanks for the fix.

@bmahler maybe?

@bmahler maybe?

Merged, thanks for the fix.

Merged, thanks for the fix.

Thanks.

Thanks.


Update tree lstm example

Description

make python3 compatible
added README.md

@ThomasDelteil Thanks for the contribution!
@mxnet-label-bot [pr-awaiting-review]


Include check of DB address and server app status

See https://github.com/babe-project/BABE/issues/32

When posting experiments online, it CAN happen that the URL for data submission is incorrect. It might even happen that the server app is currently unresponsive (the server down, etc.).

It would be good to check whether everything is setup correctly and working BEFORE participants start working on the experiment. Else, in case of a malfunction or mistake, participants' work is lost, generating extra overhead (time: apologies, setting up reimbursement HITs, rerunning experiment; cost: paying reimbursement HITs).

Ideally, in case of malfunction or mistake, the participants would immediately be told that there was an error (with an alert pop-up or an altert page) from which they cannot proceed. They would be told to return the HIT and contact the email supplied in 'config_deploy.js'. If possible, an automated email would also be good.

This pre-check should be made for any submission method except 'debugMode'. (Not sure about 'localServer'?)

I'll provide an API endpoint on the server side for the client to check whether the experiment with the indicated ID exists. I'll also try to add the check on the frontend afterwards.

@stelaseldano Could you add me (at<EMAIL_ADDRESS>and perhaps also Michael as collaborators of the npm package? This way we can all publish updates of the package. I think it should be possible without having to create a central account.


CompressingQueryTransformer NullPointException

Visit CompressingQueryTransformer transform method to query. The metadata () when no memory context model of null pointer error

If you create the Assistant without specifying ChatMemoryProvider in the Build method but specifying retrievalAugmentor and then access it after the Assistant is built, you'll get a null pointer problem
（如果创建Assistant时候Build方法没有指定  ChatMemoryProvider 但是指定了retrievalAugmentor则在传入构建好后访问，会产出空指针问题）

@langchain4j

Hi @zxyyang, thank you, but what is the point of using CompressingQueryTransformer without ChatMemory?

Hi @zxyyang, thank you, but what is the point of using CompressingQueryTransformer without ChatMemory?

build AiServices use         .retrievalAugmentor(retrievalAugmentor) but  null  .chatMemoryProvider(chatMemoryProvider) ，Use a embedding database but no memory context

@zxyyang I mean using CompressingQueryTransformer makes sense only when ChatMemory/chatMemoryProvider is present. Without the memory, there is nothing to compress...

CompressingQueryTransformer

My scenario is to use retrievalAugmentor but not set chatMemoryProvider automatically to call CompressingQueryTransformer and error ，

@zxyyang using CompressingQueryTransformer makes no sense without ChatMemory/chatMemoryProvider. What are you trying to achieve? Do you understand how CompressingQueryTransformer works? It takes all messages from chat memory (for this you need ChatMemory/chatMemoryProvider) and compresses them into a standalone query. If there is no memory, CompressingQueryTransformer will just waste time and tokens. It makes no sense.

@zxyyang using CompressingQueryTransformer makes no sense without ChatMemory/chatMemoryProvider. What are you trying to achieve? Do you understand how CompressingQueryTransformer works? It takes all messages from chat memory (for this you need ChatMemory/chatMemoryProvider) and compresses them into a standalone query. If there is no memory, CompressingQueryTransformer will just waste time and tokens. It makes no sense.

You mean that if I use embedding database I must have to configure the memory context store

You mean that if I use embedding database I must have to configure the memory context store

No, embedding store can be used without memory.
CompressingQueryTransformer is not needed to use embeding store/retreiver.
Hovewer, ChatMemory/chatMemoryProvider are needed to use CompressingQueryTransformer.

You mean that if I use embedding database I must have to configure the memory context store

No, embedding store can be used without memory. CompressingQueryTransformer is not needed to use embeding store/retreiver. Hovewer, ChatMemory/chatMemoryProvider are needed to use CompressingQueryTransformer.

    Assistant userMessageAssistant = AiServices.builder(Assistant.class)
      //       .chatMemoryProvider(chatMemoryProvider)
            .chatLanguageModel(OpenAiChatModel
                    .builder()
                    .logRequests(true)
                    .logResponses(true)
                    .modelName(apiConfig.getModel()) // 指定使用的模型名称
                    .apiKey(apiConfig.getKey()) // 设置API密钥
                    .maxTokens(apiConfig.getMaxToken()) // 最大令牌数
                    .maxRetries(apiConfig.getRetryTimes())
                    .baseUrl(StringUtils.isBlank(apiConfig.getBaseUrl()) ? null : apiConfig.getBaseUrl()) // 设置基础URL
                    .build())
            .tools(indicatorQueryTool)
            .retrievalAugmentor(retrievalAugmentor)
            .build();     This is my code If I use retrievalAugmentor will use CompressingQueryTransformer error he would himself, and because there is no context and error null pointer, If you had.chatMemoryProvider(chatMemoryProvider), it would work

You see is I use a problem or this code is not rigorous@ @langchain4j


Relaxed contraint on libprotobuf

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin please rerender

I think protobuf is missing the -framework CoreFoundation flag when built on OSX.

Let's do this in #88


Uncaught TypeError: Cannot read property '0' of undefined

[Enter steps to reproduce:]

Opened learn.co js file using vim within the Learn.co IDE
Used write and quit commands in VIM

Atom: 2.4.2 x64
Electron: 1.3.13
OS: Mac OS X 10.12.3
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property '0' of undefined
At /Applications/Learn IDE.app/Contents/Resources/app.asar/node_modules/learn-term.js/src/term.js:1306

TypeError: Cannot read property '0' of undefined
    at TerminalWrapper.Terminal.refresh (/app.asar/node_modules/learn-term.js/src/term.js:1306:18)
    at TerminalWrapper.Terminal._cursorBlink (/app.asar/node_modules/learn-term.js/src/term.js:1422:8)
    at _blinker (/app.asar/node_modules/learn-term.js/src/term.js:1439:10)

Commands
     -7:58.5.0 learn-ide:focus (atom-workspace.workspace.scrollbars-visible-when-scrolling.compact-tab-bar.no-tab-min-width.panel-shadows.panel-contrast.use-animations.compact-tree-view.paint-cursor.theme-atom-dark-syntax.theme-learn-ide-material-ui)
     -4:49.1.0 core:move-down (input.hidden-input)
     -4:48.4.0 core:move-up (input.hidden-input)
     -4:46.1.0 learn-ide:toggle-focus (input.hidden-input)
  2x -4:15.9.0 editor:newline (input.hidden-input)
     -4:00.8.0 learn-ide:save (input.hidden-input)
     -3:58.2.0 learn-ide:toggle-focus (input.hidden-input)
     -1:02.3.0 core:undo (atom-workspace.workspace.scrollbars-visible-when-scrolling.compact-tab-bar.no-tab-min-width.panel-shadows.panel-contrast.use-animations.compact-tree-view.paint-cursor.theme-atom-dark-syntax.theme-learn-ide-material-ui)
     -0:58.6.0 core:move-down (atom-workspace.workspace.scrollbars-visible-when-scrolling.compact-tab-bar.no-tab-min-width.panel-shadows.panel-contrast.use-animations.compact-tree-view.paint-cursor.theme-atom-dark-syntax.theme-learn-ide-material-ui)
     -0:57.9.0 core:move-up (atom-workspace.workspace.scrollbars-visible-when-scrolling.compact-tab-bar.no-tab-min-width.panel-shadows.panel-contrast.use-animations.compact-tree-view.paint-cursor.theme-atom-dark-syntax.theme-learn-ide-material-ui)
     -0:40.8.0 editor:consolidate-selections (input.hidden-input)
     -0:40.8.0 core:cancel (input.hidden-input)
  2x -0:39.1.0 core:backspace (input.hidden-input)
     -0:15.1.0 core:cancel (atom-pane.pane.active)

Non-Core Packages

Thanks for contributing!
It appears that this is being caused by the learn-ide package, not Atom itself. It may be that there is still a bug in Atom. If so, we'll need the maintainer of the package that is causing the problem to help track that down. You should file this issue on their repository so they can either fix the problem or tell us where the problem is coming from. The Atom FAQ has information on how to contact the maintainers of any Atom community package or theme.

Thanks!


Reflections no longer working in mathematics/parametric-surfaces

@theo-armour
And no error messages either. When this happened in AlgeSurf it was a CORS issue with a clear error message.
Any ideas?

@paulmasson
It's always a good idea - especially in issues - to include a link to the matter at hand.
I can find many links to my many efforts - most of which are broken.
Even better, many efforts seem to be broken or no longer working - but in so many ways
Perhaps the interesting conjecture revolves more on the topic of whether you have found anything that works?

Your reply was not helpful.

@paulmasson
Ah, now it looks like you found it and fixed it.


BeatSaber 1.37.1 - Using BSManager Chroma does not load songs when multiple people are playing

Describe the bug
I'm using BSManager and so is my friend. The version of the game is 1.37.1 and the most recent version of Chroma 2.9.1+1.37.1
When playing multiplayer, any map that has Chroma will go to the "Waiting for Players" screen, and then it will eventually time out and go back to the song selection screen.
If you try and play a chroma map alone in a multiplayer sever it loads just fine. It only occurs when playing with multiple people.
To Reproduce
Steps to reproduce the behavior:

Install Chroma and BeatTogether for Beat Saber 1.37.1
Open a multiplayer server
Have a friend join you
Select any song that uses chroma
Try and play the song
Get sent back to lobby

Expected behavior

Install Chroma and BeatTogether for Beat Saber 1.37.1
Open a multiplayer server
Have a friend join you
Select any song that uses chroma
Try and play the song
Song loads, and you get to play with your friends

Additional context
_latest.log

duplicate https://github.com/Aeroluna/Heck/issues/119


contributors TS conversion

Follow up from #7323
Adds an undefined filter as we often need this to maintain the types with filter (filter / reduce etc are notoriously untype-y)
Instead of FlowFixMe's, I converted the components that used this js file.

Part of https://github.com/wellcomecollection/wellcomecollection.org/issues/7302


[SDK] - Add getMinimumNextBid function to marketplace

fixes #87

/release-pr

Adding "fixes #87" to link this PR with the Issue

Hey @jnebab, could you add "fixes #87" to the PR description so it links to the corresponding Issue?

Hi, done updating the description


Leverage pod template imagePullSecrets

Any pod templates that refer to images hosted in private registries must have imagePullSecrets specified, or Kubernetes wouldn't be able to pull them. Flux should be able to read these secrets itself, and therefore does not have to be independently configured with a registry secret.

This seems to be relatively straightforward when built on top of #633 - we would extend the servicesToRepositories function to extract credentials from k8s alongside the image IDs, and have the warmer pass them down into the registry client. The Cluster interface will need to be changed to support getting the secrets. I would estimate this is only a few days effort @rade.

In GKE environments it's possible for fluxd to gain access to the underlying instance's service account that authenticates it to GCR using a combination of https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances#applications and https://cloud.google.com/container-registry/docs/advanced-authentication#using_an_access_token

To clarify, we need a special approach for GKE+GCR because GKE has some magic sauce that allows it to pull images from GCR; it's not using imagePullSecrets. Correct?

Yes - Kubernetes has native support for GCR when running on GCE as documented here https://kubernetes.io/docs/concepts/containers/images/#using-google-container-registry - no imagePullSecrets required.

GCR integration was implemented in #663


Fix a sleep race with broadcast jobs

The sleep code checks has_injected_jobs as the final step before
blocking the thread, but this was only looking at the normal pool-
injected jobs. With broadcast, there's now a way to inject jobs
directly on each thread, which they should also check individually
before going to sleep -- and now they do!

bors r+


Cancelable.mergeAll get error Bad State after cancel

hi, i try to uploading image with multiple Executor with Cancelable.mergeAll(), on process uploading, i try to cancel upload, but i get error log like this:
Bad state: Stream has already been listened to.
------- STACK TRACE -------
#0      _StreamController._subscribe (dart:async/stream_controller.dart:676:7)
#1      _ControllerStream._createSubscription (dart:async/stream_controller.dart:827:19)
#2      _StreamImpl.listen (dart:async/stream_impl.dart:473:9)
#3      _ReceivePortImpl.listen (dart:isolate-patch/isolate_patch.dart:91:31)
#4      WorkerImpl.initialize (package:worker_manager/src/worker/worker_io.dart:24:29)
<asynchronous suspension>

it's a bug?, but before, i try upload single file and using Executor().execute() and try to kill isolate when the process upload, everything good.

resolved in https://github.com/Renesanse/worker_manager/commit/d13115284ee1c60c63e9c3c06851ea59f4660cd5


Oracle Report Query Parser using JsqlParser.

Hello Team,
Could you please help me  to parse the SQL file which is generated by SAP Business Object.
I have written sample code using JsqlParser API  , its working fine for simple SQL query , where as  complex query i am getting Null pointer exception.
Software using :
Java version 1.8
Jsql parser 0.9
More information on given below link.
https://stackoverflow.com/questions/59607960/sap-business-object-sql-query-parser-in-java
Please refer the given below sample query.
OPR042 -Source.txt
You can suggest me , List of  format changes, that  i have to do in SQL file ( which is  generated by SAP Business Object ) before invoking the JsqlParser API.
Thanks in Advance.
Regards
Vasanth D

@Nividhan The first problem I found, was the useage of a function to provide the in set. So something like
select * from mytable where func(a) in func(b)

is not (yet) supported.
By the way: that is an SQL!!! ;)

I thought, this weekend was the time to check it, but as always some other things dropped in. But this issue is not forgotten.
Sorry

I just deployed a 3.2-SNAPSHOT version. You could check it.

Thank you , Could you please  share the link  to download the jar.

Look at the readme. The snapshots go to sonatype.

Ups. I assumed you use maven. If not I have to lookup the link as well.

The last version is deployed:
https://oss.sonatype.org/content/repositories/snapshots/com/github/jsqlparser/jsqlparser/3.2-SNAPSHOT/jsqlparser-3.2-20200202.215826-5.jar

Hello Wumpz ,
Thanks for the jar .
I have added the jar and executed the program which i have written , i am getting the below error.
net.sf.jsqlparser.JSQLParserException
at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:65)
at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:40)
at ReportSqlParser.processQuery(ReportSqlParser.java:197)
at ReportSqlParser.main(ReportSqlParser.java:97)
Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "IN" "IN"
at line 1, column 7957.
Could you please explain me , what are changes i have to do before invoking Jsqlparser .

@nhanitvn I used your original one. My parser stops at those already mentioned @Propmpt function calls. Unfortunately I am not able to remove this in a workable manner, due to the syntax of this methods parameters.

Hello Wumpz ,
I got this error , after i replace the @prompt with empty space .
fileContentAsString=fileContentAsString.replace("@Prompt","");
Please advise .
Thanks .

Unfortunately it is not as easy as this to remove this prompt stuff because the remaining part in brackets is not syntactically correct.


[9.x] Adds interval casting

What?
Allows a model cast to support datetime intervals through the CarbonInterval.
class Subscription extends Model
{
   protected $casts = ['period' => 'interval'];
}

$subscription = Subscription::create(['period' => '1 month 1 hour']);

DB::table('subscriptions')->value('period'); // "P1MT1H"

A Carbon Interval can be used to manipulate Carbon instances and calculate periods of time, and the cast allows to safely store that interval. I usually use this for subscriptions, to extend a subscription cycle.
The standard way
The cast is handled by Illuminate\Support\CarbonInterval instead of the base class because it needs to be Arrayable and override the toArray() to return a string on array serialization (overridable by the user).
The cast will create an interval from a human period like 1 month or yesterday, next friday, spec periods like P1MT1H, and DateInterval, CarbonInterval or Closure instances. This is all handled internally by CarbonInterval.
The cast, as you expect, will be persisted using the ISO 8601 spec (format with designators). Since is a string, it can be safely stored as an string column.
Caveats

The object is not immutable, as PHP doesn't have an immutable version for intervals.
Builder methods helpers no included, so nothing like $builder->whereInterval('period', $interval).  Comparisons in SQL are tricky for intervals and are out of the scope for this PR.

I would suggest to name the cast as datetime_interval for more clarity

I would suggest to name the cast as datetime_interval for more clarity

Dunno. Which other type of interval exist?

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Users/stfrance/add containerfetch timeout envvar

This is in reference to #1030
I added a new environment variable that can override the GetFileAsyncTimeout for the ContainerFetchEngine.
@GitHubSriramB please review and see if this is an appropriate solution.

@stephenmichaelf,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@stephenmichaelf search for string 'GetFileAsyncTimeoutMinutes', that string will print out on timeout, that int is always 5, i guess you need make some change there to make it print the right timeout. :)

@GitHubSriramB please take a look.

@GitHubSriramB I added some changes based on feedback, I am not sure if these are correct so please review.
It seems like there are two competing task timeouts:

timeoutTask which is set from ContainerFetchEngineOptions.GetFileAsyncTimeout
getFileTask which uses a VssConnection which has a timeout set from VSTS_HTTP_TIMEOUT

I think what's happening beofore is that #1 was being set from the hardcoded value of GetFileAsyncTimeout in ContainerFetchEngineDefaultOPtions which was lower than VSTS_HTTP_TIMEOUT so that first timeout was firing earlier.
From my understanding there might be more cleanup that can be done but I think at least if we set GetFileAsyncTimeout to respect the VSTS_HTTP_TIMEOUT environment variable then we should solve the problem.


The "# of Charges" in the Updates dashboard is incorrect (Grafana)

The number of charges is not correct. See the screenshot. Left is the Updates Dashboard, on the right the Charges Dashboard (only the date column due to privacy reasons): haven't charged with the last update, but the dashboard says "2 charges".
Environment

TeslaMate version: 1.20
Type of installation: Docker
OS TeslaMate is installed on: Synology
User OS & Browser: MacOS / Firefox
Others:

Duplicate of https://github.com/adriankumpf/teslamate/issues/991


JAX 0.3.7, chex 0.1.2 problem: module 'jaxlib.xla_extension' has no attribute 'CpuDevice'

Importing optax in a fresh jax 0.3.7 installation fails due to the following issue in chex: https://github.com/deepmind/chex/issues/156
Although it is a chex issue I am reporting it here since optax depends on chex and someone else also might see it while importing optax.
>>> import jax
>>> jax.__version__
'0.3.7'
>>> import optax
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/dist-packages/optax/__init__.py", line 17, in <module>
    from optax import experimental
  File "/usr/local/lib/python3.8/dist-packages/optax/experimental/__init__.py", line 20, in <module>
    from optax._src.experimental.complex_valued import split_real_and_imaginary
  File "/usr/local/lib/python3.8/dist-packages/optax/_src/experimental/complex_valued.py", line 32, in <module>
    import chex
  File "/usr/local/lib/python3.8/dist-packages/chex/__init__.py", line 17, in <module>
    from chex._src.asserts import assert_axis_dimension
  File "/usr/local/lib/python3.8/dist-packages/chex/_src/asserts.py", line 26, in <module>
    from chex._src import asserts_internal as _ai
  File "/usr/local/lib/python3.8/dist-packages/chex/_src/asserts_internal.py", line 32, in <module>
    from chex._src import pytypes
  File "/usr/local/lib/python3.8/dist-packages/chex/_src/pytypes.py", line 40, in <module>
    CpuDevice = jax.lib.xla_extension.CpuDevice
AttributeError: module 'jaxlib.xla_extension' has no attribute 'CpuDevice'

Until a new chex release is available a temporary workaround is to reinstall chex via git, e.g. pip3 uninstall chex -y && pip3 install git+https://github.com/deepmind/chex.git ...

It was fixed in chex v0.1.3


Use default title if empty

I found myself several times where I had to take quick notes and left the title empty... bad mistake. On trying to save the notes/task, the app just says "empty title... not saving" (or similar) and the task has gone.
Please use a default title instead if the task is not empty!

I think we can just use the first line of the task description if there is any. I don't like the idea of using something like "(no title)" as title if none has been entered.

fixed. The app now uses the first line of the description or the first check list item if no title has been entered. If both fails, the editor will still close without saving.


coqPackages.tlc: 20180316 -> 20181116

Motivation for this change
Compatibility with Coq 8.10.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build coqPackages.tlc

@GrahamcOfBorg eval
Got stuck for some reason.


Message for the Dev

Sorry for posting this and wasting your time.
I want to know if as today you are still using this and are still undetected by the CCP kernel spyware :)
I dont want to risk losing my day 1 account but at the same time i despise the fact that i have a 21:9 144hz gsync awesome screen and im stuck to 60fps.
Is the gameplay/animation tied to the framerate in anyway? And would it work at lets say, 120 or 144fps whit gsync enabled?
Thanks a lot!

Is the gameplay/animation tied to the framerate in anyway?
Nope
And would it work at lets say, 120 or 144fps whit gsync enabled?
At the current state of the game, it is very hard to maintain a stable 120 at all time

Did some test, whit an RTX 3080 and a Ryzen 5800x im able to run the game at 140 fps @3440x1440.
This + nvcp filter + nvidia freestyle makes an HUGE difference.

@ArkhXI what is the nvcp filter?


Update Meta “authors”

Automatically generated by Netlify CMS

👷 Deploy Preview for cheery-cat-09a35a processing.

Name
Link

🔨 Latest commit
688c3fd199e3ad837e715978e6e8549c7555cd5b

🔍 Latest deploy log
https://app.netlify.com/sites/cheery-cat-09a35a/deploys/6303ca91be59c30008d1aa08


Bump Kotlin version to 1.8.0

CodeQL does not yet support Kotlin 1.8.0. As soon as support is provided, we can merge this PR. Link to CodeQL documentation: https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/

Looks like Kotlin 1.8 will be suppoerted starting 15 February 2023: https://github.com/github/codeql/pull/11637#issuecomment-1396942731


StateSmith simulator

https://discord.com/channels/1056394875278462996/1056998743028813885/1068349406119743499

We probably want a vscode extension first: https://github.com/StateSmith/StateSmith-drawio-plugin/issues/23

closing this old ticket in favor of recent tickets


whole page screenshot doesn't work properly

couple days before it worked OK, but suddenly when I try to use whole page screenshot it provides just visible screenshot with some panel for the rest. From time to time when I close a tab with a screenshot the whole Chrome is closed. I have Windows 10 64 bit and Chrome 64 bit. I did not change anything last 2 days. Today I reinstalled screenshot-extension, the same problem. Then I reinstalled Chrome itself, the same problem.

Please test the last version, it should be fixed.


502 Bad Gateway error or extremly slow loading times

Hi Team,
Unfortunately, since Feb 21, the site regularly throws a 502 error or does not load correctly, making it unusable. The same is reported by other users in our project.
Thanks again already for your help!

This should be resolved since a while ago. We ended up migrating to a different system with much better scaling and the ability to recover from errors.


[FEATURE] CPU inference benchmarks

Would you be interested in adding reference benchmark results for inference on the CPU (similar to the GPU benchmarks currently provided in results/benchmark-*.csv)?
I know, that pytorch inference on the CPU is bad, however it can still be useful to quickly compare different models (under the assumption that pytorch CPU inference badness is model-independent). I think, you can get a "decent" relative approximation of real world CPU performance by jit.traceing the models and then measuring single threaded CPU throughput. Alternatively, you could export the models to ONNX and measure the CPU inference times using something like ONNXRuntime.

The native eager PyTorch CPU performance is generally quite awful compared to optimized.... ONNX + optimizations, XLA, or traced are better. The performance can vary significantly between those and varies with model. Even with optimization though, the performance is low enough that if all of the large models are included, it would take forever to run. So would probably need to be limited to batch size 1 or something, maybe figure out a reasonable subset of models.
In any case, I did think about this was starting to get pretty involved in just figuring out how to approach it, so tackling it ended up quite low on the priority list.

Actually, I'd say that using batch_size = 1 for CPU benchmarking might even be desirable. Also, I would generally be okay with excluding models above a certain size. It seems to me, that in most cases CPU performance characteristics would be mainly relevant for on-line/on-device processing, where having ultra-low latency is more important compared to throughput and so batching and large models are rarely used.
I think that it would be really useful to have a publicly available .csv that you could use as a starting point for model selection. IMHO, simply benchmarking jit.traced native pytorch inference with batch_size = 1 and torch.set_num_threads(1) on some generic X86-64 CPU would be sufficient as a proxy for "latency on modern x86-64 CPUs".
I don't think that we need to get 100% "optimized" timing results here. Our benchmarks just need to rank the different models in "roughly" the same order in terms of speed/latency as what you'd get with ONNXRuntime or OpenVINO or whatever. Different CPU architectures, different CPU models and different execution engines will have different performance characteristics, so for any accurate timing information the end users would still need to benchmark the chosen models on their production hardware, using their production execution engines. AFAIK, that this is currently the case even with the provided GPU benchmarks (PyTorch vs TensorRT, Hopper vs Ampere vs Turing, batching vs no batching, available VRAM, etc).
IMHO, the benchmarks provided here should be primarily used for

getting (very) rough estimates of each models' performance (Fermi-style "order of magnitude" back-of-the-envelope estimates)
roughly comparing different models (so that the user can save time by ignoring obviously non-Pareto-optimal models during their "proper" benchmarking)

Having only GPU benchmarks is a bit problematic, since (afaik) modern GPU and CPU architectures are sufficiently different to the point that you can't expect some of the GPU-optimized models to also be fast on the CPU (and vice versa). On the other hand, although the different x86-64 CPUs have their quirks, they are significantly more similar to each other than to GPUs.

@rwightman Hi, I was looking through the timing results and found that some of the models perform much worse than what I'd expect. Did you run the inference benchmarks without --reparam? This is probably unfair to models who expect to be reparametrized before inference?


Pulls in latest semantic analysis version

@ncordon this file is also changed in #145, are both changes required?

@ncordon this file is also changed in https://github.com/neo4j/cypher-language-support/pull/145, are both changes required?

Even if the other PR was showing changes to the semantic analysis, it's because they were a collection of stacked PRs. It shouldn't have really 😬. I've updated both now


[Blazor] prevent infinite loop in SKCanvasView

Description of Change
Prevents infinite resize loop - i don't know if this is the most elegant solution, but it works.
Added the following line to OnSizeChanged Event of Blazor SKCanvasView
if (Math.Round(canvasSize.Width * dpi) == newSize.Width && Math.Round(canvasSize.Height * dpi) == newSize.Height)
    return;

If  Monitor scaling is applied in Windows Settings App, the view keeps multiplying the canvas size with the DPI (in my case being 1.25 for 125% scaling) in the Invalidate-Method.
The Canvas will be resized to the new size which results in the SizeWatcherInterop to fire its OnSizeChanged Event which will set canvasSize to newSize and calls Invalidate again to start infinite loop, also mentioned here:
https://github.com/mono/SkiaSharp/issues/1838#issuecomment-991914840
Bugs Fixed
https://github.com/mono/SkiaSharp/issues/1838

Related to issue #1838

API Changes
None
Behavioral Changes
None
PR Checklist

[ ] Has tests (if omitted, state reason in description)
[ ] Rebased on top of main at time of PR
[ ] Changes adhere to coding standard
[ ] Updated documentation

You are right. I looked back at the console output from https://github.com/mono/SkiaSharp/issues/1838#issuecomment-991913527
DPI: 1,25 -> predicting: 1952,5: 1463,75
1952 : 1463

It cuts the digits after the comma instead of rounding.
I appended https://github.com/mono/SkiaSharp/pull/1889/commits/5385f9dd623a26c251ed510297deb9e4c80aca84


[Improvement] Issue Template Proposal

Issue Template for Bugs
This Proposal is to improve the overall quality of how issues are presented and solved.
Issues presented with a standardized method should:

improve understanding of problem

description and example

reduce number of unnecessary clarifying questions to ask

"why do this?" or "can you show me an example?" or "Have you read X?"

makes users creating an issue think if it's an issue that has not already been solved, or if this problem has been asked / answered before

Users presenting an issue can rethink their issue and possibly solve their problem by going through a checklist/process of submitting an issue through a template.

Discussion/Thoughts
When creating this template, it is important for the user to have incentive to submit an issue.
With that in mind, we want to make sure the template:

[x] not overwhelming with too much info to fill in
[x] is simple to understand
[x] taken inspiration from other used issue templates
[x] enough information is filled so that contributors aiming to solve issue would have to ask minimal questions

Goal / Conclusion
Issues that are presented by users are issues that users have tried to debug before submitting it.
First time / New contributors / Veteran contributors have a better background to tackle the issue.
Improve community contribution and participation through reducing barrier to entry for contributors and reducing maintainer time for minor matters (ie. asking redundant questions across issues to users in different time zones, waiting days for a reply)
There is always room for improvement, please let me know if I am missing any information that may be required or removed.
Thank you!

This is great! Could we try using the form fields here? https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
Also, let's try to get the user's eslint config as well in a textarea.

This is great! Could we try using the form fields here? https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
Also, let's try to get the user's eslint config as well in a textarea.

Thank you for the review Jordan! I will add the forms fields and add ESLint config so that we can have a better understanding of the user's settings.

New issues template to support Github's beta form fields.
Below is a screenshot of how issues template is displayed to issue contributor

Looks great! Can the field names be more of markdown and less of an identifier? like "node version" etc

Screenshot of updated changes


LB health checks failing on v1.5.1

I deployed a kubeflow cluster following the docs with the v1.5.1 tag. Everything was successful, but instead of the dashboard I see
Error: Server Error
The server encountered a temporary error and could not complete your request.
Please try again in 30 seconds.

The LB in GCE shows this:

The exact same deployment with tag v1.5.0 is working fine.
Any help would be appreciated.

I ran into the same issue, you need to patch two files to fix the health check for backend service: https://github.com/kubeflow/gcp-blueprints/issues/371

This is the same as #371. It was fixed in #374.
You can pull the latest version from master branch and follow the deployment instructions or wait for Kubeflow v1.6 release, which is expected in August 2022.


youtube-dl returns an invalid JSON

Hi!
Thanks for writing this - the new wrapper is far easier to use!
I seem to be hitting issues when dealing with playlists, not sure if it's down to my implementation in the code or an error with your library, hopefully you can help!
Here's a simple test function I wrote:
const youtubedl = require("youtube-dl-exec")

async function Test(VideoURL){
    let result = await youtubedl(VideoURL,{
        dumpJson: true,
        noCallHome: true,
    })
    console.log(result)
}

Test("https://www.youtube.com/playlist?list=PLvgS71fU12MawZ_u2HverscJHqsB84M3z")

When I run this I get the following error:
node utils/temp.js
(node:352052) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token { in JSON at position 37553
    at JSON.parse (<anonymous>)
    at parse (/home/robert/Documents/Personal-Code/ssvd-metafetcher/node_modules/youtube-dl-exec/src/index.js:13:54)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async Test (/home/robert/Documents/Personal-Code/ssvd-metafetcher/utils/temp.js:4:18)

if I run the youtube-dl command by hand, it does return valid JSON:
node_modules/youtube-dl-exec/bin/youtube-dl --no-call-home --dump-json https://www.youtube.com/playlist?list=PLVJa0bdiLG6H9zOYoNEt_J-PtQFrp22wx | jq

(the output was huge, so I'll spare pasting it here, but jq parsed the output without any problems)
It works perfectly with a single video, so only seems to affect playlists, I've tried a few different playlist URL's and it seems an issue on all of them,
I've also tried with the noWarnings param and that made no difference.
youtube-dl binary version is: 2021.04.17 (though tried it with latest and made no difference)
youtube-dl-exec version is: 1.2.1
node version is: v14.16.0
OS is: Ubuntu 20.04
Hopefully it's something simple!

Hello, @ainsey11  thanks for opening this issue.
I was debugging and this is the output of your command:
https://gist.github.com/Kikobeats/421642b94a16ae017c2744b072c577da
Unfortunately, It's not a valid JSON:
❯ node
Welcome to Node.js v16.0.0.
Type ".help" for more information.
> JSON.parse(fs.readFileSync('./debug.log').toString())
Uncaught SyntaxError: Unexpected token { in JSON at position 37665

So the thing is --dump-json is generating a not valid JSON.
I think this issue should be open at https://github.com/ytdl-org/youtube-dl

I found youtube-dl is returning a collection of objects using break like as separator, so I guess I can create the real JSON

Oh that's a good spot! the jq tool must be ignoring the invalid json or dealing with it internally somehow,
I'll raise a bug with youtube-dl but if you were able to do something clever with the break that would be much appreciated!

I thought youtube-dl is using http://ndjson.org format, so I wrote a function for parsing the result respecting the spec
const ndjson = (str) => {
  const collection = str.split(/\n|\n\r/).filter(Boolean)
  return collection.map(jsonStringRow => JSON.parse(jsonStringRow))
}

but it's still failing. It would be really appreciated if you can open an issue on the main repo and let's see what the most affordable solution we can adopt

Thanks for having a look - I noticed it's missing a } on the end of the output too:

I've raised a bug with them at https://github.com/ytdl-org/youtube-dl/issues/28875 but you are entirely right, the output from youtube-dl is 100% not JSON!

Just had an update on the youtube-dl issue - https://github.com/ytdl-org/youtube-dl/issues/28875#issuecomment-826782678
I tweaked my config to:
async function Test(VideoURL){
    let result = await youtubedl(VideoURL,{
        //dumpJson: true,
        noWarnings: true,
        noCallHome: true,
        "dump-single-json": true,
    })
    console.log(result)
}

and I do now get valid JSON back, it's a single json object that contains an array and a few other fields like this (not complete output, just an example):
{
  extractor: 'youtube:tab',
  _type: 'playlist',
  uploader: 'AvE',
  entries: [
    {
      upload_date: '20170129',
      extractor: 'youtube',
      vbr: 2366.247,
      height: 1080,
      like_count: 10026,
      },

so I guess I can now iterate over the objects in the entries array to get my individual video information and should be good!
might be worth noting on the readme that if dealing with playlists then you need to use dump-single-json instead of dumpJson ?
Thanks for your help with this!

happy to see you resolved the issue!
It's the first time I see dump-single-json. I adopted that flag since looks like it's done the thing that before but also parsing playlist as expecting 🙂

Brilliant, thank you!
For anyone else that comes across this issue in the future, here's a snippet that grabs all video URL's from a playlist:
const youtubedl = require("youtube-dl-exec")

async function Test(VideoURL){
    let result = await youtubedl(VideoURL,{
        noWarnings: true,
        noCallHome: true,
        "dump-single-json": true,
    })
    //console.log(result)
    for (video of await result.entries){
        console.log(video.webpage_url)
    }
}

Test("<enter_playlist_url_here>")


Progress statistics in Stats

User Story
As an interactive application writer, I want to be able to share a "progress bar" or similar information about how quickly Insights queries are progressing, and how much work remains, with my users.
Notes

If we make the counter fields into float64 instead of int we can reflect partial chunks from splitting in the fractional part.

Task list

Add fields to the Stats structure.
Update QueryManager code to track new Stats.
Update Stream code to track new Stats.

Stats field sketch
type Stats struct {
        // ChunksBlocked indicates the number of requested chunks
        // belonging to the stream or query manager which are still
        // waiting to be submitted to the CloudWatch Logs service.
        ChunksBlocked         int
        // ChunksSubmitted indicates the number of requested chunks
        // belonging to the stream or query manager which have been
        // submitted to the CloudWatch Logs service but which haven't
        // yet progressed to a terminal state.
        ChunksSubmitted       int
        // ChunksPartlyCompleted indicates the number of requested
        // chunks belonging to the stream or query manager for which
        // some partial results, but not all results, are available from
        // the CloudWatch Logs service.
        ChunksPartlyCompleted int
        // ChunksCompleted indicates the number of requested chunks
        // belonging to the stream or query manager which are in a
        // completed state because all results have been received.
        ChunksCompleted       int
        // ChunksCancelled indicates the number of requested chunks
        // belonging to the stream or query manager which are in a
        // terminal state because they were cancelled.
        ChunksCancelled       int
        // ChunksFailed indicates the number of requested chunks
        // belonging to the stream or query manager which are in a
        // terminal state because they failed.
        ChunksFailed          int
}

Done and released in v1.2.0.


English dictionary no longer exists

The "Dictionary available" annotation on English isn't shown in the "Input Languages" dialog after a fresh install, and there is no English dictionary available at https://play.google.com/store/apps/developer?id=Klaus+Weidner.

#655 has update.

The English dictionary is back on the Play Store, sorry about the confusion. It got taken down due to incomplete content rating metadata.


Missing Schema for Version 2.1e for the Classic Composite Edition

Hi
In the folder NES-Power-Module-Redesign/Classic Composite Edition/Version 2.1e the schema for KiCAD is missing. I assume this is a mistake?
Best,
Florian

My schematics are a mess and I am working on getting them cleaned up and will upload them.
Also, with the 3.0 design being tested, I would not recommend using any previous boards.  If you have already put money/time into getting boards made, send me a DM and I will work on getting you a 3.0 board.
Thanks,
-Merlin Shaw

My schematics are a mess and I am working on getting them cleaned up and will upload them.
Also, with the 3.0 design being tested, I would not recommend using any previous boards.  If you have already put money/time into getting boards made, send me a DM and I will work on getting you a 3.0 board.
Thanks,
-Merlin Shaw

Dear Merlin
Thank you for the quick reply. Do I understand correctly, that V3 its not yet released? Any ETA?
As for cleaning up the schema: Do you need help with that? I can happily work on cleaning up the schema (for the new version or the old version to have it for historic reason). Just let me know if you need help.
Best
Florian

V3 is not released but has been testing very well.
If you are interested in getting one of the prototypes, send me a DM and we
can work out price at cost only.
merlin.shaw at g-mail
Thanks,
-Merlin Shaw
On Wed, Feb 7, 2024 at 12:30 AM fschuetz @.***> wrote:

My schematics are a mess and I am working on getting them cleaned up and
will upload them.
Also, with the 3.0 design being tested, I would not recommend using any
previous boards. If you have already put money/time into getting boards
made, send me a DM and I will work on getting you a 3.0 board.
Thanks,
-Merlin Shaw
Dear Merlin
Thank you for the quick reply. Do I understand correctly, that V3 its not
yet released? Any ETA?
As for cleaning up the schema: Do you need help with that? I can happily
work on cleaning up the schema (for the new version or the old version to
have it for historic reason). Just let me know if you need help.
Best
Florian
—
Reply to this email directly, view it on GitHub
https://github.com/ShawMerlin/NES-Power-Module-Redesign/issues/14#issuecomment-1931438954,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQZJHHVDNPNL3TKGGQS2ZVDYSMURXAVCNFSM6AAAAABC45OVHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZRGQZTQOJVGQ
.
You are receiving this because you commented.Message ID:
@.***>


[BEAM-11544] BQML pattern

Pattern for incorporating BigQuery ML models into a pipeline.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

r: @rezarokni

r: @rezarokni

Hi @matthiasa4. Do you need help on your open PRs? They are marked as draft PRs, I am not sure if they are ready for reviews or not.

Hey @aaltay - yes that'd be awesome!

@rezarokni PTAL : )

@matthiasa4 - Do you need more input on this PR?

Hey @aaltay - all good, thanks for checking in!
@rezarokni thanks for the comments. Answered one of them and addressed the rest in the 2 last commits (we can squash on merge?) :)

@rezarokni rebased on master to resolve merge-conflicts as well now.

@rezarokni Added links to the docs of partitioned and sharded tables, and made changes to the highlighting since this was giving some trouble. If it looks g2g, I'll squash and merge!

LGTM

Run Website_Stage_GCS PreCommit


[feat] ripples: dynamically enable/disable all interaction ripples

Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Enable/Disable ripples globally at runtime.
What is the current behavior?
Ripples can be disabled globally by providing MAT_RIPPLE_GLOBAL_OPTIONS.
This is static and can't be changed at runtime.
If this assumption is wrong please show me how to dynamically change the root injectors value.
What is the use-case or motivation for changing an existing behavior?
An app that needs to run on low-end-devices as well as high-end devices. The user has the ability to disable styles and effects that degrade performance on low-end devices. This includes disabling ripples.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
    _                      _                 ____ _     ___
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/

Angular CLI: 1.6.6
Node: 6.11.4
OS: darwin x64
Angular: 5.2.2
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker

@angular/cdk: 5.1.1
@angular/cli: 1.6.6
@angular/flex-layout: 2.0.0-beta.12
@angular/material: 5.1.1
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.24
@angular-devkit/schematics: 0.0.43
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.6
@schematics/angular: 0.1.17
typescript: 2.6.2
webpack-bundle-analyzer: 2.9.1
webpack: 3.10.0

Quick follow up:
I applied the workaround mentioned in https://github.com/angular/material2/issues/8298#issuecomment-355546177
.mat-ripple-element {
    transition-duration: 0ms !important;
}

Which already improves performance on low-end devices. I like that it still highlights something the user touches which is a lot better than having no feedback at all just because of performance issues.
Maybe the workaround is suitable as an "official" low-performance device workaround?

Dynamically modifying the global ripple options is already partially working (except for chips & tab-nav-bar).
app.module.ts
@NgModule({
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    MyMaterialModule,
  ],
  declarations: [HomeComponent],
  bootstrap: [HomeComponent],
  providers: [
    // Alias the ripple global options to an existing provider instance (singleton; at root)
    { provide: MAT_RIPPLE_GLOBAL_OPTIONS, useExisting: AppRippleOptions }
  ]
})
export class AppModule {}

app-ripple-options.ts
import {RippleGlobalOptions, RippleAnimationConfig} from '@angular/material';
import {Injectable} from '@angular/core';

@Injectable({providedIn: 'root'})
export class AppRippleOptions implements RippleGlobalOptions {

  /**
   * Whether ripples should be disabled. Ripples can be still launched manually by using
   * the `launch()` method. Therefore focus indicators will still show up.
   */
  disabled: boolean;
}

home.component.ts
import {Component} from '@angular/core';
import {AppRippleOptions} from './app-ripple-options';

@Component({
  ...
})
export class HomeComponent {

  constructor(private _rippleOptions: AppRippleOptions) {}

  toggleRippleDisabled() {
    this._rippleOptions.disabled = !this._rippleOptions.disabled;
  }
}

I'll be working on making this possible for the chips and tab-nav-bar as well. This is currently blocked by a deprecation until next major (7.0.0)


regular update dep 19 March 2017

Coverage remained the same at 100.0% when pulling 914e725cdb5e6169bc2c0f7ac987167059277e3e on update-dep-minor into bc269e2bfa8f0486290c9d12662ca6a6662390ca on master.


Use interface to log in Consul package

This will allow to replace log implementation by testing one
to include tests into the Consul repository without adding
a new dependency

cc @ShimmerGlass Please review


enable vulkan

do you think vulkan can be enabled?
https://github.com/rainyl/opencv.full/blob/899bc6989070a3cd92eb6bce176aa0fc8e258a9e/conanfile.py#L186
if it works correctly i think it will speed up dnn greatly, instead of opencl

I am not sure whether vulkan needs extra dependencies like OpenVINO, will look into it later.


Contribution to the README

Hello :D
My name is Kelvin Moraes, better known as Kerubin, I live in Brazil and I wanted to help you in some way since your program helped me :3
So I translated the README into Brazilian Portuguese and Japanese

Thanks for submitting the translation! I have to admit, this one gave me a good chuckle. It seems like the translation was done word-for-word by AI, and it doesn’t look like there was much review before it was submitted.
I also noticed some confusion in the "contributors-credits" section—I’m not sure who shoboi and sat0ma are, as they don’t match any contributors I know of, and yaw-dev is either missing or had his nickname translated. Interesting twist!
Due to these issues, I won’t be able to accept the PR, as it lacks the quality and review needed for integration. In the future, I’d recommend double-checking your content before submitting, especially in open-source repositories where accuracy is valued.

I understood... well nothing had been done by AI but ok I had to use Google Translate on some words since I still don't have my English fluent and I ended up mixing it with other documentation I was doing since I did it by hand I put the name of another guy I was doing... my bad


As an admin, I want to see and edit work clusters so that I can collapse and uncollapse texts after developer-assisted import.

testing

[x] cluster should be listed and editable on digitized work edit form
[x] should be able to use autocomplete to find and associate with existing clusters
[x] should be able to create new clusters either from + button in digitized work or going to cluster list view
[x] should be able to remove associated cluster (use the x button in the autocomplete)

@mnaydan same question: preference for where on the edit form this should be listed?

The editing/adding functionality works great on the "Cluster" form and on the record detail form. The autocomplete is great. The placement on the record seems good to me - makes sense to put it by collections. The "Cluster with this Cluster ID already exists" validation when creating a new cluster is super helpful, thanks for thinking of that.
I'm not sure how the records are sorted on the cluster page by default (seems random?), but trying to sort them A-Z/Z-A works when you click on "Cluster ID" header. Trying to sort by count by clicking "Number of works in this cluster" generated a 500 error.

@mnaydan ordering should be fixed in admin now for clusters (default sort by name, sort by count should work properly)

Yes - default sort is now by name, and both sorting buttons are working as expected. Thanks!


Remove parametric programs

I highly doubt anyone was using this and I don't understand how it's different than a function that returns a Program.

@tarballs-are-good - fair enough, closing this.


Use Promise instead of PromiseLike

Fix for https://github.com/Microsoft/TypeScript/issues/13947
Blocked on https://github.com/Microsoft/TypeScript/pull/14053

👍