Implement Partitioning extension

Ref: https://github.com/cloudevents/spec/blob/master/extensions/partitioning.md

I really would love to see this feature implemented. While you want to keep your messaging platform able to scale horizontally, you sometimes cannot accept parallelized and therefore out-of-order delivery of messages. For example when you want to implement a kind of Event Sourcing, then you need to make sure that state change events for one and the same entity get delivered to the subscriber in the order they were created. Parallel delivery of those messages becomes a real issue. Think about FooUpdated getting delivered earlier than FooCreated with FooUpdated holding only the changed attributes. The message consumer will not know what to do with FooUpdated in that case and instead of relying on the event stream, the consumer would have to perform an active GET of the data from the origin, which is a significant source of complexity and potential errors.
Scenario: event sourcing using partitioning extension

Given that the partitioning extension was implemented in CloudEvent's SDKs
And the message destination is deliberately offline
When sending multiple events with the same partitionkey
And after bringing up the message destination
Then the messages that had the same partitionkey are received sequentially by the message destination, retaining the order of message insertion

That's already implemented in sdk-go v2 for kafka. So when you write a message with kafka it will respect the partitionKey: https://github.com/cloudevents/sdk-go/blob/master/protocol/kafka_sarama/v2/write_producer_message.go#L24
What is missing is the "materizalized struct", but i don't think there is much value here because it's a 1 key/string value. I close it for now and reopen if you think it's valuable to implement the "materialized struct"


Add myself to contributors in README

Could you change the commit message? Adding 'myself' is not very precise

Could you change the commit message? Adding 'myself' is not very precise

Done


Bump Twilio C# helper library to version 5.x

The most relevant change introduced besides bumping the helper library is the introduction of a helper to test the XML endpoints. ShouldReturnXmlResult relies on the ContentResult that is being served instead of a TwiMLResult.
TODO

[x] RequestValidator will be introduced in the next RC of the Twilio C# helper library.
[x] CallResource.Create is not working. I introduced CallResource.CreateAsync which works in the context of an ASP.NET MVC application.

For some reason the next-gen library doesn't work with non US phone numbers.
/cc: @joliveros, @hortega

LGTM
Thank you @acamino!

 I forgot to mention, this bit from the top of the readme 😭

@joliveros, no worries. The requested changes for the README was introduced. Furthermore, I took the liberty to add a Local.config.example to ease the development process, we already had implemented this idea in other tutorials with .env.example and IMHO it works well.
Of course the instructions in the README was updated accordingly.


fixed Travis iOS_DEVICE_NAME target

What's in this pull request?
A change in iOS_DEVICE_NAME for Travis configuration: the constant is now iPad Pro (12.9-inch)
Why merge this pull request?
Without this, the Travis build fails because it doesn't recognize the iPad Pro (12.9 inch) target (without a dash).
What's worth discussing about this pull request?
Are there other things on the Travis configuration that should be changed? I'm not sure about that.
What downsides are there to merging this pull request?

Not sure what else has changed, but I think we should just merge asap to unblock the other pr


Shows blank window on load

when ran in terminal, here is the output.
workbench [main] Starting Workbench workbench [main] Enabling Viewport Meta workbench [main] Disabling Pinch to zoom workbench [main] Disabling Chromium GPU blacklist workbench [main] Production Mode workbench [main] Setting Window Properties workbench [main] Setting Splash Properties workbench [main] Checking for Updates... APPIMAGE env is not defined, current application is not an AppImage workbench [main] Setting up config file workbench [main] Settings are located at /home/thomas/.config/Workbench/Settings {} decoratedKeymaps {} workbench [terminal] Started Terminal Service workbench [scanner] Started Scanner Service workbench [zmq] Started ØMQ Service
is APPIMAGE env is not defined, current application is not an AppImage
a problem?
https://stackoverflow.com/questions/52442650/electron-builder-linux-updates-appimage-env-is-not-defined/52449227

Not sure what you mean by corrupt, as in my install? the build? some
dependencies?
the deb installer package hashes the components and will not allow you to
install if it is corrupt.  I've re-downloaded and reinstalled without avail.
On Mon, Dec 31, 2018 at 9:22 PM Joshua F. Rountree<EMAIL_ADDRESS>wrote:

Sounds corrupt hmmm
--
Joshua F. Rountree
UX Developer
Newsy, The E.W. Scripps Company
312 Walnut Street, Suite 2800, Floor 29th, Office 29W109
Cincinnati, Ohio 45202-4024
(513) 977-3840 (office, M-F, 7a-4p)
(513) 827-7936 (mobile)
Newsy is America’s fastest-growing news network
On Dec 31, 2018, 2:01 PM -0500, reddn<EMAIL_ADDRESS>wrote:

when ran in terminal, here is the output.
workbench [main] Starting Workbench workbench [main] Enabling Viewport
Meta workbench [main] Disabling Pinch to zoom workbench [main] Disabling
Chromium GPU blacklist workbench [main] Production Mode workbench [main]
Setting Window Properties workbench [main] Setting Splash Properties
workbench [main] Checking for Updates... APPIMAGE env is not defined,
current application is not an AppImage workbench [main] Setting up config
file workbench [main] Settings are located at
/home/thomas/.config/Workbench/Settings {} decoratedKeymaps {} workbench
[terminal] Started Terminal Service workbench [scanner] Started Scanner
Service workbench [zmq] Started ØMQ Service
is APPIMAGE env is not defined, current application is not an AppImage
a problem?

https://stackoverflow.com/questions/52442650/electron-builder-linux-updates-appimage-env-is-not-defined/52449227

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openpilot-community/workbench/issues/49#issuecomment-450705422,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADh51jgHdgwKSlsNJ6oKV8htu3cO_S92ks5u-sZ6gaJpZM4Zlm0_
.

Ahh ya Linux is not tested at all... shot in the dark for now unfortunately
--
Joshua F. Rountree
UX Developer
Newsy, The E.W. Scripps Company
312 Walnut Street, Suite 2800, Floor 29th, Office 29W109
Cincinnati, Ohio 45202-4024
(513) 977-3840 (office, M-F, 7a-4p)
(513) 827-7936 (mobile)
Newsy is America’s fastest-growing news network
On Jan 1, 2019, 4:18 PM -0500, reddn<EMAIL_ADDRESS>wrote:

Not sure what you mean by corrupt, as in my install? the build? some
dependencies?
the deb installer package hashes the components and will not allow you to
install if it is corrupt. I've re-downloaded and reinstalled without avail.
On Mon, Dec 31, 2018 at 9:22 PM Joshua F. Rountree<EMAIL_ADDRESS>wrote:

Sounds corrupt hmmm
--
Joshua F. Rountree
UX Developer
Newsy, The E.W. Scripps Company
312 Walnut Street, Suite 2800, Floor 29th, Office 29W109
Cincinnati, Ohio 45202-4024
(513) 977-3840 (office, M-F, 7a-4p)
(513) 827-7936 (mobile)
Newsy is America’s fastest-growing news network
On Dec 31, 2018, 2:01 PM -0500, reddn<EMAIL_ADDRESS>wrote:

when ran in terminal, here is the output.
workbench [main] Starting Workbench workbench [main] Enabling Viewport
Meta workbench [main] Disabling Pinch to zoom workbench [main] Disabling
Chromium GPU blacklist workbench [main] Production Mode workbench [main]
Setting Window Properties workbench [main] Setting Splash Properties
workbench [main] Checking for Updates... APPIMAGE env is not defined,
current application is not an AppImage workbench [main] Setting up config
file workbench [main] Settings are located at
/home/thomas/.config/Workbench/Settings {} decoratedKeymaps {} workbench
[terminal] Started Terminal Service workbench [scanner] Started Scanner
Service workbench [zmq] Started ØMQ Service
is APPIMAGE env is not defined, current application is not an AppImage
a problem?

https://stackoverflow.com/questions/52442650/electron-builder-linux-updates-appimage-env-is-not-defined/52449227

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openpilot-community/workbench/issues/49#issuecomment-450705422,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADh51jgHdgwKSlsNJ6oKV8htu3cO_S92ks5u-sZ6gaJpZM4Zlm0_
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Ill run it in a win vm. It looks like it wants to run in Linux.
On Tue, Jan 1, 2019, 19:43 Joshua F. Rountree<EMAIL_ADDRESS>wrote:

Ahh ya Linux is not tested at all... shot in the dark for now unfortunately
--
Joshua F. Rountree
UX Developer
Newsy, The E.W. Scripps Company
312 Walnut Street, Suite 2800, Floor 29th, Office 29W109
Cincinnati, Ohio 45202-4024
(513) 977-3840 (office, M-F, 7a-4p)
(513) 827-7936 (mobile)
Newsy is America’s fastest-growing news network
On Jan 1, 2019, 4:18 PM -0500, reddn<EMAIL_ADDRESS>wrote:

Not sure what you mean by corrupt, as in my install? the build? some
dependencies?
the deb installer package hashes the components and will not allow you to
install if it is corrupt. I've re-downloaded and reinstalled without
avail.
On Mon, Dec 31, 2018 at 9:22 PM Joshua F. Rountree <
<EMAIL_ADDRESS>wrote:

Sounds corrupt hmmm
--
Joshua F. Rountree
UX Developer
Newsy, The E.W. Scripps Company
312 Walnut Street, Suite 2800, Floor 29th, Office 29W109
Cincinnati, Ohio 45202-4024
(513) 977-3840 (office, M-F, 7a-4p)
(513) 827-7936 (mobile)
Newsy is America’s fastest-growing news network
On Dec 31, 2018, 2:01 PM -0500, reddn<EMAIL_ADDRESS>wrote:

when ran in terminal, here is the output.
workbench [main] Starting Workbench workbench [main] Enabling
Viewport
Meta workbench [main] Disabling Pinch to zoom workbench [main]
Disabling
Chromium GPU blacklist workbench [main] Production Mode workbench
[main]
Setting Window Properties workbench [main] Setting Splash Properties
workbench [main] Checking for Updates... APPIMAGE env is not defined,
current application is not an AppImage workbench [main] Setting up
config
file workbench [main] Settings are located at
/home/thomas/.config/Workbench/Settings {} decoratedKeymaps {}
workbench
[terminal] Started Terminal Service workbench [scanner] Started Scanner
Service workbench [zmq] Started ØMQ Service
is APPIMAGE env is not defined, current application is not an
AppImage
a problem?

