[Bug-8169] [dolphinscheduler-ui] Fix `After you save the workflow, it…

… jumps to the workflow list page`

Purpose of the pull request
Fix After you save the workflow, it jumps to the workflow list page
Brief change log
Modify dag.vue
Verify this pull request
This pull request is already covered by existing tests

Codecov Report

Merging #8198 (192e28d) into dev (aeb7d89) will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #8198      +/-   ##
============================================
+ Coverage     41.37%   41.40%   +0.02%
- Complexity     3798     3801       +3
============================================
  Files           658      658
  Lines         27657    27657
  Branches       3131     3131
============================================
+ Hits          11442    11450       +8
+ Misses        15117    15107      -10
- Partials       1098     1100       +2

Impacted Files
Coverage Δ

...inscheduler/common/task/sqoop/SqoopParameters.java
74.00% <0.00%> (ø)

...he/dolphinscheduler/common/enums/SqoopJobType.java
88.88% <0.00%> (+88.88%)
:arrow_up:

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 aeb7d89...192e28d. Read the comment docs.

#8169

Dear @songjianet , cloud you please help to check this PR?
Thanks very much!


feat: Extract block_reverter into separate crate

What ❔
Extract zksync_core::block_reverter to separate the crate in the node folder
Why ❔
Part of the to "modularize the codebase" process, required for legolizer and publishing on crates.io.
Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.
[ ] Code has been formatted via zk fmt and zk lint.
[ ] Spellcheck has been run via zk spellcheck.
[ ] Linkcheck has been run via zk linkcheck.

Wonder how the reverter will fit into the node framework (it doesn't look like a component), but if it does, I'm all for it.

yeah,.. it's more like a tool..but it lives in zksync_core rn + Igor mentioned it when we discussed modules' extraction with him.


rTorrent: Resolve memory access crash

rTorrent requires the usage of aligned memory access on all platforms (x86 and ARM) to prevent a memory access crash from happening. As such, we need to configure libtorrent with --enable-aligned to enable the feature.
This is also more efficient for CPU usage at the cost of slightly more memory consumption.  However, due to the relatively small usage of memory, all platforms will benefit.
More information can be found here: https://github.com/rakshasa/libtorrent/issues/244

@crazy-max There has been an issue opened #315 about rTorrent segmentation faults during hash checking. This PR might resolve that problem. Could we get this pushed to docker edge, so the user can confirm a resolution or continue testing?


Resurrect the classify branch

while working on changing the silly modules into full classes the branch got corrupted.
Complete the classify process before working on the CLI/Config integration.

The Cli and Config classes have be created from this refactor.  The only module still in the codebase is the prompt_processing module being included in the Main class.


Wrong Shape

can not get the right shape, I set 512x512
parser.add_argument('--img_height', default=512, type=int, help='height of input images')
parser.add_argument('--img_width', default=512, type=int, help='width of input images')

I found my input size has been changed

By default, we first cut out the upper 1/3 part of the input image. Then we randomly resize the width of the image to 1x~1.2x of img_width with the aspect ratio unchanged. After that, the image will be cropped to the target size of (img_height, img_width).
Note that the target size should be divisible by 8 since there are 3 downsampling modules in the encoder. We recommend you to check with the image size as well as the size of the label map along with the transformation step by step to figure out what the problem is.
Hope that it helps, thanks.

The prepross procedure can be concluded as follows:

cut the sky( the above 1/3 of the image)
resize the image to the (araw_height, araw_width), where a can be calcluated by a=r*target_width/raw_width, and r is a random figure in the range 1~1.2
crop the image to the (target_height, target_width) and normalize.

in our dataset, our target image size is 1024*384(after the sky-cutting). as what you have been described, the image would be resize to 1~1.2x``512*192, and then crop to 512*512, but 192<512 and no padding used in our code, so the error occur.
we recommand that you keep the ratio of the height and weight of the raw image(after skt-cutting) or verify the code about transforms, for example, resize the raw image larger.


Restrict dependency versions in gemspec

This restricts the dependency to certain version ranges.

Most of the versions I copied from activemerchant.
I removed json because it is part of the standard library in Ruby 1.9+. We dropped support for Ruby 1.8

@robfoster @RichardBlair

:shipit:


micro crashes when using term on Linux

Description of the problem or steps to reproduce
While using micro, hit Ctrl+E and execute term. The editor crashes with termpanic: runtime error: invalid memory address or nil pointer dereference.
Specifications

Commit hash: c2cebaa3
OS: Solus Linux (also tested on EndeavorOS)
Terminal: bash

Thank you for reporting this. Might be serious enough to make a new release unfortunately.

Soewaht unrelated:
When using Micro under Windows there is still no working term command.
I started to investigate in my PR fork why this is so, and made a first attempt - unfortunately without success.
I see that there is a terminal_supported.go and a terminal_unsupported.go which print an error message when running an unsupported os.
I have tried to include such a rudimentary support and to adjust the compiler directives, but it has not worked yet.
This is astonishing, because the following things also work under windows:
Running commands with run commandname and running a shell command using [ctrl]+[b].
It sholud not be too hard to get a working terminal window in windows too?
Maybe i should open a draft pr to show what i have for now?
But it's still more about exploring the codebase than actually solving the problem. At the moment i limit myself to just getting a cmd to run.
I think a term window in windows should be configurable to set which command processor to use. In windows this is cmd or powershell by default, the common user of an editorx like micro might prefer to use a bash from msys2 or git.

The reason there is no Windows support is because Windows lacks support for pseudo-terminals (there's no pty support). There might be a method by using the Windows ConPTY extension, but I'm not sure how it works. Your best bet might be to get creack/pty to support Windows, since that is the library micro uses under the hood.


[BUG] List markers do not show up correctly

Describe the bug
Odd- and even-numbered list markers do not show up correctly.
Expected behavior
I am using the default settings for list markers, hence the odd-numbered levels should have the dash list marker and the even-numbered levels should have the small black square.
Screenshots

Version [Desktop or Mobile]:
Desktop
Editor
CM6 Editor

Hi! This was due to an obsidian update that changed the name of some classes of the lists, thus rendering the existing code obsolete. I've made a fix that will be in the next release.

This has been fixed. I recommend updating to the latest version of Sanctum! :)


Dirty fix for #4

After some investigating I found out that my R600 sometimes report only 14 bytes data via BT and sometimes it reports 16 bytes. From the code it seems that 16 bytes is the correct payload therefore I put the logic in the if statement. Not sure if this should be the solution, but at least my haas logs are not spammed with millions of exceptions.
Here is an example of malformed payload that my R600 emits:
a5 65 b1 00 01 06 03 02 01 00 00 03 02 77

and here are the correct ones:
a5 65 b1 00 01 08 01 02 64 00 00 00 28 01 56 60
a5 65 b1 00 01 08 01 02 64 00 00 00 27 01 5e 67
a5 65 b1 00 01 08 01 02 64 00 00 00 2a 01 47 73

nice work. This works for much better for me. it reports the sensors and controls much more faster.


[Feature Request] Title Here

Is your feature request related to a problem? Please describe.
For the display of English playlist, change the button on the next page to instructions instead of emojis.
What is your ideal solution to the problem?
For example: Grovy's previous page switch
How would this feature be used?
By text command
Additional Info
No response
Checklist

[X] I have checked the documentation to make sure this feature doesn't already exist
[X] I have searched for similar feature requests
[X] I have confirmed that my requests is not on the list of things that will not be added
[X] I am running the latest version of the bot:

Also, I hope that the list of music I played can be kept in the list after the song is played, and displayed by number

I unfortunately can't decipher what you are trying to say. Could you rephrase your request?

Also, I hope that the list of music I played can be kept in the list after the song is played, and displayed by number

Basically a history list / bag allowing you to find/play played music

Is your feature request related to a problem? Please describe.
For the display of English playlist, change the button on the next page to instructions instead of emojis.
What is your ideal solution to the problem?
For example: Grovy's previous page switch
How would this feature be used?
By text command

The user requested to have text labeling button menus instead of emojis.

Oh, button support. That's going to take a while.


Cannot use -watch with file input

When using the -watch argument, gosass requires -input to be a directory and will fail if -input references a file.
It would be lovely if we could use -watch for files as well. :)

Agreed! Unfortunately I can't get to it in the near-future, but PRs would be happily accepted.


improved readme

Please don't add UTTER USELESS commits for the sake of completing hacktoberfest.  Please make meaningful contributions.


[Bug] TypeScript intellisense doesn't work

Reproducible in vscode.dev or in VS Code Desktop?

