Not able to create key successfully

const keyHippo = new KeyHippo(ctx.supabase);
const newApiKey = await keyHippo.createApiKey(
  ctx.account.userId,
  input.description
);

console.log(newApiKey); // ["{\"id\": \"e6b448a4-e652-4180-8aaa-5ab8d38d2a9d\", \"description\": \"fc09615c-f6e4-40e7-87cb-a26702c5d8bd-3af1c6f4-3fac-49a1-b43a-f29bb5cf5248-New\"}"]

API key info loaded for user: d300e31a-38fb-4f66-a408-4d33cc144f99. Count: 1
Loaded key info: [{}]
Failed to create new API key: Failed to find the newly created API key

...

Error creating API key: Failed to find the newly created API key

If I try to load the keys, this is the kind of data I get:
[
  {
    "name": "fc09615c-f6e4-40e7-87cb-a26702c5d8bd-3af1c6f4-3fac-49a1-b43a-f29bb5cf5248-New",
    "permission": "readOnly",
    "last_used": null,
    "created": "2024-09-02T16:18:35.342534+00:00",
    "revoked": null,
    "total_uses": 0,
    "success_rate": 100,
    "total_cost": 0
  }
]

But I'm unable to acquire the key itself to be used for authentication.
Am I missing something?

Hey @tomasfrancisco, sorry you're hitting that and for the lack of documentation (it's coming soon!).
The key should be returned by createApiKey in the apiKey field. From your logs, it looks like a key was created but not returned. I'm aware of a few cases in which this can happen, the most common being generating a key for a user that existed prior to the installation of KeyHippo.
I'd be glad to get you setup on a quick call. KeyHippo still has some rough edges, mostly during the onboarding process. I'll be working to address them over the next few weeks.
Also regarding loading the keys: loadApiKeyInfo and getAllKeyMetadata don't return the key itself -- it's only visible once in the return value of createApiKey and can't be re-derived again. I updated the client's readme to hopefully clarify the usage of those (admittedly poorly named) functions: https://github.com/integrated-reasoning/KeyHippo/pull/17
Thanks for opening the issue and trying KeyHippo!

@tomasfrancisco I believe this is now fixed as of v0.0.31.
The fix was introduced in v0.0.26 but it was implemented as an update rather than a self-contained installation which ended up breaking our dbdev package (see https://github.com/integrated-reasoning/KeyHippo/pull/20#issuecomment-2327639681). I've reverted to self-contained installations for now as KeyHippo is still in alpha.
Mind giving it another go with v0.0.31?

Hey @david-r-cox, thanks a lot for the quick resolution!
I tried it out and I now get this:
API key info loaded for user: 9e79ad59-0bb9-4542-9283-e95b64a99b7e. Count: 1
Loaded key info: [{"id":"a5837cdc-d761-4601-80cd-8c33759084a3","description":"c6ed44d0-e2cf-4ab2-b40e-0d3dfb5fcb32-481d6438-f714-436a-aaf5-907c815a8e12-Hello"}]
New API key created for user: 9e79ad59-0bb9-4542-9283-e95b64a99b7e, Key ID: a5837cdc-d761-4601-80cd-8c33759084a3
{
  newApiKey: {
    id: 'a5837cdc-d761-4601-80cd-8c33759084a3',
    description: 'c6ed44d0-e2cf-4ab2-b40e-0d3dfb5fcb32-481d6438-f714-436a-aaf5-907c815a8e12-Hello',
    apiKey: '769b87c8106d57fccd085d4e3d0fbc677e02838f42f8c497b1cd23720cc76bc05e18b2799d5d720a75577f0232072a09d0b93bdf702240982c55fffb881a293b',
    status: 'success'
  }
}

I think it's safe to say: this issue can be closed.


Replit removed pinging services

Replit removed the pinging services and this website is unavailable. How to open 😭😭😭??

Replit removed free hosting altogether, and nobody really uses this website so I'm not hosting it elsewhere.
Basically you can't view it anymore.
Why did you want to see it anyways lmao?

The nostalgia 🤩
I mean irdk i just remembered that website existed.


Add helpers for HTML upgrades

Gonna merge these (unused) additions to make future PRs a bit easier.


Support flat JSON polygon, polyline and point input data

The spec was updated to allow for these type to take data in the
"flat" form of [1, 2, 3, 4, 5, 6] instead of [[1, 2, 3], [4, 5, 6]].  This updates the XVIZ parser to support this by "re-nesting"
any input data that comes in this form.

Hey Guys,
what does the order of the vertices mean here?


Making QA Menu Removable

We should setup the QA Menu along with a sample production build webpack config that can use the ProvidePlugin along with the UglifyPlugin to completely remove QA code from the build.

We're not yet using the QA Menu so we're punting this ticket for now because there's nothing we can do to actually modify the build until we pull in the QA Menu

Implementation plan: Gate QA content within BoxArt-Boiler behind a conditional, so that uglify can excise them on build.
We should add QA menus to simple-demo so that we have a demonstration of this type of optimization.


Support i128 and floating points

We can overload the different operators(+-*/) to use the environment functions for handling i128 and floating point operations. The different functions can be found here.

Starting here: https://github.com/MaxGraey/bignum.wasm


Fix PonitRCNN GPU memory occupancy problem

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Fix PonitRCNN GPU memory occupancy problem. Issue #1907
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the back-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects.
The documentation has been modified accordingly, like docstring or example tutorials.

issue #1907

please fix the ut


Duplicate example at section "How to identify a nullable value type" of article "Nullable value types"

The first and last example of the section "How to identify a nullable value type" of this article "Nullable value types" are too similar, consider removing the last example.

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

ID: b3e65a97-5e33-ab78-cd40-b20c3219ca2f
Version Independent ID: 1ae0aed9-e565-44ae-aebe-c55a0a02c2c5
Content: Nullable value types - C# reference
Content Source: docs/csharp/language-reference/builtin-types/nullable-value-types.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Indeed they both have the exact same workflow and present the same thing.
But in my opinion simply removing the last would cause some confusion as there is a reference to it above it. I believe the way to go would be to make a minor "refactor" of this section so it makes sense and reuse this example that is now duplicated.
@BillWagner Please assign me to this issue so I can handle it.

Thanks for raising this @bottle2
Thanks as well @BartoszKlonowski I've assigned this to you.


Fixed fork-relation pid argument

Not sure what is fixed here? Why change this?

One could not pass project path string as pid argument like in all other API functions. So this unified these two functions to be the same as the rest of API functions in this package.

:-)
Thanks for quick reviews!


db.obj.create() Works in Development But Not When Deployed

Discussed in https://github.com/prisma/prisma/discussions/23361

Originally posted by lynixiox March  5, 2024
Question
I am trying to create a voting object in the database. The object creates just fine in development but not when deployed. I have some logs . In development it logs before and after the completion. In deployment it logs only before.It does catch and logs the following in deployment
PrismaClientInitializationError: Invalid prisma.vote.create() invocation:
Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection-pool (Current connection pool timeout: 10, connection limit: 5)
    at _n.handleRequestError (/var/task/node_modules/@prisma/client/runtime/library.js:123:7154)
    at _n.handleAndLogRequestError (/var/task/node_modules/@prisma/client/runtime/library.js:123:6188)
    at _n.request (/var/task/node_modules/@prisma/client/runtime/library.js:123:5896)
    at async l (/var/task/node_modules/@prisma/client/runtime/library.js:128:10871)
    at async a (/var/task/.next/server/app/competition/contestant/[id]/page.js:1:12755) {
  clientVersion: '5.10.2',
  errorCode: undefined
}

There are no hoops or any different configs from my development to my deployment and I am able to successfully create other objects in the deployment. Am I missing a config somewhere?
Information about Prisma Schema, Client Queries and Environment

Prisma schema
model Bundle {
  id String @id @default(cuid())
  bundleId String
  totalValue String
  pricePerVote String
  competition Competition @relation(fields: [bundleId], references: [id], onDelete: Cascade)
  vote Vote[]
  @@index([bundleId])
  @@unique([id])
}

model Contestant{
  id String @id @default(cuid())
  contestantId String
  name String
  age String
  votes Vote[]
  competition Competition @relation(fields: [contestantId], references: [id], onDelete: Cascade)
  @@index([contestantId])
  @@unique([id])
}

