Since Chrome 66 many examples that use webcam, geolocation etc. stopped working

This is due to cross origin iframe constraints. The output tab of jsbin is an iframe and when the code uses getUserMedia for example, it stopped working with Chrome 66...
Read : https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-permissions-in-cross-origin-iframes
jsbin should allow cross origin iframes use of these APIs... i.e

I am currently really struggling with the limitation that comes with the cross-origin constrain. I am building an interactive coding web page and I was trying to get the code that the user is typing, but no luck due to this constraint. I am already pro user and would like some control over this.

I'm happy to add more sandbox properties, but I'll need either a PR or some direction as to what is missing.
There's no user control over this to keep jsbin as secure as possible given the fact it runs user code.

Remi, I'm pretty sure that adding to the iframe the attribute allow="geolocation; microphone; camera; midi; encrypted-media" would be harmless ans solve the problem. This is what all other online IDEs do.
With jsbin, I can run an example that uses the WebCam when I click the black arrow from the output tab, in standalone mode it's ok. It's just the preview of the output in the editor that is broken by this limitation.


Final Page Flow Test through Figma

Overview
We need to have someone new to the project do a final pass through all the page flows in Figma
Action Items

[x] Go through each page in Figma and validate that the page flows are accurate
[ ] If there are any comments, make the comments in GREEN on each page.
[ ] Make a list of the pages that have comments and put them in this issue.

Resources/Instructions
Figma

@Olivia-Chiong

Progress: I have reviewed the pages which have been completed mostly. Functionality wise, the page flow looks good to me. I still have to review 'Tag Generator-Yes Organization page'
Blockers:  Few pages had different version's- I have spent lot of hours figuring out  which was  one is the latest. It was confusing sometimes.
For ex : Organization Page
I would like to suggest -The pages which don't have this info