[X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[ ] Not reproducible in the monaco editor playground

Monaco Editor Playground Link
https://microsoft.github.io/monaco-editor/playground.html?source=v0.41.0#XQAAAALYAQAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw0FgUyEChknxTyhsOtw_oZuoS-bntDRvUjkOwcRtcHNwKoOpD9hqF1FLGw7nCYILel5cLzQMfYt3mxLaHSv8Y4NtKYwJeDNvJQDMZZBFfNwswgc3TfBQrZYMJx4rLxen4gtBkFX2rnFutOgwHAcV0M_szFptGlNEihDIJgGqXDQNuMXCML2PLTJZrbn7B84_y19Bu-ylW0zd9Imn3N_IcI3zyHauIFhtUIMamWJT0vZsXjzAK6jIIDu7LNHsWetuQeRqnUsZDQmuOSe4vXdBrjCZldhxr0rXji9wcYf413kpAHk9WQnZq3laLRniOM3d7iQ1DLZjSNx5h69Fy8-DsUqU8pCcBe7XcLMdIgfqX_hw
Monaco Editor Playground Code
const value = /* set from `myEditor.getModel()`: */ `let a: number = "hi";`;

const uri = monaco.Uri.file("source.tsx"); // need to have a model that ends on .tsx or we don't get JSX/TSX support
    const model = monaco.editor.createModel(value, "typescript", uri);

  const myEditor = monaco.editor.create(container, {
          model,
          theme: "vs-dark",
		  automaticLayout: true,
        });

Reproduction Steps

Go to playground link above, inspect variable a

Actual (Problematic) Behavior
There's no type-error thrown even though a is a number and assigned to a string
Expected Behavior
The typescript language service starts properly and provides intellisense
Additional Context
I've had this issue ever since I figured out I need to first create a model and then an editor to get TSX/JSX support working and have not had any luck figuring out what's wrong with my code or Monaco in the last few hours

I've noticed a similar issue with json highlighting and auto complete disabled in 0.41.0. My file however, did end with .json so workaround didn't seem to work 😢

This is fixed in the latest dev release.


Use rule_action_override on aws_wafv2_web_acl

The attribute excluded_rule for aws_wafv2_web_acl is deprecated. Therefore replacing with rule_action_override

@jansiwy I found this documentation where they mention the following:

JSON listing: RuleActionOverrides replaces ExcludedRules
If you set rule group rule actions to Count in your web ACL configuration before October 27, 2022, AWS WAF saved your overrides in the web ACL JSON as ExcludedRules. Now, the JSON setting for overriding a rule to Count is in the RuleActionOverrides settings.
When you use the AWS WAF console to edit the existing rule group settings, the console automatically converts any ExcludedRules settings in the JSON to RuleActionOverrides settings, with the override action set to Count.


Add Soundex function

Fixes https://github.com/prestosql/presto/issues/3889

@tooptoop4 I'd love for that function in presto.
are you still working on this?

@JeffryMAC it works, u can take over getting it merged or maintain a local patch


chore: utility snappy wrapper class for code deduplication

coverage: 85.77%. remained the same
when pulling cb08a29a2f1ef7b8b07118a09aaeaa513d9c59c0 on add-simple-wrapper
into 42d2c0109fb35eff45b1baa696fa07dd333d110c on main.


Advancing 0.19.0-rc0 release to status: released

We had to abort rc0 due to breakage in subctt.


Remove iSummaryAuthor and ISummaryCommitter

Description
Remove ISummaryAuthor and ISummaryCommitter as they have never been used. See https://github.com/microsoft/FluidFramework/issues/10456 for more details.
Does this introduce a breaking change?
Yes, technically, public interfaces are being deprecated but since they have never been used in practicality it should not affect users.

Putting off committing this in until next Tuesday to avoid annoying merge conflicts for people reconciling next with main.

@sonalivdeshpande would you please merge this in? I don't have the magical ability to yet!


feat: kong module for testcontainers-go

What does this PR do?

Bump the minimal Go version to 1.20
Refactored code to align with testcontainers-go module recomendations
it moves away from custom image build, as it's possible to place the go plugin into the PATH
renamed fixtures dir to testdata, as the Go toolchain will discard it from packages
created a default config file and add it to the container by default
handled error in tests
added functional options for the most useful optional configurations in the kong container

with kong env vars
with config
with log level
with go plugin

removed skips for short
raise the error in the RunContainer function, not exit with log.Fatal
removed unused customiser, as the functional opts should provide that acabilities
internally call WithKongEnv, even though it can be called from the tests
calculate Kong's URLs just once, so that we can get the real container host in tests

it could be localhost, but also <IP_ADDRESS> when using a remote docker host

bump testcontainers-go to v0.23.0

Why is it important?
Use a standard project layout following testcontainers-go module design
Related issues

Closes #17

Follow-up

Publish the module under https://github.com/testcontainers/community-module-registry/
Add a functional opt to add a WASM plugin, as per https://github.com/Kong/proxy-wasm-go-rate-limiting/pull/1

Merged manually! Thank you @mdelapenya


logo looks bad in dark mode

Steps to reproduce: set "Night theme" in https://github.com/settings/appearance

Please don't close this issue until all repositories have been updated.

@mike-petrov, can you take a look at this one? AFAIR it's fixed for NeoFS repositories now, but not here.

Here is a description of possible solutions: https://github.com/nspcc-dev/neofs-node/issues/614

I'm OK with two PNGs for this.

What do you think of a 1 or 2 pixel border in white?

Argh. That'd be bad. But maybe we can steal the "neo" part in proper color from SVG and then rasterize it properly?

Fixed in #2850.


(misc): add package.json for npm dependencies

Added with commit: https://github.com/DGarvanski/angular-ui-grid-translate/commit/d560ce6abd55164336f70d6ca61f3a33375acf5d


Show Product video in product details page.

In order to get loyal users please a video section in product details page such that user get more clarity on product before purchasing it.

Theme can take care of this.


AttributeError: 'module' object has no attribute 'error'

I have this configuration:

Ubuntu 16.04
ST3 build 3143
Package COntrol version 3.3.0
Emmet v2017.03.23 21:16:14 (installed via package control)

Emmet plugin does not work for me (only last part is expanded on TAB press). So I did a small investigation.
On ST3 start there is an error in the console:
reloading plugin Emmet.emmet-plugin
Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 109, in reload_plugin
    m = importlib.import_module(modulename)
  File "./python3.3/importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "/opt/sublime_text/sublime_plugin.py", line 915, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "emmet-plugin in /home/user/.config/sublime-text-3/Installed Packages/Emmet.sublime-package", line 24, in <module>
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "/home/user/.config/sublime-text-3/Installed Packages/Emmet.sublime-package/emmet/pyv8loader.py", line 20, in <module>
AttributeError: 'module' object has no attribute 'error'

As you can see the problem is in line 20 of pyv8loader.py:
import urllib.error as url_err

So tried to execute some tests in interactive mode from the ST3 console. My first test was to get python version:
>>> import sys; sys.version_info
sys.version_info(major=3, minor=3, micro=6, releaselevel='final', serial=0)

Then I tried to execute line 20 manually:
>>> import sys; import urllib.error as url_err; sys.version_info
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'error'

It does not work. Then I tried with slightly altered line 20 (without as url_err clause):
>>> import sys; import urllib.error; sys.version_info
sys.version_info(major=3, minor=3, micro=6, releaselevel='final', serial=0)

It works. Not sure what does it mean since I'm not big python specialist. I hope this small investigation will help to localize the issue.
P.S: I tried to reinstall Emmet several times but that does not help.

See https://github.com/wbond/package_control/issues/1174

Thanks. As was suggested in the above link removing Installed Packages/0_package_control_loader.sublime-package and restarting ST3 cured my system.


Windows build failing due to missing include header

Build on MSVC fails due to missing decl for memcpy. Line 94 at src/wasm-config.h.in,
#elif COMPILER_IS_MSVC

#define WASM_UNUSED
#define WASM_WARN_UNUSED _Check_return_
#define WASM_INLINE __inline
#define WASM_STATIC_ASSERT(x) _STATIC_ASSERT(x)
#define WASM_UNLIKELY(x) (x)
#define WASM_LIKELY(x) (x)
#define WASM_PRINTF_FORMAT(format_arg, first_arg)

__inline unsigned long wasm_clz_u32(unsigned long mask) {
  unsigned long index;
  _BitScanReverse(&index, mask);
  return sizeof(unsigned long) * 8 - (index + 1);
}

__inline unsigned long wasm_clz_u64(unsigned __int64 mask) {
#if _M_X64
  unsigned long index;
  _BitScanReverse64(&index, mask);
  return sizeof(unsigned __int64) * 8 - (index + 1);
#elif _M_IX86
  unsigned long index;
  unsigned long high_mask;
  memcpy(&high_mask, (unsigned char*)&mask + sizeof(unsigned long),
         sizeof(unsigned long));
  if (_BitScanReverse(&index, high_mask)) {
    return sizeof(unsigned long) * 8 - (index + 1);
  }

  unsigned long low_mask;
  memcpy(&low_mask, &mask, sizeof(unsigned long));
  _BitScanReverse(&index, low_mask);
  return sizeof(unsigned __int64) * 8 - (index + 1);
#else
#error unexpected architecture
#endif
}

Issue is fixed by include <string.h>

I am aware of this issue and am working on various fixes for Windows


⚠ Bofrost.at has degraded performance

In 0988978, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1300 ms

Resolved: Bofrost.at performance has improved in 6a59555.


Use versioned API types from the client-go library

Addressing #2509, wherever possible, use the k8s.io/client-go/kubernetes.Interface type in favor of the client-related types from package  k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset.
Note that the latter are still required by the kubectl "reaper" types used in the "installer" and "kube" packages.

Marking this as in progress because @adamreese appears to be working on it.


Training on lit-llama failed to get convergence

Hi, @Liuhong99
I have integrated Sophia on lit-llama and tested its performance on a subset of red-pajama. For some hyper-parameters it can get convergence and achieve similar of better results then adamw. But for larger learning rate, Sophia failed to get convergence. Have you encounter similar situation? Note that the hessian_norm and hessian_norm2 increases rapidly as the loss stop decreasing. Any clue for what's happening?
Here is the code integrating sophia on lit-llama.
https://github.com/hx-Tang/llama-palyground-thx
I made small adjustment on 'bs' used in .step(). As it's a constant, I set the value when initializing sophia.
Here is the wandb report:
https://api.wandb.ai/links/1998thx/e68qw2yg
i'm using the following hyper-parameters for both adamw and sophia
'''
learning_rate = 4e-4
batch_size = 125
micro_batch_size = 8
weight_decay = 1e-1
beta1 = 0.965
beta2 = 0.99
grad_clip = 1.0
min_lr = 4e-5
hess_interval = 10
rho = 0.02
'''

@hx-Tang would it be hard to check whether the hessian is non-negative when it doesn't converge? I have some suspicions in https://github.com/Liuhong99/Sophia/issues/34

I did not have a chance to try lit-llama.

For some hyper-parameters it can get convergence and achieve similar of better results then adamw. But for larger learning rate, Sophia failed to get convergence.

It's better to increase rho as you use larger learning rate. In the meantime, you can increase weight decay a bit maybe to 0.2.

Note that the hessian_norm and hessian_norm2 increases rapidly as the loss stop decreasing.

Do you know how the win_rate changes in that case?

We still don't have time to investigate in lit-llama, but we will be able to play with Sophia on llama models later this year. Thanks!


Configuration Issue: Not able to suppress 'No information available' notification

Neovim Version :v0.11.0-dev-110+gffbd09ef6
OS: Linux / 6.6.30-2-MANJARO
I've tried suppressing the notification message by setting up a filter in the routes field. However, I still persists.

Configure noice
go to a file and use the LSP hover action on a symbol that has no information.
Notification View pops up

Here's my configuration file.
return {
	"folke/noice.nvim",
	event = "VeryLazy",
	opts = {
		-- add any options here
	},
	dependencies = {
		"MunifTanjim/nui.nvim",
		"rcarriga/nvim-notify",
	},
	config = function()
		require("noice").setup({
			routes = {
				filter = {
					event = "notify",
					find = "No information available",
				},
        opts = {skip = true},
			},
			lsp = {
				-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
				override = {
					["vim.lsp.util.convert_input_to_markdown_lines"] = true,
					["vim.lsp.util.stylize_markdown"] = true,
					["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
				},
			},
			-- you can enable a preset for easier configuration
			presets = {
				bottom_search = true, -- use a classic bottom cmdline for search
				command_palette = true, -- position the cmdline and popupmenu together
				long_message_to_split = true, -- long messages will be sent to a split
				inc_rename = false, -- enables an input dialog for inc-rename.nvim
				lsp_doc_border = true, -- add a border to hover docs and signature help
			},
		})
	end,
}

routes is supposed to be a list. Try
routes = {
  {
    filter = {
      event = "notify",
      find = "No information available",
    },
    opts = {skip = true},
  },
},


[Partial Backport]  Support "." char as user name for User/Orgs in RSS/ATOM/GPG/KEYS path ... (#23874)

Partial Backport #23874

this should fail ... with TestGetUserRss as reason ... after that I'll push the fixes

fix added ... should pass now

blocked by  #23887


Support flatcar

Add flatcar support

Thanks for this @okozachenko1203 - is the plan here to add support to our fork and then get this in as part of @drew-viles's PR upstream (https://github.com/kubernetes-sigs/image-builder/pull/1013) ?

Don't worry, we haven't forgot this - I've just had many other things on my plate.
I'm going to start testing of this PR this afternoon with an aim to get it merged into the PR upstream and hopefully we can start moving forward into getting the whole thing push upstream.


Encrypted key present in ECDH-ES algorithm results in Invalid JWE

Hello, should there be a encrypted key present when using this algorithm ?
According to my readings, this algorithm uses Direct Key Agreement, and when using this it seems that the JWE Encrypted key value should have been empty ? https://datatracker.ietf.org/doc/html/rfc7516#section-5.2 (10)
It's turning out to be a invalid JWE, since in the CEK part we are getting ".AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA." instead of the empty octet ?
Example:
string json = "{\r\n        \"alg\": \"ES256\",\r\n        \"crv\": \"P-256\",\r\n        \"kty\": \"EC\",\r\n        \"use\": \"sig\",\r\n        \"x\": \"OKs1T_4N9Z78RQ87olZ98PW__ROFWL5fw1671XB20zw\",\r\n        \"y\": \"8y5YBG5RY4gK2bObN4Aj5eNmXBoLMrCHKEMwykPSTIg\"\r\n      }";
string payload = "teste";

var descriptor = new PlaintextJweDescriptor(payload)
{
    EncryptionKey = Jwk.FromJson(json),
    EncryptionAlgorithm = EncryptionAlgorithm.Aes256Gcm,
    Algorithm = KeyManagementAlgorithm.EcdhEs
};

var writer = new JwtWriter();
string jwe = writer.WriteTokenString(descriptor);

Console.WriteLine(jwe);

eyJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiRUNESC1FUyIsImVwayI6eyJjcnYiOiJQLTI1NiIsIngiOiJNQnpzbF9VM2ZFemxLMzVvbWh4TjlOd05yRm11ZXlRRGR2WUVxd2hENWtnIiwieSI6Ilc1TnJvZGxvQXdTbHptUjZ3cVAwZjVxRHBEQ2NqM0Y0YXEteUNwS1p5a3cifX0.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.2JvH70MzlecMiZtG.Fy85KTI.dHuw2Cw7_im2TAP_YpKrfQ

Thanks in advance @ycrumeyrolle

Super! Btw observing the descriptor, noticed the json deserialization appears to fail

@greg-signi fixed in https://www.nuget.org/packages/JsonWebToken/1.9.4

Hello, thanks for the reply, although the CEK is empty, the JWT remains an invalid object.. Did you check this on your tests ?

@ycrumeyrolle indeed cek is empty now. Should the jwe generated appear as valid pasting it in jwt.io ?

Jwt.io supports only JWS (3 Base64 parts separated by '.'), not JWE (4 Base64 parts separated by '.')
The issue was that the second part, when it is a direct encryption algorithm, must be an empty part.

I see thanks. Can I decrypt now the JWE with your library using my private key in json, or for that I will need to try and find another way to test the decryption ?
Huge thanks, our client will be happy w/ this fix.

https://github.com/uruk-project/Jwt/blob/35866ddacbdfd85cdd7bde39c015e02449a52946/test/JsonWebToken.Tests/JweEllipticCurveTokenTests.cs#L38-L47
In this example, _bobKey is the private key for decryption.
_signingKey is the signing key for the JWS as payload wrapped within the JWE.
If the Payload is just byte[] or string, the last one is not required.


[Registry Preview] Better preview in data grid like in Regedit

Summary of the Pull Request
This PR updates the data grid in Registry Preview to properly show the data values shown in Registry Editor.

PR Checklist

[X] Closes: https://github.com/microsoft/PowerToys/issues/25118
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[x] Tests: Added/updated and all pass
[X] Localization: All end user facing strings can be localized
[X] Dev docs: No changes needed
[X] New binaries: No changes made
[X] Documentation updated: No changes needed

Detailed Description of the Pull Request / Additional comments
Left: Registry Preview | Right: Registry Editor

Hah: when I saw the screenshots, I thought the goal was to replace the WinUI 3 grid with a LIstView, which made me very conflicted.
In terms of testing this, please revisit all the resolved bugs on the program: there are lots of little things reported by people that wanted the app to be a "creator" rather than an "editor" which uncovered to issues with odd things.  Like trailing comments on data lines or data that crosses over two lines but with added white space.  Made the "parsing" routine a tad larger and convoluted, sort of like using bubble gum to plug holes.
I also assume that multiple languages were included in the testing, in addition to the emoji?  When asked "why aren't you showing text for SZ_MULTI" I replied with NYI and ran away from the question! :)

Would it make sense to support Reg_Multi_Sz multi-line preview in a read-only content Dialog?

Would it make sense to support Reg_Multi_Sz multi-line preview in a read-only content Dialog?

@htcfreek What about showing it in a flyout or tooltip?

Would it make sense to support Reg_Multi_Sz multi-line preview in a read-only content Dialog?

@htcfreek What about showing it in a flyout or tooltip?

@dillydylann
Sounds good. I would prefer zhe flyout. Maybe we could add a glass in the datagrid that opens the flyout.
(Should I open a new issues?)


Add reference to the Related section

Add a note for #374

Also please add " (fixes #374)." to the end of the commit message.


Doc Improvement: goBack key doc improvement

Motivation
The documentation for goBack at
https://reactnavigation.org/docs/navigators/navigation-prop#goBack-Close-the-active-screen-and-move-back is still confusing for people, especially when using goBack FROM key.
See for example the confusion on:
Issue https://github.com/react-community/react-navigation/issues/1213
Solution
This PR will improve the goBack docs.
Test plan
N/A
Code formatting
N/A

Thanks for the feedback @matthamil. Will revised it tomorrow and will let you know if finished.

Hi @matthamil, I have updated wording based on your feedback. Please review it again...

Hi @MaienM, thanks. I have fixed wording as per your suggestion. Seems now ready for final approval. Btw, now we have failing test on all PRs due to #1914

Hi @MaienM / @matthamil, all failing test has been resolved. Ready for final review...

Hi @matthamil, any news for this PR?

@spencercarli this PR seems ready for merge, and does clarify things for newcomees.

This is great! Thanks!


Investigate increase in time to run the Build and test ZOT workflow

Recently we've had to increase maximum execution timeout from 60 minutes to over 70 minutes in the Run build and test step which executes the make target for building and testing zot.
Shortly afterwards another increase to 80 minutes was needed, and a week later (around February 1st) the timeout seems still not enough for certain runs.

Attaching the test execution time as recorded from https://github.com/project-zot/zot/actions/runs/4084763446/jobs/7041855696
See upload below.
test_times.txt
I also noticed The build command starts around 2023-02-03T13:54:27.4478122Z and ends around 2023-02-03T14:02:21.1875185Z, around 8 minutes. Note this is not the first build on this PR, so there is some caching, the first time I looked it was over 10 minutes.
See my other upload below.
build_time.txt

Should we preserve the go mod cache?
https://github.com/magnetikonline/action-golang-cache

We are already caching. The new plugin is just syntactic sugar for the logic we already have - https://github.com/magnetikonline/action-golang-cache/blob/main/action.yaml.
But I did find a bug in caching, like this plugin, we're not taking count of runner architecture, just runner OS.
Current cache is for Linux ARM, that's why it's not working. We'll need to open a PR to fix this.

PRs for reducing test times:

https://github.com/project-zot/zot/pull/1169
https://github.com/project-zot/zot/pull/1170
https://github.com/project-zot/zot/pull/1172
https://github.com/project-zot/zot/pull/1173

Will also working on mocking Trivy as part of https://github.com/project-zot/zot/pull/1178 or a follow up PR.


Cannot convert due to missing frame information

Hi @Cameron-Van-Eck ,
I'm trying to run the following prediction:
    times, RMs, theta = predict.calculate_modulation(
        start_time=start_time.fits,
        end_time=end_time.fits,
        freq_array=freq.to(u.Hz).value,
        telescope_location=predict.get_telescope_coordinates('ASKAP'),
        ra=field_data['RA_DEG'],
        dec=field_data['DEC_DEG'],
        timestep=300.0,
        ionexPath=os.path.join(outdir, 'IONEXdata')
    )

But, I'm getting the following error:
2021-08-06 06:37:17     WARN    MeasIERS::findTab (file /code/measures/Measures/MeasIERS.cc, line 387)  Requested data table TAI_UTC cannot be found in the searched directories:
2021-08-06 06:37:17     WARN    MeasIERS::findTab (file /code/measures/Measures/MeasIERS.cc, line 387)+ /usr/share/casacore/data/ephemerides/
2021-08-06 06:37:17     WARN    MeasIERS::findTab (file /code/measures/Measures/MeasIERS.cc, line 387)+ /usr/share/casacore/data/geodetic/
2021-08-06 06:37:17     SEVERE  MeasTable::dUTC(Double) (file /code/measures/Measures/MeasTable.cc, line 4281)  Cannot read leap second table TAI_UTC
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-13-133da31bf1e9> in <module>
----> 1 times, RMs, theta = predict.calculate_modulation(
      2     start_time=start_time.fits,
      3     end_time=end_time.fits,
      4     freq_array=freq.to(u.Hz).value,
      5     telescope_location=predict.get_telescope_coordinates('ASKAP'),

/group/askap/athomson/miniconda3/envs/spice/lib/python3.8/site-packages/FRion/predict.py in calculate_modulation(start_time, end_time, freq_array, telescope_location, ra, dec, timestep, ionexPath)
     79
     80     #Get RMExract to generate it's RM predictions
---> 81     predictions=RME.getRM(ionexPath=ionexPath, radec=np.deg2rad([ra,dec]),
     82                           timestep=timestep,
     83                           timerange = timerange,

/group/askap/athomson/miniconda3/envs/spice/lib/python3.8/site-packages/RMextract/getRM.py in getRM(MS, server, prefix, ionexPath, earth_rot, timerange, use_azel, ha_limit, use_filter, **kwargs)
    185               flags[station].append(1)
    186             else:
--> 187                az,el = PosTools.getAzEl(pointing,time,position,ha_limit)
    188                if az==-1 and el==-1:
    189                   return

/group/askap/athomson/miniconda3/envs/spice/lib/python3.8/site-packages/RMextract/PosTools.py in getAzEl(pointing, time, position, ha_limit)
    576     if HAS_PYRAP:
    577         if ha_limit==-1000:
--> 578             azel=radec2azel(pointing[0],pointing[1],time=str(time)+'s',pos=position);
    579             az=azel['m0']['value']
    580             el=azel['m1']['value']

/group/askap/athomson/miniconda3/envs/spice/lib/python3.8/site-packages/RMextract/PosTools.py in radec2azel(ra, dec, time, pos)
    401     me.do_frame(p);
    402     #print ("input radec2azel",phasedir,ra,dec,p,t)
--> 403     azel = me.measure(phasedir,'AZELGEO');
    404     return azel;
    405

/group/askap/athomson/miniconda3/envs/spice/lib/python3.8/site-packages/casacore/measures/__init__.py in measure(self, v, rf, off)
    118                 if dq.is_quantity(v[key]):
    119                     v[key] = v[key].to_dict()
--> 120         return _measures.measure(self, v, rf, off)
    121
    122     def direction(self, rf='', v0='0..', v1='90..', off=None):

RuntimeError: Cannot convert due to missing frame information

It looks like some data is missing from casacore, which I installed with conda. Any thoughts on what's going wrong here?

Hi Alec:
I think Wasim had the same issue; it seems to be a problem with RM-extract. The solution he found was to install casa-data (from what I can find online, I think it's as simple as pip install --index-url https://casa-pip.nrao.edu/repository/pypi-casa-release/simple casadata?). I guess that should be added as a dependency. The alternative (I think; I've not tested it) is to go into RMextract's PosTools.py and comment out the first block of trying to import pyrap. That should force it to use pyephem, which seems more reliable.
Cheers,
Cameron

I encountered this problem, and tried the remedy suggested above by Cameron. casadata was successfully installed, but the problem persists. At present I get past it by pip uninstall python-casacore.

Wow this is an old one! Sorry for not coming back earlier. I did get this sorted with a combo of the casadata install and directly downloading the Measures data. What a mess!
It is painful, however, that RMextract has so many ways of doing things. Would be nice to get things cleaner upstream


the tsc implementation's problem?

hi i got the demo code run problem when learning a crash course, and i think it might be a small problem caused by the implementation of tsc
check the follow

[root@test ts]# cat hello.ts
const name = "world"
console.log(`hello, ${name}`)
[root@test ts]# node hello.ts
hello, world
[root@test ts]# tsc hello.ts
../../../.nvm/versions/node/v10.15.0/lib/node_modules/typescript/lib/lib.dom.d.ts:17846:15 - error TS2451: Cannot redeclare block-scoped variable 'name'.

17846 declare const name: never;
                    ~~~~

  hello.ts:1:7
    1 const name = "world"
            ~~~~
    'name' was also declared here.

hello.ts:1:7 - error TS2451: Cannot redeclare block-scoped variable 'name'.

1 const name = "world"
        ~~~~

  ../../../.nvm/versions/node/v10.15.0/lib/node_modules/typescript/lib/lib.dom.d.ts:17846:15
    17846 declare const name: never;
                        ~~~~
    'name' was also declared here.

Found 2 errors.

Name is a property of windows. Use names or _name

Duplicate of #18433.

@nlwy but why the name were in the same scope in my demo files with the included libraries?

@nlwy but why the name were in the same scope in my demo files with the included libraries?

@yunfan Check the compiler options documentation: https://www.typescriptlang.org/docs/handbook/compiler-options.html
Specifically the section about --lib:

Note: If --lib is not specified a default list of libraries are injected. The default libraries injected are:
► For --target ES5: DOM,ES5,ScriptHost
► For --target ES6: DOM,ES6,DOM.Iterable,ScriptHost

In both cases DOM is included, and the DOM library contains the global name property. That is also why your error refers to the lib.dom.d.ts file.

@MartinJohns  thanks for the helpful reply.


VLC audio latency

Windows Version
10.0.22621.2283
WSL Version
Version WSL : <IP_ADDRESS> Version du noyau : <IP_ADDRESS>-1 Version WSLg : 1.0.57 Version MSRDC : 1.2.4485 Version direct3D : 1.608.2-61064218 Version de DXCore : 10.0.25880.1000-230602-1350.main
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
By running vlc from WSL2 with the command :
vlc file.mp3
I heard the audio but a lot of micro cut.
1 second of audio / 1-second blank...
It's very bad, could you improve?
It's not reproduced by running vlc windows directly,
but I need to use the version WSL2/Linux
Expected Behavior
Audio without latency
Actual Behavior
audio/cut/audio/cut/...
Diagnostic Logs
No response

solved with vlc 4.0 daily build
sudo add-apt-repository ppa:videolan/master-daily
sudo apt update
sudo apt upgrade

or the other workaround in the vlc setting ( with the 3.0.16 ) is to disable the option audio "time-stretching audio"


activesupport fails in block in require 'composite_io'

I have this error after installing GEM (via bundler) to rails 4 project
gems/2.1.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require': cannot load such file -- composite_io (LoadError)
rails version => '4.1.5'

@turboMaCk have you tried master branch?

@simonoff same error
here is content of Gemfile.lock
GIT
  remote: https://github.com/dotpromo/nexmos.git
  revision: fa0ab6a8cd6b9daec0362ed8543f127e1aa296fd
  branch: master
  specs:
    nexmos (0.3)
      activesupport (>= 3.0, <= 5.0)
      faraday
      faraday_middleware
      hashie (>= 2.1.0)


Silence unwanted semistandard (eslint) lint-warnings

While messing around with the semistandard lint/formatting tool, I found that because it is just a wrapper around eslint, it is possible to silence unwanted eslint-warnings on a per-file, per-block, and per-line basis as desired. After adding these comments a run of semistandard shows no unwanted warnings, but keeps the exceptions strictly limited only to the areas we want excepted. @GioBonvi: I don't know if you use the eslint-based tool or something else like jshint - but if I remember correctly from the last time I used it, it has almost identical syntax for doing the same things.

There are 2 or 3 warnings in unit-tests file as well which could be silenced in the same way

Wow, the documentation of my vscode plugin does not talk about it, but indeed, being an eslint-based plugin the comments works for me as well!
There are some similar errors in code.gs as well, would you mind applying the same procedure to them?
Thanks

Done (and tested).

Thanks


Cannot read property 'paths' of undefined changing to compile typescript in CI

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Describe the bug
We use Typescript for our lambda functions which we until now have compiled in pre-push hooks before pushing to origin. All our builds/deployments are handled on the Amplify CI so we wanted to move the compilation of Typescript to the CI as well so we don't have to keep compiled js-files in the repo.
Our amplify.yml looked like this:
version: 1
backend:
    phases:
        build:
            commands:
                - amplifyPush --simple
frontend:
    artifacts:
        baseDirectory: ./
        files:
            - "index.html"

For Amplify to be able to push we need to compile typescript before we run amplifyPush so we changed it to:
version: 1
backend:
    phases:
        preBuild:
            commands:
                - npm ci
                - npm run compile-typescript
        build:
            commands:
                - amplifyPush --simple
frontend:
    artifacts:
        baseDirectory: ./
        files:
            - "index.html"
test:
    phases:
        preTest:
            commands:
                - npm ci
        test:
            commands:
                - npm test

The build seems to go through but it fails when starting the caching step with the following error:
2021-04-26T16:27:07.507Z [INFO]: # Completed phase: build 2021-04-26T16:27:07.507Z [INFO]: ## Build completed successfully 2021-04-26T16:27:07.509Z [INFO]: # Starting caching... 2021-04-26T16:27:07.510Z [WARNING]: !TypeError: Cannot read property 'paths' of undefined

We have a package.json on root with typescript and use that to compile the TS in the functions. Any idea about what the issue could be?
Expected behavior
To successfully build
Reproduction steps

Install typescript in the root of the repo
Add the amplify.yml shown in the description above.
Connect the branch and see the build fail

Build Settings
No response
Additional information
No response

At that time we had a issue where if you didn't have a cache section in your buildspec, you might get that error.  We have better error checking now so that should not happen.


Unable to attach to CoreCLR - Error on startup

true is a workaround. This is a known bug in .NET 6 afaik. Now it starts fine :-)


[bug]

Describe the bug
pnpm tauri build
Error Unable to find your web assets, did you forget to build your web app? Your distDir is set to ""../dist"".
Integrated into the project, cannot generate dist directory after building
Reproduction
No response
Expected behavior
No response
Platform and versions
mac os

Stack trace
No response
Additional context
No response

Could you share the project with us?
Also, does this error only show in your IDE/code editor or also when you do tauri dev & tauri build ?
Also please include the full output of the tauri info command in Platform and versions as asked for in the issue template :)

npm run app:build

app:build
yarn tauri build

yarn run v1.22.19
$ /Users/lf/Documents/gpt/gptdidi/node_modules/.bin/tauri build
Running beforeBuildCommand yarn build
$ next build
[Next] build mode standalone

info Creating an optimized production build
info Compiled successfully

./app/utils/localStorage.js
61:1  Warning: Assign object to a variable before exporting as module default  import/no-anonymous-default-export
info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules

info Linting and checking validity of types

info Collecting page data
[    ] - info Generating static pages (0/3)[Lang] failed to detect user lang.
[Lang] failed to detect user lang.
[=   ] - info Generating static pages (2/3)
DEVCTO  https://lanmeidao.com

info Generating static pages (3/3)

info Finalizing page optimization

Route (app)                                Size     First Load JS
┌ ○ /                                      155 kB          233 kB
├ ℇ /api/config                            0 B                0 B
└ ℇ /api/openai/[...path]                  0 B                0 B

First Load JS shared by all              78.6 kB
├ chunks/2443530c-9cc51f969103915a.js    50.5 kB
├ chunks/8139-c2224fd8befc74b3.js        24.8 kB
├ chunks/main-app-54df68be2a530fbb.js    224 B
└ chunks/webpack-4a5474ba0018d92b.js     3.02 kB

Route (pages)                              Size     First Load JS
─ ○ /404                                   182 B          89.6 kB

First Load JS shared by all              89.4 kB
├ chunks/main-4b98ce350163940c.js        86.2 kB
├ chunks/pages/_app-6b94368279a02b5e.js  196 B
└ chunks/webpack-4a5474ba0018d92b.js     3.02 kB

ℇ  (Streaming)  server-side renders with streaming (uses React 18 SSR streaming or Server Components)
○  (Static)     automatically rendered as static HTML (uses no initial props)
   Error Unable to find your web assets, did you forget to build your web app? Your distDir is set to ""../dist"".

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

What do I need to do? Haven't I encountered the same problem before

looks like you have a misconfigured tauri.conf.json, please upload your project to a repo or a minimal repro of it so we can help you further.

{
"$schema"<EMAIL_ADDRESS>"build": {
"beforeBuildCommand": "npm run build",
"beforeDevCommand": "npm run dev",
"devPath": "http://localhost:3000",
"distDir": "../out"
},
"package": {
"productName": "chatgpt-desk",
"version": "0.1.0"
},
"tauri": {
"allowlist": {
"all": false
},
"bundle": {
"active": true,
"category": "DeveloperTool",
"copyright": "",
"deb": {
"depends": []
},
"externalBin": [],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
<EMAIL_ADDRESS>"icons/icon.icns",
"icons/icon.ico"
],
"identifier": "com.tauri.build",
"longDescription": "",
"macOS": {
"entitlements": null,
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null
},
"resources": [],
"shortDescription": "",
"targets": "all",
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": ""
}
},
"security": {
"csp": null
},
"updater": {
"active": false
},
"windows": [
{
"fullscreen": false,
"height": 600,
"resizable": true,
"title": "chatgpt-desk",
"width": 800
}
]
}
}

