Adding documentation on APIs no longer supported in Desktop

Description
In Preview 4, changes were made affecting APIs dependent on CoreWindow and CoreApplicationView. This doc begins identifying these affected APIs and suggesting workarounds or direct replacements.
Motivation and Context

There are multiple issues on this repo asking about specific APIs that are no longer working in Desktop.

@anawishnoff It would also be nice to point out if these new APIs are desktop specific or can also be used with UWP. Ideally, we all want to converge to single set of APIs where possible.

/azp run

/azp run

@harvinders  - Definitely. I believe all of these APIs documented thus far are WinRT APIs so they can be used with UWP apps. The issue is mostly with Desktop apps - these WinRT APIs used to work in Desktop, but they don't anymore.


Unable to Pin Specific Minor Version of Evergreen Action in GitHub Workflow

Describe the bug
There seems to be an inconsistency in how GitHub Actions is handling the use of specific minor versions of the Evergreen action. When specifying a minor version (e.g., github/evergreen@v1.12.0), the workflow appears to still pull the latest major version (v1), ignoring the specified minor version.
From @zkoppert :
oh darn. This might be because when you specify the action at v1.12.0 it goes to the code at that point and determines which package to pull. See here the v1.12.0 of the code that specifies the package: https://github.com/github/evergreen/blob/v1.12.0/action.yml#L7

To Reproduce
- id: run-evergreen
  name: Run evergreen action
  uses<EMAIL_ADDRESS>
From the logs:
Download action repository<EMAIL_ADDRESS>(SHA:8d2d4117eadbbfa4c33828364cc4c88fea908192)
...
Pull down action image 'ghcr.io/github/evergreen:v1'

Expected behavior
It should retrieve the specific minor version
Screenshots
No response
Additional context
More context: https://github.com/github/evergreen/discussions/213

Here is a temporary work around for this issue:
jobs:
  my_first_job:
    steps:
      - name: My first step
        uses: docker://ghcr.io/github/evergreen:v1.12.0


Realtime updates

Create a websockets (or eventsource) server for delivering realtime updates into Monocle

I tested out the nginx push-stream module and it works great! This makes deploying this a lot easier:
https://github.com/wandenberg/nginx-push-stream-module


connection error

Below is the information:

raspberry pi zero w
pybleno 0.7
lightBlue2.6.4 in ios
when connect,  this connection alert happends often : the peripheral disconnected while being interrogated
below is hcidump log:

