Exportfolder for Main Menu

Add folder "Exported" to main menu to give the user easy access to his exported media from netflix.  By selecting an item a dialog opens which asks for delete item. If yes it will remove exported media from db and export folder.
In this state an error will happen when media is not part if local db (possible caused by exporting from multiple clients). I will add a function to rebuild local db from exported stuff to fix it in next updates.

Using 85c1543bf7bd6f1a875a3ae12c2af4811bdb7752
Clicking on "Exported"

results in an exception:
16:27:41.044 T:1669706640   DEBUG: [Netflix] "Navigation::before_routing_action" returned: {'main_menu_selection': 'exported'}
16:27:41.053 T:1669706640   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'movies' referenced before assignment
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.netflix/addon.py", line 37, in <module>
                                                navigation.router(paramstring=sys.argv[2][1:])
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/utils.py", line 27, in wrapped
                                                result = f(*args, **kwargs)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 137, in router
                                                return self.kodi_helper.build_video_listing_exported(content=self.library.list_exported_media(),build_url=self.build_url)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Library.py", line 599, in list_exported_media
                                                return movies+shows
                                            UnboundLocalError: local variable 'movies' referenced before assignment
                                            -->End of Python script error report<--

Full log: http://sprunge.us/bafL

@MilhouseVH Have you picked that PR yourself? I haven't merged it because @hawkeyexp added another one which made this one obsolete & I´ve merged that into master a couple of hours ago.
https://github.com/asciidisco/plugin.video.netflix/pull/139

My apologies - I shouldn't have posted on this PR, will continue conversation in #139.

@MilhouseVH No worries, I just wanted to double check that you haven't used the wrong branch, finding is very legitimate. Thanks 👍


pleroma: 2.3.0 -> 2.4.0

Update to Pleroma 2.4.0
Eblurhash has been released to hex, we do not need to manually fetch it from a git repository anymore.
The rest of the diffs have been generated by mix2nix.
A minor bug in mix2nix forced us to manually alter the base64url dependency. The bug was already fixed upstream and should be resolved for us once mix2nix branches off a new release. See https://github.com/ydlr/mix2nix/issues/11 for more infos.
Release notes: https://pleroma.social/announcements/2021/08/08/pleroma-major-release-2-4-0/
Some Tweaks to the Pleroma VM Test
Increase certificate validity duration
Analogous to 6325d15.
The test certificate expiration date was set to the default 30 days. This certificate is generated through its own derivation. As with every derivation, it gets cached by cache.nixos.org once we build it.
In practice, we rebuild this derivation only if one of its input changes. The only inputs here being openssl and stdenv.
While it's not an issue on the unstable branches, it can be problematic on a stable release: the test will fail after 30 days.
Extending the certificate lifespan from 1 month to 100 years to prevent it from getting expired while being cached.
Increase server memory size
The server VM machine is sometimes OOMing, making the test flaky. Increasing the memory size to 512MB fixes the issue.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test pleroma
Note: I'm running this PR on my personal Pleroma instance, the migration from 2.3.0 went seamless.

Note that what we have currently packaged isn't really 2.3.0, but some git commit between 2.3.0 and 2.4.0.


Development:  Increase contributor-model client test coverage

Checklist

[X] I chose a title conforming to the naming conventions for pull requests.

Client

[X] I followed the coding and design guidelines.

Description

Added a client test to improve the test coverage of contributor-model.ts.
Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Test Coverage

contributor-model.ts 100% | 0%  --> 100% | 100%

I left 2 comments in the code.
But to be honest: Do we really want to keep this test? This is not testing any functionality or business logic.
Instead, to add coverage to this model, I'd suggest to extend about-us.component.spec.ts to actually render one or two contributors into HTML using this model, and then assert that it's actually on the page, e.g. by looking for their full name.

Thank you for your suggestion. I will look into it.

I agree with @coaxial1 about extending about-us.component.spec.ts for this model. An alternative might be converting the AboutUsModel and ContributorModel classes to interfaces if they are not instantiated at all, but since they have -Model suffix I am not sure this approach would be better.

I agree with @coaxial1 about extending about-us.component.spec.ts for this model. An alternative might be converting the AboutUsModel and ContributorModel classes to interfaces if they are not instantiated at all, but since they have -Model suffix I am not sure this approach would be better.

@akesfeden I updated the code according to the suggestions. Can you take another look?


refactor(jest-mock)!: change the default jest.mocked helper’s behaviour to deep mocked

Split from #12727
Summary
It seems to me that by default jest.mocked() should wrap the deep methods of passed object. Currently it requires and argument: jest.mocked(someObject, true). Also note that without reading the docs it isn’t clear what true does.

Consider this example:
import { expect, jest, test } from "@jest/globals";
import { someObject } from "./someObject";

jest.mock("./someObject");

test("is mock function?", () => {
  expect(jest.isMockFunction(mockObject.one.more.time)).toBe(true);
});

The test will pass. Seems like jest.mock() is mocking deeply nested methods. So I think jest.mocked() should do the same by default (and jest.Mocked<T> as well).
Possibly shallow mocked definitions were implemented to improve performance of TS compiler. Or to work around some limitation, i.e. handling of recursive types. If I got it right, ts-jest implemented jest.mock() in the early days of TypeScript v3. Performance and handling of recursive types improved a lot in TS v4.
Perhaps it’s time to swap the defaults? I mean, to make the behaviour of jest.mocked() deep by default and to allow opting out with an option: jest.mocked(someObject, {shallow: true}).
Test plan
Type tests added.

Mye only question is:
import thing from 'thing';

jest.mock('thing');

const mockedThing = jest.mocled(thing);

Would thing be equivalent to mockedThing? Or would they be different?

Current behaviour:

The test is passing. Hence mockedTime is a mock function, but jest.mocked() didn’t type as such (it needs true to be passed).
Swapping the defaults makes this example work without type errors. Behaviour becomes aligned between jest.mock() and jest.mocked(). Is this what you are asking? (;

Swapping the defaults makes this example work without type errors. Behaviour becomes aligned between jest.mock() and jest.mocked(). Is this what you are asking? (;

Yep!

https://github.com/facebook/jest/releases/tag/v29.0.0-alpha.6

Just checked. The example from https://github.com/facebook/jest/pull/13125#issuecomment-1213755626 now does not give any type error. Sweet. Thanks!

https://github.com/facebook/jest/releases/tag/v29.0.0


Actually link to the docs page

I'm not sure why we didn't have this before

my thinking was to finish it, and then pull the docs into index.html, cuz, it's not that much…

I don't really care that much, but I do see docs expanding constantly. The index page being a concise landing page is good imho.

ack


Question - Not need many connection?

Redisson is using non-blocking I/O. so i think not need many connection.
But not exists detail setting connection pool guide in document.
If in many traffic, Will performance increase as connection pools increase?

Depends on network, application server and Redis server performance


small design patch rq'd by fox

Fox with one more requested change that casuwu will own https://discord.com/channels/838651642190495804/869279336405028884/905209752328486932


net/wireguard: "setsockopt IP_MULTICAST_IF: Operation not supported"

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues and I'm convinced that mine is new.
[x] The title contains the plugin to which this issue belongs
Describe the bug
Sinde OpnSense 21.1.4 I see this problem
root@OPNsense:~ # udpbroadcastrelay --id 1 --dev igb0 --dev wg0 --port 1900 --multicast <IP_ADDRESS> -d
ID set to 1
Port set to 1900
ID: 1 (DSCP: 1, ToS: 0x04), Port 1900
igb0: 1 / <IP_ADDRESS> / <IP_ADDRESS>
wg0: 11 / <IP_ADDRESS> / <IP_ADDRESS>
setsockopt IP_MULTICAST_IF: Operation not supported
found 2 interfaces total
IP_ADD_MEMBERSHIP:		<IP_ADDRESS> <IP_ADDRESS>
IP_ADD_MEMBERSHIP:		<IP_ADDRESS> <IP_ADDRESS>
IP_ADD_MEMBERSHIP on rcv: Can't assign requested address

I.e.: Using net/udpbroadcastrelay on a wireguard-interface (here wg0) leades to setsockopt IP_MULTICAST_IF: Operation not supported.
Note that I think the problem is in WireGuard (and not in net/udpbroadcastrelay) as WireGuard was updated to 1.5 in OpnSence 21.1.4 whereas net/udpbroadcastrelay is still same version. Problem did not occur before 21.1.4.
To Reproduce
Steps to reproduce the behavior:

Setup a (simple - straightforward) "VPN WireGuard"
Setup "Service UDP Broadcast Relay" with Port 1900, Multicast-Address <IP_ADDRESS> and add your LAN and the wireguard-interface (typically wg0)
You see that UDP Broadcast Relay does not start
Crosscheck with various interface-combinations in "UDP Broadcast Relay"-Setup: When wg0 is chosen --> problem. When not --> "UDP Broadcast Relay" runs well

Expected behavior
WireGuard-Interface should support socket option IP_MULTICAST_IF
Relevant log files
see description
Environment
OPNsense 21.1.4-amd64
FreeBSD 12.1-RELEASE-p15-HBSD
OpenSSL 1.1.1k 25 Mar 2021
CPU type AMD GX-412TC SOC (4 cores)

It seems 21.1.4 ship the newest version of WireGuard where interface Type was changed by upstream :( https://forum.opnsense.org/index.php?topic=22378.msg106352#msg106352
Might also be the cause of couple of other probs

Updated to OpnSense 21.1.6: Problem seems to be solved.
In my specific case: The plugin "udpbroadcastrelay" now works together with the WireGuard-Interface

Great, would you mind closing the issue? Thx :)

Solved with 21.1.6


Conform the new syntax for tag expression

This pull request fixes #346

Poke. Please fix.

I would appreciate help with fixing the tests. I do not understand why they fail - the CI output is not helpful. I just use this branch in order to hide the warning.

Are we sure that those tests were ok before @mirelon changes?

It looks like the most recent successful test on this project was five months ago so it may not be your changes.
https://travis-ci.org/cucumber/cucumber-rails/builds

@abraham It looks like you're right. Is anyone working on fixing the tests on the master branch? If not, I can take a look this weekend.

Tests are all fixed. @mirelon, did you want to try pulling the latest changes from master and rebasing?

Hi @mirelon,
Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾
In return for this generous offer we hope you will:

✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
ℹ Don't feel obliged to help, just do what you can if you have the time and the energy.
🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber

Ahh, this test suite gets a little frustrating! @mirelon The tests passed on my local test environment (Ruby 2.0.0 & Ruby 2.1.1, both on Ubuntu 14.04 -- as per the CI environment), but are failing on Travis CI.
I've improved the verbosity of the test failures, to make it more obvious what is happening. It looks like the database cleaner is having issues when not using the old form of tag negation (~): https://travis-ci.org/cucumber/cucumber-rails/jobs/340388467
@olleolleolle Alternatively, we can cease officially supporting ruby 2.0.0?
Any ideas? In the meantime, I'm going to revert this change.


tidal-hifi: Launch wrapper flags split

Describe the bug
This package wraps the binary to add chromium flags for Wayland support if NIXOS_OZONE_WL is set. This is standard, respected practice for chromium packages.
package wrapper:
  postFixup = ''
    makeWrapper $out/opt/tidal-hifi/tidal-hifi $out/bin/tidal-hifi \
      --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}" \
      --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
      "''${gappsWrapperArgs[@]}"
    substituteInPlace $out/share/applications/tidal-hifi.desktop \
      --replace "/opt/tidal-hifi/tidal-hifi" "tidal-hifi"
  '';

This should work as expected like with other chromium apps, like Brave Browser.
I mention it as an example since it is correctly wrapped and does have Brave open
under Wayland with NIXOS_OZONE_WL set. This works. Inspecting the process
command lines, all seems good in line with the observed behaviour.
tidal-hifi does not however. It launches under X11, rather than Wayland as it is meant
to by the wrapper since NIXOS_OZONE_WL is set.
I eventually saw that the main process command line, which is the wrapped one, is not
interpreted correctly. I've observed something like the following:
/nix/store/v7alh9f4i87bqi99n9397z0lq1zsx563-tidal-hifi-5.17.0/opt/tidal-hifi/tidal-hifi --enable-features=WaylandWindowDecorations}} ${NIXOS_OZONE_WL:+${WAYLAND_DISPLAY:+--ozone-platform-hint=auto.
The flags are split into:

--enable-features=WaylandWindowDecorations}}
${NIXOS_OZONE_WL:+${WAYLAND_DISPLAY:+--ozone-platform-hint=auto

These are supposed to be joined as ${NIXOS_OZONE_WL:+${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}} and should have been expanded and interpolated into the final command line as including or excluding the flags.
Steps To Reproduce
Steps to reproduce the behavior:

Launch tidal-hifi.
Inspect the command line executed for the main tidal-hifi process to view its flags.
Example: ps aux | grep tidal-hifi | grep ozone-platform

Expected behavior
The wrapped process command line should expand the default values correctly, rather than split them.
The final command line should cleanly either have included or excluded the additional flags altogether.
Screenshots

Additional context
I tried changing the derivation to add the flags in various forms, but the end result was always the same.
The wrapper flags don't seem to be used or interpreted correctly. The issue is going over my head.
I am happy to try to fix it myself, but I am still rather new to the Nix/nixpkgs ecosystem, so how the wrapping
and such works at this stage is a bit beyond me.
So I figured I'd open an issue to get some direction about where the issue may lie, if it isn't taken care of already.
Metadata

system: "x86_64-linux"
host os: Linux 6.12.5, NixOS, 24.11 (Vicuna), 24.11.20241216.3945713
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.24.10
nixpkgs: /nix/store/wj2qla569hnxwqfc26imv5hqbxc1rc27-source

Notify maintainers
@qbit
@spikespaz

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

I vaguely remember noticing this. Seems like a good time to take another look.


Do not create unnecessary gift card events

Do not create EXPIRY_DATE_UPDATED event when expiry_date hasn't been changed.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-5032 "Tag updated" event is created on update form


Zend\InputFilter\Input\Input->merge error

If you merge two Zend\InputFilter\Input\Input Instances (with the same property name) into each other, the merge could be wrong. Unittest:
setRequired(true);
        $input->setAllowEmpty(true);

        $input2 = new Input('foo');
        $input2->setRequired(true);
        $input2->setAllowEmpty(true);
        $input2->merge($input);

        $this->assertTrue($input2->isRequired());
        $this->assertTrue($input2->allowEmpty());
    }
}