please share the full project in a public repo

https://github.com/lfcod/gptdidi

The repo is not public, I can't view or clone it

https://github.com/lfcod/gptdi

As expected, you have a misconfigured app, you have a Next.js app which is an SSR framework that needs Node.js to run on the server, but in the case of a tauri app where there is no Node.js runtime, you will need to make a static version of your app using next export, I'd suggest using this tauri-nextjs-template which is already configured to do so.

不能仅通过修改配置完成转化么，如果使用tauri-nextjs-template工作量会比较大，他们是如何做到的呢，这个项目https://github.com/Yidadaa/ChatGPT-Next-Web

Can't we just complete the transformation by modifying the configuration? If we use the tauri nextjs template, the workload will be relatively high. How did they achieve this https://github.com/Yidadaa/ChatGPT-Next-Web


Integration with multiple messengers

At the moment, only integration with slack has been implemented. It would be cool to be able to implement integration with other messengers using some simple interface. For example, I would very much like to see integration with telegram

Duplicated https://github.com/chrisleekr/binance-trading-bot/issues/106


Extend README with GitHub package permission notice

Should no longer be relevant, as the workflows have been updated with a permission section.


The Mount Up macro provided as an example in Token Attacher works, but when the mount moves it throws the mounted actor a few squares away

From Discord:
The Mount Up macro provided as an example in Token Attacher works, but when the mount moves it throws the mounted actor a few squares away... Have you encountered this before?
Complete refresh and removed all attacher data from the scene
Works as I want it on GM clicking mount, throws the token if the player clicks mount
Always throws the token backwards after a player clicks mount - if the player moves the wolf right the player token goes to the left etc
It goes further
If I mount up on the GM account, then the player issues move commands, the token isn't thrown
It's only thrown when the player mounts up then issues move commands