https://stackoverflow.com/questions/52442650/electron-builder-linux-updates-appimage-env-is-not-defined/52449227

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/openpilot-community/workbench/issues/49#issuecomment-450705422
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ADh51jgHdgwKSlsNJ6oKV8htu3cO_S92ks5u-sZ6gaJpZM4Zlm0_

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openpilot-community/workbench/issues/49#issuecomment-450769099,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADh51ljFysqVcFRIL5PIGuuIC2w39y3Vks5u_ACngaJpZM4Zlm0_
.

Please try out v0.1.3 and let me know if this is resolved.


Adjust SymResolver::find_addr() to return Result

Finding of symbol information for an address cannot in general possibly be an infallible operation. Adjust its signature accordingly.

Straight forward change; going ahead with the merge.


Define user story for Web3APIs dependencies

Create a user story for how developers would depend upon an external Web3API and use its functionality inside of a new Web3API. For example:

1inch depends on Uniswap
Exchange depends on 0x
1Hive depends on Aragon

This is being done through Web3API imports, see here: https://github.com/Web3-API/prototype/issues/55


rqbit: 3.2.0 -> 4.0.1

Description of changes
Major release, full details here
4.0.0 had build issues on rust 1.7.3/NixOS which were resolved in this issue
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.


chore(deps): update eslint

:tada: This PR is included in version 0.12.9 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Selecting a code action in lsp_code_actions does not execute the selected action

Info

Operating System: Linux dell 5.15.77-1-lts # 1 SMP Thu, 03 Nov 2022 17:26:01 +0000 x86_64 GNU/Linux
Shell: fish, version 3.5.1
Terminal: kitty 0.26.5
nvim --version: NVIM v0.8.2
fzf --version: 0.35.1 (a38b63b)
fzf-lua version: d3c6440

fzf-lua configuration
require("fzf-lua").setup({
	winopts = {
		height = 0.97,
		width = 0.97,
		border = "single",
		preview = {
			scrollbar = false,
			layout = "vertical",
			vertical = "down:65%",
		},
	},
	grep = {
		rg_glob = false,
		glob_flag = "--iglob",
		glob_separator = "%s%-%-",
		actions = {
			["ctrl-f"] = { actions.grep_lgrep },
		},
	},
	keymap = {
		builtin = {
			["<down>"] = "preview-page-down",
			["<up>"] = "preview-page-up",
		},
		fzf = {
			["down"] = "preview-page-down",
			["up"] = "preview-page-up",
		},
	},
})

Description
Selecting a codeaction in fzf-lua-s codeactions window does not execute the action
Steps to reproduce:

Create a code issue (ex.: forget a import in a javascript file)
Move the cursor to the problematic keyword, and type :FzfLua lsp_code_actions
Ideally the LSP server should suggest an action to add the import
Select the Add import from "..." action

Expected: The action is executed
Actual: The action does not do anything
Additional information: vim.lsp.buf.code_action() works

https://github.com/ibhagwan/fzf-lua/commit/859561a4bb447d8cb400daa52c7e3a29600bf0cf - Ty for the report @pure-bliss, should work now!


Add an ENUM setting for disabling rendering "intense" text as bold

Summary of the Pull Request
This adds a new setting intenseTextStyle. It's a per-appearance, control setting, defaulting to "all".

When set to "all" or ["bold", "bright"], then we'll render text as both bold and bright (1.10 behavior)
When set to "bold", ["bold"], we'll render text formatted with ^[[1m as bold, but not bright
When set to "bright", ["bright"], we'll render text formatted with ^[[1m as bright, but not bold. This is the pre 1.10 behavior
When set to "none", we won't do anything special for it at all.

references

I last did this in #10648. This time it's an enum, so we can add bright in the future. It's got positive wording this time.
~We will want to add "bright" as a value in the future, to disable the auto intense->bright conversion.~ I just did that now.
#5682 is related

PR Checklist

[x] Closes #10576
[x] I seriously don't think we have an issue for "disable intense is bright", but I'm not crazy, people wanted that, right? https://github.com/microsoft/terminal/issues/2916#issuecomment-544880423 was the closest
[x] I work here
[x] Tests added/passed
[x] https://github.com/MicrosoftDocs/terminal/pull/381

Validation Steps Performed

Yea that works. Printed some bold text, toggled it on, the text was no longer bold. hooray.
EDIT, 10 Aug
"intenseTextStyle": "none",
"intenseTextStyle": "bold",
"intenseTextStyle": "bright",
"intenseTextStyle": "all",
"intenseTextStyle": ["bold", "bright"],

all work now. Repro script:
printf "\e[1m[bold]\e[m[normal]\e[34m[blue]\e[1m[bold blue]\e[m\n"

When set to "none", we won't. (the pre-1.10 behavior)

This sounds wrong to me. If the long term plan is to allow the choice of "none", "bright", "bold", and "all", then the pre-1.10 behavior is "bright" rather than "none".

This sounds wrong to me. If the long term plan is to allow the choice of "none", "bright", "bold", and "all", then the pre-1.10 behavior is "bright" rather than "none".

Sorry yea, that is a little confusing. Right now, there's only two values that the settings will actually accept - bold and none. none will still do the bright thing that we've always done right now, until we come through and actually add support for the bright setting. Then none will be (not bright, not bold).
I'm not sure I can fiddle with the enum parsing enough in this PR to make it so the only options are some set of bold, bright, and all. Maybe this PR doesn't make any sense at all without also doing the bright setting (though that's harder 😕)

Right now, there's only two values that the settings will actually accept - bold and none.

Maybe I'm not understanding how these mappings work, but if those are the actual values that are going to be saved in the settings file when a user toggles the "Render intense text as bold" option, then surely that setting is guaranteed to be incorrect at some point in the future?
For example, if a user turns this option off (so the setting becomes none), SGR 1 will still show as bright for now, but will eventually stop working altogether. Even when it's turned on, it's going to change from bold+bright to just bold. We're almost certain to receive a whole lot of bug reports when that happens.
If it can't be avoided, so be it. I just wanted to be sure you were aware of the problem. And if I've just misunderstood how it's going to work, sorry for the noise.

none will still do the bright thing that we've always done right now, until we come through and actually add support for the bright setting. Then none will be will be (not bright, not bold).

Yea I agree with @j4james , this change of behavior will result in huge amount of bug reports.

this PR doesn't make any sense at all without also doing the bright setting

Adding the bright setting is likely the correct solution here 😦

shh bot, I'm coming back to this

build failures :(

/azp run


Plugins and print panes

Review the "Plugin Options" panel. It doesn't open.

Fixed on https://github.com/danesc87/kextor/pull/30


feat/55-upgrade-java-version-eai

Description

upgraded eai to java 21
upgrade lombok to 1.18.30. was needed for java compatibility

Reference
Issues #55

LGTM, I guess you executed the tests and ran the application locally. ;)

yes, it all works, but FYI i also bumped the version for jacoco to 0.8.11. In the official release notes for .11 it says "JaCoCo now officially supports Java 21 ". Also the backend also got it on 0.8.11


Question about the equation?

Nice work!
After read the paper. I am confused about the equation in 3.1 MODEL ARCHITECTURE section.
$H_i \in R^{i*dL}$
Does multiplying by Transformer layers $L$ have any special meaning? For CLM, input a prefix of length $i$ and output a matrix (hidden state) of $i * d$.
Do I misunderstood it? Thank you for your reply! : )

Thank you for your interest in our work. There is no special meaning about the transformer layers $L$. Actually, we set the prefix embedding as the last hidden state of the last token, which will be used to compute the logits about the next phrase or token.

Thanks!


Picovoice Documentation Issue: Limitations of Personal Accounts

What is the URL of the doc?
https://picovoice.ai/pricing/
https://github.com/Picovoice/rhino/issues/65
What's the nature of the issue?
I have a non-commercial project in which I am tasked with creating a working product which will be used by individuals. The product I'm tasked to create is a mechanical hand using a raspberry pi that will open and close once someone says "open" or "close". Before the speech command there should be a 'wake word' whose task is to trigger the speech recognition process, this is needed in order to reduce the amount of false positives and reduce the CPU usage which will reduce battery consumption. Thus, your software was great for my needs. Nevertheless, the personal license which is for non-commercial purposes has a few limitation which I wasn't aware of only after spending a day of work on making your product work:

Apparently, you only have a 30 day expiration date on rihno and porcupine files generated via the console.
The porcupine only allows for popular operating systems such as, linux, mac and windows but is restricted for less common operating systems such as that of the raspberry pi.

These limitations (and there might be others I'm not aware of), disallow me to use your software for my project to my sorrow. If you could provide much more clarity on this topic upfront it would waste much less time and energy, and hopefully remove these restrictions for non-commercial usages.

The 30-day expiry is covered in the docs, here. That being said, we are making changes to make the platform more useful for projects such as yours before the end of the year.


Django support

Hi,
thank you for great lib.
However I had no luck to get it working under Django. I tried to put the import into wsgi.py or into specific file, where exception is thrown. No luck.
Any ideas?

@grafa have you try to put in settings.py?

Because Django had handled this. At: https://github.com/django/django/blob/master/django/core/handlers/exception.py#L88

@vanadium23 no, haven't had an opportunity yet.
@the5fire so there is no way to plug in the lib into django?

What happens if you enable settings.DEBUG_PROPAGATE_EXCEPTIONS? I'm not sure how you do that (I've never used Django before) but that will raise the exception.

@grafa  Yes.
When we run django use command: runserver, It was based on Python built-in modules:wsgiref,
Even we set settings.DEBUG_PROPAGATE_EXCEPTIONS config. The wsgiref will handle error.
If you want to get more detail of django exception, I think you can take a look at raven-python.

@grafa U can do some tricky like raven-python: https://docs.sentry.io/clients/python/integrations/django/#integration-with-logging
'sentry': {
            'level': 'ERROR', # To capture more than ERROR, change to WARNING, INFO, etc.
            'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler',    #  **here**
            'tags': {'custom-tag': 'x'},
        },
        'console': {
            'level': 'DEBUG',
            'class': 'logging.StreamHandler',
            'formatter': 'verbose'
        }

combine logging handler with better-exceptions.

@the5fire would #21 help this, then?

👍
Yes, I think this is what  @grafa  want.