model Vote{
  id String @id @default(cuid())
  voteId String
  contestantId String
  voterName String
  amountOFVotes Int
  bundle Bundle @relation(fields: [voteId], references: [id], onDelete: Cascade)
  contestant Contestant @relation(fields: [contestantId], references: [id], onDelete: Cascade)
  @@index([contestantId])
  @@index([voteId])
  @@unique([id])
}

Action vote.ts
import { ContestantDef } from "@/lib/definitions"
import { Bundle } from "@prisma/client"

export const createVote = async({
    amountOFVotes,
    voterName,
    bundle,
    contestant }:{
        amountOFVotes: number
        voterName: string
        bundle: Bundle,
        contestant: ContestantDef
    }) => {
    try{
        console.log("creating vote, ", amountOFVotes)

        await db.vote.create({
            data: {
                amountOFVotes,
                voterName,
                bundle: {
                    connect: {id: bundle.id}
                },
                contestant:{
                    connect: {id: contestant!.id}
                }
            }
        })

        console.log("Finished Creating Vote")

    }catch(error){
        console.log(error)
    }

}

ContestantDef
export type ContestantDef = Prisma.PromiseReturnType<typeof getContestantByid>

package.json
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint",
    "postinstall": "prisma generate"
  },

Payload
"use server"

import { ContestantDef } from "@/lib/definitions"
import { createVote } from "./vote"
import { Bundle } from "@prisma/client"

export const verify = async({amountOFVotes, voterName, bundle, contestant}:
  {
    amountOFVotes: number,
    voterName : string,
    bundle: Bundle,
    contestant:ContestantDef
  }) => {
  createVote({amountOFVotes: amountOFVotes,
    voterName: voterName,
    bundle: bundle!,
    contestant: contestant
  })
}

OS: Manjaro
Database: PlaneScale
Node.js version: v-20.10.0
Prisma version: 5.10.2

There is an ongoing discussion here: https://github.com/prisma/prisma/discussions/23361
Please stop creating an issue for this.


[appcircle] Add support for appcircle builds results

:clipboard: Description

:link: Data

:microphone: Motivation

Closing this as the issue template was not filled out and no information has been provided about the requested service.
@retyui if you (or anyone else) would like to see badges for this service then please follow up with some basic information and we can reconsider


Repo sync for protected CLA branch

The pull request is created from privateToPublic-push-CLA-specifyPeople637609937473673181 to privateToPublic-push-CLA-specifyPeople to fix git push error for protected CLA branch

Docs Build status updates of commit 7b619f0:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

Line 0, Column 0: [Error-docset-not-provisioned] Cannot build docset 'E2E_RepoSync_Private_PubDev' because it isn't provisioned. Please go to Docs Portal (https://ops.microsoft.com) to provision first.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add Intel 7265 chipset to readme

Pretty sure the CI build failure is due to dropped node 0.12 support. Maybe remove 0.12 tests from CI...
npm : npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">= 4"} (current: {"node":"0.12.18","npm":"2.15.11"})
At line:1 char:1

@steinerj thanks!
I'll remove 0.12.0 from the CI for now.

@sandeepmistry Thanks for merging and thank you for all the great work around J5!


routeboxing improvements

Create one large bounding box which will hold all other boxes and use that one for the contains() check for all locations - that way, you're only iterating over all of the locations once to see if any of them fit in the larger box - if you find one that fits, you can then see which of the smaller boxes from routeboxer it fits in

change api to only return locations which are contained???


Brew support

I'd like to see this package in Homebrew, if possible. I'd also be willing to collar to get this done

Dupe of #142.

Not only that, its already done and available via brew cask.


Provide binaries for testing

According to the README, a separate repo will be created to hold testing binaries.
I'm not sure if I misunderstood something, but you can do that right now on this very repository (on the "Releases" section) instead of having to create that separately.

The thing is, if you want to be able to update the plugin automatically, we need to update an XML file that points to the current updated zip files. I guess we could create a "fake release" on Github that contains this XML file, and each time we publish a new release, updating this file/release would cause IntelliJ to download the new release...
I'm not sure it has a real added value compared to hosting the releases on ceylon-lang.org
Eventually, when we finally get a stable version, I think it would be nice to host the releases on plugins.jetbrains.com, so that we wouldn't even need to configure a special plugin repository in IntelliJ.

To keep things easy and similar to the eclipse plugin, we'll continue to host binaries on ceylon-lang.org. When the plugin is stable enough, we'll eventually switch to the official Jetbrains repo.


wasm support

will this work in wasm? ideally i would want to be able to fetch voice models remotely, and use them to play tts through the browser

Unfortunately this will probably never be able to work in the browser (at least not with out a LOT of work) since it is bindings to a python library. Also the compute power required to run this is far beyond what is provided by most wasm environments. (and client's devices)
If you do want to make a website to do TTS I recommend either using a web API (google has one) or making requests to a server that runs the TTS model.


chore: update moq to v0.3.0

Description
To get latest changes and fixes. A notable addition is the support for generic interface generation
Verification Steps
Run make generate and verify no errors nor new changes related to moqs are generated.

Checklist (Definition of Done)

[ ] All acceptance criteria specified in JIRA have been completed
[ ] Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
[ ] Documentation added for the feature
[ ] CI and all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer
[ ] All PR comments are resolved either by addressing them or creating follow up tasks
[ ] Required metrics/dashboards/alerts have been added (or PR created).
[ ] Required Standard Operating Procedure (SOP) is added.
[ ] JIRA has been created for changes required on the client side

cc @bf2fc6cc711aee1a0c2a/kas-fleet-manager-reviewers remember to update your local installation too. To do that simply remove the bin/moq binary from your local project's directory and re-run make generate


Is there a good first issue?

Hi @ruleeeer , what's the problem?

Hi, @victorteokw
I am interested in this project and would like to know which tasks are suitable for beginners. Based on my past experience, I usually filter by label: good first issue.
Does this mean there are no tasks suitable for beginners?

Hi @ruleeeer,
Since in the past, most of development work is done by myself, I seldom create issues. I will create some and assign some to you if I found it's great for starting.


Update NOTICE.txt

To match with what is here: https://github.com/mattermost/mattermost-redux/blob/master/package.json

@grundleborg Kind reminder to review (+merge and cherry-pick if approved)


review final GISready output

[x] (1) does GISready data = "Final results" = "intermediate results" ?
[x] (2) does GISready data = calculation on origin bran2020 netcdf data ?
[ ] (3) region plots

project frozen


Cerberus as a Python package

Cerberus as a Python package to ease installation.
Fixes: #63

Please have a look @chaitanyaenr

Can one of the admins verify this patch?

I am getting an error when running. Not sure if this is related to these updates. Will log onto my jump host and see if the error continues
objc[10556]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
objc[10556]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.

I am not sure what this error is and why it arose.


Messages with whitespace-only topics should not be sent

It should not be possible to attempt to send a message with a topic consisting only of whitespace.

Note: this bug interacts with #3731. If an attempt is made to post such a message, then – while such messages remain in the outbox – any future messages with empty topic will be unified with that topic, instead of being given the topic (no topic) as they ordinarily would.

Bumping priority because this is one of the handful of most frequent errors in our Sentry logs.


Add support for Mermaid charts to Doxygen

As per #997, this PR adds support for Mermaid charts in Doxygen. It allows Mermaid charts to be added to the doc/diagrams folder and included in comments using the @mermaid{filename} alias. You can test it out by grabbing some Mermaid code, for example from this bit of their documentation, putting it in doc/diagrams/test.mmd, and adding a @mermaid{test} command to any Doxygen comment. After generating the docs, you should see the chart show up where the command was placed.
I've put this into a draft PR for the moment because somehow these changes have resulted in the sidebar disappearing. I believe this is a result of modifying Doxygen's footer.html, but I can't tell exactly why it would have this effect. Needs to be fiddled with.

For whatever reason, looks like reordering the footer.html and Doxygen settings made the treeview show up again. Black magic.

For reference, the icon pack I chose here is Mingcute, chosen because it's Apache licensed, meaning we can use it without attribution, and it has a good mix of having a lot of icons to choose from, and not being as big as some (the material-symbols icon set is almost 7MB!). If anyone has any preferences for other icon sets to choose, there's no reason we can't swap them out.

I made a couple of small changes...

CMakeLists.txt was clobbering the previous value of DOXYGEN_EXAMPLE_PATH, which broke code samples added with @snippet. I just made it append the diagrams path instead.
The icons didn't work when loaded from a file:/// URL, because browser cross-origin rules forbid fetching file from the local file system with fetch. I fixed this with an old school trick: renamed the .json to .json.js and loaded it via a script tag instead.

Otherwise, looks great, merging!


Rsync bugfix, extensibility for: backups, rsync without a password, url generation, images in sitenav.

Bugfixes
Rsync recursive directories fix
The old version didn't properly ensure that directories end in a slash, so rsync
would do the wrong thing and make an additional level to the directory tree each
time the site was pushed.
Other lisp support
I read through the docs for some non-sbcl lisps, and edited the bash file to
call them according to the docs. I didn't test them (except SBCL, which is the
same), but some of them might work now where they exploded before.
Symlink (versioned) no longer breaks deployment
The problem was that the deploy method was overwritten rather than executed
before the default. Specifying the order with (defmethod coleslaw:deploy :BEFORE...) makes it advice to the original instead.
Rsync submit without a password
I use coleslaw on my laptop to then push with the :deploy-dir being my remote
server. I wanted to use a special rsync command that uses sshpass and a password
file to avoid needing a password for upload. Now the options are in the config
(I probably should have made it a plugin, but it only activates if both
:rsync-passfile and :which-sshpass are defined).
Extensibility
Control of URL generation
page extensions
I wanted posts to have no extension (via :page-ext), so I had to modify the
code to allow for :page-ext "" to work, and without inserting a dot at the end
of my files.
index extensions
Doing the edits to page-ext broke my index symlink, so I had to add
:index-ext to the config.
name-fn, calling a function on the title
The default way for coleslaw to generate the post URL is to just use the title,
inserting dashes for spaces. I wanted lowercase URLs though, so I made
:name-fn in the config to define a function like :name-fn string-downcase
for making the URLs. The default is identity, so it won't break any extant site's URLs.
Image format
Added support for themes that need images in the sitenav (via .coleslawrc). Also added the tag for .post files image: <relative url> to allow for posts with images attached. You can see these in action on my site: spensertruex.com
More Versioning Options
The default (versioned) doesn't do enough for me. I want longer-term backups,
and I wanted to backup the sources as well as the HTML. For a while I just wrote
a custom main function that copied my whole source and staging directories
(now the (hard-versioned "/backup/dir/here") plugin). Then I decided to use
git, but staging the sources and the HTML took too long to diff, so I ended up
putting the staging dir in my .gitignore. It also (optionally) automatically
pushes the automatic commit, working as a full-on remote backup solution. You
can use all three at once, or any combination of them. There is some support
already for this, but not if I want to have coleslaw installed locally (instead
of on the server).
Todo:

