Node froze running idle

When running all bancadati nodes over the weekend, I found one node (MAN-DC01-F0321-ARC06) that was frozen and didn't respond to anything anymore, I couldn't go to the logs using alt+f1 nor reset it using ctrl+alt+del.
Had to reset it using IPMI.
Frozen screen:

@chrisvdg there were no sign of activity on the console screen ? like Internet connectivity check or uptime change ?

Nothing changed in the 5 minutes I was staring at it, before I send the ipmi command to power cycle the node.
Zt said the node was offline for 16 hours which corresponds roughly with the uptime on the console screen

Update:
We tried to check the crash report, and unfortunately it was empty.
Note:
I don't get why we have debug + support + development at the same time. Debug only control the log level in logs. And u definitely won't need support if u already set development

Found an exception the logs, but no idea if related
2018-09-09T16:49:39.756Z: pm D >  Recurring '(monitor.cpu# monitor)' in 30s
2018-09-09T16:49:43.416Z: logger D >  [1]zrobot 2|Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
  File "/opt/code/github/threefoldtech/0-templates/templates/node_capacity/node_capacity.py", line 38, in _total
    self._node_sal.capacity.register()
  File "/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/sal_zos/capacity/Capacity.py", line 111, in register
    _, resp = client.api.RegisterCapacity(data)
  File "/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/clients/threefold_directory/api_service.py", line 167, in RegisterCapacity
    resp = self.client.post(uri, data, headers, query_params, content_type)
  File "/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/clients/threefold_directory/http_client.py", line 62, in post
    return self._handle_data(uri, data, headers, params, content_type, self.session.post)
  File "/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/clients/threefold_directory/http_client.py", line 58, in _handle_data
    res.raise_for_status()
  File "/usr/local/lib/python3.5/dist-packages/requests/models.py", line 939, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://capacity.threefoldtoken.com/api/nodes
2018-09-09T16:49:43Z <Greenlet "Greenlet-0" at 0x7f8e20e0b648: _total(<node_capacity.NodeCapacity object at 0x7f8e238aa4)> failed with HTTPError

[Sun09 16:49] - base.py           :214 :service-ee7e0c18-b509-4628-9b7b-8cf8aff5db9b - ERROR    - error executing action _total:
Traceback (most recent call last):
  File "/opt/code/github/threefoldtech/0-robot/zerorobot/task/task.py", line 78, in execute
    self._result = self._func()
  File "/opt/code/github/threefoldtech/0-robot/zerorobot/template/decorator.py", line 66, in f_timeout
    return gl.get(block=True, timeout=seconds)
  File "src/gevent/greenlet.py", line 659, in gevent._greenlet.Greenlet.get
  File "src/gevent/greenlet.py", line 312, in gevent._greenlet.Greenlet._raise_exception
  File "/usr/local/lib/python3.5/dist-packages/gevent/_compat.py", line 47, in reraise
    raise value.with_traceback(tb)
  File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
  File "/opt/code/github/threefoldtech/0-templates/templates/node_capacity/node_capacity.py", line 38, in _total
    self._node_sal.capacity.register()
  File "/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/sal_zos/capacity/Capacity.py", line 111, in register
    _, resp = client.api.RegisterCapacity(data)
  File "/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/clients/threefold_directory/api_service.py", line 167, in RegisterCapacity
    resp = self.client.post(uri, data, headers, query_params, content_type)
  File "/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/clients/threefold_directory/http_client.py", line 62, in post
    return self._handle_data(uri, data, headers, params, content_type, self.session.post)
  File "/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/clients/threefold_directory/http_client.py", line 58, in _handle_data
    res.raise_for_status()
  File "/usr/local/lib/python3.5/dist-packages/requests/models.py", line 939, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://capacity.threefoldtoken.com/api/nodes

ERROR:service-ee7e0c18-b509-4628-9b7b-8cf8aff5db9b:error executing action _total:
Traceback (most recent call last):
  File "/opt/code/github/threefoldtech/0-robot/zerorobot/task/task.py", line 78, in execute
    self._result = self._func()
  File "/opt/code/github/threefoldtech/0-robot/zerorobot/template/decorator.py", line 66, in f_timeout
    return gl.get(block=True, timeout=seconds)
  File "src/gevent/greenlet.py", line 659, in gevent._greenlet.Greenlet.get
  File "src/gevent/greenlet.py", line 312, in gevent._greenlet.Greenlet._raise_exception
  File "/usr/local/lib/python3.5/dist-packages/gevent/_compat.py", line 47, in reraise
    raise value.with_traceback(tb)
  File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
  File "/opt/code/github/threefoldtech/0-templates/templates/node_capacity/node_capacity.py", line 38, in _total
    self._node_sal.capacity.register()
  File "/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/sal_zos/capacity/Capacity.py", line 111, in register
    _, resp = client.api.RegisterCapacity(data)
  File "/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/clients/threefold_directory/api_service.py", line 167, in RegisterCapacity
    resp = self.client.post(uri, data, headers, query_params, content_type)
  File "/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/clients/threefold_directory/http_client.py", line 62, in post
    return self._handle_data(uri, data, headers, params, content_type, self.session.post)
  File "/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/clients/threefold_directory/http_client.py", line 58, in _handle_data
    res.raise_for_status()
  File "/usr/local/lib/python3.5/dist-packages/requests/models.py", line 939, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://capacity.threefoldtoken.com/api/nodes

2018-09-09T16:49:45.725Z: pm D > Recurring '(kvm.monitor# kvm.monitor)' in 30s

Forgot to add the gist with some of the logs
https://gist.github.com/chrisvdg/08a55f4d6ce56848be1fc2d558db7a5c


News Pages Japanese languages

@jindaliiita , can this be closed?

Closing this as bulk import is done


Update dependencies & fix styles loader

Status
READY
Description

Update dependencies
applied new eslint rules (prefer functional components)
fix style loader
include .scss loader in tests
fix tests by renaming test component to TestComp. Using the old name test.js didn't work as Jest thought it was a test file.

Codecov Report

Merging #26 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #26   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           6      5    -1
  Lines          12     11    -1
  Branches        0      2    +2
=====================================
- Hits           12     11    -1

Continue to review full report at Codecov.

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


Removes all newlines in HTML doc

Example:

foo1
bar1

foo2
bar2

foo3
bar3

foo4
bar4

foo5
bar5

foo6
bar6

Results in:
foo1 bar1 foo2 bar2 foo3 bar3 foo4 bar4 foo5 bar5 foo6 bar6

They @theanine, thanks for pointing this out.
A PR which corrects the behavior is certainly welcome!

Probably a duplicate of #6
There's a patch from @Kleissner waiting in a comment, i'll add a test case and make a PR of it.

Fantastic @helb, looking forward to it.

@jaytaylor ^^ here it is, please review the changes (tests pass, but i have little to no experience with Go…)


Refactor ParquetExec in preparation for implementing parallel scans for statistics

Which issue does this PR close?

Closes #896.
Rationale for this change

Refactor in preparation for making partition scans run in parallel.
What changes are included in this PR?

Refactor to move some logic from ParquetExec down to ParquetPartition
Are there any user-facing changes?

No.

Ah, seems I was addressing the same issue (parallel stats listing) pointed out by @rdettai here 😂: https://github.com/apache/arrow-datafusion/pull/811/files#diff-72f3a52c56e83e00d8c605d461f092617a3c205619376bb373069c662f9cfc93R189-R223

@yjshen I have changed this PR to a draft and will hold off on working on this for now and will review your PR when I have time - probably at the weekend. It looks like you are farther along than I was with this.

Closing this in favor of the work happening in https://github.com/apache/arrow-datafusion/pull/811


Do not serve gz for compressed files