HCI Event: LE Meta Event (0x3e) plen 19
LE Connection Complete
status 0x00 handle 64, role slave
bdaddr 72:39:D6:86:91:F3 (Random)
< HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2
0000: 40 00                                             @.
HCI Event: Command Status (0x0f) plen 4
LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
HCI Event: LE Meta Event (0x3e) plen 12
LE Read Remote Used Features Complete
status 0x1a handle 64
Error: Unsupported Remote Feature / Unsupported LMP Feature
ACL data: handle 64 flags 0x02 dlen 11
L2CAP(d): cid 0x003a len 7 [psm 0]
0000: 09 05 02 00 00 00 00                              .......
ACL data: handle 64 flags 0x02 dlen 7
ATT: MTU req (0x02)
client rx mtu 185
< ACL data: handle 64 flags 0x00 dlen 7
ATT: MTU resp (0x03)
server rx mtu 185
ACL data: handle 64 flags 0x02 dlen 11
ATT: Read By Group req (0x10)
start 0x0001, end 0xffff
type-uuid 0x2800
< ACL data: handle 64 flags 0x00 dlen 24
ATT: Read By Group resp (0x11)
attr handle 0x0001, end group handle 0x0005
value 0x00 0x18
attr handle 0x0006, end group handle 0x0009
value 0x01 0x18
attr handle 0x000a, end group handle 0x000d
value 0xe0 0xff
ACL data: handle 64 flags 0x02 dlen 11
ATT: Read By Group req (0x10)
start 0x000e, end 0xffff
type-uuid 0x2800
HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
< HCI Command: Disconnect (0x01|0x0006) plen 3
handle 64 reason 0x13
Reason: Remote User Terminated Connection
HCI Event: Command Status (0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
< ACL data: handle 64 flags 0x00 dlen 9
ATT: Error (0x01)
Error: Attribute not found (10)
Read By Group req (0x10) on handle 0x000e
HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 1
HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 64 reason 0x16
Reason: Connection Terminated by Local Host
< HCI Command: LE Set Advertise Enable (0x08|0x000a) plen 1
0000: 01                                                .
HCI Event: Command Complete (0x0e) plen 4
LE Set Advertise Enable (0x08|0x000a) ncmd 1
status 0x00

Hi,
Can you confirm, are you using a Characteristic with the 'indicate' property?
https://github.com/noble/bleno/issues/242
Thanks


Linking failure in asm?

@vadimdemedes After upgrading to Node 12 (12.16.1), this warning pops up all the time in my cli, usually when running tests (I'm using ink). This doesn't happen in Node 10.
(node:64225) V8: /project/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:1781 Linking failure in asm.js: Unexpected stdlib member

Hm I don't see that error myself. Would you be able to provide a minimal reproduction?

I see it all the time running boost tests https://github.com/milesj/boost

An example screenshot

same for me, because of react-pdf dependency - https://github.com/diegomura/react-pdf/issues/603

Hey @milesj, I've came to a conclusion that it has something to do with the way your testing (or project) is set up. Here's why.
Node.js v12 support
Ink's own tests run in both 10.x and 12.x versions of Node.js and no such warning is logged to the console. Also, while it's true that yoga-layout-prebuilt can't run build.sh script in Node.js v12.x, that doesn't mean that the prebuilt version of Yoga generated via Node.js v10.x can't be used with Node.js v12.x.
To double check this I pushed https://github.com/vadimdemedes/yoga-layout-prebuilt/tree/node12 branch with support for building this project in Node.js v12.x and the resulting code still caused the same warning.
Jest?
I noticed that both boost and react-pdf projects use Jest for testing, so I suspected maybe that's the problem. It turned out that it's not. I set up Jest + Ink tests in https://github.com/vadimdemedes/ink-testing-library/pull/13 and no warning was logged either.
The root cause
Then, I started gradually removing code from packages/cli/tests/Program.test.tsx and found that this warning doesn't appear if I remove all imports of ../src. Since ink is still being imported (and so is yoga-layout-prebuilt by consequence),  I guess it points to something else. This is the code of Program.test.tsx I had that still logs the error:
import React, { useContext } from 'react';
import { Box, Text } from 'ink';
import Command from '../src/Command';

class BoostCommand extends Command {
  static description = 'Description';

  static path = 'boost';

  static allowUnknownOptions = true;

  static allowVariadicParams = true;

  run() {
    return Promise.resolve();
  }
}

test('x', () => {
  expect(true).toEqual(true)
})

After ../src/Command is removed, no warning is logged.
import React, { useContext } from 'react';
import { Box, Text } from 'ink';
- import Command from '../src/Command';

Then comes the weird part, which made me think it could be something in Jest or its setup. I copied the same code with src import and saved it into packages/cli/check.js, so that I can run the same code, but without Jest:
const React = require('react');
const { Box, Text } = require('ink');
const Command = require('./lib/Command').default

class BoostCommand extends Command {
  static description = 'Description';

  static path = 'boost';

  static allowUnknownOptions = true;

  static allowVariadicParams = true;

  run() {
    return Promise.resolve();
  }
}

Now no error, even though Command is imported again. I don't know where to go from this point on to be honest, so I would love your help in figuring out a minimal reproducible example of this issue. Ideally it should be a "raw" script, without Jest or any other testing framework or wrapper.

Oh wow, that's some nice detective work, thank you. I'll see what I can come up with.

So I'm finally looking into this a bit and was able to reduce the Command class down to this, which still caused the warning.
import React from 'react';
import { Help } from './components/Help';

export default class Command {
  renderHelp(): React.ReactElement {
    const metadata = this.getMetadata();

    return (
      <Help
        categories={metadata.categories}
        config={metadata}
        header={metadata.path}
        options={metadata.options}
        params={metadata.params}
      />
    );
  }
}

Removing the Help import stops the warning. With or without the React import didn't change anything. Digging further, but nothing seems odd yet. Here's the component itself: https://github.com/milesj/boost/blob/master/packages/cli/src/components/Help.tsx

Ok so I reduced Help to the following and the warning still persisted.
import React from 'react';
import { Box } from 'ink';

export interface HelpProps {}

export class Help extends React.Component<HelpProps> {
  render() {
    return <Box flexDirection="column"></Box>;
  }
}

Even tried a function component and the problem persists.
import React from 'react';
import { Box } from 'ink';

export function Help() {
  return <Box flexDirection="column"></Box>;
}

However, removing the ink import causes the warning to go away. Which is super odd.
import React from 'react';
import { Box } from 'ink';

export function Help() {
  return <Box flexDirection="column"></Box>;
}

Here's the PR I'm debugging with https://github.com/milesj/boost/pull/125

Also found out that this doesn't trigger the warning:
import { Text } from 'ink';

But this does:
import { Box } from 'ink';

Warning stills shows on Node 14, but looks like we can trace it now. This is the output.
 ✘  ~/Projects/boost   debug-yoga  node --trace-warnings ./node_modules/.bin/jest packages/cli/tests/Command2.test.tsx
(node:47075) V8: /Users/milesj/Projects/boost/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:1781 Linking failure in asm.js: Unexpected stdlib member
    at /Users/milesj/Projects/boost/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:9750:4
    at Object.<anonymous> (/Users/milesj/Projects/boost/node_modules/yoga-layout-prebuilt/yoga-layout/dist/entry-browser.js:21:1)
    at Runtime._execModule (/Users/milesj/Projects/boost/node_modules/jest-runtime/build/index.js:1299:24)
    at Runtime._loadModule (/Users/milesj/Projects/boost/node_modules/jest-runtime/build/index.js:898:12)
    at Runtime.requireModule (/Users/milesj/Projects/boost/node_modules/jest-runtime/build/index.js:746:10)
    at Runtime.requireModuleOrMock (/Users/milesj/Projects/boost/node_modules/jest-runtime/build/index.js:919:21)
    at Object.<anonymous> (/Users/milesj/Projects/boost/node_modules/ink/src/reconciler.ts:6:1)
    at Runtime._execModule (/Users/milesj/Projects/boost/node_modules/jest-runtime/build/index.js:1299:24)
    at Runtime._loadModule (/Users/milesj/Projects/boost/node_modules/jest-runtime/build/index.js:898:12)
    at Runtime.requireModule (/Users/milesj/Projects/boost/node_modules/jest-runtime/build/index.js:746:10)

Seems to be no progress on this issue, so I'm at a dead end here. https://github.com/facebook/yoga/issues/898

Just stumbled upon this too: https://github.com/yarnpkg/berry/pull/2176 Seems to be more widespread than initially thought.

Our problem in https://github.com/yarnpkg/berry/pull/2176 is different; the Yoga build includes an annoying listener on uncaughtException, which causes problems when it gets instantiated multiple times (usually shouldn't, but we have some particular setups where it might happen). As a result, Node eventually prints (incorrect) warnings about Possible EventEmitter memory leak detected.

:+1:

:+1:

Thanks for raising this issue @milesj. I've been seeing these errors as well but just tried to avoid looking into this.
(node:2836) V8: /home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:1781 Linking failure in asm.js: Unexpected stdlib member

All my CI runs contain this error: https://github.com/AriPerkkio/eslint-remote-tester/runs/1723287334?check_suite_focus=true
I recently tried esbuild for bundling an application using Ink. These errors started appearing outside tests as well - the error message is a bit different though. This example from ink is enough to reproduce this.
$ node dist
(node:7363) V8: /home/<removed>/esbuild-ink-repro/dist/index.js:30453 Invalid asm.js: Type mismatch in assignment
(Use `node --trace-warnings ...` to show where the warning was created)
Use arrow keys to move the face. Press “q” to exit.

 ^_^

Thanks for raising this issue @milesj. I've been seeing these errors as well but just tried to avoid looking into this.
(node:2836) V8: /home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:1781 Linking failure in asm.js: Unexpected stdlib member

All my CI runs contain this error: https://github.com/AriPerkkio/eslint-remote-tester/runs/1723287334?check_suite_focus=true
I recently tried esbuild for bundling an application using Ink. These errors started appearing outside tests as well - the error message is a bit different though. This example from ink is enough to reproduce this.
$ node dist
(node:7363) V8: /home/<removed>/esbuild-ink-repro/dist/index.js:30453 Invalid asm.js: Type mismatch in assignment
(Use `node --trace-warnings ...` to show where the warning was created)
Use arrow keys to move the face. Press “q” to exit.

 ^_^

https://github.com/facebook/yoga/issues/898#event-7517753441 This issue was closed and passed to this repo.


Since latest Monarch update, failed setup

Since updating to the latest version of Monarch, I am getting a failed setup error.
Error communicating with API: 'MonarchMoney' object has no attribute 'get_cashflow'.
I've tried competely removing the integration and adding it back (restarting HA after removing and re-installing) but still getting the error message.

I was on the 0.0.2 branch. I also tried the main branch but had the same error. Switched back to 0.0.1 and Monarch is working again.

I'm not a developer (python, home assistant, or otherwise) but I tried tracking down the referenced error. It's in update_coordinator.py line 109-110. Commenting those out and retrying worked for me. Obviously the cashflow sensor is now "unknown" but everything else seems to be working.

I am also a first time user here (had Mint, now loving Monarch Money), however I also failed the login. However, similar to above, commenting out the lines as mentioned above solved the problem. Unfortunately those are the data points I want to incorporate into HA. But appreciate the work and effort nonetheless.

This is now fixed in 0.0.3


Adapt operator helm chart to v0.9.0

Adapt the operator and apater helm chart to v0.9.0
Add the related e2e test.

@kezhenxu94 We seem to face some incompatible changes when updated to 0.8. So, we should consider a new Helm release for bundled 0.8 SWCK.

@kezhenxu94 We seem to face some incompatible changes when updated to 0.8. So, we should consider a new Helm release for bundled 0.8 SWCK.

I think we should consider releasing swck chart on its own instead of releasing all charts in this repo for nothing, the skywalking Helm Chart in this repo has no significant change since last release.

You mean swck should have its own helm? Such as swck-helm?

You mean swck should have its own helm? Such as swck-helm?

yes, currently skywalking-helm is only for skywalking-helm (OAP/UI), it's nothing related to swck at all, meaning swck users have to download source code to install

@dashanji @hanahmily What do you think? Should we have a thing called swck-helm to guide users?

Should we have a thing called swck-helm to guide users?

Agree.

@dashanji If we have an agreement, let's start a proposal to create skywalking-swck-helm repository to host this part of code and release it?

@dashanji If we have an agreement, let's start a proposal to create skywalking-swck-helm repository to host this part of code and release it?

No problem, but I don't know how to write the proposal. Is there a guide available?

It is easy, aa you are a member of PMC, just need

Which repository is proposed to create
Background and why you need this

It is easy, aa you are a member of PMC, just need

Which repository is proposed to create
Background and why you need this

Thanks for the detail. One more question，where do I need to send the proposal？

<EMAIL_ADDRESS>

@dashanji Do you plan to ask for that after May public holiday?

@dashanji Do you plan to ask for that after May public holiday?

Yes.


start of the frequency the impedance value drops

orry sir, i may ask why at the start of the frequency the impedance value drops?
please what is the solution sir?

Hey,
Can I ask what frequency you start at? Is it below 10kHz?


isLocalPlayer not set to true for local players

On objects that extend NetworkBehaviour there is a variable isLocalPlayer that is normally true for the local player only. This is used, for example, to prevent you from controlling other players on your screen when you try to move.
Perhaps somewhere in the SteamNetworkManager class it must be set to true but I don't know how to fix this. I use isLocalPlayer extensively.

OnStartLocalPlayer() is also not being called. I think there's more needed than just setting isLocalPlayer to true.

I fixed it by replacing NetworkServer.SpawnWithClientAuthority(player, conn); with NetworkServer.AddPlayerForConnection(conn, player, 0);
https://github.com/rempelj/unet-steamworks/blob/20836035e61c837b83b48ed7ad026105060f74dc/Assets/Scripts/UNETSteamworks/Network/UNETServerController.cs#L132

Hey Jesper. Thanks, that helped. Have you tested this with hosts and clients or a server and clients? When I try to connect as a client it only starts another server.

I tried it with host and clients. Not sure how this would work as a server. Though I’m not really sure why you would want to run steam p2p as a server. I thought the idea of steamworks p2p was that you can connect multiple players without needing dedicated servers.

Yes, you're right. It is p2p so it would not make sense to have a server and clients. I forgot about that.
It would be very helpful to know how you tested it. When I test it with two instances on my local machine, the second player starts another server instead of joining the client. How did you test? Did you use two separate computers with their own steam accounts?

Yes, I have a macbook and a PC so I connect the two to each other with two
different steam accounts.
On Fri, 16 Nov 2018 at 10:15, Joel Berman<EMAIL_ADDRESS>wrote:

Yes, you're right. It is p2p so it would not make sense to have a server
and clients. I forgot about that.
It would be very helpful to know how you tested it. When I test it with
two instances on my local machine, the second player starts another server
instead of joining the client. How did you test? Did you use two separate
computers with their own steam accounts?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rempelj/unet-steamworks/issues/6#issuecomment-439330299,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACnF8nIzE5yQqrLsUaFqIPKuVXYkdkOaks5uvoIsgaJpZM4Wg8PA
.

Great. Now I know why it hasn't been working for me. Thanks for your help.


key problem

Greeting 🌹,
thanks for useful package📦,
I have some errors when I press any keys in my keyboard

It's usually a problem with Flutter, not window_manager, unless it happens only if window_manager is installed. Can you provide flutter doctor -v and steps to replicate that triggers this error ?

I think it's wrong with the fluent-ui library

Please find the solution in the flutter repo, this is not a bug caused by windown_manager.
https://github.com/flutter/flutter/search?p=2&q=_pressedKeys.containsKey(event.physicalKey)&type=issues


Duplicate KeyNotFound exception

Codecov Report

Merging #119 into master will decrease coverage by 0.83%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #119      +/-   ##
==========================================
- Coverage   59.48%   58.65%   -0.84%
==========================================
  Files          37       37
  Lines        3520     3693     +173
==========================================
+ Hits         2094     2166      +72
- Misses       1426     1527     +101

Impacted Files
Coverage Δ

bitshares/exceptions.py
100% <ø> (ø)
:arrow_up:

bitshares/bitshares.py
44.17% <0%> (-2.17%)
:arrow_down:

bitshares/price.py
47.28% <0%> (-1.55%)
:arrow_down:

bitshares/transactionbuilder.py
66.66% <0%> (-0.14%)
:arrow_down:

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 6db177d...2e975fa. Read the comment docs.


Don't ignore *.pot files.

Reasons for making this change:
Although dynamically generated from i18n tools, in some situations (specially in the Plone world) you need to add a manual.pot with manual entries that need to be versioned.
Links to documentation supporting these rule changes:
https://github.com/plone/documentation/blob/0ea1b1f715e9031a434d72f57c189f25aa1f4b73/develop/plone/i18n/internationalisation.rst#manual-po-entries

@shiftkey can you take a look here please?

@idgserpro the other concern I have about this change is interest from the community - I'm not familiar with Plone so I'm not sure how many people out there agree with this change.

Your concerns are valid. Actually, I don't know the motivation to version control *.pot files, but this has been for ages in Plone world.
@mauritsvanrees would you have more information about this?

I am one of the Plone Release managers. I am indeed used to having the .pot files in version control. I encountered a Plone project at a customer recently where the .pot file was ignored, and it surprised me, wondering why I did see changes in the .po files, but not in the .pot file.
Some reasons for versioning the .pot files:

Yes, you can regenerate the .pot file, but if someone uses a different tool for this, or a different version, I would like to see this difference in version control.
I find it useful to be able to update only the central .pot file to check what influence my code changes have there.
It makes it easy to copy the .pot file to a .po file for adding a new language.
I am simply used to it.

Something like !*manual.pot may work.
I am not using this gitignore project though.


Navigation with j, k, h, l breaks when inbox view's filter dropdown is selected

Navigating up to the view filter dropdown in the inbox view works fine with k, but you can only return to the main view content using the down arrow key - j does nothing. Similar behaviour for k, h, l.
Hitting esc when the filter search field is selected takes focus back to the main content as expected. The same does not happen when the view filter dropdown is in focus.

https://github.com/zulip/zulip/assets/72880238/e1735122-7288-457f-b172-49de8e46c404

CZO thread

@zulipbot add "area: keyboard UI" "bug"

I want to work on this issue

@zulipbot claim

I solved this issue.
You can see on console at right which key i am pressing
Proof :-
https://github.com/zulip/zulip/assets/124865398/15b67e4c-0059-4368-ac2d-d6cf4a06a4a3


Add integration test for parquet async writer

A follow-up to https://github.com/NVIDIA/spark-rapids/pull/11730. This PR adds an integration test for the async writer for Parquet. In addition, it fixes a bug that the spark.rapids.sql.asyncWrite.queryOutput.enabled config was effective per SparkContext. It did not allow turning the async write on/off per query within the same SparkContext. It should instead be per-query basis, so that each query can be optimized individually.

build


Support for Oauth2 v2.x

Thank you so much for putting this valuable gem together.
Are there plans to update the gemspec to use OAuth2 v2.x? Recently after installing this gem I saw "You have installed oauth2 version 1.4.10, which is EOL."

Maybe it is enough to just relax the dependency? Have you tried that?


pcmanfm: no "Extract here"

Issue description
Though I can move files to trash via right click and they are end up in /home/bjorn/.local/share/Trash/files, restoring not supported and trash icon not shows in right sidebar
Steps to reproduce
Install pcmanfm, open, right click on zip, no "extract here" though xarchiver installed and I compress.. menu item present on right click on zip (sorry, no image)

Same issue in archlinux, do pcmanfm needs patch?
Technical details

System:  (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...) 17.09.1880.ac2bb5684c (Hummingbird)
Nix version:  (run nix-env --version) nix-env (Nix) 1.11.15
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion) "17.09.1880.ac2bb5684c"
Sandboxing enabled: (run grep build-use-sandbox /etc/nix/nix.conf) build-use-sandbox = false

Fixed this right now by using
      desktopManager = {
        default = "gnome3";
        gnome3.enable = true;
      };

P.S. I love nixos!!!! :heart:  :heart:  :heart:


Demo total

https://github.com/EngoEngine/audio/blob/master/demos/hello.go#L15
Maybe you'd want to print it? This is a useless statement (the compiler would complain if it knew any better). It doesn't "do" anything, it just returns a value.

@EtienneBruines I was testing something out at that point, thanks for noticing it.

Closed in: https://github.com/EngoEngine/audio/commit/0b0aae79a8232466c12631756296e780adec13ae


Deploy a mirror site in China

Visiting github.io is slow in China. We must deploy a mirror site for Chinese developers.

Use gitee to deploy a site in China.
Use cloudfare to speed up accessing static website.

Use gitee to deploy a site in China.
Use cloudfare to speed up accessing static website.

I have deploy a website in China
cloudflare can only accelerate second-level domain

@eyworldwide Still need a link to the mirror #15


[CT-1409] [Bug] when there's a variable being called in a jinja block that is not defined in dbt_project.yml, there's an compile error

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Not 100% sure what about this code block causes the error. Possible there's a variable being called inside a jinja block
https://www.loom.com/share/eb8a9d3b57e24e588c5fa8b96e9d13cf
Expected Behavior
We shouldn't show any error here (?) -- see Loom for more info
Steps To Reproduce

Start with an existing project in the Cloud IDE
Choose any existing sql data model
add this block of code

{% if var('random_var_name') != [] %}
,
{{ var('random_var_name') | join (", ")}}

{% endif %}

Save file
Notice the error state from RPC
If you go into dbt_project.yml and define random_var_name, then the error goes away

Relevant log output
No response
Environment
- OS:
- Python:
- dbt:

Which database adapter are you using with dbt?
No response
Additional Context
No response

After a little digging, there's more history here:

https://github.com/dbt-labs/dbt-core/issues/3320
https://github.com/dbt-labs/dbt-core/pull/1429
https://github.com/dbt-labs/dbt-core/issues/434

Big idea: At parse time, a missing var actually returns None (to avoid raising errors due to missing vars in disabled models). That works fine sometimes, but not if the variable is expected to support __iter__ type operations. Hence, 'NoneType' object is not iterable.
Going to re-label this one as a spike, to understand what's possible here as far as better UX.

Wanted to follow up that this is still not resolved if its possible to reopen


decap-cms-config.yml loses order of fields array

collection fields is an array, but we're losing order in the array.
This makes an unusable editor because the body section isn't output correctly.
See the input file where "title" is first and "body" is last...
config/_default/params.yaml:
decap_cms:
  media_folder: assets/images/uploads
  public_folder: /images/uploads
  display_url: https://example.com/
  search: true
  collections:
    event:
      name: events
      label: Events
      label_singular: Event
      description: Upcoming events
      folder: content/events
      create: true
      media_folder: ''
      public_folder: ''
      slug: "{{year}}-{{slug}}"
      fields:
        - {label: "Title", name: "title", widget: "string"}
        - {label: "Publish Date", name: "publishDate", widget: "datetime"}
        - {label: "Event Date", name: "date", widget: "datetime"}
        - {label: "Expiry Date", name: "expiryDate", widget: "datetime", required: false}
        - {label: "Draft article", name: "draft", widget: "boolean", default: false}
        - {label: "Do not list in index", name: "noindex", widget: "boolean", default: false, required: false}
        - {label: "Feature this article", name: "featured", widget: "boolean", default: false, required: false}
        - {label: "Pinned", name: "pinned", widget: "boolean", default: false, required: false}
        - {label: "Allow comments", name: "comments", widget: "boolean", default: true, required: false}
        - {label: "Intro Blurb", name: "description", widget: "text"}
        - {label: "Authors", name: "authors", widget: "list", default: ["ich", "paul"]}
        - {label: "Area tags", name: "tags", widget: "list", default: ["north-bay", "south-bay", "east-bay", "sierras", "norcal", "socal", "mexico"]}
        - {label: "Featured Images", name: "images", widget: "list", choose_url: false, media_folder: ""}
        - {label: "GPX file", name: "gpxfile", widget: "file", media_folder: "", required: false}
        - {label: "Body", name: "body", widget: "markdown"}

The generated public/decap-cms-config.yaml sorts the fields by name, notice "author" followed by "body" ...
backend:
  branch: main
  name: github
  open_authoring: true
  repo: myorg/example
collections:
- create: true
  description: Upcoming events
  fields:
  - default:
    - ich
    - paul
    label: Authors
    name: authors
    widget: list
  - label: Body
    name: body
    widget: markdown
  - default: true
    label: Allow comments
    name: comments
    required: false
    widget: boolean
  - label: Event Date
    name: date
    widget: datetime
  - label: Intro Blurb
    name: description
    widget: text
  - default: false
    label: Draft article
    name: draft
    widget: boolean
  - label: Expiry Date
    name: expiryDate
    required: false
    widget: datetime
  - default: false
    label: Feature this article
    name: featured
    required: false
    widget: boolean
  - label: GPX file
    media_folder: ""
    name: gpxfile
    required: false
    widget: file
  - choose_url: false
    label: Featured Images
    media_folder: ""
    name: images
    widget: list
  - default: false
    label: Do not list in index
    name: noindex
    required: false
    widget: boolean
  - default: false
    label: Pinned
    name: pinned
    required: false
    widget: boolean
  - label: Publish Date
    name: publishDate
    widget: datetime
  - default:
    - north-bay
    - south-bay
    - east-bay
    - sierras
    - norcal
    - socal
    - mexico
    label: Area tags
    name: tags
    widget: list
  - label: Title
    name: title
    widget: string
  folder: content/events
  label: Events
  label_singular: Event
  media_folder: ""
  name: events
  public_folder: ""
  slug: '{{year}}-{{slug}}'
locale: en
media_folder: assets/images/uploads
public_folder: /images/uploads
publish_mode: editorial_workflow
search: true
site_url: https://goattrails.pst.org/

Which version of this module do you use? I will check this later.

Should be fixed since v0.8.1.

Confirmed, fixed, thanks!


Text filter does not update

First of all, thanks for providing the new filtering options! The set filter type is very helpful.
I am having trouble using the text filter type API method setFilter(). Here is a JSBin to demonstrate the problem: http://jsbin.com/debidepeyi/1/edit?html,js,output
If you click the button "Set name to John", nothing will happen. It appears that the filter is not applied. Clicking the button "Set age to 36" works, as this applies to the number filter. I took a quick look at the TextFilter code, and it appears that the set value is applied to filterNumber when maybe it should be set to filterText?
Let me know if I can provide more information. Thanks!

Thanks for pointing out. I test the number filter API, and then copy & pasted the logic into the text filter!! I've just checked in a fix to latest on master.


props not being passed through to react component

Using the react helper like in the readme, e.g. {{react componentName='mycomponent' foo=bar }} this.props.foo inside the react component is not set. Not working for Ember 1.13+.

Are you able to get it working at all with Ember 1.13+? Or just having issues with props. I can't seem to get it working at all due to js errors being thrown like: Uncaught TypeError: Cannot read property 'toUpperCase' of undefined

It's highly possible some of the Ember internal's this depends upon have changed. Unfortunately I don't have the bandwidth to dig into this right now.

Digging into it a big, what I've found so far:

The type paramater in the autoGenerateWrapperClass function (React) is undefined, and it's trying to call toUpperCase() on type, which is why the error is occuring
Going a little deeper, looking into the ember-react code, specifically in the ReactComponent renderReact() function it is creating a variable reactClass, which to my knowledge so far is responsible for that type param that React uses. And inside of the renderReact function the reactClass variable is undefined

I'll post anything else if I uncover more

I ended up getting it working by not using jsx and opting for vanilla javascript in the react component


[WIP] Left shifts with unwind

Here is what I have so far. This is not mergeable yet since there are four failing it tests.  The following queries are failing, but they have suboptimal QScript that is making it hard for me to know how to plan this correctly in aggregation:

select loc[*] from zips where loc[*] < 0. QScript

select city, state, loc from zips order by loc[*] desc QScript

select _id as zip, loc[*] from zips order by loc[*] limit 10 QScript

SELECT AVG(cnt) as measure, state as category FROM (SELECT COUNT(*) as cnt, state, gender FROM otherpatients WHERE codes[*].desc LIKE "%flu%" GROUP BY state, gender ORDER BY COUNT(*) DESC, state ASC) as meh QScript

In all of these the identities map seems unnecessary and needlessly complicates the query.
I could simplify the QScript by hand and see if that solves the problem but it might be easier to actually solve the QScript problem instead of working around it in the Mongo connector.
What do you think @wemrysi, @alissapajer, @rintcius, @djspiewak?

So the qscript for a lot of these is going to get simplified radically when the shift coalescence work lands (hopefully tomorrow). We can see what things look like on top of that.
I’m not sure I understand what you mean about the identities map being unnecessary though. It’s very definitely being used.

@djspiewak Ok, trying to understand this better. For example, in this query I see we create a map with identities and we then preserve it in the repair of the inner LeftShift. Then I see the outer LeftShift's repair' does not involve LeftSide so the identities is effectively ignored. Neither the outer nor the inner LeftShift structs seem to use the ids either. I see the ThetaJoin does use the ids, but that's elided after QScript (Educated).
What's the flaw in my reasoning here?

The elided join happens because of a rewrite in qscript (not qsu) that happens to catch this exact case. QSU doesn’t know about that, which is what Edmund and I are working to fix, but since it isn’t known, we have to emit a theta join along with all the associated trappings (including the identity map).
The qscript rewrite is going away eventually. It’s quite naive and probably actually breaks trees in some cases. Once Edmund and my work lands, the identity map won’t exist in cases where joins can be fully eliminated.

@djspiewak makes sense. For now I'll simplify these by hand to write tests and implement other parts necessary to plan the LeftShifts efficently

Build should be green at least, but this PR is still missing a few things:

Handle nested left shifts with Outline.
Massive refactor of LeftShift case handling

Some cases are still handled with mapReduce because of suboptimal QScript. Hopefully @djspiewak and @edmundnoble's multiple PRs will help here.

Test failures in the mongo planner specs.

@djspiewak this is the good kind of failure since it's pending test that's now (almost) fixed. I'll fix that (it should return [undefined] instead of undefined when the field is not an array), refactor case LeftShift => .... Once that's done we can merge this and I'll fix more cases in subsequent PRs.

The Mongo connector is now planning more queries efficiently. Build should be green. Notably, flattening in a predicate condition with references to both LeftSide and RightSide in the LeftShift's repair are not working. Not sure if this is a QScript issue or a Mongo issue, but the QScript can definitely be simplified while keeping the Filter node.
Sample query: select city, loc[*] from zips where loc[*] < -165
select city from zips where loc[*] < -165 work, same with select loc[*] from zips where loc[*] < -165.

@rintcius Can you review and (hopefully) merge this asap in the morning?  This is one of the two outstanding PRs which comprise the final piece of 5.0.

Thanks for the review. I’ll definitely incorporate the fixes in the
subsequent PRs I have planned.
On Fri, Dec 15, 2017 at 05:12 Rintcius Blok<EMAIL_ADDRESS>wrote:

@rintcius commented on this pull request.
Nice work! I left one comment, but feel free to merge without addressing
it if it comes in the way of the release.
In mongodb/src/main/scala/quasar/physical/mongodb/MongoDbPlanner.scala
https://github.com/quasar-analytics/quasar/pull/3298#discussion_r157163819
:

           struct match {

             case Embed(CoEnv(\/-(MFC(Guard(exp, Type.FlexArr(_, _, _), exp0, _))))) if exp === exp0 =>

               getExprBuilder[T, M, WF, EX](cfg.funcHandler, cfg.staticHandler)(src, struct) >>= (builder =>

                 getExprBuilder[T, M, WF, EX](

                   cfg.funcHandler, cfg.staticHandler)(

                   FlatteningBuilder(

                     builder,

                     Set(StructureType.Array(DocVar.ROOT(), id))),

                     repair.as(SrcHole)))

             case _ =>

               getExprBuilder[T, M, WF, EX](cfg.funcHandler, cfg.staticHandler)(src, struct) >>= (builder =>

                 getExprBuilder[T, M, WF, EX](

                   cfg.funcHandler, cfg.staticHandler)(

                   FlatteningBuilder(

                     builder,

                     Set(StructureType.Object(DocVar.ROOT(), id))),

Looks like these 2 pattern matches can be joined together, since the
difference between both cases is small (just StructureType.Object vs
StructureType.Array)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/quasar-analytics/quasar/pull/3298#pullrequestreview-83763993,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AApVvpElTWsX9C29va_A0Z7vXvIOQ2deks5tAkYdgaJpZM4Q_3DO
.


resend routes not working!

Route::get('/aktiv8me/resend', '\App\Http\Controllers\Auth\RegisterController@resend'); Route::post('/aktiv8me/resend', '\App\Http\Controllers\Auth\RegisterController@resend')->name('register.resend');
Above resend routes are showing error.

I'm sorry but I'll need more information to reproduce your problem and figure out what's wrong:
What error? Please be explicit.
What version of laravel?
What version of the package?
Did you run php artisan make:aktiv8me ?
Did it finish without errors?
Did you try to reinstall?
I will assume both issues you opened are related.

Laravel 5.5 fresh installation
Error was method resend not defined in RegisterController
yes i did run php artisan make:akdtiv8me ...
But it did not make the view file for resend.
I did finish by fixing route to
Route::get('/aktiv8me/resend', '\App\Http\Controllers\Auth\RegisterController@getResend');
Route::post('/aktiv8me/resend', '\App\Http\Controllers\Auth\RegisterController@postresend')->name('register.resend');
and then copying the view file from the repository to my local machine..

Glad you managed :)


error while creating mount source path '/var/lib/lxcfs/proc/loadavg': mkdir /var/lib/lxcfs/proc/loadavg: operation not permitted

部署成功后测试，发现 pod 启动报这个错误:
Error: failed to start container "testgolangapi": Error response from daemon: error while creating mount source path

'/var/lib/lxcfs/proc/loadavg': mkdir /var/lib/lxcfs/proc/loadavg: operation not permitted

kubectl logs pod-sfadfx 的日志：
failed to try resolving symlinks in path "/var/log/pods/cd-staging_10015-fat-65cc8c78c7-mh8vn_698d34f0-bdef-11ea-a670-f26c9

改用别的方案了。closing


Public Provider

Stores JWE outputs as an IPFS block #135

Me and @Mehdi Balouchi, discussed about creating shared collections using orbit-db.

Create Collection
Store JWE into OrbitDB
Query Collection Items


Full screen is not working

Full screen is not working on Linux.

Actually, full screen is not fully working all of the time. Needs looking at...

Full screen is working perfectly in the GTK port on Linux and MacOS X.


Add support for AstraDB in the create-llama cli

Python code only, no typescript at the moment

@erichare some tests are broken, can you check that and make sure it's following what create-llama expects?

@EmanuelCampos what's interesting is from what i can tell, the tests are saying that an OpenAI Key is not being provided. i didnt think that anything i added specified something specific about OpenAI, like using it as the service context. So I can't quite make sense of this. Do you have any thoughts? I could be missing something completely.

@erichare, yes, the e2e tests are not running for outside contributors. The reason is that this could leak the OpenAI key from our CI pipeline. But no worries; we'll use this PR as a draft for adding AstraDB to create-llama.
Thanks a lot for your contribution!
Next steps:

adding TS code for using AstraDB vector store
modifying create-llama to add AstraDB as an option

Will continue on this in https://github.com/run-llama/create-llama

Just merged this to main of  https://github.com/run-llama/create-llama - will be in the next release


Introduce java.util.Optional support for mapped field types

besides using Lazy-Loading, users may well want to have a convenient way to work with nonexistent properties. Here, support Optional<> fields would help a lot for cases where Lazy would be exaggerating:
@ResourceMolde(types = "some/type")
public class MyModel {
   Optional<String> someProperty;
}

Right. I forgot about the strangeness of java.util.Optional design goals.  Basically, using java.util.Optional has been designed exclusively for return types. If you need optional behavior, use Optional.of(x) or Neba's Lazy abstraction:
@ResourceModel(types = "some/type")
public class MyModel {
     private String someField;
     private Lazy<String> lazyField;

     public void doSomething() {
           Optional.of(someField).ifPresent(....);
     }
}

Closing as won't fix.


Convert all method_aliases to deprecated_property_alias in resources

We use method aliases throughout Chef to allow users to pass old deprecated property names. We should convert these over to deprecated_property_alias so that users actually get the feedback that they're using the deprecated property names.

Instead we're converting them to cookstyle rules which is far less user impacting and gets us the same thing in the end.


Additional titles on an index.rst page (with the toctree) mess up the toctree

Assume you want to put some content on a certain "landing page". For example, in the demo docs, if you click on the top-level "User guide" (which maps to user_guide/index.rst), this currently only shows the table of contents (which is not very useful information since this is also already included in the right side bar):
https://48-130237506-gh.circle-artifacts.com/0/html/user_guide/index.html

Often, it will be nice to include some content on this "landing page" of a top-level section (and eg set the toctree to "hidden" so it is not duplicated in the main body).
However, if you currently use additional section headers for this content, that messes with the way we use the toctree for the structure of the site (I assume this is because then, the toctree gets put "under" the titles on that page). And then the sidebar doesn't get populated any more:

Although it seems it can also work correctly, at least for JupyterHub it is working on the main index.rst: http://z2jh.jupyter.org/en/latest/index.html

Aha, it seems that :titlesonly: does the trick (but you need to put this in the toctree one level higher, not on the page itself where you add extra titles).
And the "titlesonly" is a bit confusing, basically it means "document titles only", and is basically what we want for the top and left side bar: only use the document structure for the toctree, not any additional in page headers (it's only for the right sidebar that we want to use in page headers).

I assume this is because then, the toctree gets put "under" the titles on that page

I resolve this by put the toctree on the top and set :hidden

I think I figured out the problem in the doctree structure.
In user_guide/index, normally the relevant part of the doctree is this:
<bullet_list classes="current" iscurrent="True">
    <list_item classes="toctree-l1 current" iscurrent="True">
        <compact_paragraph classes="toctree-l1 current" iscurrent="True">
            <reference anchorname="" classes="current" internal="True" iscurrent="True" refuri="">
                User Guide
        <bullet_list>
            <list_item classes="toctree-l2">
                <compact_paragraph classes="toctree-l2">
                    <reference anchorname="" internal="True" refuri="install.html">
                        Installation

however if we add one title above the toctree directive, it becomes this:
<bullet_list classes="current" iscurrent="True">
    <list_item classes="toctree-l1 current" iscurrent="True">
        <compact_paragraph classes="toctree-l1 current" iscurrent="True">
            <reference anchorname="" classes="current" internal="True" iscurrent="True" refuri="">
                User Guide
        <bullet_list iscurrent="True">
            <list_item classes="toctree-l2" iscurrent="True">
                <compact_paragraph classes="toctree-l2" iscurrent="True">
                    <reference anchorname="#test" internal="True" iscurrent="True" refuri="#test">
                        Test
                <bullet_list>
                    <list_item classes="toctree-l3">
                        <compact_paragraph classes="toctree-l3">
                            <reference anchorname="" internal="True" refuri="install.html">
                                Installation

So the toctree gets nested one level deeper, and I think we then miss it in the sidebar

I think a short-term fix is that we should document that users should put titlesonly in their toctrees for now.


Option for allowing trailing commas

if I have an import with several  on one line, e.g. 4 or more:
import {   message,   Upload,   } from 'antd';
with the option enabled to order on save:
 "typescript.extension.sortImports.sortOnSave": true
it wraps multiple imports onto several lines and it then removes the trailing comma (after Upload) which causes my prettier file to complain
import {   message,   Upload   } from 'antd';
So I have to disable sort on save for now :(

@damiangreen FYI I have forked this project since it was no longer actively maintained, and added your request to my latest release. https://github.com/neilsoult/typescript-imports-sort

With the release of Typescript 2.8 over a year ago, the ability to organize imports comes bundled with Typescript, in a better implementation than this one made for a hack week. As such, I have no further plans to maintain this project.
If for whatever reason you would like to take ownership of this repository, please let me know.


Update http4s-blaze-server, http4s-circe, ... to 0.22.11

Updates

org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-dsl

from 0.22.2 to 0.22.11.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #253.


Add sentry to django backend

I added a branch in the deployment module which should make it easier to add Sentry to the different RSLab applications. So it's not necessary to include this in the code base of the individual repos.


Document and demo image scanning to SecOps

Describe the issue
We have AWS image scanning service and added to our demo app pipeline.  This will connect to a discussion around what is the approach to securing the software delivery pipeline across the org.
Which Sprint Goal is this issue related to?

Note: 'Milestone' is a ZenHub term that we use synonymously with 'Sprint'.

The 'Milestone' description (created in ZenHub) should clearly list Sprint Goals. This section should indicate which 'goal' this issue is related to.
Additional context

SecOps is talking about setting up an image scanning service but we already have one of those.
Sending the results to a centralized log would require some serverless code (Include in logs, export to SIEM)
Tech team opinion is this is something that we should turn on at the SEA level (and push back to parent SEA repos?)

Definition of done

Have a slide that describes what is present in the demo app and possible in AWS for presenting to the next SecOps User meeting on May 25

https://github.com/aws-samples/aws-securityhub-remediations/tree/main/aws-ecr-continuouscompliance


Modin[all] installation in Python 3.10

Modin doesn't install on Python 3.10.
pip3 install modin[all] results in an error for building dependencies.

Hi @kirui93 thanks for raising the issue!
I suspect that the problem with modin[all] is that Ray does not yet support Python 3.10 (https://github.com/ray-project/ray/issues/19116).
If you want to use Modin with Ray, you will need to downgrade your Python version until Ray can support Python 3.10. If you prefer to stay on Python 3.10, you can pip install modin[dask,remote,spreadsheet,sql]. That will install everything but Ray.
Let me know if that works for you! Thanks again for the issue!

Ray now supports python 3.10!  ray 2.0.0, 1.13.0 are both available on Python 3.10.4.


Issue 822

Try to patch #822

Not 100% sure bout his one...

fixed in https://github.com/aristath/kirki/commit/1f0e6c8f3c3842b6290d835d80c32ce03871660e


Support Use of AppImage

Apparent bug
The current approach merely works with conky installed as system package but fails with the AppImage that is proposed in the instructions.
Environment
conky: AppImage
Suggestion
Just an idea: Add a note in README to install conky as system package or to place the AppImage in the folder of lean-conky-config. Then you could detect which one to use in start.sh. Alternatively, download the AppImage automatically if the user approves.

LCC now supports custom conky installations, just pass the path to your conky binary with the -p option. Check README for details.


[FEATURE] Payments and it's webhook response to contain non-card payment method details

Feature Description
TLDR; Payments response and it's associated webhooks events to contain payment method data details.
As of today, only card's and paylater's payment method data is populated in our API responses and webhook events for payments. Populating details of other payment methods provides more context about the payment details.
Possible Implementation
Below is the list of payment methods supported in HyperSwitch

:white_check_mark: Card
CardRedirect
Wallet
:white_check_mark: PayLater
BankRedirect
BankDebit
BankTransfer
RealTimePayment
Crypto
Upi
Voucher
GiftCard
CardToken
OpenBanking

Have you spent some time checking if this feature request has been raised before?

[X] I checked and didn't find a similar issue

Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to submit a PR?
Yes, I am willing to submit a PR!

Opening for https://github.com/juspay/hyperswitch/pull/5788

Reopening for https://github.com/juspay/hyperswitch/pull/5790


Bug: fuse directory isn't generated

Description
I've noticed the fuse directory isn't being generated after running fuse dev in a fresh project created by create-vite. Once the project was created, I ran npx create-fuse-app, which generated the types directory and _context.ts, schema.graphql, and .vscode/settings.json files, modified tsconfig.json, and started the server, but there wasn't any terminal output showing the codegen had run. Even though the server does start up, the only query field available is _version.
Versions

TypeScript Version: 5.3.3
Fuse version: 0.11.3
Node: 18.16.0

The calls to writeFile are both throwing the following error:
ENOENT: no such file or directory, open '/path/to/src/fuse/index.ts'

The files are successfully generated if I manually add the fuse directory and run fuse dev.


Support for changing fonts please :-)

The default Consolas is far better than the old Courier Windbg font, but it would be great to be able to customize global font + size.  (Or some details on where to hack it in the js/css files that I think drive things now.)

We added this in last month's release (1904). Just hit "Settings" on the home ribbon:

There are still some windows it doesn't support yet, we'll be updating those in the future.

Awesome, thanks @aluhrs13!


Adding codecov yml thresholds

CATEGORY
Choose one

[ ] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
Testing codecov checks
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS

Codecov Report

Merging #2 into master will increase coverage by 3.04%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage   64.94%   67.98%   +3.04%
==========================================
  Files         424      382      -42
  Lines       20598    19584    -1014
  Branches     2281     2012     -269
==========================================
- Hits        13378    13315      -63
+ Misses       7097     6150     -947
+ Partials      123      119       -4

Impacted Files
Coverage Δ

superset/utils/core.py
87.93% <71.42%> (-0.29%)
:arrow_down:

...ets/src/visualizations/FilterBox/transformProps.js

...ets/src/visualizations/deckgl/layers/Grid/Grid.jsx

...ations/deckgl/layers/Polygon/PolygonChartPlugin.js

...c/visualizations/deckgl/layers/Scatter/Scatter.jsx

...t/assets/src/visualizations/deckgl/layers/index.js

...visualizations/deckgl/layers/Hex/HexChartPlugin.js

.../assets/src/visualizations/TimeTable/TimeTable.jsx

superset/assets/src/visualizations/Legend.jsx

superset/assets/src/visualizations/constants.js

... and 33 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 51068f0...b76c2ea. Read the comment docs.


The folder "HSoM/Pics" should be renamed to "HSoM/pics", notice lowercase 'p'

Or change every single lhs to refer to "Pics" instead.
My guess is that the tester uses a case-insensitive file system such as the default in MacOSX.
A quick workaround: create symbolic link "pics" to "Pics" within HSoM folder.

Euterpea 1.x (this repository) is not currently being updated. All updates are currently happening within the Euterpea 2 repository, although it is possible that the two repositories may be merged eventually once Euterpea 2 is ready for hackage. Euterpea 2 no longer includes the textbook source.


Please add me to the vscode

Thanks

That's not how Microsoft handles access rights to this repository. If you want to contribute to VS Code, the first step is to read the https://github.com/Microsoft/vscode/wiki/How-to-Contribute document, especially the section on Pull Requests.

Maybe he wants to apply? See #27092

Pls see comments above.


How long will this project be supported

Hi,
Love this project. Is there any information on how long this project will be supported?
Thank you!

We would continue to support the project as long as it remains technically viable and valuable in addressing customer use cases. We are in the process of releasing v3.0 of the solution in next couple of weeks.

Version 3.0 resolves this issue.

@gsingh04 Thank you for the information!


Javascript error on create/delete folder

Hi all,
One of my user report to me a bug on creating / deleting folders from parameters.
If the ajax process is ok there is a in error on the callback.
The error in console (same on create and delete) :
app.js?community:4 - Uncaught TypeError: ee.a.abort(...).fastResolve(...).then(...).catch(...).fin is not a function
I'm using Rainloop <IP_ADDRESS> Community Edition (latest version at the moment) and Chrome (51).
Hope it help.
Thank you for your work ! :+1:

Thanks!

Fixed.


Redirect ffmpeg-core to local node_module.

Hi All
This package is amazing!
However there a way to run this package offline(no internet connection)?
My app works all fine and dandy but I would like to eventually deply run it in a closed network (no internet).
I have the packages locally
$ npm install @ffmpeg/ffmpeg
but when I run " ffmpeg.load()" in javascript it starts to download "ffmpeg-core.js" from the web. I already have that file when I did npm install. Is there a way to point to it directly.
this is the browser console when calling ffmpeg.load():
[info] load ffmpeg-core ffmpeg.min.js:1
[info] fetch ffmpeg-core.worker.js script ffmpeg.min.js:1
[info] worker object URL=blob:http://localhost:3000/83663a17-2cea-4c1c-a4e2-d3e20564f1ba ffmpeg.min.js:1
[info] download ffmpeg-core script (~25 MB) from https://unpkg.com/<EMAIL_ADDRESS>node (app.js):
...
app.use('/scripts', express.static(__dirname + '/node_modules/@ffmpeg'));
...
index.html
...

...
Many thanks in advance.

Solved!
just added a reference to my local "ffmpeg-core.js"
index.html:
...

...
cheers!

Didn't read the API
const { createFFmpeg } = FFmpeg;
const ffmpeg = createFFmpeg({
corePath<EMAIL_ADDRESS>log: true,
});
My bad ):


DirectInput Support

Even though Playnite does not currently support DirectInput, there is intent to support it in the future and it would be nice to stay ahead of the curve.
It would also benefit users who decide to enable ScreenSaver in game who happen to be using at least one DirectInput device.
Some directInput devices include PS4/5 & Switch Controllers.

There doesn't seem to be a readily available UI that works with DirectInput Controllers. Probably put this off until playnite officially supports it.


ACG-Player v<IP_ADDRESS>(20190619); A crash occurs when I try to reorganize the music tabs.

I'm experiencing a sort of UI issue in the latest release. When I launch the app, the bottom part of it is cut out. This isn't an issue of the screen size optimization because the necessary elements are still there. I just can't see them. I have to perform certain swipe up activities before it becomes available. Please try to fix that. But. that's not the main reason for this issue.
Describe the bug
On ACG-Player, it is possible to close the menu tabs, and also restore them. The idea isn't a bad one at all. However, there's an error that occurs when I perform this operation.
I closed all the menus on the app. I exited the app after. When I launched the app, I decided to add the menus again. I started with the music tab. However, I tried to put the playlist tab next and the app crashed.
** Steps To Reproduce**

Tab and hold a tab to reveal the option to close
Perform the action(close) for all the tabs
Exit the app
Launch the app
Click on the plus (+) icon to add the tabs back
Add any other tab aside from playlist first.
Then add the playlist tab next
See error.

Expected behavior
When I carried out this operation, the reason behind it was to organise the tabs the way I wanted it. I expected that I could add tabs in any order I desired.
Screen recording
https://youtu.be/cqNg_Lbf5Ss
Test Environment

Device: Redmi Note 5 Pro
OS: Android 9.0
Software version: ACG-Player v<IP_ADDRESS>(20190619)

Logcat
	at top.geek_studio.chenlongcould.musicplayer.activity.main.MainActivity.setSubTitleType(SourceFile:1)
	at top.geek_studio.chenlongcould.musicplayer.activity.main.MainActivity.access$300(SourceFile:1)
	at top.geek_studio.chenlongcould.musicplayer.activity.main.MainActivity$3.onPageSelected(SourceFile:11)
	at androidx.viewpager.widget.ViewPager.ya(SourceFile:6)
	at androidx.viewpager.widget.ViewPager.a(SourceFile:67)
	at androidx.viewpager.widget.ViewPager.a(SourceFile:59)
	at androidx.viewpager.widget.ViewPager.a(SourceFile:43)
	at androidx.viewpager.widget.ViewPager.Ca(SourceFile:2)
	at top.geek_studio.chenlongcould.musicplayer.activity.main.MainActivity.e(SourceFile:51)
	at h.a.a.b.a.e.p.onMenuItemClick(Unknown Source:2)
	at android.widget.PopupMenu$1.onMenuItemSelected(PopupMenu.java:105)
	at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:776)
	at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:148)
	at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:923)
	at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:913)
	at com.android.internal.view.menu.MenuPopup.onItemClick(MenuPopup.java:128)
	at android.widget.AdapterView.performItemClick(AdapterView.java:318)
	at android.widget.AbsListView.performItemClick(AbsListView.java:1192)
	at android.widget.AbsListView$PerformClick.run(AbsListView.java:3184)
	at android.widget.AbsListView$3.run(AbsListView.java:4166)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:201)
	at android.app.ActivityThread.main(ActivityThread.java:6810)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