Better reporting of rsync errors
Generate the remote directory tree automatically via rsync, instead of blowing
up without a helpful error when a file does not exist (currently this bug does
not show up if coleslaw is running on a local server, it just needs to be
resolved for remote deployment).
It doesn't really make sense to allow users to use (versioned),
(hard-versioned), and (git-versioned...). It would be better to allow all
three but have some user control on deployment. Since git can take awhile on a large site,
(defun main (dir &optional (backup :safe))...)
(main "/path/to/blog" :fastest) for no backup
(main "/path/to/blog" :fast) for hardcopy
(main "/path/to/blog" :fast!) for symlink
(main "/path/to/blog" :safe) for git
(or a similar setup) would make sense. For now I just edit my conf to change.
For hardlink backups, it would make sense to allow specification of a
rotation/deletion mechanism, like what rsnapshot uses.
remove the need for :which-sshpass by just finding it. Rsync won't do it for
you either.

I realize this is a pretty massive thing to drop all at once. I'm willing to make a smaller request, I just need to know which edits you want to keep, and what additional changes the maintainers would suggest in order to merge it.

I realize this is a pretty massive thing to drop all at once. I'm willing to make a smaller request, I just need to know which edits you want to keep, and what additional changes the maintainers would suggest in order to merge it.

I tried to cleanup the worktree, but now I made it so infinitely complicated I'm not sure I can do it.
I'll come back later when I have a coherent worktree.


Moving clap to version 4

Changes

[x] Moving the Cli to version 4 as clap v3 is deprecated

@tyt2y3  or @billy1624
can you review the PR and give feedback for changes?

@billy1624 or @tyt2y3 can you review this PR and give feedback if any changes are required?

Thanks!! @aadi58002


Adding a Toggle button Digital Clock to toggle between 12H and 24H format

Is your feature request related to a problem? Please describe.
n/a
Describe the solution you'd like
I would like to add a button to toggle the time which is currently displayed in only 24Hour format.
I will add a toggle to display it in 12Hour format.
Describe alternatives you've considered
Toggle button
@apu52 Can you please assign me this issue under GSSoC'24.
Thank You!
Are you contributing under any open-source program ?
I am contributing under the GSSoC'24 Program.

@AtharvKasar04 Welcome to METAVERSE!!!!!!!
I have assigned you. Start working on this issue.
Happy Coding !!!!!!!!!!!!

@apu52 Can I work on this


add pagination and searching to email thread