Close. 2.4 and 2.5 has been released.


Update README.md

The code does not reference the SR-IOV device plugin and I managed to test manually configured Physical Functions.
Remove the device plugin limitation from the documentation.
@SchSeba, @Eoghan1232 are you aware of any details of this limitation?

I don't know why that is there tbh.
never even tested VF's allocated through the device plugin.
it can be removed

@SchSeba can you approve and merge?
requires 2 maintainer approvals.


nixos/no-x-libs: fix gobject-introspection when cross-compiling

Description of changes
gobject-introspection now has a wrapper derivation when cross-compiling, which doesn't accept an x11Support argument. Instead, we should override gobject-introspection-unwrapped, which works for both cross and native builds.
cc @Artturin

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

already fixed in https://github.com/NixOS/nixpkgs/pull/182417


[Command] warden status Does Not Support Dashes In Env Names

Version of Warden
0.14.1
Operating System and Installation Method
Linux simonpad-t14-gen-3 5.19.0-46-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 21 15:35:31 UTC 2 x86_64 x86_64 x86_64 GNU/Linux via Brew
Describe the Bug
warden status shows invalid information for environments containing dashes.
To Reproduce

Create an environment with a dash in the name, e.g. shop-m2.

Run warden status

See invalid information:
 Found the following running environments:
     shopm2 a magento2 project
        Project Directory: /your/dir/shop-m2
        Project URL: https://shopm2.test

Expected Behavior
Show valid information:
Found the following running environments:
    shop-m2 a magento2 project
       Project Directory: /home/simon/projects/shop-m2
       Project URL: https://app.shop-m2.test

It definitely needs to show the dashes. However, I also think the Project URL should contain the app. subdomain.
Additional context
No response

@navarr I'll take this one.

@navarr PR opened to resolve this.


How to obtain props in the lifecycle of a page?

How to obtain props in the lifecycle of a page?

@gXiaofei
You can obtain it from the arguments of the lifecycle hooks.
https://qiankun.umijs.org/guide/getting-started#1-exports-lifecycles-from-sub-app-entry
https://github.com/kotarella1110/vite-plugin-qiankun-lite/blob/500e74b0a2a4a2cb633d251d946c6883df1678a0/examples/react/src/main.tsx#L33-L36


Implement Find References language feature

Original issue - https://github.com/ballerina-lang/language-server/issues/101
Description:
Add the language feature Find References for ballerina language server.

References feature has been added to the language server with this PR, https://github.com/ballerina-lang/ballerina/pull/4739 hence closing this issue.


ARTEMIS-286 Upgrade Netty to version 4.0.32.Final

Hi,
This PR is related to:
https://issues.apache.org/jira/browse/ARTEMIS-286
Andrea

Two questions:

Is there a particular reason for this upgrade aside from simply keeping up with the latest release?

Can you link to the change-log or the release notes for this Netty version?

Hi @jbertram

No, there isn't a particular reason, just keeping up with latest release.

Here is the release notes: http://netty.io/news/2015/09/30/4-0-32-Final.html

Andrea

I'd like starting contributing on this project, and usually I start from dependency upgrade, to understand how the project build works, what are the main modules and so on.

@oscerd let us know how we can help you on contributing. IRC @ freenode is a good channel to talk real time...  or the dev list


HIPAA basics documentation

This PR documents basic information about HIPAA that will help us decide on the Presidio approach to HIPAA compliance. Resolves AB#1840.

Looks great, thanks


enable rhel build for fabric8-analytics-npm-insights

enable rhel build for fabric8-analytics-npm-insights

#638 was already opened for this.

@abs51295 oops :) close as duplicate


Improve airspace

Use standard OACI colors
Vector tiles
Altitude in flyXC units

Maybe it would be a good idea to add OACI tiles to background map options? I am pretty sure that it is doable for french maps with the Geoportail API, and even though it is not interactive, it is the official source and might help correlating with interactive data from the app.

@jul-o I just added the OACI maps. Enjoy.

Great! It works super well, thank you!


Unexpected implicit imports

The ob command suite seems to implicitly load modules I don't ask for in my .cabal files.
For example, if I fail to add jsaddle-dom or ghcjs-dom to frontend.cabal and add this import to frontend/src/Frontend.hs:
import GHCJS.DOM.Document (getCookie, setCookie)

I get the following error in ob run and ob repl:
frontend/src/Frontend.hs:19:1: error:
    Ambiguous module name ‘GHCJS.DOM.Document’:
      it is bound as JSDOM.Generated.Document by a reexport in package jsaddle-dom-<IP_ADDRESS>
      it is bound as ghcjs-dom-<IP_ADDRESS>:GHCJS.DOM.Document by package ghcjs-dom-<IP_ADDRESS>
   |
19 | import           GHCJS.DOM.Document          (getCookie, setCookie)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Failed, three modules loaded.

For comparison, if I go into a nix shell with ob shell and run cabal new-repl frontend I get the sort of error I'm expecting:
src/Frontend.hs:19:1: error:
    Could not load module ‘GHCJS.DOM.Document’
    It is a member of the hidden package ‘jsaddle-dom-<IP_ADDRESS>’.
    Perhaps you need to add ‘jsaddle-dom’ to the build-depends in your .cabal file.
    It is a member of the hidden package ‘ghcjs-dom-<IP_ADDRESS>’.
    Perhaps you need to add ‘ghcjs-dom’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
   |
19 | import           GHCJS.DOM.Document          (getCookie, setCookie)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Failed, no modules loaded.

In this case I seem to have no way of importing GHCJS.DOM.Document that will satisfy tools such as ob run due to the conflicting implicit imports.
Another problem is that in cases where obelisk loads non-conflicting packages my failure to add the needed package to my .cabal file is hidden from me by tools such as ob run and I won't learn of my mistake until I try to build my package and encounter failures.

How many .cabal or package.yaml files can be reached from your obelisk project? Obelisk tries to automatically load all source packages into the same session which can cause this kind of error. ob run etc have a --no-interpret option to disable this behavior for a given directory and it's children.

At the very least obelisk should report what packages it's including in the session.