Are there any ideas how this can be used with Django out of the box?


Prisma plugin & Cloudflare workers

Hi!  I've been experimenting with Pothos and Prisma on Node and loving it.  Cloudflare workers however is a bit of a challenge due to the lack of globals.  This works and I suppose it's not too bad:
import { createYoga } from 'graphql-yoga'
import { Settings, configure } from "@gspacex/lib-settings";

export default {
  async fetch(request: Request, env: Settings, ctx: ExecutionContext) {
    configure(env);
    const { schema } = await import("@gspacex/lib-graphql");
    const yoga = createYoga<{ env: Env; ctx: ExecutionContext }>({
      schema,
    });
    return yoga.handleRequest(request, { env, ctx });
  },
};

Next I tried to lazily create the prisma client in the builder and in the resolvers so I could do this instead:
import { createYoga } from "graphql-yoga";
import { Settings, configure } from "@gspacex/lib-settings";
import { schema } from "@gspacex/lib-graphql";

const yoga = createYoga<{ env: Env; ctx: ExecutionContext }>({
  schema,
});

export default {
  async fetch(request: Request, env: Settings, ctx: ExecutionContext) {
    configure(env);
    return yoga.handleRequest(request, { env, ctx });
  },
};

However it results in this error:
/home/kurt/Dev/gspacex/node_modules/@pothos/core/src/utils/context-cache.ts:20
    const cacheKey = (context as { [contextCacheSymbol]: object })[contextCacheSymbol] || context;
                      ^
TypeError: Cannot read properties of undefined (reading 'Symbol(Pothos.contextCache)')
    at getRelationMap (/home/kurt/Dev/gspacex/node_modules/@pothos/core/src/utils/context-cache.ts:20:23)
    at SchemaBuilder.prismaObject (/home/kurt/Dev/gspacex/node_modules/@pothos/plugin-prisma/src/schema-builder.ts:29:20)
    at /home/kurt/Dev/gspacex/libs/graphql/src/schema/core.ts:5:9
    at SourceTextModule.evaluate (node:internal/vm/module:224:23)
    at VMScriptRunner.runAsModule (/home/kurt/Dev/gspacex/node_modules/@miniflare/runner-vm/src/index.ts:38:18)
    at VMScriptRunner.run (/home/kurt/Dev/gspacex/node_modules/@miniflare/runner-vm/src/index.ts:82:17)
    at EventTarget.#reload (/home/kurt/Dev/gspacex/node_modules/@miniflare/core/src/index.ts:775:13)

What's odd is that it does work under Node using the same libraries:
import * as dotenv from 'dotenv'
dotenv.config()

import { createServer } from 'http'
import { createYoga } from 'graphql-yoga'

import { configure } from "@gspacex/lib-settings";
configure(process.env)

import { schema } from '@gspacex/lib-graphql'

const yoga = createYoga({
  schema,
});
const server = createServer(yoga)

server.listen(4000, '<IP_ADDRESS>')

Any help or a workaround is appreciated.  Thanks!

Never mind, it turned out Prisma.dmmf  that I was passing to the SchemaBuilder constructor was undefined because I was pulling it from the wrong library.  This fixed it:
//import { Prisma } from '@prisma/client';
import { Prisma } from '@prisma/client/edge';

Keep up the good work!!!

@kfields were you able to get Pothos, Prisma, and CF Workers to play nicely together? Can't seem to get past errors saying that I've exceeded the script startup time. I've tried importing the schema inside the handler but it comes back without any mutations. Curious what your code looks like if it all worked!

@arimgibson , yeah it works but the code might be hard to follow since I made it where it can run under either Node or Workers.
Here's the repo: https://github.com/gspacex/gspacex
Email me if you have any questions

You're the best @kfields; really appreciate it! I had tried to google the package you were importing from the find the code on my own but didn't have any luck. Reading over now; you might've saved me a lot more headache haha


Repository needs a license

A license would help clarify what can and can't be done with your code. MIT is generally used when you don't care what is done with the code. You might also want to clarify that the assets do not fall under the same license.

Thanks for bringing it up!
I added an MIT license to the repository now.


cannot add new events in fresh install of korganizer

Issue description
korganizer starts but it is impossible to add new events (with a fresh install, at least) because it says "Select a valid collection first" when you try, and you can't seem to create a new collection. When I googled this error the first result says to reinstall korganizer, so I am assuming this is a packaging issue.
Technical details
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.30, NixOS, 18.09.2568.1e9e709953e (Jellyfish)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.1.3`
 - channels(marisa): `"nixos-18.09.1819.76aafbf4bf4, nixos-unstable-19.09pre179307.bc94dcf5002, nixpkgs-unstable-19.09pre178895.9ebc6ad944c"`
 - channels(alice): `""`
 - channels(root): `"nixos-18.09.2568.1e9e709953e, unstable-19.09pre179307.bc94dcf5002"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Is kde+korganizer installed from you 18.09 channel or your 19.03 channel? Is korganizer installed system wide, or only for your user?


[stable/dex] fix notes instructions

What this PR does / why we need it:
Instructions in the post install / upgrade notes were not up to date.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @vi7

/ok-to-test
/assign
/lgtm


Possible new login issue

This just started this morning...currently happening on two separate machines.
Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:37:30) [MSC v.1927 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license()" for more information.

=================== RESTART: C:\Python\Powerwall 3\tesla5%.py ==================
Traceback (most recent call last):
File "C:\Python\Powerwall 3\tesla5%.py", line 14, in
asyncio.run(main())
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\asyncio\base_events.py", line 616, in run_until_complete
return future.result()
File "C:\Python\Powerwall 3\tesla5%.py", line 7, in main
energy_sites = await client.list_energy_sites()
File "C:\Python\Powerwall 3\tesla_api_init_.py", line 174, in list_energy_sites
for product in await self.get("products") if "energy_site_id" in product]
File "C:\Python\Powerwall 3\tesla_api_init_.py", line 142, in get
await self.authenticate()
File "C:\Python\Powerwall 3\tesla_api_init_.py", line 130, in authenticate
self._token = await self.get_new_token()
File "C:\Python\Powerwall 3\tesla_api_init.py", line 90, in _get_new_token
redirect_location = resp.headers["Location"]
KeyError: 'Location'

With MFA using old bearer token is still working for TeslaTasks.

AFAIK TeslaTasks connects to a vehicle.  I'm using this on a Powerwall and there is no option for me to setup MFA through the Powerwall app.

You setup MFA on Tesla's website, not via the app.

MFA does not change the fact that the new code has stopped working.

All I can say is that TT experiences no problems, both with actually logging in (using MFA) and using the obtained long lived token.
It seems your error is when obtaining the Location header after the login. You could give my Java implementation a try, if you're up to it, to see if that also has the problem. That is what TT uses.
https://github.com/tbee/teslaApi/blob/main/src/main/java/org/tbee/tesla/TeslaMFALogic.java#L310

Same here. Getting a 403 response.

I've been getting a 500 response since a few weeks now on the request for the factor id's. And have not been able to figure out why. I see that the process is okay (compared to what happens in a browser). The actual commands do still work, it's just the login process.


Feature/improved dockerfiles

.dockerignore now handles making sure unneeded files are not added to image
dockerfile now uses node slim for final image
server-citrine image size reduced from more than 2gb to ~550mb
redundant build commands removed from npm scripts and nodemon.json
DirectusExtension now has its own root files for tsconfig and docker build, so that it can use a different docker context from Server
Some old unused files removed
npm scripts for windows added, old scripts renamed to be unix-specific

All changes look good. We just have to make sure that running docker compose after running node locally, doesnt result in any issues. Other than that, everything looks good


Roll engine ff1bcdc00941..8a465596533d (21 commits)