Is your feature request related to a problem? Please describe.
Its possible for a single email thread to get very long. In these cases it takes a while to load and ties up the server.
Describe the solution you'd like
We need pagination at the email thread level (eg: https://pr.restarone.solutions/mailbox/message_threads/11)

@yashkir please feel free to pull this into your workstream when time permits


upgrade to @craco/craco@alpha problems

Hey everyone, after upgrade to @craco/craco@alpha, my item just meet this problem. i try use fallback: { './HTML5Backend': 'HTML5Backend.js', }, but it not work. so i don't know how it deal. anyone could tell me how this solve?
ERROR in<EMAIL_ADDRESS>1:0-42

Module not found: Error: Can't resolve './HTML5Backend' in<EMAIL_ADDRESS>Did you mean 'HTML5Backend.js'?
BREAKING CHANGE: The request './HTML5Backend' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

Module not found: Error: Can't resolve 'stream' in '/Users/tim/xxx/node_modules/sax/lib'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>

Module not found: Error: Can't resolve 'stream' in '/Users/tim/xxx/node_modules/sax/lib'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>

and use npm install, the log like this.

WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
resolve by:
ignoreWarnings: [
    // Ignore warnings raised by source-map-loader
    // See: https://github.com/facebook/create-react-app/pull/11752
    { message: /source-map-loader/ },
],

Are you sure this is an issue with craco 7 alpha and not other packages as a result of upgrading to CRA 5? You shouldn't need to update craco to 7 alpha unless you're using react-scripts 5 and webpack 5. Can you share your package.json?

Are you sure this is an issue with craco 7 alpha and not other packages as a result of upgrading to CRA 5? You shouldn't need to update craco to 7 alpha unless you're using react-scripts 5 and webpack 5. Can you share your package.json?

thanks @dilanx . I'm indeed using react-script 5 and package.json file here.
"dependencies": {
    "@ant-design/charts": "1.2.11",
    "@fortawesome/fontawesome-svg-core": "6.1.1",
    "@fortawesome/free-regular-svg-icons": "6.1.1",
    "@fortawesome/free-solid-svg-icons": "6.1.1",
    "@fortawesome/react-fontawesome": "0.1.18",
    "ahooks": "2.10.8",
    "antd": "3.26.20",
    "axios": "^0.21.4",
    "dragm": "0.0.5",
    "enzyme": "3.7.0",
    "enzyme-adapter-react-16": "1.6.0",
    "http-proxy-middleware": "1.1.2",
    "js-cookie": "2.2.1",
    "lodash": "4.17.21",
    "moment": "2.29.1",
    "node-sass": "6.0.1",
    "qs": "6.10.1",
    "react": "^16.8.6",
    "react-activation": "0.9.7",
    "react-copy-to-clipboard": "5.0.3",
    "react-dom": "16.14.0",
    "react-flip-move": "3.0.4",
    "react-json-view": "1.21.3",
    "react-router-dom": "5.2.0",
    "react-scripts": "5.0.1",
    "react-syntax-highlighter": "15.5.0",
    "react-test-renderer": "16.5.2",
    "typescript": "^4.4.3"
  },
  "devDependencies": {
    "@craco/craco": "7.0.0-alpha.7",
    "@fortawesome/fontawesome-common-types": "0.3.0",
    "@types/enzyme": "3.1.14",
    "@types/jest": "24.0.9",
    "@types/js-cookie": "2.2.6",
    "@types/lodash": "4.14.178",
    "@types/lodash-es": "4.17.6",
    "@types/node": "12.0.2",
    "@types/qs": "6.9.6",
    "@types/react": "17.0.14",
    "@types/react-copy-to-clipboard": "5.0.0",
    "@types/react-dom": "16.8.4",
    "@types/react-router-dom": "5.1.7",
    "@types/react-syntax-highlighter": "15.5.2",
    "@typescript-eslint/eslint-plugin": "4.31.1",
    "@typescript-eslint/parser": "4.31.1",
    "axios-mock-adapter": "^1.15.0",
    "branchlint": "0.0.2",
    "commitlint": "13.1.0",
    "craco-less": "2.1.0-alpha.0",
    "env-cmd": "9.0.1",
    "eslint": "7.30.0",
    "eslint-config-airbnb": "18.2.1",
    "eslint-config-prettier": "8.3.0",
    "eslint-import-resolver-alias": "1.1.2",
    "eslint-plugin-import": "2.23.4",
    "eslint-plugin-jsx-a11y": "6.4.1",
    "eslint-plugin-prettier": "3.4.0",
    "eslint-plugin-react": "7.23.2",
    "eslint-plugin-react-hooks": "4.2.0",
    "husky": "7.0.4",
    "lint-staged": "11.1.2",
    "path-browserify": "1.0.1",
    "prettier": "2.3.2",
    "simple-progress-webpack-plugin": "2.0.0",
    "stylelint": "13.13.1",
    "stylelint-config-prettier": "8.0.2",
    "stylelint-prettier": "1.2.0",
    "webpack-bundle-analyzer": "4.4.2",
    "webpack-merge": "5.8.0",
    "yorkie": "2.0.0"
  },

@TimRChen I'm not able to install those packages together due to some dependency conflicts. What version of node are you using, by the way?

@TimRChen I'm not able to install those packages together due to some dependency conflicts. What version of node are you using, by the way?

node version is v14.17.2.  How to deal with dependency conflicts ?  What should i start ?

@TimRChen got it so you're using a pretty old node version. When I switched to that version and tried installing your dependencies, installation completed but it looked like a few dependencies for the starter CRA code were missing. I can recommend a few options to you.
First, I assume you upgraded to CRA 5 recently? The only reason you should upgrade to craco 7 alpha is if you are on CRA 5 (which you are according to your react-scripts version). Otherwise, you'd want to use craco 6. If you were upgrading all of your dependencies when you ran into this issue but it worked before, some of your dependencies may not be compatible with each other now that some of their versions have changed. You could revert back to the older versions so that your dependencies and their peer dependencies are all compatible with one another (basically just what you had before when it was working).
Second, if you're able to create a demo repo with the issue you're having so that I can try to recreate it on my own, I can look into it more. Right now, I'm unable to recreate your issue specifically (since I instead run into issues that are not related to craco). I don't believe your issue is related to craco, but if you're able to reproduce this in a demo repo, I can check it out.

i try use fallback: { './HTML5Backend': 'HTML5Backend.js', }, but it not work. so i don't know how it deal. anyone could tell me how this solve?
ERROR in<EMAIL_ADDRESS>1:0-42

Module not found: Error: Can't resolve './HTML5Backend' in<EMAIL_ADDRESS>Did you mean 'HTML5Backend.js'?
BREAKING CHANGE: The request './HTML5Backend' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

@TimRChen I had issues at a previous company with older versions of react-dnd-html5-backend. I'm not sure which of your dependencies requires this package, but perhaps try upgrading it? I believe >11.0.0 of react-dnd-html5-backend worked for me.


User can't edit a Video element

Environment

Platform version: 7.1
Addon version: 0.3-SNAPSHOT

Run demo project
Click Application -> Html screen
Move Video to the canvas
Open Video editor / double click or one click on a Video

Expected result: Video editor is opened
Actual result: Video editor is NOT opened

Video element will be removed in 1.4.x version


Changed subnet names

What

Changed subnet names

Why

Subnet names should contain AZ name

Tested.

AWS console:


chore: make List.all and List.any short-circuit

Changes the implementation of List.all and List.any so they short-circuit. The implementations are tail-recursive.
This replaces https://github.com/leanprover/std4/pull/392, which was going to do this with @[csimp].

@semorrison You need to force push this branch (e.g., with an empty rebase) to retrigger CI and get it to pass.


Searching Patient by Identifier is slow.

Is your feature request related to a problem? Please describe.
I have 100w patient data,and use identifier to search very slowly.
GET /fhir/Patient?identifier=test

So we are talking about a million patient entries. I was not aware of the suffix w meaning 10 000.
Have you tried adding these indexes? https://github.com/FirelyTeam/spark/blob/r4/master/scripts/CreateIndexes.js
If you are lacking the index at line 2 adding this should help with the lack of performance you are seeing, could be it needs a slight modification since you are effectively not including system when querying the identifier.
As always when working with indexes. Profiling your database should help further pinpointing the issue. Also please test these indexes in a test environment and backup your database before running that script.

Yes,I add a index to Identifier,But it has little effect on the query. I think the problem is here
https://github.com/FirelyTeam/spark/blob/6bdd48f30ea13d7b1110f28cb2b8b0d6ae2c8c93/src/Spark.Mongo/Search/Searcher/CriteriaMongoExtensions.cs#L321-L383

It's the slow query log.
{
    "s": "I",
    "c": "COMMAND",
    "id": 51803,
    "ctx": "conn581",
    "msg": "Slow query",
    "attr": {
        "type": "command",
        "ns": "spark.searchindex",
        "command": {
            "find": "searchindex",
            "filter": {
                "internal_level": 0,
                "internal_resource": "Patient",
                "$or": [
                    {
                        "identifier": {
                            "$elemMatch": {
                                "code": "test"
                            }
                        }
                    },
                    {
                        "identifier": {
                            "$not": {
                                "$type": 4
                            }
                        },
                        "identifier.code": "test"
                    },
                    {
                        "$and": [
                            {
                                "identifier": {
                                    "$type": 2
                                }
                            },
                            {
                                "identifier": "test"
                            }
                        ]
                    }
                ]
            },
            "projection": {
                "internal_selflink": 1
            },
            "$db": "spark",
            "lsid": {
                "id": {
                    "$uuid": "748eacb6-cce5-4088-9e40-67b08adea3ed"
                }
            }
        },
        "planSummary": "IXSCAN { internal_level: 1, internal_resource: 1 }",
        "keysExamined": 1001234,
        "docsExamined": 1001234,
        "cursorExhausted": true,
        "numYields": 1001,
        "nreturned": 0,
        "queryHash": "F3A3EA5B",
        "planCacheKey": "E06A389B",
        "reslen": 106,
        "locks": {
            "ReplicationStateTransition": {
                "acquireCount": {
                    "w": 1002
                }
            },
            "Global": {
                "acquireCount": {
                    "r": 1002
                }
            },
            "Database": {
                "acquireCount": {
                    "r": 1002
                }
            },
            "Collection": {
                "acquireCount": {
                    "r": 1002
                }
            },
            "Mutex": {
                "acquireCount": {
                    "r": 1
                }
            }
        },
        "storage": { },
        "protocol": "op_msg",
        "durationMillis": 2469
    }
}

This query used '$or', so it didn't hit the identifier index.


style: rename functions

Main improvements in this PR:

As discussed in #227 , 3 functions were renamed:
annotateModel --> annotateGEM
importHumanYaml --> importYaml
writeHumanYaml   --> exportYaml
To adapt to above changes, README file and functions increaseHumanGEMVersion, testYamlConversion, exportHumanGEM were modified

I hereby confirm that I have:

[X] Tested my code on my own computer for running the model
[X] Selected develop as a target branch

Just to make sure the rename was done everywhere, I've searched for the original function names, with the expectation to find no matches. There were a few results, and at least some of these files are not marked as .deprecated from what I can see:
Human-GEM on style/renameFunctions took 3s
❯ grep -inr "importHumanYaml" *
code/modelCuration/deleteInactivatedReactions.m:22:ihuman = importHumanYaml('../../model/Human-GEM.yml');
code/modelCuration/enableYamlBasedWorkflow.m:85:importedHumanGEM = importHumanYaml('testYamlConversion.yml');
code/modelCuration/removeBoundaryCompartment.m:9:ihuman = importHumanYaml('../../model/Human-GEM.yml');
code/modelCuration/curateModelECcodes.m:10:ihuman = importHumanYaml('HumanGEM.yml');

Human-GEM on style/renameFunctions took 3s
❯ grep -inr "writeHumanYaml" *
code/modelCuration/deleteInactivatedReactions.m:52:writeHumanYaml(model_del, '../../modelFiles/Human-GEM.yml');
code/modelCuration/miscModelCurationScript_20190323.m:69:writeHumanYaml(ihuman, 'humanGEM');
code/modelCuration/enableYamlBasedWorkflow.m:84:writeHumanYaml(ihuman,'testYamlConversion.yml');
code/modelCuration/removeBoundaryCompartment.m:25:writeHumanYaml(model_del, '../../model/Human-GEM.yml');
code/modelCuration/curateModelECcodes.m:86:writeHumanYaml(ihuman, '../../model/HumanGEM.yml');

@Hao-Chalmers  should the renaming also be applied to the files above?

Just to make sure the rename was done everywhere, I've searched for the original function names, with the expectation to find no matches. There were a few results, and at least some of these files are not marked as .deprecated from what I can see:
Human-GEM on style/renameFunctions took 3s
❯ grep -inr "importHumanYaml" *
code/modelCuration/deleteInactivatedReactions.m:22:ihuman = importHumanYaml('../../model/Human-GEM.yml');
code/modelCuration/enableYamlBasedWorkflow.m:85:importedHumanGEM = importHumanYaml('testYamlConversion.yml');
code/modelCuration/removeBoundaryCompartment.m:9:ihuman = importHumanYaml('../../model/Human-GEM.yml');
code/modelCuration/curateModelECcodes.m:10:ihuman = importHumanYaml('HumanGEM.yml');

Human-GEM on style/renameFunctions took 3s
❯ grep -inr "writeHumanYaml" *
code/modelCuration/deleteInactivatedReactions.m:52:writeHumanYaml(model_del, '../../modelFiles/Human-GEM.yml');
code/modelCuration/miscModelCurationScript_20190323.m:69:writeHumanYaml(ihuman, 'humanGEM');
code/modelCuration/enableYamlBasedWorkflow.m:84:writeHumanYaml(ihuman,'testYamlConversion.yml');
code/modelCuration/removeBoundaryCompartment.m:25:writeHumanYaml(model_del, '../../model/Human-GEM.yml');
code/modelCuration/curateModelECcodes.m:86:writeHumanYaml(ihuman, '../../model/HumanGEM.yml');

@Hao-Chalmers  should the renaming also be applied to the files above?

@mihai-sysbio thanks for the careful check!
Yes, these functions were not included in the renaming because they are one-time scripts and disposable. In my view, they should be moved to .deprecated eventually.

@mihai-sysbio thanks for the careful check!
Yes, these functions were not included in the renaming because they are one-time scripts and disposable. In my view, they should be moved to .deprecated eventually.

@mihai-sysbio I haven't yet gone through the code folder to move all the deprecated items, but will do so sometime soon.


#7 - getorcreateexperiment method.

Codecov Report

Merging #8 (16e2dcb) into v0.2-dev (12db7ed) will decrease coverage by 0.96%.
The diff coverage is 80.00%.

@@             Coverage Diff              @@
##           v0.2-dev       #8      +/-   ##
============================================
- Coverage     90.81%   89.84%   -0.97%
============================================
  Files             5        5
  Lines           185      197      +12
============================================
+ Hits            168      177       +9
- Misses           17       20       +3

Impacted Files
Coverage Δ

src/experiments.jl
76.08% <80.00%> (-0.39%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 12db7ed...16e2dcb. Read the comment docs.


gives 404 not found error on refresh the url in production.

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.

Thanks! We'll be in touch soon.

This isn't an issue with the CLI. By default angulars router uses the history API. Because of this you will need to set up your server to always redirect to index.html or change the location strategy to hashLocationStrategy.

Also in the future please fill out the issue template

Closing as answered.


Clean up process of building and referencing lib_ising.so.

Currently, the path to lib_ising.so is hardcoded.
Certain steps of the build process require certain local environment variables, so they can't be run as root. However, running the solver does require being root. The build process should instead place the shared library in a folder that doesn't need root permissions, but also doesn't depend on the location of the repo.
Maybe ~/.digital_ising/ising_lib.so?

Done!


ENH: SuperLU and distributed systems

Is your feature request related to a problem? Please describe.
Yes. When using SuperLU on distributed systems, superLU is not able to store the decomposition in a distributed fashion.
E.g. if I have two nodes with 128 gb each and my LU decomposition uses 180gb, the superLU call will fail due to lack of memory. I believe this is because it tries to store the 180gb block on a single node, which only has 128gb of memory
If it could be store across different nodes then we could better utilize the resources we are using instead of wasting memory
Describe the solution you'd like.
I (perhaps naively) think this could be solved by adding an option to use SuperLU_dist. The issue that I potentially see is that when one calls SuperLU.solve(), it will need to use MPI to communicate between the shared memory location (though this may already be handled in SuperLU_dist?
Describe alternatives you've considered.
The only other alternative I see would be save my matricies (generated within python) that I want to run my algorithm on and then run SuperLU (or MUMPS or likewise) natively in another language. Without  rewriting SuperLU as a whole and implementing MPI there-in, I think the best way to go about this would be to use the packages already created and interface with this framework
Additional context (e.g. screenshots, GIFs)
No response

For others that run into a similar issue, I found two potential work-arounds:

Work with petsc4py and you may use either MUMPs or SuperLU in parallel. This requires some work, but it is fairly easy to convert algorithms from scipy sparse to petsc. This has the benefit of running the computation in parallel

Try the umfpack driver for scipy. One potential reason (I believe) that this issue comes up is that SuperLU uses int32 for the indicies and if you are using large enough matricies then the computation will fail (even when there is enough memory). Umfpack, in constrast, uses  int64 so this may work around this issue. I haven't tested this theory, but it was another idea I had of why SuperLU may be failing

Thanks for the report @GregStroot. The workarounds seem useful. I'm afraid this issue is not actionable for SciPy - distributed system support is out of scope. There is indeed a distributed version of SuperLU (SuperLU_DIST, see https://portal.nersc.gov/project/sparse/superlu/), but we won't integrate that into SciPy.
If you really do need proper distributed support, you can indeed use petsc4py. For dense distributed LU decomposition you can also use dask.array.linalg.lu, but there's no sparse LU for Dask.
I'll close this issue as wontfix. Please feel free to continue the conversation, in case there's more alternatives or things to discuss.


Seeing a blank screen when I use setPageWithoutAnimation to last page, however as I just move my fingers (left-right) over the screen I see the UI

I am using version 5.1.11 and thank you for this amazing package. I am trying to jump to the last page using ref.current.setPageWithoutAnimation(lastPage)
However, I see a blank screen and if I move my finger little bit (left-right) on the screen it then shows me the UI
This happens sometimes and sometimes it works correctly.
Can anyone guide me if I am missing something here.
Thank you.

Hey @jitenshah19
Could you check our example inside the repo ? What platform is affected ?

I will try to create a small example if I can because my code is now quite huge.
it's on iOS - we are developing only for iOS
The problem is it works sometimes and it does not work sometime. and to see the UI you just move the finger on the screen here and there and you see the UI

Ive got the same issue if i pop a modal...

I am seeing the same issue if I have any re-render happen, so if I am using a prop that is say a Redux store variable and it causes a re-render the screen goes blank, but if I swipe left or right the screen is back, something is causing an odd render issues and we really need to know what the cause might be.  The modal issue is also there unless we include the modal from within the slide that is shown, just very strange behavior.

Since we did not need that functionality anymore I did not look for a fix.
However, I had other issue where I was deleting the last item in the pager and moving it to the second last but I would see a black screen : I found this fix :  https://github.com/callstack/react-native-pager-view/pull/395/commits/071a45f1ba8f1458d5f9f74159287fd50bb0f4ee
I am using react-native-pager-view 5.1.10 on iOS.
Can you check the above patch and see if that helps your case.

@jitenshah19 Did you manage to solve this problem in the end by patching it like that? As you say "This problem happens on Horizontal View Pager which is a UI with Video/ Image Background." - is exactly what I'm facing. I have a Pager with 4 full background images in it which from time to time pull in a white screen first, after moving it a bit more the actual image show's up.. v6.0.0-rc.1 doesnt run for me, can't test that one.

I've found that after datasource was changed, the count of children actually didn't changed and library made wrong calculations. Potentially it can be fixed if we pass count of children and current selected index as prop


81 unrestricted transfer from

Also, this new detector should be added to the integration_test_configuration.yaml. Please check with @jgcrosta for reference.


Enhancement: Extend spo web set command with support for setting welcome page

Raised from #902
We currently have no option to set the welcome page property of a site, therefore we should introduce a new command called --welcomePage to allow this to be set.
Whilst we do have the ability to now set arbitrary properties on a web using this command following the closure of #1202, setting the WelcomePage property is not possible as it requires an update to the RootFolder resource on the Web object not the Web object directly.
The below PowerShell example shows how this property is set via the REST API.
$headers = @{
  "Authorization" = "Bearer $AccessToken"
  "Accept"        = "application/json;odata=verbose"
  "Content-Type"  = "application/json;odata=verbose"
  "IF-MATCH"      = "*"
  "X-HTTP-METHOD" = "PATCH"
}
$body = @{
  "__metadata"  = @{
      "type" = "SP.Folder"
  }
  "WelcomePage" = "SitePages/MyPage.aspx"
}
$response = Invoke-WebRequest -Method Post -Uri "https://contoso.sharepoint.com/_api/web/rootfolder" -Headers $headers -Body (ConvertTo-Json $body)

Since the folder belongs to web rather than site, shouldn't we be extending spo web set?

Absolutely, good catch @waldekmastykarz
I have amended the issue title to reflect this.

Hey @garrytrinder  - do you mind If I take this up?
Seems like a challenging one than I did before. But I am sure, it is worth it.. 👍

It's all yours @arjunumenon.
Thank you for the help 👍🏻


Cannot insert into tables without id column

If a table has no id column (no primary key) Model.insert() calls DB.execInsert() and tries to autogenerate an id. This is incorrect since there is no id column.
Example table:
CREATE TABLE parents (father VARCHAR(56) not null, mother VARCHAR(56) not null);
Parent class:

package org.javalite.activejdbc.test_models;
import org.javalite.activejdbc.Model;
public class Parent extends Model {
}

Unit test:
@Test
public void shouldNotFail(){
    Parent p = new Parent();
    a(p).shouldBe("new");

    p.setString("father", "Time");
    p.setString("mother", "Earth");

    p.saveIt();

    p = Parent.findFirst("father = ?", "Time");
    a(p).shouldNotBeNull();
}

The above unit test fails on both Oracle and DB2 but passes on MSSQL. As far as I understand Model.insert() and DB.execInsert, ActiveJdbc basically expects that there is always a id column.

@arjopoldervaart , this is not a bug, but rather how the framework is put together. Please, see:
http://javalite.io/surrogate_primary_keys

@ipolevoy,
ok, thanks. Is there a way ActiveJdbc could detect that a table does not have a column ID and generate a warning? I was diagnosing this for a colleague and the actual error message did not give me any clue. Or should I just remind everyone to add a column ID to every table? :)
The exception in the logs (partly in Dutch)
org.javalite.activejdbc.DBException: com.ibm.websphere.ce.cm.DuplicateKeyException: Ongeldig argument of argumenten in aanroep., query: INSERT INTO VOOROPLEIDING_PROFIEL (PROFIELCODE, VOOROPLEIDINGCODE) VALUES (?, ?), params: test, Test
translated:
org.javalite.activejdbc.DBException: com.ibm.websphere.ce.cm.DuplicateKeyException: Invalid argument or arguments in call......

@arjopoldervaart, we can generate a warning, but when? When a database is scanned for table?
That migth not be that useful, as it prints all relationships when the app is initialized. Basically, not having an ID in the table is a known behaviour of the framework.

@arjopoldervaart , it is unlikely we will provide a full support to tables without ID. Unless you have no other ideas, I would like  to close this one.

@ipolevoy , I have no other suggestions, I agree with closing this issue.

This detail should be described in saveIt() javadoc or anywhere else, where it can be caught the eyes.

@a-panchenko , this is already mentioned "ActiveJDBC, relies on the surrogate primary keys..." on page: http://javalite.io/surrogate_primary_keys


Disable KubeVirt e2e tests

Signed-off-by: Moath Qasim<EMAIL_ADDRESS>What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
What type of PR is this?

Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

None

Documentation:

None

Can we at least write down WHY we're disabling them?
/approve cancel


Allow account sign up without extensions

Suggested new feature or improvement
Allow adding account before adding any extensions.
Scenario
As a first time dev home user, I want to add an account, so I can use continue exploring adding widgets that I expect will need to be connected to my account. I get an warning saying I need to add a widget first, which seems to be the wrong way around.
Additional details
expect I can workaround issue adding widget first. then attach an account to it.

The answer to your suggestion might end up being "there's not a lot we can do without an account attached", but I want to be sure I understand the flow you're seeing and would prefer. Where do you see something saying you need to add a widget before you can connect an account? You can connect accounts at any time from the Settings > Accounts page.

Hello Kristen, Thanks for your reply. You are correct. it is extension not widget (as written in initial issue) that needs to be added first before an account can be added.  I agree with you too, that I will have to add an account at some stage to get an extension working. As a noob, I did go to Settings > Accounts > Add an account, thinking I'd need that first, and received the info message,
"No Extensions found. Install an Dev Home extension that uses your developer account, then sign in to add the account [Find extensions] | [Cancel]".  Happy to close issue. I'll keep exploring. Really appreciate your response as this is the first time I've used Github to log suggestion. I hope I can be of more value next time.

I appreciate your input, it's useful to understand where our flow is confusing. I believe we have something in the works to get extensions set up sooner, hopefully that will mitigate this type of confusion when first using Dev Home.


Add Plugin:

What is the plugin type?
extractor
Repository URL
https://github.com/singer-io/tap-ms-dynamics
Extension Repository URL
No response
Description
This is the tap for dataverse
Domain URL
https://github.com/singer-io/tap-ms-dynamics
Logo Image
No response
Any other notes?
No response

@dineshssdn-867 I can get this added! I'm less familiar with the MS suite of products though so I'm not sure where to list it. Is this the same system as these other taps https://hub.meltano.com/extractors/tap-dynamics? Or should it be a standalone plugin page?

Actually, I was testing tap-dynamics, but it is not a stable version, and I am getting errors. So, I found this new version which is stable. Also, can you help me how to use this in my meltano project ?

It should be a standalone plug-in.

Ok feel free to link the stable version too if its not listed on the hub yet. I added this variant so its discoverable for other user (even if its out of date). I assumed it was best to put it under the existing dynamics plugin page.

Also, can you help me how to use this in my meltano project ?
I'd suggest joining the slack community if you have questions! https://meltano.com/slack

Sure, thanks for the help and thanks for raising the PR.


macOS Arm64 - any time soon?

Do you know if the macOS Arm64 version is anytime soon available?

same for alpine on Arm64 I suppose right?

Yes, though I'm not sure how to create an alpine docker image that will enable cross compilation for arm/arm64.


Request: Enhance MQTT Publisher with Recursive Topic Publishing

Overview:
This pull request introduces a new feature to the Publisher class, allowing it to publish individual key-value pairs from a JSON object to separate MQTT topics. The original functionality of publishing the entire JSON object to a single topic is preserved, while the new feature adds the ability to automatically distribute the data across multiple topics.
Changes Introduced:

Recursive Topic Publishing: The publish method now includes a recursive function that iterates through a JSON object, publishing each key-value pair to a corresponding MQTT topic.

Maintained Backward Compatibility: The class maintains the original behavior of publishing the entire JSON object as a single message to the specified topic.

src/publish.ts
import { AsyncMqttClient, connectAsync } from "async-mqtt";

/**
 * The Publisher class is responsible for publishing messages to an MQTT broker.
 * It supports both publishing a complete JSON message to a single topic
 * and recursively splitting the JSON into individual topics for detailed data publishing.
 */
export class Publisher {
  private client: AsyncMqttClient | undefined;

  /**
   * Constructs a new Publisher instance.
   *
   * @param url - The URL of the MQTT broker.
   * @param retain - An optional flag indicating whether the published messages should be retained by the broker.
   * @param clientId - An optional client ID to identify the connection. If not provided, the MQTT broker may assign one.
   * @param username - An optional username for broker authentication.
   * @param password - An optional password for broker authentication.
   */
  constructor(
    private readonly url: string,
    private readonly retain?: boolean,
    private readonly clientId?: string,
    private readonly username?: string,
    private readonly password?: string,
  ) {}

  /**
   * Ensures an active connection to the MQTT broker.
   *
   * @returns An instance of AsyncMqttClient representing the active connection.
   */
  private async getClient() {
    if (this.client && this.client.connected) {
      return this.client;
    }
    await this.client?.end(); // Ends any existing connection if present.
    this.client = await connectAsync(this.url, {
      clientId: this.clientId,
      username: this.username,
      password: this.password,
    });
    return this.client;
  }

  /**
   * Recursively publishes each key-value pair of a JSON object to separate MQTT topics.
   *
   * @param baseTopic - The base topic under which all subtopics will be published.
   * @param data - The data to be published, can be an object or a primitive value.
   */
  private async publishRecursively(baseTopic: string, data: any) {
    if (typeof data === 'object' && data !== null) {
      // If the data is an object, iterate over its keys and call this method recursively.
      for (const key in data) {
        if (data.hasOwnProperty(key)) {
          await this.publishRecursively(`${baseTopic}/${key}`, data[key]);
        }
      }
    } else {
      // If the data is a primitive value, publish it to the appropriate topic.
      await (await this.getClient()).publish(baseTopic, String(data), { retain: this.retain });
    }
  }

  /**
   * Publishes a message to a specified MQTT topic.
   * This method handles both sending the entire JSON message to a single topic
   * and splitting the JSON into multiple topics for granular data distribution.
   *
   * @param topic - The MQTT topic to which the message will be published.
   * @param message - The message to be published. It can be a JSON object or any other data type.
   */
  async publish(topic: string, message: any) {
    // Publish the entire JSON object as a single message to the given topic.
    await (await this.getClient()).publish(topic, JSON.stringify(message), { retain: this.retain });

    // Recursively publish each element of the JSON object to its own topic.
    await this.publishRecursively(topic, message);
  }
}

Hm, is this supposed to be a pull request? What’s the use-case? Looks like this issue is entirely AI-generated TBH.


Example of an "if" expression is not correct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions
What part(s) of the article would you like to see updated?
The example of how to use an expression with an if: conditional appears to be inconsistent.
The "Contexts and expression syntax for GitHub Actions" article begins with the following:

When you use expressions in an if conditional, you may omit the expression syntax (${{ }}) because GitHub automatically evaluates the if conditional as an expression, unless the expression contains any operators. If the expression contains any operators, the expression must be contained within ${{ }} to explicitly mark it for evaluation. For more information about if conditionals, see "Workflow syntax for GitHub Actions."

The article then provides the following example usage:
name: CI
on: push
jobs:
  prod-check:
    if: github.ref == 'refs/heads/main'
    runs-on: ubuntu-latest
    steps:
      - run: echo "Deploying to production server on branch $GITHUB_REF"

The == symbol is an operator, and therefore requires the expression syntax.
Using this example without the expression syntax will result in the GitHub Action to fail.
Additional information
See https://github.com/shipwright-io/build/pull/661

Hello @adambkaplan, i believe your observation is correct. So I created PR # 4498 to correct this. Let's wait for the @github team to carry out the review :)


Update dynamic-delivery-and-previewing.md

added Safe attachments including dynamic delivery

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/2288

@JohanFreelancer9  Please copy review


Fix/ols4 search

Differences on OLS3/OLS4 API facet keys:
OLS3: response["facet_counts"]["facet_fields"]["ontology_name"]
OLS4: response["facet_counts"]["facet_fields"]["ontologyId"]
-> Added useLegacy parameter and condition in useQuery API call.
Also fixed minor bug in BreadcrumbPresentation.

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


NoSuchMethodError: The method 'cast' was called on null. Receiver: null Tried calling: cast() while using all fvm commands

Before creating a bug report please make check the following

You have installed fvm using pub global activate fvm not flutter pub...
Yes I have installed fvm using pub global activate fvm

If you are on Windows. Make sure you are running the terminal as administrator or with developer permissions when using the fvm use <version> command.
This command also not working.

Describe the bug
A clear and concise description of what the bug is.
All fvm commands giving this error
NoSuchMethodError: The method 'cast' was called on null.
Receiver: null
Tried calling: cast()
To Reproduce
Steps to reproduce the behavior:

Go to terminal..
Run fvm use stable...
Check...
See error

Expected behavior
Stable version selected message shown
Logs
NoSuchMethodError: The method 'cast' was called on null.
Receiver: null
Tried calling: cast()
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      new Settings.fromMap (package:fvm/src/utils/settings.dart:33:61)
#2      new Settings.fromJson (package:fvm/src/utils/settings.dart:26:21)
#3      Settings.readSync (package:fvm/src/utils/settings.dart:65:23)
#4      kVersionsDir (package:fvm/constants.dart:39:29)
#5      LocalVersionRepo.isInstalled (package:fvm/src/local_versions/local_versi
on.repo.dart:66:39)
#6      UseCommand.run (package:fvm/src/commands/use_command.dart:72:55)

#7      CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#8      CommandRunner.run. (package:args/command_runner.dart:
112:25)
#9      new Future.sync (dart:async/future.dart:223:31)
#10     CommandRunner.run (package:args/command_runner.dart:112:14)
#11     fvmRunner (package:fvm/src/runner.dart:35:18)
#12     main (file:///C:/Users/OM/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.
org/fvm-1.3.7/bin/main.dart:6:9)
#13     _startIsolate. (dart:isolate-patch/isolate_patch.dart
:299:32)
#14     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dar
t:168:12)
Unhandled exception:
NoSuchMethodError: The method 'cast' was called on null.
Receiver: null
Tried calling: cast()
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      new Settings.fromMap (package:fvm/src/utils/settings.dart:33:61)
#2      new Settings.fromJson (package:fvm/src/utils/settings.dart:26:21)
#3      Settings.readSync (package:fvm/src/utils/settings.dart:65:23)
#4      kVersionsDir (package:fvm/constants.dart:39:29)
#5      LocalVersionRepo.isInstalled (package:fvm/src/local_versions/local_versi
on.repo.dart:66:39)
#6      UseCommand.run (package:fvm/src/commands/use_command.dart:72:55)