Thank you for your report. I am very surprised that the ACG PLAYER is based on Android 9.0 on MIUI, and there are a lot of problems, sliding stuck, UI misalignment, and black stripes at the bottom.
I can close the tab and I will fix it. ACG PLAYER's compatibility with MIUI I have been adjusting recently

I can't do it, I might get rid of the new UI, (many blur features)

Thank you for your report. I am very surprised that the ACG PLAYER is based on Android 9.0 on MIUI, and there are a lot of problems, sliding stuck, UI misalignment, and black stripes at the bottom.
I can close the tab and I will fix it. ACG PLAYER's compatibility with MIUI I have been adjusting recently

I hope you fix it. There were few issues when I still used Android 8.1

Thank you for your report. I am very surprised that the ACG PLAYER is based on Android 9.0 on MIUI, and there are a lot of problems, sliding stuck, UI misalignment, and black stripes at the bottom.
I can close the tab and I will fix it. ACG PLAYER's compatibility with MIUI I have been adjusting recently

I hope you fix it. There were few issues when I still used Android 8.1

I fixed the problem at the bottom and watched the latest version (release page)

The UI issue has been fixed.


NATS Jetstream: Ability to use natsServerMonitoringEndpoint directly to fetch metrics of a consumer

Proposal
Right now, the Consumer metrics are fetched using the direct URL of the NATS Consumer Leader Node.
Considering a situation where Keda ScaledObject and NATS are in two different K8s clusters, it may not be possible to expose the individual Nodes over the internet.
package main