(That is to say, that's an improvement we need that is already a result of your ticket regardless of what happens next.)

How many .cabal or package.yaml files can be reached from your obelisk project? Obelisk tries to automatically load all source packages into the same session which can cause this kind of error. ob run etc have a --no-interpret option to disable this behavior for a given directory and it's children.

This was reproduced in a fresh, empty directory where I ran ob init and where the only change I made was to the Frontend.hs file. ghcjs-dom nor jsaddle-dom is not referenced by any file in the directory.

@rprije Oh wow very odd. Can you tell me the contents of .obelisk/impl/github.json? Also, do you have ghcjs-dom or jsaddle-dom installed in some global package set perhaps for ghc or ghcjs?

Oh, I take it it doesn't behave the same way for you? That's troubling.

@rprije Oh wow very odd. Can you tell me the contents of .obelisk/impl/github.json?

{
  "owner": "obsidiansystems",
  "repo": "obelisk",
  "branch": "master",
  "private": false,
  "rev": "4f2d3f1c1312d833ae814b7a86cf7b65ea0614ec",
  "sha256": "1shk8yy5pbakcw8aq6b8s3g2xblzf24l78mq0ca0asnvifnp83yb"
}

Also, do you have ghcjs-dom or jsaddle-dom installed in some global package set perhaps for ghc or ghcjs?

No, this is a NixOS system which kept very clean with no global haskell environment other than a basic ghc with NixOS default packages and some tools like cabal-install and hlint. The ghc environment should be coming entirely from the nix closure described in the default Obelisk skeleton. The Obelisk command ob is coming from https://github.com/obsidiansystems/obelisk/archive/master.tar.gz.
which ends up in /nix/store/gd99xxp41i5dllhpx341rxscgbyzlpqn-obelisk-command-<IP_ADDRESS>/bin/ob in my Nix store.
For completeness:
$ ghc-pkg list | less
/nix/store/ng4jlh9dcbcihb9yb2f3x5bsacdpnj14-ghc-8.6.5/lib/ghc-8.6.5/package.conf.d
    Cabal-<IP_ADDRESS>
    array-<IP_ADDRESS>
    base-<IP_ADDRESS>
    binary-<IP_ADDRESS>
    bytestring-<IP_ADDRESS>
    containers-<IP_ADDRESS>
    deepseq-<IP_ADDRESS>
    directory-<IP_ADDRESS>
    filepath-<IP_ADDRESS>
    (ghc-8.6.5)
    ghc-boot-8.6.5
    ghc-boot-th-8.6.5
    ghc-compact-<IP_ADDRESS>
    ghc-heap-8.6.5
    ghc-prim-0.5.3
    ghci-8.6.5
    haskeline-<IP_ADDRESS>
    hpc-<IP_ADDRESS>
    integer-gmp-<IP_ADDRESS>
    libiserv-8.6.3
    mtl-2.2.2
    parsec-<IP_ADDRESS>
    pretty-<IP_ADDRESS>
    process-<IP_ADDRESS>
    rts-1.0
    stm-<IP_ADDRESS>
    template-haskell-<IP_ADDRESS>
    terminfo-<IP_ADDRESS>
    text-<IP_ADDRESS>
    time-<IP_ADDRESS>
    transformers-<IP_ADDRESS>
    unix-<IP_ADDRESS>
    xhtml-3<IP_ADDRESS>

I am closing with the understanding that the referenced, merged PR did fix this issue. Let me know if I am mistaken.


757: unexpected token at '404 page not found'

Hey ,
I just upgraded fleet-api to version 1.1.0 from 0.9.0 and I it looks like there are some issues.
I am using clinet.status to get the status of the unit and also to know if unit already exist
here is my status method
  def status
    @ustatus ||= @ustatus = "none"
    begin
     @ustatus=fleet.status(unitname)
    rescue Fleet::NotFound
      nil
    end
  end

When trying to use 1.1.0 I keep getting Json parser error - quick look at the code shows that you are trying to parse all errors - but 404 error is not parable (probably not in a json format).
here is the exception :
 757: unexpected token at '404 page not found'
/root/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/json-1.8.2/lib/json/common.rb:155:in `parse'
/root/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/json-1.8.2/lib/json/common.rb:155:in `parse'
/root/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fleet-api-1.1.0/lib/fleet/request.rb:51:in `raise_error'
/root/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fleet-api-1.1.0/lib/fleet/request.rb:31:in `request'
 /root/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fleet-api-1.1.0/lib/fleet/request.rb:11:in `block (2 levels) in <module:Request>'
/root/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fleet-api-1.1.0/lib/fleet/client/unit.rb:12:in `get_unit'

So the question is why is it not returning Fleet::NotFound like in 0.9.0? and how can we change "404 not found" to be parseable by json parser ?

@ramakuka One important thing to note about the upgrade from version 0.9.0 of the gem to version 1.1.0 is that the underlying API has fundamentally changed. With version 0.9.0, the gem talked directly to etcd. Version 1.1.0 of the gem was re-written to communicate with the new, official Fleet REST API (which should be more reliable/stable than the old approach where we had essentially reverse-engineered the communication between fleetctl and etcd).
When upgrading to 1.1.0 you'll need to make sure that you configure the gem to point to the Fleet API endpoint instead of the etcd endpoint.
I suspect that this may be why you are receiving a 404 error with your status call and why the gem is having difficult parsing the response (with the new Fleet API, all of the error responses return a JSON body).
Please let me know if you continue to have problems.

Thanks ,
I will check it out , and let you know .

Ok - I changed the application to use the fleet API , and it seems to work .
Thanks for the quick response .

Let me know if you need any additional help.


release: adding 2.0.0 doc link

Add 2.0.0 release to the list and remove
the last release.
Signed-off-by: Ioannis Glaropoulos<EMAIL_ADDRESS>

uh, https://github.com/zephyrproject-rtos/zephyr/pull/18783 (submitted 8 days ago) does this too.  Merge one and close the other.


memory issues with large ranges

I had an API definition that looked like:
requires :blahvalue, :type => Integer, values:<PHONE_NUMBER>..3000000000, :desc => "foo"
This was designed to use a range to check to do basic validation. However, this blows up in the following code:
enum_values   = enum_values.to_a if enum_values && enum_values.is_a?(Range)
to_a expands the range completely into an array.  Which is very dangerous :)

This has been discussed and is definitely a problem, I'd appreciate a PR/fix.

Actually dup with https://github.com/tim-vandecasteele/grape-swagger/issues/235.


Error when running binwalk in init script

Hi,
I am using binwalk in a python script which is executed within an init script.
I got this error in Ubuntu 14.04.
Compiled binwalk(2.0.1) from sources in hope to fix the error
running binwalk this way gives me the following error:
(4226)    [2] [Aug 05 08:49:09]      ==>>> Command '. /root/.profile ; /usr/local/bin/binwalk /mnt/hd/tmp/initrd.img > /mnt/hd/tmp/binwalk.out
(4227)    ' failed (1):
(4228)    stdin: is not a tty
(4229)    Traceback (most recent call last):
(4230)      File "/usr/local/bin/binwalk", line 81, in
(4231)        main()
(4232)      File "/usr/local/bin/binwalk", line 60, in main
(4233)        elif not modules.execute():
(4234)      File "/usr/local/lib/python2.7/dist-packages/binwalk/core/module.py", line 691, in execute
(4235)        obj = self.run(module)
(4236)      File "/usr/local/lib/python2.7/dist-packages/binwalk/core/module.py", line 707, in run
(4237)        obj = self.load(module, kwargs)
(4238)      File "/usr/local/lib/python2.7/dist-packages/binwalk/core/module.py", line 722, in load
(4239)        argv.update(self.dependencies(module, argv['enabled']))
(4240)      File "/usr/local/lib/python2.7/dist-packages/binwalk/core/module.py", line 748, in dependencies
(4241)        depobj = self.run(dependency.module, dependency=True, kwargs=dependency.kwargs)
(4242)      File "/usr/local/lib/python2.7/dist-packages/binwalk/core/module.py", line 707, in run
(4243)        obj = self.load(module, kwargs)
(4244)      File "/usr/local/lib/python2.7/dist-packages/binwalk/core/module.py", line 723, in load
(4245)        return module(**argv)
(4246)      File "/usr/local/lib/python2.7/dist-packages/binwalk/core/module.py", line 229, in init
(4247)        self.plugins = binwalk.core.plugin.Plugins(self)
(4248)      File "/usr/local/lib/python2.7/dist-packages/binwalk/core/plugin.py", line 93, in init
(4249)        self.settings = binwalk.core.settings.Settings()
(4250)      File "/usr/local/lib/python2.7/dist-packages/binwalk/core/settings.py", line 44, in init
(4251)        magic=self._magic_signature_files(user_only=True),
(4252)      File "/usr/local/lib/python2.7/dist-packages/binwalk/core/settings.py", line 69, in _magic_signature_files
(4253)        user_dir = os.path.join(self.user_dir, self.BINWALK_USER_DIR, self.BINWALK_MAGIC_DIR)
(4254)      File "/usr/lib/python2.7/posixpath.py", line 77, in join
(4255)        elif path == '' or path.endswith('/'):
(4256)    AttributeError: 'NoneType' object has no attribute 'endswith' (master.py|1512)
any suggestions?

I haven't tried running binwalk via an init script, but try the latest code from the master branch; there have been a lot of changes since the 2.0.1 release.

I tested it with 2.1 and I still get this annoying error.
Nevermind, I am currently writing the whole binwalk procedure in a shell script and executing it with
su -s /bin/bash -c '/path/to/script' root
and it works
awesome tool by the way ;)


Rendering stops when pressing F4 in SceneWindow

relatively simple patch:

do you have the patch at hand?

yes, i'am, on it.


calculate daily return will use future infomation

class DailyReturnIndicator(IndicatorMixin):
    """Daily Return (DR)

    Args:
        close(pandas.Series): dataset 'Close' column.
        fillna(bool): if True, fill nan values.
    """

    def __init__(self, close: pd.Series, fillna: bool = False):
        self._close = close
        self._fillna = fillna
        self._run()

    def _run(self):
        self._dr = (
            self._close / self._close.shift(1, fill_value=self._close.mean())
        ) - 1
        self._dr *= 100

so fill_value here use self._close.mean(), this will bring in future information, because mean is calculated by all close price in datasets

I created https://github.com/bukosabino/ta/pull/324 to fix this issue. But unfortunately I'm pretty sure this repository is not maintained anymore as no commits has been made for more than a year now.
It's better to not use this function at all for now, and just create this simple indicator yourself.

Hi @yarimiz and @leewi9,
Thanks for bringing this bug!
Working on merging the PR suggested by @yarimiz

Hi @yarimiz and @leewi9 ,
The last version of the library (0.10.3) implements these changes.
Thank you all!
Best,
Dario


Bug Fix: barmanObjectStore.serverName not initialized correctly

Bug Fix: barmanObjectStore.serverName not initialized correctly preventing recovery when the cluster name is different.

Hi, this change makes the recovery-object_store example obsolete: https://github.com/cloudnative-pg/charts/blob/0179d31d0784fa41a04bdf54fd47c9fe0691ea2c/charts/cluster/examples/recovery-object_store.yaml#L5