Issue #465 added .gz files support for cache.
But it searches for  .gz files even if files are already compressed (i.e. gif files can't have something like /images/logo.gif.gz)

@tshemsedinov, I suppose that searching for .gz could be disabled at all for all files that have extension from this array https://github.com/tshemsedinov/impress/blob/master/lib/impress.constants.js#L69.

@SkeLLLa yes , as it used here https://github.com/tshemsedinov/impress/blob/master/lib/impress.application.js#L632


NTR: Myeloperoxidase

For new term requests, please provide the following information:
Term Label [required]
Myeloperoxidase
Synonyms [optional]
Definition [required except for organism name]
The definition should be understandable even for non-specialists. Include a PubMed ID or DOI to refer to any relevant article that provides additional information about the suggested term.
Same as http://purl.obolibrary.org/obo/EUPATH_0011277 except for an assay done on a maternal stool sample
Suggested Parent Term [required]
Please look in the ontology hierarchy in a browser such as OLS or choose one from following list:

[ ] Material (independent of other entities and can be maintained through time, such as person, cell, sample)
[ ] Process (has temporal proper parts and for some time depends on some material entity, such as life cycle, cell division, heart beating, sleeping)
[ ] Information (generically dependent on some artifact and stands in relation of aboutness to some entity, such as data, identifier, document)
[ ] Characteristic/Quality (inheres in or is borne by other entities, such as height, color, disease)

Characteristic
Examples [optional]
Contributor [optional]
If you would like to be a contributor of the term or anyone you think that contributes to the term, such as label, definition, please provide the name and ORCID ID.
Requester [optional]
Please indicate which resource/database/project/ request the term.
ClinEpiDB

EUPATH:0011277
label: feces myeloperoxidase concentration
definition: A feces assay datum of the concentration of myeloperoxidase.
parent: feces assay datum
I'll need an axiom to link these to myeloperoxidase, but I think that axiom creation for these type of terms should be a separate issue.
EUPATH:0060134
label: maternal feces myeloperoxidase concentration
definition: A maternal feces assay datum of the concentration of myeloperoxidase.
parent: feces assay datum

Looks good to me.


implement rest.Scoper, return filesystem errors fixes #549

the bot is complaining at the commit message, can you revise?

the bot is complaining at the commit message, can you revise?

what is it asking me to do? I didn't find a clear error message to correct.

@yue9944882 was the jsonfile removed on purpose? https://github.com/kubernetes-sigs/apiserver-builder-alpha/pull/538/files#diff-4264db30cf16db2b2bfe965c1d4855dc8852f7a8983be3caef5244186cae547f
I found the example of a custom storage to be quite useful. burger_rest.go also still refers to it so this will lead to a compilation error.

/remove-label do-not-merge/invalid-commit-message
it's complaining about fixes keyword probably

@yue9944882 was the jsonfile removed on purpose? https://github.com/kubernetes-sigs/apiserver-builder-alpha/pull/538/files#diff-4264db30cf16db2b2bfe965c1d4855dc8852f7a8983be3caef5244186cae547f

@drewwells yes this will be moved to apiserver-runtime per https://github.com/kubernetes-sigs/apiserver-builder-alpha/issues/541, the mysql storage has already been moved to https://github.com/kubernetes-sigs/apiserver-runtime/tree/main/pkg/experimental/storage/mysql, will be working on jsonfilepath very soon

Can we add it to apiserver before removing it here. The examples won’t build now


Set a bigger window for save_and_open_screenshot

1680x1050 is the size of a 15" retina Macbook Pro.
Without this setting, save_and_open_screenshot captures perhaps 75% of the screen, which makes it much less useful for debugging.
I'm sure some people have bigger screens, and could use an even larger window size, but this feels like a good default.

Thanks!


Linter accepts messages with array text

We are just checking for it's existence at the moment, we should also check it's type.

Ref: https://github.com/AtomLinter/linter-reek/issues/11


search via swp cli not working, even after adding a repo was confirmed.

I get "Returns: "swamp CLI doesn't currently support indexing repositories. Run the swamp app first..""
Looks like its failing here in that it cant find the repo that was added in Step 1 ?
https://github.com/swampapp/swamp/blob/master/cmd/swp/main.go#L215
reproduction:
# Step 1: add a restic repo
swp add-repo --preferred ./swamp/_data/restic-repo
Repository Name: test
✔ Local/Rest
✔ Repository URI:  ./swamp/_data/restic-repo
Repository Password: *
Testing repository access...✅
Added!
Now you should open swamp, select the repository and manually index it.

# Step 2: search therestic repo
swp search --repo ./swamp/_data/restic-repo

🛑 swamp CLI doesn't currently support indexing repositories.
Run the swamp app first..

seems you record the added the repo here:
https://github.com/swampapp/swamp/blob/master/internal/paths/paths.go#L11
No sign of the repo being added.
Mine is:
ls -al  /Users/apple/.local/share/com.github.swampapp
total 0
drwxr-xr-x   3 apple  staff   96  4 Mar 16:04 .
drwxr-xr-x  12 apple  staff  384  4 Mar 15:12 ..
drwxr-xr-x   3 apple  staff   96  4 Mar 15:12 logs

log:

{"level":"info","time":"2021-03-04T15:12:31+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"info","time":"2021-03-04T15:13:21+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"warn","time":"2021-03-04T15:16:47+01:00","message":"socket file found in /Users/apple/.local/share/com.github.swampapp/indexing.sock, but looks stale, removing"}
{"level":"info","time":"2021-03-04T15:16:47+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"info","time":"2021-03-04T15:18:25+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"info","time":"2021-03-04T15:25:50+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 4 seconds.\n"}
{"level":"warn","time":"2021-03-04T15:27:02+01:00","message":"socket file found in /Users/apple/.local/share/com.github.swampapp/indexing.sock, but looks stale, removing"}
{"level":"warn","time":"2021-03-04T15:27:28+01:00","message":"socket file found in /Users/apple/.local/share/com.github.swampapp/indexing.sock, but looks stale, removing"}
{"level":"info","time":"2021-03-04T15:27:28+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"info","time":"2021-03-04T15:29:06+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"info","time":"2021-03-04T15:29:10+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"info","time":"2021-03-04T15:29:12+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"warn","time":"2021-03-04T15:29:14+01:00","message":"socket file found in /Users/apple/.local/share/com.github.swampapp/indexing.sock, but looks stale, removing"}
{"level":"info","time":"2021-03-04T15:29:14+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"info","time":"2021-03-04T15:29:16+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"warn","time":"2021-03-04T15:29:17+01:00","message":"socket file found in /Users/apple/.local/share/com.github.swampapp/indexing.sock, but looks stale, removing"}
{"level":"info","time":"2021-03-04T15:29:17+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"info","time":"2021-03-04T15:29:19+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"info","time":"2021-03-04T15:29:20+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 0 seconds.\n"}
{"level":"info","time":"2021-03-04T15:53:39+01:00","message":"6 indexed, 23 already present. 16 new snapshots. Took 4 seconds.\n"}
{"level":"info","time":"2021-03-04T16:04:11+01:00","message":"0 indexed, 0 already present. 0 new snapshots. Took 3 seconds.\n"}

@gedw99 having a look at this.

There are a couple of issues, mostly related to swp errors and help being a bit confusing currently.
The first one is that you need to use the repository name as the argument to --repo, test in this particular case. So:
swp search --repo test foo
The second issue is that you need to open the swamp GUI first to index the repository before being able to search for things. This will be fixed in the near future.
Does that help?
Leaving the issue open so I don't forget about it.


Fix resource processor porter install logs truncation

Related to #3992
Modify the shell_output_logger function in resource_processor/shared/logging.py to split lengthy log outputs into smaller chunks before logging.

Chunk Log Output:

Add chunk_log_output helper function to split the log output into smaller chunks.
Update shell_output_logger to use chunk_log_output for logging lengthy outputs in chunks.

Tests:

Add test_shell_output_logger_chunked_logging to verify chunked logging functionality.
Add test_chunk_log_output to test the chunk_log_output helper function.

For more details, open the Copilot Workspace session.

@jonnyry  another AI assisted fix, fancy testing?

Update version number in resource_processor/_version.py

Change version from "0.9.0" to "0.9.1"

For more details, open the Copilot Workspace session.

@jonnyry another AI assisted fix, fancy testing?

Sure will do thanks.

@marrobi Looking good... :-)
Can I suggest prefixing chunked log entries with [Log chunk X of Y] or similar for readability?

/test

@jonnyry this better?

@jonnyry this better?

Yes great thanks :-)

/test-force-approve
Passed here - https://github.com/microsoft/AzureTRE/actions/runs/11278144139


Distinguish CAPI log messages from CAPI controllers in Rancher logs

Today, CAPI log messages from the various controllers are simply spit into the Rancher logs in a format that is difficult to distinguish from the rest of the controllers in Rancher. We should prefix the CAPI controller logs with something like [CAPI] in order to help distinguish them for debug purposes.

@sowmyav27 this can be dev-validated.
for the dev, all that is necessary is to put Rancher into Debug mode, and provision a v2prov/CAPI cluster and look for log messages that are prefixed with “[CAPI]”.

Validation: PASSED
Steps to test:

Provision an rke2/k3s cluster while rancher is in --debug mode.
Verify CAPI related logs are all prefixed with [CAPI] :heavy_check_mark:

2022/07/11 15:54:00 [DEBUG] [CAPI] Adding watcher on external object
2022/07/11 15:54:00 [DEBUG] [CAPI] Starting EventSource
2022/07/11 15:54:00 [DEBUG] [CAPI] Infrastructure provider is not ready yet

Verify CAPI related error messages are all prefixed with [CAPI] :heavy_check_mark:

2022/07/11 16:01:08 [ERROR] [CAPI] Reconciler error: error creating client and cache for remote cluster: failed to index field spec.providerID: no matches for kind "Node" in version "v1"


A StreamIntegration is sometimes passed to on_integration_update

Summary
A StreamIntegration object is sometimes passed to on_integration_update instead of an Integration object.
Reproduction Steps
Run the code below.
Wait for the on_integration_update event to be called for a Twitch or YouTube integration. I'm not sure exactly when it's called, but it seemed to happen fairly often with guilds of large YouTubers.
Look at what the code prints.
Code
import discord

client = discord.Client()

@client.event
async def on_integration_update(integration):
    print(type(integration).__name__) # Should always be "Integration" according to docs

client.run("<token>")

Expected Results
When an on_integration_update event occurs, the code should print:
Integration

According to the docs, the argument passed to on_integration_update should be an Integration.
Actual Results
If the integration is a Twitch or YouTube integration, the code prints:
StreamIntegration

System Information
- Python v3.10.6-final
- discord.py-self v2.0.0-alpha
    - discord.py-self pkg_resources: v2.0.0a2
- aiohttp v3.8.4
- system info: Linux 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023

Checklist

[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).

Additional Information
No response

A StreamIntegration is a subclass of Integration, so this is valid behavior.


Project to auto generate multi lang's pdf

For offline reading purpose, I created this repo to generate pdf for multi languages.
https://github.com/erguotou520/bwawg-pdf/tree/gh-pages
Currently it's not OK ready, but I will working on it.

The output pdf is ready for reading with beautiful style, while inner link is not work in pdf (every useful idea is welcomed).

@erguotou520 table of content not working

It works well for me. Which content not working?

Great work, @erguotou520!
Can this somehow be used to add pdfs for the missing languages, @astaxie? I'd be happy to help.


Add arm64 builds

This PR adds targets for darwin-arm64 and linux-arm64 to the generated Makefile for --language go.
Other changes

Bump the used architect version in generated workflows
Add darwin-arm64 and linux-arm64 targets to build matrix in workflows

Disclaimer: I have no idea how Makefiles work, I just copied around stuff until it worked on my machine:tm:
I would say, treat this PR with low priority..

Do you have any advice on how to go forward testing this without too much disruption? Make a beta release of devctl to use with a branch of giantswarm/github?

@ubergesundheit what I usually do is make install and then devctl gen against my test repository. It's here if you need inspiration: https://github.com/kopiczko/test-gh-workflows.

Tested in https://github.com/ubergesundheit/test-gh-workflows/actions/runs/667938810 which created binaries for https://github.com/ubergesundheit/test-gh-workflows/releases/tag/v15.0.4


Patcher interface

For the SGX webhook, we're planning to implement a mutating webhook. The FPGA patchermanager should be generalized to support multiple patchers

not needed


Remove support for defunct TestDummy endpoint

Resolves #89

Coverage increased (+0.1%) to 95.061% when pulling 018ca77bacfc9b832ae8d8bded4ac88c6e72798e on iss-89 into 15d1083e86c3d440bd43a1d4d1f774dcd8cbcda0 on dev.


:filename param for the dynamic route

Add :filename param for the dynamic routing.
Reference

I'd love to see this.

Yes, you are correct @matt-e-king. I'm making it possible in #53.