import (
	"context"
	"encoding/json"
	"fmt"
	"time"

	"github.com/kedacore/keda/v2/pkg/scalers"
)

func main() {
	config := &scalers.ScalerConfig{
		GlobalHTTPTimeout: 2000 * time.Millisecond,
		TriggerMetadata: map[string]string{"account": "example",
			"activationLagThreshold":       "1",
			"consumer":                     "example-consumer",
			"lagThreshold":                 "1",
			"natsServerMonitoringEndpoint": "nats-metrics.example.org",
			"stream":                       "example",
			"useHttps":                     "true"},
	}
	scaler, err := scalers.NewNATSJetStreamScaler(config)
	if err != nil {
		panic(err)
	}
	ctx := context.TODO()

	for i := 1; i <= 5; i++ {
		m, _, err := scaler.GetMetricsAndActivity(ctx, "")
		if err != nil {
			panic(err)
		}
		j, _ := json.Marshal(m)
		if err != nil {
			panic(err)
		}
		fmt.Println(string(j))
	}

}

In the above scenario, it will try to get the metrics from https://nats-1.nats-metrics.example.org/jsz?acc=example&consumers=true&config=true URL, assuming nats-1 is the Consumer Leader.
The above API call fails as I only have https://nats-metrics.example.org exposed.
I see that with the following patch, I can get the Consumer metrics directly from the natsServerMonitoringEndpoint.
diff --git a/pkg/scalers/nats_jetstream_scaler.go b/pkg/scalers/nats_jetstream_scaler.go
index 3e4de2d4..a0c778ea 100644
--- a/pkg/scalers/nats_jetstream_scaler.go
+++ b/pkg/scalers/nats_jetstream_scaler.go
@@ -287,6 +287,7 @@ func (s *natsJetStreamScaler) getNATSJetstreamMonitoringData(ctx context.Context
                                        return err
                                }
                        }
