Add Shakespearean insults as option

@ianturton this is awesome, and I completely failed to notice the PR when it was raised. Belated thanks for the contribution!


webhooks/trello: Ignore Card movement within a single list.

Automated message from Dropbox CLA bot
@eeshangarg, it looks like you've already signed the Dropbox CLA. Thanks!


[Communication] - Identity - Added samples for AAD authentication

Do we need to update the README to reflect the samples?

Do we need to update the README to reflect the samples?


Add Longest common subsequnce.java

Hey! Kindly accept my PR.

You can follow me on github

Thanks a lot for the merge!


How can I use the fake-sample-data?

As I have got the zip file and unzipped it,how can I use the sample-data?It's necessary for me to fix the data path in the all py files,right?Or any else convenient approach to use the sample data?
Thank for your reply!

Due to the copyright issue, we can not publicize our dataset. But you can follow the step described in here to generate one by yourself.

The instruction of data creation really sucks. It's just like they make it extremely hard to reproduce on purpose.

I have the same issue here, the data is almost not generatable.
There are too many bugs and issue there and the instructions are vague while all the paths are wrong.

@Armanasq  @waylonli Any progress on Data generation?
@Acatsama0871 Do you mind helping with coherent dataset generation steps, What good is an open-source if it can not be used on improved upon simply because the authors are gatekeeping it


Move the MockUnpacker to a separate package and/or file to make them easier to find?

In internal/controllers/suite_test.go:
Nit: move the mocks to a separate package and/or file to make them easier to find?
Originally posted by @joelanford in https://github.com/operator-framework/operator-controller/pull/874#discussion_r1608877404

/assign


make /var/lib/rancher a rancher-agent-state volume

make /var/lib/rancher a rancher-agent-state volume
Use one state persistence mechanism instead of two.
Fixes #936