https://github.com/flutter/engine/compare/ff1bcdc00941...8a465596533d
git log ff1bcdc00941188ba27123a4857b443e3c9392bb..8a465596533d75eb128faab5cd70b60c5e989935 --no-merges --oneline
8a4655965 Route FlutterEventTracer events to Fuchsia tracing for Fuchsia (flutter/engine#8499)
7ce64be6c [scenic] Remove unused mozart.internal (flutter/engine#8496)
edb050f7a Roll src/third_party/skia 2f08a4043b26..0ea414a08208 (2 commits) (flutter/engine#8506)
623dca053 Roll src/third_party/dart b23817105c..cc63d6e647 (8 commits)
c7b138d82 [scenic][SCN-1054] remove dangling uses of SetTranslationRH (flutter/engine#8503)
53620352a Roll src/third_party/dart aacc0b0709..b23817105c (8 commits)
046b3cd28 Get rid of the macro for accessing the current test name. (flutter/engine#8500)
533ca016e Roll src/third_party/skia 6b797fec83f0..2f08a4043b26 (8 commits) (flutter/engine#8501)
612abee90 Wire up support for Dart fixtures in shell_unittests. (flutter/engine#8497)
dbcfc504c Android Embedding PR26: Offer an async version of FlutterMain's ensure initialization complete. (flutter/engine#8465)
a930ca893 Roll src/third_party/dart 8e4dcf48c4..aacc0b0709 (4 commits)
acfc83179 Roll src/third_party/skia 602df41025ea..6b797fec83f0 (19 commits) (flutter/engine#8494)
3558fa65a [Docs] Correcting link to contributing guide. (flutter/engine#8472)
0bf708ee1 Refactor ios play input sound logic. (flutter/engine#7783)
78bd318c9 Add Locale.toLanguageTag() (flutter/engine#8421)
efb3b003f Roll src/third_party/dart 8e0a669e74..8e4dcf48c4 (8 commits)
075b4899d Support ContextWrapper when FlutterView is instantiated within a Fragment. (flutter/engine#7776)
85ca8c485 Roll src/third_party/skia 053b2939938c..602df41025ea (21 commits) (flutter/engine#8492)
a6b8e70ad Remove unused variable (flutter/engine#8490)
377dc6400 Roll src/third_party/dart 86b5304ccd..8e0a669e74 (6 commits)
7ee3a31c5 Roll src/third_party/dart 907c514c89..86b5304ccd (27 commits)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


⚠ Processors has degraded performance

In 63eaab4, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 65 ms

Resolved: Processors performance has improved in fef2071.


What is the minimum python version this codebase requires?

Hi, I am working on bringing in meta-RL into this codebase and re-implementing PEARL here. Since many people are using dennisl88's rand_param_envs, I found that it seems not supporting Python 3.7, but Python 3.5 or Python 3.6.
Could you give me some advice about it?
Is Python 3.6 OK for this codebase as I found out that f-string is only available after Python 3.6?

I'm using Python 3.6.9 and it's totally fine with rlpyt.


[tracking issue] prune deps from Cargo.lock

One of the philosophies I have for dependency management is that each dep in the lockfile should carry its weight: I should be able to explain why every crate is there and what Artichoke uses it for.
Some of the deps can likely be pruned. This ticket tracks work to prune crates from the lockfile.
rand ecosystem
Switch to OsRng which uses the OS-native source of cryptographic random numbers via getrandom and remove CSPRNGs from the lockfile:
Status: Updated and merged 🚀 https://github.com/artichoke/artichoke/pull/2063

https://github.com/artichoke/artichoke/pull/2040
https://github.com/rust-phf/rust-phf/pull/263

chrono-tz slimming
Status: PRs are merged, awaiting release.

https://github.com/chronotope/chrono-tz/pull/103
https://github.com/chronotope/chrono-tz/pull/104
https://github.com/chronotope/chrono-tz/pull/105

lazy_static
Replace all use of lazy_static with the macro-free and more actively maintained once_cell.
Status: Updated and merged 🚀 https://github.com/artichoke/artichoke/pull/2063, dhat in spec-runner pulls in lazy_static, the unicode feature of bstr would as well.

https://github.com/rustwasm/wasm-bindgen/pull/2962
https://github.com/rust-onig/rust-onig/pull/169

this has been done for a while. closing in the absence of more specific asks.


Update bench from Kyber to MlKem.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.41%. Comparing base (96bac5b) to head (17264ca).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #48   +/-   ##
=======================================
  Coverage   93.41%   93.41%
=======================================
  Files           9        9
  Lines        1124     1124
  Branches       96       96
=======================================
  Hits         1050     1050
  Misses         74       74

Flag
Coverage Δ

unittests
93.41% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update version to 1.2.76-0 on staging

Update version to 1.2.76-0

Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers!


[ContainerRegistry] CanUploadAndDownloadLargeBlob failing in nightly runs

ContainerRegistry nightly test runs are failing with:

Error message
System.AggregateException : Retry failed after 4 tries. Retry settings can be adjusted in ClientOptions.Retry or by configuring a custom retry policy in ClientOptions.RetryPolicy.
----> System.Threading.Tasks.TaskCanceledException : The operation was cancelled because it exceeded the configured timeout of 0:01:40. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.
----> System.Threading.Tasks.TaskCanceledException : The operation was cancelled because it exceeded the configured timeout of 0:01:40. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.
----> System.Threading.Tasks.TaskCanceledException : The operation was cancelled because it exceeded the configured timeout of 0:01:40. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.
----> System.Threading.Tasks.TaskCanceledException : The operation was cancelled because it exceeded the configured timeout of 0:01:40. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.
----> System.Threading.Tasks.TaskCanceledException : The operation was canceled.
----> System.Threading.Tasks.TaskCanceledException : The operation was canceled.
----> System.Threading.Tasks.TaskCanceledException : The operation was canceled.
----> System.Threading.Tasks.TaskCanceledException : The operation was canceled.
Stack trace
at Azure.Core.Pipeline.RetryPolicy.d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azure.Core.Pipeline.RetryPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpMessage message, ReadOnlyMemory1 pipeline)
at Azure.Core.Pipeline.HttpPipelineSynchronousPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpMessage message, ReadOnlyMemory1 pipeline)
at Azure.Core.Pipeline.HttpPipelineSynchronousPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpMessage message, ReadOnlyMemory1 pipeline)
at Azure.Core.Pipeline.HttpPipelineSynchronousPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.HttpPipeline.Send(HttpMessage message, CancellationToken cancellationToken) at Azure.Containers.ContainerRegistry.ContainerRegistryBlobRestClient.GetChunk(String name, String digest, String range, CancellationToken cancellationToken) in D:\a\_work\1\s\sdk\containerregistry\Azure.Containers.ContainerRegistry\src\Generated\ContainerRegistryBlobRestClient.cs:line 773 at Azure.Containers.ContainerRegistry.ContainerRegistryContentClient.<DownloadBlobToInternalAsync>d__59.MoveNext() in D:\a\_work\1\s\sdk\containerregistry\Azure.Containers.ContainerRegistry\src\Content\ContainerRegistryContentClient.cs:line 950 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted[T](Task1 task) in D:\a\_work\1\s\sdk\core\Azure.Core\src\Shared\TaskExtensions.cs:line 33 at Azure.Containers.ContainerRegistry.ContainerRegistryContentClient.DownloadBlobTo(String digest, Stream destination, DownloadBlobToOptions options, CancellationToken cancellationToken) in D:\a\_work\1\s\sdk\containerregistry\Azure.Containers.ContainerRegistry\src\Content\ContainerRegistryContentClient.cs:line 851 at Azure.Containers.ContainerRegistry.ContainerRegistryContentClient.DownloadBlobTo(String digest, Stream destination, CancellationToken cancellationToken) in D:\a\_work\1\s\sdk\containerregistry\Azure.Containers.ContainerRegistry\src\Content\ContainerRegistryContentClient.cs:line 825 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at Azure.Core.TestFramework.DiagnosticScopeValidatingInterceptor.<>c__DisplayClass4_01.<<WrapAsyncResultCore>g__Await|0>d.MoveNext() in D:\a\_work\1\s\sdk\core\Azure.Core.TestFramework\src\Instrumentation\DiagnosticScopeValidatingInterceptor.cs:line 120 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask1.get_Result()
at Azure.Core.TestFramework.DiagnosticScopeValidatingInterceptor.<>c__DisplayClass5_0`1.<b__0>d.MoveNext() in D:\a_work\1\s\sdk\core\Azure.Core.TestFramework\src\Instrumentation\DiagnosticScopeValidatingInterceptor.cs:line 171
--- End of stack trace from previous location where excepti

For more details check here:

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2651773&view=results

@jsquire for notification.

Closing as a duplicate of #32948.
@Menghua1: No need to log individual failures for ACR, the team is tracking quality efforts all-up in the linked issue.


Add new content and correct article errors

Text below is machine translated
@yupengcheng0719 commented on Tue Nov 12 2019
Add  to identify version 190 and SQL Server 2019 (15.x), correct the article below for each instance name of SQL Server 2019

文档详细信息
⚠ 请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

ID: b3ca4320-49c8-31a4-84c6-0185ba176216
Version Independent ID: 04a1843f-813d-fe8e-611b-af6ada02ef01
Content: SQL Server 的默认实例和命名实例的文件位置 - SQL Server
Content Source: docs/sql-server/install/file-locations-for-default-and-named-instances-of-sql-server.md
Product: sql
Technology: install
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@srvbpigh commented on Tue Nov 12 2019
Hello, @yupengcheng0719
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

@v-maudel -- Mauricio, thank you for relaying this information.
@MashaMSFT -- Masha, please look into this issue 3559.

Hi @yupengcheng0719 , thank you for contacting Microsoft! Thanks for bringing this to our attention. We have proceed a change to add SQL 2019 to the article, and make the paths version-agnostic.
Hope that helps and please let us know if there is anything else we can do for you? Otherwise we will proceed with closing out the Git Issue in a few business days.
Thanks again for making our docs  better and hope you have a great rest of your day!
Masha from the SQL Docs team


Windows: /bin/sh^M: bad interpreter: No such file or directory

When running build.sh, I get an error bash: ./build.sh: /bin/sh^M: bad interpreter: No such file or directory.
This is not to do with path configuration as far as I can tell; perhaps something odd with the encoding of the file?  I have very limited Docker / WSL experience.
Making a new executable file in the same location with the same text content seems to work fine (although I did need to do a git submodule sync --recursive as well, which should perhaps be mentioned in readme or included in script).

I have the same problem.

I ended up copying the contents of build.sh into another file with a different name and then it mysteriously worked.  Never did get to the bottom of that.
Also reviewing my notes I see that I missed a git submodule sync --revursive at one point.  That got me a working build (although I also changed .gitmodules where it refers to url = ../../chafey/openjpeg.git to have an absolute path, but I don't think that was necessary to make the build work).
Side-note: I also changed a bit of the configuration to gobble a bit less memory and have been quite happily running a little pool of workers.

d'oh I just realised I already included most of that info in my original post.


Added QPS rate limiting mechanism to the binary port. The rate limiti…

…ng mechanism uses sliding window algorithm. Removed "client_request_buffer_size" and "client_request_limit" properties of the "binary_port_server" section. Added "qps_limit" property to said section.

lgtm, just naming nitpicks

bors r+

Related issue is #4913


pinia running Browser extensions not work

Reproduction
no
Steps to reproduce the bug
create Browser extensions project
use pinia in chrome-popup module
not work
Expected behavior
Everything works fine
Actual behavior
error
Additional information
No response

If you want help, open a discussion and provide more information.

如果您需要帮助，请发起讨论并提供更多信息。

ok


chore: fix repository reference

Hi 👋
Thanks for this package. I noticed the links on NPM references to github.com/your-username/tinga. This fixes that :)

Thank for noticing this.
I'm using my template repository when creating libraries: https://github.com/ivandotv/microbundle-template
And I forgot to do a search and replace ( I need to automate this)
I've added a changeset and used link styles from the template as mentioned earlier.


wip: new(ci): enable kernel testing on PRs.

What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area CI
Does this PR require a change in the driver versions?
What this PR does / why we need it:
This PR enables kernel-testing framework on PRs.
I discovered that, for self hosted runners, there is no parallelism: each job's request is enqueued.
The only parallelism would happen if we had multiple self hosted runners under same tags, then the jobs would be distributed among them.
See https://github.com/orgs/community/discussions/26769#discussioncomment-3253321
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

/milestone 0.18.0
NOTE: i want to also add a comment on the PR with the results :)

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, incertum
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Whitespace

I  have recently installed Bookstack to another server, after typing up some information and saving it, the actual view of the page shows a large block of white space but I can not replicate this in the editor mode. How to remove this?

Sorry to see you're having issues with BookStack @ZerGBlunt.
Just to help me diagnose this one, Are you able to reproduce this issue on the BookStack demo site?

Due to the lack of response from the original issue author I will close this.
If this issue remains please feel free to open a new issue, referencing this one.


lite gen for Azure Orbital

Description
Lite gen using latest autorest code.
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

/azp run prepare-pipelines

/azp run java - orbital -ci

/azp run java - orbital - ci

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-orbital


Problems with torrenting ROMs due to network

Hi everyone, we've recently taken the feedback from everyone and made a new release (0.5.5) for AutoROM. In this release, you're able to bypass the requirement for torrenting if you already have the pre-torrented tar available. This should solve all™ of the issues at hand. To use the new release:

Download the tar.gz file from here.
Ensure that AutoROM is up to the latest version pip3 install autorom>=0.5.5.
Install the roms using the pre-installed tar.gz file AutoROM --accept-license --source-file path/to/Roms.tar.gz.

Disclaimer: The Roms.tar.gz are currently hosted on a personal GDrive account. For legal reasons these cannot be hosted on the main github repo. As such, availability of the Roms via GDrive is not guaranteed.

I can not download the tar.gz file, so what should I do?

@xbdeng Updating to AutoROM v0.6.0 should fix this issue:
pip3 install autorom>=0.6.0 -U


[mysql] optimize scan newly added tables feature

In current implemtation, MySqlSourceEnumerator send suspend event to
MySqlSourceReader in start and syncWithReader periodly, there is
a large chance the event sent from start be lost if the
MySqlSourceReader has not been registered.
In this PR, instead of waiting for the suspend event, MySqlSourceReader
suspend the binglog split eagerly by checking the sourceConfig if
there is newly added table, this simplified the MySqlSourceReader logic,
the MySqlSplitReader need not to be told to stop.
We use the flink stop savepoint to take care of the binlogSplit state.
Signed-off-by: 元组<EMAIL_ADDRESS>

This patch also fixed the bug mentioned in #960

We keep the notification mechanism instead of letting the SourceReader detect whether it should be suspended or not, because in the following Flink release, there will be features that support add table on the fly instead of relying restart from savepoint.

When restoring from a checkpoint, both newly added tables and existing tables will be initialized?


Need a Way to Retrieve the URL of the GraphQL and GraphiQL endpoints

Description:
If a user enable a GraphiQL configuration in a service, an endpoint will be established for GraphiQL clients. But the endpoint can be varied in different operating systems. If the endpoint is accessible through the graphql module, it would be convenient for the users to get the correct endpoint.

The requirement is to retrieve the URL of a GraphQL service and GraphiQL client endpoints inside the code so that users can use them.
One main requirement is to log the GraphiQL endpoint URL to the stdout so that users can easily navigate to it. This is supported in major GraphQL implementations.

Depends on #4579


A way to overwrite data without prompt

I have implemented biometric authentication in my app by storing refresh token in biometric storage and met following case. As soon as my app starts, user is prompted to use fingerprint/faceID. Upon success, refresh token is retrieved and exchanged for access token via network request. The problem is that when access token is issued, new refresh token is issued as well and old token is not valid anymore so I have to rewrite it. But if I call write method another biometric prompt shows up which is unacceptable.
So is there a way to overwrite data without prompt or is my flow incorrect?

Your flow is indeed correct, I am facing similar issue
my access token age is 15 minutes, so also the user might be using the app & suddenly a biometric auth is requested to read the refresh token!
the duration between reading, refreshing & writing the new refresh token might be passed to authenticationValidityDurationSeconds: 60 this is supposed to keep the file open for a minute (a minute to handle slow internet)
but the scenario I mentioned above, I could not find a workaround for it!

Thank you for your response. I have somehow missed authenticationValidityDurationSeconds parameter, otherwise I would not face my issue.
Right now, as a workaround, we are storing token in secure storage and using biometric authentication only for authentication. It works, but the issue here is that biometric entrance does not add additional security layer, it serves simply as a quick login method

i don't think this is possible.. because to write data you have to retrieve the encryption key which can only be done by authenticating the user.. The only way I could think of is doing your own encryption.. ie. storing an encryption key in biometric storage and keep it in memory for the whole duration of your app's lifecycle..
but I don't think that a "normal" refresh tokens require an additional biometric security layer..
if you only need to overwrite it on app start (because i'd assume the refresh token is long-living anyway?) authenticationValidityDurationSeconds would be the right approach imho..
although it would probably be worth improving "unauthenticated" storage options.. for storage without biometric protection the plugin currently uses the defaults.. which on iOS means the device has to be unlocked in order to access the data, while on Android the default seems to allow access at all times..


Selecting an option in kendo-combo-box

I am having trouble selecting a kendo combobox selection using angular js. The best way i can tell to change the value is to set the model.batch.type on the controller, but i don't know how to do that. I have messed around with executing a script to do it but have had no luck. Any help would be appreciated.

    Type
    <input id="type" class="col-sm-1 no-padding" kendo-combo-box data-ng-model="model.batch.type"
           k-data-text-field="'name'" k-data-value-field="'id'" k-data-source="model.batchTypes"/>
    Size
    <input type="text" id="size" name="size" class="col-sm-1 k-textbox" ng-required="true" data-ng-
model="model.batch.size"/>

        <input type="checkbox" data-ng-model="model.barCodePrint" checked/> Print Batch Barcode

    <button type="button" class="btn" ng-click="cancel()">Cancel</button>
    <input type="submit" class="btn btn-primary" ng-disabled="createBatchForm.$invalid"
           value="Create"/>

I am trying to select an option in the second input with id='type'.

Please read the contributing guidelines; these types of questions are ill-suited for GitHub. Thanks!


ListStyle plugin doesn't show up but all others are shown

It looks like the problem is only with the ListStyle, because if I add a CodeSnippet or something, the plugin button is visible in the editor. I also found this unclosed question  on StackOverflow, where discribed exact same problem.
My current config:
CKEDITOR_CONFIGS = {
    'default': {
        'format_tags': 'h3;h4;h5',
        'stylesSet': [
            { 'name': 'Выделение текста', 'element': 'span', 'styles': { 'background-color': 'rgb(0, 72, 154)', 'color': 'white' } }
        ],
        'toolbar': [
            ['Image'],
            ['Format'],
            ['Styles'],
            ['Blockquote'],
            ['Bold', 'Underline', 'Strike'],
            ['NumberedList', 'BulletedList', 'ListStyle', 'CodeSnippet'],
            ['Link', 'Unlink'],
            ['HorizontalRule', 'SpecialChar'],
            ['Button'],
        ],
        'extraPlugins': ','.join([
            'liststyle',
            'codesnippet',
        ]),
    },
}

So CodeSnippet is visible, but ListStyle is absent.

Also i noticed absent of success static uploading when i open Django CKEditor first time in clear browser. As you can see, static files for CodeSnippet responsed with 200, but for ListStyle - nothing
[21/Jun/2023 16:45:39] "GET /static/ckeditor/ckeditor/plugins/codesnippet/plugin.js?t=M6K9 HTTP/1.1" 200 3824
[21/Jun/2023 16:45:39] "GET /static/ckeditor/ckeditor/plugins/scayt/dialogs/dialog.css?t=M6K9 HTTP/1.1" 200 419
[21/Jun/2023 16:45:39] "GET /static/ckeditor/ckeditor/plugins/tableselection/styles/tableselection.css?t=M6K9 HTTP/1.1" 200 1145
[21/Jun/2023 16:45:39] "GET /static/ckeditor/ckeditor/plugins/codesnippet/lang/ru.js?t=M6K9 HTTP/1.1" 200 423
[21/Jun/2023 16:45:39] "GET /static/ckeditor/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css?t=M6K9 HTTP/1.1" 200 381
[21/Jun/2023 16:45:39] "GET /static/ckeditor/ckeditor/plugins/dialog/styles/dialog.css?t=M6K9 HTTP/1.1" 200 249
[21/Jun/2023 16:45:39] "GET /static/ckeditor/ckeditor/plugins/copyformatting/styles/copyformatting.css?t=M6K9 HTTP/1.1" 200 1511
[21/Jun/2023 16:45:39] "GET /static/ckeditor/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js HTTP/1.1" 200 30179
[21/Jun/2023 16:45:39] "GET /static/ckeditor/ckeditor/skins/moono-lisa/icons.png?t=445cf24ebd HTTP/1.1" 200 12237
[21/Jun/2023 16:45:39] "GET /static/ckeditor/ckeditor/plugins/codesnippet/icons/codesnippet.png?t=M6K9 HTTP/1.1" 200 597
[21/Jun/2023 16:45:39] "GET /static/ckeditor/ckeditor/contents.css?t=M6K9 HTTP/1.1" 200 3092
[21/Jun/2023 16:45:39] "GET /static/ckeditor/ckeditor/plugins/codesnippet/lib/highlight/styles/default.css?t=M6K9 HTTP/1.1" 200 2804

Its acually work as context menu on Right Click on Unordered List, not as additional button next to UL button 💨


Don't show "does not appear to be a raster type" warning if the file-type is unknown

...this can be confusing to users.

Do you happen to remember a URL that triggers this? I tried a few likely suspects but couldn't find anything that has a vector logo. (Also, it looks like the error message has been updated to include examples of the sort of files types that are accepted so maybe that resolves the concern?)

Not really. I think it was an URL without file extension.


Allow passing ng-* attributes when using the formBuilderOption directive

This fixes a problem where passing ng-min or ng-required fails because of the normalization AngularJS applies to attribute names

@travist Could we include this in the next release?

Yes, this will be pulled into the next release. We will get the process started on that probably tomorrow.

Also added a commit to fix https://github.com/formio/ngFormBuilder/issues/289


Introduce a concept of inboxes

Problem
As we add support for multiple channels like SMS, support emails, shared Slack channels, live chats, etc., we need a way to make it easier for users to view conversations based on the channels to better manage them.
For example, live chats are a bit more time sensitive than channels like SMS, emails, etc. By separating the inboxes and making it easy to see which ones have unread messages, users can more easily manage which ones they reply to.
In the future, we'll also want users to be able to create multiple inboxes that use the same channels. For example, a user might have two chat widgets, one on the landing page and one in their app, which should direct messages to two different live chat inboxes.
Solution
Our goal is to have a separate inbox per channel. For the v0 implementation, I want to do the simplest thing possible:
Frontend

Create a submenu in the navigation that with menu items for each channel (e.g. email, slack, chat). Instead of /conversations/all, we'll follow a format of /conversations/<source> (e.g. /conversations/slack, /conversations/email, /conversations/chat).
Re-use the ConversationDashboard component used for /conversations/all, extend it to accept the source, and pass the source value to the server when querying for conversations.

Backend

Update conversation_controller.ex#index to make use of the source to filter the results.

Describe alternatives you've considered
No other alternatives considered, but open to suggestions.
Testing
This will be tested by creating multiple conversations with varying sources, navigating to each inbox, and verifying that the conversations are rendered in the correct inboxes.
Questions, or need help getting started?
Feel free to ask below, or ping us on Slack :)
(You can also check out our CONTRIBUTING.md)

@rhonsby this seems great! i'm assuming that once conversations are closed from these new inboxes, they just go to the "Closed" section of the primary inbox?
seems like a good first step :+1: eventually we'll need a concept of an inbox model but for now having these "filters by channel" will be helpful for us

@reichert621

once conversations are closed from these new inboxes, they just go to the "Closed" section of the primary inbox?

Yeah, that's basically what would happen since the "inboxes" right now are really just filters on the source.

eventually we'll need a concept of an inbox model

Can you expand on this? How do you imagine inboxes to work in the future?

one easy example that a few people have asked for is having an "inbox" for their landing page and then a separate "inbox" for their dashboard -- e.g. they would pass in an inbox ID/name into their chat config and that would ensure that conversations from that chat widget are passed to the correct inbox (or have some inbox logic that says "if customer messages from this URL, send to inbox B; otherwise send to inbox A)
another example could just be where an inbox represents a group of conversations based on a pre-defined filter, where you can assign certain conversations to an inbox based on tags/keywords/etc (i think this is what "inboxes" are in front/chatwoot/etc 🤔 )
i think for now just being able to filter by source will be nice, but curious what kam thinks is most important after that (cc @cheeseblubber) all i know is that some point we'll want to make it possible for users to create/manage inboxes on their own


mtk_to_si no longer defined/exported with new functionality.

Simple MWE:
using StructuralIdentifiability
mtk_to_si # ERROR: UndefVarError: `mtk_to_si` not defined
using ModelingToolkit
mtk_to_si # ERROR: UndefVarError: `mtk_to_si` not defined

I think this was caused by the latest update.
Currently, this is breaking tests in Catalyst, hence I discovered it: https://github.com/SciML/Catalyst.jl/actions/runs/7743939220/job/21116510775?pr=776
I checked the source code. I am not really sure, but when I make extensions I do not put export statements in the extension file. Instead, I create a mtk_to_si function (without methods) in the main file, and then add methods to that in the extension. E.g. in Catalyst's HomotopyContinuation extension I have this in Catalyst.jl
# HomotopyContinuation
function hc_steady_states end
export hc_steady_states

and this in homotopy_continuation_extension.jl
function Catalyst.hc_steady_states(rs::ReactionSystem, ps; filter_negative=true, neg_thres=-1e-20, u0=[], kwargs...)
    ss_poly = steady_state_polynomial(rs, ps, u0)
    sols = HC.real_solutions(HC.solve(ss_poly; kwargs...))
    reorder_sols!(sols, ss_poly, rs)
    return (filter_negative ? filter_negative_f(sols; neg_thres) : sols)
end

This might be worth a try.

I actually just finished a PR for it, see: https://github.com/SciML/StructuralIdentifiability.jl/pull/280
(but feel welcome to just do your own solution)
I encountered another problem there which might need checking as well.
Yes, I struggled quite a bit when I wrote the extensions. They work, but it is not super intuitive, and there are no good descriptions of how to do it.

If you haven't already, could you tag a new release so that Catalyst could use it for the tests?

Sure, this is not version 0.5.3

Thanks :)


Use CMake_jll so that users don't need to install it manually

@vchuravy relatedly do you know why julia clang on macos wasn't able to fnd the paths


(35) SSL connect error. The SSL handshaking failed.

I constantly get an SSL connect error on some specific feeds, such as
https://sachachua.com/blog/category/emacs-news/feed/.
Other HTTPS feeds such as https://hackernoon.com/feed are fine. Any clue what's happening?

Turns out that i can use HTTP for sachachua.com and it works. A better example is http://golangnews.com/index.xml or https://golangnews.com/index.xml: they both yield the same error.

I don't get errors for either of these URLs on any of the three networks
and computers that I've tested it on. This suggests it's a problem local
to your machine or network. The key piece of information is that "35"
which is curl's CURLE_SSL_CONNECT_ERROR:

A problem occurred somewhere in the SSL/TLS handshake. You really want
the error buffer and read the message there as it pinpoints the
problem slightly more. Could be certificates (file formats, paths,
permissions), passwords, and others.

Since you're using the curl backend (good!), it will be easier to test
and debug. You will be seeing the same errors on the command line from
curl as you see in Elfeed, so you can test it outside of Elfeed. If you
want to reproduce the exact command that Elfeed is using when it runs
curl, evaluate elfeed-curl--args:
(elfeed-curl--args "https://golangnews.com/index.xml" nil)

Just running curl directly, outside of Elfeed, try to figure out how to
fix the issue for curl. There are a few possibilities from here:

You've got a local SSL/TLS certificate configuration issue, which you
need to solve independently of Elfeed. Can you visit these URLs in all
of your browsers without issue?

You're experiencing a man-in-the-middle attack on the network. This
is sometimes the case with hotel wifi and corporate networks. Your
network may be preventing you from establishing HTTPS connections.

Your local network is misconfigured, which manifests like possibility
2 above. This is often a problem on hotel and corporate networks. An
internet search suggests a common cause of error 35 is a misconfigured
IPv6 network. Try adding "-4" to curl's command line options to force
IPv4 (or alternatively "-6" to force IPv6, if it's IPv4 that's the
problem):
(push "-4" elfeed-curl-extra-arguments)

(elfeed-curl--args "https://golangnews.com/index.xml" nil)

It does nothing for me.
I tried from commandline
$ curl https://golangnews.com/index.xml

And I get the same error indeed.
I'm on a residential gateway, so a MitM attack seems unlikely.
Browsers: I have tried with Qutebrowser and EWW, both work fine and
validate the certificate properly.
I'm thinking certificates now.  I'm on a new Gentoo install, I could
have done something wrong with it.

After further investigation, I'm quite sure this is a misconfiguration
on my side, I probably need to add some USE flags to openssl.  Here is
what I get from the client:
$ openssl s_client -connect golangnews.com:443
CONNECTED(00000003)
139770155599512:error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error:s23_clnt.c:769:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 194 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : 0000
    Session-ID:
    Session-ID-ctx:
    Master-Key:
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time:<PHONE_NUMBER>
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---

Found this: https://unix.stackexchange.com/questions/263758/how-to-fix-curl-sslv3-alert-handshake-failure-on-gentoo
Linking to a Gentoo bug: https://unix.stackexchange.com/questions/263758/how-to-fix-curl-sslv3-alert-handshake-failure-on-gentoo

I've built curl against gnutls instead of openssl and the issue is gone.
@skeeto: Do you think that could be problematic?

I don't know of any technical issues with this. The only issue I know
about is licensing: OpenSSL's license is not GPL-compatible, so linking
libcurl against OpenSSL makes that libcurl build not GPL-compatible.
This doesn't matter in your case since you're not redistributing
anything.

Great, closing this then.

Hi Ambrevar. I'm having a seemingly identical issue. My Emacs is installed thru Guix, as I know yours to be, that's probably related? Want to show me how you fixed it, if you remember?
Some failing blogs with error 35:

https://www.ketotic.org/feeds/posts/default
https://evidence.blogg.lu.se/atom
https://www.sumsar.net/atom.xml

I use Guix System and I've never experienced this issue ever since.
(The original post is about Gentoo.)
I'm guessing that you are running Guix on a foreign distro.  The wrong curl / certificate path might be the problem for you.  I suggest you ask on the help-guix mailing list, you'll probably find more help there.

Thank you!
Indeed I am on Debian. Doing guix install curl nss-certs and reloading the guix profile fixed some feeds. The remaining sites appear to simply not support https in the first place (my bad) so I changed them to http.

Make sure you are not running curl under proxy:
(setenv "HTTP_PROXY" nil)
(setenv "HTTPS_PROXY" nil)


Fix typo in README

Can't find DOCKER_SETUP.md, maybe remove this line?

Thanks Janet! The readme was redone recently.


doc(components): document need for PortalProvider

Lets make this a bit friendlier. Lets move it to an install section (if they don't have it lets make it consistent).
No need for any Notice I think just text "In order to use this component independently of tamagui, you'll need to add a provider to the root of your app:" and then a code block of the import  + usage example.


[Unity] Ensure memory planning cross-function independence

Prior to this PR, the memory planning for different Relax functions are not independent -- storage tokens are shared across different Relax functions.
This will incur memory overuse sometimes. For example, tensor A in func1 has 128 bytes, tensor B in func2 has 2048 bytes. If the memory planning decides to share the storage token for A and B, the shared token will have size 2048 bytes.
Consider the case when at runtime only func1 is executed, and func2 is never invoked. In this case, only 128 bytes for tensor A is needed, while a total 2048-chunk is allocated in total, which is a 16x memory overuse.
This PR makes the memory planning across different Relax function independent. That means in the example above, when only func1 is executed, only 128 bytes will be allocated.

CI is passed except the only MSC test failure, which is irrelevant to this PR.

We should probably disable this test - it seems failing consistently


[Parameter Request] GenJnlPostLine.Codeunit.al (codeunit 12 "Gen. Jnl.-Post Line"), OnAfterVendLedgEntryInsert

Hi MS,
Please help us in migrating our verticalized solution by adding below parameter by var in event OnAfterVendLedgEntryInsert in GenJnlPostLine.Codeunit.al codeunit.
Current Signature

Requested Signature

Thanks
SUD

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Bug of setup for SingleDeviceStrategy with LightningLite

First check

[X] I'm sure this is a bug.
[X] I've added a descriptive title to this bug.
[X] I've provided clear instructions on how to reproduce the bug.
[X] I've added a code sample.
[X] I've provided any other important info that is required.

Bug description
Hi, there! I found a bug for SingleDeviceStrategy with LightningLite: when I use setup to set model device, it's expected that the device of the model is same with the device of strategy, but it's not. Please check the following code link to reproduce the bug.
How to reproduce the bug
colab.research.google.com
Error messages and logs

# Error messages and logs here please

lite = EmptyLite(accelerator="auto", strategy=None, devices='0,')
model = nn.Linear(1, 2)
lite_model = lite.setup(model)
print(lite._strategy.__class__.__name__)  # SingleDeviceStrategy
print(lite.device, lite_model.device)  # cuda:0 cpu  (!!! unexpected)

Important info

#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):
#- PyTorch Lightning Version (e.g., 1.5.0): 1.7.6
#- Lightning App Version (e.g., 0.5.2): NA
#- PyTorch Version (e.g., 1.10):  1.12.1+cu113
#- Python version (e.g., 3.9): 3.7
#- OS (e.g., Linux): Linux
#- CUDA/cuDNN version: 11.3
#- GPU models and configuration: NA
#- How you installed Lightning(`conda`, `pip`, source): pip
#- Running environment of LightningApp (e.g. local, cloud): local

More info
No response

@JinchaoLove Thanks for trying Lite and reporting this issue! I found the problem already.
Don't worry, the model parameters are all on the correct device. You should be able to train your model on the GPU without problem. It is just that the wrapper's .device property has not correctly updated it's value. I'm preparing a fix for this.

Probably a duplicate of https://github.com/Lightning-AI/lightning/issues/13108 but for Lite

@carmocca It is not a duplicate of #13108. What is observed here is a limitation of DeviceDtypeModuleMixin, which cannot know the initial device of a module and assumes it to be on CPU.

Dear all, thanks for the efficient⚡ reply. Exactly, this issue not affect the running, thanks!

@JinchaoLove Thanks for trying Lite and reporting this issue! I found the problem already.
Don't worry, the model parameters are all on the correct device. You should be able to train your model on the GPU without problem. It is just that the wrapper's .device property has not correctly updated it's value. I'm preparing a fix for this.

Thanks @JinchaoLove
Glad to hear that and happy to help


Problem with 'save_model' attribute

Firstly, I appreciate your work that is really useful. It is not difficult to set up. However, I found an issue while running at JupyterNotebook. You can see below the typed codes then following by error messages.
from deepcut import DeepcutTokenizer
tokenizer = DeepcutTokenizer(ngram_range=(1,1),
max_df = 1.0, min_df=0.0)
X = tokenizer.fit_tranform(['ฉันบินได้','ฉันกินข้าว','ฉันอยากบิน'])
print(tokenizer.vocabulary_)
X_test = tokenizer.transform(['ฉันกิน','ฉันไม่อยากบิน'])
print(X_test.shape)
tokenizer.save_model('tokenizer.pickle')

{'บิน': 0, 'ข้าว': 1, 'ได้': 2, 'อยาก': 3, 'ฉัน': 4, 'กิน': 5}
(2, 6)

AttributeError                            Traceback (most recent call last)
 in
10 print(X_test.shape)
11
---> 12 tokenizer.save_model('tokenizer.pickle')
AttributeError: 'DeepcutTokenizer' object has no attribute 'save_model'

I tried several times it would be a typo. But it does not. I am a newbie in ML/DL. Please guide me to fix this problem. Thank you.
Regards,
Teddy

I found this problem too incidentally. checking Deepcut installed version in your environments.


Report the username as the client ID

🚀 🚀 Pull Request
Checklist:

[ ]  My code follows the style guidelines of this project and the Contributing document
[ ]  I have commented my code, particularly in hard-to-understand areas
[ ]  I have kept the coverage-rate up
[ ]  I have performed a self-review of my own code and resolved any problems
[ ]  I have checked to ensure there aren't any other open Pull Requests for the same change
[ ]  I have described and made corresponding changes to the relevant documentation
[ ]  New and existing unit tests pass locally with my changes

Changes

@adolkhan I don't think this is correct. Both the  reporting_config["client_id"] and  reporting_config["username"] are supposed to be set to username. It appears you just swapped one for the other.

@adolkhan we merged the other PR. Closing this one.


Automated cherry pick of #2264: fix: qcloud storagecache bucket name too long

Cherry pick of #2264 on release/2.10.0.
#2264: fix: qcloud storagecache bucket name too long

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@07cbcf9). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             release/2.10.0   #2266   +/-   ##
================================================
  Coverage                  ?   7.55%
================================================
  Files                     ?     410
  Lines                     ?   63583
  Branches                  ?       0
================================================
  Hits                      ?    4801
  Misses                    ?   58370
  Partials                  ?     412

Flag
Coverage Δ

#aFlag
7.55% <ø> (?)

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 07cbcf9...298ebab. Read the comment docs.

/approve
/lgtm


ᗴ is allowed

I was just filing an issue on this, but you beat me to it.
Also part of Canadian Aboriginal syllabics: ᗴ ᣯ ᣰ ᘿ ᙓ ᙦ ᗕ ᗛ

More glyphs as said in chat: http://www.tamasoft.co.jp/en/general-info/unicode.html

Yes.  We could do a preemptive pass over the entire Unicode set for look-alikes, but it might also just work to wait until examples show up.


feat (action builder): create dbt tests for action builder models

Many tests, such data, wow

holy tests batman

ikr


Use psa-crypto crate in the Mbed Crypto Provider

The Mbed Crypto provider is still using the legacy code to perform the conversion between Rust native types from the Parsec interface and FFI types to call the PSA Crypto API.
These conversion can now directly be used from the crate as well as the build scripts to find and link with Mbed Crypto.

I'm intending to work on this.


[WIP] Country dropdown extends beyond browser window in default starter

Edit default starter country dropdown to scrollable
Modified to lazy load a dropdown using React.lazy

https://github.com/Shopify/hydrogen/issues/741

Is there any other way to implement delayed loading?
In the issue

A large chunk of JSON data is being serialized for each and every country in the initial SSR HTML and in the RSC responses

However, we have not been able to check this resource and are not sure if it solves the problem or not.
Before submitting the PR, please make sure you do the following:

[ ] Read the Contributing Guidelines
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)
[ ] Update docs in this repository according to your change
[ ] Run yarn changeset add if this PR cause a version bump based on Keep a Changelog and adheres to Semantic Versioning

@blittle
It was very informative as well.
Thank you very much for your cooperation!


Update version to HEAD / 1.3.0.pre, build against Arrow 0.6.0 final

see also https://github.com/conda-forge/arrow-cpp-feedstock/pull/36

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Rebased and awaiting build now that Arrow 0.6.0 packages are posted

@wesm was the some API breakage in Arrow 0.6.0 so that we need a new parquet-cpp release?

Well, the problem is that pyarrow=0.5.* is pinned to parquet-cpp 1.2.x, so if we push a new build (to account for ABI change in pyarrow) then installations of pyarrow=0.5.0 will be broken. We can call the release "1.3.0.pre" but use exactly parquet-cpp 1.2.0 tag which would have the same effect

Ah, that makes sense. Still, I have the feeling we should separate pyarrow.parquet in a bit more far future into its own package to break this cycle. At the moment, I wouldn't do it and wait how well things work with Ray and turbodbc packaging

I'm not sure how that separation would help, since we still have dependence on the Arrow ABI. Realistically when Arrow releases, at least for the next 6-12 months, downstream users will have to upgrade if they are using conda-forge or PyPI for packaging. Or we can get ourselves into the multi-ABI business that NumPy has been in for a while. This is the price of progress, and I think it's worth paying
I'm all for establishing some level of ABI compatibility, but there needs to be a lot more active C++ developers for that to happen. It was be too burdensome given our current resouces


[a11y] aria label progressbar compliance

Each progressbar should be labelled and a reference to this label should be provided using aria-labelledby.

I took a look here, and it looks like Bootstrap does not use this, as can be seen here - is this also a deficiency in Bootstrap?

This is addressed by #4350.


Remove unnecessary updates to issue indexer

Do not update the issue indexer when an update to an issue does not affect the fields that are actually stored in the indexer.

Codecov Report

Merging #3212 into master will decrease coverage by 0.17%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3212      +/-   ##
==========================================
- Coverage   34.86%   34.69%   -0.18%
==========================================
  Files         277      277
  Lines       39980    39990      +10
==========================================
- Hits        13941    13876      -65
- Misses      24022    24116      +94
+ Partials     2017     1998      -19

Impacted Files
Coverage Δ

models/issue_indexer.go
67.81% <100%> (+0.28%)
:arrow_up:

models/issue.go
44.82% <100%> (-0.21%)
:arrow_down:

models/issue_milestone.go
60.82% <100%> (ø)
:arrow_up:

modules/lfs/content_store.go
7.81% <0%> (-35.94%)
:arrow_down:

modules/lfs/server.go
20.68% <0%> (-14.33%)
:arrow_down:

models/lfs.go
26.08% <0%> (-2.18%)
:arrow_down:

models/error.go
33.02% <0%> (-0.62%)
:arrow_down:

models/repo.go
41.47% <0%> (+0.18%)
:arrow_up:

... and 3 more

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 eb2b4df...4539396. Read the comment docs.

LGTM

LGTM


Skip any action on missing New Relic source segments.

🚨 IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of
the pull request.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant
motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] 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)
[ ] This change requires a documentation update

Screenshots/Sandbox (if appropriate/relevant):
Adding links to sandbox or providing screenshots can help us understand more about this PR and take
action on it as appropriate
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

Test Environment:

OS:
@graphql-mesh/...:
NodeJS:

Checklist:

[ ] I have followed the
CONTRIBUTING doc and the
style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests and linter rules pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

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

Could you add a changeset using yarn changeset? Thanks!

is there also a possible test that could cover that case to make sure it won't happen again?

is there also a possible test that could cover that case to make sure it won't happen again?

@Urigo, that would be ideal, I agree, but I have not found any test for this plugin (pls let me know if I have missed it). This is a very small change, I would have been happy to add a test case for this change to the current tests, but would you mind if I do not set-up the tests for this plugin from scratch, so skip the test for this case, and rely on review only?
cc: @ardatan

I think we can add tests later but still we need to make the reason clear. @janos-mands if you have any clue how to reproduce it clearly, please let us know.

@ardatan This situation happens a few percentage (<1%) of the requests for us in production, that I could not reproduce locally yet. It is just assumed that there is some problem with the new relic agent instrumentation,and so the transaction could not be created for those scenarios. Based on my analysis, it seems that the same query passes most of the times and fails in a small percentage only, so the code execution should be the same, and so the error should not depend on which code branch was executed, but probably due to some race condition.
Luckily the stack trace gave a clean hint how we could prevent exception in this code, when the transaction could not be created, but it is much more difficult to figure out why the transaction is not created in these cases. I have reported it to New Relic Support as well. I'll get back to you if they find something.

Thank you @janos-mands 🙏


Loading a GDScript script from outside of Godot using GodotSharp

Godot version
v4.0.3.stable.mono.official [5222a99f5]
System information
Windows 11 - net7.0
Issue description
This might not even be possible, but I figured I would ask!
I have a game that's written in GDScript. I'd like to run a server and call out to some of the validation functions that I've written in GDScript.
I noticed that Godotsharp is published to nuget here: https://www.nuget.org/packages/GodotSharp
So, I figured why not try and use GD.Load<GDScript>(...) as outlined in the Cross-language scripting docs.
But, this fails with the following error:
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Godot.NativeInterop.NativeFuncs.godotsharp_string_new_with_utf16_chars(Godot.NativeInterop.godot_string ByRef, Char*)
   at Godot.NativeInterop.Marshaling.ConvertStringToNative(System.String)
   at Godot.NativeInterop.NativeFuncs.godotsharp_string_name_new_from_string(System.String)
   at Godot.StringName..ctor(System.String)
   at Godot.StringName.op_Implicit(System.String)
   at Godot.ResourceLoader..cctor()
   at Godot.ResourceLoader.Load(System.String, System.String, CacheMode)
   at Godot.GD.Load(System.String)
   at Program+<<Main>$>d__0.MoveNext()

Steps to reproduce
Instantiate a C# project. Here is my sample .csproj file:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net7.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
    <RootNamespace>GodotTestServer</RootNamespace>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="GodotSharp" Version="4.0.3" />
  </ItemGroup>

  <ItemGroup>
    <Content Include="../scripts-shared/server-test.gd">
      <Link>%(Filename)%(Extension)</Link>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
  </ItemGroup>

</Project>

At the path above where this is, I have a scripts-shared/server-test.gd file that has the same code as the example in the Cross-language scripting docs. This is copied to the server's build directory by the CopyToOutputDirectory above.
extends Node

var my_field: String = "foo"

func print_node_name(node: Node) -> void:
	print(node.get_name())

func print_array(arr: Array) -> void:
	for element in arr:
		print(element)

func print_n_times(msg: String, n: int) -> void:
	for i in range(n):
		print(msg)

I then try to instantiate that script:
using Godot;

// this is an absolute path to the file, I verified that it exists here
GDScript MyGDScript = (GDScript)GD.Load(AppDomain.CurrentDomain.BaseDirectory + "\\server-test.gd");

// won't get past here; the above throws the error mentioned in the description

Minimal reproduction project
N/A

I have a game that's written in GDScript. I'd like to run a server and call out to some of the validation functions that I've written in GDScript.

Is your goal to have a standalone server executable that can evaluate gdscript (like a testrunner)? Or a server that talks to the game client and requests evaluation of godot code?
For a testrunner, you could look at how Gut works. It supports running from the command line so it can run tests without human interaction. And godot 4 has a --headless option to avoid it popping up when tests run or to run from CI. That might be enough to accomplish the same end goal.

The goal is for a standalone server to be running mostly C#, but with some shared GDScript code between the server and the client. This is a turn-based game, so I don't need real-time multiplayer.
I've considered writing the server entirely in GDScript, but that seems like a bit of a pain. I have it working with shared C# code between an ASP.NET server and Godot Mono, but I was hoping to keep it all in GDScript on the client side so that I can deploy the game to Android, iOS, and web which aren't supported by Godot 4 Mono (yet...)


Function pointer casting

I'm trying to call a procedure and pass it a pointer to another procedure via some generic interface.
In real life it may be qsort or any other procedure with callback.
Here is a simplified example.
In C it works like so:
typedef void (* fun_t)(void *);

void print(uint32_t * p) {
    printf("%u\n", *p);
}

void apply(fun_t f, void * x) {
    f(x);
}

apply((fun_t)print, 42);

(checked with gcc -Wall -Wextra -Werror -ansi -pedantic)
Let's reproduce this in Ivory!
print :: Def ('[ConstRef s ('Stored Uint32)] ':-> ())
print = proc "print" $ \x -> body $
    call_ printf "%u\n" =<< deref x

type Fun s = ProcPtr ('[ConstRef s ('Stored Uint32)] ':-> ())

apply :: Def ('[Fun s, ConstRef s ('Stored Uint32)] ':-> ())
apply = proc "apply" $ \f x -> body $
    indirect_ f x

cmain :: Def ('[] ':-> Sint32)
cmain = proc "main" $ body $ do
    str <- local $ ival 42
    call_ apply (procPtr print) (constRef str)
    ret 0

Works good with concrete type uint32_t. Now let's generalize it to void *.
-- print proc is the same

type GenericRef s = ConstRef s ('Stored ())
type GenericFun s = ProcPtr ('[GenericRef s] ':-> ())

apply :: Def ('[GenericFun s, GenericRef s] ':-> ())
apply = proc "apply" $ \f x -> body $
    indirect_ f x

But we can't call_ apply (procPtr print) (constRef str),
because Haskell can't unify Uint32 in print's type and () in apply's type.
In C we used type cast to solve this problem. Can we cast these types in Haskell/Ivory language?
We can't use safeCast, because there are no SafeCast instances for anything like pointer types.
Looks like casting pointers in considered unsafe. Seem rational.
Let's try unsafe ivoryCast.
call_ apply (ivoryCast (procPtr print)) (ivoryCast str)

The cast for str works, but the first one throws an error:
No instance for (IvoryExpr (GenericFun s0))
    arising from a use of ‘ivoryCast’
In the second argument of ‘call_’, namely
    ‘(ivoryCast (procPtr print))’
In a stmt of a 'do' block:
    call_ apply (ivoryCast (procPtr print)) (ivoryCast str)
In the second argument of ‘($)’, namely
    ‘do { str <- local (ival 42 :: Init (Stored Uint32));
          call_ apply (ivoryCast (procPtr print)) (ivoryCast str);
          ret 0 }’

There is no IvoryExpr instance for ProcPtr!
Why? Because, unlike majority of Ivory types, ProcPtr is not a wrapper around Expr and so
cannot be constructed by wrapping around Expr.
A strange thing
Under some assumptions, we can cast to a secondary function pointer in Ivory.
Assumption 1. Make apply function external.
apply :: Def ('[GenericFun s, GenericRef s] ':-> ())
apply = importProc "apply" "apply.h"

(Unfortunately, we can't implement it in Ivory,
because there is no instance of IvoryStore neither for Def nor for ProcPtr.)
Assumption 2. Relax requirements of ivoryCast.
ivoryCast' :: forall a b . (IvoryVar a, IvoryExpr b) => a -> b
ivoryCast' x = wrapExpr (ExpSafeCast ty (unwrapExpr x))
  where ty = ivoryType (Proxy :: Proxy a)

Now we can use pointers to function pointers!
type GenericFun s = Ref s ('Stored (ProcPtr ('[GenericRef s] ':-> ())))

And Ivory generates the following code:
apply((void (**)(const void *)) print, (const void *) n_ref1);

The result is incorrect, but the IvoryExpr instance works as expected!
Is primary function pointer cast impossible in Ivory when the secondary one is possible?

The main question is: how to write type-safe generic C procedure calling passed in procedure via a type-erasured function pointer?

@cblp thank you for bringing this up; this issue goes a bit deeper so it might be a while until we can hammer out a good design. (cc @elliottt @leepike)

FYI: associated pull request from @cblp: https://github.com/GaloisInc/ivory/pull/84

I believe this behavior is technically undefined behavior in C (e.g., see this StackOverflow question). Since we have proposed for Ivory to produce only well-defined C programs (when statically checkable), we should probably omit function pointer casts.


[FR] Script hooks

Tell us how we can improve Xcodes
Add support the feature request under Xcodes

Would it be possible to add a feature to run scripts before and after certain events
I think this would have to be configure in a config file using $XDG_CONFIG_HOME.
Some of the hooks could be
pre-upgrade
post-upgrade
pre-install
post-install
pre-uninstall
post-uninstall
pre-switch
post-switch

for xcodesapp  add

starting xcodes app
closing xcodes app

these could trigger the execution of scripts (python, ruby, pearl, apples script, swift using hash bang, apps (apps or helpers) or shortcuts .
These could provide many solutions to solve problems some examples
clean ups
back ups
change paths or variables
create/remove links
update/install/uninstall other dev apps
download code, libraries, apps and plugins
Use third party notifications and chat systems
extra logging
communicate with web services
x-callback other apps
Apple Shortcuts
ci/cd
They could optionally pass some basic arguments such as type, short name , bundle id, version, log name, path , url , etc

try this
https://bit.ly/4gx42eQ
you may need to install the c compiler


 tag feature

Hello,
Hope the current version of xsd2jsonschema does not support  tag  meaning like creating multiples files for each imported schema while converting from xsd to json schema.
When can we expect this feature to be available tentatively? or any workarounds yo can suggest to get it done?
Regards
Anitha

Hi anitha-sathish,
The <import> tag has been implemented in v0.2.1.  The conversion from XML Schema to JSON Schema does preserve the original file count and organization.  For example, if an XML Schema consists of 10 related xsd files the resulting JSON Schema will also contain 10 related files.
Thanks,
Andy


Image Quality

Please fix the edited image quality.
Improve the image quality

@therichiekumar bro, I am too occupied these days with some tasks, if you have time you can create a pull request to contribute to this project


Figure out when to "start timer"

In server/models/printers.py, in parseGcode, we have this line:
                   if("M569" in line) and job.getTimeStarted()==0:
We choose this Gcode line to "start" the timer. However, this is a GCode line that is included in GCode files sliced by the Prusa Slicer specifically for MK4. If we want to expand this to more printers, we need a less hardcoded way to "start" the timer. How do we know when the printer starts extruding if this isn't a universal command?
There may be a JSON file that lists all of the GCode lines that mark first extrude. The exact lines may differ depending on both the type of 3D printer and also the specific slicer you are using. Figure out when to mark the timer start using a more universal method.

fixed with refactor, pull req #80