I'm having this issue but it doesn't seem specific to the Mount Up macro.
When a macro first moves a token closer to the one it should attach to (the "mount"), the initial move looks fine but after the attachment they maintain an offset of the original distance between the token and the "mount". I've attached some gifs to demonstrate.

The specific macro I'm using is for attaching 2 specific tokens to each other:
(async () => {     let zym = canvas.scene.tokens.getName('Zym');     let mlemily = canvas.scene.tokens.getName('Mlemily');     ui.chat.processMessage(Come here, ${mlemily.name}!, {speaker:ChatMessage.getSpeaker({actor: zym.actor})});     await new Sequence()         .animation()             .on(mlemily)             .moveTowards(zym)             .duration(500)         .play()     await tokenAttacher.attachElementToToken(mlemily, zym._id, true); })();


Expose XIsNumeric Traits

Hi,
Would it be possible to expose the XIsNumeric traits to the public API? Or otherwise the ConvertibleFromX and ConvertibleToX traits? I am currently trying to write some type classes that extend Numeric[X] but I cannot use your implementations for the various types.
Thank you,
Anthony

What are you trying to achieve? What are your types, and what is the typeclass that extends Numeric[X]?
I often see Spire users extend blanket types such as Numeric or IsReal, ..., where a more restricted (and sounder) typeclass would do.
I would advise against depending on ConvertibleXXX or the XXXIsNumeric stuff because we'd like to put a sounder alternative into place (but when? is the question).