This should be possible with a route like /docs/:fileInfo__name.


Website not responsive for big screen

i want to work on this issue

Can you describe which part is not responsive exactly?

i have already put the screenshot

The issue for navbar has already raised
Its a good practice to check if the issue is already opened before opening new one.


The error for allowImportingTsExtensions does not reference rewriteRelativeImportExtensions

🔎 Search Terms

error TS5096
allowImportingTsExtensions
rewriteRelativeImportExtensions
tsconfig
diagnostics
intellisense

🕗 Version & Regression Information

This changed between versions N/A and 5.7.0-beta
This changed in commit or PR https://github.com/microsoft/TypeScript/pull/59767
This is the behavior in every version I tried, and I reviewed the FAQ for entries for allowImportingTsExtensions and rewriteRelativeImportExtensions
I was unable to test this on prior versions because it was only introduced in 5.7

⏯ Playground Link
No response
💻 Code
tsconfig.json with diagnostic error:
{
  "compilerOptions": {
    "module": "Node16",
    "moduleResolution": "Node16",
    "allowImportingTsExtensions": true,
  }
}

🙁 Actual behavior
When specifying allowImportingTsExtensions as above, I get an error, as intended:
tsconfig.json:5:35 - error TS5096: Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set.

However, if I add "rewriteRelativeImportExtensions": true to the same tsconfig, the error goes away, which is contrary to the error message.
The behavior seems correct, but the error message seems incomplete or inconsistent.

At the same time, intellisense for allowImportingTsExtensions in VSCode reports:

Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set.