I need to fix that parameter to clusterName in the example. It was clusterName in the values and I wanted to call it clusterName instead of serverName everywhere in the chart is it makes more sense.


32bit compile error: format truncation

When compiling a 32bit version of cups, I receive an error during compile.
Here is the log.
lib32-libcups-minimal-git-2.3.3-1-x86_64-build.log

Here are the build flags I used.
https://gist.github.com/shoober420/4a853bc6739b968d83498deda6e3f7aa

Please verify this with the current OpenPrinting CUPS release, and if it still occurs report it to the OpenPrinting CUPS project.


STITCH-2509 fix some logic issues with multi-user authentication

This should bring the Android multi-user logic to parity with the JS PR logic in https://github.com/mongodb/stitch-js-sdk/pull/216.
Fixes made here include the following:

various internal naming changes to be consistent with Android
new doAuthenticatedRequest overload to do authenticated requests on behalf of another user to prevent many prepareAuthRequest calls
adding USER_NOT_FOUND and USER_NOT_LOGGED_IN error codes
storing the user list as an ordered map (LinkedHashMap) rather than a LinkedList
persisting device id when there is no active user
removing users when not logged in
removing anonymous users when they are logged out
handling user linking profile failure edge case
various changes to the order of logic in CoreStitchAuth
various test changes

Coverage remained the same at 67.242% when pulling ae9f3a0ed18805d0f887fcea2525d7fee58935cd on adamchel:STITCH-2509 into 9cc7916320de17255caaa46ae52780c30a1ceb45 on mongodb:master.


How to set the PERMITTED_MEMORY in synthetic_short_gene_example\single_cell_calculations_short_gene.py

Hi, I encounter a problem when I set the PERMITTED_MEMORY in synthetic_short_gene_example\single_cell_calculations_short_gene.py. The released code set this value to be 8. But when I set it as 5 or 6, the error appears. Do I have to set the PERMITTED_MEMORY as the powers of base 2, e.g., 1 = 2^0, 2 = 2^1, 4 = 2^2, 8 = 2^3....

Yes, that's right - PERMITTED_MEMORY should always be powers of base 2. If you set it to any other value then the code will crash. The permitted memory is the maximum size that the truncated state space can take (it's not relevant to the full model). It should be set to the maximum value that is computationally feasible - basically, the longest time to train the model that you can get away with. Each time step the state space expands until it reaches the maximum allowed size (see Figure 3 in the paper).
As an aside: 8 is actually a very small state space that was just used for the toy example with a very short gene. Real data in e.g. Drosophila would need something longer, but it depends on the system you are looking at.
Performance should convergence towards the full model as you add more allowed states.


Policy Document

Can you provide example of what policy document should look like?
Step 1 - Create a new Amazon Cognito identity pool through the Amazon Cognito dashboard for unauthenticated users. Modify the policy document to allow unauthenticated users to "execute-api:*" for API Gateway. Modify the policy document to allow users to upload to the S3 bucket created in Template One.

Hi samhotnumb,
For the Cognito roles, take a look at these two policy examples:
http://docs.aws.amazon.com/AmazonS3/latest/dev/example-policies-s3.html#iam-policy-ex0
http://docs.aws.amazon.com/apigateway/latest/developerguide/permissions.html
For your Cognito roles you'll have a policy that combines both of the examples above into one policy role. The first action will grant your Cognito user that's unauthenticated to upload into your S3 bucket; the second policy will allow permission for the unauthenticated user to make an API call to API gateway.
If you later on want to get more fine grained access for users, you can add fine grained access control policies where each Cognito User would only have access to their folder inside of an S3 bucket. A good example of a policy like that can be found here: https://docs.aws.amazon.com/cognito/devguide/identity/concepts/iam-roles/ under the S3 Prefix section.
Thanks,
Wale

Thanks . To be clear... It should be
uploadimagebucket = the bucket I created for images
apigateway = ???, is this a generic term or should I replace with a specific value in here ?
{
"Version":"2012-10-17",
"Statement":[
{
"Effect":"Allow",
"Action":[
"s3:ListAllMyBuckets"
],
"Resource":"arn:aws:s3:::"
},
{
"Effect":"Allow",
"Action":[
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource":"arn:aws:s3:::uploadimagebucket"
},
{
"Effect":"Allow",
"Action":[
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject"
],
"Resource":"arn:aws:s3:::uploadimagebucket/"
},
{
"Effect": "Allow",
"Action": [
"apigateway:"
],
"Resource": [
""
]
}
]
}

Hi samhotnumb,
For the api gateway you'll want an execute api policy so it will look like the below:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"execute-api:Invoke"
],
"Resource": "arn:aws:execute-api:::*"
}
]
}
Also for your policy above, I think you are missing a "" after your ListAllMyBuckets policy: "Resource":"arn:aws:s3:::"
Thanks and let me know if that helps.

Thanks, I will check.
To be clear replace:
{
"Effect": "Allow",
"Action": [
"apigateway:"
],
"Resource": [
""
]
}
With
{
"Effect": "Allow",
"Action": [
"execute-api:Invoke"
],
"Resource": "arn:aws:execute-api:::*"
}

That's correct. You'll replace the action you created with the one below it. The "execute-api" is used for defining permissions for REST API calls to API gateway. If you want to further restrict access for API calls, you can specific additional resources and actions that correlated to a specific endpoint and action (GET, POST, PUT, etc).
If you'd like to see the additional actions available for API Gateway, you can find them here: http://docs.aws.amazon.com/apigateway/latest/developerguide/permissions.html

good stuff. thanks


[FEATURE] Add script for new program generation

Is your feature request related to a problem? Please describe.
I'm always frustrated when the program DB is empty
Describe the solution you'd like
I think the easiest is a CSV ingestion script, with a template so e.g Josiah or whoever can design new semester allocations easily. One corollary: we should require PI emails stored in DB, and send passwords directly to them at generation.
Describe alternatives you've considered
Adding by hand. It's slow.

Fixed elsewhere


Mirror Express-Session API/approach where possible

I recently became aware of express-session, which fulfills a similar function of the session state component here. It would be nice to align my session-state methods/API with express-session where possible.

After having consumed my morning matcha, and being marginally more awake, I realize this doesn't make sense due to the inherent different approaches here (middleware in the application's request flow versus external API called service).  Closing and blaming lack of sleep:)


STORM-2374: Storm Kafka Client Test Topologies Must be Serializable

@revans2 done. @ptgoetz this should be ready to merge.

+1

+1

+1


Enable tests requirements in local builds

Developers should be able to use TDD and for that we need to be able to run tests before committing any code.
All that should be needed is adding "$DEVEL" = "yes" in an OR clause to the current if [ "$TEST" = "yes" ] condition in the backend Dockerfile

I already added this to my becks branch, so just throwing this in here


Azure log analytics handle

The class AzureLogAnalyticsHandle is a handler class for data interaction with Azure Log Analytics through MS-provided APIs. The class acts as a TableHandle. It defines an extract method api_get() and a load method api_post() - these methods have the aliases read() and append(), respectively.
See the documentation provided in the PR.

Solid work Martin! I love it. Very nice contribution to spetlr!


backend: need to setup mongoDB

Need to set up MongoDB and make a connection to the server.

Hello @himanshujaidka. I am a participant in GSSoC 2022 and I would like to work on this issue. Can you explain the next steps on this?

Yes but wait for the official start date till then read some documentation regarding mongoDB