#7      CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#8      CommandRunner.run. (package:args/command_runner.dart:
112:25)
#9      new Future.sync (dart:async/future.dart:223:31)
#10     CommandRunner.run (package:args/command_runner.dart:112:14)
#11     fvmRunner (package:fvm/src/runner.dart:35:18)
#12     main (file:///C:/Users/OM/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.
org/fvm-1.3.7/bin/main.dart:6:9)
#13     _startIsolate. (dart:isolate-patch/isolate_patch.dart
:299:32)
#14     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dar
t:168:12)
NoSuchMethodError: The method 'cast' was called on null.
Receiver: null
Tried calling: cast()
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      new Settings.fromMap (package:fvm/src/utils/settings.dart:33:61)
#2      new Settings.fromJson (package:fvm/src/utils/settings.dart:26:21)
#3      Settings.readSync (package:fvm/src/utils/settings.dart:65:23)
#4      kVersionsDir (package:fvm/constants.dart:39:29)
#5      LocalVersionRepo.isInstalled (package:fvm/src/local_versions/local_versi
on.repo.dart:66:39)
#6      UseCommand.run (package:fvm/src/commands/use_command.dart:72:55)

#7      CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#8      CommandRunner.run. (package:args/command_runner.dart:
112:25)
#9      new Future.sync (dart:async/future.dart:223:31)
#10     CommandRunner.run (package:args/command_runner.dart:112:14)
#11     fvmRunner (package:fvm/src/runner.dart:35:18)
#12     main (file:///C:/Users/OM/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.
org/fvm-1.3.7/bin/main.dart:6:9)
#13     _startIsolate. (dart:isolate-patch/isolate_patch.dart
:299:32)
#14     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dar
t:168:12)
Unhandled exception:
NoSuchMethodError: The method 'cast' was called on null.
Receiver: null
Tried calling: cast()
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      new Settings.fromMap (package:fvm/src/utils/settings.dart:33:61)
#2      new Settings.fromJson (package:fvm/src/utils/settings.dart:26:21)
#3      Settings.readSync (package:fvm/src/utils/settings.dart:65:23)
#4      kVersionsDir (package:fvm/constants.dart:39:29)
#5      LocalVersionRepo.isInstalled (package:fvm/src/local_versions/local_versi
on.repo.dart:66:39)
#6      UseCommand.run (package:fvm/src/commands/use_command.dart:72:55)