The page should be labeled with Heading /Date edited/Modified /Version number/arrows(so that user knows which is the new version and what changes have been done.
It would be better if we have name of the designer on the Figma page, so user could follow up with the issue on Figma page.

Estimated date of completion:   4hrs


Handling of data without titles

I am working with retrieval of documents that lack meaningful titles (they are ids).
With titles the model input data is as I understand it concatenated as "title [SEP] body".
I figure that you can supply titles as empty strings and the resulting input to the tokenizer would be "[SEP] body_".
While this likely will not have any noticeable effect on performance, it is not very elegant nor optimal.
How is data with no titles handled and are there any recommendations of how to work with it?
Thanks!

Thanks!


Missing: dist/index.d.ts

The "typings" defined on package.json are not shipped to npm or generated during npm run build.
Are there plans to add them?
Thanks

Thanks for the report @bermi. We've released a new version which includes the typings.


Can't compile tsm1 package

Bug report
System info: go version go1.6 darwin/amd64
Steps to reproduce:

go get -u github.com/influxdata/influxdb/tsdb/engine/tsm1/

Actual behavior:
# github.com/influxdata/influxdb/tsdb/engine/tsm1
../../../src/github.com/influxdata/influxdb/tsdb/engine/tsm1/int.go:260: cannot use d.values[:] (type []uint64) as type *[240]uint64 in argument to simple8b.Decode
../../../src/github.com/influxdata/influxdb/tsdb/engine/tsm1/timestamp.go:204: cannot use simple8b.NewDecoder(nil) (type *simple8b.Decoder) as type simple8b.Decoder in field value

Encountered while building https://github.com/sourcegraph/appdash

We use gdm to manage dependencies. You need to run gdm restore to checkout the right versions of dependencies.

This is documented at https://github.com/influxdata/influxdb/blob/master/CONTRIBUTING.md#installing-gdm
I agree this is not a bug in InfluxDB. Certainly an issue in Appdash, but not InfluxDB. I don't think this issue needs to remain open.

#6452 updated our usage to depend on the latest simple8b version as well.


Feature Gate: Enable ZK ElGamal Proof program

SIMD
https://github.com/solana-foundation/solana-improvement-documents/blob/main/proposals/0153-elgamal-proof-program.md
Description
Enable the native ZK ElGamal Proof program
Feature ID
zkhiy5oLowR7HY4zogXjCjeMXyruLqBwSWH21qcFtnv
Activation Method
Single Core Contributor
Deployment Considerations
Make sure that the compute units assigned to each of the proof instructions are suitable.
Minimum Beta Version
2.0.0
Minimum Stable Version
2.0.0
Testnet Activation Epoch
No response
Devnet Activation Epoch
No response
Mainnet-Beta Activation Epoch
No response

Tracking this activation on another issue now:
https://github.com/orgs/anza-xyz/projects/9/views/1?pane=issue&itemId=73058762&issue=anza-xyz|feature-gate-tracker|26


Sometime this program can't find nvidia graphic card

Maybe the Nvidia gpu is not assigned as default gpu, you can use '-g' to select another gpu.

Maybe the Nvidia gpu is not assigned as default gpu, you can use '-g' to select another gpu.

It looks like GPU 0 on your device is Intel UHD. Try using the flag -g 1 to see if that gets your nvidia card working.

It looks like GPU 0 on your device is Intel UHD. Try using the flag -g 1 to see if that gets your nvidia card working.

emmm,it seems like... if I won't link a display on graphic card,the graphics card will not be detected by waifu2x

emmm,it seems like... if I won't link a display on graphic card,the graphics card will not be detected by waifu2x

So,can you add an interface?
Which told me how many GPU could be used before I start working with '-g' and '-j'?


How to self host the server?

Don't want to be dependent from this Heroku Hoster, so how am I supposed to self host this on a linux machine?

The same way you would host any Node.JS app
yarn install and then yarn start

seems like the server only listens to localhost:3000, but this makes it unreachable from outside of the machine

You can refer to my comment in another issue if you want to attach a (sub)domain and secure it also. Ends up making it look nicer than sending some IP and having that show in the bottom left 😅


Expected behavior: all text in the file is validly commented out
Actual behavior: various kinds of syntax errors.

The command is currently implemented by adding or removing /* and */ from the selection edges. The actual text to be added/removed is configured via language configuration.
The command is currently language agnostic and does not analyse the contents of the selection to look for other block comments.

As a comparison this is WebStorm behavior -
/*!* foo styles *!*/
/*.foo {*/
    /*color: blue;*/
/*}*/

/*!* bar styles *!*/
/*.bar {*/
    /*color: green;*/
/*}*/


destroy seems single threaded?

I've not had chance to check the code yet, but it looks like if you try do delete a number of Terraform resources at the same time the operator works in a single threaded way; it starts a single destroy Job - waits for this job to complete before starting another one. This can be very slow. e.g. on AWS it can take 10 minutes or longer to destroy a single Terraform.
I wonder if we could make things more parallel so we can create multiple Terraform destroy jobs in run parallel (like the apply jobs do)?
I wonder if this is by design or just an optimisation we could make?
We're using the terraform operator for spinning up multiple clusters on multiple pipelines on each Pull Request; so often have lots of Terraform resources to tear down and its currently pretty slow (which leaves lots of resources around unused and it looks like when destroying the operator no longer creates any new Terraform either).

Yep this should be a simple change... but every time someone says that on GH it ends up not being simple. 😓  I'll take a stab real quick.

I might simply take out the for loop that checks if destroy is complete but I'm sure there's a much nicer solution. Will come back to this later.


gonum/mat: NewTridiag has arguments flipped

What are you trying to do?
Solving A * x = b where
A = [ 2  1  0  0
      3  2  1  0
      0  3  2  1
      0  0  3  2  ]

b = [3, 6, 6, 5]^T
x should be [1, 1, 1, 1]^T
What did you do?
From https://pkg.go.dev/gonum.org/v1/gonum/mat#NewTridiag,
func NewTridiag(n int, dl, d, du []float64) *Tridiag
NewTridiag creates a new n×n tridiagonal matrix with the first sub-diagonal in dl, the main diagonal in d and the first super-diagonal in du.
Code snippet
https://go.dev/play/p/YghQCf7zjr-
package main

import (
	"fmt"

	"gonum.org/v1/gonum/mat"
)

func main() {
	triDiag := mat.NewTridiag(4, []float64{3, 3, 3}, []float64{2, 2, 2, 2}, []float64{1, 1, 1})
	b := mat.NewVecDense(4, []float64{3, 6, 6, 5})
	var x mat.VecDense
	triDiag.SolveVecTo(&x, true, b)
	fmt.Println(x.RawVector().Data)

	triDiag = mat.NewTridiag(4, []float64{1, 1, 1}, []float64{2, 2, 2, 2}, []float64{3, 3, 3})
	triDiag.SolveVecTo(&x, true, b)
	fmt.Println(x.RawVector().Data)
}

What did you expect to happen? What actually happened?
I am expecting x to be [1, 1, 1, 1]
But instead program is giving
[5.1818181818181825 -2.454545454545455 1.9090909090909092 1.5454545454545454]
But if I flip the dl and du, I get the correct answer:
[1 1 1.0000000000000002 0.9999999999999996]
What version of Go and Gonum are you using?
go version go1.21.2 linux/amd64
gonum.org/v1/gonum v0.14.0

The transpose refers to A, not b. This is working as intended. https://go.dev/play/p/l6pvD6l_1uJ

Thanks, @kortschak.


Migrating MariaDB's existing database with a case insensitive environment and getting the error: Can't create database 'dbname'; database exists.

Describe the bug
When migrating an existing database using a name with a different case, grate tries to re-create it when the MariaDB instance and the environment have enabled the case insensitive.
To Reproduce

Run a MariaDB instance with the environment variable lower_case_table_names as 1 with:
docker run --name GrateTestCaseInsensitive -p 49185:3306 -e MYSQL_ROOT_PASSWORD=mypass mariadb:10.5.9 mysqld --lower_case_table_names=1
Create a database manually with a name using uppercase letters.
Migrate it with the same name using a camel case.

Expected behavior
If the case name is insensitive, it should not try to create the existing database.
Desktop

OS: Windows 11 Enterprise
Version 21H2

Added a PR https://github.com/erikbra/grate/pull/216


High CPU Utilization on Windows 10 (85-95%)

Issue Type: Bug
Project and code resides on mapped drive shared via Samba from Linux.
Disabled all extensions.
High utilization may be triggered by Find in Files.
Utilization remains high even after clearing search.
Restarting vscode results in normal (low-ish) CPU utilization.
Attempting to trigger high utilization by taking specific steps has been unsuccessful.
High utilization resumes.
VS Code version: Code 1.31.1 (1b8e8302e405050205e69b59abb3559592bb9e60, 2019-02-12T02:20:54.427Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz (4 x 2712)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
31.84GB (20.84GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Your two screenshots don't seem to match because the first only shows one process using CPU, but the second shows many more processes. One possibility is that the second shows old processes from an old vscode session which are no longer related to the live main process. Another is that they were taken at different times. Could you look again next time this happens to see which processes are responsible?
Also please see the steps here to help us troubleshoot https://github.com/Microsoft/vscode/wiki/Performance-Issues#the-rendererwindow-process-consumes-a-lot-of-cpu

Hi @roblourens  The screen shots were taken a few seconds apart.  Notice that the Windows Task Manager is displaying grouped processes/windows.  I had only one instance of vscode running.  Here's another screenshot of Task Manager with vscode in a happy state.  Cheers.

Ok, but I still don't have enough info to help, so please see the wiki page linked above next time this happens.


[only test] avoid_using_blocked_queue

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Translate concepts/overview/working-with-objects/object-management/ into Japanese

This is a...

[x] Feature Request
[ ] Bug Report

Problem:
No concepts/overview/working-with-objects/object-management.md in Japanese.
Proposed Solution:
Copy a file from en contents to content/ja/docs/concepts/overview/working-with-objects/object-management.md and translate it into Japanese.
Page to Update:
https://kubernetes.io/ja/docs/concepts/overview/working-with-objects/object-management/

/language ja

/assign @hasebe

/kind feature
/priority backlog

/close


Motion blur for short exposure times in DMM 42BUC03-ML

Unfortunately, another problem with this camera, this time a critical one.
We are experiencing a strange problem with light apparently "leaking" into the pixels, which results in kind of motion blur appearing in the case of short exposure times.
Please refer to this dataset: https://drive.google.com/open?id=0B1XDXh7oI3etM08zN1VPdDNOUms
There are three datasets there, each for different exposure time: 1/10000sec, 1/5000sec and 1/500sec. There is also a marked up image.
The camera was being rotated from side to side during the capturing. For 1/10000sec and 1/5000sec, there is motion blur visible on both sides of the circular pattern. The pattern is well exposed, with the exposure consistent with the rest of the frame, while the motion blur is just a ghost. For 1/500sec, this phenomenon is not visible.
It was tested with both the Windows and Linux firmware. Resolution was 1280x960 @15fps.
For reference, we also tried a smartphone camera, which used 1/3000sec and did not show any such problems.
I have the following theory for the mechanism how this happens. The light "leaks" into the pixels outside the desired exposure time. The blur smudge is quite long, so the corresponding time is in the same range as the frame rate (1/15sec). For short exposures, it results in the appearance of the ghost. For longer exposures, the difference in amount of light between the "leaking" and the actual exposure is larger and the ghost does not appear.
There is also another strange behavior, it does not seem to be related to the problem above, but maybe it is an indication of some general problems with the sensor. In some areas of the image, there are dark pixel rows every other row. It is marked up in the image in the dataset.
As the camera can experience such quick movements in our application and short exposure times are necessary, this problem renders the camera inadequate for our application at this time. I would appreciate a quick response, as we will need to make a decision whether there is a resolution here or we need to move on and try another product, which would be disappointing.
Thanks,
Tom

Hello Tom
What you see is an effect of Shutter Efficiency of Global shutter sensors. The sensor manufacturer describes this effect in following PDF:
https://www.aptina.com/products/technology/Aptina_Global-Shutter-WhitePaper.pdf
So using a longer exposure time, between 1/500 and 1/1000 will give a better result.
Another good description of this phenomena can be found at:
https://www.cvl.isy.liu.se/education/undergraduate/tsbb09/lasmaterial/Amtel-Journal-Issue6.pdf
A rolling shutter camera wont have such an effect, but it has the "curtain" effect on horizontal movements.
BR
Stefan

Hi Stefan,
Thanks - I had no idea about shutter efficiency.
After familiarizing myself with the linked documents, I realized increasing frame rate would help, which I confirmed by comparing 7fps with 25fps. In that case, we could use a lower resolution with higher frame rate. It is unfortunate that the lower resolutions in DMM 42BUC03-ML are broken, as I reported in the recent comment to Issue #30. Any chance this will get fixed?
Alternatively, we could order DMM 22BUC03-ML, which has smaller resolution.

I would like to know which resolutions and frame rates are actually available with the Linux firmware for this camera.
Is the shutter efficiency in this lower-resolution sensor similar? As far as I can tell, this sensor is an older design, so I would not like to end up changing the camera, just to learn that despite a faster readout time, there is no improvement due to lower shutter speed efficiency.

Thanks,
Tom

Tom
Sorry for the delay of my answer. These are the video formats and frame rates avaialble in Linux of the DxK 22:
Format 0 :  Greyscale 8-bit (Y800)  1
	744x480
		60/1
		30/1
		25/1
		15/1
	640x480
		60/1
		30/1
		25/1
		15/1
	320x240
		141/1
		120/1
		80/1
		60/1
		30/1
		25/1
		15/1

I also used a very short exposure time and 60 fps frame rate. I did not see the issue in my test.
Stefan

Stefan - Thanks for the resolutions and for doing the test.


Deprecate Producer Listener

Now that ProducerInterceptor is available.
https://github.com/spring-projects/spring-kafka/pull/2112

@garyrussell, I can work on this. Could you please assign it to me?

Thanks!
We usually use @deprecated since 3.0 in favor of #setProducerInterceptor in the javadocs.
Now that we are on JDK 17, we can also set the since and for Removal attributes on @Deprecated

@garyrussell PR raised. Please have a look: https://github.com/spring-projects/spring-kafka/pull/2225

Closing as invalid - the ProducerInterceptor does not have access to the outbound record.


Tabular file rendering not responsive; overlaps with file info

Steps
1. Visit a tabular file (https://osf.io/8rvb3/, for example)
2. Reduce your window size to be 1400px wide or less
Outcome
1. The file rendering does not reduce in size as the window shrinks.
2. The file details sidebar on the right continues to move to the left as the window shrinks, and overlaps with the file rendering.
![screen shot 2015-04-21 at 11 05 42 am](https://cloud.githubusercontent.com/assets/4965832/7261817/a1e4ba80-e842-11e4-94d4-2f0fafcc03b6.png)

At about 990px wide, the right sidebar moves below the file rendering and no longer overlaps. It does not have any padding/margin between itself and the rendering, however.

Expected Outcome
1. As the window width decreases, the rendering pane would decrease in size so that fewer columns of data would be shown. This would prevent overlap.
2. When the right sidebar moves below the rendered file, at 990px, a small amount of padding would give it space to separate it from the rendered file.

Thank you @jlcohoon -- This is a known issue, but you articulate it well here -- If I can find the similar issue #, I'll tie this together. But meantime, I will leave this is a noted bug here.

Ah sorry—found it #2254

All good! Appreciate the find.

Related and potential resolved in PR #168

UPDATE: the overlap issue has been fixed on production. However, there is still not much padding between the file and the revisions table at narrow screen widths:

OK -- Good detail to note, but close this for now.


SSR support examples

If there is any vision of how to do that - I'd like to know asap :)

I still don't have understandable example of SSR support, because it's very depends on you server-side implementation. But basic example on express could looks like:
require('svelte/register');
...
const App = require('./App.svelte').default;
...
app.get('*', (req, res) => {
  // register router hook
  require('svelte-pathfinder/ssr');

  // navigate router to current server URL
  goto(req.url);

  // render an App with current state
  res.render('index', App.render(/* some data */));
});

But I definitely advise everybody to use sveltekit if you need to take universal approach in your apps.


Updates for First ASP.NET Core App on a Mac Using VS Code

Closes #1806
@danroth27 @Rick-Anderson

Hi @spboyer, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Nice update! Just a few minor comments. :watch:
At some point we should add some more content to this tutorial that actually looks at the generated ASP.NET Core project. Right now most of the content talks about Yeoman, Visual Studio Code and Azure. Added https://github.com/aspnet/Docs/issues/1842 to track.

:shipit:


♻ refactor:  RepoLanguageのメンバ変数名を変更

Issue #145

Codecov Report

Merging #149 (01f81de) into develop (33ff751) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #149   +/-   ##
========================================
  Coverage    99.81%   99.81%
========================================
  Files           50       50
  Lines         1085     1086    +1
========================================
+ Hits          1083     1084    +1
  Misses           2        2

Flag
Coverage Δ

unittests
99.81% <100.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

lib/domain/entities/repo.dart
100.00% <100.00%> (ø)

lib/presentation/repo/components/detail_view.dart
100.00% <100.00%> (ø)

...b/presentation/repo/components/language_label.dart
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Don't Merge! PR real time test for target branch full build

Docs Build status updates of commit 4d73aad:
:clock10: Full build: the average full build time is 7 min(s) 58 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 4d73aad:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


rom-tools 0.163

Following monthly mame release (#276),

Formula updated with brew audit --strict
Patch added for clang build error: mamedev/mame@bc23c001b5dff4b271fc480c55d56785e9e3fa10
Test on ldplayer added for audit passing

Thank you @tomyun! :tada:


Stitching

Hi. After some installation experimentation, I've managed to get all the dependencies installed under Windows 7: Anaconda, FFmpeg, CUDA, CudNN, Caffe, + all the addons etc required. I've accomplished this following tutorials which are now linked on new wiki page in the DeepDreamAnim wiki.
So far so  good. I stuck the dreamer.py file in the same parent directory as caffe and have managed to get through clipping up the volcano using:
C:\deepdream\DreamAnim>python dreamer.py -i C:\frames -o C:\frames_out
and then successfully dreampt onto those frames after swapping the places of the frames to new folders with:
C:\deepdream\DreamAnim>python dreamer.py -i C:\frames -o C:\frames_out
However, the last step generates an error message:

[image2 @<PHONE_NUMBER>f9f5c0] Pattern type 'glob' was selected but globbing is not supported by this libavformat build
C:\frames_out/*.jpeg: Function not implemented

This really won't be an issue in terms of generating videos for me, as I'm quite comfortable using myfavoritesoftware to do the stitching (like Blender).
Is this something in the dreamer.py or simply something to do with running this under Windows?
Warm Regards!
M
P.S. Great Job!

Your supplied path is incorrect.
try something like:
C:\deepdream\DreamAnim>python dreamer.py -i C:\deepdream\DreamAnim\myvideo\frames -o C:\deepdream\DreamAnim\myvideo\framesout

I put the frames directory in C:\frames. It's not a typo. I can try moving the frames directory into a deep dream parent directory but that just means more character entry...
Why would splitting work with that directory but not joining? It's not like the .py script or files have moved...
Thanks for replying!

Try it with the path structure i suggested i post ago here, it should work just fine. I´m not to familiar with how windows deals with paths, but you might want to try local paths anyhow, e.g. \myvideo\frames instead of the entire C:.... .


added algo to count inversions in an array in C++, Python, JavaScript and Java

@Arsenic-ATG @paulsonjpaul Updated the files. Should be okay now.

@ming-tsai @paulsonjpaul Have you guys reviewed the files? Just reminding!😅😀


Add Alby as menu item

Description
Adding Alby to the config file

Checklist

[ ] tested locally using Vuepress
[ ] mentioned related issue

@tehelsper hope that PR is fine.
Alby is currently not shown on https://mynodebtc.github.io/


Action button placement on Platform['Version'] <= 21

Hello again,
I've noticed an issue with the action button on Android 4.4 in my case: The action button is placed a little bit to the left and when activated, you can notice a jittering in the animation when it goes up.
A screenshot:

Just wanted to let you know.
Thank you.

Sorry for didn't see this issue before, does this problem persists? did you tried the new autoAnchor prop instead?
That's odd, I did some tests on Android 4.4.4, and i didn't had any issues like that, there's any more information that i could reproduce it?
I will investigate it more closely though.

The autoAnchor is indeed set. The issue is present both on my 4.2 device and 4.4 emulator.


JsonNormalizer creates array JSON when object is passed

Hey there,
I wonder if it is possible to have valinor keeping the actual type of the object passed to normalize.
When I use the following code, I'd expect {} from being generated but instead, it returns []:
$normalizer = (new MapperBuilder())->normalizer(Format::json());
var_dump($normalizer->normalize(new stdClass));
// string(2) "[]"

I would not expect a type transition to an array just because I pass an object without properties.

have you tried withOptions https://www.php.net/manual/en/json.constants.php#constant.json-force-object?

Hm, not supported now. Maybe https://github.com/CuyZ/Valinor/issues/542

Thanks for the report @boesing, this should be fixed with #549.


Frequent lost connections when Blazor Server deployed to Azure ContainerApps

Describe the bug
Frequent connections issues when connecting from a Blazor Server App deployed to the new Azure ContainerApps.  I am using Azure SignalR in standard mode.
[21:33:15 ERR] Failed to connect to '(Primary)https://****.service.signalr.net', will retry after the back off period. Error detail: The server returned status code '403' when status code '101' was expected.. The server returned status code '403' when status code '101' was expected.. Id: 6197cc98
To Reproduce

Setup Azure SignalR in Standard Mode
deploy  Blazor server app configured with Azure SignalR  to Azure ContainerApp Service

Exceptions (if any)
[21:33:15 ERR] Failed to connect to '(Primary)https://****.service.signalr.net', will retry after the back off period. Error detail: The server returned status code '403' when status code '101' was expected.. The server returned status code '403' when status code '101' was expected.. Id: 6197cc98
Further technical details
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="6.0.1" />
<PackageReference Include="Microsoft.Azure.SignalR" Version="1.13.0" />

Please confirm that your connection string is correct. Additionally, did the issue only occur in the Azure Container Apps or it could be reproduced locally?

Please confirm that your connection string is correct.
yes, can confirm. I am using primary connection string. Also it does work intermittently.

Additionally, did the issue only occur in the Azure Container Apps or it could be reproduced locally?
yes, I am not seeing the "Failed to connect to" errors in my local logs.

Additional error logs, https://gist.github.com/sravimohan/d43f45f49a21db069944e035f3ecb417

Could you send me your SignalR resource ID so that we could check the log in the back end for you? Email<EMAIL_ADDRESS>

thank you, I will check out the troubleshooting methods.
I will email the resource id to you.

yes, can confirm. I am using primary connection string. Also it does work intermittently.

From the logs in the back end, you should be using AAD auth instead of access key. Error code "403" means the app doesn't have the correct role. The strange thing was that 403 only occurred on one IP address. Please confirm all your app instances have the correct role. Hope these information helps you.


Imagesrcset

This adds rewriting of URIs in imagesrcset attributes of link tags when using fastArchivalSAXDelegator or archivalSAXDelegator. Additionally, it replaces the srcset parsing regex with the superior one written by @ato in internetarchive/heritrix3#243.
I have tried the changes out to verify that the URIs are rewritten for an imagesrcset attribute in a page, but I would like to get an approval before merging if possible @ibnesayeed  @ato
This should close #394.

I am not too familiar with the whole workflow of the rewriting engine on OWB, but the code looks good to me. I was wondering, do we have a place where we can add some tests that supply a <link> element with necessary attributes to check to see if rewriting is done correctly. I can see there are some test strings in this PR, but they only test at a very fine-grained level when just the value of the attribute is given.

@ibnesayeed I have added a test to show absolute URIs in imagesrcset attributes are rewritten.

LGTM!


Feedback

The vote allocation should be as a % of 100 to make it easier for users.  I was unable to use my total vote allocation because I could only incremental update a vote by 1.

Thanks for the feedback, this is something that was brought up by several people. We will try using % but unfortunately we cannot use decimals for allocation so spending all credits would be difficult, so we gotta figure that part out. Also please not you can directly type the desired allocation on top of incrementing by 1

We got the following suggestions to related but not quite the same problem:

Instead of giving away votes directly, you split your 1000 "voting power" into the projects, and using quadratic voting, we then show how this maps to "effective votes" (rounded to the lowest integer)
Use sliders to divide your voting power
Use an "auto-split" button to allocate voting power

Would these make it easier in your opinion? @tesaho

Sliders would be good if entering numbers is too difficult.  Thank you for
following up!
On Thu, Nov 28, 2024 at 4:17 AM aguzmant103 @.***>
wrote:

We got the following suggestions to related but not quite the same problem:

Instead of giving away votes directly, you split your 1000 "voting
power" into the projects, and using quadratic voting, we then show how this
maps to "effective votes" (rounded to the lowest integer)
Use sliders to divide your voting power
Use an "auto-split" button to allocate voting power

Would these make it easier in your opinion? @tesaho
https://github.com/tesaho
—
Reply to this email directly, view it on GitHub
https://github.com/privacy-scaling-explorations/maci-platform/issues/489#issuecomment-2504707463,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL2ODS2TZA2OF2WZ7TCXSF32CYSGTAVCNFSM6AAAAABRXZ75TWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBUG4YDONBWGM
.
You are receiving this because you were mentioned.Message ID:
@.***
com>


Move AMP sanitization to output buffer

Context

For improved compatibility with other plugins, the AMP plugin uses an output buffer to perform AMP sanitization & optimization.
We might want to do the same.
Summary

Switches AMP output generation to use an output buffering mechanism.
Relevant Technical Choices

Moves most logic from HTML to Output_Buffer class, which nicely splits responsibilities and makes the purpose of the HTML class more clear.

To-do

This does not fully prevent AMP invalidation through other plugins. How can this be improved?
User-facing changes

N/A
Testing Instructions

QA

[x] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

UAT

[x] UAT should use the same steps as above.

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?

No
Does this PR change what data or activity we track or use?

No
Does this PR have a legal-related impact?

No
Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #5420

Whoops, I meant to open this as a draft!
But alas, any comments welcome.
@westonruter Would love to hear your thoughts on how sanitization could be improved to reduce number of plugin conflicts. Especially with plugins that also do some output buffering, but at a later stage.

Would love to hear your thoughts on how sanitization could be improved to reduce number of plugin conflicts. Especially with plugins that also do some output buffering, but at a later stage.

For the most part we've seen that starting output buffering at template_redirect works well generally, although it's true there are other plugins that start output buffering earlier (e.g. optimization plugins or plugins that for some reason don't rely on WP hooks to inject content). For the AMP plugin, we don't really have a choice because we need to wait until a later action (wp at the earliest) to know whether or not the page will be AMP or not. Where conflicts arise, we've worked with plugin authors to improve their timing, e.g. https://github.com/keycdn/cache-enabler/issues/78#issuecomment-674324495
This being said, you could actually start output buffering earlier than template_redirect or even wp since you are only concerned with stories which will always be AMP. So you could look at the REQUEST_URI and if it matches /web-stories/.+  you could start as early as you want. The one caveat here is that you would not want to start before caching plugins start their output buffer, since that would mean the post-processing logic would not be included in the cached response. See actions in various caching plugins in my aforementioned https://github.com/keycdn/cache-enabler/issues/78#issuecomment-674324495.

Just a couple of nicpics, other we are looking good.


Personal modules won't load

Not sure if this is a bug or not, but I've upgraded to the latest version of Spyder through Anaconda and I can't load the modules I've written anymore. For example, previously I could type:
from tools.specModel import SpecModel
and Spyder would find tools in the iPython window so I could import. Now tools won't show up in the iPython window anymore and I've tried:

Adding tools using the PYTHONPATH manager
Setting tools as the working directory

Thanks for any help. I have a deadline due Monday and I can't do anything right now.
Versions and main components

Anaconda Version 4.4.0
Spyder Version: 3.1.4
Python Version:3.6.1
Qt Version:
PyQt Version:
Operating system: OSX: 10.12.5

When importing a personal module the directory.module structure is not needed anymore.


up vs downregulated genes in a geneset

the geneset-class supports sets where some genes are positively associated with a signature (UP) and other that are negatively associated (DN).
Do we even utilize that in the scoring?
One way (seen in some papers):

calculate a score s_up for positive genes in the set
calculate a score s_dn for negative  genes in the set
the final score is their difference s_up-s_dn

Yeah, there’s some gene sets that are defined as being ‘down’ and some are
defined in two parts, one up, one down.  Currently, if you have a gene set
defined as DN, and the genes are low ranked, then the score is high.
So in the Hallmark genesets at MSigDB, there’s a UV response gene set
that’s defined in two parts, UP and DN… and it was my goal to make the
package compatible with MSigDB.
https://www.gsea-msigdb.org/gsea/msigdb/human/geneset/HALLMARK_UV_RESPONSE_DN.html
But in the future, might not be important, but there’s a use case anyway.
-dave
On Wed, May 24, 2023 at 11:37 PM redst4r @.***> wrote:

the geneset-class supports sets where some genes are positively associated
with a signature (UP) and other that are negatively associated (DN).
Do we even utilize that in the scoring?
One way (seen in some papers):

calculate a score s_up for positive genes in the set
calculate a score s_dn for negative genes in the set
the final score is their difference s_up-s_dn

—
Reply to this email directly, view it on GitHub
https://github.com/Gibbsdavidl/gssnng/issues/18, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEJFSIZPLLT2YFDEDUV5KLXH344BANCNFSM6AAAAAAYOLZTLI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

it's definitely a good thing to account for, a bunch of those "newer" genesets are weighted (some with negative weights), e.g. Progeny
I just wasn't sure if the scoring functions handle it accordingly. It seems to be done
in score_fun.
This is for the non-ranked version
        if (gs.mode == 'UP') and (ranked == False):
            res0 = method_selector(gs, x, 'counts', gs.genes_up, method, method_params)

        elif (gs.mode == 'DN') and (ranked == False):
            res0 = method_selector(gs, x, 'counts', gs.genes_dn, method, method_params)

        elif (gs.mode == 'BOTH') and (ranked == False):
            res0_up = method_selector(gs, x, 'counts', gs.genes_up, method, method_params)
            res0_dn = method_selector(gs, x, 'counts', gs.genes_dn, method, method_params)
            res0 = (res0_up + res0_dn)

Here, it looks like UP and DN get handled the same way, whereas I'd have expected the "sign of DN to be flipped", i.e a cell with high experssion of a DN gene gets a low score.
Similar for BOTH!
For ranked=True:
        elif (gs.mode == 'UP') and (ranked == True):
            res0 = method_selector(gs, x, 'uprank', gs.genes_up, method, method_params)

        elif (gs.mode == 'DN') and (ranked == True):
            res0 = method_selector(gs, x, 'dnrank', gs.genes_dn, method, method_params)

        elif (gs.mode == 'BOTH') and (ranked == True):
            res0_up = method_selector(gs, x, 'uprank', gs.genes_up , method, method_params)
            res0_dn = method_selector(gs, x, 'dnrank', gs.genes_dn, method, method_params)
            res0 = (res0_up + res0_dn)

Looks like it's inverting the ranks for the DN genes by using x['dnrank'] (didn't confirm though).
A cell with high expression of a down gene would be at the bottom of x[dnrank] and get a low score, which is correct.

Yeah, thanks for thinking about this.  Agree that in the ranked case we're ok, and with testing it seems to work.
However, in the counts case, maybe  s_up-s_dn  is a good idea!   A low score for s_dn, is what's desired with a geneset_DN.  If s_dn is high, that means the gene expression is also high, and contrary to what we want..
proposal:
'counts':  s_up - s_dn
'ranked': s_up + s_dn


join() argument must be str or bytes, not 'NoneType' when run  Open Eyes|lib='Selenium2Library'|tolerance=5

Describe the bug
join() argument must be str or bytes, not 'NoneType' when run  Open Eyes|lib='Selenium2Library'|tolerance=5
To Reproduce
Steps to reproduce the behavior:

install pip install robotframework-eyes
install Imagemagick7 on windows10 or macos Catalina 10.15.5
copy code
`*** Settings ***
Test Teardown
Library           SeleniumLibrary
Library           RobotEyes

*** Test Cases ***
Sample visual regression test case
# Name of the example test case
Open Browser    https://www.baidu.com/    chrome
Maximize Browser Window
Open Eyes    lib='Selenium2Library'    tolerance=5
Wait Until Element Is Visible    id=kw
Capture Full Screen
Compare Images
Close Browser`
4. See error
Expected behavior
run successfully
Screenshots
Starting test: CBTCTest.Visual Regression.Sample visual regression test case
20200728 12:04:23.045 :  INFO : Opening browser 'chrome' to base url 'https://www.baidu.com/'.
20200728 12:04:33.229 :  FAIL : TypeError: join() argument must be str or bytes, not 'NoneType'
Ending test: CBTCTest.Visual Regression.Sample visual regression test case
Desktop (please complete the following information):

OS: windows10 or macos Catalina 10.15.5
Browser [chrome]

@nixuewei Did you pass the path to baseline directory and output directory when running tests. Refer the ReadMe for the command.

sorry for my misunderstanding the document, after running on command, it works well. so great. thank you! please close it

@nixuewei That's alright. I will add a validation for the path in the upcoming release to avoid any confusion. Keeping this ticket open until then.

that was great!


Create Account(s)

Please create a google (gmail) account to send email.
Email should like this:
<EMAIL_ADDRESS>Something like that. Choose one that is easily available.
@saadzaidi

<EMAIL_ADDRESS>account created


grammarKitRelease option doesn't work for 2021 versions

Setting grammarKitRelease to any of the following versions works: 2019.3, 2020.1, 2020.3.1
Setting grammarKitRelease to any of the following versions does not work: 2020.3, 2021.1, 2021.1.1
Gradle error: "Could not find com.github.JetBrains:Grammar-Kit:2021.1.1."
id("org.jetbrains.grammarkit") version "2021.1.3"
Gradle 7.1
AdoptOpenJDK-11.0.11+9
macOS 11.4

https://github.com/JetBrains/Grammar-Kit/issues/276#issuecomment-870998121

@gregsh Does the fix use/require JitPack? JitPack is not an option for us (blocklisted on CI) and shouldn't be used for production grade dependencies.

@gregsh Does the fix require dependency resolution from JitPack? JitPack is not an option for us (blocklisted on CI) and shouldn't be used for production grade dependencies.

AFAIK for now GK is not published on any maven repo, so JitPack is the only easy way. But if you have your own maven repo, you may put released GK there and add it to the list of repo in your build script.

@hurricup Our workaround is to put the GK JAR under source control. Would be great if GK was published to Maven Central like other Java OSS libraries.

Yep, forgot to mention this way :)
True. would be nice, @gregsh

filed https://github.com/JetBrains/Grammar-Kit/issues/279


[bug] Messages tab not showing keys and headers

I consider this a bug, because Key is important part of the message and should be visible in "Messages" tab.
Same is for Headers, which can contain useful information. Those should also be displayed.
Both currently not accessible via this UI.

Hi Alexey, thanks for reporting the issue.
As far as I understand both key and headers are present in the current version.

Let us know if there are any problems with that.


Trouble running 'bash mrs-smime'

Hello, I'm getting the following issue when trying to run 'bash-smime':
mrs-smime.sh: line 7: syntax error near unexpected token newline'
mrs-smime.sh: line 7: `!DOCTYPE html'
I checked line 7 of the code but I didn't seem to find anything wrong. Am I missing something here?

I think you downloaded the file incorrectly, can you describe how you downloaded the file?

Yup. You're right. I "saved link as" instead of downloading the .zip file. Thanks!

np! also note that I found it's a little harder to download the smime.p7m file now. See https://github.com/AF-VCD/Mrs-SMIME/issues/4#issuecomment-881465848


Allow for protocol versioning

Currently we don’t allow for schema changes for plugins. For sentry we have a use case that we want to send the version to the plugin to add it to the configuration.
To allow for schema changes we want to be able to change the protocol version in the handshake (see https://github.com/mach-composer/mach-composer-plugin-sdk/blob/main/protocol/handshake.go ).  We want the mach-composer project to be backwards compatible with older protocols

Requires update of sdk here: https://github.com/mach-composer/mach-composer-plugin-sdk/issues/3


Features block fine tuning for composition pages in GBIF.org

Fine-tuning to Features block includes adjustments to padding and fonts styling for different screen sizes. I include this .pdf file hoping it clarifies the full extent of the changes.
features block - ft.pdf

There are a few more adjustments for this block:

h2.block__header remains with too much padding. I suggest
padding-bottom: 32px; instead of 64px

And, for block_description these are the styling conditions I suggest:
font-size: 16px;
font-weight: 400;
line-height: 1.6em;
margin: 16px 32px 32px;


[WIP] feat(wandb): log both training and validation data

Training data and parameters is logged at each batch and validation data at the end of each epoch

This let WandbCallback log both training and validation data, as well as prediction samples:

training data (loss, learning rate…) is logged at each training batch
validation data and prediction samples are logged at the end of each epoch

Here is an example W&B run from lesson1-pets.
Few notes:

the entire section after_fit does not seem needed anymore, please confirm I can remove it - Note: this type of graphs would actually be better logged with summary metrics
entity is not needed in wandb.init and will automatically use the correct default, please confirm I can remove it
I was able to add the WandbCallback in the fit_one_cycle method but not directly in the learner, which would be better when doing "multi-phases training" to keep track of accumulated epochs

For item 3. above, I expected to be able to use:
learn = cnn_learner(dbunch, resnet34, metrics=error_rate, cbs=WandbCallback()).to_fp16() but got following error: error stack trace link

Will try and iter from this. I don't think the after_fit section will be necessary anymore, which is also the thing that was making 3 fail, so removing it should hopefully solve that issue. Not setting entity did not work for me, at least for the first try. Maybe it's cached somehow?

Just did it on a fresh VM and can confirm that on the first try (in a jupyter notebook) you get an error if you don't specify entity=your_user_name. If it has been done once, it works afterward without passing anything.

Tested more and for some reason, this new version doesn't log anything online. I'll try to find the cause tomorrow.

That is strange. Do you have any error code you can share?
I'll try it again on a fresh install on my side and will send you my notebook.

So I tried from a fresh install and there seems to be an issue with wandb CLI. After login, when we do wandb status, I believe the entity should be set which is not the case. I'm going to investigate.
In the meantime, you can either pass your entity (below your name on your profile page) or you can pass wandb.init(anonymous="allow"). You should not even need a project name (it's mainly to keep all your runs organized).
Please note that if you have an error at wandb.init, the best is to restart the kernel.
You can see here my notebook.
lesson1-pets-wandb.zip
Let me know if there is still any issue.

I tested again today on a fresh install and all now seems to work fine with wandb.init() (without setting "anonymous" or "entity"). It may have been a temporary issue from the server.
The way to check is to type wandb status in the shell and check that "entity" is set correctly after you did wandb login


Support deploy_keys for authentication during ghPages pushes

I see from Travis CI Authentication, that you can use an auth token for your username when using the ghPages plugin.
However, as this gist points out:

NOTE: an earlier version of this guide recommended generating a GitHub personal access token and encrypting that. Although this is simpler, it is not a good idea in general, since it means any of your repository's collaborators would be able to edit the Travis build script to email them your access token, thus giving them access to all your repositories. The repository-specific deploy key approach is safer.

It would be great if the ghPages plugin also supported some way to point to my private deploy_key which I have encrypted and decrypted using Travis file encryption.
I saw from the grGit documentation that it should be sufficient to provide the org.ajoberstar.grgit.auth.ssh.private=<path.to.private.key> Java system property. But, even when running gradle with -D and this property, it doesn't work.
Here's my build.gradle: https://github.com/eljobe/gone-nomad/blob/master/build.gradle
Here's my .travis.yml: https://github.com/eljobe/gone-nomad/blob/master/.travis.yml
Here's a link to the latest failing build: https://travis-ci.org/eljobe/gone-nomad/builds/146214512
Please let me know if I can be of any further assistance troubleshooting this issue.

Could you run this build again with the --info argument, which should provide more information about what's going on. Does the key require a password? It may have found the key, but is now prompting to unlock it.

The build was run with --info.
See Line 326: https://travis-ci.org/eljobe/gone-nomad/builds/146214512#L326
Did you mean I should run it with --debug?
https://travis-ci.org/eljobe/gone-nomad/builds/146296020
I don't see any additional useful information in that log either.
The gone-nomad_rsa deploy key is definitely not password protected. I was careful not to enter a password for exactly this reason. Also, I can ssh-add gone-nomad_rsa from my local machine and I am not prompted to enter a password.
Also, I'm not seeing any of the logger calls printed to the console. But, especially, not this one: https://github.com/ajoberstar/grgit/blob/8b6d5c3b692400bc3fb8f6fd078791838dd7870d/src/main/groovy/org/ajoberstar/grgit/auth/JschAgentProxySessionFactory.groovy#L109 which I would expect to see.
I don't think this is the case, but should I start the ssh-agent in my .travis.yml before calling gradle?
Another thing that occurs to me is that this machine might not have a known_hosts entry for github.com. But, that might not be a problem.

I thought this might have had something to do with needing to already have an ssh-agent running. So, I added the commands to my .travis.yml in eljobe/gone-nomad@e9ae9ae
But, as you can see from the latest failing log, it didn't help.

Actually, feel free to close this issue. I'm going to move to some other CI infrastructure where I have more control.

Looked closer at the original log and it did have the info messages, I just missed them when looking the first time around. Nothing super infromative though. Looks like there's nothing in the code that logs when the private key is added. So its hard to say what the issue is at this point without adding some more logging into the cod (which is probably worthwhile anyways).
Looks like you reopened, so let me know if you're still interested in looking into it.

Sorry for the confusion. Only reopened to allow you to decide if you wanted to fix it or close it. I am switching to different CI infrastructure more under my control.

I think I have figured it out. It turns out I also ran into the exact same issue on the other CI tool I was using.  So, both travis and drone use git+https to clone the repositories before running the builds. So, when the ghPages plugin looks at the origin to deterimne the repoUri, it is limited to using the https authentication which requires either a token or username/password.
The way I solved this was by explicitly setting the repoUri field in the plugin to be the ssh compatible one.  Then, I just had automate making an entry in the $HOME/.ssh/known_hosts file, and I was all set to use ssh. Yay!
You can consider the above advice a workaround and still try to make the error messages clearer, or you can just close this issue and hope others find it when they run into the same problem.


Fixed error in reading negative decimals from parquet

Fixes #676 .  On conversion from a FixedLenByteArray to i128, any extension bytes must be filled with the value of the MSB to correctly handle negative values.

Thanks a lot, @mdrach , awesome fix. Are you working on top of crates.io? I can do a small release with this fix to 0.8.

Thanks a lot, @mdrach , awesome fix. Are you working on top of crates.io? I can do a small release with this fix to 0.8.

We're using 0.7 right now.  We're blocked on resolving this issue so no rush here.


Grid-flexible spectral transform

This PR is intended to fix #112 by allowing for a flexible grid<:AbstractGrid to be used in the spectral transform.

@hottad at the moment this PR lets one use any grid<:AbstractGrid without errors, but the transforms are not accurate yet for Octahedral/HEALPix. I assume I got some normalisation in the grid->spectral transform wrong. For a FullGaussianGrid we have
julia> alms = LowerTriangularMatrix(randn(ComplexF64,33,32));
julia> alms[:,1] .= real.(alms[:,1]);
julia> map = gridded(alms,grid=FullGaussianGrid);
julia> alms2 = spectral(map);
julia> imshow(log10.(abs.(alms-alms2)))

an absolute error that is O(1e-14) with Float64. That's good.

with FullClenshawGrid similar, that's great too, except for the last row. I assume this is because we use lmax+2,mmax+1 LowerTriangularMatrices for the vector quantities, but so that's technically T32 which violates the exactness of the Clenshaw-Curtis quadrature with 64 latitudes. I'm not worried about this as the last row is only included for consistent matrix sizes (and the issue disappears if one starts with the lmax+2 row being zeros).

However, for Octahedral/HEALPix the absolute errors are O(1e-2) and larger. I believe this is because I messed up the normalisation with the solid angle $\Delta \Omega = sin(\theta) \Delta \theta \Delta \phi$ that a grid point covers. For the full Gaussian grids I use (96x48)
julia> nlat_half = 24
julia> w = SpeedyWeather.get_quadrature_weights(FullGaussianGrid,nlat_half);
julia> w *= π/2nlat_half
24-element Vector{Float64}:
 0.0002063860165031381
 0.0004795872813548503
 0.0007511832466177125
 ...
 0.0041838316317469116
 0.00421930059577275
 0.004237072348271895

so quadrature weights *pi/nlat and the same for the Clenshaw-Curtis grid but with other weights obviously. I believe this has to be changed for Octahedral/HEALPix. I'll try to figure this out in the next days.

@hottad With the latest commit the transform errors on the HEALPix grid are much smaller

from
julia> alms = LowerTriangularMatrix(randn(ComplexF64,33,32))
julia> alms[end,:] .= 0
julia> alms[:,1] .= real.(alms[:,1])
julia> map = gridded(alms,grid=HEALPixGrid)
julia> alms2 = spectral(map)
julia> maximum(abs.(alms)-abs.(alms2))
0.018819099369166703

julia> imshow(abs.(alms-alms2))

but only when the lon offset rotation is deactivated

@hottad While I'm still not sure about the accuracy of the HEALPix spectral transform, I'm tempted to merge this once all tests pass as all the other structure has been set up such that you can start contributing/experimenting and do whatever you'd like to test with new grids in SpeedyWeather.jl, I think we probably just ran the first HEALPix atmospheric simulation? FullGaussianGrid will remain default for now and we can independently improve the transform and support more grids. For now I'd suggest to keep all grid-related stuff in src/grids.jl but eventually we could even go to src/Grids/grids.jl, healpix.jl, octahedral.jl or outsurce all of that into its won package. But I think that's an overkill for now.

@milankl Fantastic!
Thank you for the great job! So shallow water on FllClenshawGrid, OctahedralGaussianGrid and HEALPIxGrid now runs up to at least 10 days and the results are all visually very similar. Impressive!
I will fork this project and  start experimenting probably next week. Congrats!

Yeah, the HEALPixGrid still doesn't have the correct longitude offset rotation implemented, that's something that I need to play around with. As you suggest, it's probably some implementation bug that I don't currently understand as the mathematics are rather clear I believe. However, it's still good enough to run even 1000 days or longer and also at different resolution.


Node got strucked and Syncing is not happening

I was trying to sync op-sepolia testnet ,till this block count it got synced (14,966,437).After that syncing is not happening
These are my logs:

Possibly relate to this one https://github.com/ethereum-optimism/optimism/issues/8784
It say force shutting down geth causing data to be corrupted

How to resolve this "Unclean shutdown detected" ,I couldn't see data to be corrupted
we are using dockerized method to sync
can you send me the steps or refer document to resolve this issue
I think it is not out of memory issue.

Seem like resync is the only solution. Shouldn't take more than 1 day for snap sync.
Geth may eat up all RAM in 2 weeks due to memory leak. You may need to increase RAM quite a bit or implement a crontab to automatically restart docker compose every day to prevent this from happening in the future.
Step 1: Edit the Crontab
Open the crontab file for editing:
crontab -e

Step 2: Add the Cron Job
Add a line to specify the schedule for restarting your Docker Compose services. You need to specify absolute path to docker-compose.yml
0 0 * * * docker compose -f .../simple-optimism-node/docker-compose.yml restart

Thank you for providing the steps,we will resync from scratch


[WIP] configurable date parsing

This is a first shot at making date parsing configurable.

Allow setting a date_parser on your definition object. This proc should return a date(time) object, or nil if it cannot be parsed.
Add a default date parser that simply runs DateTime.parse
Remove parse_temporal that uses eval.

What do you think of this approach? I'd like to support time spans (e.g. see using :guess => true in Chronic) so we can get rid of a bunch of logic in date_test as well.
@abenari @brocktimus

Cursory glance over it, I think we should be passing in "something" which responds to call as opposed to specifically block / lambda / proc syntax. Then you can make any object respond to call and pass it in. For example a method "grabbed" from an object, or a class / object itself with a call method.
Also I prefer passing it as another named argument rather than using a block for aesthetics moreso than any technical reason. Also thought it would be configured in the for each field in the scoped_search calls, also allows slightly more configurability in that respect.
BTW I think having &block is redundant unless you're going to do something with it. yield if block_given? doesn't require the explicit block creation. Only time its needed is if you want to pass the block somewhere or do block.call(foo).
Bit rambly but I'm just about to go offline, sorry if its a bit rambly. Can flesh out some examples of how I think it'd work from interface here tomorrow if you'd like (and I have time...)?

Yeah, any input is welcome!
I am not in a rush; this PR is just to get the conversation started.

So right now, we do accept anything that response to call with one argument: the input value. There's no type checking.
The problem with adding it as an argument (e.g. scoped_search on: :field, date_parser: proc { ... }) is that it implies you can set a time parser on a per field basis, which is not the case. We could enable that of course, but IMHO that makes it more complicated and confusing for very little gain: why would you use one date parser on one field and another on a different field.
W.r.t. the block argument: you are completely right, but I always prefer to include it in the method definition for documentation purposes.

Looks good to me.
Some commented out tests left in the code.
A sample of usage with Chronics would be helpful.
The auto-completer code suggest some of the removed syntax. see date_completer

So where would the setup go for the date parser if not in scoped_search call? Probably need to update the README at the same time maybe?
Good point of it isn't a huge gain. Only one I can think of is if you wanted one parser for date fields and another for datetime fields? I can come up with some even more far reaching examples, but thats just me looking for edge cases :-).

So where would the setup go for the date parser if not in scoped_search call?

Perhaps a Rails initialiser and have a method on ScopedSearch to configure it, e.g. https://github.com/theforeman/foreman/blob/1.8.0/config/initializers/1_fast_gettext.rb#L10
If there's a use for per-field parsers (I can't think of one in our app) then being able to set a default in an initialiser and then on a per-field basis (with a named argument) would perhaps make it both usable and flexible.
You'll need to get the span/min/max dates out of the block rather than just one date in order to replace the code at https://github.com/wvanbergen/scoped_search/blob/v3.2.0/lib/scoped_search/query_builder.rb#L140, plus a completer as @abenari mentioned, perhaps in a separate block?

Closing this because the PR is out of date, and I don't have time to revive this in the medium-term future.


[Bug] Account mint error

🐛 Bug
I was going through this.
In the minting process, I tried:
account mint 0 999999. [After creating an account]
Error message
[ERROR] Error minting coins: Failed to query remote faucet server[status=400 Bad Request]: "Exceeded max mint amount of<PHONE_NUMBER>000"

Expected Behavior
Expected a successful mint as my request is less than the limit.
However, when I tried account mint 0 9, it worked fine.
System information

Libra Version: No idea, how do I find out Libra Version?
Rust Version: 1.35.0
OS: Ubuntu 19.04

Hi kalpaj12, thank you for the bug report.  This issue has been fixed and will soon be resolved.  The client specifies transactions in units of "libra" whereas the limit returned by the faucet server is in "microlibra".  Please specify a smaller value and the mint command should work

@kphfb , as stated above, it works fine for smaller values. :)

P.s. how do I find out the libra version installed?

@kphfb , how do I find out the installed libra version?

@kalpaj12 yeah, it would work for smaller values.  You basically need to multiply anything you pass by 10e6 to see if it exceeds<PHONE_NUMBER>000.
Right now, the only way to see the installed version is to look at the git log


Update styles.css

Make it attractive.

I changed the CSS code to make the login page attractive.


Second wave of specification adopters

Please add a comment with possible service providers that we can target as the second wave of specification adopters.

The lib-bucket-provisioner is a "stub" operator that supports S3 Bucket binding via an ObjectBucketClaim. Operators that implement  this functionality include:
awss3operator
noobaa
rook-ceph
rhocs
Eventhough this library was given a DEPRECATION NOTICE last month as described in its README, it is already broadly used and will likely not be replaced with its follow-on KEP for some period of time.

kubedb (https://github.com/kubedb/operator) operator might be interesting to bring into the fold as well.

Closing this in favour of #82 and #83 , so that we have a clear vision of what's available or in progress, versus what we would like to be available.


no scroll bare when creating new agent !!!!

⚠ Check for existing issues before proceeding. ⚠

[X] I have searched the existing issues, and there is no existing issue for my problem

Where are you using SuperAGI?
Windows
Which branch of SuperAGI are you using?
Main
Do you use OpenAI GPT-3.5 or GPT-4?
GPT-3.5
Which area covers your issue best?
Installation and setup
Describe your issue.
when i start new agend there is no scrol bare and pushing on my middle button dosnt work to creat scroll bar here is image https://app.screenclip.com/2XUG and i have to chamge the size of text so i can see the start button at bottom https://app.screenclip.com/2XUG
How to replicate your Issue?
No response
Upload Error Log Content
docker compose logs

Yes, very frustrating. I've found that if I click around in the middle area of the page, I can usually use the mouse wheel to scroll.

I have been using tab and shift+tab to navigate.

Yeah, we have noticed this. Thanks for raising! We're getting this fixed in the next release!

Zooming out the browser view is another workaround
I used to encounter this issue (though haven't in a week or so)

Yeah, we have noticed this. Thanks for raising! We're getting this fixed in the next release!

great to here well done amazing project

This fix has been done in v0.0.8. Closing this.


Controlled input is not working properly

Hello,
I just tried to use your library and it looks like your controlled component is not working properly. Here it is what is happening:
If you do not set onChange, the component still updates the text, so, it doesn't matter what you are filling on 'value' or 'onChange' props. Check the code below:
import React from 'react'
import { CodeMirror } from 'react-codemirror6'

const App = () => {

  return (
    <div style={{ height: 400, display: 'flex' }}>
      <CodeMirror
        style={{
          display: 'flex',
          flexDirection: 'column',
          flex: '1 0 auto'
        }}
        value={'this text should not change itself when typing'}
        onChange={(value:string) => console.log(value)}
        extensions={
          [
            // theme, language, ...
          ]
        }
      />
    </div>
  )
}

export default App;

The sample code that I provide you should keep the text 'this text should not change itself when typing' on the editor, no matter what you type. Unfortunately, it is being changed when you type.
Do you have an idea of how to fix it?

Thanks @andrebnassis
It's been a long time since I wrote this component so I'm surprised that this isn't working; will take a look now!

Okay so looking at the code, the issue is because the current approach is to replace the content of the editor with any changed values passed in as props, but it doesn't work in the same way as a traditional controlled input.
I'll look over the code and see if I can find a new approach that makes that possible!
The main issues I'm seeing are:

how to persist things like multiple cursors, and
how not interrupt the typing experience

@andrebnassis
Fixed in v1.0.1 dafe16a16ad19277184b037c4e8dc9e9037913fe

Sorry for the late response, thanks a lot! :D


3d columns example

Closes #5
Closes #7
Closes #8

As a heads up, the default orientation makes converting from e.g. arrow keys to panning the camera quite tricky. Probably worth showing that off, but doesn't have to be this PR.

As a heads up, the default orientation makes converting from e.g. arrow keys to panning the camera quite tricky. Probably worth showing that off, but doesn't have to be this PR.

Could you open a separate issue ?


Compatibility issues with Python 3.5 because of typing stub

On Ubuntu 16.04 LTS pyannotate breaks when using Python 3.5 because is ships with a limited typing stub. Upgrading typing via pip does not help since the built-in takes precedence (know issue).
pyannotate -w "mpf/assets/show.py"
Traceback (most recent call last):
  File "/usr/local/bin/pyannotate", line 7, in <module>
    from pyannotate_tools.annotations.__main__ import main
  File "/usr/local/lib/python3.5/dist-packages/pyannotate_tools/annotations/__main__.py", line 9, in <module>
    from pyannotate_tools.annotations.main import generate_annotations_json
  File "/usr/local/lib/python3.5/dist-packages/pyannotate_tools/annotations/main.py", line 9, in <module>
    from pyannotate_tools.annotations.infer import infer_annotation
  File "/usr/local/lib/python3.5/dist-packages/pyannotate_tools/annotations/infer.py", line 8, in <module>
    from pyannotate_tools.annotations.parse import parse_type_comment
  File "/usr/local/lib/python3.5/dist-packages/pyannotate_tools/annotations/parse.py", line 12, in <module>
    from typing import Any, List, Mapping, Set, Text, Tuple
ImportError: cannot import name 'Text'

Can this be fixed? Maybe "hide" the typing import behind an if True?
This works as a workaround:
PYTHONPATH=/usr/local/lib/python3.5/dist-packages/ pyannotate

Ideally you should upgrade to Python 3.5.2, which IIRC does have Text in typing.py.
Alternatively, Text is defined in typing_extensions, which you can install via pip install. Maybe you can submit a PR with a fix? (It's not easy for me to test since I don't have such an environment any more.)

This should now be fixed as of #32. (There's no release for that yet, I'm waiting to accumulate more fixes.)

Closing since it's fixed in master.


first version of standard drawing method

Pull Request Test Coverage Report for Build 80

70 of 70 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 91.291%

Totals

Change from base Build 78:
0.4%

Covered Lines:
1520

Relevant Lines:
1665

💛  - Coveralls

Meng, can we rip out the use of networkx drawing and just use our routines? Also, the return values for nodelist/etc are the list of nodes, not the actual handles to the plot elements.

@dgleich Let me know how you feel on the new template.

Okay, this is coming along!
We still need stuff to visualize a vector of entries over the nodes, e.g. a fiedler vector or ACL vector.
I don't like how you are creating a vector of colors, that seems like it could be done more efficiently. (And allow for colormap scaling, etc.)
Groups should also take in a partition vector (e.g. each key is a group, in addition to a group-of-groups)

@dgleich
Let me know if the latest commit solves the first two issues (except the groups).

I'll start playing around with it. It looks very brittle thought. Also, we
are still not returning the right things...
We need to return handles to the plot elements so that someone can change
them after the fact. e.g. if I want to make nodes bigger/smaller, etc.
Also, what does draw_star do?
David
On Tue, Nov 27, 2018 at 12:50 AM Meng Liu<EMAIL_ADDRESS>wrote:

@dgleich https://github.com/dgleich
Let me know if the latest commit solves the first two issues (except the
groups).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kfoynt/LocalGraphClustering/pull/69#issuecomment-441930460,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACEy8ZBxf-r7cBKi3wVcP3UF2BEdorlks5uzNKKgaJpZM4YyWvu
.

@dgleich I am not very sure how to return plot handles... Is there a simple example I can refer to? "draw_star" is just plot all the edges connect to a specific node, like a star.

Things I know we want to do.

Draw a graph with a given set of coordinates. (Flexible edge
alpha, node alpha, node color, line color, line widths, etc., node sizes,)

Draw a graph and highlight a set of nodes.

Draw a graph and show values over the nodes (possibly a sparse set)

Draw a graph and highlight both a set and values.

Draw a graph with groups/clusters

Draw a grah with groups/clusters and highlight a set.

For all the plot elements, we should be able to customize sizes,
transparency, and colors.
Does it make sense to draw groups and a set of values over the graph?
Other
5.
G = lgc.GraphLocal()
elems = G.draw(coords)
elems = G.draw(coords, nodeset=S)
elems = G.draw(coords, values=v, nodeset=S)
elems = G.draw_groups(coords, g)
elems = G.draw

G = lgc.GraphLocal()
drawing = G.draw(coords)
drawing.highlight(set)
drawing.edge_linewidth
drawing = G.draw(coords, values=fiedler(G)[0], valuecenter = 0, colormap=PuOr)
drawing.highlight(set, othernodes=False, otheredges=False) # hide other nodes and edges
drawing.highlight(set, othernodes=False) # hide other edges
drawing = G.draw(coords, values=v)
drwaing = G.draw(coords, values=v, sizes=s
drawing = G.draw_groups(coords, g, sizes=s)
drawing.highlight(set)
drawing.between_group_alpha(0.5)
drawing.highlight(set, filled=False) # only circle the nodes
drawing.nodecolor(i,c=None)  # returns the current nodecolor
drawing.nodecolor(i,c=[
drawing.edgecolor(i,j,c=None)

class GraphDrawing
def init(self, G, coords, ax):
self.G = G
self.coords = coords
self.is_3d = len(coords[0]) == 3
self.edgepos = self._build_edgepos(G)
if ax == None:
fig, ax = plt.subplots()
else:
fig = ax.get_figure()
self.ax = ax
self.fig = fig
    nodes = ax.scatter()
    edges = LineCollection()

def show(self):
    return fig

drawing = G.draw(coords)
drawing.show() # this returns the figure, to show it in a Jupyter window, for instance

drawing = G.draw(coords, ax = ax)

@dgleich There are still a lot of details to finish, but I'd like to show you the structure and some examples in "new_visualization_examples.ipynb". Let me know how you feel about it.

Okay, I think this is getting there...!
I think we should simplify the interface to draw. I don't think it should
take a nodeset now. If you want a nodeset, then you should highlight that
explicitly.
I think there are two fundamental routines.
g.draw(values, sizes, etc...)
g.draw_groups(groups, sizes, etc...)
so in the second case, we handle all the group stuff, and in the first
case, we don't.
Given the return value from either, we should be able to highlight a set.
David
On Thu, Nov 29, 2018 at 11:52 PM Meng Liu<EMAIL_ADDRESS>wrote:

@dgleich https://github.com/dgleich There are still a lot of details to
finish, but I'd like to show you the structure and some examples in
"new_visualization_examples.ipynb". Let me know how you feel about it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kfoynt/LocalGraphClustering/pull/69#issuecomment-443090903,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACEy3V4hrn997heRusgB_6eclmbc6q5ks5u0LmegaJpZM4YyWvu
.

@dgleich I am not sure what ax._sci() does. Do you have a small example?

See this -- https://matplotlib.org/api/_as_gen/matplotlib.pyplot.sci.html
David
On Tue, Dec 4, 2018 at 5:36 PM Meng Liu<EMAIL_ADDRESS>wrote:

@dgleich https://github.com/dgleich I am not sure what ax._sci() does.
Do you have a small example?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kfoynt/LocalGraphClustering/pull/69#issuecomment-444286154,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACEy3Q1IJJiXxMP4JR-L75iXlPeRq_sks5u1vkDgaJpZM4YyWvu
.

Okay, why were the two bioinformatics notebooks deleted?
Do we need the "class" files and such? Why can't we just use the GraphML like we used to? If we need them, can you store the info as integers and lower-precision floats? These take up a lot of space!
Also, the job seems to have failed :)

@dgleich Those two were deleted because I have rewritten them using the new interface. If we stick to the original GraphML, it will take more code and even have to use graph_tools to extract the ground truth. To make the examples more clear, I decided to save the class info into a separate file so that we can read them in one line. But I will use some other data type to save the space. And yes, the job probably failed due to the new MQI code, I haven't tested it throughly.

We depend on Networkx already, can't we use their GML reader and the
from_networkx function ?
On Wed, Dec 5, 2018 at 11:56 AM Meng Liu<EMAIL_ADDRESS>wrote:

@dgleich https://github.com/dgleich Those two were deleted because I
have rewritten them using the new interface. If we stick to the original
GraphML, it will take more code and even have to use graph_tools to extract
the ground truth. To make the examples more clear, I decided to save the
class info into a separate file so that we can read them in one line. But I
will use some other data type to save the space. And yes, the job probably
failed due to the new MQI code, I haven't tested it throughly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kfoynt/LocalGraphClustering/pull/69#issuecomment-444559861,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACEy5eZsE-zDEuAFcMiH1DJw8dbz_q0ks5u1_rZgaJpZM4YyWvu
.

@dgleich We can, but my point is in the original notebook, taking ppi_mips as an example, it still needs three files ppi_mips.graphml, ppi_mips_coordinates.xy and ppi_mips_ground_truth.csv to get the graph, its layout and the ground truth. Also, it needs some additional code to preprocess the coordinates and ground truth file which makes the example less cleaner. Right now, the new notebook needs ppi_mips.graphml, ppi_mips.xy and ppi_mips.class and it doesn't need any preprocessing at all. So we can safely delete ppi_mips_coordinates.xy and ppi_mips_ground_truth.csv.

I guess I like that code because anyone else who uses our stuff will have
to go through a similar process to use their data. So it's helpful to have
an example that shows it :)
David
On Wed, Dec 5, 2018 at 2:54 PM Meng Liu<EMAIL_ADDRESS>wrote:

@dgleich https://github.com/dgleich We can, but my point is in the
original notebook, taking ppi_mips as an example, it still needs three
files ppi_mips.graphml, ppi_mips_coordinates.xy and
ppi_mips_ground_truth.csv to get the graph, its layout and the ground
truth. Also, it needs some additional code to preprocess the coordinates
and ground truth file which makes the example less cleaner. Right now, the
new notebook needs ppi_mips.graphml, ppi_mips.xy and ppi_mips.class and it
doesn't need any preprocessing at all. So we can safely delete
ppi_mips_coordinates.xy and ppi_mips_ground_truth.csv.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kfoynt/LocalGraphClustering/pull/69#issuecomment-444622655,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACEy2hIy3XIi_DMgO5RdFieN-_FmVdTks5u2CRigaJpZM4YyWvu
.

Btw, are there any examples of this in the notebook folder?


error: --strategy is specified and none of the arguments provided could be classified as a source code location

Hi,
yesterday I've downloaded version crc-linux-2.10.2-amd64 and successfully installed.
CRC VM:          Running
OpenShift:       Running (v4.11.7)
RAM Usage:       6.524GB of 9.399GB
Disk Usage:      14.97GB of 32.74GB (Inside the CRC VM)
Cache Usage:     16.43GB
Cache Directory: /var/crc/.crc/cache

I have reached one issue. In all previous CRC versions I've used oc new-app command as follows:
oc new-app --strategy docker git@X.Y.Z.W:mgrp/xxx-ds.git --source-secret repo-at-gitlab --name xxx-ds

Now this command returns error:
error: --strategy is specified and none of the arguments provided could be classified as a source code location

The same error returns following commands as well:
oc new-app --strategy docker https://X.Y.Z.W:mgrp/xxx-ds.git  --source-secret repo-at-gitlab --name xxx-ds
oc new-app --strategy=docker https://X.Y.Z.W:mgrp/xxx-ds.git  --source-secret repo-at-gitlab --name xxx-ds

Question: what has changed in the latest CRC version that oc new-app commands I have always used do not work?
As far as I tried, I haven't reach other issue in this version.

It could be due to some network connectivity issues where oc is not able to pull from the supplied git repos, i couldn't reproduce this locally:
❯ oc new-app --strategy=docker https://github.com/evanshortiss/openshift-typescript-example
--> Found image da98079 (7 months old) in image stream "dev-test/node" under tag "12-alpine" for "node:12-alpine"

    * A Docker build using source code from https://github.com/evanshortiss/openshift-typescript-example will be created
      * The resulting image will be pushed to image stream tag "openshift-typescript-example:latest"
      * Use 'oc start-build' to trigger a new build

--> Creating resources ...
    imagestream.image.openshift.io "openshift-typescript-example" created
    buildconfig.build.openshift.io "openshift-typescript-example" created
Warning: would violate PodSecurity "restricted:v1.24": allowPrivilegeEscalation != false (container "openshift-typescript-example" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "openshift-typescript-example" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "openshift-typescript-example" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "openshift-typescript-example" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
    deployment.apps "openshift-typescript-example" created
--> Success
    Build scheduled, use 'oc logs -f buildconfig/openshift-typescript-example' to track its progress.
    Run 'oc status' to view your app.

Using the same oc version as in 2.10.2:
❯ oc version
Client Version: 4.10.34
Server Version: 4.11.7
Kubernetes Version: v1.24.0+3882f8f

Hi, in previous version it has worked properly.
There is no network issue, issue is present from yesterday, I can clone repo, I have used it in the same way long time using previous crc versions.
Issue is present in version:
Client Version: 4.11.7
Kustomize Version: v4.5.4
Server Version: 4.11.7
Kubernetes Version: v1.24.0+3882f8f

@JiriHusak-lab not sure how a new release could cause this, since the bundle and oc client version is 4.11.7 same as in crc v2.10.1
since am not able to reproduce this on my side really not sure what could cause this for you, make sure you are using the correct oc binaries, maybe try clearing your ~/.crc/bin directory and start from a clean state:
$ rm -rf ~/.crc/bin
$ crc cleanup
$ crc setup

I did it twice completely:
crc setup and crc start log:
[crc@rhel821 ~]$ crc setup
CRC is constantly improving and we would like to know more about usage (more details at https://developers.redhat.com/article/tool-data-collection)
Your preference can be changed manually if desired using 'crc config set consent-telemetry <yes/no>'
Would you like to contribute anonymous usage statistics? [y/N]: N
No worry, you can still enable telemetry manually with the command 'crc config set consent-telemetry yes'.
INFO Using bundle path /var/crc/.crc/cache/crc_libvirt_4.11.7_amd64.crcbundle
INFO Checking if running as non-root
INFO Checking if running inside WSL2
INFO Checking if crc-admin-helper executable is cached
INFO Caching crc-admin-helper executable
INFO Using root access: Changing ownership of /var/crc/.crc/bin/crc-admin-helper-linux
[sudo] password for crc:
INFO Using root access: Setting suid for /var/crc/.crc/bin/crc-admin-helper-linux
INFO Checking for obsolete admin-helper executable
INFO Checking if running on a supported CPU architecture
INFO Checking minimum RAM requirements
INFO Checking if crc executable symlink exists
INFO Creating symlink for crc executable
INFO Checking if Virtualization is enabled
INFO Checking if KVM is enabled
INFO Checking if libvirt is installed
INFO Checking if user is part of libvirt group
INFO Checking if active user/process is currently part of the libvirt group
INFO Checking if libvirt daemon is running
INFO Checking if a supported libvirt version is installed
INFO Checking if crc-driver-libvirt is installed
INFO Installing crc-driver-libvirt
INFO Checking crc daemon systemd service
INFO Setting up crc daemon systemd service
INFO Checking crc daemon systemd socket units
INFO Setting up crc daemon systemd socket units
INFO Checking if systemd-networkd is running
INFO Checking if NetworkManager is installed
INFO Checking if NetworkManager service is running
INFO Checking if dnsmasq configurations file exist for NetworkManager
INFO Checking if the systemd-resolved service is running
INFO Checking if /etc/NetworkManager/dispatcher.d/99-crc.sh exists
INFO Checking if libvirt 'crc' network is available
INFO Checking if libvirt 'crc' network is active
INFO Checking if CRC bundle is extracted in '$HOME/.crc'
INFO Checking if /var/crc/.crc/cache/crc_libvirt_4.11.7_amd64.crcbundle exists
INFO Getting bundle for the CRC executable
3.15 GiB / 3.15 GiB [----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00% 8.58 MiB p/s
INFO Uncompressing /var/crc/.crc/cache/crc_libvirt_4.11.7_amd64.crcbundle
crc.qcow2: 12.01 GiB / 12.01 GiB [----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00%
oc: 118.14 MiB / 118.14 MiB [---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00%
Your system is correctly setup for using CRC. Use 'crc start' to start the instance
[crc@rhel821 ~]$ crc start
INFO Checking if running as non-root
INFO Checking if running inside WSL2
INFO Checking if crc-admin-helper executable is cached
INFO Checking for obsolete admin-helper executable
INFO Checking if running on a supported CPU architecture
INFO Checking minimum RAM requirements
INFO Checking if crc executable symlink exists
INFO Checking if Virtualization is enabled
INFO Checking if KVM is enabled
INFO Checking if libvirt is installed
INFO Checking if user is part of libvirt group
INFO Checking if active user/process is currently part of the libvirt group
INFO Checking if libvirt daemon is running
INFO Checking if a supported libvirt version is installed
INFO Checking if crc-driver-libvirt is installed
INFO Checking crc daemon systemd socket units
INFO Checking if systemd-networkd is running
INFO Checking if NetworkManager is installed
INFO Checking if NetworkManager service is running
INFO Checking if dnsmasq configurations file exist for NetworkManager
INFO Checking if the systemd-resolved service is running
INFO Checking if /etc/NetworkManager/dispatcher.d/99-crc.sh exists
INFO Checking if libvirt 'crc' network is available
INFO Checking if libvirt 'crc' network is active
INFO Loading bundle: crc_libvirt_4.11.7_amd64...
CRC requires a pull secret to download content from Red Hat.
You can copy it from the Pull Secret section of https://console.redhat.com/openshift/create/local.
? Please enter the pull secret **********************************************************************************************************************************************************************************************************************************************
WARN Cannot add pull secret to keyring: failed to unlock correct collection '/org/freedesktop/secrets/aliases/default'
INFO Creating CRC VM for openshift 4.11.7...
INFO Generating new SSH key pair...
INFO Generating new password for the kubeadmin user
INFO Starting CRC VM for openshift 4.11.7...
INFO CRC instance is running with IP <IP_ADDRESS>
INFO CRC VM is running
INFO Updating authorized keys...
INFO Check internal and public DNS query...
INFO Check DNS query from host...
INFO Verifying validity of the kubelet certificates...
INFO Starting kubelet service
INFO Waiting for kube-apiserver availability... [takes around 2min]
INFO Adding user's pull secret to the cluster...
INFO Updating SSH key to machine config resource...
INFO Waiting for user's pull secret part of instance disk...
INFO Changing the password for the kubeadmin user
INFO Updating cluster ID...
INFO Updating root CA cert to admin-kubeconfig-client-ca configmap...
INFO Starting openshift instance... [waiting for the cluster to stabilize]
INFO Operator openshift-controller-manager is progressing
INFO Operator openshift-controller-manager is progressing
INFO Operator openshift-controller-manager is progressing
INFO Operator openshift-controller-manager is progressing
INFO Operator openshift-controller-manager is progressing
INFO All operators are available. Ensuring stability...
INFO Operators are stable (2/3)...
INFO Operators are stable (3/3)...
INFO Adding crc-admin and crc-developer contexts to kubeconfig...
Started the OpenShift cluster.
The server is accessible via web console at:
https://console-openshift-console.apps-crc.testing
Log in as administrator:
Username: kubeadmin
Password: EGPAw-kibED-RHM2V-wbW3L
Log in as user:
Username: developer
Password: developer
Use the 'oc' command line interface:
$ eval $(crc oc-env)
$ oc login -u developer https://api.crc.testing:6443
[crc@rhel821 ~]$ crc status
CRC VM:          Running
OpenShift:       Running (v4.11.7)
RAM Usage:       6.249GB of 9.399GB
Disk Usage:      14.91GB of 32.74GB (Inside the CRC VM)
Cache Usage:     16.43GB
Cache Directory: /var/crc/.crc/cache

Here is an oc output when I've increased loglevel severity.
But warning: Cannot check if git requires authentication. has been present also in previous versions where oc new-app worked properly.
oc new-app --strategy docker git@X.Y.Z.W:mgrp/xxx-ds.git --source-secret repo-at-gitlab --name xxx-ds --loglevel 10
I1110 12:49:02.095423 3702136 loader.go:372] Config loaded from file:  /var/crc/.kube/config
I1110 12:49:02.096850 3702136 newapp.go:655] Container service did not respond to a ping: Get "http://unix.sock/_ping": dial unix /var/run/docker.sock: connect: no such file or directory
I1110 12:49:02.097034 3702136 sourcelookup.go:316] Checking if git@<IP_ADDRESS>:ansr/nrs-ds.git requires authentication
I1110 12:49:02.097051 3702136 repository.go:450] Executing git ls-remote --heads git@<IP_ADDRESS>:ansr/nrs-ds.git
I1110 12:49:02.097072 3702136 repository.go:459] Environment:
I1110 12:49:02.097077 3702136 repository.go:461] - HOME=/tmp/githome4060803832
I1110 12:49:02.097083 3702136 repository.go:461] - GIT_SSH=/dev/null
I1110 12:49:02.097087 3702136 repository.go:461] - GIT_CONFIG_NOSYSTEM=true
I1110 12:49:02.097093 3702136 repository.go:461] - GIT_ASKPASS=true
I1110 12:49:02.099885 3702136 repository.go:541] Error executing command: exit status 128
warning: Cannot check if git requires authentication.
I1110 12:49:02.100005 3702136 newapp.go:346] treating git@<IP_ADDRESS>:ansr/nrs-ds.git as a component ref
error: --strategy is specified and none of the arguments provided could be classified as a source code location

I've successfully used oc new-app command with public github repo using https:/...githuburl.
So I guess that in version crc-linux-2.10.2-amd64 according version crc-linux-2.0.1-amd64 ther is some change (hardening) of security in terms of access to git repo. And maybe message reported (which is missleading) has changed.

I am certain it's the same oc client binaries and OCP bundle that was shipped in 2.10.1 that is in 2.10.2, the client binaries are packed in the *.crcbundle and that didn't change as i already have mentioned earlier.
have you also ruled out that the --source-secret value is correct/upto date for the repo in question?

Hi, so, there is a progress. CRC can successfully access my git repo as I realized now. There is a really some bug in CRC version.
When I've used he same oc new-app command and add image from Dockerfile FROM statement with ~ - it workes.
ERROR:  oc new-app --strategy docker git@X.Y.Z.W:mgrp/xxx-ds.git --source-secret repo-at-gitlab --name xxx-ds
OK:         oc new-app --strategy docker image-name~git@X.Y.Z.W:mgrp/xxx-ds.git --source-secret repo-at-gitlab --name xxx-ds
So without specifying image-name~ oc new-app reports "error: --strategy is specified and none of the arguments provided could be classified as a source code location". When image-name~ is specified, buidl from git repo is successfully started according Dockerfile in git repo.
The same behaviour has my colleague independently using the same CRC version.

Hi,
any comment regarding latest CRC version bug (oc new-app using strategy Docker can't recognize git repo without prefixing git repo with image~) ?

I've used image used for first stage (first FROM in Dockerfile) but it overides second FROM (second build stage) in Dockerfile as well. In Dockerfile second stage (second FROM) is using another image. Build of course fails then.
Any hint, any help, any fix please?

@JiriHusak-lab Is it bug from CRC or from openshift side itself because we are just running the cluster without much change. Can you perform same action on a production grade openshift cluster which have similar OCP version which crc ships. Looking at the comments looks like it is bug on openshift side not CRC side.
We are going to do another release by this week which will have updated version of ocp do try once it is available and able to fix that bug.


Incorrect changelog note in v0.10.16

Excited to see that the Datepicker changes have been released!
I'm not sure if a) this is a big deal, or b) if this is an auto-generated thing that can be changed, but  it may confuse anyone looking through the notes. The change-log note regarding the datepicker update is incorrect, referring to my original implementation idea which was tossed out after feedback from @interactivellama. Rather than adding a prop, the default behavior of the component was changed to allow manual input.
Instead of:
Datepicker: Add canInputMaintainFocus prop
It is now something like:
Datepicker: Default behavior updated to allow manual input

Thank you!


docs: updating contributing section in README

Description
This PR is responsible for updating the README file to include the correct instructions for how to contribute.
Previously, the README mentioned folders that were not in existence in the repo. I updated the contribute section so contributions know to edit the pizza-facts.md and pizza-recipes.md files.
What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[x] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents
closes #2
Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[x] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[ ] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?


Frontend website strategy

Really like the concepts inside responder! I'm wondering what would be the strategy for integrating frontend websites? I see webpack is mentioned in the README. Would something like https://parceljs.org/ also be interesting? Since the choice of frontend framework / tooling is pretty tangental to other things in responder, would it maybe make sense to just round up a few example folders or cookiecutters and link them up? E.g.

responder + webpack + react
responder + parcel + react
responder + angular

One thing that would make sense to standardise IMHO would be the build command in package.json. E.g. always have an npm run build command for building the frontend. That way a standard responder Heroku buildpack / Dockerfile could be used for deploying the webapp no matter which frontend stack is used.

Whether or not tight front end integration gets put on the back burner I think it's a really important premise to have a roadmap for.  With how fast and loose front end can be it would be advantageous to have a standardized build method as you mentioned.

I like that.

running 'npm build' that is.

OK, great! I'll see if I can cook up a nice working example with Parcel + React and then we can talk about an official buildpack / Dockerfile or something that would run npm install / npm run build if there's a package.json and therefore encode this standard 🙂.

As a first baby step, I've made a very minimal React + Parcel example featuring:

ES6 modules
image importing
frontend routing (using React-Router)

To deploy it's enough to do npm install & npm run build which packages everything in a dist folder ready for serving.
Here's the code:
https://github.com/metakermit/responder-react
I haven't touched any Responder stuff so far, but I see that there are going to be some challenges. Some challenges as far as I see:

it should be possible to serve static files on / instead of static/
/ should serve index.html
all urls not found in Responder's own routes should be forwarded to index.html (which would be needed for frontend routing)

Starlette should have options for some of these things, but I think they aren't all exposed in Responder. As a side-note, I did solve some of these issues with Django & Whitenoise here, so I have some ideas for how these things could be solved. Not sure what the best approach would be in Responder architecture-wise.

Now, off master, if you do this:
api.add_route("/", static=True)

static's index.html will automatically be responded with.

Now, off master, if you have a static=True route, all routes will be forwarded to static index.html responder.

this still leaves

it should be possible to serve static files on / instead of static/

but I think that's a small workaround, for now.

@kennethreitz Perfect, that solves most of the SPA requirements, I think 🎉 I'll test it and if it works, we can later see if we want to have some order of precedence in the future, e.g. in the static=True mode:

check responder routes first (e.g. for some /api/users/ endpoints etc.)
if there aren't any, redirect everything to index.html to handle
the frontend then checks its routing and is responsible for the 404 page etc.

@metakermit that's exactly the flow that's in place.

I don't know much about single-page web apps, but this will always result in a 200 response from the server, even if it appears as though it's 404.

unless there's a specific 404 view defined

cool, i'll ship it :shipit:

v0.1.0 released, which includes this.

Sure, I think that's fine. I think the way it's done is that if the frontend doesn't find its template, it renders a 404 page. Traditionally this is done by setting nginx to forward everything to index.html, but with Responder we don't need nginx 🙂
Awesome! 🚀