I would like to work on this issue under GSSOC`22.

Hey @himanshujaidka I would like to work on this issue under GSSOC , please assign it to me.

I would like to work on this issue under GSSOC

I am a gssoc '22 participant and would like to work on this issue

Hey @himanshujaidka , as @varisha-025 , removed the assignment I would like to work on this issue, but I have this doubt, that there is no server to connect to.

@himanshujaidka, I would like to work on this issue, please assign it to me, since I was next in the line after @varisha-025.


get_version_as_str InternalServerError: unrecognized configuration parameter "edgedb.server_version"

with the remote postgres as the backend, almost any edgedb cli command fails with the below error. I cannot execute the version query neither.
edgedb error: InternalServerError: unrecognized configuration parameter "edgedb.server_version"
  Hint: This is most likely a bug in EdgeDB. Please consider opening an issue ticket at https://github.com/edgedb/edgedb/issues/new?template=bug_report.md
  Server traceback:
      edb.errors.InternalServerError: unrecognized configuration parameter "edgedb.server_version"

select sys::get_version_as_str()

this doesn't work and leads to this error.
cli: 3.4.0+4d95a2c
server: EdgeDB server 3.3+00041f3, built on 2023-09-06T20:36Z from revision daca65ac2 (2023-09-06T01:08Z) for x86_64-unknown-linux-gnu

In single-database mode?

@elprans yep, single-database mode with a managed postgres instance as the backend where CREATE DATABASE etc are unavailable

@elprans FYI same error in the latest db server and cli (>5)

[2024-09-02T22:27:44Z DEBUG edgedb::outgoing::frame] Frame Contents: Execute1(
        Execute1 {
            annotations: {},
            allowed_capabilities: Capabilities(
                MODIFICATIONS | DDL,
            ),
            compilation_flags: CompilationFlags(
                0x0,
            ),
            implicit_limit: None,
            output_format: Binary,
            expected_cardinality: AtMostOne,
            command_text: "SELECT sys::get_version_as_str()",
            state: State {
                typedesc_id: c32cc3a1-648c-5dc7-b898-12bf51713369,
                data: b"\0\0\0\x04\0\0\0\0\0\0\0\x07default\0\0\0\x01\0\0\0\x04\0\0\0\0\0\0\0\x02\0\0\0\x04\0\0\0\0\0\0\0\x03\0\0\0\x04\0\0\0\0",
            },
            input_typedesc_id: 00000000-0000-0000-0000-000000000000,
            output_typedesc_id: 00000000-0000-0000-0000-000000000101,
            arguments: b"",
        },
    )

[2024-09-02T22:27:44Z DEBUG edgedb::incoming::frame] Frame Contents: ErrorResponse(
        ErrorResponse {
            severity: Error,
            code: 16777216,
            message: "unrecognized configuration parameter \"edgedb.server_version\"",
            attributes: {
                257: b"edb.errors.InternalServerError: unrecognized configuration parameter \"edgedb.server_version\"\n",
            },
        },
    )

Roger, I'll repro and push a fix.

@fantix hey! sorry for pinging, do you have any updates? can I help more with reproducing or providing more data?

Sorry, not yet - maybe the command to start your server if possible?

@fantix to reproduce that particular issue properly, I usually have to fix a series of issues first.
Here's the showcase I created some time ago for one of the issues: https://github.com/nightstory/edgedb-postgres-issue
In the end, it doesn't work anyway, including for that issue (I have to run additional queries manually).
Currently, it fails because of some "branch not found" issue. I was able to fix it once by changing the default branch name to "edgedb" (which fails because a special assertion doesn't allow to use that name), and then returning back, but doing it again doesn't help.
Let's try to fix the issues step by step (in either my showcase or in edgedb itself)?
If nothing will help with a local postgres in docker, I can create a database in our cloud provider just for you, and provide a postgres DSN

@fantix hey! monthly check-up, can I help anyhow else?


getting data from database(eg Sqlite)

if i want to send some data from database of my app. how i can get Context to open a connection with the database(To Get Readable Database)
`public class MyJobService extends JobService {
@Override
public boolean onStartJob(JobParameters job) {
// Do some work here
DatabaseHelper datbasehelper= context.getReadableDatabase();
return false; // Answers the question: "Is there still work going on?"
}
@Override
public boolean onStopJob(JobParameters job) {
    return false; // Answers the question: "Should this job be retried?"
}

}`

The JobService is extending Context so you can use the service itself as an context.


Add polars_iptools plugin

Link to suggestion
https://github.com/erichutchins/polars_iptools
Targeted section
Python
Describe your suggestion
I wish to add (my own) new plugin polars-iptools to the repo. This python plugin includes rust implementations for IP address parsing and enrichment including MaxMind geolocation. I did not see a similar item already in your awesome list nor did I find a similar capability already in the Polars ecosystem.
Checklist

[X] checked if your suggestion is not already listed in Awesome Polars list.
[X] checked if it can fit in an existed section or suggest a new section and explain why your item does not fit into one and what would be the interest of your new section.
[X] checked when it's a repository if it's maintained (archived repository will be rejected).

Thanks @erichutchins for your suggestion, your plugin will be added to the Awesome Polars List !


Note splash thing not working

Describe your bug here.
Every time i go play i song a error on console saying the note splashes has incorrect data
Command Prompt/Terminal logs (if existing)
[WARNING] The frame note splash green 20002 has incorrect data and results in an image with the size of (0, 0)
[WARNING] The frame note splash purple 20002 has incorrect data and results in an image with the size of (0, 0)
[WARNING] The frame note splash red 20002 has incorrect data and results in an image with the size of (0, 0)
[WARNING] The frame note splash white 20002 has incorrect data and results in an image with the size of (0, 0)
[WARNING] The frame note splash yellow 20002 has incorrect data and results in an image with the size of (0, 0)
[WARNING] The frame note splash violet 20002 has incorrect data and results in an image with the size of (0, 0)
[WARNING] The frame note splash darkred 20002 has incorrect data and results in an image with the size of (0, 0)
[WARNING] The frame note splash dark 20002 has incorrect data and results in an image with the size of (0, 0)
[WARNING] The frame note splash dark 20003 has incorrect data and results in an image with the size of (0, 0)

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Yes, i edited CoolUtil.hx to add difficulties and i followed the pysch engine guide on github thing to add difficulties. The difficulties work well and appear as intended in story mode and freeplay.

It means that one of the frames are blank. Its a WARNING not an ERROR, you don't need to preocupate of that.


Added default region when digitalocean provider is being used

Set to lon1
Signed-off-by: Pablo Caderno<EMAIL_ADDRESS>Description
Added default region value when provider is set to digitalocean and no region is specified.
How Has This Been Tested?
Code compiled and tested locally ( Ubuntu 19.10 x86_64 /go version go1.12.10 linux/amd64)   and verified it was working as expected.
./bin/inletsctl create --provider digitalocean --access-token "XXXXXXXXXXXX" Using provider: digitalocean Requesting host: dreamy-feistel2 in lon1, from digitalocean
As this a minimal change I don't see any other areas of the code being affected.
How are existing users impacted? What migration steps/scripts do we need?
Not applicable.
Checklist:
I have:

[X] updated the documentation and/or roadmap (if required)
[X] read the CONTRIBUTION guide
[X] signed-off my commits with git commit -s
[ ] added unit tests

Fixes #47

Thank you for the PR and for working hard to get all the paperwork and process right first time. I appreciate that a lot.

How Has This Been Tested?

Please show that it can still be overridden with another region.

./bin/inletsctl create --provider digitalocean --region test-region01 --access-token "XXXXXXXXXXXX" Using provider: digitalocean Requesting host: naughty-mayer3 in test-region01, from digitalocean
Also with different provider:
./bin/inletsctl create --provider packet --access-token "XXXXXXXXX" Using provider: packet Requesting host: adoring-perlman7 in ams1, from packet ./bin/inletsctl create --provider packet --region test-region --access-token "XXXXXXXXX" Using provider: packet Requesting host: great-kare7 in test-region, from packet
Please let me know if further testing is required.

No, that's great. Just for reference - showing only a positive test isn't really a test in my opinion, it needs to show ideally 3 cases: no change (not applicable), positive and negative.
Thank you for this PR and for being a new contributor 👍


Call to Core from Persistence Layer?

I have a question: If you have a NotificationService in the Infrastructure layer that send emails, and only want to send an email to a user if they have opted in in their profile (which you need to access a CQRS Query to determine), where should you check to make sure the user has opted in: in the Infrastructure Layer or in the business logic layer where the call to the NotificationService was initiated?
As I see it, the main benefit to calling it in the NotificationService is that you only have to do it once, whereas otherwise you'd have to do it in each location the NotificationService is called. The benefit to calling it in the business logic code is that it's unit testable. My vote is for NOT doing it in the NotificationService but I wanted to check to make sure my understanding is correct. Or is there a better solution than either of these?
Thanks!

Not an expert. But my 2 cents.
Because I do think this is a business rule, it should live in the Application Layer. How about a service within the Notification Service that checks whether the user opted in or not, that then will call the INotificationService implementation from the persistence layer. This way you will still just call 1 method from your Handler.
Something like CompliantNotificationService.notifyUser?
That being said, I think it does open an interesting discussion on whether the Persistence Project can talk to the Infrastructure Project or to take it even further, should a service in the Infrastructure Project be able to call another Infrastructure service? I think you will have to decide that from case to case and will depend on whether the code includes any business logic that should be transferred when you change the external data source.

Sorry, originally titled this Persistence instead of Infrastructure layer. Doh!

Let me make sure I'm understanding this. CompliandNotificationService would have a method for each notification type (different parameters/templates for different messages), and before calling the NotificationService in the Infrastructure layer to send the message you would check to make sure notifyUser was true? Kind of like having a border station between the Web App and the Infrastructure layer that manages traffic?

As I see it, it's just a common service, implementing common Business Logic, used within your Application Layer. Yup. 👍

Thanks!


Provide a command line tool to check nodeos p2p is healthy

To ensure an EOSIO node is running correctly, it need to be monitored. Need to check things like

memory allocated in config.ini vs 'RAM' used on chain,
API get_info is up to date
Accepting incoming p2p connections
etc..

With the existing provided APIs and tools, there is no easy way to check that incoming p2p connections is working well from a monitoring tool.
It would be great if the distribution comes with a test binary that would, given a p2p endpoint and a chain_id (and whatever else is required), make a handshake to nodeos and tell you if it it would accept your connection or not.   Perhaps request block 1 (or a parameter to specify which block) in the chain so as to validate that the entire (relevant) set of blocks is available.
% nodeos-test --host=x --port=9876 --chain_id=xxxx --block_num=1

See https://github.com/michaeljyeates/eosio-protocol/ (in typescript)


High-level docs adjustments

This was going to be a review of #42 ... but I realized it was easier to just make the changes directly.
What do you think of these, @jberlanga ?  (We can discuss it on our telecon coming up shortly if that's easier)

:+1:

@eteq -- Looks great! Just a couple of typos/minor edits.

Ok, @jberlanga, I've integrated all the changes you suggested.
@cdeil - see my comments above on your suggestions.  I'm ok with something different for the maintainers stuff just so long as we have some way of making that clear right now, but am not so keen on the version stuff being in the docs explicitly.  Maybe we should merge this now so @bmorris3 can take care of #79, but possibly with another small PR making changes on your comments if you still think we should?

:+1: to merge so that @bmorris3 can finalise #79 and we can move towards 0.1!

Good to merge!


Allow Geofence to trigger when app is killed

Currently, the geofence does not trigger the Javascript code while the app is killed, as there are no registers set yet.
In iOS, the app will automatically wake-up when the geofence is triggered and the listener will be registered after a few seconds.
In Android, I am instantiating the activity and launching the app, it's quite an ugly solution and I could use headless-js for that.
I haven't merged the latest release, but that gives an idea of how that could be achieved.

Thanks @cladjules for the PR but I'm currently working on a solution using HeadlessTaskService for android (see issue #19). And if iOS is not triggering in the background, please open an issue.
Thanks again!

It would be great to have an ios part. Is it possible to have ios part merged?

For iOS, According to this, I believe we need allowsBackgroundLocationUpdates to be set to true: https://developer.apple.com/documentation/corelocation/handling_location_updates_in_the_background?language=objc


Plugin system V2

We should consider a plugin system for implementing StableBTree and other stable structures, Sudograph, and any other Rust-based libraries people might want to add in the future. This goes for Azle as well.

For speed of development of stable structures and getting to property-based tests so we can move to 1.0, I'm going to shelve this is a medium priority for now.

There really isn't a huge project to get to v2, so I'm closing this out. V1 will be the only plugin system for now


add oss test instructions, fix conv grad bug

Add instructions for running the tests. Bump the travis number of tests.
Also fix a grad bug I added in 0d64aea (resulting in a loud shape error when using NHWC, or anything other than NCHW).

I'm going to self-review and merge this into master because it fixes a known (and embarrassing) bug! We can revise as needed.


Sharing global lazy components from #20259 blow ups entry file

Environment

Operating System: Linux
Node Version:     v16.17.0
Nuxt Version:     3.4.2
Nitro Version:    2.3.3
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      sourcemap, modules
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

note: same on my windows machine with yarn berry and 18.13.0 node
Reproduction
https://codesandbox.io/p/sandbox/cocky-darwin-4sog1x

Try building with global components (nuxt-icon module for example). Despite using two lazy components, there is only one file emitted (toasts). Also notice entry file is 154kb
Comment out nuxt-icon module and run build again. Two files for two separate lazy components emitted (navbar and toasts) and entry leaned from 154kb to 132kb

Describe the bug
https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/components/templates.ts#L32
Everything is about this line. If you use in-file components definitions (as was on v3.4.1), all looks good and as it should be. But if you only import lazyGlobalComponents from #componets, entry file will grow up, but chunks for lazy components are still there. For example, on my local project i am using tiptap and as a result, entry file grew from 180kb to 497kb. Then, if you use lazyGlobalComponents in for loop, entry size remains the same 497kb, but chunks for lazy components are gone. All lazy components ended up in one chunk -_-
Additional context
No response
Logs
No response

same here in 3.4.2, I had to rollback to 3.4.1, entry.js has grown x10

Same issue!!!!

Same issue too. entry.js has grown >x4.

same here in 3.4.2, I had to rollback to 3.4.1, entry.js has grown x3
@salomonsanz  how to rollback from v3.4.2 to v3.2.2

Would you provide a reproduction? 🙏


IForest feature contribution for a given outlier

Hi, is it possible to print out which feature directly/more likely contributes to determining a data point as an outlier? So that we can check for each data point that which features may deviate the data point from the distribution the most.

Hi @lujiazho, you can actually use the shap library for this:
# Fit PyOD model
clf = KNN()
clf.fit(data)

# Shap is slow so perhaps only explain highest likelihood values, e.g. 100
scores = clf.decision_scores_
idx = np.argsort(scores)

# Fit shap explainer and get values for top 100
explainer = shap.Explainer(clf.decision_function, data)
shap_values = explainer(data[idx][-100:])

# Example of some plots
shap.plots.waterfall(shap_values)
shap.plots.beeswarm(shap_values)
shap.plots.bar(shap_values)

Hope this is what you were looking for and all the best!

Thanks a lot! That's exactly what I want!

You can also use clf.feature_importances_() for IForest


Improving the Description

Current:

There is an ambiguous point about the description written by vscode-triage-bot
It's not clear if vscode-triage-bot counts all the votes in the feature-suggestion comments or only the first post
Example https://github.com/microsoft/vscode/issues/127087#issuecomment-867693902

Update:

Writing a description that will not leave any ambiguity

This issue text has a link in the word "upvote" to this wiki page: https://github.com/microsoft/vscode/wiki/Issues-Triaging#up-voting-a-feature-request. IMO that page is pretty clear, let me know if you have feedback on it.

The sentence on the description page and the picture under it are creating confusion again. In the example picture, making the request over the bot account and casting the vote for it, leaves the user in a dilemma.
Also it's pointless for a user to need secondary page redirection for a very simple function description. By adding just one sentence, it can be clarified where it should be upvoted. It can be seen on the sample request I sent that the current description is clear to you but not to users. Thanks for your understanding.

Happy to hear any proposals for new text.

I think updating this will suffice:

The community has 60 days to upvote the issue.

as
The community has 60 days to upvote the request above.
Thanks.

Happy to hear any proposals for new text.

@JacksonKearl As I can see, some users are still voting for the bot's description. This means that updating the description as above would be really helpful.

Or, considering this situation, upvotes given to the bot should be added while counting the votes.


Starting inspector on <IP_ADDRESS>:6005 failed: address already in use

Starting inspector on <IP_ADDRESS>:6005 failed: address already in use
[Error - 1:50:33 PM] (node:17324) UnhandledPromiseRejectionWarning: Error: invalid schema, expected mongodb or mongodb+srv
at module.exports../node_modules/mongodb/lib/url_parser.js.module.exports (c:\Users\stephwe\Repos\vscode-cosmosdb\dist\mongo-languageServer.bundle.js:38191:21)
at connect (c:\Users\stephwe\Repos\vscode-cosmosdb\dist\mongo-languageServer.bundle.js:36103:3)
at c:\Users\stephwe\Repos\vscode-cosmosdb\dist\mongo-languageServer.bundle.js:35858:7
at new Promise ()
at Function.module.exports../node_modules/mongodb/lib/mongo_client.js.MongoClient.connect (c:\Users\stephwe\Repos\vscode-cosmosdb\dist\mongo-languageServer.bundle.js:35854:12)
at Object. (c:\Users\stephwe\Repos\vscode-cosmosdb\dist\mongo-languageServer.bundle.js:45660:44)
at Generator.next ()
at module.exports../src/mongo/connectToMongoClient.ts.__awaiter (c:\Users\stephwe\Repos\vscode-cosmosdb\dist\mongo-languageServer.bundle.js:45647:71)
at new Promise ()
at module.exports../src/mongo/connectToMongoClient.ts.__awaiter (c:\Users\stephwe\Repos\vscode-cosmosdb\dist\mongo-languageServer.bundle.js:45643:12)
[Error - 1:50:33 PM] (node:17324) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
[Error - 1:50:33 PM] (node:17324) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

No repro


Footer template

I would like to build a template of a website footer

@Nikhita28 someone else is working on this issue ....search for other issue


Documentation

There have been discussions over the years about turning the documentation channel into more of a team or working group where contributors could connect with those in need. Might be a good time to make it happen considering the amount of projects and groups (with similar needs) and contributors now in the Open Collective ecosystem.
Goals/Priorities
Team
Projects (current or potential)

[ ] https://github.com/communitycontributorgroup/opencollective/issues/1
[ ] https://github.com/communitycontributorgroup/opencollective/issues/8

Partners/Collaborators
Groups, orgs, and programs with members in the #documentation channel (Open Collective Slack)

Open Collective, Inc
Open Collective Foundation
Open Source Collective
Sustain
Write the Docs
The Good Docs Project
Open Web Docs
Google Season of Docs

Resources

Let’s Talk Docs! (podcast)

Similar to https://github.com/communitycontributorgroup/opencollective/issues/12 there's actually a Docs working group in Sustain. Considering the purpose and goals of this group would be similar (once we write them), it might make sense to consolidate these efforts... especially if the sustain one is no longer active.


restore SFTP connection abilities that broke before R8

I've had trouble SFTP'ing into the wheel through Cyberduck and terminal since right before we cut R8. Hunt for breaking change and fix it to restore easy connection abilities - will make it easier to troubleshoot and to move code over to the Pi.
reference link for Pi that may be helpful: https://www.raspberrypi.org/documentation/remote-access/ssh/sftp.md

no longer an issue; could not replicate


[5.8] Add support for whereColumn between 2 other columns

Exaple:
$query = Event::select('*')
    ->selectSub(
        User::whereColumn('events.visible_after', 'between', ['users.contract_start_at', 'users.contract_end_at'])
            ->where('id', Auth::id());
    , 'show_preview');

I would add a whereBetweenColumns method.

https://github.com/laravel/framework/pull/33728


git checkout on commit-hash fails

post-receive hook fails to checkout the supplied hash.
Apparently "." is not a git repository

For future reference: This was fixed in b3c056ce319a5ddfc46b3403414362e4bcf653e8.
The issue was that $GIT_DIR is set by Git when executing a hook, that always repointed the calls to Git inside the hook to the original repo, which is quite confusing.


New error page for inprocess application start failure

For OutOfProcess scenario, if ANCM failed to start the backend process, it will sent a special 502.5 page to the client with some diagnose hints,  if disableStartUpErrorPage is configured as FALSE (default). We should consider a similar page for inprocess scenario to help user debug the failure.

@shirhatti Could you check with @blowdart?

I'm going to need to know what is in the page, what circumstances send it, and if it's available to anyone on a crash, or just, say, to people accessing localhost

Oh just static? With nothing else? That's fine then.

This is for cases where the app failed to load. Otherwise, if the app is working, Developer Exception Page could be used instead.

Oh, I missed "today".
OK, so what information, and under what circumstances? Would the environment affect the information displayed?

We're still designing this. Thinking out loud we want to control it via web.config or an env variable.

What's changed from when we designed this a few years ago and decided a static page was the only possible safe content?

Think developer exception page, but for startup failures instead.
Off by default, but makes it way easier to diagnose startup failures than having to look at event logs and redirecting stdout logs.

So the equivalent of ASPNETCORE_CAPTURESTARTUPERRORS and ASPNETCORE_DETAILEDERRORS in Hosting? Better use the same settings.


k get crd shows namespace in the table breadcrumb

crds are cluster scoped. is this knowable?

We could use k api-resources --api-group=apiextensions.k8s.io --namespaced=true to see if this resource is namespace-scoped or not

this also affects kubectl top node and kubectl top pod, which also incorrectly display the namespace in the breadcrumb. see #4737 for an example screenshot.

this has been worked around, for now, via some heuristics. see isClusterScoped in plugin-kubectl


⚠ Bofrost.es has degraded performance

In 95deb95, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1569 ms

Resolved: Bofrost.es performance has improved in c4aa094 after 7 minutes.


Top level break instruction causes panic on REPL

The following Goby code from https://github.com/goby-lang/goby/blob/master/vm/statement_test.go#L13 causes panic only on REPL:
x = [1, 2, 3]
y = 0
x.each do |i|
  y += i
  if i == 2
    break
  end
end
y

» y
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x68 pc=0x43ef404]

goroutine 1 [running]:
github.com/goby-lang/goby/vm.(*VM).REPLExec(0xc4200a6780, 0xc4201e69c0, 0x5, 0x8)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/vm/repl.go:38 +0x4d4
github.com/goby-lang/goby/igb.StartIgb(0x4577c2d, 0x5)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/igb/repl.go:231 +0xd23
main.main()
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/goby.go:29 +0x954

Note that the code works fine when running as a file.
And the following works fine on REPL; looks like the bug only occurs on top level break instruction.
» def foo
¤   x = [1, 2, 3]
¤   y = 0
¤   x.each do |i|
¤     y += i
¤     if i == 2
¤       break
¤     end
¤   end
¤   y
» end
#»
» foo
#» 3

FYI: complied with Go 1.9.3.

Was looking into this today. Seem like something with the break statement.
Goby 0.1.7 🙃 😚 😺
» [1, 2, 3].each do |i|
¤   break
» end
#» [1, 2, 3]
»
» y = 0
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x44006b5]

goroutine 1 [running]:
github.com/goby-lang/goby/vm.(*VM).REPLExec(0xc4200a6820, 0xc4201fa6c0, 0x3, 0x4)
	/Users/julio/lib/go/src/github.com/goby-lang/goby/vm/repl.go:38 +0x435
github.com/goby-lang/goby/igb.StartIgb(0x459e471, 0x5)
	/Users/julio/lib/go/src/github.com/goby-lang/goby/igb/repl.go:231 +0xc13
main.main()
	/Users/julio/lib/go/src/github.com/goby-lang/goby/goby.go:29 +0x8fc

@hachi8833
Ran another test (see snippet below) and the problem seems to be related to the top level but with the break statement being on the top level.
Goby 0.1.7 🤓 😐 🤧
» def foo
¤   [1, 2, 3].each do |i|
¤     break
¤   end
¤   y = 0
» end
#»
» foo
#» 0
» y = 0
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x44006b5]

goroutine 1 [running]:
github.com/goby-lang/goby/vm.(*VM).REPLExec(0xc4200a68c0, 0xc420204cc0, 0x5, 0x8)
	/Users/julio/lib/go/src/github.com/goby-lang/goby/vm/repl.go:38 +0x435
github.com/goby-lang/goby/igb.StartIgb(0x459e471, 0x5)
	/Users/julio/lib/go/src/github.com/goby-lang/goby/igb/repl.go:231 +0xc13
main.main()
	/Users/julio/lib/go/src/github.com/goby-lang/goby/goby.go:29 +0x8fc


Osmium

My plan with osmium is to make it an ore you can get on other planets or by mining asteroids. When we get Rockhounding: Chemistry back, you'll also be able to obtain osmium by processing uninspected minerals.
As such, I want to make the early-game Mekanism machines not use osmium. Feel free to tell me which machines you think shouldn't take osmium.

Alright, osmium can be found on external planets and on asteroids.

Greenking's list of suggestions for machines that shouldn't take osmium:

basic bin
enrichment chamber
crusher
energized smelter
electric pump
precision sawmill
fluid plenisher
heat generator

I think all mekanism content should require steel at a base minimum.
Heat generator should take Constantin
Jeremiah Grimsley
"All of humanity is in peril of extinction if each one of us does not dare,
now and henceforth, always to tell only the truth, and all the truth, and
to do so promptly — right now." - R Buckminster Fuller
On Fri, Dec 15, 2017 at 11:46 AM, Andrew Sage<EMAIL_ADDRESS>wrote:

Greenking's list of suggestions for machines that shouldn't take osmium:

basic bin
enrichment chamber
crusher
energized smelter
electric pump
precision sawmill
fluid plenisher
heat generator

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/belathus/Wanderlust-Renewed/issues/202#issuecomment-352068224,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIWPahwCKwu_Zn3ARS9S2nJ0xagz23oiks5tArBjgaJpZM4Q3vXV
.


Ana anti-nade duration

Created by: MaxwellJung
Biotic Grenade duration should be increased from 3.5 seconds -> 4 seconds

moved from ow1_emulator_backup#709


image is not read

https://github.com/kreshuklab/teaching-dl-course-2019/blob/master/Webinars/exercise1/image_manipulation.ipynb?short_path=a1d32b1#L285
The image is not loaded.
Either add this as another task or add the line of code to load it.
@vzinche

This would be a working solution:
def show_random_image(directory):
  rand_idx = np.random.randint(0, len(directory))   # get a random index
  folders_list = os.listdir(directory)
  img_id = folders_list[rand_idx]
  img_name = img_id + '/images/' + img_id + '.png'
  print(img_name)
  random_image = cv2.imread(directory + '/' + img_name, cv2.IMREAD_GRAYSCALE)
  cv2_imshow(random_image)

I would also recommend to rename the image variable to random_image, because otherwise, even if the code is wrong it may work because the code fetches the image from the global variables.


implicit string concatenation not warned against inside functions

Example:
enum x = "abc" "def";

int main()
{
   auto x = "abc" "def";
   return x.length;
}

output from dscanner:
testconcatstring.d(1:16)[warn]: Implicit concatenation of string literals

There should be 2 messages

I found the cause of this. I'm working on finding the best way to solve it.


Assertion does not match when using camelcase  function in helm-unittest v0.5.2

Issue
In version v0.5.2 assertions expecting a result in camelcase fails when input data is in lowercase, this problem is not seen in version v0.5.1.
Steps to Reproduce
First, outputing helm version:
helm version

version.BuildInfo{Version:"v3.15.3", GitCommit:"3bb50bbbdd9c946ba9989fbe4fb4104766302a64", GitTreeState:"clean", GoVersion:"go1.22.5"}

Then we create a new example chart and we modify the _helpers.tpl file to camelcase the fullnameOverride variable:
helm create example-chart

sed -i 's/{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}/{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" | camelcase }}/g' example-chart/templates/_helpers.tpl

After this, we add a test for the deployment template:
mkdir example-chart/tests

cat << EoF >  example-chart/tests/deployment_test.yaml
suite: test camelcase in deployment
templates:
  - deployment.yaml
tests:
  - it: should be camelcase
    set:
      fullnameOverride: test
    asserts:
      - equal:
          path: metadata.name
          value: Test
EoF

Now we install helm-unittest plugin in version v0.5.1 and run the test:
helm plugin uninstall unittest || : && helm plugin install https://github.com/helm-unittest/helm-unittest.git --version v0.5.1 && helm unittest example-chart
v0.5.1 unittest output:
### Chart [ example-chart ] example-chart

 PASS  test camelcase in deployment example-chart/tests/deployment_test.yaml

Charts:      1 passed, 1 total
Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshot:    0 passed, 0 total
Time:        1.974677ms

Finally we install helm-unittest plugin in version v0.5.2 and run the same test again:
helm plugin uninstall unittest || : && helm plugin install https://github.com/helm-unittest/helm-unittest.git --version v0.5.2 && helm unittest example-chart
v0.5.2 unittest output:
### Chart [ example-chart ] example-chart

 FAIL  test camelcase in deployment example-chart/tests/deployment_test.yaml
    - should be camelcase

        - asserts[0] `equal` fail
            Template:   example-chart/templates/deployment.yaml
            DocumentIndex:  0
            Path:   metadata.name
            Expected to equal:
                Test
            Actual:
                test
            Diff:
                --- Expected
                +++ Actual
                @@ -1,2 +1,2 @@
                -Test
                +test

Charts:      1 failed, 0 passed, 1 total
Test Suites: 1 failed, 0 passed, 1 total
Tests:       1 failed, 0 passed, 1 total
Snapshot:    0 passed, 0 total
Time:        1.858943ms

Error: plugin "unittest" exited with error

What the expected behaviour is in your opinion? Looks like 0.5.2 has some undocumented fix

I think the expected behaviour should be like version 0.5.1
That is mainly because I'm using camelcase function in my templates and Helm renders them correctly with camelcase ("Test" in the example). So the unittest behaviour should be consistent with Helm's behaviour.

I have no time to validate yer But worth to double check the behaviour of the camelcase function. If test became a Test is not a camelCase but a PascalCase. Looks like helm version or sprig dependency was bumped where the fix is.

Oh, I see now what you meant by undocumented fix. Helm and unittest were treating camelCase as PascalCase.
However looking into sprig string functions, it does seem to be the intended behaviour.
There is no documented PascalCase and camelCase is treated as CamelCase:

camelcase
Convert string from snake_case to CamelCase
camelcase "http_server"
This above will produce HttpServer.

Looking further into this, I've found a question regarding camelcase behaviour in sprig repo, the fix should only exist in sprout (sprig fork), and from what I've checked, both helm-unittest and helm still use sprig.

Ok found out why the behavior differs in never version. The fix exists in dependency https://github.com/huandu/xstrings which is an indirect dependency to sprig and helm

Agree it's a bug. As there is a version mistmatch in between Helm and Helm unittest

The helm-unit test's release cycle is unpredictable and lacks a fixed schedule. If you encounter issues, you're welcome to submit a pull request that reverts to a previous version with integration tests. Meanwhile, I'll attempt to create a merge request in the Helm repository to update an indirect dependency version.

Hello @AlbertoOS, @ivankatliarchuk,
Thanks for the feedback and the additional investigations.
Based on the comments by the helmteam, it's best to rollback the version to keep the behaviour the same as helm.
Greetings,
@quintush

Worth to write a unit and end-2-end test of this.
Dependency is update

sprig https://github.com/Masterminds/sprig/blob/e708470d529a10ac1a3f02ab6fdd339b65958372/go.mod#L10
helm https://github.com/helm/helm/blob/3a3e3846ca9c929a6966583b461181e70f19bc13/go.mod#L9C2-L9C33


feat(messages): add inline_query emitter

Hey, take a look at this #57 I already did something similar.

I was just trying to mention it. There are more things to implement in order to make it work well. InlineQueryResult types (InlineQueryResultArticle,InlineQueryResultPhoto,InlineQueryResultGif,InlineQueryResultMpeg4Gif,InlineQueryResultVideo) are necessary. :smiley:

Closed in favor of #57 (more precise events)


0/1 nodes are available: 1 Insufficient cpu. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod.

[ ] ✋ I have searched the open/closed issues and my issue is not listed.

I am trying to deploy a Spark application on Kubernetes using the Spark Operator, but I'm encountering an issue related to CPU allocation for my executor pods. Below is my current SparkApplication YAML configuration
apiVersion: sparkoperator.k8s.io/v1beta2
kind: SparkApplication
metadata:
name: spark-test-workorderpnhz
namespace: default
spec:
type: Scala
mode: cluster
image: "<IP_ADDRESS>:8082/repository/spark-test:latest"
imagePullSecrets: ["nexus-registry-secret"]
mainClass: org.example.WorkorderPnhz
mainApplicationFile: "local:///app/app.jar"
sparkVersion: "3.1.1"
restartPolicy:
type: Never
driver:
cores: 1
coreLimit: "1200m"
memory: "512m"
labels:
version: 3.1.1
serviceAccount: spark-operator-spark
volumeMounts:
- name: spark-conf-volume-driver
mountPath: /opt/spark/conf
javaOptions: "-Dconfig.file=/opt/spark/conf/application.conf"
podName: "spark-test-workorderpnhz"
envVars:
MY_ENV_VAR: "value"
executor:
cores: 1
coreLimit: "1200m"
instances: 1
memory: "512m"
labels:
version: 3.1.1
volumeMounts:
- name: spark-conf-volume-exec
mountPath: /opt/spark/conf
envVars:
SPARK_EXECUTOR_MEMORY: "512Mi"
SPARK_EXECUTOR_CORES: "1"
SPARK_EXECUTOR_INSTANCES: "2"
SPARK_EXECUTOR_MEMORYOVERHEAD: "500m"
dynamicAllocation:
enabled: true
initialExecutors: 1
maxExecutors: 2
minExecutors: 1
sparkConf:
"spark.dynamicAllocation.executorIdleTimeout": "60s"
"spark.shuffle.service.enabled": "true"
volumes:
- name: spark-conf-volume-driver
configMap:
name: spark-drv-conf-map
- name: spark-conf-volume-exec
configMap:
name: spark-exec-conf-map
When I try to deploy this configuration, I receive the following error message:
0/1 nodes are available: 1 Insufficient cpu. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod.
I have specified coreRequest and coreLimit for both the driver and executor, but the pods still seem to require more CPU resources than available.
The executor is set to use 1 core and a coreLimit of 1200m, but the node can't accommodate this.
I am using Spark Operator version v1beta2-1.4.2-3.5.0 with Kubernetes.
How can I adjust my SparkApplication YAML to ensure the executor pods are scheduled successfully with the available CPU resources? Are there any best practices for configuring CPU requests and limits for Spark executors on Kubernetes to avoid resource insufficiency errors?

@kokibas The error message indicates that your Kubernetes cluster doesn't have enough CPU resources to schedule the Spark pods. You can use kubectl top node to checkout the node capacity. You need to scale your Kubernetes cluster or you can reduce the CPU request for your spark pods if possible.

@ChenYi015  Thank you for the response. I ran kubectl top node, and here are the results:
NAME             CPU(cores)   CPU%   MEMORY(bytes)   MEMORY% kuber.spark.io   1168m        14%    11189Mi         70%
As you can see, the node is using 1168m CPU (14%) and 11189Mi memory (70%).
In addition, my application logs show the following message:
Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources. It seems like the cluster might not have enough resources allocated to run the application, especially regarding memory. Could this be causing the issue? What would be the best way to resolve this, given the current resource usage?

@kokibas  Currently, the driver.cores and executor.cores must be integers, that means driver.cores and executor.cores must be at least 1. So you will need at least 2 cpu core (i.e. 2000m) to run the application, but your cluster only have 1168m cpu, so you must scale up your cluster.

@kokibas Spark operator will exec spark-submit inside it, and when you run spark-submit --help, you will find only integers are supported to specify num of cores for driver and executors.

@ChenYi015 Thank you for the clarification. I understand now that the driver.cores and executor.cores must be set to integer values, requiring at least 1 CPU core each. Given my current cluster's available CPU resources (1168m), it seems I don't have enough to meet the 2 CPU core requirement for the Spark application.
I will work on scaling up my cluster to ensure that enough CPU resources are available. If you have any further advice on optimizing resource usage or scaling best practices, I'd appreciate it!


RPP Phase on HIP and HOST

Adds pixelwise Phase computation between two input tensors on HIP and HOST
Adds relevant unit/QA/perf tests

@r-abishek merge pending @rrawther approval

@r-abishek merge pending CI - http://math-ci.amd.com/blue/organizations/jenkins/main%2Fprecheckin-computer-vision-rocm%2Frpp/detail/PR-267/6/pipeline


Fix eq operator in Connection class

This is the most "standard" way of using the eq operator, at least according to the doc https://docs.python.org/2/reference/datamodel.html. By making this change I was able to execute the prepare operation without problem, but I can't confirm it didn't change the previous behavior.

@laurrentt would you mind agreeing to our CLA just to make sure everyone's bases are covered? We didn't have the CLA bot ready to go yesterday. This link should work: https://cla-assistant.io/duo-labs/cloudmapper?pullRequest=9

@kylelady Done

Thanks!


[WIP]fix: 避免openstack磁盘和存储窜位

这个 PR 实现什么功能/修复什么问题:
fix: 避免openstack磁盘和存储窜位
是否需要 backport 到之前的 release 分支:

release/2.13

/area region
/cc @zexi

Codecov Report

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

@@            Coverage Diff             @@
##           master    #6810      +/-   ##
==========================================
- Coverage    6.77%    6.77%   -0.01%
==========================================
  Files         669      669
  Lines      117719   117719
==========================================
- Hits         7978     7972       -6
- Misses     109135   109140       +5
- Partials      606      607       +1

Flag
Coverage Δ

#aFlag
6.77% <ø> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/cloudcommon/db/lockman/fifo.go
80.00% <0.00%> (-10.00%)
:arrow_down:

pkg/cloudcommon/cronman/cronman.go
52.09% <0.00%> (-1.87%)
: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 e49c11e...4e48d33. Read the comment docs.


::ng-deep becomes :is() with CSS files

Which @angular/* package(s) are the source of the bug?
compiler
Is this a regression?
Yes
Description
In CSS file (not SCSS), when using ::ng-deep the result is broken.
pre {
    white-space: pre-wrap;

    ::ng-deep {
        h3 {
            margin: 0px;
            border-bottom: 1px solid;
            padding: 0 6px 6px;
        }

        .license {
            margin-right: 5px;
            font-size: 20px;
            text-align: right;
        }
    }
}

Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
**In build**

▲ [WARNING] 1 rules skipped due to selector errors:
  :is() -> Empty sub-selector

**In browser**

pre[_ngcontent-ng-c2840326293] {
    white-space:pre-wrap
}
:is()   h3[_ngcontent-ng-c2840326293] {
    margin:0;
    border-bottom:1px solid;
    padding:0 6px 6px
}
:is()   .license[_ngcontent-ng-c2840326293] {
    margin-right:5px;
    font-size:20px;
    text-align:right
}

Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 19.0.2
Node: 20.11.1
Package Manager: npm 10.2.4
OS: linux x64

Angular: 19.0.1
... animations, cdk, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1900.2
@angular-devkit/build-angular   19.0.2
@angular-devkit/core            19.0.2 (cli-only)
@angular-devkit/schematics      19.0.2
@angular/cli                    19.0.2
@schematics/angular             19.0.2
rxjs                            7.8.1
typescript                      5.6.3
zone.js                         0.15.0

Anything else?
No response

CSS nesting is not supported at all for view encapsulation emulation.


basename with one argument fails with set -u

As the second argument can be unbound in basename, the following script will fail:
#!/usr/bin/env bash

set -u

basename() {
    # Usage: basename "path" ["suffix"]
    local tmp

    tmp=${1%"${1##*[!/]}"}
    tmp=${tmp##*/}
    tmp=${tmp%"${2/"$tmp"}"}

    printf '%s\n' "${tmp:-/}"
}

basename ~/Pictures/Wallpapers/1.jpg

with
./basename.sh: line 11: 2: unbound variable

Fixed:
basename() {
    # Usage: basename "path" ["suffix"]
    local tmp

    case "${1:-''}" in '') return 1;; esac
    tmp=${1%"${1##*[!/]}"}
    tmp=${tmp##*/}
    case "${2:-''}" in '') :;; *) tmp=${tmp%"${2/"$tmp"}"};; esac

    printf '%s\n' "${tmp:-/}"
}


HELP!!! I couldn't find the 'json' file for training!!!

Hi, friends,
I'd like to train this model on my own dataset. However, I could't find the 'json' file yet, namely,  which was in 'option' folder previously. If no file missed by me at the current version, could you please share it with me?
[python -m torch.distributed.launch --nproc_per_node=8 --master_port=1234 main_train_psnr.py --opt options/swinir/train_swinir_denoising_color.json  --dist True]

Hi, friends,
I'd like to train this model on my own dataset. However, I could't find the 'json' file yet, namely, which was in 'option' folder previously. If no file missed by me at the current version, could you please share it with me?
[python -m torch.distributed.launch --nproc_per_node=8 --master_port=1234 main_train_psnr.py --opt options/swinir/train_swinir_denoising_color.json --dist True]

You can find the desired file here: KAIR-SwinIR

Hi, friends,
I'd like to train this model on my own dataset. However, I could't find the 'json' file yet, namely, which was in 'option' folder previously. If no file missed by me at the current version, could you please share it with me?
[python -m torch.distributed.launch --nproc_per_node=8 --master_port=1234 main_train_psnr.py --opt options/swinir/train_swinir_denoising_color.json --dist True]

You can find the desired file here: KAIR-SwinIR

Thanks for your reply!


couldn't dumped

There is such a situation, its a test evironment, Before i could get the hashes with this user. after i reinstalled the certificate server and configured it but now icouldt get the hashes with same user.
└─$ certsync -u Administrator -p 'passpass' -d test.local -dc-ip <IP_ADDRESS> -ns <IP_ADDRESS> -debug
[] Collecting userlist, CA info and CRL on LDAP
[] Found 15 users in LDAP
[] Found CA test-WIN-abcabc-CA on WIN-abcabc.test.local(<IP_ADDRESS>)
[] Dumping CA certificate and private key
[+] Creating new service
[+] Creating backup
[+] Retrieving backup
[+] Cleaning up
[] Forging certificates for every users. This can take some time...
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 15/15 [00:00<00:00, 987.45it/s]
[] PKINIT + UnPAC the hashes
[+] 0 users dumped. 15 users could not be dumped.
Is this caused by pkinit? how could i set up test environment for this tool on active directory?

Hey, this might be because your lab does not support pkinit. You should renew the machine certificate of your DC


Added BCSF sixth form

Afternoon,
Would like to add the domain for the Beauchamp City Sixth Form, Leicester.
Website is here, we offer Computer Science A level here and students can access their emails through the standard Microsoft Office Portal.

@MrHarcombe Pull request merged. Thank you!


fix(superset): Fixed API for bulk delete of embedded dashboards

SUMMARY
This change fixes bulk delete of dashboards which have embedding enabled.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
NA
TESTING INSTRUCTIONS
curl $'http://localhost:8088/api/v1/dashboard/?q=\u0021(id1,id2)' \   -X 'DELETE' \   -H 'Accept: application/json' \   -H 'Cookie: session=some-session' \   -H 'Origin: http://localhost:8088' \   -H 'X-CSRFToken: some-token' \   --compressed
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@lilykuang @michael-s-molina can you please check this?

@villebro @lilykuang @michael-s-molina can you please check this?

FYI @sinhashubham95 I restarted the cypress test on CI, will review now

@villebro I have refactored the test case as per your suggestion. Also, I verified the test case failing for me without the change when I was running from my local.

@villebro I have refactored the test case as per your suggestion. Also, I verified the test case failing for me without the change when I was running from my local.

@sinhashubham95 can you post the failing test output without the functional changes?  I'm still not able to reproduce the test failure without the functional change. What I did to run the tests locally:
tox -e sqlite tests/integration_tests/dashboards/api_tests.py

Btw, I'm getting an unrelated test failure when running the tests locally and I don't fully understand how that test (test_gets_not_certified_dashboards_filter) is passing on CI (the test seems wrong), but I can look into that, as it's unrelated.

@villebro just to specify this part of the test case failing without this change, I removed the change keeping the test case. Check these job run failures - MYSQL and Postgres.

@villebro please check now.

@villebro just to specify this part of the test case failing without this change, I removed the change keeping the test case. Check these job run failures - MYSQL and Postgres.

@sinhashubham95 oh, now I get it, the test didn't fail on sqlite because it doesn't enforce foreign keys 🤦 thanks for helping me get to the bottom of this!