#7      CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#8      CommandRunner.run. (package:args/command_runner.dart:
112:25)
#9      new Future.sync (dart:async/future.dart:223:31)
#10     CommandRunner.run (package:args/command_runner.dart:112:14)
#11     fvmRunner (package:fvm/src/runner.dart:35:18)
#12     main (file:///C:/Users/OM/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.
org/fvm-1.3.7/bin/main.dart:6:9)
#13     _startIsolate. (dart:isolate-patch/isolate_patch.dart
:299:32)
#14     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dar
t:168:12)
Screenshots

Desktop (please complete the following information):

OS: Windows
FVM Version: 1.3.7
If Windows: Which Powershell are you using?
I tried with cmd

I can't upload settings file, so pasted the content of the settings file.
{
"cachePath": null,
"skipSetup": false,
"gitCache": false
}

@leoafarias I have an old version of dart SDK, I will update dart SDK tomorrow and I will update the FVM to dev. Then I will update the Issue.

Thank you in the mean time @msarkrish remove the cachePath key from your settigns and that should do the trick.
{
"cachePath": null,
"skipSetup": false,
"gitCache": false
}

I believe this was a conflict between sidekick and fvm, because the new version of sidekick sets this.. so using the latest on dev will solve the problem


Update Enable-SPProjectActiveDirectoryEnterpriseResourcePoolSync.md