Does that mean it will not be possible to edit the config file manually and directly on the hard drive?
To explain my use case quickly:
When I messed up with the config (enable an incompatible service per example) my server fails to boot and the only solution I have to fix the issue is to boot on a rescue/live image (which doesn't support docker because the kernel is too old), mount the harddrive inside /mnt and then edit manually /mnt/lib/rancher/rancher.yml to disable the service. And being able to do that is a vital feature for me.

@Nicofuma thanks for feedback. I've changed the code a little bit so, I hope, your use case will survive.

Reading your change I realized something... Here we are talking about rancher/server and rancher/agent not rancher/os ... sorry for the mistake


memory problem with DATETIME

Hello! Thank you a lot for this module, but there's a little problem, that I can't resolve.
Electron + node 8.9.3 + odbc 1.4.5 (newest version doesnt work with electron because of node version restriction), I succesfully connected to Interbase 2009 database, but there's a problem, when I'm try to get datetime field - application just consume about 2Gb of memory and crashes. Just SELECT, nothing else.
No problem with other types - string and numbers returning into result pretty fine, but looks like there's a problem with datetime. Not sure if everything ok with code, but how it goes now:
let odbc = window.require('odbc')()
let constr = 'DRIVER=Firebird/InterBase(r) driver; UID=SYSDBA; PWD=masterkey; DBNAME=localhost:c:\\Firebird\\database.ibs;charset=win1251'
let connection = odbc.openSync(constr);
let query = "select S_DURATION from SPR where S_KEY = 464"
let stmt = odbc.querySync(query)

I have no idea, why this happens. Does it has any solution or suggestion about it and how to fix it?
Thanks for your time a lot.
UPD: solved it with cast datatypes, yet the problem with timestamp stay the same.

Well, this is almost 3 years old (that's 21 years in code-years), so I'm going to close. This repository is exclusively for the 2.x version of the package, and Node.js 8 is no longer supported so I hope the OP has moved on to at least Node.js 12!


update switch state required and remove writing empty arrays to json/…

…yaml
Signed-off-by: Tihomir Surdilovic<EMAIL_ADDRESS>Many thanks for submitting your Pull Request :heart:!
What this PR does / why we need it:
Special notes for reviewers:
Additional information (if needed):

@manick02 can you please review? thanks.

Looks good to me @tsurdilo


CLI rewrite branch to main

What was changed
There is a long history of changes to the cli-rewrite branch. Look at the past several months. The very first commit is to remove everything. Unlike other PRs, this PR merge will not be squashed so we can keep proper commit history.
Once merged, we will create a 0.12.0 release (non-RC)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 13 committers have signed the CLA.:white_check_mark: Quinn-With-Two-Ns:white_check_mark: fairlydurable:white_check_mark: chronos-tachyon:white_check_mark: sebneira:white_check_mark: josh-berry:x: tdeebswihart:x: dandavison:x: antlai-temporal:x: stephanos:x: ast2023:x: pdoerner:x: carlydf:x: prathyushpvYou have signed the CLA already but the status is still pending? Let us recheck it.


Where's the board task?

why i cannot find the board task like the one you posted?

Hello,

This was removed due to Google specs.


UCASMatch#matching state removal migration

Waiting on #3583 being merged

@despo I think running this migration will also change https://github.com/DFE-Digital/apply-for-teacher-training/blob/master/docs/domain-model.png via Graphviz, if so the change should be included in this PR.


Can't Clone The Repo With Given Command.

Trying to clone the repo using the command listed in the README. It doesn't work, permission issue error.

You might wanna change the endpoint to HTTPS instead of SSH.

You can select HTTPS from the "Clone or download" button and use that to replace that url:

i want to use this hello-world, i already downloaded it, but this git only has README.md.   Could you guide me to dowload the helloworld, code?

@emeloibmco
From the README:

Clone the repository of the language that you want to use. For instance, you can clone the Node repository by clicking on the Node branch.


compiled error need restart dev

System Info
System:
OS: macOS 13.4.1
CPU: (12) x64 AMD Ryzen 5 5500
Memory: 3.36 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.17.1 - ~/.volta/tools/image/node/18.17.1/bin/node
Yarn: 3.6.1 - ~/.volta/tools/image/yarn/3.6.1/bin/yarn
npm: 9.6.7 - ~/.volta/tools/image/node/18.17.1/bin/npm
pnpm: 8.6.9 - ~/.volta/tools/image/pnpm/8.6.9/bin/pnpm
Browsers:
Chrome: 116.0.5845.187
Safari: 16.5.2
npmPackages:
@rspack/cli: latest => 0.3.2
@rspack/plugin-node-polyfill: ^0.3.2 => 0.3.2
Details
refactor file name cause compiled error，and can‘t compiled after fix the error ,need rerun the server.
https://github.com/web-infra-dev/rspack/assets/42181585/fb0893ef-4cfb-4834-bd93-379b1f2e9fdd
Reproduce link
https://github.com/xiaoxin-sky/rspack-project-demo
Reproduce Steps

pnpm dev
refactor app.js file name to index.js and save
fix main.js file import  import App from './app' to import App from './foo'

This issue has been fixed by https://github.com/web-infra-dev/rspack/pull/4149. You can try the 0.3.3.

Feel free to reopen this if you have any further question.

It has indeed been fixed.


Turn off notifications from log resource by default

This should be switched to the notify_group resource now.
A word on flipping the default, and why its the right thing to do:

This is what people naively expect from the start and they have to dig to find it.

IF this breaks any community cookbooks THEN anyone who flips the default will be unable to consume those community cookbooks, and will now be deeply lost trying to debug those cookbooks and why they appear to be broken.

The switch is therefore a poor solution.

As a result, we should flip the default, and fix the cookbooks, get to the point where everything just works the way people expect it to.

The setting can be retained so that anyone upgrading from Chef-15 can flip that to get the behavior back before auditing their cookbooks -- the solution of using notify_group instead will of course be backcompat with that setting.

closes #1727

Delete the leftover provider that's floating around


Check release status for libvirt / fog-libvirt

Migrated from LPSPRIG-6

https://github.com/byonoy-dne/fog-libvirt/commit/71e05e3 - PR: https://github.com/fog/fog-libvirt/pull/102

Released in v0.10.0 - https://github.com/fog/fog-libvirt/commit/085a7c89596e989921dccd33dd954afbb37df27a


Add Note: Fastclick since iOS 9.3 not longer neccessary when using WKWebView

Hi,
since iOS 9.3, when using WKWebView, the 300-350ms delay is gone. In Android it's gone since Chrome Version 32+. Could you maybe add this hint on your readme? Thanks.
Related Issue here: https://github.com/ftlabs/fastclick/issues/514
Webkit-Bugfix: https://bugs.webkit.org/show_bug.cgi?id=153180 (see second last comment)
(In UIWebView the fix is not working!)

This is now addressed in the readme and can be closed, thanks 👍

In which readme? I couldn't find it in the readme of this git-repo.

Ah ok, i think i saw this notice already before i opened this issue. Because it's not explicit when you are an app developer. If you develop for Apple it's important to know that you must develop with the WKWebView component instead of the UIWebView component to avoid this problem. But I don't care. I don't want to put too much energy in this here.

I was right, the comment is from 2016: https://github.com/ftlabs/fastclick/commit/4e409926198147f24a49c293923d2a2a047c3774
Thank's for adressing it NOW in the readme ..


Blas auto-tuning for GEMMs

This recreates PR 1585, which was spoiled by a corrupted git merge.
Implements a new feature in the rocBLAS API to tune GEMM solutions automatically. The finalize() method calls a new tune() method which simply iterates through the list of available solutions, timing them all and choosing the fastest.
 It is enabled in the Rocm ver 5.5 API by using preprocessor value ROCBLAS_BETA_FEATURES_API, which is set by CMakeLists.txt if the needed rocBLAS version is installed at compile time.
See https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/issues/1553

@pfultz2 has volunteered to troubleshoot the performance problems.

@pfultz2  can you resolve the conflicts and change the reviewers so we can get this merged

Format is claiming an error @pfultz2

@pfultz2 accuracy failure in Jenkins job

@pfultz2 unet model failing, agent model not passing accuracy

Those are the same failures on develop.

Also, the unet bug is the same on develop, but we dont catch it since we dont check the return of rocblas call. The fix will very likely fix performance because we arent even calling a gemm due to the rocblas error.


tau protein deposits

Why are tau protein deposits and neurofibrillary tangles separate sibling terms under abnormal nervous system morphology?

Questions:
are tau protein deposits always tangles?
are tangles a type of brain lesion?

Review existing annotations to see if these are distinct or just 2 names for the same thing.

Reviewed some literature and cannot necessarily find enough evidence that these two terms are not synonyms. I've looked at the following articles:
PMID: 31028844
PMID: 30120962
PMID: 29299792
Some of the wording in one of these papers hints at the fact that neurofibrillary tangles may be composed of more than just tau but it is a primary constituent.


Dispatcher

Description
This is the first version of CRD Dispatcher. It replicates a CRD from the local cluster on remotes clusters.
The resources to be replicated are identified by their GVR and given to the operator through the clusterconfig.policy.liqo.io CRD.
As far as now the Operator does not manages watchers to monitor the resources replicated on the remote clusters. It only monitors the local resources and replicates the following data:

Metadata: name, namespace and labels
Spec: all the fields on the spec section
Status: all the fields on the status section

How Has This Been Tested?
Unit tests covers the more then 74% of the statements
The remaining statements will be covered by Integration tests with the next PRs.
Related Issues
#151

/rebase


Fix swapped names in readthedocs about qcs_config and forest_config

Fixes #600

Fixes #600

This looks good to me as long as we remove the "fixes #600" comment. We should keep issue 600 open until we resolve the ~./forest_config and ~./qcs_config confusion.


Freezing after fetching 50% of latest builds

Pop! OS.
i7
16gb
GTX 960m

Hello scanevaro,
I would love to help however, I can't say I know much about Python. I think you may have confused me for another user who forked remyroy's Python launcher (forked project here).
I do see that Issues are not enabled for that project, it looks like people have been commenting on the following issue on remyroy's project.
https://github.com/remyroy/CDDA-Game-Launcher/issues/329
I will be closing this issue out, as I am unable to help further.

Hello scanevaro,
I would love to help however, I can't say I know much about Python. I think you may have confused me for another user who forked remyroy's Python launcher (forked project here).
I do see that Issues are not enabled for that project, it looks like people have been commenting on the following issue on remyroy's project.
https://github.com/remyroy/CDDA-Game-Launcher/issues/329
I will be closing this issue out, as I am unable to help further.


Custom explorer nodes not displaying

Issue Type: Bug
One of the nodes in the Docker explorer fails to refresh.  In the debugger, i can see the call to getTreeItem() returning the proper data, but the children don't appear.  It doesn't happen all the time, but it does happen about 90% of the time. This code has not changed in months and worked earlier, so I believe something changed in Code itself.
To repro:

Create some azure container registries

In the Azure portal, choose Create a Resource on the left side
Search for Container Registry
Click Create
Provide a unique Registry Name, the proper Subscription, Resource Group, etc.
Click Create, should only take about 30sec to create the registry, so create a couple more...

Get the code

git clone https://github.com/microsoft/vscode-docker
cd vscode-docker && npm install
code-insiders .

F5 to run the extension
Install the Azure Account extension into the Extension Development Host instance
Open the command palette, choose Azure: Sign-in and sign into your account
cmd+p and Reload the Extension Development Host
Open the Docker view on the Activity Bar
expand the Registries node
expand the Azure node

You should see your registries.

Collapse the Azure node
Press refresh on the DOCKER: EXPLORER bar
Expand the Azure node

Result: it should be empty.  If it isn't, try the expand/collapse/refresh pattern a few times, or reload the Extnesion Development Host and do it again.

I've set a breakpoint on line 31 of explorer\models\azureRegistryNodes.ts and see it being called, with the appropriate data being returned.  But, the children are not loaded.
VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T17:11:17.614Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz (4 x 2494)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.98GB (1.73GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

vscode-opennewinstance
chr
0.0.4

tslint
eg2
1.0.29

vscode-npm-script
eg2
0.3.4

vscode-azureappservice
ms-
0.8.1

vscode-language-pack-hu
MS-
1.23.2

azure-account
ms-
0.4.0

azurecli
ms-
0.4.1

vscode-docker
Pet
0.0.27

gitblame
wad
2.4.2

@chrisdias Thanks for the steps. Will try to reproduce it and investigate.

Tested on latest insiders, everything working as expected. thanks @sandy081 !!!


TypeScript + Jest coverage are not friends

Is this a bug report?
Yes

Did you try recovering your dependencies?

Yes. I've removed node_modules and yarn.lock file and re-installed dependencies.
Which terms did you search for in User Guide?

I've searched for different combinations of words:

Jest TypeScript
Create React App typescript with jest
Jest coverage typescript
...
How not to get crazy during the troubleshooting.

Environment

Environment Info:

  System:
    OS: Linux 4.15 Ubuntu 18.04.1 LTS (Bionic Beaver)
    CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
  Binaries:
    Node: 10.15.0 - /usr/bin/node
    Yarn: 1.12.3 - /usr/bin/yarn
    npm: 6.4.1 - /usr/bin/npm
  Browsers:
    Chrome: 70.0.3538.77
    Firefox: Not Found
  npmPackages:
    react: ^16.8.6 => 16.8.6
    react-dom: ^16.8.6 => 16.8.6
    react-scripts: 3.0.1 => 3.0.1
  npmGlobalPackages:
    create-react-app: Not Found

Steps to Reproduce

git clone from https://github.com/goodwin64/jest-typescript-coverage-issue
cd jest-typescript-coverage-issue
yarn
yarn test --coverage

Expected Behavior

ER: Real coverage
Actual Behavior

AR: 0% everywhere

Reproducible Demo

https://github.com/goodwin64/jest-typescript-coverage-issue

I noticed the basic App generated by CRA supports coverage properly, but after I add some TS stuff (interfaces, types) it becomes broken.

Linked issue: https://github.com/facebook/create-react-app/issues/6888


Create a custom_data string with Terraform Ouputs

Overview
Currently, users have the ability to add custom_data to a Linux VM in two ways:

Passing a local path to a script.
Directly inserting code in the tfvars

This allows users to manually enter custom_data for these machines. But it does not allow users to dynamically build a string for the custom_data from Terraform outputs.
Our Use Case
In our use case, we need to set the following string as the custom_data, assuming a storage account, file share, and directory exist.:
storage-account=stname, access-key=some-secret, file-share=myfileshare, share-directory=testdirectory

Implementation
The implementation I propose is to use a locals block that contains a map called dynamic_custom_data. Here, any developer would be able to add their condition. The key would be used to reference their condition, and the value would contain the dynamic string created from Terraform outputs for each server.
Our Example
The example (and use case) of this PR is the following:
*
  dynamic_custom_data = {
    palo_alto_connection_string = {
      for item in var.settings.virtual_machine_settings:
        item.name => try(base64encode("storage-account=${var.storage_accounts[var.client_config.landingzone_key][item.palo_alto_connection_string.storage_account].name}, access-key=${var.storage_accounts[var.client_config.landingzone_key][item.palo_alto_connection_string.storage_account].primary_access_key}, file-share=${var.storage_accounts[var.client_config.landingzone_key][item.palo_alto_connection_string.storage_account].file_share[item.palo_alto_connection_string.file_share].name}, share-directory=${var.storage_accounts[var.client_config.landingzone_key][item.palo_alto_connection_string.storage_account].file_share[item.palo_alto_connection_string.file_share].file_share_directories[item.palo_alto_connection_string.file_share_directory].name}"), null)
    }
  }

custom_data defined by the user in .tfvars: custom_data: palo_alto_connection_string
A map called palo_alto_connection_string:

        palo_alto_connection_string = {
          storage_account = "sa1"
          file_share = "share1"
          file_share_directory = "dir1"

The following occurs:

The user sets the custom_data to a key found in dynamic_custom_data -- palo_alto_connection_string.
The user sets all the attributes that will be needed to construct the custom_data object within dynamic_custom_data.
a. palo_alto_connection_string = {...}
TF loops through each VM's settings and checks to see if custom_data exists.
If it exists, it checks to see if the custom_data value is a key in local.dynamic_custom_data. If it is, it will construct the value of custom_data using the map that has a key with the same value as custom_data. -- var.palo_alto_connection_string
If the key does not exist in dynamic_custom_data. It will attempt to search for a file by that name, or add the string as-is.

Future Use Cases
In the future, if anyone wanted to add a dynamic string, they have to do the following:

Add the condition to local.dynamic_custom_data
Reference the key in custom_data
Add any attributes needed in var.dynamic_custom_data[custom_data]

Questions
I understand this might be a lot to follow. Please let me know if you guys want to jump on a call to review.

@arnaudlh @LaurentLesle Can you provide your feedback on this? What are your thoughts?

@LaurentLesle - I created the following PR in relation to this: https://github.com/aztfmod/terraform-azurerm-caf/pull/684


use of internal package not allowed!

I run the two cmds on Ubuntu 16.04.3 LTS and go 1.10，but found this following errors:
go run example/main.go -www /var/www/
example/main.go:22:2: use of internal package not allowed
example/main.go:23:2: use of internal package not allowed
go run example/client/main.go https://clemente.io
example/client/main.go:12:2: use of internal package not allowed
example/client/main.go:13:2: use of internal package not allowed
please help me， thanks in advance！

Sounds like there's a problem with your GOPATH. Can you check that you correctly installed quic-go in your GOPATH?

I have a problem with the client when starting the client
go run client/main.go  https://localhost:6121
GET https://localhost:6121
Starting new connection to localhost ([::]:59957 -> <IP_ADDRESS>:6121), connectionID 1ea0096b23d63160, version gQUIC 39
Certificate validation failed: x509: certificate is valid for quic.clemente.io, not localhost
Closing session with error: ProofInvalid
panic: Get https://localhost:6121: ProofInvali
The Server IS RUNNING and the output after the client request is:
Serving new connection: 1ea0096b23d63160, version gQUIC 39 from <IP_ADDRESS>:59957
Closing session with error: ProofInvalid:

How can i test the server???
I want to test the local server
By the way, When i changed the request to https://quic.clemente.io the following ERROR occurred
GET https://quic.clemente.io
Starting new connection to quic.clemente.io ([::]:53814 -> <IP_ADDRESS>:443), connectionID ca06155e9ba394b4, version gQUIC 39
Received a Version Negotiation Packet. Supported Versions: [gQUIC 37 gQUIC 36 gQUIC 35]
Closing session with error: InvalidVersion
Connection ca06155e9ba394b4 closed.
panic: Get https://quic.clemente.io: InvalidVersion
goroutine 19 [running]:
main.main.func1(0xc420093350, 0xc4200a45a0, 0x7ffca6579188, 0x18)
/home/csu/eclipse-workspace/QUIC_GO/src/github.com/lucas-clemente/quic-go/example/client/main.go:49 +0x565
created by main.main
/home/csu/eclipse-workspace/QUIC_GO/src/github.com/lucas-clemente/quic-go/example/client/main.go:46 +0x6c5

Same as you would use a HTTPS server in Go. You will need to provide your own certificate.

Thanks a lot for your help..
Actually I'm new to Go.  Can you recommend some resources that can help me configuring the QUIC Server and Client.
Thanks again in advance

There's nothing special about configuring the QUIC server and client. Please first setup a HTTPS server and client and make sure that works. There are plenty of tutorials for that around on the internet. Once that works, switching to QUIC is trivial (refer to the example for the necessary code).


[Intel MKL] Fixing a bug in Elu Op

This PR fixes a bug in Elu op when fused with Convolution. It also updates the unit test by using different random generator to generate input with both negative and positive values. Previously the random input was only positive. So the bug was never caught.

Thank you @penpornk. I have fixed the merge conflicts.


Sparkoscope for Spark 2.2.0

Hi,
This is definitely not an issue, but more like an open question. I am wondering if there is any suggestion if I want to use Sparkoscope with the latest Spark 2.2.0?
Thanks!

It's on my TODO list :)
Hopefully next week should be updated to 2.2.0

I see. Thanks!
I was wondering if Sparkoscope can be deployed as a separate module for Spark.

Can you explain what do you mean "separate module for Spark"?
I have created sparkoscope-headless https://github.com/ibm-research-ireland/sparkoscope-headless
which just extracts the metrics and you can just add it to your spark distribution without having to use the patched version. You won't be able to plot the metrics (as the UI is not modified)

Something like that. I was thinking of a patch/module that can be applied on Spark to enable the metrics and UI, but I suppose that would be challenging since UI codes in different versions of Spark are probably different.

My plan is to provide Sparkoscope as a spark-package ( https://spark-packages.org ) that would probably solve the issue of different spark versions for the UI, but it needs some work as I haven't done it before.
In the meantime, will update this issue when I update sparkoscope to 2.2.0.


| ls: cannot access '/docker-entrypoint-initdb.d/': Operation not permitted

getting the below error in the latest postgres docker image.
| ls: cannot access '/docker-entrypoint-initdb.d/': Operation not permitted
after i pointed to older version its working fine.
My docker file as below.
ARG DB_BASE_IMAGE
FROM ${DB_BASE_IMAGE}

ADD initdb.sql /docker-entrypoint-initdb.d/

Duplicate of https://github.com/docker-library/postgres/issues/884#issuecomment-926855364

you'll need to update Docker, runc, and likely libseccomp on your host.

I was facing a similar exception with Docker version 18.09.1-ol, build e32a1bd. However, when I tried the same setup on the upgraded Docker version 20.10.9, build c2ea9bc on Red Hat Enterprise Linux Server 7.3 (Maipo) (CPE OS Name: cpe:/o:redhat:enterprise_linux:7.3:GA:server), the issue was resolved.


Dockerfiles for Notary images

Hi,
First of all, Thanks for awesome docker registry.
We are building harbor images on top of redhat base images and using them instead of photon images, we would like to use notary with our harbor registry. Would you be able to share the dockerfiles used to build notary on photon, so that we can use similar setup to build on redhat?

I need to check, but I recall we just referenced the official image's dockerfile, you can find it on docker hub, what we did is simply compile the code in another image and copy the compiled binary to base image.

Oh ok Thank you..I have one more question..I see we can bring up harbor with Clair or notary..Can we run harbor with both of them?

Yes,  but it's currently a WIP


Support external LiteLLM proxy

Enable the Docker (r2r service) to accept the OPENAI_BASE_URL variable from the environment.

:rocket:
This description was created by Ellipsis for commit bf90b4c1856ec1d75cb0577b5048e06935b922f4

Summary:
Added support for OPENAI_BASE_URL environment variable in compose.yaml to configure an external LiteLLM proxy.
Key points:

Added OPENAI_BASE_URL environment variable to services/r2r in compose.yaml
Allows setting a custom base URL for OpenAI API requests
Supports external LiteLLM proxy configuration

Generated with :heart: by ellipsis.dev

https://github.com/SciPhi-AI/R2R/issues/814

I believe the correct environment variable is OPENAI_API_BASE.
not OPENAI_BASE_URL.


Allow for Unleash to be used with Microsoft.FeatureManagement

Summary of pain point
I can not easily sync my feature flags to my on-premise software without implementing a local api for software to call. I already have a secured solution to sync the feature flags to local servers and don't want local solution to talk directly to unleash.
The solution I'd like
unleash client for dotnet includes the following:

A dotnet configuration provider for fetching feature flags from unleash including configurable refresh interval
All of the unleash policies are available as implementations of IFeatureFilter in Microsoft SDK
the Microsoft implementation of checking if a feature is enabled is used which provides the ability to enable controllers/action based on the state.
views can also directly have feature checking as per Microsoft implementation

Describe alternatives you've considered
Rolling out my own api which behaves like unleash
Additional context
Changed to Usage metric capture/transfer is not in scope. Perhaps another issue be created, to look at how standard usage metric export could be utilized.

Still believe that this has value

Following up on this & am considering working on a merge request for this.


Track memory usage when tracing the compiler.

This connects Tracy's memory usage profiling with IREE's compiler tracing. LLVM and MLIR allocate their own memory using a variety of methods/templates/classes, but most/all of them bottom out at operator new, which can be replaced by user-provided non-member functions defined anywhere in the program (see this reference, and yes - this is a large and dangerous hammer, but sanitizers and profilers aren't generally built to be composed with one another).
Sample trace screenshot (using #define IREE_TRACING_MODE 2 so IREE_TRACING_FEATURE_ALLOCATION_TRACKING is set, and the CMake options -DIREE_ENABLE_RUNTIME_TRACING=ON -DIREE_ENABLE_COMPILER_TRACING=ON):

Part of https://github.com/iree-org/iree/issues/11994

Have you tested the interaction if multiple sanitizers like ASAN and Tracy are enabled at the same time? It would be good to ensure the failure modes are intelligible (or at least if it doesn't link, its obvious why)?
Trying to avoid more phantom failures in IREE.

Good idea, will do. If it doesn't work, I can add a compile time check (#error) that only one is enabled. I can also add some info to https://github.com/iree-org/iree/blob/main/docs/developers/developing_iree/profiling_with_tracy.md#build-iree-binaries-with-tracy-instrumentation-clients


Support options like -j5.

I suggest to support parameter formats like -j5 to make the input look more GNU style.
I made some minor changes: if a short option is recognized and it requests a parameter, any characters after it are treated as the parameter of the option.

This change is

Can you write some tests?

Done.


feat(server): diagnostic consensus checksum

Inspired by the discussion during last Deep Dive, about verifing determinism of consensus between peers and shuting down when incosistency was detected, it occured to me that we could get 90% there by simply tracking a rolling checksum of what happened and displaying it as diagnostics that guardians could sometimes simply compare.
So here is an initial implementation.
The checksum is maintained separately over txes and each of the modules, so in case total checksum does not match it's possible to compare each module specific one and hopefully figure out which module is to blame.
The whole thing is purely diagnostic, though in the future we could expose it in the Admin UI somehow.
No attempt is made to synchronize/correct the checksum between peers. It seems perfectly fine that Federations that were created before this was introduced will simply have a potential mismatched.

@joschisan Does this pass a smell test?
Is there any other data that we could throw into the checksumming to make it more robust? E.g. item_number or session_idx?

Thought: currently the whole txid of an accepted tx is thrown it, but that does not keep any per-module accounting in case a tx id rejected.
We could keep track of tx in some more granular fashion (per-input/output) but the question is what exactly is the best way to do it? Another field that for tx that returned an error hashes-in  module_id of a corresponding input or output? This way it would relatively rarely need to do anything (low overhead). But then ... we don't commit anything on error, so hash changes wouldn't get committed either, and changing that feels like messing with the core logic way too much.

Currently the system already implicitly creates a checksum for every session in form of the header of a session outcome which is the Merkle root of all consensus items accepted within a session. At the end of a session this is checked by the peers as they start to collect each others signatures for the header, which implicitly verifies the signed messages are identical. Now if a consensus item is falsely accepted or rejected by a peer the Merkle root at the end of the session will differ. If there is still a sufficient number of correct peers they will finish the session and move on while the incorrect peer(s) would recognise they disagree with consensus and panic. If however, no threshold of peers agree on the header the system just hangs, continuously logging the warning "Received invalid signature from peer" which could me more informative here and should probably be an error.
So if I understand this pr correctly, if your final xor checksum behaves similar to the header and if it were to diverge peers would panic or the federations just hangs at the end of the session, however, we could determine which modules module consensus item caused the failure or if peers disagreed on a transaction.
Right now, if the header diverges, you can read all accepted consensus items for the pending session out of the db, manually or via an endpoint, which would allow you to actually obtain the item(s) of disagreement.

So if I understand this pr correctly, if your final xor checksum behaves similar to the header and if it were to diverge peers would panic or the federations just hangs at the end of the session, however, we could determine which modules module consensus item caused the failure or if peers disagreed on a transaction.

Oh, I wasn't aware of the checksum at the end of session. That's good to know.
In that case the biggest (only?) benefit of this PR, is that it could indeed possibly narrow it all down to a specific module by guardians just comparing checksums.

Rebased, I've split the tx into separate hashes for inputs and outputs for each module_id.
@joschisan @elsirion
Now the question is, is it worth the trouble on top of the existing check. I weakly think it doesn't cost much and could be helpful to debug any determinism bugs that are cough in the wild, especially in 3rd party modules. But I might be biased because I invested the time to write this code already. :D

When I was originally thinking about this problem in #4903 the initial idea was to hash the DB state of modules since that could easily diverge without leading to a consensus failure for a long time. I also mentioned the tx history, not remembering the signing at the end of sessions, but given that after each session we check consistency that's less of a concern.
For debuggability https://github.com/fedimint/fedimint/pull/5386 (maybe with a few improvements) seems more pragmatic.
One thing your PR made me realize though is that we could have an API that maps the last 1000 or so item indices to their respective consensus hashes, so we could notice divergence even before the end of a session (accepting false negatives when a peer is too far behind and doesn't have the hashes cached anymore, we can't keep them forever imo).

DB state of modules since that could easily diverge without leading to a consensus failure for a long time.

I was thinking about it, but it would rather heavy thing to track, and is a the wrong level of abstraction: Ultimately there is no obligation by any module to have exactly same state - e.g. meta module keeps different details about desired vote by the guardian. And different versions etc. could indefinitely use a slightly different state and yet still give same consensus results. S the acceptance or not of CIs and Txes sems like the correct place to verify determinism.
The fact that they can diverge without consensus failure isn't a big deal IMO. The consensus failure is when the peers gets a different result, and that's kind of what matters.

For debuggability https://github.com/fedimint/fedimint/pull/5386 (maybe with a few improvements) seems more pragmatic.

That might be true.

For debuggability #5386 (maybe with a few improvements) seems more pragmatic.

That might be true.

Hmmm... After looking at it for another moment...
I don't see a way to make it able to point easily to affected citem and/or modules that participated in it. You need to do some post-processing / use external tools to figure out which citem was the extra/missing one. The nice property of the current PR is that you can glance at the checksums and immediately tell. And being able to tell which module is possibly buggy is the most important thing, as the citem itself is highly likely innocent.
So I don't see these two PRs as alternatives, but rather complementary. Session verification might stop the peer, then guardians can verify logs to narrow down the suspects. Only then, if the problem is not already known/fixed, affects modules that someone cares about debugging etc. someone can fire up some tooling and/or collect database dumps to invest time in debugging it.

Regarding your concern about not being able to tell the module that rejected a transaction which another guardian accepted: that should be super rare during normal operation, we could log validation errors when they happen for transactions that came from consensus.

Abandoning.


Add Communication Service for the Deaf

Please review our Contribution Guidelines to ensure your changes abides by it.
Review your changes and complete the checklist below.

[x] Company name
[x] Company description
[ ] Company location

CSD recently went fully-virtualized.  We have a legal address somewhere, but we don't really have a office location in the US anymore - we closed our office in Austin, TX.  Can I leave it as just United States in the description?

[x] GitHub link
[x] How Elixir is used
[x] Sorted alphabetically

Wonderful!  Thank you @KronicDeth 👍


Fix the order of layers in ReflectionPlanar example to render MiniStats last

fixes the issue mentioned here: https://github.com/playcanvas/engine/pull/5631#issuecomment-1722456861

Works like a charm:


ISPN-14982 State transfer never completes

https://issues.redhat.com/browse/ISPN-14982
Note for the reviewer, the StateConsumerTest was refactored to extract common code to static methods. The method test2 replicates the issue.

StateConsumerTest is failing

Changed assert to eventually due to the async nature of StateConsumer :crossed_fingers:

Thanks @pruivo


[tool_crash] FileSystemException: Cannot open file, path = 'C:\Users\admin\AppData\Local\Temp\flutter_gradle_wrapper.79eba4ea-497d-11ea-8935-fcaa141ecdaa\gradle\wrapper\gradle-wrapper.jar' (OS Error: Access is denied., errno = 5)

Command
flutter --no-color precache

Logs
FileSystemException: FileSystemException: Cannot open file, path = 'C:\Users\admin\AppData\Local\Temp\flutter_gradle_wrapper.79eba4ea-497d-11ea-8935-fcaa141ecdaa\gradle\wrapper\gradle-wrapper.jar' (OS Error: Access is denied.
, errno = 5)

#0      _File.throwIfError (dart:io/file_impl.dart:645:7)
#1      _File.openSync (dart:io/file_impl.dart:489:5)
#2      _File.writeAsBytesSync (dart:io/file_impl.dart:614:31)
#3      ForwardingFile.writeAsBytesSync (package:file/src/forwarding/forwarding_file.dart:131:16)
#4      copyDirectorySync (package:flutter_tools/src/base/file_system.dart:52:15)
#5      copyDirectorySync (package:flutter_tools/src/base/file_system.dart:55:7)
#6      copyDirectorySync (package:flutter_tools/src/base/file_system.dart:55:7)
#7      GradleUtils.injectGradleWrapperIfNeeded (package:flutter_tools/src/android/gradle_utils.dart:101:5)
#8      AndroidMavenArtifacts.update (package:flutter_tools/src/cache.dart:906:17)
#9      Cache.updateAll (package:flutter_tools/src/cache.dart:390:24)
#10     PrecacheCommand.runCommand (package:flutter_tools/src/commands/precache.dart:87:27)
#11     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:625:18)
<asynchronous suspension>
#12     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:521:33)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#14     _rootRun (dart:async/zone.dart:1126:13)
#15     _CustomZone.run (dart:async/zone.dart:1023:19)
#16     _runZoned (dart:async/zone.dart:1518:10)
#17     runZoned (dart:async/zone.dart:1465:12)

[✓] Flutter (Channel unknown, v1.13.9, on Microsoft Windows [Version 6.1.7601], locale en-US)
    • Flutter version 1.13.9 at C:\SDK\FlutterSDK\flutter
    • Framework revision d291de086c (4 weeks ago), 2020-01-09 10:25:58 -0800
    • Engine revision f001ea29f1
    • Dart version 2.8.0 (build 2.8.0-dev.0.0 c0ca187f26)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\SDK\Android_SDK
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = C:\SDK\Android_SDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[✓] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[✓] VS Code (version 1.41.1)
    • VS Code at C:\Users\admin\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.8.0

[✓] Connected device (2 available)
    • Chrome     • chrome     • web-javascript • Google Chrome 79.0.3945.130
    • Web Server • web-server • web-javascript • Flutter Tools

• No issues found!

Flutter Application Metadata
No pubspec in working directory.

Hi @GAM3RG33K
I see there's an open issue addressing the case you described.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you


Implement gibberish number formatting

To test localized number formats, the spec for the gibberish locale says it should
use ampersands as thousands separators and commas as decimal separators.
Implement a number formatter that uses those characters. Register it with Java's
localization system so call sites don't have to special-case the gibberish locale;
they can just call NumberFormat as usual.
Unfortunately, this requires adding a command-line argument to set a system
property when launching the server. Add it to the command line in the Docker image
and to the generateOpenApiDocs configuration, and add a check at start time to
tell people to include it in dev environments.

Current dependencies on/for this PR:

main

PR #919   👈

This comment was auto-generated by Graphite.


Move agile documents to one folder

It would be nice if all of these folders would go in an agile folder

backlog management
retrospectives
scrum-of-scrums
sprint-planning
stand-ups

And maybe instead of individual folders with readmes, they could just as well be documents such as stand-ups.md
Remember to also update any links from other documents

There was already an existing issue on this - closing


Left/Right Option?

Would love to see a left/right option in regards to the positioning of the fancyIndex navigation.

Hey stackmaniac,
currently the position is CSS-based. Nevertheless a nice idea I will realize soon. Thanks!


Subreddit

I was wondering if I should make A subreddit for livecodelab if there isn't one already, and this would be a good way to share codes as one person could place an image, and then paste in the codeto accompany it.

sounds like a great idea, we got a couple of mentions but I don't think there is a subreddit yet.
I'm just a reader of reddit, I'm not "in the circle" so to speak, so please go ahead (and then share link!) if you are "in the know".
Cheers!

Ok I'm not exactly known but still being in school allows me to point some people to the subreddit and/or the website themselves

closing this as nobody seems to have the time or inclination currently.


Implement bevy's new render.

Things that have to happen(in order):

[x] 1. Update bevy to the pipelined-rendering branch
[x] 2. Rewrite pipeline code for new renderer. Look into using specialized stuff that bevy added for customization.
[x] 3. Rewrite shaders in WGSL. Preferably using some simple include functionality with string merging. This will have to be custom until bevy supports it out of the box. I think it would be straight forward enough to load in multiple shader files and then do string replacements on some key values like: {uv_calculations} or something similar.

Work is done here: #113


Avoid panicking for missing fields in HPA

What does this PR do?
Bug reported by a user to the support team.
Because the metricsSelector field and the External metrics field are actually optionnal, this is a legit manifest:
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  name: redis-autoscaling
spec:
  minReplicas: 1
  maxReplicas: 3
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: redis
  metrics:
  - type: External
    external:
      metricName: aws.ses.max_24_hour_send
      metricSelector:
      targetAverageValue: 500

The external field is also optional according to the code, but the manifest does not seem to be parsed if we remove it.
Regardless, let's make sure we do not try to access nil pointers.
Motivation
Fix.
Additional Notes
The issue arises if one does not specify labels in the metricsSelector, this field is required for the query to be processed.
example:
  - type: External
    external:
      metricName: aws.ses.max_24_hour_send
      metricSelector:
        matchLabels:
            region: eu-west-1
      targetAverageValue: 500

Codecov Report

Merging #2666 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2666      +/-   ##
==========================================
+ Coverage   56.61%   56.63%   +0.01%
==========================================
  Files         379      379
  Lines       24049    24052       +3
==========================================
+ Hits        13616    13622       +6
+ Misses       9514     9512       -2
+ Partials      919      918       -1

Impacted Files
Coverage Δ

pkg/util/kubernetes/hpa/hpa.go
100% <100%> (ø)
:arrow_up:

pkg/forwarder/transaction.go
85.47% <0%> (+2.56%)
:arrow_up:

Tested the fix worked with the image: datadog/cluster-agent-dev:charlyf-hpa-labels


refactor: update fetch import for node v21+ compatibility

Description

Use global fetch first, fallback to cross-fetch if needed
Addresses deprecation warnings due to unresolved issues in cross-fetch, node-fetch, and whatwg-url libraries
Ensures compatibility with environments running node.js v21+ where punycode module is deprecated

Related Issue
I've been following those issues on node-fetch https://github.com/node-fetch/node-fetch/pull/1793
And on cross-fetch https://github.com/lquixada/cross-fetch/issues/177
Both seems stale, so I hope that we can fix quicktype-core in the meantime. I've used the solution recommended into the cross-fetch issue toward conditional import and using native node fetch if available.
Motivation and Context
We're using quicktype-core in some of our tools, one of them being a cli tool, every-time a command is ran the deprecation coming from quicktype-code cross-fetch dependency shows up on node >=v21.
Previous Behaviour / Output
(node:6629) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

New Behaviour / Output
No warning output.
How Has This Been Tested?

Build and pack the quicktype-core package locally with the change
Change my project quicktype-core dependency to point to the local builded package tgz and install
Used FetchingJSONSchemaStore in node scripts to trigger the fetch behaviour with node versions 16.20.1, 18.20.2 and 21.7.3
Build my project cli tool, and run it over with node versions v16.20.2, v18.20.2, v21.7.3 expected behaviour occurs and the warning is gone.

Screenshots (if appropriate):

Thank you! Warnings be gone!


Tilde should be relative to package

Let's say I have a project called child.  In child, I load a url like this:
// filename: child.less
background-image: url('~/images/guy-fieri.jpeg');

Let's say I also have another project called parent, which lists child as a dependency.  Inside a less file in parent I load child's styles like:
// filename: parent.less
import "~child/child.less"

Webpack sees the url import and tries to look it up as:
parent/images/guy-fieri.jpeg

Instead of how I would expect:
parent/node_modules/child/images/guy-fieri.jpeg

Of course, I could change the import inside child to be url('~child/images/guy-fieri'), but then child cannot resolve that file itself -- it can only be resolved from outside.  This makes it very difficult to have one project depend upon the styles of another.
If I'm wrong that this behavior is expected, any other solutions to my issue are welcomed.

Webpack sees the url import and tries to look it up as:

No, that's not correct. Webpack treats paths starting with a ~[a-z] as module directory, which means that it is resolved like node_modules in node. However, if you import something from ~/[a-z], webpack will look into your home folder (on Linux/macOS).
Inside the child project, there is no need to import something from ~ since you should always use relative paths as long as you're inside the same project.
I guess, there's something wrong with your webpack resolve configuration. If you want to track down the problem, copy the files into an example project and start with a fresh webpack configuration. Don't add resolve options until you fully understand the impact.


chore(parser): add spec-compliant GraphQL Error struct

Currently we offer no way of deriving a spec-compliant GraphQL error from i.e. a parsing error. This adds that functionality, currently it does not yet include path as that is impossible during parse time.
Currently this can be used by doing
Error::into_graphql_error(source, document_errors)

Some questions

do we keep the format-errors feature around and add a graphql-errors feature?
do we implement some serialize/deserialize traits form serde for this?

It does seem so that in the GraphQL.JS reference implementation we talk about a SyntaxError here. As we are in the parser I assume it would be safe for us to also brand this as syntax-error rather than graphql-error?

Validation errors are actual GraphQL Errors as they do contain path. I think they moved to SyntaxError when they made path a required parameter. In the GraphQL process this should only occur on parsed documents so I think we are good to make the distinction there.


Fixing the data loss issue in OBS

The content of the OBS used to be in a single line, now we have added a multi-line reading option if the content has multiple lines.

Updated the script to avoid unwanted lines after the footer in the OBS md files.

Fixed #747


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
0809302 -> d37f07b

github.com/gruntwork-io/terratest
require
minor
v0.43.13 -> v0.45.0

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
minor
v1.21.10 -> v1.23.0

Release Notes

gruntwork-io/terratest (github.com/gruntwork-io/terratest)
v0.45.0
Compare Source
Description

Removed Go patch version from go.mod

Related links

https://github.com/gruntwork-io/terratest/pull/1351

v0.44.1
Compare Source
Description

Updated AMI module to support Ubuntu 20.04 and 22.04.

Related links

https://github.com/gruntwork-io/terratest/pull/1350

v0.44.0
Compare Source
Description

Updated minimal Go version to 1.21

Related links

https://github.com/gruntwork-io/terratest/pull/1339

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.23.0
Compare Source
Features

added json comparison functions (#593) (1781c81)

v1.22.0
Compare Source
Features

cbr cleanup (#658) (7721cbe)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


add ability to close windows

the close button is working now, big yay!

nice
On Wed, May 15, 2019 at 1:40 PM Horus125<EMAIL_ADDRESS>wrote:

the close button is working now, big yay!
You can view, comment on, or merge this pull request online at:
https://github.com/dahlia-os/pangolin-desktop/pull/14
Commit Summary

fix windows close button

File Changes

M lib/window/model.dart
https://github.com/dahlia-os/pangolin-desktop/pull/14/files#diff-0
(5)
M lib/window/window.dart
https://github.com/dahlia-os/pangolin-desktop/pull/14/files#diff-1
(12)
M lib/window_space.dart
https://github.com/dahlia-os/pangolin-desktop/pull/14/files#diff-2
(1)

Patch Links:

https://github.com/dahlia-os/pangolin-desktop/pull/14.patch
https://github.com/dahlia-os/pangolin-desktop/pull/14.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dahlia-os/pangolin-desktop/pull/14?email_source=notifications&email_token=AEOTEHFQDOHNKXDJJG7BF2TPVRYKLA5CNFSM4HNGZPQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUAS6UQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEOTEHCZVCX4YC4NE4EFESDPVRYKLANCNFSM4HNGZPQA
.


Added cool effects

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Stupremee sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


question: what's the relationship between this project and Azure/draft-classic

what's the relationship between this project and https://github.com/Azure/draft-classic ?

@qpetraroia for viz

draft-classic is the original draft project that was moved to an archived repo (last commit was Feb 2020).   Due to the volume of changes and the different team members we decided to keep that well loved project for historical reasons and have this as a new start


ENH: Use sympy.Interval?

Having spent the better part of today trying to use this with timestamp Intervals, I gave up due to type fragility -- not just with this library but also pandas which provides datetime class timestamps with read_csv which it refuses to accept in calls to create Intervals. But then I ran into problems with this library being unable to handle certain arguments to closed for certain calls.
What may work better as an implementation than the approach you've taken would be to wrap the sympy.Interval class, converting to 64bit integer internally but keeping around the originating class.  Although this is slower (probably) the ostensible purpose of this library is a stop-gap anyway.

Hi James, thanks for the feedback and idea.  You're right in that this library is a "stop-gap" until pandas implements the functionality, and I assume they'll take a completely different approach using Interval Trees.  This project was started as there was some "low hanging fruit" that could be achieved provided certain assumptions were satisfied, which they seem to be for most use cases.
Are you able to expand on the problems you ran into with pandas?


how to export to musicXML?

@lingxinc This tool is unfortunately still under development and still not able to export to MusicXML currently.

I plan on making it fully functional by mid-january ;)

thanks


[network] Improve initialization via NetworkBuilder

The NetworkBuilder module has seen significant change over time which give it a "batteries included, but optional" nature, since modules such as Discovery and HealthChecker are only added if needed. However, there's still room for some simplifications:

arguments (such as trusted_peers) that are specific to discovery module should be initialized in the add_discovery function rather than separately, which leaves room for bugs.
Similarly, arguments for health_checker (ping_interval_ms and ping_timeout_ms) should be sent in add_connection_monitoring.

Before jumping into there, we should consider merging NetworkBuilder and NetworkConfig, since the two are basically the same thing.

Agreed, the NetworkBuilder seems to have too many states, refactoring the code into a more functional style probably be better.

Hi @davidiw and @phlip9, I've created a PR #3881 for this issue to refactor the NetworkBuilder. It turns out we need a structure to store the various network senders, and it feels a little weird to put them into the NetworkConfig, so I created another struct called NodeNetwork to store them, so now we have these two structures, where the first one is the configs responsible to set up the network, while the second one is sort of the result of setting up the network...
Please let me know what you think, and we can refactor this further.


Add Polygon Selector Support

This pull request adds support for a PolygonSelector, enabling annotation of polygons by adding points to the image. The pull request includes an example of the PolygonSelector in action on the demos page, as well as karma tests of the new selector functionality.

This is great!
Unfortunately it looks like the PR points to a master branch with commits unrelated to it. If the commits can be isolated I can review and merge

This polygon selector looks amazing. Can this be merged now into the react-image-annotation project? Thanks

I'd also very much like the polygon selector to be merged.  Thanks for your work leopoldjoy and secretmapper.

@leopoldjoy, I would like to use this feature in a project. Is is possible to somehow? Tried installing it directly from your fork but seems it needs to be built. Grateful for any advice.

@leopoldjoy, I would like to use this feature in a project. Is this possible somehow? Tried installing it directly from your fork but seems it needs to be built. Grateful for any advice.

You able to get this working?

@leopoldjoy, I would like to use this feature in a project. Is this possible somehow? Tried installing it directly from your fork but seems it needs to be built. Grateful for any advice.

You able to get this working?

Afraid I did not

@leopoldjoy, I would like to use this feature in a project. Is this possible somehow? Tried installing it directly from your fork but seems it needs to be built. Grateful for any advice.

You able to get this working?

Afraid I did not

Hello!
I managed to use this fork in my project. I followed the steps from this post: https://stackoverflow.com/questions/55560791/build-and-use-npm-package-locally.
But I made two modifications. First i updated nwb to the version 0.25.2 and second i changed the build script to nwb build-react-component --copy-files.
The only problem that i have is the build version doesn't use the style in components/Poygon/index.css.
I hope this help!


Use superjson to stringify and parse data between server and client

Fixes #656
This implements the Blitz.js superjson library to serialize and parse values.
This way if a loader or action returns undefined, BigInt, Date, RegExp, Set, Map or Error objects the useLoaderData will receive the instance of those objects instead of a string or on error because JSON.stringify can't serialize them.

This seems pretty sweet. Would be a breaking change so we'd probably want to start with a config option to enable this. Probably would want it to be unstable.
Even before that, a remix-superjson lib would be good for folks to try it out in real apps.
In any case, I can't say that we're going to merge this, but those are just a few of my thoughts.

Let's open a discussion for this. I think I like it?

Let's open a discussion for this. I think I like it?

There’s an issue here https://github.com/remix-run/remix/issues/656, maybe convert it to discussion?


hobbes: fix build error

Motivation for this change
ZHF: #122042
cc @NixOS/nixos-release-managers
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 123944 at a156f033 run on x86_64-linux 1

1 package built successfully:

hobbes

1 suggestion:

warning: name-and-version
Did you mean to pass pname instead of name to mkDerivation?
Near pkgs/development/tools/hobbes/default.nix:4:3:
  |
4 |   name = "hobbes";
  |   ^

Near pkgs/development/tools/hobbes/default.nix:5:3:
  |
5 |   version = "unstable-2020-05-19";
  |   ^


double amount of metrics when using federation endpoint with two replicas

I try to scrape from federation endpoint, which resides inside an openshift cluster. The openshift-prometheus-instance has two replicas. I am getting double amount of metrics, labeled with "prometheus_replica=replica_0"  and "prometheus_replica=replica_1".
I would be great, if I could filter the replicas in my scrape-config.

job_name: prometheus_openshift_prod
honor_labels: true
metrics_path: '/federate'
params:
'match[]':
- '{job="kube-state-metrics"}'
- '{job="kubelet"}'
- '{job="kube-controllers"}'
- '{job="apiserver"}'
- '{job="node-exporter"}'
- '{job="kubernetes-apiservers"}'
- '{name=~"job:.*"}'

I use Version 2.15.0
The problem is also described here:
https://github.com/openshift/telemeter/issues/151

It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


Should have been:
{
expand: true,
cwd: '.tmp/images/',
src: ['**/.'],
dest: 'dist/_debug/images'
}, {
expand: true,
cwd: 'app/images/',
src: ['**/.*'],
dest: 'dist/_debug/images'
}
instead of
{
expand: true,
cwd: '.tmp/images/',
src: ['/*.js'],
dest: 'dist/_debug/images'
}, {
expand: true,
cwd: 'app/images/',
src: ['/*.js'],
dest: 'dist/_debug/images'
}

fixed


Update SPIKEdistance.jl @inbounds macro

This minor change is accepted by existing inbuilt tests.
See for example:
julia> using Pkg
julia> Pkg.test("SpikeSynchrony")
     Testing SpikeSynchrony
      Status `/tmp/jl_XPbJZL/Project.toml`
  [3713708d] SpikeSynchrony v0.1.0
  [8dfed614] Test `@stdlib/Test`
      Status `/tmp/jl_XPbJZL/Manifest.toml`
  [3713708d] SpikeSynchrony v0.1.0
  [2a0f44e3] Base64 `@stdlib/Base64`
  [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
  [56ddb016] Logging `@stdlib/Logging`
  [d6f4376e] Markdown `@stdlib/Markdown`
  [9a3f8284] Random `@stdlib/Random`
  [9e88b42a] Serialization `@stdlib/Serialization`
  [8dfed614] Test `@stdlib/Test`
     Testing Running tests...
Test Summary:  | Pass  Total
SPIKE distance |    9      9
┌ Warning: Assignment to `g` in soft scope is ambiguous because a global variable by the same name exists: `g` will be treated as a new local. Disambiguate by using `local g` to suppress this warning or `global g` to assign to the existing global variable.
└ @ ~/.julia/packages/SpikeSynchrony/8AiHX/test/vanRossum_tests.jl:24
Test Summary: | Pass  Total
vanRossum     |   40     40
     Testing SpikeSynchrony tests passed

Perhaps this PR merge should be reverted? @Datseris?
I think the last CI build was done on 11 Sep 2019, I don't think I changed ci/config.yml, so I wonder if the build failure is just caused by age alone.


Fix db_task_import with python 3

Fix #919

Thanks. Will merge once tests pass. (or let me know if this is urgent)
Why was this not detected by any of the tests?

@Tarrasch I think those lines are simply not cover, but coveralls is currently unavailable. We have tests for db_task_history but not for the 2 lines that import this module.

Ah I see :)

Enough tests pass for me, merging. :)
By the way @gpoulin, you have no clue about this guy do you?
======================================================================
ERROR: test_task_first_failure_time (rpc_test.RPCTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/spotify/luigi/.tox/py26-nonhdfs/lib/python2.6/site-packages/tornado/testing.py", line 120, in __call__
result = self.orig_method(*args, **kwargs)
File "/home/travis/build/spotify/luigi/test/central_planner_test.py", line 705, in test_task_first_failure_time
test_task = self.sch._state.get_task('A')
AttributeError: 'RemoteScheduler' object has no attribute '_state'
-------------------- >> begin captured logging << --------------------
tornado.access: INFO: 200 POST /api/add_task (<IP_ADDRESS>) 0.89ms
--------------------- >> end captured logging << ---------------------

@Tarrasch see my comment in #916.


PyYAML-5.4 deprecation error

I'm getting the following when running pip install -r requirements.txt:
Collecting pyyaml==5.4 (from -r requirements.txt (line 13))
  Using cached PyYAML-5.4.tar.gz (174 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [68 lines of output]
      /tmp/pip-build-env-e9w00lbk/overlay/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
      !!

              ********************************************************************************
              The license_file parameter is deprecated, use license_files instead.

              By 2023-Oct-30, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.

              See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
              ********************************************************************************

      !!

This is related to https://github.com/yaml/pyyaml/issues/724

FYI, it works after changing pyyaml to version 5.3.1 in requirements.txt:
pyyaml==5.3.1

See https://github.com/yaml/pyyaml/issues/724#issuecomment-1638587228.

FYI, it works after changing pyyaml to version 5.3.1 in requirements.txt:
pyyaml==5.3.1

See yaml/pyyaml#724 (comment).

When I try this it breaks earlier than keeping it as 5.4. Gives me this:
`Collecting pyyaml==5.3.1 (from -r requirements.txt (line 13))
Using cached PyYAML-5.3.1.tar.gz (269 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1`


/home/wumao/opencompass-main/opencompass/summarizers/needlebench.py 的sizes是不是少了一个128k  [Bug] [Feature]

Describe the feature
导致报错：
Traceback (most recent call last):
File "/home/wumao/opencompass-main/run.py", line 4, in
main()
File "/home/wumao/opencompass-main/opencompass/cli/main.py", line 354, in main
summarizer.summarize(time_str=cfg_time_str)
File "/home/wumao/opencompass-main/opencompass/summarizers/needlebench.py", line 540, in summarize
save_results_to_plots(output_path)
File "/home/wumao/opencompass-main/opencompass/summarizers/needlebench.py", line 215, in save_results_to_plots
folder_path = os.path.join(plot_path, dataset_mapping_dict[dataset_abbr])
KeyError: '2needle_en_128k'
Will you implement it?

[X] I would like to implement this feature and create a PR!

Thank you for your careful attention to this matter! I have updated the code accordingly in #1143.


Capital letter masking definiton

I propose to add another making represented by 'A' to allow typing only capitalized letters.

I haven't realized i can make my own definitions. :100:


RSpec::OpenAPI.server_urls -> RSpec::OpenAPI.servers (hash)

I want to be able to set description in addition to url in the information of OpenAPI Server.
https://github.com/k0kubun/rspec-openapi/blob/cb634d0b534339d60d2e18c1bfc9b31ef9be6bb8/lib/rspec/openapi/default_schema.rb#L9
refs
Openapi documentation
https://oai.github.io/Documentation/specification-servers.html

@AS-AlStar Any comments? If you're okay with that change, I'm okay with accepting this change too. But I don't want to maintain server_urls and servers at the same time, so I'd expect the change to remove https://github.com/k0kubun/rspec-openapi/pull/30 written by you.

Ok, I'm accept with that changes.

Thank you!
@tashua314 Could you check if this is what you want? https://github.com/k0kubun/rspec-openapi/pull/61

@k0kubun
Thank you for the fix!
Is it unnecessary to display a message that requires support for those who are using server_urls?
Personally it's perfect!

As it's changing the interface, existing users would see an error message when they upgrade it, and I'm going to imply the breaking change by bumping the minor version under v0.

merged https://github.com/k0kubun/rspec-openapi/pull/61


Forgot Username / Password Support

Workflow

NOTE: The entire workflow should be completed outside of an authenticated session. Do not allow the user to ever be authenticated during this process because that would give them access to probe the API and other areas of the server! Once the password reset process is complete, then force the user to authenticate with their new credentials.

User clicks "Login" on a client app

Passes the "client_id", "client requested grants", and "redirect_url" to the API /oauth/authorize endpoint
API server displays a Login page asking for Username & password using the existing OAuth2 process.

User forgets their username / password and clicks "Forgot Password" link underneath the Password input.

The client parameters stored in the session need to somehow be preserved so that when the password is reset, the user can be redirected to the login page and resume the process of authenticating using OAuth2

API Server displays a simple forgot password page with a "username" and "mobile phone number" input field

Must enter the username associated with the account
Must enter one of the registered mobile phone numbers associated with the account
Phone number must have a country code + phone number formatted to the country selected. Must be parsable to a E.164 phone number.
A "Cancel" button is displayed that will redirect the user back to the login page (preserving their original client parameters sent in on the /oauth/authorize request).

User clicks "Submit" with a username and mobile phone number

API server writes an ActionLog to the database with the "Reset Password Request" action log and the "username" in a discrete field (new column)
Query ActionLog table for the given username within the past 20 minutes. If >= 5 Password Reset Request records, then return an error message

Error message should read something like "Too many password reset attempts. Password reset is locked for 20 minutes for the requested username.".
Do not include the username or phone number in the error message.

API Server queries the user database for a User with the given username and mobile phone (make sure the mobilePhone.isDeleted=false)

If a User is found, then store the User.id within the HTTP Session for reference within the User Verification process.

API Server initiates a verification code text message to the found user's mobile phone

Initiate the SMS text message send as an asynchronous background job
If there is any delay in the SMS delivery process, then an attacker will be able to tell when they have a match if they are guessing. The delay itself indicates that extra work is being done to send the SMS message.

Always returns a message "If the username and phone number are correct, then a verification code will be sent to your mobile phone". Even if the username and mobile phone do not match, always display this message.
Store the verification code on the mobile phone record with an expiration, just like the normal verification process

Do not use the normal User Verification servlet filter because that requires an authenticated user... the user is not authenticated at this point in the process, so reuse whichever parts of the User Verification process make the most sense.

API Server displays a Verification Code page with a single input for the code

A reference to the user.id should be stored in the HTTP session if a valid user was identified in the prior step.
Display this page even if a user was not found for the given username + mobile phone number on step 4.
Included in a page is a "Cancel" button that will take the user back to the Login page where they can try to reenter their password

Be sure to retain the original login request parameters so that the OAuth process will continue after a successful login.

User enters the verification code and clicks submit

Query ActionLog table for the given username within the past 20 minutes. If >= 5 "Reset Password: Verification Code Attempt" are found, then return an error message

Error message should read something like "Too many password reset attempts. Password reset is locked for 20 minutes for the requested username.".
Do not include the username or phone number in the error message.

The verification code + the user.id in the HTTP session are used to find a matching mobile phone associated with the user.id.
If a user.id is not in the HTTP session, then execute the User lookup anyway using a fictitious user.id of "0" (zero).

It's important NOT to give away to an attacker that we are executing a different process for nonexistent users.
By conducting the same workflow even tho we know the user doesn't exist, we are keeping the latency between calls almost exactly the same. Virtually unnoticeable if we are working with a valid user or not.

If a user phone is found for the given user.id, then render/internal redirect to the Security Questions page
If a user.id is not found in the HTTP Session or a user phone is not found that matches the verification code for the given user.id, then redirect the user back to the Verification Code entry page with an error stating "Incorrect verification code. You have 4 more attempts."

Insert an ActionLog record of "Reset Password: Verification Code Attempt" with the username in a discrete field.

Security Questionnaire page

Upon successful entry of the verification code, display the Security Questionnaire page
This page cannot be accessed directly via URL, but only accessible by internal redirect/render by the Verification Code step.
If no user is found within the session, then redirect to the login page with no error message
discrete field.
Verify that a User.id is loaded within the session

Lookup the user object if not already loaded

Check for a HTTP session attribute that states that all other steps in the process have been completed successfully for the given user (user.id, verification code, etc.)
Display all security questions associated with the user's profile (should be limited to 5)
Display "password" input boxes for each security question (NEVER have multiple choice), not to exceed 255 characters
Validate that each security question is answered before the page can be submitted

Submit Security Questions page

If no user is found within the session, then redirect to the login page with no error message
Compare each security question answer with the encoded value from User's security question answer table

Security question answers MUST be password encoded in the database

If any one question is wrong, then redisplay the Security Questionnaire page with a message stating that "One or more of the answers are incorrect. 4 attempts remaining"

A total of 5 attempts are allowed.
Keep track of attempts within the Session
Update the error message with a decremented count after each failed attempt
Make sure that the first time the user has the security questions display, that the count is reset to 0.

If the number of failed attempts == 5, then clear the HTTP session of the User and redirect the user to the
If all of the security question answers are correct, then internally redirect to the Password Reset page with an error message stating "Security question failed attempts exceeded the limit. Password reset has been disabled for 20 minutes"

Password reset page

Upon successful validation of the security question answers, display the password reset page
This page cannot be accessed directly via URL, but only accessible by internal redirect/render by the Security Questionnaire save/validation step.
Display a "Password" input field with an input type of "password"
Display a "Confirm Password" input field with an input type of "password"
Display a "Cancel" button that will redirect the user back to the Login page (preserving their original request parameters so that they can complete the OAuth login workflow)
Display a "Reset Password" button that will save the new password

Clicking this button will verify that the Password and Confirm Password match using javascript on the page
Clicking this button will POST the password to the save password server action

Reset password action

Check for a HTTP session attribute that states that all other steps in the process have been completed successfully for the given user (user.id, verification code, security questions, etc.)

If any of the attributes required to access this page are not found, then redirect to the login page with no error message

Verify/load the user from the user.id in the http session
Compare the given Password with the Confirm Password to ensure they match exactly.

If the passwords do not match, then redirect back to the "Reset Password Page" with an error message that the Password and Confirm Password do not match.
Allow the user to retry as many times as they require

Hash encode the Password field and save to the User record in the database
Redirect the user to the Login page with a success message of "Password reset successful."  (preserving the original client request parameters from the /oauth/authorize request)

CSRF Tokens on every page with a form

Every page must have CSRF tokens for the password reset and Login page functionality
Enabling Spring CSRF tokens might not work unless they can be limited to specific URL paths (and not for the web services /api).

Might need to create a custom CSRF token process for this workflow.

NOTE: Whenever we display a FORM, we need to include some sort of "token" in the session that allows the user to proceed to the next step in the reset password workflow. We must prevent an attacker from entering a valid username + phone and then simply posting the password reset FORM without going through the security questions. There should be some value in the HTTP session that notifies the next workflow step that the prior step was completed successfully.

NOTE: Make sure the ActionLog.username field has an index on it so that lookups on username are performant

References

Forgot Password Cheat Sheet
Choosing and Using Security Questions Cheat Sheet

@tmichalski  This is complete in the OAuth website (except the security question piece was never built). Thoughts on whether to either create a new issue for an API version / revisit to add the security questions piece? Most of this is done though.


Cannot open GUI for any application on WSL (Kali Linux)

Windows build number:
10.0.22000.1042
Your Distribution version:
2022.3
Your WSL versions:
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.42
MSRDC version: 1.2.3401
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22000.1042
Steps to reproduce:
Try to launch any application from terminal
WSL logs:
Versions.txt
cat /mnt/wslg/versions.txt
WSLg ( x86_64 ): 1.0.42+Branch.main.Sha.78fa15d6ffd8fad62343b194d39c142e57cc1869
Mariner: VERSION="2.0.20220426"
DirectX-Headers:
mesa:
pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5
FreeRDP: c574044a10003e50453acb4cf42801c5833fb572
weston: d57e0de202fd049f6cc0ce8c25b7120feea3468f

Display Variable
Note: This variable was set to blank and was manually created
echo $DISPLAY
:0

Socket File
Note: This link did not exist and was manually created using Error Guide
ls -la /tmp/.X11-unix
lrwxrwxrwx 1 david david 19 Sep 29 11:12 /tmp/.X11-unix -> /mnt/wslg/.X11-unix

Folder Content
Note: Error Guide says X0 should exist but my system shows X1
ls -la /tmp/.X11-unix/
total 0
drwxrwxrwx 2 root  root   80 Sep 29 11:13 .
drwxrwxrwt 7 root  root  280 Sep 29 11:08 ..
srwxrwxrwx 1 david david   0 Sep 29 11:08 X1
lrwxrwxrwx 1 david david  19 Sep 29 11:13 .X11-unix -> /mnt/wslg/.X11-unix

Log Files
weston.log
stderr.log
WSL dumps:
No response
Expected behavior:
GUI for the application should open
Actual behavior:
Launching Gedit
gedit

(gedit:106): Gtk-WARNING **: 11:14:28.643: cannot open display: :0

Launching Wireshark
wireshark
 ** (wireshark:159) 11:23:03.708119 [GUI WARNING] -- could not connect to display :0
 ** (wireshark:159) 11:23:03.708291 [GUI ERROR] -- This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

zsh: IOT instruction  wireshark

Cherrytree
cherrytree

(cherrytree:282): Gtk-WARNING **: 11:33:21.645: cannot open display: :0

Additional Note

Using WSL Preview (The one that can be downloaded from the Microsoft Store)
I do have Ubuntu and Docker installed on the system as well

wsl --list

Windows Subsystem for Linux Distributions:
Ubuntu (Default)
kali-linux
docker-desktop-data
docker-desktop

I could be wrong, but the fact that you have an X1 makes me believe you are experiencing the regression that happened in 0.66.2 described in #825.  According to this comment, the WSLg team believes that they have this fixed in WSL 0.67.6 and later (currently 0.68.2 is the latest).  This release is not currently available in the Store, but has to be manually downloaded from the WSL releases page.
Can you try updating and see if the problem persists or is resolved?

@NotTheDr01ds I updated to the current latest version (0.68.2) and it seems to have solved the problem. Thanks

@dvdmtw98 Great to hear!  When you get a chance, remember to close this one out.  Thanks!


ETL for Brooklyn Museum

[x] Generate prod. API keys
[x] Process backlog
~Integrate into the workflow~
[x] Test & Deploy

Identified 61503 CC licensed images.


No way to specify which framework to run

Create a new .net core console application
Edit the project file and add a 2nd framework. Say net461
Build project

When running the project there is no way to specify which output to run.

Same problem for unit tests also.

Is this somehow related to https://github.com/dotnet/roslyn-project-system/blob/master/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Debug/DebugProfileEnumValuesGenerator.cs#L69 and "launch settings"?
Do we have documentation at all on how to configure those launch settings or should the old JSON approach still work? https://docs.microsoft.com/en-us/aspnet/core/fundamentals/environments

Fixed with #1664


Updated XML documentation for HttpResponse.Body

@jchannon,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Thanks


Add Github actions to current-bench.

Basic template to build pipeline for now, will add commands to build rescript as well.

Closing because we'll use ocaml-ci instead! I'll try to figure out what to do for rescript in the meantime.


Package request: tree-sitter-typst

Project description

A tree-sitter parser for the typst file format
Metadata

homepage URL: https://github.com/SeniorMars/tree-sitter-typst
source URL: https://github.com/SeniorMars/tree-sitter-typst
license: apache 2

perhaps https://github.com/frozolotl/tree-sitter-typst should be used instead because it is more up to date

Since the PR was recently merged, I will close this issue. And if you are not satisfied with the outcome, then do re-open this issue!


Repo - Fix GitHub Actions workflow

Fix PadState is not a type error while running the GitHub Actions workflow

Similar issue fixed in Downloader. See EmreTech/Downloader#3.

GitHub Actions workflow was removed in the rewrite branch


fprime-util generate but has a error "Could not run 'arduino-cli' "

Excuse me, I follow the steps by tutorial to the steps of fprime-util generate after creating a new deployment.
However, I got some error saying "Could not run 'arduino-cli' please install 'arduino-cli' and board  'rp2040:rp2040:rpipicow'."
I am pretty sure that I installed arduino-cli and the core of rp2040 in fprime-venv.
Am I missing some path-adding steps or other important things?

From your screenshot, I see this:
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage

CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

Do you have a C/C++ compiler installed on your system? And also Make installed?
For example if you type these:
g++

make

Are these commands found?

Yes, they are all installed.

After searching other issues I found that in this link has the same situation just like me.
However, I don't understand the meaning of the solution of resetting the persistence layer and populating the Arduino workspace directory with the board packages.

@capsulecorplab What was your solution to this issue? Seems like you had a similar issue last year with your VM workspace setup.

@capsulecorplab What was your solution to this issue?

I had to use a specific commit from @StirlingPeet's arduino-cli wrapper to fix it in my virtual environment https://github.com/fprime-community/fprime-workspace-image/blob/main/playbook.yaml#L265. You could try doing the same or just pull and run the fprime-workspace-image since it's already configured to build the led blinker project

Hello Folks, progress was made on the arduino-cli-wrapper just days ago, I haven’t had the chance to add some tests and push it.  I’ll push the code that appears to be working and link a commit here in the next day or so.
@henrybb0826 are you able to compile an arduino sketch with the cli, and target the rpipocow board?  This would confirm that it is installed and that the next step is try my code that is not yet available.


[doc] Compress information for the search bar

Currently, the json file used for the search bar is sent uncompressed (11MB). We need to identify what's the really relevant information we want to send, and to compress it.

Important note here: because the hosting of the API docs is on AWS, it is being served actually uncompressed, because there's a hard default limit of 10MB to be considered for compression.
Otherwise, the server's gzip compression would make this not so bad.

An option can be to have several files, separating all information not needed for the search out of the index. For example, one per object namespace.
The index can have references to other files.

I'm unclear of the intended purpose of the index.json that the docs generator emits. It contains a lot of info that the search never needs and that the website never displays (which wouldn't matter since the HTML is pre-baked anyway). Is this perhaps a relic of the past or simply a dump of relevant info so if someone wanted to use the data for something, they could?
In the latter case, I guess it'd be possible to have two separate files, one for only things that the reference js search implementation needs and another for "verbose" info on the module, wherein the latter it doesn't that much if it's quite large.
Also, why is the JSONP thing needed?

The index.json was originally introduced in #4746 as a means to support the search feature, but also allow other tools to consume the API doc data in a machine readable way.
I think by now it's time to separate those two concerns. The search feature requires only a fraction of the data. Maybe we could even use some kind of pre-processing to serve a search index in an already optimized format, which allows for easy querying. That means we'd have to remodel the search feature, though.
The data export format could also be optimized and improved, see #6947 for that.

Also, why is the JSONP thing needed?

It's makes it possible to use the search feature when browsing the API docs as local files. There might be alternative solutions to that which we could consider now.

Thank you for the insight!
I'm too new to the crystal codebase to know if the topic of formalizing said API machine format is something that should be a part of an RFC or something, but I'll take the time to familiarize myself with the current structure (https://github.com/crystal-lang/crystal/pull/11438#issuecomment-967319310 is relevant here) and maybe isolate what is actually being used for search.
(Because what I've done so far is just identify the sources of nil without much further thought...)

Without going too in depth about trying to reduce or optimize the actual javascript search implementation, I've identified what exactly the search uses and managed to reduce the search-specific JSON file to 3.6MB, down from 12MB originally (and 9.2MB from #11438) with no change in functionality for search.
What remains lends itself well to compression due to the large chunks of text in doc and summary being similar (but one being markdown and the other being HTML; resolving this could be a separate issue), resulting in about half a megabyte as a .gz

I think it might be a good idea to close #11438 and not touch the index.json as to not break any tooling, and rather just make a new PR which adds the schema files and the separated search index?

As the owner of the only instance of such tooling that I know, I'm still interested in reducing the size of those files because my tool downloads them on the fly and needs more details than just the search index.

because the hosting of the API docs is on AWS, it is being served actually uncompressed, because there's a hard default limit of 10MB to be considered for compression

Hi there! I just found this issue, and wanted to refute this premise.
CloudFront won't itself compress files larger than 10MB, but it will happily serve them compressed if we upload them compressed already to S3 - and setting the relevant object metadata.
To double check this actually works, I've just gzip'ed the 1.12.2 (ie, current) index.json file, uploaded index.json.gz as index.json to the Crystal API S3 bucket (CloudFront's origin for the API docs) properly setting Content-Encoding=gzip and Content-Type=application/json - and you can check it's being served compressed over the wire here.
S3 tools usually support a way of setting this metadata upon upload. I'll check the current setup to see if I can add this change myself.
I don't think we should trim the index size just because of the file's size. I'd only prune it if there's irrelevant stuff coming up in search results, but don't think the index size should be the driver of that decision.

@matiasgarciaisaia Just FTR: I didn't disclaim that serving large assets compressed is possible. Just that it's not handled automatically once a file grows larger than 10 MB. Compression is especially useful for large files, so it's quite surprising that it suddenly stops working, when it did before while the index as smaller.

I don't think we should trim the index size just because of the file's size. I'd only prune it if there's irrelevant stuff coming up in search results, but don't think the index size should be the driver of that decision.

Of course we shouldn't sacrifice any functionality for the sake of reducing index size.
But the index.json contains quite a bit of information that's not necessary for the search feature. We could easily drop that and reduce the size considerably, even before compression (ref. https://github.com/crystal-lang/crystal/issues/11427#issuecomment-968313732). (Serving compressed is a good idea, regardless.)

A smaller file also means less memory and data to search on everyone's browser after decompress.

Given that the documentation will only keep growing, we should tackle this issue. It's already taking several seconds for the search input to become responsive.
I wrote a quick script based on @rymiel schemas to generate a smaller search.json:

index.json is 11MB (gzip: 1.1MB)
search.json is 4.0MB (gzip: 598KB)

The doc and summary fields are redundant; the later can even be regenerated from doc, so removing it reduces the uncompressed size, though it doesn't have much effect on the compressed size (obviously). I assume (maybe wrongly) that removing it wouldn't impact search results much:

search.json is 3.2MB (gzip: 524KB)

Removing doc has a larger impact, but I assume the search results would be impacted:

search.json is 2.6MB (gzip: 321KB)

Without doc, search would only consider the method signature, not the doc comment. But that's quite limited. doc is essential for full-text search and allows more fuzzy matching.

There'd still be summary for the most important keywords, but the global full-text search would be impacted, yes.


How can I run a sample without Docker?

All the samples seem to have Docker as a requirement. I know it's possible to run Dapr without heavy dependencies on edge etc., can you provide a simple example how to do this?

If you're run 1.hello-world example on Mac, then you're just need to install Redis on your machine to get the sample started smoothly. To install Redis, you just run:
brew install redis
then run
redis-server /usr/local/etc/redis.conf to start the redis server.
After that, you can run the example without Docker. But I'm highly recommend that you should use Docker & Kubernetes because it's where Dapr are serving its most value.

No thanks I don't want redis or kubernetes, it's an overkill for 100% applications (just rounding up here) :)

Hey @aloneguid. Redis is one of multiple supported pluggable state stores that you can use with Dapr. The samples just use Redis as an example.
The 1.hello-world sample demonstrates a couple things, the first of which should work sans any state store at all:

Service discovery - using the Dapr sidecar to invoke one microservice from another one
State persistence - using the Dapr sidecar to persist/retrieve state from any of Dapr's supported state stores.

@aloneguid, I hope this context helps. For future questions, feel free to use the gitter channel: https://gitter.im/Dapr/samples?at=5db71ad714d55a378590324e


fix: update release.sh with the control-plane repo

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

bors merge


Add monero connections manager

haveno issue 138

Please rebase to resolve conflicting files with current master.

done

Nice, thanks.

Please rebase on latest master to resolve the merge conflicts. Sorry for the inconvenience.