... if you don't mind, join us on Gitter https://gitter.im/non/spire to discuss this further.

@denisrosset Thanks for the advice! I posted some more details on Gitter, as per your advice. :)


Check if exchange.hasFetchTickers (for all symbols)

I've been trying this package and it's awesome, thank you for your effort.
I'm running into an error when trying to get all tickers from all pairs from every exchange. Some exchanges don't allow that.
Do you have a list of the ones that allow or not, oe is it possible to get the info from the markets call?
I'm running a .map with the exchanges, if there was a way to catch the error and keep processing it would be some help.
i tried a filter first to discard the ones that don't allow fetchTickers() but keep getting the error and filter halts.
thanks,
Tiago Vasconcelos

Hi! Thanks for checking it out! We will add an exchange flag to determine if it supports the fetchTickers operation or not. Will update you on this soon!

Ok, we have added a new exchange property hasFetchTickers for this (true or false), so you can check it prior to calling the fetchTickers() method. Also, the method itself will throw a specific NotSupported exception to indicate it is unavailable (described in The Manual: Error Handling section). If that satisfies your needs, let us know. If you still have any other questions, feel free to ask! Thx!

This is available as of 1.4.86+

This is also related to (Batch Fetch Operations) #7

This is how to use it to filter out the exchanges that don't support fetchTickers () method:
await Promise.all (
    ccxt.exchanges
        .filter (id => id != 'xbtce') // some exchanges require the apiKey even for public tickers
        .map (id => ccxt[id]())
        .filter (exchange => exchange.hasFetchTickers)
        .map (exchange => exchange.fetchTickers ()))

Thanks man. This is great, i'll try it out later and get back to you but i guess this solves my problem.

@talvasconcelos If you don't mind, I'm closing this, and if this does not solve your problem, feel free to reopen it please. We will be very thankful for your report! Thanks!


Require kwargs usage for most parameters