Add an example.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Enable-SPProjectActiveDirectoryEnterpriseResourcePoolSync.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update KerbalJointReinforcement.netkan

Maintenance Release for 1.3.x to 1.7.x from the RO Team now

The RO team's KJR lives here (see #6899):
https://github.com/KSP-CKAN/NetKAN/blob/master/NetKAN/KerbalJointReinforcementContinued.netkan


Add v1 CLI

There's now a general way to build any project, not just the examples!

Closes #38

Closes #34


Add Command Line Interface Wrapper

Addresses https://github.com/holoviz/hvplot/issues/1150
This command-line tool allows for quick and easy visualization of various
data file formats using HoloViews and hvPlot, including CSV, JSON, HTML, Excel,
Parquet, NetCDF, and HDF5, and more.

The tool will automatically determine the appropriate reader for the file
extension and use it to load the data. Ensure the correct dependencies for
file format support are installed (e.g., pandas for CSV, xarray for NetCDF).

All of the keywords supported by hvPlot can be passed as arguments to the
command-line tool. See the hvPlot customization docs for available kwargs:
https://hvplot.holoviz.org/user_guide/Customization.html

Examples:
    hvplot iris.csv
    hvplot air.nc x=lon y=lat groupby=time,level geo=true
    hvplot detrend.nino34.ascii.txt x=YR y=ANOM -r pandas.read_csv -rk delimiter='\s+'