This is only mentioned as a requirement in intellisense, but not in the error message.
🙂 Expected behavior
I would expect the message to reference rewriteRelativeImportExtensions as one of the conditions that allow for allowImportingTsExtensions.
I am not sure whether --moduleResolution bundler is required, but at least unifying the intellisense and diagnostic would be good.
The combination of factors seems to be "noEmit or emitDeclarationOnly or rewriteRelativeImportExtensions", but I am not sure what the exact new diagnostic message should be 😅
(I don't mean to be nitpicky! I tend to learn best from intellisense and the diagnostics errors, so I was on the lookout for them when trying out the 5.7.0-beta and rewriteRelativeImportExtensions 😌)
Additional information about the issue
No response

I couldn't find a working configuration for using rewriteRelativeImportExtensions and allowImportingTsExtensions together. I want tsc to emit, and rewrite .ts to .js. But the LSP errors on me when I add allowImportingTsExtensions: true to my tsconfig. Also rewriteRelativeImportExtensions isn't allowed in tsconfig, which doesn't make sense.


Changed to use partials for the templates.

So I had a go at tidying up some of the template stuff so we could have a consistent container for each page, which should hopefully make it easier to add new pages in the future. Hope these are useful as I saw didn't have any issue regarding this.
Also I apologize for the formatting changes, they were done by rustfmt.

Ahhh this is awesome, I really wanted this 👍
will review tomorrow
/cc @ashleygwilliams

This looks awesome, thank you!

My pleasure :smile:


Fix private key matching greedily

Description:
This fixes #1475.
Tested in a file with: CERTIFICATE + RANDOM STUFF + CERTIFICATE
Before
    ○
    │╲
    │ ○
    ○ ░
    ░    gitleaks

Finding:     -----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDIoKFd/7IdLTgA\\np8+...
Secret:      -----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDIoKFd/7IdLTgA\\np8+...
RuleID:      private-key
Entropy:     6.017724
File:        /tmp/gltest/pkey.test
Line:        1
Fingerprint: /tmp/gltest/pkey.test:private-key:1

After
    ○
    │╲
    │ ○
    ○ ░
    ░    gitleaks

Finding:     -----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDIoKFd/7IdLTgA\\np8+...
Secret:      -----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDIoKFd/7IdLTgA\\np8+...
RuleID:      private-key
Entropy:     6.007486
File:        /tmp/gltest/pkey.test
Line:        1
Fingerprint: /tmp/gltest/pkey.test:private-key:1

Finding:     -----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDIoKFd/7IdLTgA\\np8+...
Secret:      -----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDIoKFd/7IdLTgA\\np8+...
RuleID:      private-key
Entropy:     6.007486
File:        /tmp/gltest/pkey.test
Line:        4
Fingerprint: /tmp/gltest/pkey.test:private-key:4

5:15PM INF scan completed in 8.42ms
5:15PM WRN leaks found: 2

Checklist:

[x] Does your PR pass tests?
[ ] Have you written new tests for your changes?
[x] Have you lint your code locally prior to submission?

I think this is a dupe of #1440.


Error

Traceback (most recent call last):
File "/usr/local/bin/gdmkdir.py", line 10, in
from gdcmdtools.mkdir import GDMkdir
File "/usr/local/lib/python2.7/dist-packages/gdcmdtools/mkdir.py", line 19, in
from gdcmdtools.base import GDBase
File "/usr/local/lib/python2.7/dist-packages/gdcmdtools/base.py", line 7, in
from apiclient.discovery import build
File "/usr/local/lib/python2.7/dist-packages/apiclient/init.py", line 1, in
from .base import APIClient, APIClient_SharedSecret
File "/usr/local/lib/python2.7/dist-packages/apiclient/base.py", line 3, in
from urllib3 import connection_from_url
ImportError: No module named urllib3

Hi jayantanth,
How do you install gdcmdtools?
Could you try to install requests? It should fix your problem.
$ sudo pip install requests


Update defender-for-devops-introduction.md

Updating region availability

@ElazarK

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Wrong post type control

@charlesLF w3tc has invertet post type control?
Eg. if $post->post_type is page, this control return null:
$post_type = in_array( $post->post_type, array('post', 'page', 'attachment', 'revision' ) ) ? null : $post->post_type;

the correct version is
$post_type = !in_array( $post->post_type, array('post', 'page', 'attachment', 'revision' ) ) ? null : $post->post_type;

This is a bug? I'm not sure

side note: from admin bar, performance -> Page Modules -> Page cache: current page
don't work, not flush the current cache for a page...

Hey @nigrosimone ,
I think the original line of code in w3tc is correct.
Let's say you have registered a custom post type (eg: movie) in WP, and you try to flush a single post in it, the $post_type shouldn't be null.
The reason they set it to null if it is one of 'post', 'page', 'attachment', 'revision'  is to flush the default RSS feed in case a post or page is flushed.
The relevant lines are in function get_feed_link() in `Util_PageUrls.php'

Ahh ok, thanks!

@nigrosimone with which storage engine is the "flush current page" not working?
I tried it with Redis and it was successfully deleting the keys.

disk enhanced

I'm not able to replicate it. Disk Enhanced is being flushed correctly.
You may want to hook into Cache_File_Generic.php on function delete() and compare the $path variable with the path of your cache directory.
This could help you debug it.

Ok thanks! I try to debug

mhh same for me... i have performed a deep investigation.
The problem appears only on multisite (network) installation path based.
If you try to flush from admin bar Performance > Page Modules > Page cache: current page, eg.:
http://yoursite.com/fr/mypage/

delete() on Cache_File_Generic.php try to delete:
http://yoursite.com/mypage/_index.html

W3TC somewhere lose the path /fr/

same issue for me... the problem is simple... w3tc not have implemented the code for flush "page", i don't found it!

@cesco69 this is the @charlesLF fork. The main repo has already a branch for 0.9.5. I have opened this issue on main repo https://github.com/szepeviktor/fix-w3tc/issues/136

Fix for multisite page cache flush: https://github.com/charlesLF/fix-w3tc/commit/ee1421db3e6f150179c6c72af35b01a5bd6c2460
Fix for undefined function flush_pgcache: https://github.com/charlesLF/fix-w3tc/commit/c5d72d08aba5282f4b4b910d1ba09c6044100e84


Added player rank-up requirements ('Beat to Rank Up' column) to ExplorePlayers

Updated GH Pages badge and deployment section in README.
Added 'Beat to Rank Up' column to ExplorePlayers.

Closes #7


♻(backend) define marsha admin site as default

Purpose
The previous implementation prevented to really
use the admin autodiscover for dependencies because
they register against the default Django admin site.
registering admin modules for dependencies was really
painful as we must ensure all the applications are
loaded before trying to register any admin module,
and this is not how Django expects it to work
(except for stand-alone scripts).
Proposal
This new implementation defines the Marsha admin site
as the default one, making all admin modules to be
properly autodiscovered and added to it.

[x] Move Marsha's Django Admin to a dedicated module
[x] Add Marsha's Django Admin configuration and add it to the installed applications list

@sampaccoud @lunika : I've moved this commit in a separated PR, I've also fixed the commit message after Sam's review https://github.com/openfun/marsha/pull/1544#pullrequestreview-1000701760

You leave a merge commit in your PR, you should remove it.

Yes, github kindly offers to rebase but it was a trap... Thanks :)


Testable dispatcher

I don't think you were here when I shared my goldcard on the dispatcher. Might be of interest to you: https://github.com/sciety/sciety/issues/1933


Watchdog and adc traits are missing from prelude

@HarkonenBade and I have run into the issue, that both the watchdog and the adc traits are missing from src/prelude.rs while implementing them in https://github.com/stm32-rs/stm32f0xx-hal/pull/13 and https://github.com/stm32-rs/stm32f0xx-hal/pull/12.

I'd be happy to approve a PR. ;)


Expose internal filerestore options for performance tuning

Output of restic version

restic 0.9.4 compiled with go1.11.5 on linux/amd64
What should restic do differently? Which functionality do you think we should add?

Expose file restore options for tuning the restore procedure: https://github.com/restic/restic/pull/2178
What are you trying to do?

Did restic help you or made you happy in any way?

Closing this as the corresponding PR has also closed.


Add support for Selective Region in Cypress

Issue : IRIS-815

A changeset file is needed in order to release it !


Error while compiling

error.log

I can not reproduce it. Could you check your swiftc version?
➜  FixTim git:(main) swiftc -v
Apple Swift version 5.10 (swiftlang-<IP_ADDRESS> clang-15<IP_ADDRESS>)
Target: arm64-apple-macosx14.0

Hers' my swiftc output:
❯ swiftc -v
Apple Swift version 5.7.2 (swiftlang-<IP_ADDRESS>.5 clang-14<IP_ADDRESS>)
Target: x86_64-apple-macosx12.0


🗄🔧 Haskell / Yesod

Current Status
Codebase in progress: https://github.com/tzemanovic/haskell-yesod-realworld-example-app
Todo:

[X] 🏁 Fork the starter repo & post the link in this issue
[X] 🎨 Create logo for repo & update issue status (@EricSimons)
[x] 🔨 Implement all of Conduit's functionality per the spec & API
[ ] 👀 Move repo to main org & Peer review final codebase by admins/community (RFC)
[ ] 🎉 Tag v1 release and officially list it on the README!

Hi, I've got this implementation ready. Please, let me know what to do for the next step.

@tzemanovic this looks amazing! 🙌 a few suggestions:

Could you summarize "How it works" in the README itself (its okay if not the whole blog post, at least some key information)?
Could you run Postman API tests against your stack to ensure they work, and maybe even add to Travis YML file?

Great work!!!

Hi Anish, thank you!

I've had a link to a blog post with overview of the project, but it wasn't very visible, so I've updated it.
Thanks for fixing the tests in #255, I've ran them and all are passing except for the timestamp tests like:

With the updates from #255 and #260, this is passing the postman tests now:
Conduit

❏ Auth
↳ Register
  POST https://localhost:3443/api/users [200 OK, 733B, 79ms]
  ✓  Response contains "user" property
  ✓  User has "email" property
  ✓  User has "username" property
  ✓  User has "bio" property
  ✓  User has "image" property
  ✓  User has "token" property

↳ Login
  POST https://localhost:3443/api/users/login [200 OK, 733B, 33ms]
  ✓  Response contains "user" property
  ✓  User has "email" property
  ✓  User has "username" property
  ✓  User has "bio" property
  ✓  User has "image" property
  ✓  User has "token" property

↳ Login and Remember Token
  POST https://localhost:3443/api/users/login [200 OK, 733B, 31ms]
  ✓  Response contains "user" property
  ✓  User has "email" property
  ✓  User has "username" property
  ✓  User has "bio" property
  ✓  User has "image" property
  ✓  User has "token" property
  ✓  Global variable "token" has been set

↳ Current User
  GET https://localhost:3443/api/user [200 OK, 733B, 4ms]
  ✓  Response contains "user" property
  ✓  User has "email" property
  ✓  User has "username" property
  ✓  User has "bio" property
  ✓  User has "image" property
  ✓  User has "token" property

↳ Update User
  PUT https://localhost:3443/api/user [200 OK, 732B, 6ms]
  ✓  Response contains "user" property
  ✓  User has "email" property
  ✓  User has "username" property
  ✓  User has "bio" property
  ✓  User has "image" property
  ✓  User has "token" property

❏ Articles
↳ All Articles
  GET https://localhost:3443/api/articles [200 OK, 436B, 4ms]
  ✓  Response code is 200 OK
  ✓  Response contains "articles" property
  ✓  Response contains "articlesCount" property
  ✓  articlesCount is an integer
  ✓  articlesCount is 0 when feed is empty

↳ Articles by Author
  GET https://localhost:3443/api/articles?author=johnjacob [200 OK, 436B, 4ms]
  ✓  Response code is 200 OK
  ✓  Response contains "articles" property
  ✓  Response contains "articlesCount" property
  ✓  articlesCount is an integer
  ✓  articlesCount is 0 when feed is empty

↳ Articles Favorited by Username
  GET https://localhost:3443/api/articles?favorited=jane [200 OK, 436B, 3ms]
  ✓  Response code is 200 OK
  ✓  Response contains "articles" property
  ✓  Response contains "articlesCount" property
  ✓  articlesCount is an integer
  ✓  articlesCount is 0 when feed is empty

↳ Articles by Tag
  GET https://localhost:3443/api/articles?tag=dragons [200 OK, 436B, 3ms]
  ✓  Response code is 200 OK
  ✓  Response contains "articles" property
  ✓  Response contains "articlesCount" property
  ✓  articlesCount is an integer
  ✓  articlesCount is 0 when feed is empty

❏ Articles, Favorite, Comments
↳ Create Article
  POST https://localhost:3443/api/articles [200 OK, 834B, 11ms]
  ✓  Response contains "article" property
  ✓  Article has "title" property
  ✓  Article has "slug" property
  ✓  Article has "body" property
  ✓  Article has "createdAt" property
  ✓  Article's "createdAt" property is an ISO 8601 timestamp
  ✓  Article has "updatedAt" property
  ✓  Article's "updatedAt" property is an ISO 8601 timestamp
  ✓  Article has "description" property
  ✓  Article has "tagList" property
  ✓  Article's "tagList" property is an Array
  ✓  Article has "author" property
  ✓  Article has "favorited" property
  ✓  Article has "favoritesCount" property
  ✓  favoritesCount is an integer

↳ Feed
  GET https://localhost:3443/api/articles/feed [200 OK, 436B, 3ms]
  ✓  Response code is 200 OK
  ✓  Response contains "articles" property
  ✓  Response contains "articlesCount" property
  ✓  articlesCount is an integer
  ✓  articlesCount is 0 when feed is empty

↳ All Articles
  GET https://localhost:3443/api/articles [200 OK, 855B, 3ms]
  ✓  Response code is 200 OK
  ✓  Response contains "articles" property
  ✓  Response contains "articlesCount" property
  ✓  articlesCount is an integer
  ✓  Article has "title" property
  ✓  Article has "slug" property
  ✓  Article has "body" property
  ✓  Article has "createdAt" property
  ✓  Article's "createdAt" property is an ISO 8601 timestamp
  ✓  Article has "updatedAt" property
  ✓  Article's "updatedAt" property is an ISO 8601 timestamp
  ✓  Article has "description" property
  ✓  Article has "tagList" property
  ✓  Article's "tagList" property is an Array
  ✓  Article has "author" property
  ✓  Article has "favorited" property
  ✓  Article has "favoritesCount" property
  ✓  favoritesCount is an integer

↳ All Articles with auth
  GET https://localhost:3443/api/articles [200 OK, 855B, 3ms]
  ✓  Response code is 200 OK
  ✓  Response contains "articles" property
  ✓  Response contains "articlesCount" property
  ✓  articlesCount is an integer
  ✓  Article has "title" property
  ✓  Article has "slug" property
  ✓  Article has "body" property
  ✓  Article has "createdAt" property
  ✓  Article's "createdAt" property is an ISO 8601 timestamp
  ✓  Article has "updatedAt" property
  ✓  Article's "updatedAt" property is an ISO 8601 timestamp
  ✓  Article has "description" property
  ✓  Article has "tagList" property
  ✓  Article's "tagList" property is an Array
  ✓  Article has "author" property
  ✓  Article has "favorited" property
  ✓  Article has "favoritesCount" property
  ✓  favoritesCount is an integer

↳ Articles by Author
  GET https://localhost:3443/api/articles?author=tzemanovic [200 OK, 855B, 5ms]
  ✓  Response code is 200 OK
  ✓  Response contains "articles" property
  ✓  Response contains "articlesCount" property
  ✓  articlesCount is an integer
  ✓  Article has "title" property
  ✓  Article has "slug" property
  ✓  Article has "body" property
  ✓  Article has "createdAt" property
  ✓  Article's "createdAt" property is an ISO 8601 timestamp
  ✓  Article has "updatedAt" property
  ✓  Article's "updatedAt" property is an ISO 8601 timestamp
  ✓  Article has "description" property
  ✓  Article has "tagList" property
  ✓  Article's "tagList" property is an Array
  ✓  Article has "author" property
  ✓  Article has "favorited" property
  ✓  Article has "favoritesCount" property
  ✓  favoritesCount is an integer

↳ Articles by Author with auth
  GET https://localhost:3443/api/articles?author=tzemanovic [200 OK, 855B, 3ms]
  ✓  Response code is 200 OK
  ✓  Response contains "articles" property
  ✓  Response contains "articlesCount" property
  ✓  articlesCount is an integer
  ✓  Article has "title" property
  ✓  Article has "slug" property
  ✓  Article has "body" property
  ✓  Article has "createdAt" property
  ✓  Article's "createdAt" property is an ISO 8601 timestamp
  ✓  Article has "updatedAt" property
  ✓  Article's "updatedAt" property is an ISO 8601 timestamp
  ✓  Article has "description" property
  ✓  Article has "tagList" property
  ✓  Article's "tagList" property is an Array
  ✓  Article has "author" property
  ✓  Article has "favorited" property
  ✓  Article has "favoritesCount" property
  ✓  favoritesCount is an integer

↳ Articles Favorited by Username
  GET https://localhost:3443/api/articles?favorited=jane [200 OK, 436B, 2ms]
  ✓  Response code is 200 OK
  ✓  Response contains "articles" property
  ✓  Response contains "articlesCount" property
  ✓  articlesCount is an integer
  ✓  articlesCount is 0 when feed is empty

↳ Articles Favorited by Username with auth
  GET https://localhost:3443/api/articles?favorited=jane [200 OK, 436B, 3ms]
  ✓  Response code is 200 OK
  ✓  Response contains "articles" property
  ✓  Response contains "articlesCount" property
  ✓  articlesCount is an integer
  ✓  articlesCount is 0 when feed is empty

↳ Single Article by slug
  GET https://localhost:3443/api/articles/how-to-train-your-dragon-toll6b [200 OK, 834B, 3ms]
  ✓  Response contains "article" property
  ✓  Article has "title" property
  ✓  Article has "slug" property
  ✓  Article has "body" property
  ✓  Article has "createdAt" property
  ✓  Article's "createdAt" property is an ISO 8601 timestamp
  ✓  Article has "updatedAt" property
  ✓  Article's "updatedAt" property is an ISO 8601 timestamp
  ✓  Article has "description" property
  ✓  Article has "tagList" property
  ✓  Article's "tagList" property is an Array
  ✓  Article has "author" property
  ✓  Article has "favorited" property
  ✓  Article has "favoritesCount" property
  ✓  favoritesCount is an integer

↳ Articles by Tag
  GET https://localhost:3443/api/articles?tag=dragons [200 OK, 855B, 4ms]
  ✓  Response code is 200 OK
  ✓  Response contains "articles" property
  ✓  Response contains "articlesCount" property
  ✓  articlesCount is an integer
  ✓  Article has "title" property
  ✓  Article has "slug" property
  ✓  Article has "body" property
  ✓  Article has "createdAt" property
  ✓  Article's "createdAt" property is an ISO 8601 timestamp
  ✓  Article has "updatedAt" property
  ✓  Article's "updatedAt" property is an ISO 8601 timestamp
  ✓  Article has "description" property
  ✓  Article has "tagList" property
  ✓  Article's "tagList" property is an Array
  ✓  Article has "author" property
  ✓  Article has "favorited" property
  ✓  Article has "favoritesCount" property
  ✓  favoritesCount is an integer

↳ Update Article
  PUT https://localhost:3443/api/articles/how-to-train-your-dragon-toll6b [200 OK, 833B, 4ms]
  ✓  Response contains "article" property
  ✓  Article has "title" property
  ✓  Article has "slug" property
  ✓  Article has "body" property
  ✓  Article has "createdAt" property
  ✓  Article's "createdAt" property is an ISO 8601 timestamp
  ✓  Article has "updatedAt" property
  ✓  Article's "updatedAt" property is an ISO 8601 timestamp
  ✓  Article has "description" property
  ✓  Article has "tagList" property
  ✓  Article's "tagList" property is an Array
  ✓  Article has "author" property
  ✓  Article has "favorited" property
  ✓  Article has "favoritesCount" property
  ✓  favoritesCount is an integer

↳ Favorite Article
  POST https://localhost:3443/api/articles/how-to-train-your-dragon-toll6b/favorite [200 OK, 832B, 4ms]
  ✓  Response contains "article" property
  ✓  Article has "title" property
  ✓  Article has "slug" property
  ✓  Article has "body" property
  ✓  Article has "createdAt" property
  ✓  Article's "createdAt" property is an ISO 8601 timestamp
  ✓  Article has "updatedAt" property
  ✓  Article's "updatedAt" property is an ISO 8601 timestamp
  ✓  Article has "description" property
  ✓  Article has "tagList" property
  ✓  Article's "tagList" property is an Array
  ✓  Article has "author" property
  ✓  Article has "favorited" property
  ✓  Article's 'favorited' property is true
  ✓  Article has "favoritesCount" property
  ✓  favoritesCount is an integer
  ✓  Article's 'favoritesCount' property is greater than 0

↳ Unfavorite Article
  DELETE https://localhost:3443/api/articles/how-to-train-your-dragon-toll6b/favorite [200 OK, 833B, 3ms]
  ✓  Response contains "article" property
  ✓  Article has "title" property
  ✓  Article has "slug" property
  ✓  Article has "body" property
  ✓  Article has "createdAt" property
  ✓  Article's "createdAt" property is an ISO 8601 timestamp
  ✓  Article has "updatedAt" property
  ✓  Article's "updatedAt" property is an ISO 8601 timestamp
  ✓  Article has "description" property
  ✓  Article has "tagList" property
  ✓  Article's "tagList" property is an Array
  ✓  Article has "author" property
  ✓  Article has "favorited" property
  ✓  Article has "favoritesCount" property
  ✓  favoritesCount is an integer
  ✓  Article's "favorited" property is true

↳ Create Comment for Article
  POST https://localhost:3443/api/articles/how-to-train-your-dragon-toll6b/comments [200 OK, 665B, 4ms]
  ✓  Response contains "comment" property
  ✓  Comment has "id" property
  ✓  Comment has "body" property
  ✓  Comment has "createdAt" property
  ✓  "createdAt" property is an ISO 8601 timestamp
  ✓  Comment has "updatedAt" property
  ✓  "updatedAt" property is an ISO 8601 timestamp
  ✓  Comment has "author" property

↳ All Comments for Article
  GET https://localhost:3443/api/articles/how-to-train-your-dragon-toll6b/comments [200 OK, 668B, 2ms]
  ✓  Response code is 200 OK
  ✓  Response contains "comments" property
  ✓  Comment has "id" property
  ✓  Comment has "body" property
  ✓  Comment has "createdAt" property
  ✓  "createdAt" property is an ISO 8601 timestamp
  ✓  Comment has "updatedAt" property
  ✓  "updatedAt" property is an ISO 8601 timestamp
  ✓  Comment has "author" property

↳ Delete Comment for Article
  DELETE https://localhost:3443/api/articles/how-to-train-your-dragon-toll6b/comments/1 [200 OK, 407B, 2ms]

↳ Delete Article
  DELETE https://localhost:3443/api/articles/how-to-train-your-dragon-toll6b [200 OK, 407B, 3ms]

❏ Profiles
↳ Register Celeb
  POST https://localhost:3443/api/users [200 OK, 745B, 31ms]
  ✓  Response contains "user" property
  ✓  User has "email" property
  ✓  User has "username" property
  ✓  User has "bio" property
  ✓  User has "image" property
  ✓  User has "token" property

↳ Profile
  GET https://localhost:3443/api/profiles/celeb_tzemanovic [200 OK, 541B, 3ms]
  ✓  Response code is 200 OK
  ✓  Response contains "profile" property
  ✓  Profile has "username" property
  ✓  Profile has "bio" property
  ✓  Profile has "image" property
  ✓  Profile has "following" property

↳ Follow Profile
  POST https://localhost:3443/api/profiles/celeb_tzemanovic/follow [200 OK, 540B, 4ms]
  ✓  Response code is 200 OK
  ✓  Response contains "profile" property
  ✓  Profile has "username" property
  ✓  Profile has "bio" property
  ✓  Profile has "image" property
  ✓  Profile has "following" property
  ✓  Profile's "following" property is true

↳ Unfollow Profile
  DELETE https://localhost:3443/api/profiles/celeb_tzemanovic/follow [200 OK, 541B, 3ms]
  ✓  Response code is 200 OK
  ✓  Response contains "profile" property
  ✓  Profile has "username" property
  ✓  Profile has "bio" property
  ✓  Profile has "image" property
  ✓  Profile has "following" property
  ✓  Profile's "following" property is false

❏ Tags
↳ All Tags
  GET https://localhost:3443/api/tags [200 OK, 434B, 2ms]
  ✓  Response code is 200 OK
  ✓  Response contains "tags" property
  ✓  "tags" property returned as array

┌─────────────────────────┬──────────┬──────────┐
│                         │ executed │   failed │
├─────────────────────────┼──────────┼──────────┤
│              iterations │        1 │        0 │
├─────────────────────────┼──────────┼──────────┤
│                requests │       31 │        0 │
├─────────────────────────┼──────────┼──────────┤
│            test-scripts │       46 │        0 │
├─────────────────────────┼──────────┼──────────┤
│      prerequest-scripts │       17 │        0 │
├─────────────────────────┼──────────┼──────────┤
│              assertions │      280 │        0 │
├─────────────────────────┴──────────┴──────────┤
│ total run duration: 1024ms                    │
├───────────────────────────────────────────────┤
│ total data received: 7.43KB (approx)          │
├───────────────────────────────────────────────┤
│ average response time: 8ms                    │
└───────────────────────────────────────────────┘

Fantastic!


Fix: Responding to style and processed props

Please describe the changes this PR makes and why it should be merged:
The following issues were resolved.

when style is set to a property that contains uppercase letters.
When you want to render processed arguments.

More on this Issue.
https://github.com/aidenybai/million/issues/465
Status

[x]  Code changes have been tested against prettier, or there are no code changes
[x] I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

[x] This PR changes the codebase

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
[x] This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

Hey @nojiritakeshi, thank you for this. Can you please run pnpm lint locally to resolve these issues?

@tobySolutions
Thank you.
But, I will also check for compatibility with the commit https://github.com/aidenybai/million/commit/0820c9a09361bf58ba1aa5905d4e0ea837042a45.

@tobySolutions
I ran pnpm lint locally and didn't get the same error, do you know why?
Apart from that, the comment was in the wrong place, so I fixed it.

sorry...I noticed that this modification was unnecessary once the compiler was set up correctly.
This fix is to make it work even if the compiler is not used.
If it's an unnecessary correction, we'll remove this PR immediately.

I don't think this is the correct approach, we want the holes to be objects to be safe. I will push a PR soon that tries to approach this issue. would love your feedback on it :)

 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.nojiritakeshi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Prestocheckoperator

@mistercrunch This solves the problem of a single check. Now on to solving the problem for check between two sql queries and ratio or possibly interval check.

@mistercrunch :)

dbid are all conn_id now, rebase!

@mistercrunch Argh except that conn_id change was not into master for the Presto operator. I should have checked, and pushed nother commit instead of rebasing. Darn.

It looks like you merged, not rebase.
For the record: git pull --rebase origin master will bring in the history and replay your commits on top.
Now it looks like your PR has all these commits in it ....

Oh

Snap, I clicked the wrong button, didn't mean to close, just comment.

@mistercrunch Closing this PR without merging


Keep selected item when typing line numbers

VSCode Version: 1.40.2

Steps to Reproduce:

In quick open search for a file
Using arrow keys select it
Type :123 (colon followed by a line number to go to in that file)
The selection is reset to the first result

If, however, :123 is entered and the file then selected the correct line number is juumped to.

Does this issue occur when all extensions are disabled?: Yes

Yeah, each letter you type is interpreted as new search and will result in new results to appear where we do not preserve the selection.

I will look into this and create a PR soon, if you don't mind.

I ended up doing this with the new quick open implementation. The results stay as they are for when a line/col is typed in the query for file results.

Verification: https://github.com/microsoft/vscode/issues/86215#issue-532376564


Large world files crash during import on Blender

Hello there! I've run into an issue recently:
When importing a large world USD (1000 blocks wide) Blender crashes when reaching 91%
This happens in versions of Blender 4.0 and 4.1
The same USD file loads without issue in Blender 3.6.11

What's your memory usage like? Are you sure you aren't running out of ram?

RAM and VRAM don't show too much of an increase in use (I have 16 GB of ram and 6GB Vram)
GPU reaches 100% use and CPU also shows a 90% use which is to be expected. I've seen people having similar issues when importing USDs exported from older versions of Maya to blender 4.0+. That would explain why they work in older versions of Blender.

Could you share your PC specs? I have the feeling that it's a bug with Blender that has to do with that CPU you have.

Sure!
CPU: AMD Ryzen 7 5800H (with Radeon Graphiccs) GPU: Nvidia RTX 3060 (Laptop GPU) 16 GB RAM
Running on Windows 10

Interesting. On my work PC I also have that Blender crashes when trying to import in large worlds. On my personal laptop, however, it seems to work fine. Now my work PC uses an AMD CPU while my personal laptop uses an Intel CPU. michal212345 has told me that he has an Intel CPU and he doesn't experience any crashes.
So, it seems to be a bug with Blender on AMD CPUs. I'd recommend to file a bug report with Blender.

Thanks for the info, I'll report it to Blender soon, I'll post over here any solutions I get or if it gets fixed


etcdStructure.md is out of date

The structure of etcd has changed since this doc was written.  The ipam paths are significantly different with the introduction of ipam blocks, and some naming has also changed, such as changing /calico/v1/host/<host>/bird_ip to /calico/v1/host/<host>/bird_ip

Not sure what you mean about the bird_ip naming.

Whoops, I meant /calico/v1/host/<host>/ipv4_addr to /calico/v1/host/<host>/bird_ip.  I made a comment about it in the PR.


Re-enable basic Prefect support and tests

What new feature would you like to see?
Waiting on:

https://github.com/PrefectHQ/prefect/issues/10145

Once Prefect supports Pydantic 2, we can re-enable basic tests and support for Prefect.

Relient on:

https://github.com/PrefectHQ/prefect/issues/7502#issuecomment-1803976029


Create bundlephobia extension

Description
A simple extension to search bundle size and related information of npm packages via Bundlephobia API.

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

What do you think about adding this information to the existing npm extension instead of creating a new one? Sounds pretty useful to have when browsing npm?

As you see, the npm extension, it doesnt have enough space to add more information about bundle size. We can show it in the detail of every item, but the npm extension doesnt have detail currently. Moreover, in some specific cases, we only need to find the bundle size of the package instantly, my extension helps to do that conveniently. @mathieudutour

I'm sure @mrmartineau would be open to have a Detail view (some experimentation done here: https://github.com/raycast/extensions/issues/1033#issuecomment-1111457960).

Moreover, in some specific cases, we only need to find the bundle size of the package instantly, my extension helps to do that conveniently

I don't really understand how it'd be more convenient than if it's shown in the npm extension?

yeah there could be a toggle to switch between the list + detail and just the list, and we could store this state in the local storage to make sure your choice is remembered

Hi folks, I gotta say that I think a specific bundlephobia extension would be better than adding this functionality to my npm extension. Even though there is an action in my extension for navigating to the bundlephobia site, I use my "cost" Quicklink frequently to navigate to bundlephobia more quickly.
npm extension action

Quicklink

@mrmartineau agreed with my suggestion. @mathieudutour how about your thought? Again, I want to remind that my extension is to help to see the bundle size of the npm package as soon as possible.


feat(landingpage): add resource section

Closes #834
The image in our design is not transparent as it appears in the Figma design. This is because we are sourcing it from the Inovex blog (https://www.inovex.de/de/blog/inovex-elements-open-source/). To resolve this issue, I suggest post-processing the images for each blog (get the image 1:1 from the design) before adding them to the card instead of directly sourcing them from the Inovex blog URL.
After all we don't have many blogs - maintenance would be depending on the pace of new blogs.

The images can be made transparent by applying the following css-property to the <img> element: mix-blend-mode: multiply; (only works if the background is white)
see:


Handling case where sys.stdin encoding is None

When running under supervisord, sys.stdin.encoding is None, resulting in a silent exception.
Use the default encoding as a fallback.

Coverage increased (+0.02%) to 92.863% when pulling 3487ab3b4c3d3b264d83334db3148c45cfeb60a6 on stefanoborini:fix-encoding into 8473d54f9795b768818c39ef7b2c40e511999740 on ergoithz:master.

Currently untested as I would have to add mock to the requirements and mock out sys.stdin.encodings. Please let me know if that's ok.

Failure on py3.5 unrelated.

Please pull from master, tests should pass now.

Coverage decreased (-0.7%) to 92.159% when pulling bbe8d06d396e0d8481f43dd91addd9d5abb93dbe on stefanoborini:fix-encoding into 821f0ffa7f8b615b181631d9b710ed62fa8f643c on ergoithz:master.

Thanks!


strconv:ParseFloat at 4B

Hi @vkuznet, I have also tried the metadata with my 2nd user group and am getting the error strconv:ParseFloat.
I have attached the image.
Do you have any suggestions?
Thank you.

@suchismitasarker, it is unclear which attribute you use to provide this value. Please clearly indicate the following:

which schema should be used in web interface
which web attribute you are trying to fill out and with which value

If I look at ID4B.json schema (I assume this is what you use) I see one of the following attribute with float64 data type:
    {
        "key": "ScanEdgeL",
        "type": "float64",
        "optional": true,
        "multiple": false,
        "section": "Experiment",
        "description": "Specify the sample scan L edge, insert \"N/A\" if none",
        "placeholder": "Ir - L3"
    },

So, the placeholder says "Ir - L3", but its type is float64. Now the  value which this attribute expects is a numerical value like 1.123 and not a string "Ir - L3". In your screen shot the value is PrAIO and the error clearly says it tries to interpret it as float (the error tries strvconf.ParseFloat which takes a string and tries to convert it to a float). Obviously your value PrAIO is not a number, therefore you have an error.
My advise please go to your schema and identify all entries with type float or float64, make sure that

it is correct data type, if your user will need to put a string your type should be a string, if your user should put a numerical value then type should be either int or float kind.
adjust all placeholders, remember those show examples of what user should put into input field.

@vkuznet These are really helpful suggestions. I will do that and send you the pull request.
Thanks again.


Clean up settings storage/persistence code

And add tests for changes made in Dev15/0.5

https://github.com/Microsoft/RTVS/commit/0e32d5ffd6bfb6ac69a669b8238846cb564f77e3


Implement tags for request params structs

Is your feature request related to a problem? Please describe.
In our scenario, we have an API server (which is available only internally) and a gateway service supporting frontend app. This way, we keep server side rendering on a node app, a business logic (fetching data from multiple APIs, etc) and number of APIs behind it.
Few API endpoints take a number of parameters that allow us to control the responses - think search page on any shop - you'll have search term, min and max price, category, etc.
Given the API spec, we (the client) know what we params we support, however should the API change, we still need to map params from incoming request to params in the API client. It would be nice, if we could use the struct to automatically map matching params.
Describe the solution you'd like
We would like to have tags set on each params struct.
For example, this is a struct that we have now (shortened it for clarity):
type GetProductParams struct {
	XAPICountry *string
	XAcceptVersion *string
        SomeParam *string
        SomeParam2 *string

	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}

while this is something that we would expect - the tag is just example.
type GetProductParams struct {
	XAPICountry *string `swag:"X-API-Country,header"`
	XAcceptVersion *string `swag:"X-Accept-Version,header"`
        SomeParam *string `swag:"some_param,query"`
        SomeParam2 *string `swag:"some_param2,query"`

	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}

Describe alternatives you've considered
The obvious alternative is to map the fields manually. If we do that, we also lose the advantage of using a client like swag, because updating API version still requires manual effort.

sry. I can't imagine.
Which does protocol?

I'm sorry @pei0804, but I do not understand the question? Could you elaborate on it?

Sry I don't understand now.
How does client request? for example http request? and How does swag want to work?


Play other video format

Hi, you have a very nice job with this fork, and one of the most usefull feature is to read mp4 videos.
Is it possible to read other media files like .MOV .mpg, .wmv, and .avi  video files?
Thx

Thank you for your interest.
This spfx was created and is used as is. The work has been completed. I am
not planning any improvements at the moment. Maybe someday...
št 21. 9. 2023 o 11:03 med44600 @.***> napísal(a):

Hi, you have a very nice job with this fork, and one of the most usefull
feature is to read mp4 videos.
Is it possible to read other media files like .MOV .mpg, .wmv, and .avi
video files?
Thx
—
Reply to this email directly, view it on GitHub
https://github.com/chrobaktruhlik/spfx-lightbox-image-gallery/issues/13,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADUEGWJPAW5CWQUCZWSIVDTX3P7H5ANCNFSM6AAAAAA5BGCT34
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


top-bar

I'm helping my sport club with a new website based on FoundationPress but I got a problem that i can't figure it out and I'm hoping that someone will lend a hand.
It is about the top-bar, is it possible to make it look like the one here on this website http://bit.ly/1FvvsLs with an "open" horizontal submenu? If someone can point me in the right direction it will be awesome and I will be very grateful!

I'm not sure there is a value in adding this sort of functionality to foundation press. The top-bar is likely to be re-written in the upcoming Foundation 6 release by zurb. Since FoundationPress is a WordPress port of Foundation differentiating drastically from Foundation doesn't make sense.
If you need this functionality now you'd be better off adding a separate javascript or css MegaMenu into your existing code. A MegaMenu is currently on the list of possible additional features to be added in Foundation 6, if interested you can add to the conversation or vote for the feature here: https://trello.com/b/QBPKlQqf
Also Included in that discussion is a link to a MegaMenu that might work for you: http://codyhouse.co/demo/mega-site-navigation/index.html


Need integration test for analysis server/IDEs

We're tracking a series of crashes that make IntelliJ/analysis server unusable at HEAD:

https://github.com/dart-lang/sdk/issues/32599
https://github.com/dart-lang/sdk/issues/32693
https://github.com/dart-lang/sdk/issues/32692

It would be great to be able to track these in our CI. This would also help validate angular_analyzer_plugin regressions, at least until we host it in the this repository (/cc @MichaelRFairhurst  - maybe we should just do this now?).
Ideas:

Launch analysis server
Analyze/index the entire mono repo, similar to how IntelliJ would
Ensure no crashes or errors

/cc @kevmoo for future planning.

We can do this internally, and maybe apply that testing externally too
On Tue, Mar 27, 2018, 2:09 PM Matan Lurey<EMAIL_ADDRESS>wrote:

/cc @kevmoo https://github.com/kevmoo for future planning.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/angular/issues/1145#issuecomment-376676277,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABjWe1GwHlg7AL5bqIZ96DteUup9XYMuks5tiqqLgaJpZM4S9pJm
.


httpx.ConnectTimeout

Hello, guys! I installed twikit today and tried to authorize by a sample code, however I got an error as shown below. What is the problem?

I am using this code
import asyncio
from twikit import Client

USERNAME = 'i replaced it'
EMAIL = 'i replaced it'
PASSWORD = 'this one too'

client = Client('en-US')

async def main():
    await client.login(
        auth_info_1=USERNAME,
        auth_info_2=EMAIL,
        password=PASSWORD
    )
    client.save_cookies('twitter_cookies.json')

asyncio.run(main())

Okay guys, the trouble was in proxy server, just made a new proxy and initialized it by:
# Initialize client
client = Client(language='en-US', proxy="http://ip:port")

Getting the same ReadTimeout error sporadically. I can restart the script and get some succesful requests but it failed this way in a couple hours. Getting this extra block on the traceback:
The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/ubuntu/Documents/twikitToolset/followsDload.py", line 249, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/ubuntu/Documents/twikitToolset/followsDload.py", line 97, in main
    followList = await followList.next()  # Call next method to retrieve more tweets
  File "/usr/local/lib/python3.10/dist-packages/twikit/utils.py", line 56, in next
    return await self.__fetch_next_result()
  File "/usr/local/lib/python3.10/dist-packages/twikit/client/client.py", line 2440, in _get_user_friendship
    response, _ = await f(user_id, count, cursor)
  File "/usr/local/lib/python3.10/dist-packages/twikit/client/gql.py", line 456, in following
    return await self._friendships(user_id, count, Endpoint.FOLLOWING, cursor)
  File "/usr/local/lib/python3.10/dist-packages/twikit/client/gql.py", line 444, in _friendships
    return await self.gql_get(endpoint, variables, FEATURES)
  File "/usr/local/lib/python3.10/dist-packages/twikit/client/gql.py", line 114, in gql_get
    return await self.base.get(url, params=flatten_params(params), headers=headers, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/twikit/client/client.py", line 178, in get
    return await self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/twikit/client/client.py", line 119, in request
    response = await self.http.request(method, url, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1574, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1661, in send
    response = await self._send_handling_auth(
  File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1689, in _send_handling_auth
    response = await self._send_handling_redirects(
  File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1726, in _send_handling_redirects
    response = await self._send_single_request(request)
  File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1763, in _send_single_request
    response = await transport.handle_async_request(request)
  File "/usr/local/lib/python3.10/dist-packages/httpx/_transports/default.py", line 372, in handle_async_request
    with map_httpcore_exceptions():
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ReadTimeout

Managed to run for 8 hours straight after re-logging in (deleting cookies.json). Might have been some instability from the twitter servers.


The min_ios_version_supported is 12.4 and not 13.4 in a new project

Description
This PR added a new Helpers module to packages/react-native/scripts/cocoapods/helpers.rb with the min_ios_version_supported (used in Podfile) returning the value 13.4, but for some reason this value is still 12.4 when creating a new react-native project from scratch or updating react-native to a new version in an existing project.
Am I missing something or this value should be 13.4? I'm using a third party library that requires the minimum iOS target version of 13.0, so I was trying to understand better this "min_ios_version_supported" concept added to react-native.
From my understanding, I should not remove the min_ios_version_supported attribute from Podfile and add the minimum version there explicitly, because react-native already is setting the correct version 13.4 (for my case).
React Native Version
0.72.6
Output of npx react-native info
System:
OS: macOS 14.0
CPU: (10) arm64 Apple M1 Max
Memory: 11.56 GB / 64.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.14.0
path: /var/folders/93/dcrjcbf93wq3v4tn6vtfbck40000gn/T/yarn--1697626741264-0.8327458535384211/node
Yarn:
version: 1.22.19
path: /var/folders/93/dcrjcbf93wq3v4tn6vtfbck40000gn/T/yarn--1697626741264-0.8327458535384211/yarn
npm:
version: 9.3.1
path: ~/.nvm/versions/node/v18.14.0/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK: Not Found
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10811636
Xcode:
version: 15.0/15A240d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.16
path: /usr/bin/javac
Ruby:
version: 2.7.8
path: /Users/my-user/.rvm/rubies/ruby-2.7.8/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.6
wanted: 0.72.6
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: Not found
Steps to reproduce

Start a new project with npx react-native@latest init AwesomeProject.
Open the node_modules/react-native/scripts/cocoapods/helpers.rb file.
The return value of self.min_ios_version_supported will be 12.4 instead of 13.4.
You can also print the value of min_ios_version_supported in your Podfile to check.

Snack, screenshot, or link to a repository

The commit you mentioned has been picked only for 0.73.0. The min iOS version for 0.72 is still 12.4 and it is correct to stay that way. The change to be on 13.4 will be forced by 0.73.


Use infoot on tabular data.

Hi,
I was curious if InfoOT is suitable to find OT distance between two tabular datasets(without labels)? (Similar to OTDD) if yes then how will the workflow look like? Eg if I have Iris dataset and Boston house prices dataset without labels.

I think it's doable as long as the underlying metric on the tabular datasets makes sense!


Proxy authenticated pin requests through the Central API

Currently we just accept all (!) pin requests directly on the IPFS cluster. Once this is done, we can firewall the cluster inside our VPC.

done in #195


[FLINK-32714] Add dialect for OceanBase database

Currently the jdbc url is used to determine the dialect, but OceanBase has two sql compatible modes as 'mysql' and 'oracle', so additional information is needed to determine the sql dialect. In this PR I add a parameter 'compatible-mode', which may break some APIs in the process of creating jdbc dialect.

The last ci tests failed because the resources (cpu, disk and memory) were insufficient to run OceanBase docker image. I tested on my server and the output is as below:
mvn verify -Dtest="org.apache.flink.connector.jdbc.databases.oceanbase.table.**" -DfailIfNoTests=false
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.flink.connector.jdbc.databases.oceanbase.table.OceanBaseMySqlDynamicTableSinkITCase
[INFO] Running org.apache.flink.connector.jdbc.databases.oceanbase.table.OceanBaseMySqlDynamicTableSourceITCase
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 136.375 s - in org.apache.flink.connector.jdbc.databases.oceanbase.table.OceanBaseMySqlDynamicTableSourceITCase
[INFO] Running org.apache.flink.connector.jdbc.databases.oceanbase.table.OceanBaseMySqlDynamicTableSinkITCase
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 153.12 s - in org.apache.flink.connector.jdbc.databases.oceanbase.table.OceanBaseMySqlDynamicTableSourceITCase
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 163.945 s - in org.apache.flink.connector.jdbc.databases.oceanbase.table.OceanBaseMySqlDynamicTableSinkITCase
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Flink : Connectors : JDBC : Parent 3.2-SNAPSHOT:
[INFO]
[INFO] Flink : Connectors : JDBC : Parent ................. SUCCESS [  4.062 s]
[INFO] Flink : Connectors : JDBC .......................... SUCCESS [02:53 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:57 min
[INFO] Finished at: 2023-08-02T00:44:50+08:00
[INFO] ------------------------------------------------------------------------
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 161.648 s - in org.apache.flink.connector.jdbc.databases.oceanbase.table.OceanBaseMySqlDynamicTableSinkITCase
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0

mvn.log

Could you please take a look on this  @leonardBang @MartijnVisser

I enabled the it cases for Mysql mode of OceanBase, and the ci generally passed. PTAL @leonardBang @MartijnVisser

@eskabetxe Do you want to take a look?

I added a test case in oracle mode, but because there is no docker environment, it can only be executed locally.
Below is the output of testing after I set the connection properties in OceanBaseTestDatabase and remove @Disabled in the classes.

@eskabetxe Please take a look on this if you are available.

Hello @MartijnVisser @davidradl Is it OK to keep the driver with 'provide' or 'test' scope here? If not, I may have to remove it and disable other IT cases in order to make the CI to pass.

Hello @MartijnVisser @davidradl Is it OK to keep the driver with 'provide' or 'test' scope here? If not, I may have to remove it and disable other IT cases in order to make the CI to pass.

My thinking is that the CI tests should always pass. It think it is ok to leave test code in the codebase that can be used for local tests - ideally with instructions, but they should not case the CI to fail.

Is it OK to keep the driver with 'provide' or 'test' scope here?

Yes. If we have an enforcer rule that checks if we're not bundling this driver, I think we're safe.

@eskabetxe PTAL

Hi @MartijnVisser @eskabetxe can we continue the review when you have time?

Anyone available please take a look on this.


feat: Goblin Translator  (final part)

This should be the final part of unoptimized Goblin Translator, but there are 2 issues right now that don't allow this to go in:

Compilation of sumcheck relations is broken for some reason. Univariates of different sizes are being added together. It would be great if @codygunton compiled it, because I have no idea why the gen_perm_sort_relation suddenly started using univariates of different sizes (it worked before adding composer files)
Zeromorph prove_with_concatenations and verify_with_concatenations methods have not been updated to use concatenations (because I ran into issue 1). The part 10 PR explored how to add concatenations to Zeromorph in tests but hasn't created final functions to easily call. @ledwards2225 could probably add those, but it is simpler to ping me if 1 is solved.

Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 4c832509 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
222,948
868,268
3,449,504

l1_rollup_execution_gas
842,035
3,595,376
22,204,873

l2_block_processing_time_in_ms
2,268 (-2%)
8,730
34,230 (-1%)

note_successful_decrypting_time_in_ms
347 (+2%)
1,311 (+1%)
4,013

note_trial_decrypting_time_in_ms
48.0 (+12%)
107 (+1%)
136 (-1%)

l2_block_building_time_in_ms
14,543 (-1%)
58,187
232,399 (-1%)

l2_block_rollup_simulation_time_in_ms
13,155 (-1%)
52,708
210,424 (-1%)

l2_block_public_tx_process_time_in_ms
1,347 (+2%)
5,349
21,519

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
25,136 (+3%)
48,923 (+2%)

note_history_successful_decrypting_time_in_ms
2,594 (+4%)
5,058 (+4%)

note_history_trial_decrypting_time_in_ms
122
147

node_database_size_in_bytes
1,630,649
1,098,194

pxe_database_size_in_bytes
27,188
54,187

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
82.7
61,697
18,841

private-kernel-ordering
50.8
24,233
8,089

base-rollup
2,087
656,309
811

root-rollup
89.5 (-2%)
4,072
1,097

private-kernel-inner
59.6 (+1%)
81,504
18,841

public-kernel-private-input
46.9
41,455
18,841

public-kernel-non-first-iteration
29.2
41,497
18,841

merge-rollup
0.870 (-2%)
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
8,723
29,393

replaced by https://github.com/AztecProtocol/aztec-packages/pull/3332 and earlier PRs


Implement matmul 2D tiling for gpt2

Implement matmul 2D tiling for gpt2.
It's faster than the previous version, but seems slower than the CPU.
According to microbenchmarks, the cost of loop unrolling and createKernel is high.
The parameters of matmul-forward are B=4, T=64, C=768 and OC=2304.

Individual

Total(GPU)
184,968 µs

Create Context(GPU)
2,309 µs

Create Tensors(GPU)
1,223 µs

Loop Unrolling(GPU)
65,904 µs

Create Kernel(GPU)
111,024 µs

Calculation(GPU)
4,508 µs

Calculation(CPU)
3,757 µs

Maybe compiling the kernel takes a lot of time, in which case it might be nice to be able to cache the kernel.

I tried a cached kernel, but I get this error:
[error] Device uncaptured error: [CommandBuffer] cannot be submitted more than once.
 - While calling [Queue].Submit([[CommandBuffer]])

The following issues may be related:
https://github.com/gpuweb/gpuweb/issues/4138


Missing tags?

datadog/docker-dd-agent:5.4.0 isn't available but I see the releases here

Also no changelog? does this fix #27? cheers!

Hi @tj,
Thanks a lot for the heads up! Doing it right now. Latest version is currently 5.4.2.
Here is the changelog: https://github.com/DataDog/dd-agent/blob/master/CHANGELOG.md

Hmm tried backport tag again but it seems pretty busted as well with a bunch of:
2015-06-22 21:17:01 UTC | ERROR | dd.collector | checks.docker(__init__.py:556) | Check 'docker' instance #0 failed
Traceback (most recent call last):
  File "/opt/datadog-agent/agent/checks/__init__.py", line 547, in run
    self.check(copy.deepcopy(instance))
  File "/etc/dd-agent/checks.d/docker.py", line 142, in check
    self._process_events(instance, ids_to_names, skipped_container_ids)
  File "/etc/dd-agent/checks.d/docker.py", line 279, in _process_events
    api_events = self._get_events(instance)
  File "/etc/dd-agent/checks.d/docker.py", line 361, in _get_events
    }, multi=True)
  File "/etc/dd-agent/checks.d/docker.py", line 388, in _get_json
    return json.loads(response)
  File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/simplejson/__init__.py", line 505, in loads
    return _default_decoder.decode(s)
  File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/simplejson/decoder.py", line 373, in decode
    raise JSONDecodeError("Extra data", s, end, len(s))
JSONDecodeError: Extra data: line 2 column 1 - line 3 column 1 (char 169 - 337)

Ah wow not sure how I missed that hahaha, I'll try 5.4.2

The build is pending, should be available soon https://registry.hub.docker.com/u/datadog/docker-dd-agent/builds_history/20830/
Also, this looks like a nasty error. Tell me if you get it again with the 5.4.2 tag (with your Docker version).

hmm still getting it, this is docker 1.7, that might be part of it

We are also seeing the same error with datadog-agent 5.4.2:
2015-06-30 12:50:54 UTC | ERROR | dd.collector | checks.docker(__init__.py:678) | Check 'docker' instance #0 failed
Traceback (most recent call last):
  File "/opt/datadog-agent/agent/checks/__init__.py", line 661, in run
    self.check(copy.deepcopy(instance))
  File "/opt/datadog-agent/agent/checks.d/docker.py", line 142, in check
    self._process_events(instance, ids_to_names, skipped_container_ids)
  File "/opt/datadog-agent/agent/checks.d/docker.py", line 279, in _process_events
    api_events = self._get_events(instance)
  File "/opt/datadog-agent/agent/checks.d/docker.py", line 363, in _get_events
    }, multi=True)
  File "/opt/datadog-agent/agent/checks.d/docker.py", line 390, in _get_json
    return json.loads(response)
  File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/simplejson/__init__.py", line 505, in loads
    return _default_decoder.decode(s)
  File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/simplejson/decoder.py", line 373, in decode
    raise JSONDecodeError("Extra data", s, end, len(s))

root@aws-uw1-dev-platform-11:/var/log/datadog# docker --version
Docker version 1.7.0, build 0baf609

===================
Collector (v 5.4.2)
===================

  Status date: 2015-06-30 12:53:11 (4s ago)
  Pid: 17109
  Platform: Linux-3.13.0-53-generic-x86_64-with-debian-jessie-sid
  Python Version: 2.7.10
  Logs: <stderr>, /var/log/datadog/collector.log

  Clocks
  ======

    NTP offset: -0.0005 s
    System UTC time: 2015-06-30 12:53:16.745944

  Paths
  =====

    conf.d: /etc/dd-agent/conf.d
    checks.d: /opt/datadog-agent/agent/checks.d

  Hostnames
  =========

    ec2-hostname: ip-xx-xxx-x-xx.us-west-1.compute.internal
    local-ipv4: xx.xxx.x.xx
    hostname: aws-uw1-dev-platform-11
    local-hostname: ip-xx-xxx-x-xx.us-west-1.compute.internal
    instance-id: i-17eaxxdc
    agent-hostname: aws-uw1-dev-platform-11
    socket-fqdn: aws-uw1-dev-platform-11

  Checks
  ======

    ntp
    ---
      - Collected 0 metrics, 0 events & 1 service check

    docker
    ------
      - instance #0 [ERROR]: 'Extra data: line 2 column 1 - line 61 column 1 (char 135 - 8055)'
      - Collected 42 metrics, 0 events & 2 service checks

    disk
    ----
      - instance #0 [OK]
      - Collected 36 metrics, 0 events & 1 service check

    network
    -------
      - instance #0 [OK]
      - Collected 111 metrics, 0 events & 1 service check

  Emitters
  ========

    - http_emitter [OK]

Thanks for the detailed report!
That's definitively related to the 1.7.0 release. @hkaj could you try it to see if we can provide a hotfix, then ensure our new check won't break?

sure, I'll look into it asap. Thanks for providing the details @rbastian and @tj !

Hi @tj  and @rbastian, the 5.4.3 that went out a few days ago adds a workaround for this bug, so it should work now.
Thanks for your patience!

@hkaj nice thanks! what did the check actually affect? Metrics seemed to still be reported correctly

Indeed, the error comes from a bug in the docker events API.
The JSON it returns is invalid. For now the workaround is to return an empty list when we can't decode the json. Some events may be missing because of that.
The next version of the check will use docker-py which wraps the docker events in a python generator so we won't need this workaround anymore :)


feat: add a CLI tool to validate generation configuration

In this PR:

Add a CLI tool to validate generation config.

How do we plan to use it? I think we can add it to the CI as a required check for every PR, as this should be a very lightweight check.

How do we plan to use it? I think we can add it to the CI as a required check for every PR, as this should be a very lightweight check.

Yes, the check should be finished quickly (~).
I added how to use the check in the description.

I see that library level config is validated in the same way as repo level config now. However, it makes the error message not clear for library level config. e.g. If api-shortname is missing for a specific library, we don't know which library is missing api-shortname from required key {key} not found.

I added a parameter, level, so that library config is shown in the raised exception. Missing a repo level parameter will not print the whole config (existing behavior).

I see that library level config is validated in the same way as repo level config now. However, it makes the error message not clear for library level config. e.g. If api-shortname is missing for a specific library, we don't know which library is missing api-shortname from required key {key} not found.

I added a parameter, level, so that library config is shown in the raised exception. Missing a repo level parameter will not print the whole config (existing behavior).

The main concern is not that we don't know if the config is at library or repo level, the concern is that we don't know which library is missing a config if it's a library level config.

The main concern is not that we don't know if the config is at library or repo level, the concern is that we don't know which library is missing a config if it's a library level config.

When parsing from yaml, we don't know which parameter maybe missing so I think the best we can do is printing the library dict and hopefully some of the values can let us find which library is missing parameter.

Separately I think we should error out on unknown parameters, which I don't think we are doing currently.

I'll address this issue in a follow-up PR.


All parsers now set the year, if the parsed year is 1970 or earlier

Description of Changes
Please check that the PR fulfills these requirements

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
[x] Add a changelog entry (for non-trivial bug fixes / features)
[ ] CI passes

Log Files
Logs / Second
CPU Average (%)
Memory Average (MB)

1
1000
2.8104923
23.736395

1
5000
5.827688
35.09779

1
10000
9.534718
42.463364

1
50000
35.88158
112.75229

1
100000
61.811657
195.96188

10
100
3.4311268
28.011045

10
500
7.482932
33.02896

10
1000
10.810809
42.703125

10
5000
39.77673
96.118

10
10000
74.14846
189.10507

Log Files
Logs / Second
CPU Average (%)
Memory Average (MB)

1
1000
2.2414153
26.573141

1
5000
6.0346465
36.135372

1
10000
9.70715
41.706223

1
50000
36.000835
115.26778

1
100000
63.329685
200.12985

10
100
4.2586927
24.18494

10
500
7.3104677
34.60924

10
1000
11.931399
41.95245

10
5000
42.41487
96.53947

10
10000
74.67486
195.2853


Compile remote function thrift library using cmake

Adding external cmake file that provides a cmake target to compile fbthrift libraries. Had to comment out how the fbthrift symbol is linked until we have proper resolve_dependency() support for fbthrift in our cmake build system.
Using the new cmake target to compile the remote function thrift library. Support for compiling the client and server will come in a follow up PR. Hiding all of this behind a build flag that will be disabled by default.

@pedroerp looks like the builds are failing. Can you ping me when this is ready?

@pedroerp looks like the builds are failing. Can you ping me when this is ready?

For sure. This now depends on us havnig fbthrift available in the CI container, which is why I started poking around #5743. Will ping you when this is good to go.

LGTM. Assuming thrift/wangle dependency support is already baked in our docker images.

It is in the centos image. Thanks!
Cc: @assignUser @majetideepak let me know if you guys have any other thoughts on this one.


Create local dask cluster on covalent start

Start a local dask cluster upon starting covalent
Discuss cli UX with product team

Hey team! Please add your planning poker estimate with ZenHub @kessler-frost @cjao @Emmanuel289