The searchbox has lot's of parameters already with new ones being added. It would be good to force kwargs based usage, for clarity and internal structure. Might break some users, so this is sth. for a 0.2.X bump - similar, if people only use lots of args only, the addition of some new parameters (e.g debounce) might have already broken their code.
@wrap_inactive_session
def st_searchbox(
    search_function: Callable[[str], List[Any]],
    *
    placeholder: str = "Search ...",
    ...

added a version of this here: https://github.com/m-wrzr/streamlit-searchbox/pull/61/commits/9a5ecdd39ca492c173630676afcac8b34a53f97b - cutoff before a recently added argument


Installation problems with packages and scripts (update wiki)

I'm following the installation configuration for CentOS7 1804 Minimal installation. Just to precise it's a fresh install of CentOS. No other package has been installed before i start doing the installation of ModSecurity.
While following the installation of the version 3.x, i encounter many problems that are present possibly because of packages that are not listed in the requirements.
There is a list of all the problems i encounter :

Packages needed but not present in the installation process : libtool, automake, autoconf

Errors while executing build.sh :

[root@modsecurity ModSecurity]# ./build.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build'.
libtoolize: copying file `build/libtool.m4'
libtoolize: copying file `build/ltoptions.m4'
libtoolize: copying file `build/ltsugar.m4'
libtoolize: copying file `build/ltversion.m4'
libtoolize: copying file `build/lt~obsolete.m4'
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.

Errors while executing configure :

checking for libpcre config script... no
configure: *** pcre library not found.
configure: error: pcre library is required

But the package pcre is already installed :
[root@modsecurity ModSecurity]# yum install pcre
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.jaleco.com
 * extras: mirrors.mit.edu
 * updates: mirrors.seas.harvard.edu
Package pcre-8.32-17.el7.x86_64 already installed and latest version
Nothing to do

And the package libpcre is not available :
[root@modsecurity ModSecurity]# yum install libpcre
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.jaleco.com
 * extras: mirrors.mit.edu
 * updates: mirrors.seas.harvard.edu
No package libpcre available.
Error: Nothing to do

If you got the answer to these problems, i will update this topic if everything is resolved

@Theoooooo try yum install pcre-devel.

@defanator Thanks for the reply. There is the output of the 2 script after i install pcre-devel :
build.sh :
[root@modsecurity ModSecurity]# ./build.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build'.
libtoolize: copying file `build/libtool.m4'
libtoolize: copying file `build/ltoptions.m4'
libtoolize: copying file `build/ltsugar.m4'
libtoolize: copying file `build/ltversion.m4'
libtoolize: copying file `build/lt~obsolete.m4'
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.

configure :
ModSecurity -  for Linux

 Mandatory dependencies
   + libInjection                                  ....v3.9.2-30-gbf234eb
   + SecLang tests                                 ....5d85f36

 Optional dependencies
   + GeoIP/MaxMind                                 ....found
      * (GeoIP) v1.5.0
         -lGeoIP  , -I/usr/include/
   + LibCURL                                       ....found v7.29.0
      -lcurl  ,  -DWITH_CURL
   + YAJL                                          ....found v2.0.4
      -lyajl  , -DWITH_YAJL
   + LMDB                                          ....not found
   + LibXML2                                       ....found v2.9.1
      -lxml2 -lz -lm -ldl, -I/usr/include/libxml2 -DWITH_LIBXML2
   + SSDEEP                                        ....not found
   + LUA                                           ....found v501
      -llua-5.1 -L/usr/lib64/, -DWITH_LUA -DWITH_LUA_5_1 -I/usr/include

 Other Options
   + Test Utilities                                ....enabled
   + SecDebugLog                                   ....enabled
   + afl fuzzer                                    ....disabled
   + library examples                              ....enabled
   + Building parser                               ....disabled
   + Treating pm operations as critical section    ....disabled

I'm following the other part of the installation and i will come back if there is any errors

@defanator after doing "make install", the libs has been installed at /usr/local/modsecurity/lib
But what to do next ?
I'm following the documentation of the 2.x version for nginx but it tell you to download the standalone version at this link : https://www.modsecurity.org/download.html.
I'm just confused right now of what is the next step ...

Hi @Theoooooo,
There are two different versions of ModSecurity being maintained:

Version 2.x - v2/master
Verison 3.x - v3/master

Version 3 is the best choice for nignx users. In order to have it working with nignx there are two steps that you have to follow. The first step is to install the library. Apparently, you already installed. In the second step, you need to install the nginx connector -
https://github.com/SpiderLabs/ModSecurity-nginx
There are some installation recipes here:
https://github.com/SpiderLabs/ModSecurity/wiki/Compilation-recipes-for-v3.x


Version number in zipped directory name prevents addon from working

The github releases have the scripts contained in a directory with the version number appended which, for me, prevents them working with Blender 2.78's "Install Add-on from File..".
If I rename the directory in the zip to just "Sprytile" it installs and works fine.

I'm not sure I have control over how Github exports the zip files in the tagged releases. The file structure is also probably going to be used for the script updating referenced in issue #20
Current supported upgrade method is to download again from itch.io which is packaged correctly for Blender.


[Feature] Support Python Stored procedure as a way to submit python models

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt-bigquery functionality, rather than a Big Idea better suited to a discussion

Describe the feature
Big Query support running Spark as stored procedure. Link
We can add a new submission method in dbt-bigquery to run python models leveraging it.
Basically dbt would still do jinja templating as current but when submitting the job, it will create/replace a stored procedure, and call it.
There are also some ways to get output from the stored procedure that we might be able to integrate with
Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response

I am trying to follow the tutorial here to create a python stored procedure, and found that I got stuck trying to to create a connection.
On page https://cloud.google.com/bigquery/docs/working-with-connections#bq_1, I am not sure how to create the connection I need to use in stored prodedure.

Talked to BQ team yesterday(thanks) and got a walk-through of how to give access to the the connection account created by BQ.
Will pick this up soon!

hi @ChenyuLInx draft some code here https://github.com/velascoluis/dbt-bigquery/commit/a8249c1532be032acd6dbfb3d6768d86ac1923e6
Can you have a look perhaps?

@velascoluis the change set looks great! I will test it locally today.
Do you want to add some test to get a PR going or do you want us to take it over?

@velascoluis Are there any performance improvements from using Python Stored procs from using Data Procs? I'm trying to understand the differences in the experience and why an user would choose one over the other


Enable Verifying Lists in Django admin

Overview
There are cases where we may want to verify an entire list from a specific contributor, but not the contributor themselves (not all lists from a given contributor are of the same quality). As such, there should be a mechanism to verify at the list level, rather than at the data point or contributor level.
Describe the solution you'd like

Via the Django admin, display a menu to verify lists.
This menu should have a filter for contributors at the top that returns exact matches to search (like this page: https://openapparel.org/admin/api/contributor/)
Selecting a contributor should then bring up a page with all lists contributed by that account with a radio box to check as verified

is_active flags currently exist on Contributor and ExtendedField.
Adding is_active to a list will require updates to the sort logic to take it into consideration.
We should consider whether is_active belongs on the FacilityList or Source.


Terminal loses input after python ran a sub-bash

Type: Bug

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

Version: 1.87.0 (system setup)
Commit: 019f4d1419fbc8219a181fab7892ebccf7ee29a2
Date: 2024-02-27T23:41:44.469Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045
This is a duplicate report of #183419, which has not been fixed within one year and was unjustifiably closed as duplicate.
BTW: I must not install Insiders.
Steps to Reproduce:

create repro.sh:

#!/usr/bin/bash

echo "### $0 ###"

create repro.py

#!/usr/bin/env python3

import subprocess

subprocess.call(['bash', '-c', './repro.sh'])

choice = input(" >> ")
print(choice)

open a terminal for bash
run python repro.py
press Enter

--> nothing happens, terminal must be killed
(Ctrl+D - as mentioned in https://github.com/microsoft/vscode/issues/183419#issuecomment-1562964062 - does not help either. How could it?)
Expected behavior:
The script receives the input and gracefully returns to the Git bash so that further commands can be entered.

does this reproduce in an external terminal?

does this reproduce in an external terminal?

Of course, it works with all kinds of external shells at hand: wt, conhost and Git bash (MinGW64).

In 2022, this used to work in VS Code, too.

/duplicate #205417

This ticket is about the internal terminal, (where Ctrl+C perfectly works), @meganrogge.
That's why I doubt this is a duplicate of the (reproducible) bug #205417.


refactor: enhancing ProjectList.tsx 🪄 ✨

Related Issue
Close #1970
Description

Refactored the ProjectList.tsx Component.
Replaced Github icon with External Link icon.
Implement hover feature for Cards and UI enhancements.

Demonstrating Video
https://github.com/priyankarpal/ProjectsHut/assets/92252895/5d45ea96-32ff-4b25-ac9c-5664f2cf4ebb

The Border could not give visual clue for the User, Who has color disability.
So that i additionally added transform scale to highlight the active element.
Let me know your thoughts @priyankarpal

The Border could not give visual clue for the User, Who has color disability.
So that i additionally added transform scale to highlight the active element.
Let me know your thoughts @priyankarpal

just add the previous hover border effect also,I think we don't need to add scale the project card

Successfully reverted 🔁

After merging this PR make sure to check out this issue #1969,
You can assign that to me once you verified it.


Semicolons are used where a comma should be used

For me, the generated output has ;s instead of ,s to separate object entries which is incorrect and errors.
export type Route =
    | { pathname: "/api/dataset/[datasetId]/[datasetVersion]"; query: Query<{ datasetId: string; datasetVersion: string }> }
    | { pathname: "/api/project/[projectId]/file"; query: Query<{ projectId: string }> }
…

using v0.0.18

Properties are separated by semicolons not commas in TypeScript type declarations https://www.typescriptlang.org/docs/handbook/2/objects.html.

If you share more about the error you’re encountering, I may be able to help point you in the right direction.

Apologies what I thought was an error here was a result of #49


Implementation add clear button to the search component #2686

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
create a clear button for search component and write a test case
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[ ] No need to
[x] Manually (please, describe, if necessary)
[x] Unit checks
[ ] Integration checks
[ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

i remove check for clear icon but search boolean is necessary for search icon and for styled input


feat(feature-toggle-service): removed unleash

MIGRATION CHANGE:
migration-20210913104858- removed unleash schema
BREAKING CHANGE:
removed unleash
Description
Removed unleash from feature-toggle service.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Intermediate change (work in progress)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Performed a self-review of my own code
[ ] npm test passes on your machine
[ ] New tests added or existing tests modified to cover all changes
[ ] Code conforms with the style guide
[ ] API Documentation in code was updated
[ ] Any dependent changes have been merged and published in downstream modules

Test Coverage


WIP: Feature: Incremental sequences, sorting.

Stuck on https://github.com/dfinity/motoko/issues/2789.
Seems related to debug_show on the log.

Unstuck -- the compiler bug that my code witnessed was already fixed; unstuck now by upgrading.


Laravel Linter

This pull request includes changes and recommendations for crafting your application "The Laravel Way". Feel free to commit any additional changes to the shift-54503 branch.
Before merging, you need to:

Checkout the shift-54503 branch
Review all pull request comments for additional changes
Thoroughly test your application

If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

:information_source: Shift noticed you have additional namespaces in your application. You may use the Consolidate Namespaces Shift to simplify your namespaces into the default Laravel App namespace.

:warning: Shift found uses of the old array() syntax. Laravel adopted the short array syntax [] since it became available in PHP 5.4.

:warning: Shift found instances of string based class references. Laravel adopted the ::class static property since it became available in PHP 5.5. You should update your code to use references like App\SomeModel::class instead of strings like 'App\SomeModel'.

:warning: The following files reference Laravel facades through the global namespace. For example, you're referencing \DB or importing use DB. Instead import Illuminate\Support\Facades\DB and reference DB.
While global references are allowed through aliases, you should import the facade explicitly. This can improve clarity not only for developers, but static analysis used by your IDE.

[ ] app/Console/Commands/CreateConfigs.php
[ ] app/Console/Commands/DevInstall.php
[ ] app/Console/Commands/EmailTest.php
[ ] app/Console/Commands/ProcessQueue.php
[ ] app/Cron/Nightly/RecalculateBalances.php
[ ] app/Http/Controllers/Admin/RankController.php
[ ] app/Http/Controllers/Admin/TypeRatingController.php
[ ] app/Http/Controllers/Frontend/AirportController.php
[ ] app/Http/Controllers/Frontend/DownloadController.php
[ ] app/Http/Requests/ImportRequest.php
[ ] app/Repositories/SettingRepository.php
[ ] app/Support/ClassLoader.php

:warning: The following classes do not extend the standard Laravel Model and Controller class. This may add complexity which makes your application harder to upgrade. Often a trait can be used instead of inheritance. You should review the following classes:

[ ] app/Models/Acars.php
[ ] app/Models/Aircraft.php
[ ] app/Models/Airline.php
[ ] app/Models/Airport.php
[ ] app/Models/Award.php
[ ] app/Models/Bid.php
[ ] app/Models/Enums/AcarsType.php
[ ] app/Models/Enums/ActiveState.php
[ ] app/Models/Enums/AircraftState.php
[ ] app/Models/Enums/AircraftStatus.php
[ ] app/Models/Enums/Days.php
[ ] app/Models/Enums/ExpenseType.php
[ ] app/Models/Enums/FareType.php
[ ] app/Models/Enums/FlightType.php
[ ] app/Models/Enums/FuelType.php
[ ] app/Models/Enums/ImportExportType.php
[ ] app/Models/Enums/JournalType.php
[ ] app/Models/Enums/NavaidType.php
[ ] app/Models/Enums/PageType.php
[ ] app/Models/Enums/PirepFieldSource.php
[ ] app/Models/Enums/PirepSource.php
[ ] app/Models/Enums/PirepState.php
[ ] app/Models/Enums/PirepStatus.php
[ ] app/Models/Enums/UserState.php
[ ] app/Models/Expense.php
[ ] app/Models/Fare.php
[ ] app/Models/File.php
[ ] app/Models/Flight.php
[ ] app/Models/FlightField.php
[ ] app/Models/FlightFieldValue.php
[ ] app/Models/Journal.php
[ ] app/Models/JournalTransaction.php
[ ] app/Models/Kvp.php
[ ] app/Models/Ledger.php
[ ] app/Models/Module.php
[ ] app/Models/Navdata.php
[ ] app/Models/News.php
[ ] app/Models/Page.php
[ ] app/Models/Permission.php
[ ] app/Models/Pirep.php
[ ] app/Models/PirepComment.php
[ ] app/Models/PirepFare.php
[ ] app/Models/PirepField.php
[ ] app/Models/PirepFieldValue.php
[ ] app/Models/Rank.php
[ ] app/Models/Role.php
[ ] app/Models/Setting.php
[ ] app/Models/SimBrief.php
[ ] app/Models/SimBriefXML.php
[ ] app/Models/Subfleet.php
[ ] app/Models/Typerating.php
[ ] app/Models/UserAward.php
[ ] app/Models/UserField.php
[ ] app/Models/UserFieldValue.php

:warning: The following controllers contain actions outside of the 7 resource actions (index, create, store, show, edit, update, destroy). For more details, review the docs or watch Cruddy by Design to see if you can rework these into resource controllers.

[ ] app/Http/Controllers/Admin/AircraftController.php
[ ] app/Http/Controllers/Admin/AirportController.php
[ ] app/Http/Controllers/Admin/DashboardController.php
[ ] app/Http/Controllers/Admin/ExpenseController.php
[ ] app/Http/Controllers/Admin/FareController.php
[ ] app/Http/Controllers/Admin/FlightController.php
[ ] app/Http/Controllers/Admin/MaintenanceController.php
[ ] app/Http/Controllers/Admin/ModulesController.php
[ ] app/Http/Controllers/Admin/PirepController.php
[ ] app/Http/Controllers/Admin/RankController.php
[ ] app/Http/Controllers/Admin/SubfleetController.php
[ ] app/Http/Controllers/Admin/Traits/Importable.php
[ ] app/Http/Controllers/Admin/TypeRatingController.php
[ ] app/Http/Controllers/Admin/UserController.php
[ ] app/Http/Controllers/Api/AcarsController.php
[ ] app/Http/Controllers/Api/AirlineController.php
[ ] app/Http/Controllers/Api/AirportController.php
[ ] app/Http/Controllers/Api/FleetController.php
[ ] app/Http/Controllers/Api/FlightController.php
[ ] app/Http/Controllers/Api/MaintenanceController.php
[ ] app/Http/Controllers/Api/PirepController.php
[ ] app/Http/Controllers/Api/StatusController.php
[ ] app/Http/Controllers/Api/UserController.php
[ ] app/Http/Controllers/Frontend/FlightController.php
[ ] app/Http/Controllers/Frontend/PirepController.php
[ ] app/Http/Controllers/Frontend/ProfileController.php
[ ] app/Http/Controllers/Frontend/SimBriefController.php
[ ] app/Http/Controllers/System/ImporterController.php
[ ] app/Http/Controllers/System/InstallerController.php
[ ] app/Http/Controllers/System/UpdateController.php

:warning: Shift detected the following HTTP components using the Request or Input facade to access the request. Within these components you should leverage the request object which is automatically injected to any controller action or Middleware.

[ ] app/Http/Controllers/Admin/Traits/Importable.php

:warning: Shift found inline validation in the following controllers. Unless you require this level of control, you should use a Form Request to encapsulate this validation logic and keep your controller clean. You may automate this conversion with the Laravel Fixer.

[ ] app/Http/Controllers/Admin/FileController.php
[ ] app/Http/Controllers/Admin/FlightController.php
[ ] app/Http/Controllers/Auth/LoginController.php
[ ] app/Http/Controllers/Frontend/ProfileController.php
[ ] app/Http/Controllers/System/InstallerController.php

:warning: Shift detected the following HTTP components accessing the authenticated user through Auth::user(). Within these components, you can access the authenticated user through the request object as well. Doing so limits your dependencies by leveraging objects already available.

[ ] app/Http/Controllers/Admin/DashboardController.php
[ ] app/Http/Controllers/Admin/PirepController.php
[ ] app/Http/Controllers/Api/FlightController.php
[ ] app/Http/Controllers/Api/PirepController.php
[ ] app/Http/Controllers/Api/UserController.php
[ ] app/Http/Controllers/Auth/LoginController.php
[ ] app/Http/Controllers/Frontend/DashboardController.php
[ ] app/Http/Controllers/Frontend/FlightController.php
[ ] app/Http/Controllers/Frontend/PirepController.php
[ ] app/Http/Controllers/Frontend/ProfileController.php
[ ] app/Http/Controllers/Frontend/SimBriefController.php

:warning: Shift found opportunities to use the built-in Blade directives like @auth, @csrf in the following views:

[ ] resources/views/admin/app.blade.php
[ ] resources/views/layouts/default/airports/show.blade.php
[ ] resources/views/layouts/default/app.blade.php
[ ] resources/views/layouts/default/auth/passwords/email.blade.php
[ ] resources/views/layouts/default/nav.blade.php
[ ] resources/views/layouts/default/profile/index.blade.php
[ ] resources/views/system/importer/app.blade.php
[ ] resources/views/system/installer/app.blade.php
[ ] resources/views/system/updater/app.blade.php

:information_source: Shift detected controller namespaces being set in your RouteServiceProvider. Laravel 8 began registering controllers using static class references instead of namespace prefixes and controller names.
You may automate this conversion using the Laravel Fixer or tasks within the Shift Workbench.

:warning: Previous versions of Laravel converted the second argument passed to the query builder orderBy method to desc when not set to asc. Starting with Laravel 5.8, an InvalidArgumentException is throw.
If you were attempting order by multiple columns, you should instead chain multiple calls to orderBy.
Shift detected the following uses of the orderBy() passing a second argument:

[ ] app/Contracts/Repository.php

:warning: Laravel uses PSR-4 autoloading for the app/ folder. While you can configure your application to load these files within composer.json, all files under the app folder should be classes with a PSR-4 compliant namespace.
The following PHP files are missing a namespace:

[ ] app/Database/factories/AcarsFactory.php
[ ] app/Database/factories/AircraftFactory.php
[ ] app/Database/factories/AirlineFactory.php
[ ] app/Database/factories/AirportFactory.php
[ ] app/Database/factories/AwardsFactory.php
[ ] app/Database/factories/ExpenseFactory.php
[ ] app/Database/factories/FareFactory.php
[ ] app/Database/factories/FlightFactory.php
[ ] app/Database/factories/JournalFactory.php
[ ] app/Database/factories/JournalTransactionsFactory.php
[ ] app/Database/factories/NavdataFactory.php
[ ] app/Database/factories/NewsFactory.php
[ ] app/Database/factories/PirepFactory.php
[ ] app/Database/factories/RankFactory.php
[ ] app/Database/factories/RoleFactory.php
[ ] app/Database/factories/SimbriefFactory.php
[ ] app/Database/factories/SubfleetFactory.php
[ ] app/Database/factories/UserFactory.php
[ ] app/Database/migrations/2017_06_07_014930_create_settings_table.php
[ ] app/Database/migrations/2017_06_08_0000_create_users_table.php
[ ] app/Database/migrations/2017_06_08_0001_roles_permissions_tables.php
[ ] app/Database/migrations/2017_06_08_0005_create_password_resets_table.php
[ ] app/Database/migrations/2017_06_08_0006_create_sessions_table.php
[ ] app/Database/migrations/2017_06_08_191703_create_airlines_table.php
[ ] app/Database/migrations/2017_06_09_010621_create_aircrafts_table.php
[ ] app/Database/migrations/2017_06_10_040335_create_fares_table.php
[ ] app/Database/migrations/2017_06_11_135707_create_airports_table.php
[ ] app/Database/migrations/2017_06_17_214650_create_flight_tables.php
[ ] app/Database/migrations/2017_06_21_165410_create_ranks_table.php
[ ] app/Database/migrations/2017_06_23_011011_create_subfleet_tables.php
[ ] app/Database/migrations/2017_06_28_195426_create_pirep_tables.php
[ ] app/Database/migrations/2017_12_12_174519_create_bids_table.php
[ ] app/Database/migrations/2017_12_14_225241_create_jobs_table.php
[ ] app/Database/migrations/2017_12_14_225337_create_failed_jobs_table.php
[ ] app/Database/migrations/2017_12_20_004147_create_navdata_tables.php
[ ] app/Database/migrations/2017_12_20_005147_create_acars_tables.php
[ ] app/Database/migrations/2018_01_03_014930_create_stats_table.php
[ ] app/Database/migrations/2018_01_08_142204_create_news_table.php
[ ] app/Database/migrations/2018_01_28_180522_create_awards_table.php
[ ] app/Database/migrations/2018_02_26_185121_create_expenses_table.php
[ ] app/Database/migrations/2018_02_28_231807_create_journal_transactions_table.php
[ ] app/Database/migrations/2018_02_28_231813_create_journals_table.php
[ ] app/Database/migrations/2018_02_28_232438_create_ledgers_table.php
[ ] app/Database/migrations/2018_04_01_193443_create_files_table.php
[ ] app/Database/migrations/2019_06_19_220910_add_readonly_to_roles.php
[ ] app/Database/migrations/2019_07_16_141152_users_add_pilot_id.php
[ ] app/Database/migrations/2019_08_30_132224_create_notifications_table.php
[ ] app/Database/migrations/2019_09_16_141152_pireps_change_state_type.php
[ ] app/Database/migrations/2019_10_30_141152_pireps_add_flight_id.php
[ ] app/Database/migrations/2020_02_12_141152_expenses_add_flight_type.php
[ ] app/Database/migrations/2020_02_26_044305_modify_airports_coordinates.php
[ ] app/Database/migrations/2020_03_04_044305_flight_field_nullable.php
[ ] app/Database/migrations/2020_03_05_141152_flights_add_load_factor.php
[ ] app/Database/migrations/2020_03_06_141152_flights_add_pilot_pay.php
[ ] app/Database/migrations/2020_03_06_141153_fares_add_type.php
[ ] app/Database/migrations/2020_03_09_141152_increase_id_lengths.php
[ ] app/Database/migrations/2020_03_09_141153_remove_subfleet_type_index.php
[ ] app/Database/migrations/2020_03_11_141153_add_simbrief_table.php
[ ] app/Database/migrations/2020_03_27_174238_create_pages.php
[ ] app/Database/migrations/2020_03_28_174238_airline_remove_nullable.php
[ ] app/Database/migrations/2020_03_28_174238_page_icon_nullable.php
[ ] app/Database/migrations/2020_06_09_141153_pages_add_link.php
[ ] app/Database/migrations/2020_07_21_141153_create_user_fields.php
[ ] app/Database/migrations/2020_09_03_141152_aircraft_add_mtow.php
[ ] app/Database/migrations/2020_09_30_081536_create_modules_table.php
[ ] app/Database/migrations/2020_11_20_044305_modify_pages_size.php
[ ] app/Database/migrations/2020_11_26_044305_modify_download_link_size.php
[ ] app/Database/migrations/2021_01_17_044305_add_hub_to_subfleets.php
[ ] app/Database/migrations/2021_02_10_044305_change_acars_vs_type.php
[ ] app/Database/migrations/2021_02_11_044305_update_sessions_table.php
[ ] app/Database/migrations/2021_02_23_150601_aircraft_add_fuelonboard.php
[ ] app/Database/migrations/2021_02_23_205630_add_sbtype_to_subfleets.php
[ ] app/Database/migrations/2021_03_01_044305_add_aircraft_to_simbrief.php
[ ] app/Database/migrations/2021_03_05_044305_add_kvp_table.php
[ ] app/Database/migrations/2021_03_18_161419_add_disableactivitychecks_to_roles.php
[ ] app/Database/migrations/2021_03_25_213017_remove_setting_removebidonaccept.php
[ ] app/Database/migrations/2021_04_05_055245_flights_add_alphanumeric_callsign.php
[ ] app/Database/migrations/2021_04_10_055245_migrate_configs.php
[ ] app/Database/migrations/2021_05_21_141152_increase_icao_sizes.php
[ ] app/Database/migrations/2021_05_28_165608_remove_setting_simbriefexpiredays.php
[ ] app/Database/migrations/2021_06_01_141152_discord_fields.php
[ ] app/Database/migrations/2021_06_04_141152_discord_private_channel_id.php
[ ] app/Database/migrations/2021_11_23_184532_add_type_rating_tables.php
[ ] app/Database/migrations/2021_11_27_132418_add_hub_to_aircraft.php
[ ] app/Database/migrations/2022_01_10_131604_update_awards_add_active.php
[ ] app/Database/seeds/DatabaseSeeder.php
[ ] app/helpers.php

:warning: Shift found the following config files differ from the defaults. While you are welcome to customize your configuration, you should leverage ENV variables rather than hardcode values. If you find you're adding a lot of configuration options, consider creating a domain specific config file, such as core.php. Both will make app upgrades and deployments easier.

[ ] config/app.php
[ ] config/auth.php
[ ] config/broadcasting.php
[ ] config/cache.php
[ ] config/database.php
[ ] config/filesystems.php
[ ] config/logging.php
[ ] config/mail.php
[ ] config/queue.php
[ ] config/services.php
[ ] config/session.php
[ ] config/view.php

:information_source: As noted, much of the lint detected above can be automatically fixed using the Laravel Fixer. Save yourself time and clean up your codebase quickly with this new Shift.


feat(api-genesis): Add Byron genesis model to API

Closes #241, enabling client-side logic based on information from either genesis. Required for Explorer update.

Byron and Shelley genesis files are actually a lot less uniform than I thought off the top of my head! This can be resolved and passed.


Message search freezing.

Fix memory leak which causes extreme lag leading to a freeze when using message search.
Occurs in the dev-2.0 branch.

Closed in favor of just obliterating the message search window and instead highlighting matched messages

Solved in #104.


Support glTF Specular Glossiness Extension

This PR adds support for the KHR_materials_pbrSpecularGlossiness glTF extension.
I still have to write tests, but I'm opening it now to get some early feedback.
It's currently implemented in processPbrMetallicRoughness.js because it seems implementation-wise the only difference between Metallic Roughness and Specular Glossiness is how the BRDF inputs are computed. It'll check for this extension and modify the relevant part of the shader, keeping the rest of it intact.
Since processPbrMetallicRoughness.js would now be doing both metallic-roughness and specular-glossiness, should it be renamed to something more general like processPbrMaterials.js ? The other option would be to abstract away most of processPbrMetallicRoughness.js into a common class that could be shared. @emackey what do you think?
I added a test model with spec-gloss in Specs/Data/Models/PBR/BoomBoxSpecularGlossiness/. Here's a snippet to test it locally in Sandcastle, and to switch between the metallic-roughness and the specular-glossiness versions of the model.
var viewer = new Cesium.Viewer('cesiumContainer', {
    selectionIndicator : false,
});

viewer.scene.globe.enableLighting = true;
viewer.scene.globe.depthTestAgainstTerrain = true;

var position = new Cesium.Cartesian3(-1371108.1511167218, -5508684.080096612, 2901825);
var heading = Cesium.Math.toRadians(180);
var pitch = Cesium.Math.toRadians(2);
var roll = Cesium.Math.toRadians(-6);
var hpr = new Cesium.HeadingPitchRoll(heading, pitch, roll);
var orientation = Cesium.Transforms.headingPitchRollQuaternion(position, hpr);

var bareGLTF = viewer.entities.add({
    position : position,
    orientation : orientation,
    model : {
        uri : '../../../Specs/Data/Models/PBR/BoomBox/BoomBox.gltf',
        heightReference : Cesium.HeightReference.RELATIVE_TO_GROUND ,
        minimumPixelSize : 512,
        maximumScale : 100,
        scale : 8.0,
        runAnimations : false
    }
});

viewer.trackedEntity = bareGLTF;

var position2 = new Cesium.Cartesian3(-1371100.6511167218, -5508684.080096612, 2901825);

var specGlossGLTF = viewer.entities.add({
    position : position2,
    orientation : orientation,
    model : {
        uri :'../../../Specs/Data/Models/PBR/BoomBoxSpecularGlossiness/BoomBox.gltf',
        heightReference : Cesium.HeightReference.RELATIVE_TO_GROUND ,
        minimumPixelSize : 512,
        maximumScale : 100,
        scale : 8.0,
        runAnimations : false
    }
});

var options = [{
    text : 'glTF',
    onselect : function() {
        viewer.trackedEntity = bareGLTF;
    }
}, {
    text : 'glTF Spec Gloss',
    onselect : function() {
        viewer.trackedEntity = specGlossGLTF;
    }
}];

Sandcastle.addToolbarMenu(options);

For this model, they look identical which I think is intended.

Adding a specularFactor: [1.0, 0.5, 0.5] gives the specular a reddish tone:

For reference, this is how Threejs implements it.
The only other thing is that the spec says:

In addition to the material properties, if a primitive specifies a vertex color using the attribute semantic property COLOR_0, then this value acts as an additional linear multiplier to diffuse.

@lilleyse do you know if this is something that's already handled?

Thanks for the pull request @OmarShehata!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

Very cool @OmarShehata!

In addition to the material properties, if a primitive specifies a vertex color using the attribute semantic property COLOR_0, then this value acts as an additional linear multiplier to diffuse.
@lilleyse do you know if this is something that's already handled?

Yeah we handle that already, for metallic roughness at least - https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/ThirdParty/GltfPipeline/processPbrMetallicRoughness.js#L529

Need to merge in gltf-update-pipeline and resolve conflicts.
Left some comments above, otherwise looks great!

Thanks for the review @emackey, and for the water bottle test case!
It should be all good now. The test cases I added check for being able to render a model when all parameters are provided, when none are provided and when no textures are provided, so it would have caught the shader compile error earlier.
I also renamed the class to processPbrMaterials because I think that better reflects what it does now.

@emackey did you want to give this another look for the new commits? (Biggest change is adding tests and renaming the class).

Sure.  Can't today, will try to carve out time tomorrow.

Thanks Ed! And yeah, I believe those are because the base branch gltf-update-pipeline doesn't have updated tests yet.

And what is needed for AnalyticalGraphicsInc:gltf-update-pipeline to be merged into master?

There was one failing model (CesiumAir.gltf), but we identified the fix in gltf-pipeline and it just needs to be updated back in Cesium. I believe that was the last thing holding up the PR. @ggetz can confirm.

Thanks for the cleanup suggestions @lilleyse ! It should be good to merge now.

@lilleyse have you gotten a chance to look at this yet/see if it's ready to merge?

@lilleyse I simplified that check, but to make it compatible with both glTF 2.0 and 1.0 I had to make sure to check if it's an array vs an object.

@OmarShehata the 2.0 vs 1.0 distinction isn't necessary. The model will always be 2.0 coming into this function.

Ah, that makes it even simpler. Should be good now.

Thanks @OmarShehata!


Preset browser should filter tags

After selecting a preset author, it should only show tags that that author has used

Fixed in 12faebdc58e3dcbda9c94bc369e3edf8a99b2a78


az login: error: cannot import name 'TYPE_CHECKING' on MacOS

Describe the bug
After installing the Azure CLI using homebrew I'm unable to authenticate by doing az login. The CLI prints out the following message:
usage: az login [-h] [--verbose] [--debug]
                [--output {yaml,jsonc,tsv,table,json}] [--query JMESPATH] [-i]
                [--subscription _SUBSCRIPTION] [--username USERNAME]
                [--allow-no-subscriptions] [--password PASSWORD]
                [--use-device-code] [--tenant TENANT] [--service-principal]
az login: error: cannot import name 'TYPE_CHECKING'

To Reproduce

On a MacOS High Sierra 10.13.6 install Azure CLI following the steps in the docs
Run az login in a terminal window

Expected behavior
The CLI should interactively prompt for credentials to authenticate the CLI
Environment summary
Install Method: Homebrew
OS version: MacOS High Sierra 10.13.6 (17G65)
Shell Type: iTerm2 build 3.2.0
CLI version:
azure-cli (2.0.45)

acr (2.1.4)
acs (2.3.2)
advisor (0.6.0)
ams (0.2.3)
appservice (0.2.3)
backup (1.2.1)
batch (3.3.3)
batchai (0.4.2)
billing (0.2.0)
botservice (0.1.0)
cdn (0.1.1)
cloud (2.1.0)
cognitiveservices (0.2.1)
command-modules-nspkg (2.0.2)
configure (2.0.18)
consumption (0.4.0)
container (0.3.3)
core (2.0.45)
cosmosdb (0.2.1)
dla (0.2.2)
dls (0.1.1)
dms (0.1.0)
eventgrid (0.2.0)
eventhubs (0.2.3)
extension (0.2.1)
feedback (2.1.4)
find (0.2.12)
interactive (0.3.28)
iot (0.3.1)
iotcentral (0.1.1)
keyvault (2.2.2)
lab (0.1.1)
maps (0.3.2)
monitor (0.2.3)
network (2.2.4)
nspkg (3.0.3)
policyinsights (0.1.0)
profile (2.1.1)
rdbms (0.3.1)
redis (0.3.2)
relay (0.1.1)
reservations (0.3.2)
resource (2.1.3)
role (2.1.4)
search (0.1.1)
servicebus (0.2.2)
servicefabric (0.1.2)
sql (2.1.3)
storage (2.2.1)
telemetry (1.0.0)
vm (2.2.2)

Python location '/Library/Frameworks/Python.framework/Versions/3.5/bin/python3'
Extensions directory '/Users/fernando/.azure/cliextensions'

Python (Darwin) 3.5.1 (v3.5.1:37a07cee5969, Dec  5 2015, 21:12:44)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]

@williexu, I remember we had a similar report before. Any information to share? I don't think this error is specific to the "login" command

Yep, the standard library typing is missing TYPE_CHECKING was introduced in python 3.5.2.
@fdoxyz you are using 3.5.1, can you update your version of python to something later?

The standard Python install on MacOS was linked by default instead of using the recently installed 3.7.0
@williexu Yes, updating Python fixes the problem. Thanks for the help.


Argparse adoption

Rather than manually writing up handling for each command-line argument, use the in-built argparse library. Fixes #45, and makes most other issues simpler to fix.
Current Issues:

Breaks backwards compatibility. wontfix
Even if given an input file, but not an output file, it will assume you want to build for Docbuilder. Fixed in b6f48ff.
Doesn't seem to create files correctly, so doesn't actually build any documentation. Fixed in 1b45c53.
Tests need re-writing.

New Issue:
Every time getFlags is called, Docbuilder checks to see if the output file exists, and if it does, kills it.
This is temporarily disabled, but may cause problems if the file does exist before Docbuilder is run.

Fixed the inability to clobber files in 1b45c539a729b246b1e86dc857da4c0cb255a993.

b6f48ff fixes it so you don't have to specify an output file, Docbuilder will attempt to guess it.

Some tests still failing. Details.


change doc

Pull Request Test Coverage Report for Build 1292

0 of 0   changed or added relevant lines in 0 files are covered.
12 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.04%) to 62.852%

Files with Coverage Reduction
New Missed Lines
%

core/loadbalancer/filter.go
1
76.6%

eventlistener/loadbalance_event_listener.go
2
66.67%

core/registry/util.go
4
65.63%

core/config/lb_config.go
5
23.68%

Totals

Change from base Build 1291:
-0.04%

Covered Lines:
4937

Relevant Lines:
7855

💛  - Coveralls


Hotfix podcast scraper

Hi @preetvadaliya created fix branch for podcast_scraper as we spoke on the call.

@lukas-varga its looks good to me, I want you to remove first two commits of this branch because that is actually making trouble here, @eloinoel had pushed these commits by mistake.
Don't know what happens to his git history but one of these commit actually adding code again, I talked with him and removed from main branch, but probably you had created sub branch before that so it is still there in your branch.
Note
now main branch is protected so even I can't push anything to main, sorry for these all.
Best,
Preet

Yeah I also maybe put smth in the main accidentally. Would be probably better to show me if possible, maybe tmr in the before noon?

@preetvadaliya Btw would you mind either help me a bit with the podcast scrapper hotfix branch (interactive rebase) or do it instead of me cause I tried it but got lost. I hope it will not be in conflict with the structure change of @EnescuDavid and @eloinoel


Make: ESM and CommonJS release with fallbacks (#63)

Rework releases so they have pre-built binaries
Fallback JS implementations for unsupported hardware

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


Appstudio update test-component-pac-poul

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-poul-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
47 seconds
clone-repository

✅ Succeeded
31 seconds
build-container

✅ Succeeded
18 seconds
inspect-image

✅ Succeeded
21 seconds
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
23 seconds
sbom-json-check

✅ Succeeded
39 seconds
label-check

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
7 seconds
show-summary

Pipelines as Code CI/test-component-pac-poul-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
19 seconds
init

✅ Succeeded
25 seconds
clone-repository

✅ Succeeded
32 seconds
build-container

✅ Succeeded
22 seconds
inspect-image

✅ Succeeded
1 minute
deprecated-base-image-check

✅ Succeeded
19 seconds
clair-scan

✅ Succeeded
59 seconds
clamav-scan

✅ Succeeded
20 seconds
sbom-json-check

✅ Succeeded
17 seconds
label-check

✅ Succeeded
16 seconds
show-summary

✅ Succeeded
7 seconds
show-sbom