positional arguments:
  file_path             Path to the data file
  hvplot_kwargs         HoloViews options in 'key=value' format

options:
  -h, --help            show this help message and exit
  --opts [OPTS ...]     HoloViews plot options in 'key=value' format
  -r READER, --reader READER
                        Fully-qualified name of the reader function to use, e.g. pandas.read_csv
  -rk READER_KWARGS, --reader_kwargs READER_KWARGS
                        Reader options in 'key=value' format
  --port PORT           Port to use for displaying the plot
  -o OUTPUT_PATH, --output_path OUTPUT_PATH
                        Path to save the output file

Demo:
https://github.com/holoviz/hvplot/assets/15331990/cb4005d0-aa95-4481-bf46-e879e717c75d

I think to make it easier to change file name and use the same option, I should make path last: e.g.
hvplot x=lon y=lat groupby=time,level geo=true --path air.nc
hvplot x=lon y=lat groupby=time,level geo=true --path airx2.nc

Is it too much to ask for the Explorer "code" tab to show both Python code and CLI code to generate the selected plot? :-)

Super easy I think.

Separately from this, I've been thinking that the Explorer should initially usually start with just a hamburger button, without the various selectors visible,

I think Panel needs a Sidebar card layout that does this.

@maximlt , would your error message have been any different when invoking hvPlot from within Python on the same file?

This seems extremely useful, especially if it can be run simply over ssh. The number of co-workers who know about pangeo but still use ncview sometimes is high. One might argue that its an alternative path to lowering the difficulty of using hvplot for simple visualizations.  I have no strong opinions about which repo it lives in.

Over ssh you'd have to tunnel the port I suppose, but that does seem workable.

Yes tunneling is quite straightforward and common; that's how I used Jupyter notebooks before. https://bluewaters.ncsa.illinois.edu/pythonnotebooks

We haven't managed to reach a consensus on whether this feature belongs to hvPlot or not. @droumis did an amazing job when setting up the HoloViz and per-project governance models, giving us a decision model for this kind of case. Any maintainer can call a vote, let's do that then.
@philippjfr @Hoxbro @ahuang11 please reply with your vote, either +1 or -1. If you want to add more motivation than what you wrote in this PR or https://github.com/holoviz/hvplot/issues/1150, please do so.
-1 for me:

I have doubt the CLI would in fact replace the more dedicated applications scientists use to explore their files, it's hard to compete with specialized tools.
My wish for hvPlot, as explained in its new roadmap, would be to clean up what the existing (docs, developer experience, bug fixes, tests) to make the library more robust and pleasant to use. Adding a CLI goes in the opposite direction in my opinion, requiring us to add another entry point in the doc, write new kinds of tests, manage more dependencies on the CI, take care of more bug reports and feature requests, etc.

To precise my vote, I would like to say that it is a temporary -1, I would be open to revisiting this idea in the future. If we vote no, I'd suggest keeping https://github.com/holoviz/hvplot/issues/1150 open to let users interested in this feature chime in/upvote, updating the OP with some more context and the scope of the feature (the issue focused on xarray but the implementation in this PR interfaces with other libraries/file types).

+1:

other tools require sudo apt-get install, conda, or manual build; hvplot is just a pip install away
additionally, hvPlot is extremely interactive; zoom, hover over values, and also adjusting variable selection
the CLI is a thin wrapper; not much addition besides a file ingestion engine so not much to additionally maintain; we can do a feature freeze to work out other issues. understandably this is a bit of a scope creep, but I imagine covers 90% of use cases

However, I'm okay if this lives elsewhere, and actually starting to lean towards Lumen using lumen explore test.nc which will format a template Lumen spec with the necessary inputs. This can help bring attention to Lumen too and expose Lumen to the gridded dataset world too. Else, I'd still like to release this somewhere like under a new holoviz-incubator or even my personal account so others can take advantage of it.

-1

On balance I will abstain from the vote and record my vote as -0. I am not the day to day maintainer for hvPlot so the maintenance concerns are not front of mind for me, so I primarily want to respect @maximlt's concerns as lead maintainer. I do see the utility for the CLI particularly for the climate community working with gridded data but would like to work towards supporting that at the Lumen level.

Oops, I forgot to come back to this! With 2 -1, 1 +1 and 1 -0, we're not going to move forward with this feature. I'm going to close this PR. However, as I already wrote, I suggest keeping the issue open and updating its initial message to better reflect the scope of the intended CLI, and encourage people to upvote the issue/chime in.


[Doc][Autodl] autodl的镜像是否可以更新至新版本

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
目前的autodl镜像部署后功能稍微有些落后了
Documentation Links
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Search before asking

[x]  I had searched in the issues and found no similar feature requirement.

Description
目前的autodl镜像部署后功能稍微有些落后了
Documentation Links
No response
Are you willing to submit PR?

[ ]  Yes I am willing to submit a PR!

will comming soon


Update Japanese translations for 1.2.5

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes
I updated Japanese translations for Node-RED v1.2.5.
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[ ] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage remained the same at 69.103% when pulling 7b00f55ffc04fb13b439c08519f4fbbd39cce6f1 on kazuhitoyokoi:master-updatejpn into 088419b38e715f276f76c04aa35dcc739a66fa80 on node-red:master.