+                      natsJetStreamMonitoringNodeURL = s.metadata.monitoringURL

                        jetStreamAccountResp, err = s.getNATSJetstreamMonitoringRequest(ctx, natsJetStreamMonitoringNodeURL)
                        if err != nil {

I understand that the Consumer Leader will have the most up-to-date metrics information. But is it possible to add a configuration in the Trigger Metadata, forcing the scaler code to use the natsServerMonitoringEndpoint directly? I would also like to know if this is a bad idea.
Use-Case
No response
Is this a feature you are interested in implementing yourself?
Maybe
Anything else?
No response

Hi this is definitely reasonable, we just need to be sure that we don't break setup for existing users.
@debajyoti-truefoundry  are you willing to contribute this feature?

I think this should not be closed as its still a valid issue


nomad is now configured to run using tls only

this change will start using the correct image and adds missing cli flags to connect to nomad over tls

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.


Remove verbose logging

mergefs is a low-level utility and should arguably not log internally, especially not on the global logger. Additionally, file not found is a very common occurence.
Thanks for this great utility!

Good shout. I'm glad that you're using the project


qtquickcontrols2: Fix broken Menu slipping out of screen for 2nd+ open

Signed-off-by: Andreas Müller<EMAIL_ADDRESS>

Merged thanks!


Add Rust wc-tool solution

Dear sir:
Please consider accepting this pull request. It contains my solution to the wc tool challenge.
Thank you.


VidOR dataset

the lark and baidu download links are not avaliable now

Closing as we're not hosting or providing the dataset. Please contact the corresponding authors.


Access the web interface over tailscale

Feel free to make modifications!
The code block does seem to have a strange highlight behavior.

The code block does seem to have a strange highlight behavior.

I believe that's because shell expects it to start with # or $. You'll need to specify bash instead.


sync data to arweave

PR-Codex overview

The following files were skipped due to too many changes: src/node/src/storage_node_light_impl.rs, src/node/src/rollup_executor.rs, src/storage/src/mutation_store.rs

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Codecov Report

Merging #475 (a4cce0b) into main (d020ad9) will decrease coverage by 1.19%.
The diff coverage is 37.40%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #475      +/-   ##
==========================================
- Coverage   68.73%   67.54%   -1.19%
==========================================
  Files          50       51       +1
  Lines       10619    11010     +391
==========================================
+ Hits         7299     7437     +138
- Misses       3320     3573     +253

Flag
Coverage Δ

rust
67.54% <37.40%> (-1.19%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/error/src/lib.rs
100.00% <ø> (ø)

src/node/src/command.rs
43.72% <0.00%> (-2.51%)
:arrow_down:

src/node/src/rollup_executor.rs
0.00% <0.00%> (ø)

src/node/src/storage_node_light_impl.rs
0.00% <0.00%> (ø)

src/storage/src/state_store.rs
87.42% <ø> (ø)

src/storage/src/mutation_store.rs
79.29% <75.75%> (-4.68%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update main.js

in this way we can use query string parameters on index.html without websocket errors

Codecov Report

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

@@           Coverage Diff           @@
##           master      #58   +/-   ##
=======================================
  Coverage   92.78%   92.78%
=======================================
  Files           6        6
  Lines         582      582
  Branches       90       90
=======================================
  Hits          540      540
  Misses         32       32
  Partials       10       10

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 af0cbfb...8e3ae03. Read the comment docs.

Merged, thanks.


GregTech machines not recognized as catalysts

When using tree, and using a recipe which uses a GT machine, its model does not appear in the tree.

By hovering it you can see the name but not the icon/model of the machine

From my understanding this is simply the gregtech machines being rendered inconsistently with vanilla items and something they would need to fix, I believe they have a bug open.

This appears to be an EMI bug that occurs if the batching renderer is disabled. Rendering of the GT machine is triggered by
https://github.com/emilyploszaj/emi/blob/44b478054a05f96dc935672566653596e49d1678/xplat/src/main/java/dev/emi/emi/screen/BoMScreen.java#L714
as it is the category for the recipe.
The overload of StackBatcher.render which is called here (the one accepting a Batchable) does not appear to fall back and render the Batchable manually if batching is disabled, unlike the one accepting an EmiIngredient. This causes the machine to simply never be rendered.

This is a correct diagnosis, weird, thanks.

This is probably fixed in the latest release since the code now checks for StackBatcher being enabled.
https://github.com/emilyploszaj/emi/blob/e06ba48d14d51aa1e221df3e3be75aec09fcf89c/xplat/src/main/java/dev/emi/emi/screen/BoMScreen.java#L713


Fixed: client will not access context. Added: Support for async conte…

…xt type. Type support for createServerHandle

Don't test on the main package , Either create a seperate package with npm link , or create a package on the tests directory


PNG IO doesn't load alpha palette for palette based PNG file

In the FreeOrion project we use boost.gil to load PNG textures for our game. Previously we patched our own support for gray-alpha PNG images into the gil library.  However with merging the old development branch into master we now can finally rely on gil again.
When porting the old FreeOrion code to the new v2 IO implementation for PNG I realized that it doesn't convert PNG files with a grayscale or indexed palette and an alpha palette (tRNS chunk) to a regular RGBA image as the previous implementation did.
For example https://github.com/freeorion/freeorion/blob/master/default/data/art/icons/fleet/big-head-colony.png is a gray-alpha texture, which doesn't load properly.
Actual behavior

Expected  behavior

Environment

Boost version: boostorg/gil master (boostorg/gil@c192814572d10605119ba47fcfcf25f62e1bdc42)

Seems like querying this->_info._num_trans > 0 is not the proper way to identify transparency information.
https://github.com/boostorg/gil/blob/c192814572d10605119ba47fcfcf25f62e1bdc42/include/boost/gil/extension/io/png/detail/read.hpp#L124-L127
In the FreeOrion project the corresponding code looks like:
https://github.com/freeorion/freeorion/blob/a5eae2763800caa8dc322c8630bb9e9d975762a1/GG/src/gilext/io/png_io_private.hpp#L305-L312
Is there a way to fix this before 1.68 release?  Should I create a pull request to fix this?

Thanks for notifying us! It would be great if you could provide a pull request with a sample image. Such image we could add to the repository for testing.
I'm not sure we can update boost master. It depends on how complicated the fix is.

I've come back to this tRNS issue and #125 for a moment.
Interestingly, the PNG file with a gray-alpha texture linked above, https://github.com/freeorion/freeorion/blob/master/default/data/art/icons/fleet/big-head-colony.png, does not seem to contain any tRNS chunks:

On the screenshot, chunks are extracted using png-chunk-extraction.go program as explained here https://parsiya.net/blog/2018-02-25-extracting-png-chunks-with-go/


bug: redirection issue in contact us

Hey @akshathar-navada !!
I want to fix this issue where contact us is not getting redirected..
Can I work on this issue for gssoc ??
Description
The contact us form is not getting redirected when tried to access from Chapters and Events page.
Steps to reproduce

Go to Chapters / Event page
Click on the Contact Us button

Expected result

Contact Us button should redirect to the contact us form

Actual result

Contact Us button is redirecting to the footer

Environment

OS: Windows 11
Browser: Google Chrome
Resolution: 1920 X 1080
Version: 113.0.5672.127 (Official Build) (64-bit)

Additional details

Hey @SINJINI-G , we didn't want every page to  redirect to the home page contact section. As there is contact info in footer section also, we just linked to it. If there is any other issue , u would like to work on , please go ahead.
Thank you!!


fix sveltekit issues

What kind of change does this PR introduce?

[x] type intellisense for @supabase/auth-helpers-sveltekit/server
[x] add .js to fix ERR_MODULE_NOT_FOUND (can´t use the script, it throws an error @sveltejs/kit/hooks not found)
[x] pass page store and invalidation to startSupabaseSessionSync as $app module is not available in npm packages

Additional context
While this works i´d rather only publish the dist folder generated by svelte-package unless there is a good reason not to as it reduces the packages size and fixes the type intellisense and (i think) the ERR_MODULE_NOT_FOUND bugs.

@david-plugge You can reinstate the fix-esm-import-path npm package which was there before to fix the .js issue so you don't have to remember to type them manually.

@david-plugge You can reinstate the fix-esm-import-path npm package which was there before to fix the .js issue so you don't have to remember to type them manually.

I tried but I get an error

(can´t use the script, it throws an error @sveltejs/kit/hooks not found)

And why do you prefer publishing the whole folder instead of just the generated dist?

And why do you prefer publishing the whole folder instead of just the generated dist?

If you try to build any of the example projects inside the monorep you will notice they fail this is due to the way how sveltekit-package does its bundling. Also there was an issue with changeset publishing the package to npm when using the default setup from the sveltekit-package. I've set it up now so only the dist directory will be published along with the README.md, CHANGELOG.md and package.json.


Revert to using HTTP when connecting to dev services containers

This fixes dev services by using the correct scheme, HTTP, when connecting to automatically started dev services containers.
@vsevel I'm thinking we revert this to HTTP instead of passing the new -dev-tls flag and using HTTPS. My reasoning is just, as we've discussed previously, security products are generally updated slowly and the new flag requires Vault 1.12+.
We could selectively enable TLS but we'd need to be figuring it out prior to container startup based on the image tag. It can be done it's just work I don't have time for and we need to get this back in working order.
Also, we really need to add a unit test that actually uses a proper "dev services" container. Unfortunately I'm swamped at the moment.

/cc @bmscomp

If you're not up-to-date on what this is related to see #178 where I originally commented on the closed PR

@kdubb  Thanks for the PR I was working right now on a same fix

@bmscomp Can you add a test that actually uses a dev services container so we don't run into this problem again?

We must merge this ASAP to ensure dev services is restored for before Quarkus 3.6.0 is released.
@gsmet If I make a 3.3.1 version of the extension is that something that can be back ported into 3.5.3? Currently dev services is broken for the 3.5 series.

I was planning a release anyway for 3.6.0 (quarkus vault 3.4 then)
we can add a 3.3.1 for quarkus 3.5.

@vsevel Should we cut a CR2 just to ensure a "release" works (since we don't yet have a test).

see https://github.com/quarkiverse/quarkus-vault/pull/199


no Pixhawk4 GCS connection after 1.8 upgrade

I received my Holybro pixhawk4 two days ago and have had it up and running with stock 1.73 code. Flashed it today with qGroundControl running macOS over usb and have not been able read parameters since. My pc and Macs see the fc when using ap planner, qgc, mission planner and can even reapply stable firmware successfully using qGroundControl. It flashes successfully but then no response on the ph4. I've tried powering with power control board and usb. When rebooted, the ph4 is left with the following lights on...
I/O
PWR - solid green
B/E - solid amber
ACT - flashes blue
FMU - All lights off

qGroundCotrol offers ArduPilot but can't list any available options stable or otherwise.
Removed SD card from fc and tried rebooting.
Tried installing beta releases but non listed
How does one find and download holybro's factory image? I feel like I'm missing something...
link to video here.

Just confirming: you have flashed PX4? Try flashing again.

Thanks for replying. I am flashing PX4 as offered by qGC. It also offers ArduPilot but does not list any available. I've flashed it over 10 times trying various ideas. It only successfully flashes the PX 1.8.

I tried flashing my Holybro PH4 again today with qgroundcontrol 3.2 with same results. I then downloaded qgc 3.3.2 from daily builds which revealed the 1.7.4 firmware which wasn't there before. I was able to flash the 1.7.4 beta but have same results.
After flashing the I/O Power light stays green, B/E light blinks amber, ACT light blinks blue and FMU PWR light turns on, blinks very fast for 3 seconds and then turns off with some rapid beeps and then appears to reboot over and over and eventually stops rebooting with B/E blinking and ACT blinking and FMU PWR solid green.
I'm attaching the app logs from qgroundcontrol 3.3.2.
ph4_brick.txt

I've spent over 8 hours troubleshooting this Pixhawk4 and I think it is bricked. I've emailed holybro product support email<EMAIL_ADDRESS>4 times over the last few weeks with no response. I purchased a PixHawk 2.1 Cube from ProfiCNC to keep the project moving forward which is working great.
I've heard good things about Holybro and am looking for suggestions how I can get their attention. I don't want to resort to opening a claim with PayPal to get my money returned.
All I can say is that it was working for about 30 minutes until I applied the 1.8 firmware at which point I can no longer communicate with the device.
sigh

Looking at the led pattern and the fact that you’ve successfully flashed v1.8 and it’s not communicating I would ask for a RMA. @jamming Could you help here with your customer?
I would love to have the board back for a post-mortem analysis.

Holybro sent a new board but didn't ask for the old board back. If you provide a shipping address, I will send it over.

FWIW, I had this same issue, and it turns out that my board had hardfaulted (due to driver development I was doing), and then it got "stuck" waiting for keyboard input on the console to clear the hardfault.
The fault wouldn't/didn't clear itself over multiple reboots, leading to a "bricked" board. I needed to solder on a console and manually clear the fault.
FYI @dagar @davids5

@davids5 could we somehow have a fresh flash clear the hardfault?

@billzyoom - A quick test to see if the issue you had was the same as @mhkabir is to boot only connected to USB. If the PWR led does not flutter (CPU is running bootloader) then the board is damaged and not what @mhkabir experienced. What he noted is fixed in #10756

@billzyoom - I would be happy to troubleshoot the issue if you wish to send me the board. Jut contact me as david_s5 on slack or skype.


Catch up to main

Coverage decreased (-0.004%) to 93.827% when pulling 008e7bdee9a32c9f2f29399cd76ecd2873f3e2ae on master into 3d3875f8de1ef651378c792d76e3cb3794f7ac44 on v3.


Add file validation, show errors and allow user to add more files

Can you fix merge conflicts? I can then review.

@jpmckinney merge conflicts are fixed.

@romifz Strange – did you push? GitHub still reports conflicts needing to be resolved.

It's because of the last merge I think, I'll check the conflicts.

Now it's done.

@romifz Just checking that you weren't waiting for anything from me on this PR?

@jpmckinney sorry James, I hadn't had time to check this but I'll do this week. Thanks!

@romifz I merged with master and added validation support to all views. You might want to check invalid_request_file_message in util.py (was file_is_valid).
I had to add more translateable strings. Can you update django.po?
#: default/util.py:74
msgid "Not a release or package"
msgstr ""

#: default/util.py:78
msgid "Not a package or list of packages"
msgstr ""

#: default/util.py:82
msgid "Not a release or list of releases"
msgstr ""

#: default/util.py:84
#, python-format
msgid "\"%(type)s\" not recognized"
msgstr ""

Thanks for your patience on all the review comments. I'll deploy the updates now!


Introduce policy classes and policy manager

What changes do you make in this PR?

Please describe why you create this PR

Problems still exist!!! But currently is bug-free!
Checklist

[ ] I have merged the latest main branch into current branch.
[ ] I have run bash scripts/format.sh before merging.
Please use "squash and merge" mode.

Merge this PR when all tests passed!


Enhanced UI

@anikethsaha  please have a look as I changed the className and merge the branch!

LGTM
Requesting review from @anikethsaha


devguides wallet/daemon rpc missing params

https://github.com/monero-project/monero/issues/9186#issuecomment-1973003427

I went through the RPC docs a ~year ago and updated pretty much everything.

For reference, here what I found out of date in the core RPC:

get_connections lacked in his response field connections the fields address_type, rpc_credits_per_hash and rpc_port
get_version lacked in his response the fields current_height and hard_forks array (as well as its underlying object)
get_output_distribution lacked in his parameters the field binary (for disabling epee encoding) and compress (for disabling compression)

There are also methods like sync_info that did not contain in their outputs the top_hash, credits or untrusted fields.

address_type: 0 = invalid, 1 = ipv4 and 2 = ipv6.
compress = ignored if binary is set to false

can be moved to: https://github.com/monero-project/monero-docs

I'm not sure about @syn's comment, but the relevant PRs were merged on docs


Plugin Doesn't Work

Code of Conduct

[X] I agree to follow this project's Code of Conduct.

Submission validity

[X] This is not a personal support request, that should be posted on discussions community.
[X] I checked current issues and this request isn't a duplicate of an existing issue, opened or closed.

Self troubleshooting

[X] I've read the documentation and made sure to follow it.
[X] I've read the troubleshooting first steps and frequent issues guides.

Version
1.9.2
Description
I've Installed and Activated the Plugin on my YOURLS Installation.
Expectation
Having a FavIcon set for all Devices and Browsers.
I've checked my page with https://realfavicongenerator.net/
Reproduction steps
Followed all the Installation Steps.
Context
Maybe the Plugin isn't compatible anymore?

I found out a Fix.
If you remove the Version mapping out of the Plugin.php the Images all Seem to Load normally.

Thanks for opening this issue @mrlufus.
Could describe what was not working precisely, and what is the actual fix?


Set up alerts from watchdog-service for upload failures

[ ] set up a teams channel for notifications?
[ ] Add webhook url to watchdog config file on each acquisition computer
[ ] Will this give us alerts for failures from watchdog and upload? Or just watchdog?
[ ] Can we subscribe to just failures?

Check in with Jon and Camilo re notifications available
Behavior Ops Notifications Teams channel (notification template)?

This issue is relevant, as it would let us have control over what alerts watchdog sends: https://github.com/AllenNeuralDynamics/aind-watchdog-service/issues/14


How to generalise load_flan_ul2 to other models

Hello,
Thanks so much for your very helpful example of how to load google/flan-ul2. I am getting a similar issue when trying to load facebook/opt-66b. If I load it with a simple
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("facebook/opt-66b")
model = AutoModelForCausalLM.from_pretrained("facebook/opt-66b", device_map="auto")

when I run inference I get the error RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1! which if I understand correctly means that layers with a residual connection have been split across multiple devices. In your example for google/flan-ul2 you use the no_split_module_classes=["T5Block"] arguments (line 14) to get around the issue, however this is very model specific.
Your line
device_map['lm_head'] = device_map["decoder.embed_tokens"]

also seems model specific.
Do you have any general tips for how to quickly find out what we should put in no_split_module_classes= for other models, e.g. facebook/opt-66b?
In your specific example, how did you find that the layer class name was T5Block? If I run print(model.state_dict().keys()) I do not see any layer explicitly called T5Block so I'm curious to understand your thinking process

Yeah, these residual layers are pretty model-specific.
Here's an example of loading opt-66b https://github.com/akkikiki/huggingface_examples/blob/main/examples/load_opt.py

I have one follow up. What is the actual effect of using load_in_8bit=True? Does it slightly lower model's accuracy in the same way mixed precision does (dtype=torch.float16) or is it not at all related?

Yeah, it's basically another way of doing mixed precision inference. Take a look at https://huggingface.co/blog/hf-bitsandbytes-integration


Error: Personal access tokens with fine grained access do not support the GraphQL API

this is my work flow file, when i execute this, am getting the below error. I dont find where to give GraphQL access. I have pretty much given all access to my token.  Please suggest
Error: Personal access tokens with fine grained access do not support the GraphQL API

name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: /language:${{matrix.language}}

name: Generate Security Report
uses: peter-murray/github-security-report-action@v2
with:
token: ${{ secrets.SECURITY_TOKEN }}
outputDir: ${{ github.workspace }}/security-report

This should be working as of now, https://github.blog/changelog/2023-04-27-graphql-improvements-for-fine-grained-pats-and-github-apps/ as the PAT v2 tokens can work with the GraphQL API.
There is a new branch vnext that has a few other changes in it that fix some older API issues, and will be merged in to main soon.


Output test results in standard formats (e.g: xUnit)

Prism output report for bamboo integration. prism results to be reported in JUnit

I'll second this (please!!). While any common test reporter format would be good, most CI/CD servers support JUnit parsers so it would be a good choice.
This would allow us to fully integrate Prism into our (Bamboo based) CD pipeline.

@ntiss would junit be helpful for you all?
@pytlesk4 can you spend a little bit of time to scope this out so that we can at least understand the time involved?

@marbemac I will take a look at JUnit this week.
@ntiss totally agree with being able to chose the format!

Prism v3.x is taking a different approach with contract validation (#429), so we're not going to have anything to xUnit. More testing-related tooling will be back in the future, but Prism was trying to do a few too many things, and now we're focusing its scope.


Find one constellation of the triangle parameters that enables a good input from sound

Only one parameter should be enough, too.

triangleN 18
triangleM 0
trianglePoles 19
circlescale = [0-2]


bincount of empty array raises

Running
jnp.bincount(jnp.int32([]))
raises
ValueError: zero-size array to reduction operation max which has no identity
In contrast, np.bincount([]) produces array([], dtype=int64)

Thanks for the report!


Problems recognizing the BUSCO databases with nextflow BTK pipeline v0.6.0

Description of the bug
Dear developers,
I downloaded and installed the pipeline v0.6.0.
As pointed out in the usage, I downloaded the entire busco v5 databases, untarred them. As I was having a recurrent error with BUSCO, after that I also decompressed the refseq_db.faa.gz for all dbs. However the error still persists and it looks like this:
2024-11-14 12:32:41 ERROR:	Unable to run BUSCO in offline mode. Dataset /scratch_tmp/32318106/nxf.LMCX5N46Un/lineages/lineages/viridiplantae_odb10 does not exist.
mv: cannot stat 'tnRamLact8_Nhpy_mq10-viridiplantae_odb10-busco//short_summary..json': No such file or directory
mv: cannot stat 'tnRamLact8_Nhpy_mq10-viridiplantae_odb10-busco//short_summary..txt': No such file or directory
Work dir:
/scratch_isilon/groups/assembly/data/projects/BGE/tnRamLact/assembly/curation/nextdenovo.hypo1.purged.yahs_mq10/1_blobtoolkit/blobtoolkit_nextflow/work/e3/910c9ec4ebbab08e742510c3a50ee8
I don't really know why is not finding the busco databases!!! all of them are stored here: /scratch_isilon/groups/assembly/data/databases/BUSCO_2024_11/v5/data/lineages/
This is my nextflow command:
nextflow
run /software/assembly/pipelines/nf-core-pipelines/blobtoolkit_sanger-tol/blobtoolkit-0.6.0/main.nf
-c /software/assembly/pipelines/nf-core-pipelines/cluster_config/cnag_nextflow_queue.config
-profile singularity
--input tnRamLact8_samplesheet_s3.csv
--outdir out
--fasta  tnRamLact8_Nhpy_mq10.fasta
--taxon 947578
--align true
--taxdump /scratch_isilon/groups/assembly/data/databases/taxdump_2024_10_01
--blastp /scratch_isilon/groups/assembly/data/databases/uniprot_2024_10_03/reference_proteomes.dmnd
--blastx /scratch_isilon/groups/assembly/data/databases/uniprot_2024_10_03/reference_proteomes.dmnd
--blastn /scratch_isilon/groups/assembly/data/databases/nt_2024_10_03
--busco  /scratch_isilon/groups/assembly/data/databases/BUSCO_2024_11/v5/data/lineages/
--busco_lineages metazoa_odb10,viridiplantae_odb10,fungi_odb10,apicomplexa_odb10,euglenozoa_odb10,diptera_odb10,alphaproteobacteria_odb10,mycoplasmatales_odb10,proteobacteria_odb10,nematoda_odb10,rickettsiales_odb10
I am attaching the full log and sbatch command so you can check it entirely. I would really appreciate if you can help me to overcome this error and get this pipeline running.
Thanks.
btk_v0.6.0_nextflow.log
run_blobtoolkit_v060_on_tnRamLact8.sbatch.txt
Command used and terminal output
No response
Relevant files
No response
System information
No response

Hi @gitcruz . Can you try with /scratch_isilon/groups/assembly/data/databases/BUSCO_2024_11/v5/data/, i.e. without the trailing lineages ?
The way we run the pipeline, --busco gets the path to a directory that contains lineages, cf:
├── information
├── lineages
│   ├── acidobacteria_odb10
│   │   ├── hmms
│   │   └── info
│   ├── aconoidasida_odb10
│   │   ├── hmms
│   │   ├── info
│   │   └── prfl
│   (...)
│   ├── viridiplantae_odb10
│   │   ├── hmms
│   │   ├── info
│   │   └── prfl
│   └── xanthomonadales_odb10
│       ├── hmms
│       └── info
└── placement_files

All the refseq_db.faa.gz have been decompressed already (like you did). I should mention that in the doc.
Matthieu

Thanks for the quick response Matthieu,
I'm trying it that way. I'll let you know if that works.
WRT the databases path  is it necessary to add the final slash or not (i.e. --blastn /scratch_isilon/groups/assembly/data/databases/nt_2024_10_03/)?
And also I don't understand the guide examples for the diamond databases I just have one. While  you show two:
--blastp /path/to/buscogenes.dmnd
--blastx /path/to/buscoregions.dmnd
I am using only one:
--blastp /scratch_isilon/groups/assembly/data/databases/uniprot_2024_10_03/reference_proteomes.dmnd
--blastx /scratch_isilon/groups/assembly/data/databases/uniprot_2024_10_03/reference_proteomes.dmnd \
Regards,
Fernando

WRT the databases path is it necessary to add the final slash or not (i.e. --blastn /scratch_isilon/groups/assembly/data/databases/nt_2024_10_03/)?

I think it should work the same with and without.

And also I don't understand the guide examples for the diamond databases I just have one. While you show two: --blastp /path/to/buscogenes.dmnd --blastx /path/to/buscoregions.dmnd
I am using only one: --blastp /scratch_isilon/groups/assembly/data/databases/uniprot_2024_10_03/reference_proteomes.dmnd --blastx /scratch_isilon/groups/assembly/data/databases/uniprot_2024_10_03/reference_proteomes.dmnd \
Is this correct? I followed the guide and built just one diamond db...

Yes it's correct. Those are different parameters in case people want to use different databases. I could imagine someone optimising the pipeline by using a more restricted database for the blastp search (which happens first) in order to get the blastp jobs done quicker, while using the complete database for the blastx search (which happens after).
In practice, the way we run it on all our assembled genomes, we use the same, complete, database for both.
Best,
Matthieu

Hi Matthieu,
It have worked well for three species: 2 vertebrates and 1 nemertea worm. I may have more questions but I'll  post them as separate comments or issues.
Thanks,
Fernando


Upgrade mongoose and connect-mongo to their latest versions

The latest versions have breaking changes, including removal of callback functions such as "Model.findOne() no longer accepts a callback at Function"

Fixed by: https://github.com/sahat/hackathon-starter/commit/55defd3dbaa2adb27486610b104d7a12f423a0a9


Consider unpinning the version ofjsdom required by h2x-parse.

jsdom is a pretty big package (a couple megabytes before transitive dependencies).  Pinning it to a specific version prevents it from deduping with other versions of jsdom.  For example, it currently cannot dedupe with the version required by jest.

Yes but in recent version, JSDOM protects objects and it requires a lot of work in h2x to make it work with new JSDOM version.


documentation: Described display_in_profile_summary field as optional.

Fixes: #29908

Can you explain why you believe this to now be correct?

My bad, misunderstood the required tag with default tag.
Have corrected it now @timabbott.
Do tell me if you meant something else.

@timabbott there is a reply to your question above.

OK, copy-edited the text to be more concise and merged, thanks @dhruv-goyal-10!