Extending API to include write features

I'd really like to see this API extended to allow writing to playlists for authorised users, but I'm not familiar enough with how the Apple APIs work to deal with authentication of current users etc. I assume there must be some way to allow the Developer ID being used for the API Keys to also be authenticated so a user token can be sent alongside the Apple Music token (allowing the developer to write to their own library).
Is this something we may see in the future? I'd be willing to assist where I can to make this happen (i.e. writing methods to send the post requests once the token issue is sorted out).

This can definitely be done, just haven't gotten around to it yet.
The documentation is here:
Apple splits the API into either "catalog" or "library" resources. I have done most of the catalog endpoints, but not library which handles user libraries, playlists, etc.

This can definitely be done, just haven't gotten around to it yet.
The documentation is here:
Apple splits the API into either "catalog" or "library" resources. I have done most of the catalog endpoints, but not library which handles user libraries, playlists, etc.

Having read that and doing a bit more investigation online, it doesn't look that simple. Apparently StoreKit is ObjC only, but there's a JavaScript library out there that allows in-browser user login to create/get the user credentials necessary for a user to login and gain a user token. How this would be achieved in Python without direct access to StoreKit I'm a little uncertain about.
I'll do some further investigation, but how exactly we achieve the call to the requestUserToken(forDeveloperToken:completionHandler:) method from native Python doesn't appear as simple, and may require some additional setup prior (in the same way it's necessary for the developer token).

Having read that and doing a bit more investigation online, it doesn't look that simple. Apparently StoreKit is ObjC only, but there's a JavaScript library out there that allows in-browser user login to create/get the user credentials necessary for a user to login and gain a user token. How this would be achieved in Python without direct access to StoreKit I'm a little uncertain about.
I'll do some further investigation, but how exactly we achieve the call to the requestUserToken(forDeveloperToken:completionHandler:) method from native Python doesn't appear as simple, and may require some additional setup prior (in the same way it's necessary for the developer token).

I have now spent quite a bit of time working through this, and from what I can see it isn't possible to call the necessary StoreKit method i.e. requestUserToken(forDeveloperToken:completionHandler:) unless you're using Xcode/iOS with an appropriate plist/configuration set up for that app. I can use the Developer Token easily enough to authorise my computer to access StoreKit fine, but I can't find anyway at all to have a user token issued.
Relevant API docs: https://developer.apple.com/documentation/storekit/skcloudservicecontroller/2909079-requestusertokenfordevelopertoke?language=objc
I have tried using pyobjc to call the relevant SKCloudServiceController class function from the StoreKit API implementation there (which is how I managed to get client authorisation working), but instantiating a SKCloudServiceController object to request the user token doesn't work.
The relevant part of the code I'm currently experimenting with in the AppleMusic class is:
        """
        Generate the user token to be used in library API requests.
        Set the class user token parameter

        """
        StoreKit.SKCloudServiceController.requestAuthorization_(lambda x: print(x))
        self.auth_status = StoreKit.SKCloudServiceController.authorizationStatus()
        if self.auth_status == 3:
            print("Authorization to Music Library has been granted.")
            user_auth_manager = StoreKit.SKCloudServiceController.alloc().init()
            user_auth_manager.requestUserTokenForDeveloperToken_completionHandler_(self.token_str, self.completionHandler)
            print(self.user_token)
        else:
            print('Authorise access to Music Library, then try again.')

    def completionHandler(self, user_token, error):
        self.user_token = user_token
        print(f'token: {self.user_token}')
        if error:
            print('Error: '+error)
        else:
            print('Token issued')```

the auth_status of 3 correctly identifies that the client has been given permission to access the user's Apple Music library (and I get an OS prompt when that gets set), but an attempt to request the user token fails every time, and I can't for the life of me work out how to overcome it.

I'm convinced that there is something on Apple's side that refuses to provide the token unless it is being called natively from iOS 11+

Hey,
Did you find a solution, to create a user token even without python or using requests ?

Dealing with the same problem rn. Spent all my time today looking at different possibilities, however, I was not even able to retrieve a valid token using the JS version.
All I found was a library called social auth that would allow you to sign in to your apple account via python. However, I hadn't had the time to test it yet.
Maybe there is a simpler option?!

There is the MusicKit API which solves this issue. It is a javascript library MusicKit on the Web that you can use to get the Music User Token necessary to access the users library.


Automated cherry pick of #10913: hostman: ovn: do not set external_ids:iface-id for backup

Cherry pick of #10913 on release/3.7.
#10913: hostman: ovn: do not set external_ids:iface-id for backup

/lgtm
/approve


Remove the initial box from the Holders list.

Done. The token zero address will not be displayed in holdlers table

Pls clear localStorage. Thx

Ready


docs: added code climate badges

Related to https://github.com/onebeyond/admin/issues/36. I need to check how to connect the current test coverage, but the badge url will be the same.

Since this is a template for generating .NET solutions and projects, we are not including building the code or running the unit tests, as that will be performed upon the generated output and will be up to the developers to choose what tooling they will use for producing the test coverage. Also, the tests are part of the code generated by the template, not to ensure the template actually works.
Do you think this would still apply for our repo main use case?

Super clear @CesarD! Thanks for the explanation ;)


docs: fix typo comment

Summary

It fixes a typo: "it's" is a contraction for "it is" whereas "its" is possessive.
Test plan

n/a

Codecov Report

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

@@           Coverage Diff           @@
##           master    #8916   +/-   ##
=======================================
  Coverage   64.25%   64.25%
=======================================
  Files         275      275
  Lines       11657    11657
  Branches     2845     2846    +1
=======================================
  Hits         7490     7490
  Misses       3544     3544
  Partials      623      623

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 8e197c6...c077b5b. Read the comment docs.


Unable to find a way to install cmdlet that has New-ServicePrincipal

Please provide more instruction on how to be able to run New-ServicePrincipal, installing the ExchangeOnlineManagement module just not works.
I've connected to three tenants, two are test tenants, another one is a production tenant of a customer, but it just don't work.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c89f3f32-6771-8a28-9592-400663b419b8
Version Independent ID: 56a51ab8-953a-af9c-e878-2eeb64d4387b
Content: New-ServicePrincipal (ExchangePowerShell)
Content Source: exchange/exchange-ps/exchange/New-ServicePrincipal.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

Ok I used fourth tenant and that one had the feature rolled in ... how strange.


Support Docker

I'm trying to solve the same problem being solved here, except in a Docker container (for dev container support). I've been trying to get VSCode to work with the official image, however, I've run into the same linking problem. Unfortunately, it looks like the fix here relies on systemd, would there be any interest in supporting a non-systemd approach that can be used in a container?

You could probably pull the shell script from the nixOS wiki and wrap that in whatever init system you're using inside Docker?

I tried looking into this, but it seems quite the different setup, considering the following error:
/root/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/bin/code-server: line 12: /vscode/vscode-server/bin/linux-x64/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node: No such file or directory

Of course I could try and patch those paths as well, but that might require a lot of work and testing, and considering the long list of failures that checked for dependencies, this would be just the tip of the iceberg.
Instead I would recommend checking out some existing projects that seem to address your Nix dev container already:
https://github.com/xtruder/nix-devcontainer
https://github.com/zimbatm/vscode-devcontainer-nix

No worries, I appreciate the response. I had looked into those projects, but the first doesn't support remote container development and the second one had some pretty gnarly requirements. I did end up solving it on my own. I merged the solution into the std framework here. It just uses nix2container and includes this hack which was sufficient to get everything running correctly.


Let's enable .Files.Get to read arbitrary file by external relative path

Let's enable .Files.Get to read arbitrary files by relative path, even outside of the chart.
# secrets.yaml
data:
  foo: {{ .Files.Get  "../../../../../../path/to/external/foo" | b64enc }}

In the example above, I want to use an external file(foo) as a secret, but I don't want it to be in the chart.

duplicate of https://github.com/helm/helm/issues/3276.


Marshalling error on logger packet.GetSequence

Summary of Bug

The logger throws a marshaling error when trying to convert the sequence (uint64) to string.
evmosd         | 5:18PM INF indexed block height=81 module=txindex server=node
evmosd         | 5:18PM INF client state updated client-id=07-tendermint-0 height=1-169 module=x/ibc/client
evmosd         | 5:18PM INF packet received dst_channel=channel-0 dst_port=transfer module=x/ibc/channel sequence=1 src_channel=channel-0 src_port=transfer
evmosd         | 5:18PM INF minted coins from module account amount=100ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518 from=transfer module=x/bank
evmosd         | 5:18PM INF acknowledgement written dst_channel=channel-0 dst_port=transfer module=x/ibc/channel sequence="marshaling error: json: unsupported type: func() uint64" src_channel=channel-0 src_port=transfer

You can see below that the logger converts the types to a string:
https://github.com/cosmos/cosmos-sdk/blob/5e9656f363a0b8e1e00a58aaeee3c0a8c1e1561b/server/logger.go#L44-L55
Version

v3.0.0
Steps to Reproduce

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

I see the issue was fixed here: https://github.com/cosmos/ibc-go/pull/1130


[5085] Z Key handling

craftercms/craftercms#5085

Applies for this ticket too https://github.com/craftercms/craftercms/issues/4920


[Mod Compatibility] Real Time vs. Cubemap Replacer

Information about compatibility between two mods.
First mod
Real Time [Steam ID<PHONE_NUMBER>] by dymanoid
Other mod
Cubemap Replacer (Read description!) [Steam ID<PHONE_NUMBER>] by BloodyPenguin
Compatibility

Issues - using both mods together gives minor/major issues (please describe below).

Real Time mod can dynamically adjust the sunset/sunrise time. Cubemap Replacer uses hard-coded times for sunset/sunrise so it sometimes still shows day cubemap during night, or vanilla night sky during dawn/morning.
Additional information
For best compatibility turn off Real Time's option for dynamic day lengths.

This will be added to the next catalog.


refactor: move getLoginRedirect(), getLogoutRedirect(), getRedirectURL() to Config\Auth

I feel uncomfortable with instantiating a controller.

After having lived with this for a bit working on Bonfire, I agree with moving it to the config file.

Moved to the Config file.

I don't know why but I got the following error twice in the past.
I ran composer test again, all tests passed.
Any clue?
1) Tests\Unit\PasswordsTest::testEmptyPassword
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'A Password is required.'
+'Auth.errorPasswordEmpty'

@kenjis I've seen the language file failure a few times across different repos, not sure what causes it.

It happened.
1) Tests\Unit\PasswordsTest::testEmptyPassword
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'A Password is required.'
+'Auth.errorPasswordEmpty'

/home/runner/work/codeigniter-shield/codeigniter-shield/tests/Unit/PasswordsTest.php:22

https://github.com/lonnieezell/codeigniter-shield/runs/6167178735?check_suite_focus=true

@MGatner @lonnieezell  I think this is complete.


Client extensions for $allModels fails to infer type of generic model T

Bug description
Extending the example for a custom method for all models with advanced type safety, Typescript complains that cannot find the operation on the generic model T.
How to reproduce

Create a new project with the schema below and run migrations
Create and index.ts with the code below (creates a user and queries by id) and tsc compile it

It will error with Property 'findUniqueOrThrow' does not exist on type 'T'.
Note that with a // @ts-ignore the method returns the expected record.
Expected behavior
The generic T correctly extends one of the models defined by the schema.
Prisma information
A simple schema with a User model:
datasource db {
  provider = "sqlite"
  url      = "file:./dev.db"
}

generator client {
  provider = "prisma-client-js"
  previewFeatures = ["clientExtensions"]
}

model User {
  id        Int      @id @default(autoincrement())
  email     String   @unique
}

Create a user and query by ID:
import { Prisma, PrismaClient } from '@prisma/client';

const prisma = new PrismaClient();

const xprisma = prisma.$extends({
  model: {
    $allModels: {
      async getById<T>(
        this: T,
        id: string,
      ): Promise<Prisma.Result<T, { id: string }, 'findUniqueOrThrow'>> {
        return this.findUniqueOrThrow({ where: { id } });
      },
    },
  },
});

async function main() {
  try {
    await xprisma.user.create({ data: { email<EMAIL_ADDRESS>} });
  } catch {
    /* empty */
  }
  const user = await xprisma.user.getById(1);
  console.log(user);
}

void main();

Environment & setup

OS:  macOS
Database: PostgreSQL,  SQLite
Node.js version: 19.0.1

Prisma Version
prisma                  : 4.10.1
@prisma/client          : 4.10.1
Current platform        : darwin-arm64
Query Engine (Node-API) : libquery-engine aead147aa326ccb985dcfed5b065b4fdabd44b19 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli aead147aa326ccb985dcfed5b065b4fdabd44b19 (at node_modules/@prisma/engines/migration-engine-darwin-arm64)
Format Wasm             : @prisma/prisma-fmt-wasm 4.10.1-1.80b351cc7c06d352abe81be19b8a89e9c6b7c110
Default Engines Hash    : aead147aa326ccb985dcfed5b065b4fdabd44b19
Studio                  : 0.481.0
Preview Features        : clientExtensions

We should probably document this limitation. This is a typescript limitation that when you assign a generic T to this, we cannot automatically infer this anymore as T becomes its new value. That said, because you are applying this on $allModels it would be nearly impossible to make this type-safe in TypeScript. In this case, I recommend to go the usafe-way within the extension, while keeping the surface of the extension fully type-safe (just like you're doing).

Next steps: Introduce helper and document it.

Hi, currently I am running into the same issue with trying to create my own extension with $allModels. Is it possible that we can add the typical query functions to the Prisma.getExtensionContext(this) return type?


fix: refactor init command to top-level

What's the goal with this change? This will prevent us from ever having a guardian-specific initialization separate from Terraform.

Theres enough of an overlap, that it doesnt make sense to have guardian plan init, guardian apply init, guardian admin init. The only caveat is that plan init should delete plan comments.
Maybe init is just the wrong word....workflow-init, get-dirs?


Reservation form

https://app.moqups.com/hooverlunch/kLvOeju1/edit/page/accf199f9

On successful submit, return to calendar and highlight new item

Originally created by Tom Smyth at 2016-03-18 23:12, migrated from redmine-#4242

Description updated (diff)

By Tom Smyth at 2016-03-19 04:21

Description updated (diff)

Estimate set to 3.00 h

By Tom Smyth at 2016-03-19 20:54

Status changed from New to Closed

By Tom Smyth at 2016-04-17 21:39


lang-fr-fr.yml: expected version 3, but got 4

On a completely fresh install of paper 1.18.1 and vane 1.6.7
[14:20:05 INFO]: [vane-bedtime] Enabling vane-bedtime v1.6.7
[14:20:05 ERROR]: [vane-bedtime] lang-fr-fr.yml: expected version 3, but got 4
[14:20:05 ERROR]: [vane-bedtime] This language file is for a future version of vane-bedtime.
[14:20:05 ERROR]: [vane-bedtime] Please use the correct file for this version, or use an officially
[14:20:05 ERROR]: [vane-bedtime] supported language file.
[14:20:05 ERROR]: [vane-bedtime] Invalid localization file. Shutting down.

Vane core is set for lang: "fr-fr" and vane bedtime to lang: "inherit"
Maybe I made a mistake updating the version on that file ?

Would probably be my mistake though, as I have to make sure all version numbers are in sync. Can you work around the issue by just decreasing the version to 3 for that file?
I'll definitely leave this issue open till next release so I remember to re-check the language files. Thanks for reporting!

I guess it's me yes: https://github.com/oddlama/vane/commit/3d6b412316f6674c192ee6078c2a5b93e325c041
Is there a workaround for vane overwriting the file everytime I restart the server ?

Ah damn. Unfortunately there isn't. The language files are not intended to be modified by the users so they will be overwritten if a new version is shipped in the jar file. If you manage to compile the plugin you could simply fix it for your version until I have the time to make a fix. Otherwise, users are encouraged to copy files to e.g. fr-fr-custom.yml to make changes to them, so you could also just do that. Copy the file, change the version, edit the language field in the config.yml. Sorry for the inconvenience.
I notice that this whole behavior isn't ideal at the moment. I guess I should maybe overhaul the language file system a little.
Notes to self:

Allow language files to inherit another language file, so you can easily override a single variable without breaking updates
Why are static language files even written to the plugins directory if they are not to be changed? (As a reference maybe?)

Your proposed workaround is the better solution.
My own laziness had me to switch core to en; some messages are in english but most of the mod's contents are localised client-side so it's not so bad while this gets fixed eventually.
Thanks!

Why are static language files even written to the plugins directory if they are not to be changed? (As a reference maybe?)

Yep, as a reference. I'd recommend naming them with .example or something.

Yeah good idea. This is now tracked by #118

Got the same issue today with the latest plugin version...

When putting fr-fr in vane-core config I had an issue because other vane plugins where in inherit mode and all versions (expected/defined) are different for each plugin

When putting fr-fr in all plugins config, I still had an issue with vane-trifle

[19:23:49 INFO]: [vane-trifles] Enabling vane-trifles v1.15.0
[19:23:49 ERROR]: [vane-trifles] lang-fr-fr.yml: expected version 4, but got 5
[19:23:49 ERROR]: [vane-trifles] This language file is for a future version of vane-trifles.
[19:23:49 ERROR]: [vane-trifles] Please use the correct file for this version, or use an officially
[19:23:49 ERROR]: [vane-trifles] supported language file.
[19:23:49 ERROR]: [vane-trifles] Invalid localization file. Shutting down.
[19:23:49 INFO]: [FastAsyncWorldEdit] Enabling FastAsyncWorldEdit v2.11.3-SNAPS

IMO that issue should not make the server stop, that's quite annoying...
In fact I think that something is broken, because the language doesn't change even after putting correct values in each plugin config...


any updates on visualization in remote server?

Hi I am having this issue while setting up SAPIEN simulator in VNC server on a remote server.
File "/root/miniconda3/envs/dexart2/lib/python3.8/site-packages/sapien/example/hello_world.py", line 38, in main
viewer = Viewer(renderer)  # Create a viewer (window)
File "/root/miniconda3/envs/dexart2/lib/python3.8/site-packages/sapien/utils/viewer.py", line 223, in init
self.window = self.renderer.create_window(
RuntimeError: vk::PhysicalDevice::getSurfaceFormatsKHR: ErrorUnknown
I read through the issues and am aware that you mentioned in Aug 2021 that you don't recommend doing SAPIEN visualization remotely, I would like to know if there is any updates to this issue. Is there any way to set up SAPIEN simulator for visualization in VNC server for remote server now (Jan 2024)?
"The first thing you should try is setting the environment variable VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json (make sure the file exists). If other issues happen with present surfaces, you can then disable display. visualization is very hard to set up on a remote server and there are specific VNC parameters required. I recommend not doing visualization remotely."
Originally posted by @fbxiang in https://github.com/haosulab/SAPIEN/issues/34#issuecomment-902818534

Hi, I have extensively tested remote visualization recently and here are the findings.
First, Vulkan does not officially support any kind of X-forwarding, so I cannot guarantee that remote visualization will work. (It can depend on many factors, including OS version, driver version, GPU vendor, and luck.) However, if you do not need on-screen rendering (i.e. open a window), Vulkan is very reliable.
If you are lucky, the following steps will make VNC to work.
Offscreen rendering on a server
To use SAPIEN on a GPU server without display, the only system dependencies required are libegl1 and libxext6. If using NVIDIA docker environment, enable graphics, utility, and compute by setting the environment variable in the
Dockerfile.
ENV NVIDIA_DRIVER_CAPABILITIES graphics,utility,compute

Virtual desktop on a server
To use SAPIEN on a GPU server with virtual display, additionally install xvfb, x11vnc, and any window manager such as fluxbox or xfce. Add display capabilities for NVIDIA docker.
ENV NVIDIA_DRIVER_CAPABILITIES graphics,utility,compute,display

Assuming fluxbox, start a VNC server by
x11vnc -create -env FD_PROG=/usr/bin/fluxbox  -env X11VNC_FINDDISPLAY_ALWAYS_FAILS=1 -env X11VNC_CREATE_GEOM=${99:-1920x1080x16} -gone 'pkill Xvfb' -nopw
# Note: you should only allow local access and tunnel through ssh

Now you can connect to the server at port 5900. SAPIEN should be fully functional, test with
python -m sapien.exapmle.hello_world

Thank you for your helpful reply! If you have any updates on remote visualization, please let me know!

Hi, if i just want it to generate a video instead of matplotlib rendering, is this issue suitable for my problem?

Hi, I have extensively tested remote visualization recently and here are the findings. First, Vulkan does not officially support any kind of X-forwarding, so I cannot guarantee that remote visualization will work. (It can depend on many factors, including OS version, driver version, GPU vendor, and luck.) However, if you do not need on-screen rendering (i.e. open a window), Vulkan is very reliable.
If you are lucky, the following steps will make VNC to work.
Offscreen rendering on a server
To use SAPIEN on a GPU server without display, the only system dependencies required are libegl1 and libxext6. If using NVIDIA docker environment, enable graphics, utility, and compute by setting the environment variable in the Dockerfile.
ENV NVIDIA_DRIVER_CAPABILITIES graphics,utility,compute

Virtual desktop on a server
To use SAPIEN on a GPU server with virtual display, additionally install xvfb, x11vnc, and any window manager such as fluxbox or xfce. Add display capabilities for NVIDIA docker.
ENV NVIDIA_DRIVER_CAPABILITIES graphics,utility,compute,display

Assuming fluxbox, start a VNC server by
x11vnc -create -env FD_PROG=/usr/bin/fluxbox  -env X11VNC_FINDDISPLAY_ALWAYS_FAILS=1 -env X11VNC_CREATE_GEOM=${99:-1920x1080x16} -gone 'pkill Xvfb' -nopw
# Note: you should only allow local access and tunnel through ssh

Now you can connect to the server at port 5900. SAPIEN should be fully functional, test with
python -m sapien.exapmle.hello_world

Hi fbxiang,
I tried your instruction to open a virtual desktop with GUI. But I see the same error in the thread. Is there any alternative way I can try? I only have remote server. I worry the headless mode won't be sufficient for simulation (I am new to this field, correct me if wrong).

Remote X is not officially supported, and getting VNC to work requires some luck. However, it can also indicate an incorrect or incomplete graphics driver installation. If you use Ubuntu, use some kind of RTX GPU (commercial gaming GPU), and have installed NVIDIA driver from apt, and have proper Docker setups, VNC should work.
If remote desktop does not work. You can at least test try python -m sapien.example.offscreen to see if an image is generated. If it works fine, you have all features except that you cannot open an interactive window to play with the scene yourself. If you do not plan to model environments yourself but only to use existing benchmarks, you are probably still okay.
If everything above totally fails, you will need to debug your GPU driver. For example, you can try to get Vulkan official test programs such as vulkaninfo and vkcube to run first. If they cannot run, you can probably seek help in the Vulkan community.


After deps upgrade: "export 'default' (imported as 'createPersistedState') was not found in 'vuex-persistedstate'

Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
After upgrading my dependencies as follows, I am getting the following warning: 11:12-32 "export 'default' (imported as 'createPersistedState') was not found in 'vuex-persistedstate' while running npm run build and npm run dev:
$ ncu -u
 npm                                 ^5.10.0  →    ^6.0.1
 autoprefixer                         ^7.1.2  →    ^8.5.0
 eslint-config-standard              ^10.2.1  →   ^11.0.0
 eslint-friendly-formatter            ^3.0.0  →    ^4.0.1
 eslint-loader                        ^1.7.1  →    ^2.0.0
 eslint-plugin-node                   ^5.2.0  →    ^6.0.1
 html-webpack-plugin                 ^2.30.1  →    ^3.2.0
 optimize-css-assets-webpack-plugin   ^3.2.0  →    ^4.0.1
 ora                                  ^1.2.0  →    ^2.1.0
 shelljs                              ^0.7.6  →    ^0.8.2
 url-loader                           ^0.5.8  →    ^1.0.1
 vue-loader                          ^13.3.0  →  ^15.0.11
 vue-style-loader                     ^3.0.1  →    ^4.1.0
 webpack                             ^3.12.0  →    ^4.8.3
 webpack-dev-server                   ^2.9.1  →    ^3.1.4

After that, the build fails. Full error log:
WARNING in ./src/store.js
11:12-32 "export 'default' (imported as 'createPersistedState') was not found in 'vuex-persistedstate'
 @ ./src/store.js
 @ ./src/main.js

WARNING in static/js/polyfill.978613bac8d26b3845d7.js contain invalid source map

ERROR in chunk vendor [initial]
static/js/[name].[chunkhash].js
Unexpected token (1:8)
| function(n,o,u){function i(t,e,r){try{return(r=e.getItem(t))&&void 0!==r?JSON.parse(r):void 0}catch(t){}}if(o=(n=n||{}).storage||window&&window.localStorage,u=n.key||"vuex",!function(t){try{return t.setItem("@@",1),t.removeItem("@@"),!0}catch(t){}return!1}(o))throw new Error("Invalid storage instance given");return function(c){var a=__WEBPACK_MODULE_REFERENCE__1_676574_call__(n,"getState",i)(u,o);"object"==typeof a&&null!==a&&c.replaceState(__WEBPACK_MODULE_REFERENCE__0_64656661756c74_call__(c.state,a,{arrayMerge:n.arrayMerger||function(t,e){return e},clone:!1})),(n.subscriber||function(t){return function(e){return t.subscribe(e)}})(c)(function(t,i){(n.filter||function(){return!0})(t)&&(n.setState||function(t,e,r){return r.setItem(t,JSON.stringify(e))})(u,(n.reducer||function(t,n){return 0===n.length?t:n.reduce(function(n,o){return __WEBPACK_MODULE_REFERENCE__1_736574_call__(n,o,__WEBPACK_MODULE_REFERENCE__1_676574_call__(t,o))},{})})(i,n.paths||[]),o)})}};
| //# sourceMappingURL=vuex-persistedstate.es.js.map
|

  Build failed with errors.

If the current behavior is a bug, please provide the steps to reproduce.
Not exactly sure yet. I will try to repro it with a public repo I have.

What is the expected behavior?
The vue.js app should work just fine, like prior to the dependency upgrade. I think it's either caused by a vue update or a webpack update, but I really don't know.

Welp, after running npm install I am now getting webpack 4 errors (due to deprecated stuff). You can probably close this issue.

Alright, started with a fresh repo and checked my dependencies again.
Non-major updates were:
The following dependencies are satisfied by their declared version range, but the installed versions are behind. You can install the latest versions without modifying your package file by using npm update. If you want to update the dependencies in your package file anyway, run ncu -a.

 @krass/k-bootstrap        ^1.2.2  →   ^1.2.3
 vuex-persistedstate       ^2.5.2  →   ^2.5.4
 babel-core               ^6.22.1  →  ^6.26.3
 babel-preset-env          ^1.3.2  →   ^1.7.0
 chalk                     ^2.0.1  →   ^2.4.1
 eslint-plugin-import      ^2.7.0  →  ^2.12.0
 eslint-plugin-standard    ^3.0.1  →   ^3.1.0
 postcss-loader            ^2.0.8  →   ^2.1.5
 webpack-bundle-analyzer   ^2.9.0  →  ^2.12.0

After a npm update and npm install, I get this warning again.
This time though, npm run dev only shows the warning, but doesn't error.
Accessing the site, it stays entirely white and I get the following output in the js console:
Uncaught SyntaxError: Unexpected token (
    at Object../node_modules/vuex-persistedstate/dist/vuex-persistedstate.es.js (app.js:1929)
    at __webpack_require__ (app.js:679)
    at fn (app.js:89)
    at eval (store.js:6)
    at Object../src/store.js (app.js:2091)
    at __webpack_require__ (app.js:679)
    at fn (app.js:89)
    at eval (main.js?1c90:1)
    at Object../src/main.js (app.js:2075)
    at __webpack_require__ (app.js:679)
VM37 localhost:8080:147 [WDS] Warnings while compiling.
warnings @ VM37 localhost:8080:147
VM37 localhost:8080:153 ./src/store.js
11:12-32 "export 'default' (imported as 'createPersistedState') was not found in 'vuex-persistedstate'
 @ ./src/store.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
warnings @ VM37 localhost:8080:153
vue.esm.js?efeb:8566 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
index.js?bed3:147 [WDS] Warnings while compiling.
warnings @ index.js?bed3:147
index.js?bed3:153 ./src/store.js
11:12-32 "export 'default' (imported as 'createPersistedState') was not found in 'vuex-persistedstate'
 @ ./src/store.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
warnings @ index.js?bed3:153

@carstenhag you have probably something wrong in your webpack configuration. Could you please provide a project / codesandbox / jsfiddle to reproduce the issue?

No response so I assume this is fixed.

Need to look at this again, sorry.


Multiple Search Selection using with backend

Hi,
I am studying in a development project. I use Multiple Search Selection for a city list. But I receive cities from backend. When I use it, I can get cities, but they cannot be selected or sticked on top.

https://github.com/kbsenay/ProjectHRMSFrontend-React/blob/master/src/layouts/SideBar.jsx

@kbsenay I suggest to post your question to StackOverflow using "semantic-ui-react" tag, in issues we track only bugs and enhancements.


jitsu server crushes ander load when firing 100k+ anonymous events with the same anonynmous id.

Description
Jitsu crushes  when running under load
And does not recover

With the following error:
2021-09-29 13:43:20 [ERROR]:

Error opening/creating recognized events queue [queue.users_recognition] in dir [/home/eventnative/data/logs/events]:
unable to create segment for /home/eventnative/data/logs/events/queue.users_recognition:
unable to load queue segment in /home/eventnative/data/logs/events/queue.users_recognition:
segment file /home/eventnative/data/logs/events/queue.users_recognition/0000000000018.dque is corrupted:
error reading gob data from file: EOF

Jitsu Server has already exited.

State of  /home/eventnative/data/logs/events/queue.users_recognition dir
6.3M	/home/eventnative/data/logs/events/queue.users_recognition
2.4M	/home/eventnative/data/logs/events/queue.users_recognition/0000000000016.dque
2.4M	/home/eventnative/data/logs/events/queue.users_recognition/0000000000017.dque
1.6M	/home/eventnative/data/logs/events/queue.users_recognition/0000000000018.dque

link to corrupted file
Steps to reproduce
setup a cluster of 3 nodes
with a single snowflake destination
user recognition is enabled
Fire an anonymous event with apache benchmark.
Take some anonymous event fired to Jitsu, copy as curl in-browser dev tools, and translate the curl command to apache bench command
Like this:
ab -n 1000000 -c 100  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Referer: http://svc-devops.***.xyz:8080/' -H 'Content-Type: application/json' -H 'Origin: http://svc-devops.***.xyz:8080' -p devops.data 'http://jitsu-api.***.xyz/api/v1/event?token=js.jenlkzkn6q9307wnyfa4t2.nh7jwz0hvgpzy5nc9pu4rd'

Expected behavior
The server should not crush.
Actual behavior
Jitsu server is crushing and does not recover after a restart

This might have happened because the pod was low on ram
But in any case, if a dque file is corrupted and can't be unmarshaled  the server should not crush

🙏


Issue/1953 feat: Add custom operator to Criteria.

Solving https://github.com/spring-projects/spring-data-relational/issues/1953 issue
This PR introduces support for custom comparators in the Spring Data Relational library, enhancing the flexibility of query building.
Key Changes

Enhanced Comparator
- Added two new fields:
- customRenderValueFunc: A function to define custom rendering logic for values.
- customComparator: A string to define the custom comparator operator.
- Introduced a setCustomComparator method to configure these properties.
- Moved the render logic from Criteria to Comparator for better encapsulation and extensibility.
Added Custom Comparator Support in CriteriaStep

I realize that my current implementation has problems in concurrent scenarios, and customComparator might lead to data inconsistency. Perhaps using ConcurrentHashMap to store these values would be a better choice. Or do you have a better solution?
@schauder

@schauder   @mp911de
HI, guys.
Perhaps I could do something to help move this PR forward. Apart from the concurrency issue, I would like to confirm whether my changes are reasonable.
I have extracted the logic of renderValue into the Comparator. I believe renderValue is strongly correlated with each comparator, so it makes sense to have it managed by the Comparator enum. However, I would love to hear your thoughts on this.
I would greatly appreciate it if you could share your feedback. Thank you in advance!

Why are you closing the PR?

@schauder
There might be some issues with the implementation of the custom operator in this PR. I'll take some time to reconsider and provide a more refined version.


GetSchemaItems endpoint retired from IEconItems, breaks the code

As title suggests, I think the mentioned endpoint has been retired, and the code can no longer run. Unfortunately, I can't pinpoint where and what exactly to change. Appreciate any help, thanks! Here's part of the error message:
Update 29/11/2024: Ok not facing the issue anymore. Still, curious what this is about. Perhaps it would help others to resolve this..
   _options: {
      maxRedirects: 21,
      maxBodyLength: Infinity,
      protocol: 'https:',
      path: '/IEconItems_440/GetSchemaItems/v0001?language=English&key=49AB00FA3DBD86A081B9D00A36AA0E5C&start=12091',
      method: 'GET',
      headers: [Object: null prototype] {
        Accept: 'application/json, text/plain, */*',
        'User-Agent': 'axios/1.6.2',
        'Accept-Encoding': 'gzip, compress, deflate, br'
      },
      agents: { http: undefined, https: undefined },
      auth: undefined,
      family: undefined,
      beforeRedirect: [Function: dispatchBeforeRedirect],
      beforeRedirects: { proxy: [Function: beforeRedirect] },
      hostname: 'api.steampowered.com',
      port: '',
      agent: undefined,
      nativeProtocols: { 'http:': [Object], 'https:': [Object] },
      pathname: '/IEconItems_440/GetSchemaItems/v0001',
      search: '?language=English&key=49AB00FA3DBD86A081B9D00A36AA0E5C&start=12091'
    },
    _ended: true,
    _ending: true,
    _redirectCount: 0,
    _redirects: [],
    _requestBodyLength: 0,
    _requestBodyBuffers: [],
    _eventsCount: 3,
    _onNativeResponse: [Function (anonymous)],
    _currentRequest: [Circular *6],
    _currentUrl: 'https://api.steampowered.com/IEconItems_440/GetSchemaItems/v0001?language=English&key=49AB00FA3DBD86A081B9D00A36AA0E5C&start=12091',
    [Symbol(shapeMode)]: true,
    [Symbol(kCapture)]: false
  },
  [Symbol(shapeMode)]: false,
  [Symbol(kCapture)]: false,
  [Symbol(kBytesWritten)]: 0,
  [Symbol(kNeedDrain)]: false,
  [Symbol(corked)]: 0,
  [Symbol(kOutHeaders)]: [Object: null prototype] {
    accept: [ 'Accept', 'application/json, text/plain, */*' ],
    'user-agent': [ 'User-Agent', 'axios/1.6.2' ],
    'accept-encoding': [ 'Accept-Encoding', 'gzip, compress, deflate, br' ],
    host: [ 'Host', 'api.steampowered.com' ]
  },
  [Symbol(errored)]: null,
  [Symbol(kHighWaterMark)]: 16384,
  [Symbol(kRejectNonStandardBodyWrites)]: false,
  [Symbol(kUniqueHeaders)]: null
},
**data: "<title>Not Found</title>
Not Found
Method 'GetSchemaItems' has been retired in interface 'IEconItems_440'"**

The error might have been caused by Steam performing some maintenance on its APIs. Also, I recommend regenerating your Steam API key since it is meant to be private, and you have exposed it here.
Even if the endpoint were to be shut down, I rely upon tf2autobot/tf2-schema to get the tf2 schema, so the developers of tf2autobot would likely fix it before I would need to.


New Line in "newer prerelease version" info text

Just a cosmetic change.
Current:

With

(the change on the  seems to be introduced from the GitHub Web editor - hope it's ok.)

Can you rebase this on dev?

(woops... this was not the desired result ;). I try my best ;))

May need to reopen the PR :)


Add New Lambada Translations

@haileyschoelkopf I couldn't find which datasets this issue is referring to. Could you please provide links?

Of course!
It should be https://huggingface.co/datasets/marcob/lambada_multilingual .
More info in the StableLM 2 tech report if I'm recalling correctly: https://arxiv.org/abs/2402.17834
and some discussions here: https://discord.com/channels/729741769192767510/755950983669874798/1212754311969251338


Display points using clustering feature reduction

Description
PR to add a new Kotlin sample "Display points using clustering feature reduction" in Visualization category.
Links and Data
Sample Epic: runtime/kotlin/issues/2926
What To Review

This sample uses a "LoadingDialog" samples-lib composable to indicate that the map is loading.

After many implementation trails to show a suitable PopUp dialog(by using composable Dialog(), samples-lib MessageDialog()), I finally resided to creating a new samples-lib component named "HtmlMessageDialog" which uses an AlertDialog to display messages with embedded HTML tags.

To display HTML tags in a Text composable component, a helper function is created which converts the Spanned object returned from HtmlCompat.fromHtml() to an AnnotatedString. This string can then be displayed using the Text composable.
There is another way to display HTML tags, which will create a custom composable component which uses an AndroidView with a TextView inside. I found the first option more convenient as it allows to directly use the Jetpack Text composable to display the text with html tags.

The Readme and metadata json are different as it requires only one screenshot reference in the metadata json file for which the sample viewer can use as the thumbnail. the README_style_checker will have that difference.

Review the code to make sure it is easy to follow like other samples on Android

README.md and README.metadata.json files

How to Test
Run the sample on the sample viewer or the repo.

@shubham7109 Thanks for the feedback and suggestions!
Popup dialog was implemented in this sample to show each popup detail which follows the common sample UI design which uses a PopupManager.
I understand Kotlin's  PopupView issue is slated for future release . Until then we can "mimic" the popup by using the material component Dialog. This way we are still following the common design sample for Maps SDK.

One helpful tip while coming up with a sample design for samples with no previous implementation, is to check out other platform's implementations and it's design workflow. Specifically mobile implementation design

My 2 cents on this:

If the Kotlin team is the first to implement a particular sample design, does this mean we expect the swift and .net teams to check the implemented Kotlin sample UI design and follow the same for their platform? Are we making sure this is followed, like having cross team code reviews?

For this sample design, I referred the common sample design, and came up with the PopupDialog implementation to follow the common design UI sample.
I also referred to the Kotlin samples contribution guide
and see that there are 2 points mentioned about the UI design that need to be followed by developers while designing a sample

The sample is primarily designed to demonstrate ArcGIS Maps SDK code and while we should follow Android & Kotlin's best practices where possible, we shouldn't dedicate lots of lines of code to fancy UI or bomb-proof MVC architectural elements.
Design samples with the look, feel, and responsiveness of a modern Android application. Following Google's material design standards and utilizing the material [components]
(https://m2.material.io/components?platform=android) for the sample is encouraged!

Let's use a similar workflow for popups using a bottom sheet as designed for the Runtime SDK

I see only iOS has this implementation.
.Net uses a PopupView toolkit component for its mobile implementation.

If the Kotlin team is the first to implement a particular sample design, does this mean we expect the swift and .net teams to check the implemented Kotlin sample UI design and follow the same for their platform? Are we making sure this is followed, like having cross-team code reviews?

@prupani-7 To an extent this is true! If Kotlin were to design a sample on common-samples/design then, every platform implementation would be based on the Kotlin sample's design. That being said, there is no strict expectation to keep the design consistent on other platforms. We have the freedom to tailor the UI suitable for our respective platforms, as long as the Maps SDK implementation remains the same as the steps detailed in the "How it works" section regardless of the platform used. The reason for my tip on referencing other platforms is so that we do not spend effort into creating a design from scratch and in my experience it does greatly help with the velocity for the sample implementation.
I also appreciate you using the Kotlin contribution guide and following the common-design implementation for this sample. I would like to point out that the sample was designed to use the Toolkit component, and has been implemented by QT (common-design), Swift, and dotNet. The suggestion to use a bottom sheet for this sample was to simply introduce a sharable component dedicated to samples similar to the design of Runtime Android PopupView, as we don't have one currently.
I fully understand that this would be a helpful discussion to have before the sample PR process, and moving forward I would like us to take the time for such discussions. I did however provide a plug-and-place solution to avoid any overhead from your end. For this sample, feel free to choose an implementation approach that would have the best value for your time and effort.

Thanks @shubham7109 for the discussion yesterday and your above comment
After our meeting, I had a chat with @rchintapalli, and we discussed that to some extent both the implementations ( Dialog vs Bottomsheet) are fine for this sample. Although he made a good point that, with Bottom sheets, once it appears on screen, it does gives the user ability to interact with the map, pan around, zoom in/out etc but with Dialog's that isn't the case and it does hide most part of the map.
Considering these points, it does make sense to use bottom sheets to show popup details vs showing it in a Dialog.
@rchintapalli although re: this statement
"we should still dismiss the bottomsheet as soon as we start map interaction"
I think doing this, it will still make it similar to how dialog functions because when you click outside of the dialog, it dismisses and gives ability to map/zoom the map. But to you point that "Bottomsheet makes map central and more visible most of the times" still holds true.
I will go ahead and make the changes to use Bottomsheet.
Agree that moving forward we should set the sample design expectations before we start its implementation to avoid any re-work and to avoid design related discussions in PR's

@shubham7109 I used the bottom-sheet code suggestion from this PR and plugged it in my branch, and got the bottomsheet working for this sample. Thank you! Could you please review?
Although I do want to highlight that, contrary to what we thought that the mapView would still be interact-able with the bottom-sheet open, is not the case. It still behaves like a Dialog. Its advantage over Dialog is that it doesn't fully hide the map and is more visible. fyi, @rchintapalli

@prupani-7 We could use AnimatedVisibility to animate a bottom sheet to be visible, and mapView.onPan & mapView.onSingleTapConfirmed to detect when the bottom sheet would need to be hidden. Let's discuss this over a call on we would go about implementing this on the sample:
@Composable
fun BottomSheet(
    bottomSheetContent: @Composable() () -> Unit,
    isVisible: Boolean
) {
    BoxWithConstraints(
        modifier = Modifier.fillMaxSize()
    ) {
        AnimatedVisibility(
            modifier = Modifier.align(Alignment.BottomCenter),
            visible = isVisible,
            enter = slideInVertically{height -> height} + fadeIn(),
            exit = slideOutVertically{height -> height} + fadeOut()
        ) {
            bottomSheetContent()
        }
    }
}

And on the MainScreen we could add the bottom sheet at the end of the Scaffold.content:
BottomSheet(
    isVisible = mapViewModel.showClusterSummaryBottomSheet.value,
    bottomSheetContent = {
        ClusterInfoContent(
            popupTitle = mapViewModel.popupTitle.value,
            clusterInfoList = mapViewModel.clusterInfoList
        ) { // on dismiss
            mapViewModel.showClusterSummaryBottomSheet.value = false
        }
    })

@shubham7109 as discussed on our call with Rama, the above solution to dismiss the Bottomsheet on map interaction and keep the Bottomsheet open on consecutive single-taps of feature layers looks good with the use of AnimatedVisibility composable. As agreed, you could go ahead and add your implementation, in this PR branch.

Thanks @XuemingRocks for your feedback. Applied your suggestions. Please re-review

Thanks @shubham7109 and @XuemingRocks for your reviews! Merging..


Validates presence on has_many associations

Fixes #
This is an attempt to start fixing numerous bugs around validation and saving of associations which is either wrong or inconsistent with active_record. It is by no means complete.
This pull introduces/changes:

Fixes validation for new object
Does not fix validation for update

Pings:
@cheerfulstoic
@subvertallchris

Thanks for the feedback. I would love some comments on how to make sure all those methods delegate to the right object before save even on objects to be updated. The start_object for new records is debatable as well.

Current coverage is 96.18% (diff: 97.77%)

Merging #1279 into master will decrease coverage by 0.77%

@@             master      #1279   diff @@
==========================================
  Files           198        199     +1
  Lines         11889      11848    -41
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits          11528      11396   -132
- Misses          361        452    +91
  Partials          0          0

Powered by Codecov. Last update 0edca16...648d250

@klobuczek Can you take a look to #1293 ?

@ProGM @cheerfulstoic I believe the entire scope of this PR should be fixed by https://github.com/neo4jrb/neo4j/pull/1293

Closing 👍


no parameter named 'auth_mechanism' in db.pp line 53

whenever attempting to create a user you get no parameter named 'auth_mechanism' in db.pp line 53 ( I have even hard-coded 'scram_sha_1' as the value and it still show this...is there some kind of issue with the puppet code ??

hi,
same issue for me on Debian Buster and Puppet-agent 6.x
cu denny


BiScaler() is missing complete

complete method is missing from BiScaler class.
Is it the same to execute fit_transform?

I think we meant BiScaler to be the same as sklearn's transformers. So it obeys that API. fit_transform should do what you want.


North Division Street through Spokane isn't labeled as such

https://zelonewolf.github.io/openstreetmap-americana/#15.09/47.70128/-117.41106
North Division Street, the main north-south road through Spokane, is not labeled as such anywhere at any zoom level.  It has plenty of "US-2" and "US-395" highway shields, but no name.
(Interestingly, I see occasional flashes of what might be a name during transitions as I pan or zoom the map, but nothing permanent.)

I suspect that there is some kind of collision happening here, and I also notice on a few nearby streets that name labels never show up, no matter how close in you zoom.  There may also be tile boundaries in play.
Additionally, until onthegomap/planetiler#14 is resolved, the tile server will continue to have fully-spelled out road names, for example "North Division Street" instead of "N Division St".  The shorter name labels should help reduce the number of collisions with other objects.

I suspect that there is some kind of collision happening here, and I also notice on a few nearby streets that name labels never show up, no matter how close in you zoom.

Correct, the issue is that both the road_label and highway-shield layers are using the same default symbol-spacing and text-offset. Both layers are trying to center their symbols on the same coordinates; the highway-shield layer always wins out because it’s on top. Here’s what the street looks like with showCollisionBoxes enabled:

This issue affects many but not all roads. It depends on the visual length of the road name label and that of the concurrent shields when laid out along the road.

Slack discussion: https://osmus.slack.com/archives/C01V02K52UX/p1676521366781129

This discussion makes me wonder if we actually want to introduce randomness in the standoff distances on labels rather than fully deterministic ones.

There’s no provision for explicit randomness in expressions – https://github.com/mapbox/mapbox-gl-js/issues/5853#issuecomment-351448862 – let alone any alternation between two symbols of a single geometry in a single layer. If we just want to ensure that a shield and a label are always present when available, then offsetting one of the layers should be enough to ensure that visibility. To avoid a situation where otherwise centered labels would appear uncentered, we could add a redundant label layer with the offset.

There’s no provision for explicit randomness in expressions

This would be a near-trivial thing to add to maplibre-gl-js, and let's not let the lack of expression support limit our thinking. It's an acceptable answer if random offsets isn't the right solution, but I'd prefer to keep the solution space broad as a general rule.

The lack of a random expression operator isn’t an artificial limitation. The obvious implementation using random() most likely wouldn’t behave as you’d expect, especially when caching is involved.


Offsite articles are not being stored

There's a problem with the schema definition for offsite articles preventing them from being stored for searching.

The proposed fix for this is to flag them as offsite, but store and index the text in Solr like other articles..  The server will remove the text so that it's not available to any users.
This is now fixed in the load process, but the server itself has not yet been configured to remove the return data.

This is now working in the server.


Arena Ready Room crash

Scene crashes as soon as you enter the room.
14034_66.txt

Fixed by shortening dialog. Will be in next patch.


Username and password

what is the default username and password for the uds 2.1 version?
when i installed uds 2.1 it asks for login with username and password but you didn't mention any username and password.

take a look at https://github.com/dkmstr/openuds/blob/master/server/src/uds/core/util/Config.py#L253
These are "default" values, ensure to change them (on DB, using dashboard or API).

This worked : SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
Thanks @dkmstr


Next gen

Bump twilio-node version
Update package.json
Update readme and local development instructions
Update .gitignore
Apply fix to Mongoose promises warning
fix typos

See this PR for your review @hortega

![](https://img.shields.io/badge/Peer Review-Passing Ok-brightgreen.svg)

@juancarlospaco @acamino I added some tests to this so it will probably need another review. Let me know your thoughts.
Cheers

I believe all issues have been addressed @acamino. I also noticed I was missing the travis build badge, so I added that as well.
Cheers

LGTM!

LGTM


mount userspace (space execute --mnt) does not work

mysys / # mount | grep /mnt
mysys / # python2.7 /usr/bin/space execute --pid --mnt bash -c 'mount -t tmpfs tmpfs /mnt'
mysys / # mount | grep /mnt
tmpfs on /mnt type tmpfs (rw,relatime)

From the above experiment, we can see that the /mnt mount is not isolated in the "mount namespace" of the new process.
compare to unshare, which behaves correctly:
mysys / # mount | grep /mnt
mysys / # unshare -m bash -c 'mount -t tmpfs tmpfs /mnt'
mysys / # mount | grep /mnt

It is very ugly to call "unshare" in my python script compared to the pyspaces.Container API.
Although the experiment is done with CLI, but I know the API behaves the same.

duplicate with #6 , sorry


Document features

#1628

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

Comparison is base (34830a7) 80.33% compared to head (b2577c5) 68.54%.
Report is 1342 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1631       +/-   ##
===========================================
- Coverage   80.33%   68.54%   -11.80%
===========================================
  Files          95      111       +16
  Lines        6602     7906     +1304
===========================================
+ Hits         5304     5419      +115
- Misses       1298     2487     +1189

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


An ambiguous sentence

This sentence is ambiguous
"As part of adding an extra layer of authentication for critical operations, you're prompted to enter a security PIN when you perform Stop Protection with Delete data and Change Passphrase operations."
because it is not clear if the PIN feature is applicable to
DPM 2016 UR9 or later
DPM 2019 UR1 or later
MABS v3 UR1 or later
or Azure Recovery Vaults too?
There is definitely no option to ask for a PIN when Stop Protection with Delete data is performed for usual VM backups.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 507d0de3-492a-3b24-c08c-e771f1cc58e3
Version Independent ID: 69abc2f3-e7d9-43ba-6508-ddc3a3b77f4c
Content: Azure backup and restore plan to protect against ransomware
Content Source: articles/security/fundamentals/backup-plan-to-protect-against-ransomware.md
Service: security
Sub-service: security-fundamentals
GitHub Login: @TerryLanfear
Microsoft Alias: terrylan

@ctahok
Thanks for your feedback! We will investigate and update as appropriate.

@ctahok
Thank you for your feedback!
Because the sentence you're referring to isn't on this documentation, I'd recommend opening a new GitHub issue under the doc below.
https://docs.microsoft.com/en-us/azure/backup/backup-azure-security-feature#authentication-to-perform-critical-operations

Thank you for your time and patience throughout this issue.

Thanks James.
Done that too and logged another case with proper sentence.


Typescript declaration file / typings npm package: @types/save-as

At least, doing "export default saveAs" is not a good idea: it makes you call module.default() instead of module.saveAs().

Thanks for opening. I've used some flow but typescript not so much. I disagree with you on whether it is a good idea: It is currently optimized towards the future of JavaScript (ES2015+), not typescript. Since the library only does one thing, it made sense to make that one thing the default export.
In ES2015+:
import saveAs from 'save-as'
Removing the default export would cause a major breaking API change. If it helps your use case however, I would be willing to add a saveAs export (non-default).

Thanks for replying. Good point about the future of JavaScript. I think a non-default export would be of great help for those who use TypeScript.
If you just add
exports.saveAs = saveAs;

Then it is possible to write a TypeScript declaration for you module, like:
declare module 'save-as' {
    function saveAs(data: Blob, filename: string, noAutoBOM?: boolean): void;
}

And named import works:
import { saveAs } from 'save-as';
function save() {
    let blob = new Blob(['Hello world!'], { type: 'text/plain;charset=utf-8' });
    saveAs(blob, 'newcontrol.txt');
}

Just published v0.1.8 with an additional saveAs export, can you give that a try.

It works. It is incredible you did it so fast, thank you!

@fedorbirjukov - NP! Glad it's getting use.

Thank you everyone here for coming with the fix. Just in case anyone else comes across this, here is what I had to do to get it to work with Angular 4 + Webpack:
const saveAsModule = require("save-as");
…
saveAsModule.saveAs(blob, fileName);


Could not find com.android.tools.build:gradle-experimental:0.11.1

On behalf of a partner
we encountered the following errors when building the app in the Android Studio.
Error:Could not find com.android.tools.build:gradle-experimental:0.11.1.
Searched in the following locations:
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle-experimental/0.11.1/gradle-experimental-0.11.1.pom

file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle-experimental/0.11.1/gradle-experimental-0.11.1.jar

https://jcenter.bintray.com/com/android/tools/build/gradle-experimental/0.11.1/gradle-experimental-0.11.1.pom

https://jcenter.bintray.com/com/android/tools/build/gradle-experimental/0.11.1/gradle-experimental-0.11.1.jar

Required by:
project :

It might be time to migrate away from the experimental gradle plugin.
http://tools.android.com/tech-docs/new-build-system/gradle-experimental
https://developer.android.com/studio/projects/add-native-code

yeah, please migrate away from experimental! It is not supported in latest android studio at all.

I do not know how to do that.  Can you help me please?

I just talked with Gerry, he will look at this now.

Should be fixed by the above commit from Gerry


Adding my no-code contribution - someone had to be first ;-)

Thank you and thank you for helping organize! #h5yr


reduce_euclidean_norm false results

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Google colab
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): Google colab
TensorFlow version (use command below): 1.15.0
Python version: 3.6.9
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: 10.1.243
GPU model and memory: N/A

Describe the current behavior
reduce_euclidean_norm might return false results?
For example, the following three snippets are all using reduce_euclidean_norm, but all return wrong results (return 4; should return sqrt(17)).
x = tf.constant([[1, 2, 3], [1, 1, 1]])
y = tf.math.reduce_euclidean_norm(x)
with tf.Session() as sess:  print(y.eval())
returns 4, should return numerical value of sqrt(17)
x = tf.constant([[1, 2, 3], [1, 1, 1]])
y = tf.compat.v1.math.reduce_euclidean_norm(x)
with tf.Session() as sess:  print(y.eval())
returns 4, should return numerical value of sqrt(17)
x = tf.constant([[1, 2, 3], [1, 1, 1]])
y = tf.compat.v2.math.reduce_euclidean_norm(x)
with tf.Session() as sess:  print(y.eval())
returns 4, should return numerical value of sqrt(17)
Describe the expected behavior
from tensorflow docs
https://www.tensorflow.org/api_docs/python/tf/math/reduce_euclidean_norm
x = tf.constant([[1, 2, 3], [1, 1, 1]])
tf.reduce_euclidean_norm(x)  # sqrt(17)
Code to reproduce the issue
Attached above.
Other info / logs
N/A
Thank you so much!

Update: When the input is in the form
x = tf.constant([[1.0, 2.0, 3.0], [1.0, 1.0, 1.0]])
the reduce_euclidean_norm returns the correct result.

Credit: @merterm

I have tried on colab with TF version 1.15, Nightly versions and was able to reproduce the issue.Please, find the gist here. Thanks!

Thank you so much!

@martinmamql All those examples are correctly returning 4 instead of sqrt(17). The reason is x.dtype is tf.int32 and the doc clearly says Returns : The reduced tensor, of the same dtype as the input_tensor.. However, the document has typo (sqrt(17)) which needs to be corrected. I raised a PR to correct it in master and will be updated in the docs after merging the PR. Thanks!

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?


Do not deal with removing images

best to test if any images exist before trying to delete them

# "docker rmi" requires at least 1 argument.
# See 'docker rmi --help'.
#
# Usage:  docker rmi [OPTIONS] IMAGE [IMAGE...]
#
# Remove one or more images

@cjyetman,
I think it's safest to not remove images at all and instead force the user to do that separately. To me, removing images from the user's system seems like a dangerous side effect that it's unexpected from a command called build_with_tag.
Do you see it differently?

no, I agree... I'd rather it not do that, but...
I added this because if I didn't remove the old ones first, I ended up with a zombie instance running on my machine, which wasn't straightforward to get rid of
so, maybe something in between, like check if there are conflicting images and exit with a message that they need to be removed first?


Fix intermittent test failures in HierarchicalPolicyServiceTest

I have so far hit issues with ln 177 and ln 205 in the HierarchicalPolicyServiceTest

Line numbers updated to reflect changes: 180 , 208 (line reads assertEquals(....)

Unable to reproduce

I only seem to be able to reproduce the error within an Azure pipeline build on the gh-163-azure-aks branch
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running uk.gov.gchq.palisade.policy.service.impl.HierarchicalPolicyServiceTest
[ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.836 s <<< FAILURE! - in uk.gov.gchq.palisade.policy.service.impl.HierarchicalPolicyServiceTest
[ERROR] getApplicableRecordLevelRules(uk.gov.gchq.palisade.policy.service.impl.HierarchicalPolicyServiceTest)  Time elapsed: 0.014 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<Does nothing[, Check user has 'Sensitive' auth]> but was:<Does nothing[]>
at uk.gov.gchq.palisade.policy.service.impl.HierarchicalPolicyServiceTest.getApplicableRecordLevelRules(HierarchicalPolicyServiceTest.java:120)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   HierarchicalPolicyServiceTest.getApplicableRecordLevelRules:120 expected:<Does nothing[, Check user has 'Sensitive' auth]> but was:<Does nothing[]>
[INFO]
[ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0


[CARBONDATA-2915] Reformat Documentation of CarbonData

1.Split Our carbondata command into DDL and DML
2.Add Presto integration along with Spark into quick start
3.Add a master reference manual which lists all the commands supported in carbondata.This manual shall have links to DDL and DML supported
4.Add a introduction to carbondata covering architecture,design and features supported
5.Merge FAQ and troubleshooting documents into single document
6.Add a separate md file to explain user how to navigate across our documentation
7.Add the TOC (Table of Contents) to all the md files which has multiple sections
8.Add list of supported properties at the beginning of each DDL or DML so that user knows all the properties that are supported
9.Rewrite the configuration properties description to explain the property in bit more detail and also highlight when to use the command and any caveats
10.ReOrder our configuration properties table to group features wise
11.Change the grammar and sentences

[X] Any interfaces changed?
NA
[X] Any backward compatibility impacted?
NA
[X] Document update required?
YES
[X] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
NA
[X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/8333/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/263/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/130/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/298/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.3/8368/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.3/8370/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/135/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/300/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/137/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/303/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/140/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.3/8375/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/141/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/142/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/143/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/145/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.3/8385/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/314/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/152/

I  found many sentences are not start with a space to make a clear gap with the previous one and I think it should be optimized. Otherwise it will to too trivial and minor to raise other PRs.

is it a mark down rule? I'm unaware of it. what is the need for a space?


feat: add option to open new window as group

Add general:group_new_window, if true, newly mapped window will open as group if

no focused window
focused window is not group
focused window is locked group

As usual, ignore_group_lock has no effect on this. (as noted in the wiki, it currently only affects moveintogroup, moveoutofgroup and movewindoworgroup).
Other changes

Moved some general logic governing the transition of a window into a group to CWindow::Group.
Rather wild clang-format shenanigans on MasterLayout.cpp, mayhap it's time to set up a git hook or CI to automatically format all modified files?

closes: #1505
wiki: hyprwm/hyprland-wiki#341

I think this would be much better off as a window rule, instead of a global setting. (also allowing ignoring groups as an option and normal behaviour)
Can't agree more with the automation of clang-format

a window rule you can make global, no point in adding a value in config to set it for all windows

I am also in favor of a windowrule

Probably more time complexity, but it doesn't matter.

maybe we lose 71ns but we gain more flexibility.


checking missing modules on cKnowledge.io

Coverage decreased (-0.2%) to 61.469% when pulling 859188f93956086ebdf9078fd6ada4df5e29a115 on cknowledge:master into ff55c6a30029d9fd9c67ae74e314acee22b6cb93 on ctuning:master.


Retriable client

Retriable clients, to keep from failing on connection errors.

you can fix taplo by running taplo format locally


Bug: Pydantic validation aliases are not handled by coverage

Description
ModelFactory.coverage() fails on models that have validation_alias set
MCVE
import typing

import pydantic
from polyfactory.factories.pydantic_factory import ModelFactory

class C(pydantic.BaseModel):
    a: typing.Annotated[str, pydantic.Field(validation_alias="b")]

class CFactory(ModelFactory[C]):
    pass

for _ in CFactory.coverage():
    pass

Logs
pydantic_core._pydantic_core.ValidationError: 1 validation error for C
b
  Field required [type=missing, input_value={'a': 'FdhLXuyqOfQSYmiqClUe'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.7/v/missing

Release Version
2.16.2
Platform

[ ] Linux
[X] Mac
[ ] Windows
[ ] Other (Please specify in the description above)

[!NOTE]
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified
This, along with engagement in the community, helps us know which features are a priority to our users.

Hi vrslev, this may be tricking to support as is given validation_alias may not be a str but an alias path as well. I will have a look to see if this can be done whilst being backwards compatible.
I would suggest setting populate_by_name on the pydantic model as a workaround in the meantime.


Make co.generate call async

Adds co.batch_{generate/tokenize/detokenize}
Makes the Generations/Detokenize/Tokenize objects all (optionally) lazy in the sense that they can be constructed and manipulated without the REST call response they represent being complete yet. As soon as a class attribute that depends on the REST call is accessed it will block until that attribute is resolved.
Generation object is now a subclass of str so that it can be thrown into code as though it were one.
Improved the Generations object so that is can be more easily sliced/indexed into without needing to access an ugly next of attributes.
Converted a bunch of bloat objects that were actually just NamedTuples
Remove the "one time iterator" design decision that was made:
Previously, if you wrote:

generations = co.generate(...)
for g in generations:
    print(g)
# the lines above will print the generations successfully
for g in generations:
    print(g)
# the loop above won't be executed because the iterator in generations can only be run once

This PR removes that strange behaviour.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

This will need a version bump, since the error handling behavior changed


question of mynewt setup

I'm a beginner of mynewt. When I set up mynewt to this step Use a newt wrapper script
I confused:
1.The file's name is newt, what's it suffix name?

Create the following file, name it newt

2.How to do this step?

make it executable

3.What is /your path/ ? Docker's Installation path or any other path.

put it in your path

Those are all OS specific concepts that are not Mynewt related, which OS are you using?

Those are all OS specific concepts that are not Mynewt related, which OS are you using?

win 10

The docs are written assuming a UNIX like environment. If you have the Linux subsystem for Windows 10 you could probably use them unmodified however I don’t have any experience with Windows 10 so I’m just guessing.
Assuming that the Linux subsystem will make your W10 machine behave like UNIX then:

No suffix is required
chmod a+x file
The path is the list of directories the shell looks for commands. How to set it depends on your shell but assuming you are using bash then export PATH=${PATH}:/path/to/new/directory

I would recommend having a read of some documentation about basic UNIX commands and the Linux subsystem though, as @utzig said, these aren’t mynewt concepts.

The docs are written assuming a UNIX like environment. If you have the Linux subsystem for Windows 10 you could probably use them unmodified however I don’t have any experience with Windows 10 so I’m just guessing.
Assuming that the Linux subsystem will make your W10 machine behave like UNIX then:

No suffix is required
chmod a+x file
The path is the list of directories the shell looks for commands. How to set it depends on your shell but assuming you are using bash then export PATH=${PATH}:/path/to/new/directory

I would recommend having a read of some documentation about basic UNIX commands and the Linux subsystem though, as @utzig said, these aren’t mynewt concepts.

Thanks a lot! It's very helpful!


error on deploy - please delete project

I'm trying to deploy a project but I may have messed up and deployed in different names while trying to understand how the tool works.
this is my repo : https://github.com/tsaridas/jackett-stremio
the last config I have says my project is
a0964931e94e-jacket-stremio-remote-addon.baby-beamup.club

I think I deployed once but I saw some error in the logs like
2024-01-16T22:17:49.091050149Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    | node:internal/modules/cjs/loader:1137
2024-01-16T22:17:49.091072344Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    |   throw err;
2024-01-16T22:17:49.091077944Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    |   ^
2024-01-16T22:17:49.091081863Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    |
2024-01-16T22:17:49.091085112Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    | Error: Cannot find module '/start'
2024-01-16T22:17:49.091088346Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    |     at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
2024-01-16T22:17:49.091091353Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    |     at Module._load (node:internal/modules/cjs/loader:975:27)
2024-01-16T22:17:49.091094102Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    |     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
2024-01-16T22:17:49.091097338Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    |     at node:internal/main/run_main_module:28:49 {
2024-01-16T22:17:49.091100251Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    |   code: 'MODULE_NOT_FOUND',
2024-01-16T22:17:49.091103347Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    |   requireStack: []
2024-01-16T22:17:49.091106684Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    | }
2024-01-16T22:17:49.091110276Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e    |

This doesn't look like something from my application.
at the moment when I try to run beamup deploy I get this :
$ beamup deploy
The commit history did not change since the last deployment, would you like to create a new commit for your project? (y/n): n
Warning: You have chosen to deploy a project where the commit history did not change, deploying the project may fail in this case.
Deploying to a0964931e94e-jacket-stremio-remote-addon.baby-beamup.club
fatal: 'beamup' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Project URL: a0964931e94e-jacket-stremio-remote-addon.baby-beamup.club

I have my pub key whitelisted in github so that shouldn't be an issue.
Generally I'm not sure what I should do with the file beamup.json.
Do I have to push it to my repo or add it to .gitignore ?
Thanks in advance.

I managed to deploy my app by removing the dockerfile.
not sure what the problemwith dockerfile is ..

I figured out the docker issue. it needs to have an entrypoint otherwise it will run /start web. should probably be documented.
not sure if I still need to keep this open so you can clean up any old stuff I got.

don't worry, old containers are deleted on creation of a new container.
and without the entrypoint it wouldn't run locally either. so before getting it running locally you should refer dokku's and docker's documentation.

but it runs fine if you just have CMD locally.
this was my old dockerfile :
https://github.com/tsaridas/jackett-stremio/blob/v1.0.112/Dockerfile


fsspec 2024.3.1

Destination channel: main
Links

PKG-4620
Changelog: diff https://github.com/fsspec/filesystem_spec/compare/2023.10.0...2024.3.1
License: https://github.com/fsspec/filesystem_spec/blob/master/LICENSE
Requirements: https://github.com/fsspec/filesystem_spec/blob/2024.3.1/setup.py

Explanation of changes:

No changes

Notes:

The build order of fsspec 2024.3.1:
botocore 1.34.69 ->
-> boto3 1.34.69
-> aiobotocore 2.12.3 -> [s3fs 2024.3.1 <- fsspec 2024.3.1]
-> s3transfer 0.10.1

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_7ecot8qbb2/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:46: documentation_specifies_language: Use the generic link, not a language specific one
===== Final Report: =====
0 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_ecov4udsof/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:46: documentation_specifies_language: Use the generic link, not a language specific one
===== Final Report: =====
0 Errors and 1 Warning were found


Implement E2E for upgrading TCE versions from previous to current for Homebrew

Implement E2E for upgrading TCE versions from previous to current (daily-build) for Homebrew
This issue tracks work for implementation on an E2E for Homebrew upgrades from the previous version using the daily build
Verification

[ ] Is this workflow being triggered by the daily build?

Issues found as a result of the audit?
We should prioritize these and determine if they are absolutely required for the workflow to function correctly and be reproducible.

None yet

I believe this was already handled by a previous PR


Can you integrate Swagger Doc like Spring frame?

Current behavior

Not sure how to integrate Swagger Doc
Expected behavior

You can tell us how to integrate,thanks
Steps to Reproduce the Problem

You might start with listing Madvoc components, like here:
https://github.com/oblac/jodd/blob/master/jodd-joy/src/main/java/jodd/joy/JoyMadvoc.java#L175
And then you can add your custom annotations and code.
Sorry for not having this in Madvoc (https://github.com/oblac/jodd#-the-future-and-versions)


Add blog

📝 Changed routes:

/blog
/

(view full size)
(view full size)

Commit 859913b72b585e1919e563747ed7169442257191 (https://routes-jpyuri69f-samuelkraft.vercel.app).


Removal of allocationMutex from controllers that don't need it.

Just a minor cleanup I saw when working on allocation processing.

Thanks, I was planning to do the clean-up from all the controllers once removed mutex from allocate


[Objc] add ios libuv timer test

libuv test source is build as libuv_test library and selected test cases will be ran from objective C code.
Currently tests are manually selected and put into objective C tests, in long term we may consider add some script to extract the libuv test cases and report if libuv added or removed test cases.
use the following command to run test:
./tools/bazel run //src/objective-c/tests/ThirdPartyTests/Libuv:LibuvTest

@drfloob
@dennycd

thanks Hannah, it is great to see that we can now import and reuse libuv test suite ; )  Can you update the PR description with a few summary of

how iOS is reusing libuv test source
for ongoing maintenance (e.g. we bumped libuv version), what changes we need to make

thanks Hannah, it is great to see that we can now import and reuse libuv test suite ; ) Can you update the PR description with a few summary of

how iOS is reusing libuv test source
for ongoing maintenance (e.g. we bumped libuv version), what changes we need to make

added

thanks for the update, all test looks good

Thanks for the update @HannahShiSFB .  Let's remove libuv patch and split the PR with bazel only changes here. We can add iOS test setup in a follow up. Cheers


Repository link on crates.io/lib.rs points to ndshape repo.

Right I believe this is taken care of on main. I will need to release a new version.

Should be fixed on version 0.3 https://crates.io/crates/ilattice


ENH: Add GroupAggregator, tests, and doc API

Addresses an issue raised in a related AFQ-Insight issue: https://github.com/richford/AFQ-Insight/issues/78
Ported here because it is not specific to tractometry.

Coverage increased (+0.2%) to 96.222% when pulling d510e0826cc2d4dfb80e05425ab229cb8b250c94 on enh/group-aggregate into 6a3b7fc7c050869ae3ac572eefc45d2ab5e9e46d on main.


Add wildcard & bypass Intermediate Store support

Pull Request (PR) description

This PR adds 2 new flags:

wildcard
There are some other pending PRs that implement this in much the same way.
Setting this to true will add "MachineKeySet" to the key_storage_flags
This has only been tested where the certificate is also a wildcard

interstore
Setting this to true will store intermediate certs bundled into the chain in the target store_dir

There is a new test that just sets all the optional flags to true.

Remove the template calls to Remove-Item

Now that https://github.com/voxpupuli/puppet-sslcertificate/pull/66 is merged, the invoked templates do not need to be removed each run.

Version bump and include support for Server 2016

Good point - I've pushed a change, setting defaults to false (no change to current behavior)

Thanks @arthurbarton !


Users/jacdavis

mingw enters break mode after an attach with a …
bogus stopped record. This causes attach to fail.
Because the code paths past that point use the lack
of a frame to identify a module load, I created
a hack to generate a fake frame. No, I'm not proud
of it.

@gregg-miskelly @chuckries @edumunoz @andrewcrawley @paulmaybee

Otherwise signing off.

signing off with comment.


End-to-end testing

Now that we have some unit tests, we should start looking at end-to-end testing to help detect issues such as #112 early. Controller-runtime provides an envtest package to help with this.
https://book.kubebuilder.io/reference/envtest.html

I think the setup for this ends up getting taken care of as a side-effect of the operator-sdk 1.x upgrade.
https://sdk.operatorframework.io/docs/building-operators/golang/references/envtest-setup/
More tests could probably be added, or maybe the existing tests enhanced if there are new capabilities offered by envtest - I don't really understand the difference yet.

Closing this in favour of https://github.com/cryostatio/cryostat-operator/issues/448 and https://github.com/cryostatio/cryostat-operator/issues/504.


Replace calls to lsb_release with importing the python module

#9528
Testing Plan:
GIFs or Screenshots:

I posted one comment; if that approach doesn't work, the slightly more ugly approach would be to put something in scripts/lib/zulip_tools.py that just parses /etc/lsb_release instead...

See 5d39a0f0fc3a4118d9bb5bb22dbba4258a3c9409; I'd also love it if you used that commit message style in the future.


grunt-istanbul Test coverage

is there a plan to use grunt-istanbul test coverage for the server side (mocha) coverage.
I recently used it in 0.3 version of my project and it work fine.
It will be a great addition.

@MangeshMp if you'd like to create a PR for 0.4 once it is merged into master, that would be great.

I have tried it in my project and, indeed,  it does work fine! @MangeshMp let me know if you are going to deal with the PR, otherwise I can do it :)

@syymza I created a PR for this issue and also committed the code.
The solution is for 0.4.0 branch done on Grunt .

@syymza you can create a PR because I am having some indentation problems.

#569

thanks @codydaig for cleaning this up, we can indeed close and continue discussing in PR #569


Remove dependency on lens?

Most internal uses are simple enough that they could probably be directly inlined and the TH splices inserted manually. That way people that want to use lens can get the benefit of it and those that don't won't be weighted down by the extra dependency.

Wrong repo :(


fix for $PSBoundParameters doesn't contain 'Verbose' and

'DataRow' output selected and query returns no results
It threw exceptions in these 2 places when trying to run an existing script that worked with Invoke-Sqlcmd.

Hiyo!
Would you mind opening a pull request at the new home for Invoke-SqlCmd2?  I keep the old file here for posterity, but it's now located here
Also, can you post the error you get the the verbose spot?  That might even be worth changing to look at $VerbosePreference?
Cheers!

???The verbose issue was giving me this:
System.Management.Automation.PropertyNotFoundException: The property 'Verbose' cannot be found on this object. Verify that the property exists.

?    at Invoke-Sqlcmd, [...]\Invoke-SqlCmd2.ps1: line 434
It appears to be StrictMode related, as without Set-StrictMode -Version 3 it didn't complain. Unfortunately the scripts I am running set that.
I also get this, which is new in this version:
System.Management.Automation.RuntimeException: The variable '$ApplicationName' cannot be retrieved because it has not been set.
at Invoke-Sqlcmd, [...]\Invoke-SqlCmd2.ps1: line 408
The fix would again seem to be checking ApplicationName before accessing it, if you have to use global variables instead of parameters:
if ((Test-Path variable:ApplicationName) -and $ApplicationName) {
$CSBuilder["Application Name"] = $ApplicationName
}
I usually use $VerbosePreference for querying the verbose flag, but always seem to have to propagate it down the call chain manually with a function like this: https://gallery.technet.microsoft.com/scriptcenter/Inherit-Preference-82343b9d
I'll submit a pull request for the Tables[0] stuff at the end (which actually appears in multiple code paths, not just the one I was using), and await your opinion on the strict mode problems.
Cheers
?
Andy Pearmund.

From: Warren Frame<EMAIL_ADDRESS>Sent: 18 October 2017 01:47
To: RamblingCookieMonster/PowerShell
Cc: AndyP2; Author
Subject: Re: [RamblingCookieMonster/PowerShell] fix for $PSBoundParameters doesn't contain 'Verbose' and (#24)
Hiyo!
Would you mind opening a pull request at the new home for Invoke-SqlCmd2? I keep the old file here for posterity, but it's now located herehttps://github.com/sqlcollaborative/Invoke-SqlCmd2/blob/master/Invoke-SqlCmd2/Public/Invoke-SqlCmd2.ps1
Also, can you post the error you get the the verbose spot? That might even be worth changing to look at $VerbosePreference?
Cheers!

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/RamblingCookieMonster/PowerShell/pull/24#issuecomment-337425365, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHmvrfXPfmOYIuK-pIlaTPbd49U_suC_ks5stUq3gaJpZM4P6xhL.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RamblingCookieMonster/PowerShell","title":"RamblingCookieMonster/PowerShell","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/RamblingCookieMonster/PowerShell"}},"updates":{"snippets":[{"icon":"PERSON","message":"@RamblingCookieMonster in #24: Hiyo!\r\n\r\nWould you mind opening a pull request at the new home for Invoke-SqlCmd2? I keep the old file here for posterity, but it's now located here\r\n\r\nAlso, can you post the error you get the the verbose spot? That might even be worth changing to look at $VerbosePreference?\r\n\r\nCheers!"}],"action":{"name":"View Pull Request","url":"https://github.com/RamblingCookieMonster/PowerShell/pull/24#issuecomment-337425365"}}}


[2.4] fix polylines crash on empty Point-s vector

Point-s count had uninitialized value for empty vector<Point> causing sporadic app crash.

@alalek , could you please review?

:+1:

this one didn't get merged yet?

Looks like no!
Reopening the PR...

Success! Thanks, @Dikay900 !


Migrate to TypeScript and Next.js

It need to be discussed, I happy to discuss on this issue.

@Mr-Sunglasses ready..

It need to be discussed, I happy to discuss on this issue.

We can go with it sir

@Mr-Sunglasses Sir, Can I help on this migrating the project to next-13 turbo?

It need to be discussed, I happy to discuss on this issue.

What we can do is,
just make different pages on this template that @akshatcoder-hash created, https://github.com/FOSS-Community/Community-Hub
it would be easier and also uniform design would be maintained all over docs and landing page :)
We need to tweak some, components and CSS stuff and colorise it green 💚

@vivekpal1 Those pages can be maintained for Community Guidelines and stuff. We need a landing page with less of text information.

Added Bounty of $30 for this issue.

@Mr-Sunglasses & @akshatcoder-hash sir I would love to work on it . Please assign this to me...

@codecShivam  To avoid ambiguity, this issue is not assigned to anyone currently so is available to anyone. Submit a draft PR getting started on the work and we can assign it.

@Mr-Sunglasses & @akshatcoder-hash sir I would love to work on it . Please assign this to me...

@codecShivam To avoid ambiguity, this issue is not assigned to anyone currently so is available to anyone. Submit a draft PR getting started on the work and we can assign it.

Okay sir, will create a draft pr in few days..

Can you assign this issue to me I can help me in resolving this issue


Use @ConfigMapping, deprecated ConfigProperties were removed

Use @ConfigMapping, deprecated ConfigProperties were removed
See https://github.com/quarkusio/quarkus/wiki/Migration-Guide-2.14#configproperties-was-removed
https://quarkus.io/guides/config-mappings#config-mappings

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Dependency update
[x] Refactoring
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[ ] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[x] Example scenarios has been updated / added
[x] Methods and classes used in PR scenarios are meaningful
[x] Commits are well encapsulated and follow the best practices

run tests


Add more comprehensive code rules

In the initial sample/ review of the rewrite module, the standard builder model was used to add rules. There are a few simple examples that exist, but these should be verified for operation and more code rules should be added.
Right now we have rules like RedirectRule or RedirectScheme, but a review of these should be done as well as more rules added (check if file exists, rewriting query, etc).

@muratg this seems like an ambitious goal that probably won't fit in 1.1. Can we bump this to post- 1.1?

@natemcmaster sounds good. Putting in backlog for now, and we'll reconsider after 1.1.

Closing as this isn't ask.