Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again. with Nexus

Bug description
I had an old project (~6 months old) which I tried converting to Prisma as of the official release but got a weird bug so I stopped it. Now I updated dependencies again to use aggregation (v2.2.0) & now got this error (I used DEBUG=* flag):
➜ npm run dev

><EMAIL_ADDRESS>dev ~/server
> nexus dev

  express:application set "x-powered-by" to true +0ms
  express:application set "etag" to 'weak' +3ms
  express:application set "etag fn" to [Function: generateETag] +2ms
  express:application set "env" to 'development' +5ms
  express:application set "query parser" to 'extended' +0ms
  express:application set "query parser fn" to [Function: parseExtendedQueryString] +0ms
  express:application set "subdomain offset" to 2 +0ms
  express:application set "trust proxy" to false +1ms
  express:application set "trust proxy fn" to [Function: trustNone] +0ms
  express:application booting in development mode +0ms
  express:application set "view" to [Function: View] +0ms
  express:application set "views" to '~/server/views' +0ms
  express:application set "jsonp callback name" to 'callback' +0ms
2129 ● nexus:plugin:nexusPluginPrisma Running generators
 711 ● nexus:dev start  --  version: '0.25.0'
  express:application set "x-powered-by" to true +0ms
  express:application set "etag" to 'weak' +2ms
  express:application set "etag fn" to [Function: generateETag] +1ms
  express:application set "env" to 'development' +0ms
  express:application set "query parser" to 'extended' +1ms
  express:application set "query parser fn" to [Function: parseExtendedQueryString] +0ms
  express:application set "subdomain offset" to 2 +0ms
  express:application set "trust proxy" to false +0ms
  express:application set "trust proxy fn" to [Function: trustNone] +0ms
  express:application booting in development mode +0ms
  express:application set "view" to [Function: View] +0ms
  express:application set "views" to '~/server/views' +0ms
  express:application set "jsonp callback name" to 'callback' +0ms
  express:application set "x-powered-by" to true +0ms
  express:application set "etag" to 'weak' +2ms
  express:application set "etag fn" to [Function: generateETag] +0ms
  express:application set "env" to 'development' +1ms
  express:application set "query parser" to 'extended' +0ms
  express:application set "query parser fn" to [Function: parseExtendedQueryString] +0ms
  express:application set "subdomain offset" to 2 +0ms
  express:application set "trust proxy" to false +0ms
  express:application set "trust proxy fn" to [Function: trustNone] +0ms
  express:application booting in development mode +1ms
  express:application set "view" to [Function: View] +0ms
  express:application set "views" to '~/server/views' +0ms
  express:application set "jsonp callback name" to 'callback' +0ms
1311 ✕ app unhandledRejection
       | error  Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
       |        In case this error is unexpected for you, please report it in https://github.com/prisma/prisma-client-js/issues/390.
       |            at new PrismaClient (~/server/node_modules/nexus-plugin-prisma/node_modules/.prisma/client/index.js:3:11)
       |            at instantiatePrismaClient (~/server/node_modules/nexus-plugin-prisma/dist/framework/lib/prisma-client.js:42:16)
       |            at Object.getPrismaClientInstance (~/server/node_modules/nexus-plugin-prisma/dist/framework/lib/prisma-client.js:56:32)
       |            at Object.run (~/server/node_modules/nexus-plugin-prisma/dist/framework/runtime.js:35:50)
       |            at ~/server/node_modules/nexus/dist/lib/plugin/load.js:32:23
       |            at Array.map (<anonymous>)
       |            at Object.importAndLoadRuntimePlugins (~/server/node_modules/nexus/dist/lib/plugin/load.js:30:10)
       |            at Object.assemble (~/server/node_modules/nexus/dist/runtime/app.js:70:42)
       |            at eval (eval at main (~/server/node_modules/nexus/dist/lib/watcher/runner.js:78:5), <anonymous>:23:20)
       |            at main (~/server/node_modules/nexus/dist/lib/watcher/runner.js:78:5)

~/server is the folder name :)
How to reproduce
Idk
Expected behavior
It should work as it used to. My changes from old nexus with new nexus are perfect.
Environment & setup

OS: Mac OS
Database: SQLite
Prisma version: @prisma/cli: 2.2.0
Node.js version: v14.4.0

It's probably unrelated but I would recommend to stay on Node.js LTS v12 for now (https://nodejs.org/en/about/releases/)

Used v12.18.2 with https://github.com/Schniz/fnm but still same issue

Same issue, v2.1.3 was working fine (and still is), upgrading to 2.2.0

You most likely forgot to initialize the Prisma Client. Please run prisma2 generate ...

Could you add which version of nexus-plugin-prisma is breaking (and any other Prisma / Nexus related things)?

The reason for this is very likely to be because you have kept your prisma dependencies installed. nexus-plugin-prisma bundles its own Prisma dependencies, so you must uninstall all prisma related dependencies from your project

@deadcoder0904 refer to https://nexusjs.org/nexus-plugins/prisma#installation

Without a reproduction, we really can't do anything here. Inspect the prisma version using yarn why and make sure you don't have anything worth investigating there

npm list might also be interesting here so we can get an overview what packages exactly are installed.

@Weakky was right. I did the following & it worked:
$ npm uninstall @prisma/cli @prisma/client

Also, had to prune node_modules, installed dependencies again with npm i & generated prisma using prisma generate to make it work :)

For me it was something else in case somebody still has problems:
I had to remove output   = "./generated/client" from my schema.prisma, so npx prisma generate actually creates the client in the right location.

I had the same problem -- I was using Nexus with Prisma.  sreuter's solution worked for me.

This solution worked for me using next with prisma https://flaviocopes.com/prisma-fix-initialize-yet-vercel/

Check the database server you have connected. I was using Postgresql and when I was running NestJS I got this error because Postgres server was not up.
So check if the server you are connecting NestJS to is up.

yarn run prisma generate --schema=./src/prisma/schema.prisma is all I had to do

well!It's been a long time.first,you should execute npm install prisma,remember the prisma's version must the same as '@prisma/client',you can see the version in package.json.and then add the script "postinstall": "prisma generate --schema=./prisma/schema.mysql.prisma" in package.json.at last,you can execute npm run postinstall,that's effective for me!

I had the same problem. I'm using ubuntu 20.10
First I deleted node_modules, then installed it again.
Second, I installed the prism globally.
npm install -g prisma
but I did it with sudo, so it was like this sudo npm install -g prism
then I tested the prisma command, in the terminal to see if everything was ok.
now I must generate the prism client.
I did as follows
sudo prisma generate

I got this error while deploying on vercel, is there something wrong with the configuration?

@zaadevofc yes you should run prisma generate before building your app. If you have a monorepo and prisma is separated into its own package, you should copy the generated client as well to your eg api package in .prisma folder. You can check how I do it here https://github.com/TeemuKoivisto/sveltekit-monorepo-template

@zaadevofc ya, Anda harus menjalankan sebelum membangun aplikasi Anda. Jika Anda memiliki monorepo dan prisma dipisahkan ke dalam paketnya sendiri, Anda harus menyalin klien yang dihasilkan juga ke paket misalnya Anda di folder. Anda dapat memeriksa bagaimana saya melakukannya di sini https://github.com/TeemuKoivisto/sveltekit-monorepo-templateprisma generate``api``.prisma

I am very grateful for your help, now my problem is solved 😊🫡


Fixed cmake not forcing c++11

Just now noticed this, sorry. I would have thought specifying this in the source/CMakeLists.txt and test/source/CMakeLists.txt would achieve the same. I will merge this anyways, can't hurt.
I have made several changes to the build system in the meantime. I will try to fix any remaining build problems after trying to install on a couple different systems later this week.


Change ObjectID import to ObjectId

Change ObjectID import to ObjectId, due to ObjectID is deprecated
in mongodb v4.1

Description
Changes ObjectID import from mongodb to ObjectId instead.
Related #6830
Type of change
Please delete options that are not relevant.

[X ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] npm run test
[ ] run graphql-codegen in project with mongodb and @graphql-codegen/typescript-mongodb for e.g. mongodb 3.6 there are no lint warnings but for 4.1.3 lint complains about ObjectID being deprecated

Test Environment:

OS: linux
@graphql-codegen/typescript-mongodb: 2.1.4
NodeJS: 14.17.4
mongodb: 4.1.3

Ofc, major or minor or patch version?
I tried agains mongodb v3.6 and it still worked.

Where do I put the changeset? Commit the file?
Thanks in advance.

@ardatan sorry, but do you know how to run the test cases on my local machine?
Thanks in advance!

@fredriklindell you can run yarn test --watch

@n1ru4l many thanks, test case fixed!

@n1ru4l any idea on who will approve this pr?

@n1ru4l fixed conflicts, need approval again :)
Thanks in advance!

Many thanks! @n1ru4l


Not working for flutter web projects

Hi There,
I would love to be able to use this plugin for my flutter web projects. Is this something you guys will be looking into soon?

Hi, The fonts does not render in flutter web projects. They looks like this.

Ok now it's getting interesting - it works fine for me in chrome (right), but I was able to reproduce the issue in firefox (left). @CoconutDigital, @ercangurevin do you experience this in chrome as well? I'm looking into this

This issue is fixed if @CoconutDigital and @ercangurevin also experienced this issue in firefox only. This package works with flutter web.

Hi, I have still problem. I've tried it on 3 browser; Chrome, Firefox and Opera. Here are the results.

Could you do a flutter clean and rebuild just to make sure there is nothing cached from older versions? If it still persists after that, please post the parts of the sample project you modified and I will try to reproduce again.

After clean it's still same. I even tried on new project but no luck.

Ok that's really strange. What value did you change the button icon to?

Solved it like this:

Use

    IconData(0xf183, fontFamily: 'FontAwesomeSolid'),

instead FontAwesomeIcons.male for example. Notice, that there're three different Font-Packages: Brands, Solid and Regular! So the codePoint here: 0xf183 is only available in the Solid Font-Package!

Add these lines to your pubspec.yaml:

- family: FontAwesomeRegular
      fonts:
        - asset: assets/fonts/fa-regular-400.ttf
          style: normal
    - family: FontAwesomeBrands
      fonts:
        - asset: assets/fonts/fa-brands-400.ttf
          style: normal
    - family: FontAwesomeSolid
      fonts:
        - asset: assets/fonts/fa-solid-900.ttf
          style: normal

Add these lines to your web/assets/fonts/FontManifest.json file:

    {"fonts":[{"asset":"fonts/fa-regular-400.ttf"}],"family":"FontAwesomeRegular"},
    {"fonts":[{"asset":"fonts/fa-brands-400.ttf"}],"family":"FontAwesomeBrands"},
    {"fonts":[{"asset":"fonts/fa-solid-900.ttf"}],"family":"FontAwesomeSolid"}

Done! Here's my flutter web app:

Good luck!

Hey all, I'm going to tentatively close this issue since I think the Flutter team has done some good work ensuring fonts will be included in the FontManifest.json by default now. Thanks for all the info!


Cannot find Plume module

 from plume import Plume ModuleNotFoundError: No module named 'plume'
Can anyone help me with this error ?
plume.py file is already in the same directory still I am getting the error message
I am running this package on ROS noetic with python3.

I actually got it working on python3.  You can test this out. If working well can I make a Pull Request ?
uuv_plume_simulator.zip

Hi @NickNair, thank you for the update.
It should be indeed possible to make it work for python3 and you have succeeded it seems.
Can you make the PR so that everyone can have a go ? It will be easier to track the changes and do some testing :)


iOS xcodebuild -archive is broken in 1.8.3-dev

Looks like a repeat of this issue:
https://github.com/flutter/flutter/issues/22306
Steps to Reproduce

This broke our CI builds after upgrading to 1.8.3-dev:

flutter build ios --flavor=prod -t lib/main-prod.dart --release --verbose --no-codesign
 xcodebuild -sdk iphoneos -configuration Release-prod -workspace Runner.xcworkspace -scheme prod archive
???
Failure

Logs

Then end of logs for the xcodebuild archive:
[command]/usr/libexec/PlistBuddy -c Print Name _xcodetasktmp.plist
Prod
[command]/bin/rm -f _xcodetasktmp.plist
[command]/usr/libexec/PlistBuddy -c Print CFBundleIdentifier /Users/vsts/agent/2.155.1/work/1/s/ios/build/prod.xcarchive/Products/Applications/Runner.app/Info.plist
com.ourcompany.mobile
[command]/usr/libexec/PlistBuddy -c Add provisioningProfiles:com.ourcompany.mobile string Prod _XcodeTaskExportOptions.plist
[command]/usr/bin/xcodebuild -exportArchive -archivePath /Users/vsts/agent/2.155.1/work/1/s/ios/build/prod.xcarchive -exportPath /Users/vsts/agent/2.155.1/work/1/s/ios/build -exportOptionsPlist _XcodeTaskExportOptions.plist
2019-08-02 15:39:45.547 xcodebuild[2946:18223] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/prod_2019-08-02_15-39-45.546.xcdistributionlogs'.
error: exportArchive: Symbols tool failed

Error Domain=IDEFoundationErrorDomain Code=1 "Symbols tool failed" UserInfo={NSLocalizedDescription=Symbols tool failed}

** EXPORT FAILED **

##[error]Error: The process '/usr/bin/xcodebuild' failed with exit code 70

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v1.8.3, on Mac OS X 10.14.6 18G84, locale en)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[!] Android Studio (not installed)
[!] Connected device
    ! No devices available

This should be fixed, see https://github.com/flutter/flutter/issues/37047.  Let us know if you are still seeing symbols tool failures.

Getting the exact same error.
Flutter 1.8.3 • channel beta • git@github.com:flutter/flutter
Framework • revision e4ebcdf6f4 (13 days ago) • 2019-07-27 11:48:24 -0700
Engine • revision 38ac5f30a7
Tools • Dart 2.5.0 (build 2.5.0-dev.1.0 0ca1582afd

It landed in 1.8.4 and you're on 1.8.3.  You'll have to wait a bit for it to reach the beta channel.
https://github.com/flutter/flutter/commit/a8fbe02a9d7038743148e1008220e7a500eb69c6.

It also works in the stable channel with version 1.7.8+hotfix.4


[SPARK-13592][Windows] fix path of spark-submit2.cmd in spark-submit.cmd

What changes were proposed in this pull request?
This patch fixes the problem that pyspark fails on Windows because pyspark can't find spark-submit2.cmd.
How was this patch tested?
manual tests:
I ran bin\pyspark.cmd and checked if pyspark is launched correctly after this patch is applyed.

Test build #52231 has started for PR 11442 at commit 5a8ea5b.

Good catch. This is really like a follow-on to your SPARK-3943 from a long time ago

Test build #52231 has finished for PR 11442 at commit 5a8ea5b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/52231/
Test PASSed.

Merged to master. Actually, this was not a problem in earlier branches, and I figured out that https://github.com/apache/spark/commit/2ba9b6a2dfff8eb06b6f93024f5140e784b8be49#diff-fbd7428b349a0b32fcc71e6ea4eb5d98 actually inadvertently reverted the change that your PR restores now. It could well be my fault, messing up a merge somewhere.

Thanks!


Line Numbers / Error and Warning Messages.

DartPad should show the line numbers. Besides, we should be able to close error and warning messages, because sometimes these messages hides buttons and other widgets we would like to see in the interface.

We have an existing feature request for line numbers (#317), but haven't been able to prioritize them against other features.
For hiding errors from the analyzer, though, I can be more helpful. This is possible in the current interface. See the "hide" link here in the main UI:

Or the "hide" button here for the embedded UI:

Thanks for filing an issue!


How to do CDSSO with 2.2 Agents in openam-agent

Can you tell me how I can configure cross domain SSO using the 2.2 Policy Agents so that this would work with OpenAM? Or do I need to setup some other kind of agents in OpenAM?
(Also its not clear if 2.2 agents are the only agents supported by node-openam-agent)
I have a server abc.example.com which has openAM. I want it to be able to use cookie shield functionalities for xyz.example.com

I you want CDSSO, you'll need a web agent profile (rather than a 2.2). Then just configure CDSSO in the agent profile as usual.
As for the app code, see the example at https://github.com/zoltantarcsay/node-openam-agent/wiki/PolicyAgent#PolicyAgent+cdsso


Idea: console-extra-bundle, to provide a make:invokable-command

What a cool library!
Sometimes instead of loading fixtures, I want a simple command that let's me create/update an object.  For example:
bin/console make:book --title "Rust" --isbn "29294-42" --author "..."

Obviously, I can create that now using Symfony's make:command, but I like how tight the code is using console-extra.
Perhaps Symfony 7 will incorporate this structure into make:command, but in the meantime, it'd be nice to have something that facilitated create it.

Can you describe more what you're looking for from this library?

From this library (console-extra), I don't have any specific things I'm looking for, though the V2 list #29 looks good.
From the bundle, I'm just thinking of something that acts like make:entity, but generates an invokable controller.
So bin/console make:invokable-controller create:book --description "Creates or updates a book in the database" --arg book --arg isbn --arg author would generate
#[AsCommand('create:book', 'Creates or updates a book in the database')]
final class CreateBookCommand extends InvokableServiceCommand
{
    use ConfigureWithAttributes;

    public function __invoke(
        IO $io,

        #[Argument]
        string $author,

        #[Argument]
        string $isbn,

        #[Argument]
        string $author,

    ): void {

        $io->success('Finished');
    }
}

Maybe instead of --arg, it could be --string, --array, etc.
Just brainstorming.

Of course, I'd want to use the model factories from zenstruck/foundry.

Oh ok, you refer to a maker for an invokable controller (make:invokable-controller) but you actually mean an invokable command maker (make:invokable-command).
Indeed, I think this is a good idea. I have an open issue related to this: #3.
To start, maybe make:invokable-command --arg book --arg isbn --arg author --option foo would generate string properties for the --arg's and bool properties for the --options as that's probably the most common types. We could then possibly add --arg-array, --option-array, etc...
Trying to think how best to wire such a maker. This library doesn't include a bundle so it seems a bit much to create a bundle just for wiring the maker in dev. What about a contrib-recipe that wires the maker service?

What about a contrib-recipe that wires the maker service?

I'm not sure how that would work.  contrib-recipe is one of the few parts of the Symfony ecosystem that I dislike.  But I'm sure there's a solution there.
Alternatively, there could be a make-invokable-bundle, that would provide makers for both controllers and commands.
One maker that's been missing (IMHO) is a make:dto.  Given your experience with make:factory, it seems like there's some overlap.  IF you were to create something like that, then perhaps you could have a zenstruck-maker-bundle for all of these.
OR, if Foundry is not specific to Model Factories, you could move bundle to there, since it's already got the maker and such.
Again, just brainstorming.

I took a stab at this in my own maker-bundle.  Feedback welcome.
symfony new --webapp make-invokable-command-demo && cd make-invokable-command-demo
composer req survos/maker-bundle --dev
bin/console survos:make:command app:test "Just a silly test"  --arg name  --arg code --oint-arg size --obool-arg force

Generates
<?php

namespace App\Command;

use Symfony\Component\Console\Attribute\AsCommand;
use Zenstruck\Console\Attribute\Argument;
use Zenstruck\Console\Attribute\Option;
use Zenstruck\Console\ConfigureWithAttributes;
use Zenstruck\Console\IO;
use Zenstruck\Console\InvokableServiceCommand;
use Zenstruck\Console\RunsCommands;
use Zenstruck\Console\RunsProcesses;

#[AsCommand('app:test', 'Just a silly test')]
final class AppTestCommand extends InvokableServiceCommand
{
use ConfigureWithAttributes, RunsCommands, RunsProcesses;

public function __invoke(
IO $io,

// custom injections
// UserRepository $repo,

// expand the arguments and options
#[Argument(description: 'string')]
string $name,
#[Argument(description: 'string')]
string $code,
#[Argument(description: '?int')]
?int $size,
#[Argument(description: '?bool')]
?bool $force,

#[Option(name: 'role', shortcut: 'r')]
array $roles,

): void {

   $io->note(sprintf("string %s %s", 'name', $name) ?? 'null');
   $io->note(sprintf("string %s %s", 'code', $code) ?? 'null');
   $io->note(sprintf("?int %s %s", 'size', $size) ?? 'null');
   $io->note(sprintf("?bool %s %s", 'force', $force) ?? 'null');

// $this->runCommand('another:command');
// $this->runProcess('/some/script');

$io->success('app:test success.');
}

}

And works as expected:
 bin/console app:test --help
Description:
  Just a silly test

Usage:
  app:test [options] [--] <name> <code> [<size> [<force>]]

Arguments:
  name                  string
  code                  string
  size                  ?int
  force                 ?bool

Options:
  -r, --role=ROLE        (multiple values allowed)
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -e, --env=ENV         The Environment name. [default: "dev"]
      --no-debug        Switch off debug mode.
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
tac@pop-os:~/survos/play/make-invokable-command-demo$
tac@pop-os:~/survos/play/make-invokable-command-demo$ bin/console app:test "Bob Smith" smith_robert 15

 ! [NOTE] string name Bob Smith

 ! [NOTE] string code smith_robert

 ! [NOTE] ?int size 15

 ! [NOTE] ?bool force

 [OK] app:test success.

Still a work in progress.  Creating the options from the command line isn't implemented yet, and still some polish to do.

Cool! I like this.
What do you think about the following syntax for arguments (special type prefix - defaults to string)?
bin/console make:invokable-command app:test name code ?int:size ?bool:force --description="Just a silly test"

For args:

name: string $name
?name: ?string $name
?int:name: ?int $name
name[]: array $name

We could do something similar for options.
Additional, making it interactive like make:entity would be very useful I think!

I like that format, I'll play around with it.
I wonder if ?bool should be handled differently, since it's really a flag
to the command.  That is, generate the equivalent of:
->addOption('force', InputOption::VALUE_NONE|InputOption::VALUE_NEGATABLE)
On Fri, Sep 30, 2022 at 10:54 AM Kevin Bond @.***>
wrote:

Cool! I like this.
What do you think about the following syntax for arguments (special type
prefix - defaults to string)?
bin/console make:invokable-command app:test name code ?int:size ?bool:force --description="Just a silly test"
For args:

name: string $name
?name: ?string $name
?int:name: ?int $name
name[]: array $name

We could do something similar for options.
Additional, making it interactive like make:entity would be very useful I
think!
—
Reply to this email directly, view it on GitHub
https://github.com/zenstruck/console-extra/issues/31#issuecomment-1263680773,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEXIQIAS4IP6NLERFU4EWTWA35LFANCNFSM57FNRKAA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I wonder if ?bool should be handled differently, since it's really a flag

Good point!

I do want to deprecate/remove docblock/@command syntax, but this might be helpful to determine the syntax for a maker.

I've played around some more, this is now working, though the internals are kinda ugly.
bin/console survos:make:command app:greet \
  string:message:"What do you want to say?" \
  array:names:"Who do you want to greet (separate multiple names with a space)?" \
  int:iterations-i?:"How many times should the message be printed?" \
  array:colors?:"Which colors do you like?" \
  bool:yell?

bin/console app:greet --help

Usage:
  app:greet [options] [--] <message> <names>...

Arguments:
  message                      What do you want to say?
  names                        Who do you want to greet (separate multiple names with a space)?

Options:
  -i, --iterations=ITERATIONS  How many times should the message be printed?
      --colors=COLORS          Which colors do you like? (multiple values allowed)
      --yell                   (bool)

The syntax rules
type // If a ? preceeds the type, then it's an optional argument
:
name // if the name ends in ?, then it's an option.  If the name has a hyphenated suffix, use that is the shortcut.
:
description

I played around with a few ways to do default, I think the best way is to parse an = in the name, e.g.
  int:iterations-i?=7:"How many times should the message be printed?" \

Additional, making it interactive like make:entity would be very useful I think!

This is how I incorporate make:entity into a script with multiple fields:
cat <<'EOF' | sed "s/:/\n/g"  |  bin/console make:entity Country
name:string:55:no
alpha2:string:2:no
alpha3:string:3:yes
EOF

I don't love it, I prefer the approach we've been working on here, but perhaps the better solution is to implement the interactive approach like make:entity and use this pipe approach.

I think, at the end of the day, an ugly syntax/internals is ok because the expectation would be to use the maker interactively.

Ok, yeah, we've been playing around with the idea of scaffolds that would be provided by either the maker-bundle or flex itself (as a special type of recipe).


JUNOS Exception checking when committing

Tried my first config commit today and found something that could be improved.
Basically I forgot to configure router-id and autonomous-system on my lab router.
GUI said "Configuration saved, but on the router nothing was applied.
napalm.log just shows:
2018-03-21 18:19:08 | DEBUG | unable to merge configuration on x.x.x.x
After copypasting from the guy, it was obvious:
[edit protocols]
'bgp'
Error in neighbor <IP_ADDRESS> of group ipv4-nyiix-test:
must define local autonomous system when enabling BGP
error: configuration check-out failed
Would be nice if this is being shown in the GUI somehow.
What do you think about additionally checking if the config is really in place?
Let me know if you need something else or want me to re-test

I've checked the case from above again and now I see a red button "Config not saved".
I also tested what happens if the config is already locked (manually through the CLI with edit exclusive):
"No configuration differences found.
The router may be up-to-date or unreachable."

Nice, you should have a log to tell you what did go wrong as well.
I'm aware of the issue when the config is locked. I did not find a way to know why the configuration does not find any differences. It can be due to several cases, I'll add a hint in the returned message to give more clues to the user.

018-03-23 13:15:25 | DEBUG | unable to merge configuration on x.x.x.x error "LockError(severity: error, bad_element: None, message: configuration database locked by:
someuser terminal pts/0 (pid 4746) on since 2018-03-23 12:14:23 UTC
exclusive [edit])"

Interesting. Then there should be a way to report that specific fault to the user. Thanks for the feedback 👍


Adhoc buffer creation or option to restrict the number of buffers / entries when using lsp_finder

Is your feature request related to a problem? Please describe.
Working with code that has a lot of references can cause problems when using lsp_finder in combination with other plugins. I guess mostly because a buffer is created for each entry.
Error executing vim.schedule lua callback: Vim(lua):E5108: Error executing lua ...k/packer/start/gitsigns.nvim/lua/gitsigns/subprocess.lua:71: Failed to spawn process: {
  _state = {
    pid = "EMFILE: too many open files",
    stderr = <userdata 1>,
    stderr_data = {},
    stdout = <userdata 2>,
    stdout_data = {}
  },
  args = { "--no-pager", "config", "user.name" },
  command = "git"
}

Describe the solution you'd like
I don't know how difficult, slow and resource heavy it would be to create a buffer on the fly. If it is reasonable, the finder could create the buffer only when a reference is actually inspected instead of creating them all in advance.
Describe alternatives you've considered
If adhoc buffer creation is not feasible, maybe an option to restrict the number of buffers or entries in the finder could be added.

As an alternative to fetching the file contents with buffers, one could think of using file system operations instead. In my test it dit not performe worse but avoided buffer related auto commands and therefore did not trigger the previously mentioned exception.
Since it might still be undesirable to have 100 or 1000 of references to scroll through, an option to limit the number of entries in the lsp_finder window could be added.

The only problem I encountered was the loss of filetype detection and therefore syntax highlighting in the previews. A library like plenary can help with that but would add a maybe unwanted dependency.


remove cookie-signature dependency

Hello, your change replaces the cookie-signature dependency which currently matches the usage within Express core with an opinionated signature generation snippet. I am not sure If we can chalk this change to be non-breaking with a guarantee.
Do you have any specific reasoning for this change? What are the pros / cons?

This is an equivalent implementation as I basically just copied the implementation. I didn't think it was worth a while extra dependency for what is a 1-liner

Could you also ensure that you migrate away from cookie-signature within the Request class as well which supports the unsign method by depending on cookie-signature.

oh, thanks for catching that. not sure how I missed it. this is more complicated then and may not be worth it


Carthage support

Added project with shared build scheme for Carthage.
Nothing else is modified.

@bkrastev thanks for the PR. Also could you please help me update the README for the Carthage part if possible?


Create kichloo_SS

Issue that this pull request solves
Closes: #145
Proposed changes
Brief description of what is fixed or changed
Types of changes
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Screenshots
Please attach the screenshots of the changes made in case of change in user interface
Other information
Any other information that is important to this pull request

Screenshot 1

Screenshot 2

Screenshot 3

Screenshot 4

@rpotter12 @priyansh19 Done the required changes.

@kichloo You haven't added a screenshot of tracking status
and also add these screenshots in the screenshots folder

@priyansh19 Can you please tell which command are you referring to?

@kichloo use wplat -wt <target_name>

And also add the installation and tracking screenshot in the folder of upstream

@kichloo Are you working on the issue? @rpotter12 I will be installing the application now for contribution purposes so, I can help with installation and other screenshots if nobody is working on it.


Fix custom add-exports and add-opens compiler args in surefire plugin

In order to compile and run tests after adding module-info.java support to Java SDK client libraries, a few custom compiler args had to be added to run the unit tests successfully. Ideally, this shouldn't be required.
Investigate and fix code to remove these custom compiler args

Not an issue as we don't want these exports and opens directive in module-info.java for tests. Resolving.


fix #38

Redrawing the prompt with (*runeBuffer).Print() was leaving the search menu visible. Fix this by clearing to the right of the prompt. This does not regress d9af567, i.e. text to the left of the prompt on the same line is not cleared.
cc @wader

When i try with example/readline-demo/readline-demo.go it seems like moving around the cursor inside a line causes everything right of the cursor to not be drawn but it seem the line buffer content is still there

Nice catch! Seems I really need to do #39 :-p
Should be fixed now. (Do you know if we make any attempt to handle right-to-left text?)


(Deprecated) Wistia playlist support is not working.

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2020.12.22
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

youtube-dl --verbose https://fast.wistia.com/embed/medias/aodt9etokc.jsonp
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://fast.wistia.com/embed/medias/aodt9etokc.jsonp']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2020.12.22
[debug] Python version 3.8.5 (CPython) - Windows-10-10.0.18362-SP0
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[Wistia] aodt9etokc: Downloading JSON metadata
ERROR: Error while getting the playlist
Traceback (most recent call last):
  File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\YoutubeDL.py", line 803, in wrapper
    return func(self, *args, **kwargs)
  File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\YoutubeDL.py", line 824, in __extract_info
    ie_result = ie.extract(url)
  File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\extractor\common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\extractor\wistia.py", line 77, in _real_extract
    raise ExtractorError(
youtube_dl.utils.ExtractorError: Error while getting the playlist

youtube-dl --verbose https://fast.wistia.net/embed/playlists/aodt9etokc
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://fast.wistia.net/embed/playlists/aodt9etokc']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2020.12.22
[debug] Python version 3.8.5 (CPython) - Windows-10-10.0.18362-SP0
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[generic] aodt9etokc: Requesting header
WARNING: Falling back on generic information extractor.
[generic] aodt9etokc: Downloading webpage
[generic] aodt9etokc: Extracting information
ERROR: Unsupported URL: https://fast.wistia.net/embed/playlists/aodt9etokc
Traceback (most recent call last):
  File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\YoutubeDL.py", line 803, in wrapper
    return func(self, *args, **kwargs)
  File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\YoutubeDL.py", line 824, in __extract_info
    ie_result = ie.extract(url)
  File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\extractor\common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\extractor\generic.py", line 3446, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://fast.wistia.net/embed/playlists/aodt9etokc

Description
youtube-dl is raising an error when used to download a playlist video. Maybe this only applies to the deprecated playlist function of Wistia, but is still out there in the wild.
All examples were given from the Wistia Playlist page and the there included playlist.

Using the page directly doesn't work (I guess that is OK.) -> Unsupported URL, maybe add generic support?
Download of the single video (cmst5825to in this case) is working properly.
The method used in #22931, using the jsonp or raw playlist referrer from source (aodt9etokc) with youtube-dl https://fast.wistia.com/embed/medias/aodt9etokc.jsonp doesn't work. -> Error while getting playlist.

Using youtube-dl wistia:aodt9etokc is raising identical error.

Using the embedded link from source https://fast.wistia.net/embed/playlists/aodt9etokc doesn't work. -> Unsupported URL (same if adding .jsonp)

From my understanding one of the last two methods ([...].com/embed/medias or [...].net/embed/playlists/ should work and I included logs for both cases. Missing piece is here, how to download the complete playlist, instead of each single video.
Could be connected to #5587, but there is more the question for the case with multiple (different) videos.

Hey @remitamine!
Wow, that was a quick fix. It fixed it for the first case. Thank you so much!
Your fix didn't fixed the usage of youtube-dl wistia:aodt9etokc. For me it is not clear, how to fix this. One would have to check for different cases and try them.
But still, you are incredible and tremendously fast!

Your fix didn't fixed the usage of youtube-dl wistia:aodt9etokc. For me it is not clear, how to fix this. One would have to check for different cases and try them.

this short form is used for single videos, so it doesn't make sense to use it for playlists as well(it's not clear if a playlist and a video can have the same ID).

Oh ok, didn't knew that. Thank you for explaining!


Missing context for on player clicks block event

PlayerInteractEvent provides for 5 action types, yet denizen modifies the event down to just 2, LEFT_CLICK_BLOCK and RIGHT_CLICK_BLOCK. Can the full event context be made available?

Uh... Nope. Look at the source code for the player clicks block event, it provides everything :)


Object Respawn appears to be Local

While Utilizing the respawn timer function, the game object seems to only return to its original position for the person who dropped it, but remains in the spot it was dropped for all other players.

Update on this, it appears that undoing the removal of the object sync script on the base object when it is made attachable seems to fix the issue, though I'm not sure what the impact on network load will be.

Having object sync on the base object will add a bunch of extra network load, yeah. I didn't find time to investigate this last weekend, but I'll try to dig into it soon - it's probably just a missing RequestSerialization() somewhere.

Should be fixed in v1.1.2, thanks for the report!


Feature Request: Enable CUDA GPU acceleration in ParallelDQNAgent

Funding: $250 USD (GitCoin link pending)
Feature: Enable CUDA GPU acceleration in ParallelDQNAgent
As a user
I want to use a CUDA GPU device to accelerate the ParallelDQNAgent's calculations.
However, this does not currently work due to a bug with CUDA running in multiple processes.
Scenario: Train a parallel agent w/ a GPU
GIVEN I have a ParallelDQNAgent (agent)
AND I am running tensortrade on a machine w/ 4+ cores and 1+ GPU
WHEN I run agent.train(n_steps=1000, n_envs=4)
THEN the agent should train 1000 steps within 4 separate environments
AND the agent should share its model between each of the 4 environments
AND the model should utilize the GPU for all possible tensorflow operations
This feature request is written using Gherkin: https://cucumber.io/docs/gherkin/reference/
For reference, please look at the ParallelDQNAgent trained in: https://github.com/tensortrade-org/tensortrade/blob/master/examples/train_and_evaluate.ipynb

hey @notadamking what do you think of the submission on the gitcoin bounty?

hey @notadamking bump on this

@notadamking if i dont hear from you by Monday, i'm going to assume you do not have an intent of compensating the contributor for their work on the bounty, and will have to squelch your gitcoin profile so you cannot post any more bounties.

@owocki I apologize for the slow response, I have had to step away to focus on another project for the time being. Though TensorTrade is still being managed by Matt and Raed. I will check out the bounty and see if it solves the issue, otherwise I will likely close all open bounties for now.

thanks for the response! i understand people move on :) let me konw where you land + how i can help

@owocki I have tried to delete my existing bounties on Gitcoin, but I cannot find anywhere to close them.

try this

go to gitcoin.co/explorer
click 'created by me'
go through each bounty and make sure you are logged into metamask (or equivilent) with your web3 wallet that funded the bounty
click 'cancel bounty' on the right hand side.
submit the txn on chain, when the txn clears you will get the bounty funds back
repeat 3-5 for each bounty

@notadamking @bbrundev any update?  this PR is still hanging https://github.com/tensortrade-org/tensortrade/pull/226

Hey, @notadamking can you please check my code, and point out any issues you may have with it. If you open a bounty please follow through with it.

hey @notadamking can you please find time to resolve this week? i understand that this isnt a priority for you anymore, so i'd recommend just paying the bounty hunters who feel left hanging & moving on.

@notadamking are you planning on paying @bbrundev for their work? https://github.com/tensortrade-org/tensortrade/pull/226

theGreatFoo paid for my work, thanks @owocki


Convert packaged jars to OSGi bundles

Use maven-bundle-plugin to add appropriate OSGi headers to jars, thus
turning them into OSGi bundles.
I would also ask you kindly to deploy a release (3.2.0 ?) on maven central with these OSGi bundle headers, which would make integration into such projects easier for everyone.
Thank you

I'm pretty unfamiliar with OSGi and OSGi-Maven best practices. Are there any downsides to this change?

Would this prevent someone who's not using OSGi from using the produced jars?
Is it possible to produce a normal jar and an OSGi jar so that someone who's not using OSGi doesn't have to worry about any extra bloat?

OSGi bundles are basically jars with some extra manifest headers. These headers contain dependency information which helps OSGi containers manage multiple versions of the same jar within the same JVM.
I don't think such precautions for producing both jars are necessary. For instance, the jsr305-3.0.1.jar used as dependency by your project does have OSGi headers. So do many pervasive libraries (e.g. guava)
I also suggested a minor version increase (from 3.1 to 3.2) to account for OSGi semantic versioning, but also to suggest to humans that these headers appeared in the 3.2.x series.
To detail this even further: code importing code from this bundle will use by default a range of [3.2,4) (meaning any version including 3.2 onwards until, but excluding version 4). Releasing headers in version 3.1.2 will lead to an automatic range [3.1,4), which includes non-OSGI versions 3.1.0 and 3.1.1. It's not that you cannot specify 3.1.2 manually, it's just that most people won't realize they have to.

I just released v3.2.0. It should be available in Maven central shortly.

Thank you. I just bumped to this release and all works fine.


Add import for cv2

cv2 was imported within only one function.
Other functions that were using cv2 were not working.

thanks!


Open Modelica download Corrupted file

OpenModelica-v1.10.0-dev-440-gd0581ff-64bit is unreadable or corrupted

I am also getting this error.

@CThuleHansen: the problem is that we generate new executables and then we remove older ones.
Do you support pointers to files without giving a md5 hash? I want to create a link to a file that changes.

@adrpo when you create new executable just update the json with the new md5?

@CThuleHansen: yes, i will do that. Which is the latest json for the INTO-CPS app? 0.0.12.json or do you have something else for the developer version?

Guys, are we sure it's a great idea to change executable without changing the bundle version?
@adrpo 12 is the latest release. 13 is already up in the development version

@ldcouto: you're right, but the problem is that the OM installer that 0.0.12 is pointing to is no longer available. From now on I will try to save aside the OM installers pointed by the INTO-CPS someplace for storage. I will update 0.0.12 and 0.0.13 with the needed installers.

Great, thanks Adrian.
If it's too much work to save the installers, I think you can also remove them from the json entries. As long as the latest bundle has a valid download link, it should be fine.

The fix for 0.0.12 is in the PR here:
https://github.com/into-cps/into-cps.github.io/pull/8
where is the 0.0.13 json so I can fix that too?

Switch to development branch, then you'll find it

ah, OK

Closing this. Further work can be tracked on the PRs in the io repo.
@adrpo , thanks for quickly sorting this out.

Fixed also the "development" branch with:
https://github.com/into-cps/into-cps.github.io/pull/9


[GOBBLIN-1960] Emit audit count after commit in IcebergMetadataWriter

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-XXX

Description

[x] Here are some details about my PR, including screenshots (if applicable):

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report
Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (50b6ca9) 47.53% compared to head (aa7ab41) 46.09%.
Report is 12 commits behind head on master.

Files
Patch %
Lines

.../gobblin/iceberg/writer/IcebergMetadataWriter.java
90.38%
2 Missing and 3 partials :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3833      +/-   ##
============================================
- Coverage     47.53%   46.09%   -1.44%
+ Complexity    11027     2181    -8846
============================================
  Files          2156      416    -1740
  Lines         85345    17989   -67356
  Branches       9487     2194    -7293
============================================
- Hits          40566     8292   -32274
+ Misses        41080     8814   -32266
+ Partials       3699      883    -2816

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


DRAFT: Add cmd/ibctest to provide a test binary

This builds on #25 to demonstrate how to provide a go test-built binary, as opposed to providing a standalone binary that kind of acts like go test.
I personally have a strong preference for this approach, as it would enable us to use the existing utilities around go test while still controlling runtime parameters of which relayer and which chains to run in test. For instance, when using the matrix configuration file, we can rely on the default go test parallelism to run as many tests as you have CPU cores; or if that proves too taxing on your system, you can provide the -test.parallel flag.
This DRAFT change is being proposed as work on top of #25, but if we choose this route, a fair portion of the code added in #25 would be removed.
(original commit message follows:)

There would be a bit of remaining work to get this production-ready.

Remove the existing cmd package?
Port the remaining ibc.IBCTest tests to the relayertest package
Add a Makefile to build the ibctest binary
Fix the moniker-too-long error instead of working around it
Support custom chain factories instead of just the builtins

I personally have a strong preference for this approach

+1
I think this is a great idea to produce a test binary to leverage all of Go's builtin test features.
I pulled this branch down and tried it. Worked great!
My only question is related to the community. Can we break existing clients in favor of this new, test binary command line interface? I don't think we'd want to support both paths - test binary vs. the old way. So it would be nice to deprecate and delete the old way.
Great work here.

I personally have a strong preference for this approach

I also agree.

My only question is related to the community. Can we break existing clients in favor of this new, test binary command line interface? I don't think we'd want to support both paths - test binary vs. the old way. So it would be nice to deprecate and delete the old way.

This framework is brand new, so I am in favor of ditching the existing CLI for this approach to avoid things like the hardcoded mapping of test name to test function.
We can build out the matrix file or test flags to support everything that the current test custom command supports and we shouldn't lose any functionality.


Run on Raspberry pi zero but get two same contents in one frame

Hello, i compiled this project and run it on my raspberry pi zero system, and then it display as two same picture at the same time.
Hardware and System is as below:
Hardware: Raspberry Pi Zero W Rev 1.1
OS: Raspbian GNU/Linux 11 (bullseye) armv6l
Kernel: 5.15.84+
The display is a 240x240 TFT screen which displays the /dev/fb0 content by the fbtft repo, so it should work as a laptop display.
I also compiled this project on my ubuntu laptop, which is work well as this blog(https://blog.lvgl.io/2018-01-03/linux_fb).
So does anyone know the difference, thanks!

Oh, i figure it out! I changed the LV_COLOR_DEPTH to 16 from 32 in lv_conf.h which is the reason. After write LV_COLOR_DEPTH=32 the display is work well.
This issue have been solved! Best wishes.


[api-docs] Add stage channels to COMMUNITY description

A new commit was made into the api-docs repo. This issue was created automatically. Need to review if we made any change to the library for this commit.
https://github.com/discord/discord-api-docs/commit/2ae38d58395e9cb77ed134ac084722f9e2c70bf1

ncn


Is the generated sound visually aligned?

Hi,
First of all, congrats and really great work! While there are lots of audio examples, I haven't found any examples with videos so it is hard to tell. Since you have compared with RegNet which claimed to generate Visually Aligned Sound from Videos, I am just curious whether this work can also achieve that. Thank you.

Hi. Thanks!
I think there is a little misunderstanding. We focused on generating visually relevant sounds, which does not imply alignment. We selected RegNet because it exhibits alignment and, therefore, relevance making it state of the art for both. RegNet is a great idea and very relevant to our topic, leaving it without comparison would not be decent towards the authors.
Regarding the alignment with SpecVQGAN. I think in general it does not support the alignment and I hope we never claimed that it does. I think adding this ability to the model would make a great contribution and I am looking forward to seeing it!

I see. no worry, I am just curious about that and I am trying to identify my own project. Thanks a lot!


I can't use your products in China.

I encountered this problem when I run demo：
failed to connect to sdk-backend.appspot.com/<IP_ADDRESS> (port 443) after 10000ms

Sorry for the inconvenience, we improved our versions, this issue was fixed. #9


Tutorials use a mix of yarn and npm instead of just sticking with one

In https://facebook.github.io/react-native/docs/getting-started.html it uses npm, but in https://facebook.github.io/react-native/docs/integration-with-existing-apps.html, it uses yarn. At least for me, a relative newcomer to JS, I find this confusing. Does yarn have a similar "yarn start" capability? Does mixing two package managers in a single project cause any issues? It would be great to have all the tutorials use a single package manager.

Have also witnessed the same.
I would like to work on it if it's up for grabs.
I guess we should stick to yarn instead of npm, right?

I'll create a pr for this!

Technically it's up to you, the developer. We try to be technology agnostic. We could go with one or the other—or use both!

I think it'd make sense to clarify that then - especially because a lot of devs coming to react native are more mobile than js, and don't know much about yarn or npm


removed causal-ml from poetry setup instructions

During december this option was removed from the pyproject.toml. As the current instruction throws an error, it might discourage unexperienced first-time contributors from pursuing, hence the clean up.
Signed-off-by: Michael<EMAIL_ADDRESS>

thanks for this fix @MichaelMarien


should we advise users to concat multiple replicates of input?

based on recent discussion with @kopardev and Phil.
currently most of our example sample sheets do not do this.

yes #210


Issues #5 #6

some doc
added issues #5, 6 funcs (sql_get_user_with_namePass, sql_get_user_with_id)
updated SQLInteract:
3.1) point 2)
3.2) sql_update_one_by_id was been small reworked. now, update_value can be str (previously, it sometimes gave an error)
3.3) generate_dict (makes get return a dictionary and not a tuple)
user.py (simple minor funcs)

resolves #5
resolves #6

@IlyaM1 ну что, иди ревьюй

Good, I am accepting merge


fix(#240): fix transaction signature history order

Description:
Fix transaction signature order.
Fixes #240

lgtm, but fix the test first

[ ] revert test disable


Write a Julia program to convert string to pascalcase

Description
Write a Julia program to convert string to pascalcase
Pascalcase is a style of writing in which the first letter of each word is capitalized.
Input  : "hello world"
Output : "HelloWorld"

How to contribute

Save the solution in program/convert-string-to-pascalcase.jl file
Add convert-string-to-pascalcase.jl file in convert-string-to-pascalcase folder

!assign


The connection is really slow on react-native (ios)

For some reasons, it takes a long time for my react-native app to connect to firebase (i.e. receives the first event). Once the connection has been made, any subsequent events are triggered correctly with close to no latency.
Is there a reason why that would happen? (for example, Heroku sends dyno to sleep if no one uses them and spins them up when someone tries to access it. This means the first connection often takes much longer than the subsequent one)

Could you provide some evidence demonstrating what "a long time" means, and offer a minimal repro that we can use to test? Output from Firebase.enableLogging(true) would be very helpful.

It would also help to know if this is specific to heroku and, if so, why react native is involved in the equation.

@katowulf it has nothing to do with Heroku and all to do with react-native.
I was just trying to give an example of a service that can be very slow on the first connection and then very fast on subsequent ones.

What version of React Native are you using? With 0.15, the React team released a bunch of new websocket fixes which may improve the situation. Likewise, maybe something they implemented made the situation worse. The output from turning on Firebase.enableLogging(true) at the beginning of your app will be useful for us. Without that, there's not a ton we can do to help.
Also, note that I'm making this with the invalid tag since this is a Firebase problem, not a ReactFire problem. I realize you probably just had no better place to post it. Our Google Group or<EMAIL_ADDRESS>are good places to do so in the future.

I was using React-Native post 0.15. Will check it again and raise the issue again against the right outlet if possible.

@olivierlesnicki - Did you have a chance to look into this again? I'm not sure if you opened the issue on a separate forum. If you did, please post a link to it here.
Ultimately, this is not a ReactFire issue, so I'm going to close it. There may in fact be an issue on our end, but that would be in the Firebase SDK itself. If you have more details to help us track this down, please reach out to our Google Group or<EMAIL_ADDRESS>


Add a rails db:create equivalent

Feature Request
Is your feature request related to a problem? Please describe.
It is not. Well, it just makes the job of creating the application's database easier, but as discussed in #102, this doesn't seem to be common practice among frameworks but rather something unique to Rails and Phoenix. So it's not a problem because there are many ways to achieve this without a framework included command. But it is because we all like that easy setup experience right?
Describe the solution you'd like
I'm new to Rust and loco, so I'm just going to write this as if it were like in Rails.
I'd like to be able to create my app, set my preferred db, username and password and just run:
loco db:create

And I would have my database.
Describe alternatives you've considered
The alternative seems to do things separately, as many frameworks do. As for different implementations, given my inexperience with Rust, can't say I've made much headway in that regard, but I do want to learn, so I'm willing to help out any way I can.

Looks good. @mateusdeap  is this something you'd like to try and implement?

Fine by me although I think I'd need some guidance and some time to figure things out. Since we do have other tasks in loco, like new, any place in the codebase I should look for reference? Any docs on how these commands are written?

Cool, let's try step by step.
Setting up a dev env

Clone the project, and try your first cargo test in the root of the project
Next, cd examples/demo. This is a "driver app" we use to test out new features, it directly references the local framework (../../)
in examples/demo try your first cargo test. if it fails, make sure you have:
Redis running (can be a local redis or Docker based)
Postgres running (can be local or Docker based)
Open config/test.yaml and look for the connection strings, see that you're good
Once you have a passing test, you're ready to go.

Adding the db:create feature: the wiring

The work you'll do will probably end up here: https://github.com/loco-rs/loco/blob/master/src/db.rs
Now we want to (1) expose a new command (2) add the logic in db.rs
Exposing a new command would be done here: https://github.com/loco-rs/loco/blob/master/src/cli.rs#L153 (make sure to also update other enums referencing this enum)
Running a command: https://github.com/loco-rs/loco/blob/master/src/boot.rs#L193

Adding an actual logic to create a database

This is how its done in rails: https://github.com/rails/rails/blob/main/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb#L22 so basically composing a DDL SQL statement and finding a connection to run it -- is all we need
You get a connection in almost every function, you can copy this: https://github.com/loco-rs/loco/blob/master/src/db.rs#L85
To execute raw sql, start here: https://www.sea-ql.org/SeaORM/docs/next/basic-crud/raw-sql/#execute-unprepared-sql-statement

Notes:

We support postgres and sqlite. For sqlite there's no need to createdb.
How do you know you're in Postgres? you can match on DatabaseConnection and look for the SqlxPostgresPoolConnection variant

Thanks! Will give it a shot as soon as I can

@jondot Sorry for letting this hang. I got really busy with end of year activities and such that I just didn't have enough free time to work on this despite me saying so.
@kaplanelad Thanks a lot for the PR and the feature!


HAProxy Stats Page as easy to configure option

Allow (as option, not by default) HAProxy Stats Page https://www.haproxy.com/blog/exploring-the-haproxy-stats-page/.
This maybe also will be the start of have some types of apps that are mean to be for internal use, and not the alb_apps array

ALB v0.5.0-alpha already have a MVP for implement HAProxy Status page.
Here some example of configuration
- name: "ap-application-load-balancer playbook example (complex)"
  hosts: my_complex_hosts
  remote_user: root
  vars:
    alb_name: "MyALBName/2.0"
    alb_forcedebug: yes

    alb_haproxy_stats_enabled: yes

    alb_superuser_auth:
     - username: Admin1
       password: "plain-password"
     - username: Admin2
       password: "plain-password2"
    alb_superuser_ip: <IP_ADDRESS>
    # alb_superuser_autodiscoveripnull: yes Not implemented yet

The passwords can be saved encrypted on yaml playbooks using Ansible Vault (see https://docs.ansible.com/ansible/latest/user_guide/playbooks_vault.html) but the underline application still need plain passwords to work with less configurations


Fixing bug #1486

This PR fix #1486

Coverage increased (+0.003%) to 97.171% when pulling 144081c4a735e1b606615440121c9df65a277d3c on rburdet:fix/omit-with-no-array into 5ab8ddd87286a3b04af51400e353cc270ecc6cb4 on Vincit:master.

Coverage increased (+0.003%) to 97.171% when pulling 144081c4a735e1b606615440121c9df65a277d3c on rburdet:fix/omit-with-no-array into 5ab8ddd87286a3b04af51400e353cc270ecc6cb4 on Vincit:master.

Tests are failing only in node 12 because of

   UpsertGraph deletes rows for relation which is not mentioned in graph #1455

Do you have any hints on this ?

Thank you !


feat: Adding SaaS env. wrappers and change api version

Add function "Get-BcEnvironmentsUsedstorage"
Add function "Get-BcEnvironmentsOperations"
Add function "Get-BcEnvironmentsAvailableRestorePeriods" Add function "Copy-BcEnvironment"
Add function "Rename-BcEnvironment"
Add function "Restore-BcEnvironment"
Modified functions "Remove-BcEnvironment" and "New-BcEnvironment"

Changed checking for completion by the environment operations
Changed URL link to documentation Modified function "Get-BcEnvironments"
It can return only one selected environment
Changed URL link to documentation

@microsoft-github-policy-service agree company="Navisys s.r.o."
From: microsoft-github-policy-service[bot] @.>
Sent: Friday, January 27, 2023 8:41 AM
To: microsoft/navcontainerhelper @.>
Cc: Zdeněk Fridrichovský @.>; Mention @.>
Subject: Re: [microsoft/navcontainerhelper] feat: Adding SaaS env. wrappers and change api version (PR #2875)
@fridrichovskyhttps://github.com/fridrichovsky please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
Contributor License Agreement
Contribution License Agreement

This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttp://www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/navcontainerhelper/pull/2875#issuecomment-1406128894, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANMNONJEQCKJOPJN55HYZMTWUN3XXANCNFSM6AAAAAAUIMLPGM.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hello @freddydk,
I do not know how works contributing, because I do it first time to your project. I don't know if I did everything necessary for proper contributing.
If I did it I would like ask you if you have some time plan for implementing or if you send feedback for refactoring or that you do not want sended changes. I do not know If I can send changes as I did or If I have to create some issues before.
I sent you new function and have some small fixes also so I do not know if I can do it this way.
Thank you for your answer.

Hello @freddydk, I do not know how works contributing, because I do it first time to your project. I don't know if I did everything necessary for proper contributing. If I did it I would like ask you if you have some time plan for implementing or if you send feedback for refactoring or that you do not want sended changes. I do not know If I can send changes as I did or If I have to create some issues before.
I sent you new function and have some small fixes also so I do not know if I can do it this way.
Thank you for your answer.

Thanks - I just need a little time to review and comment - hope to get that next week.

This is now part of the latest pre-release


Replace RemoveAll with Remove

Solves #2069
Works around https://github.com/dotnet/corefx/issues/20609

@dotnet-bot test Windows_NT Build for Full please

@dotnet-bot test Windows_NT Build for Full please

@dotnet-bot test Windows_NT Build for Full please


  We should find a way to send the correct signal.
@beamcodeup Any idea on a good way to parameterize this so it works correctly for both the server and the worker?

https://github.com/google/turbinia/blob/master/tools/turbinia%40.service
Which signal does the server need to be killed?
Change the value of KillSignal to SIGTERM and let me know if that works.

@beamcodeup, Yeah, if I change it to SIGTERM, that does work for killing the worker, but that means that we have to copy this to a separate template file if a worker is running on the same machine as the server.   We could change it to SIGTERM for both, but I was just wondering if there was an easy way to have it send the correct signal depending on which service it is.  For some reason I thought we had it working that way at some point.

Closing this since the psq library handles this properly when running the python3 version.


Overload array

Followup from https://github.com/numba/numba/pull/4475

I'm hoping to pick this up again within the next 6 to 12 months.

I tried to rebase this today, but that didn't go well. numba/targets/arraymath.py has moved to numba/np/arraymath.py. Perhaps a merge of main will work better in this case. It still ends up with some nasty conflicts however.

I will close this now as I no longer intend to complete this.


3D buildings on map

Thanks for the PR, but we're going to close for now. I drove on it and felt it was more distracting than helpful.
FYI, UI/design changes like this are generally harder to get merged than most PRs (like bugfixes). Feel free to keep trying though; the process you followed on this one is probably the best way to get this stuff considered: try something out, post for feedback on Discord, open clean PR.

Agreed, it's a little gimmicky and it was mostly just for fun! It was interesting to learn about the mapbox gl and I also fixed 2 bugs along the way!


v3.0.0: Add v2 token support for single-tenant applications, add multi-tenant support.

Multi-tenant support:

Support for multi-tenant applications
Takes a coroutine to fetch valid iss for given tid

Single-tenant features:

Support for v2 tokens for single-tenant applications

Removal:

allow_guest_users setting is removed. This can be done in Azure AD instead. (Also removal of GuestUserException)

Other:

User object is reworked, and now also contains the access_token for easier Azure Graph implementation
Add support for denying requests with wrong scopes, when Securiy() is used (instead of Depends())
Add SECURITY.md
Relax aiohttp requirement
Move InvalidAuth to exceptions.py
Add role check example in demo project
Add iss fetcher example in demo project
No longer inheriting OAuth2AuthorizationCodeBearer, solving mypy errors.
Rename provider_config.py to openid_config.py and ProviderConfig() to OpenIdConfig()
Removal of pre-instance of provider_config due to OpenAPI authorization URL issues. This is now instanced on SingleTenantAzureAuthorizationCodeBearer or MultiTenantAzureAuthorizationCodeBearer.

Tests:
Done
TODO:

[ ] Documentation needs full rewrite
[x] Tests for multi-tenant (base)

[x] Tests for all multi-tenant settings

[x] Test for openid_config app_id
[x] Change callable check into a coroutine check (asyncio.iscoroutinefunction(iss_callable))
[x] Tests for scopes check, using Security()

Closes:
#13 #14

98% codecov again :sweat: Multi-tenant is tested, but only "best case" flow.
Conflicting settings for multi-tenant not tested.

:100: % codecov, and all scenarios tested.
I've changed a lot of code without testing towards Azure AD, so I might be off on some URLs for fetching openid config. I'll set up real apps for single-tenant (v1 and v2 token version) and multi-tenant this week just to be sure.


Missing line continuation in radiation_spartacus_sw.F90

Parsing with loki just fell over because of a missing line continuation, so I figured might be worth submitting a patch.

Thanks!!! I'm surprised this even compiles, but the fact that it does (and seems to give the same results) suggests the Fortran compilers tested allow continuation characters on either or both of the two lines, which I didn't know.


LSP server doesn't provide/update diagnostics for fix_data.yaml or pubspec.yaml, nor report diagnostics for fix_data/**.yaml

Split from #52108.

[ ] In lib/fix_data.yaml, diagnostics are not updated as you type
[ ] In pubspec.yaml, diagnostics are not updated as you type
[x] In lib/fix_data/foo.yaml there are no diagnostics at all, even when saving
https://dart-review.googlesource.com/c/sdk/+/296801

Ah, good point. Shall we close this then now https://github.com/dart-lang/sdk/commit/bbacf39e9c1085650b5f2a180285792ad0dd76d9 has solved the other issue? Or keep it open as a future enhancement?
It's probably not a priority, but the current behaviour does feel a bit odd in VS Code (because it's not obvious this is what's happening).

Unless we think that we're going to (a) verify whether the behavior is reasonable and/or (b) improve the behavior of the parser, I don't think we're going to implemented analysis-as-you-type for YAML files. While it would be nice to have, supporting YAML files is never going to be as high a priority as supporting Dart files. But we can leave it open for community contributions.


test-sandbox-0.1.0 versus GHC 7.8.4

Do you think it would be possible to make this package depend on transformers-compat instead of transformers directly in order to enable builds with pre 0.4.x versions of the library such as shipped by GHC 7.8.4?

Thank you for telling me.
You say build error of http://hydra.cryp.to:8080/build/558796/nixlog/1.
Changing the package dependency is possible. I think I should do it.

The modification is done.
https://github.com/gree/haskell-test-sandbox/pull/12

Very cool, thank you for the quick response! We'll update our build in NixOS once the new version becomes available from Hackage.

Upload to hackage.
https://hackage.haskell.org/package/test-sandbox-0.1.1
I will try to use NixOS.

I tried building the latest version, but unfortunately the build fails with the following error:
Configuring test-sandbox-0.1.1...
Warning: 'hs-source-dirs: dist/build/autogen' directory does not exist.
Dependency QuickCheck -any: using QuickCheck-2.7.6
Dependency base ==4.*: using base-<IP_ADDRESS>
Dependency bytestring -any: using bytestring-<IP_ADDRESS>
Dependency cereal -any: using cereal-<IP_ADDRESS>
Dependency containers -any: using containers-<IP_ADDRESS>
Dependency data-default -any: using data-default-0.5.3
Dependency directory -any: using directory-<IP_ADDRESS>
Dependency filepath -any: using filepath-<IP_ADDRESS>
Dependency hastache -any: using hastache-0.6.1
Dependency heredoc -any: using heredoc-<IP_ADDRESS>
Dependency hspec -any: using hspec-2.1.4
Dependency hspec-expectations-lifted -any: using
hspec-expectations-lifted-0.5.0
Dependency lifted-base -any: using lifted-base-<IP_ADDRESS>
Dependency monad-control -any: using monad-control-<IP_ADDRESS>
Dependency monad-loops -any: using monad-loops-<IP_ADDRESS>
Dependency mtl -any: using mtl-<IP_ADDRESS>
Dependency network -any: using network-<IP_ADDRESS>
Dependency process -any: using process-<IP_ADDRESS>
Dependency random -any: using random-1.1
Dependency random-shuffle -any: using random-shuffle-0.0.4
Dependency regex-posix -any: using regex-posix-0.95.2
Dependency template-haskell -any: using template-haskell-<IP_ADDRESS>
Dependency temporary -any: using temporary-<IP_ADDRESS>
Dependency test-sandbox -any: using test-sandbox-0.1.1
Dependency text -any: using text-<IP_ADDRESS>
Dependency transformers >=0.2 && <0.5: using transformers-<IP_ADDRESS>
Dependency transformers-base -any: using transformers-base-0.4.4
Dependency transformers-compat >=0.3 && <0.5: using
transformers-compat-<IP_ADDRESS>
Dependency unix -any: using unix-<IP_ADDRESS>
/nix/store/h9y83q2whbqxigp8p83iqqcahs11bhig-ghc-7.8.4/bin/ghc --info
Using Cabal-<IP_ADDRESS> compiled by ghc-7.8
Using compiler: ghc-7.8.4
Using install prefix:
/nix/store/y8w3wd124rm1mjcnldw5m6z9h4849kr7-haskell-test-sandbox-0.1.1
Binaries installed in:
/nix/store/y8w3wd124rm1mjcnldw5m6z9h4849kr7-haskell-test-sandbox-0.1.1/bin
Libraries installed in:
/nix/store/y8w3wd124rm1mjcnldw5m6z9h4849kr7-haskell-test-sandbox-0.1.1/lib/ghc-7.8.4/test-sandbox-0.1.1
Private binaries installed in:
/nix/store/y8w3wd124rm1mjcnldw5m6z9h4849kr7-haskell-test-sandbox-0.1.1/libexec
Data files installed in:
/nix/store/y8w3wd124rm1mjcnldw5m6z9h4849kr7-haskell-test-sandbox-0.1.1/share/x86_64-linux-ghc-7.8.4/test-sandbox-0.1.1
Documentation installed in:
/nix/store/y8w3wd124rm1mjcnldw5m6z9h4849kr7-haskell-test-sandbox-0.1.1/share/doc/x86_64-linux-ghc-7.8.4/test-sandbox-0.1.1
Configuration files installed in:
/nix/store/y8w3wd124rm1mjcnldw5m6z9h4849kr7-haskell-test-sandbox-0.1.1/etc
No alex found
Using ar found on system at:
/nix/store/dg0dxjgg1f9z7n1q9mhpdw8bvygj07a8-binutils-2.23.1/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.8.4 given by user at:
/nix/store/n05yl6h88css26y9s778fs62zd45qmkf-gcc-wrapper-4.8.4/bin/gcc
Using ghc version 7.8.4 found on system at:
/nix/store/h9y83q2whbqxigp8p83iqqcahs11bhig-ghc-7.8.4/bin/ghc
Using ghc-pkg version 7.8.4 found on system at:
/nix/store/h9y83q2whbqxigp8p83iqqcahs11bhig-ghc-7.8.4/bin/ghc-pkg
No greencard found
Using haddock version 2.14.3 found on system at:
/nix/store/h9y83q2whbqxigp8p83iqqcahs11bhig-ghc-7.8.4/bin/haddock
No happy found
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/h9y83q2whbqxigp8p83iqqcahs11bhig-ghc-7.8.4/bin/hpc
Using hsc2hs version 0.67 found on system at:
/nix/store/h9y83q2whbqxigp8p83iqqcahs11bhig-ghc-7.8.4/bin/hsc2hs
Using hscolour version 1.20 found on system at:
/nix/store/4acyx5zypmdimav6w4qsq8ydh12h2kdd-hscolour-1.20.3/bin/HsColour
No hugs found
No jhc found
Using ld found on system at:
/nix/store/n05yl6h88css26y9s778fs62zd45qmkf-gcc-wrapper-4.8.4/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using ranlib found on system at:
/nix/store/dg0dxjgg1f9z7n1q9mhpdw8bvygj07a8-binutils-2.23.1/bin/ranlib
Using strip found on system at:
/nix/store/dg0dxjgg1f9z7n1q9mhpdw8bvygj07a8-binutils-2.23.1/bin/strip
Using tar found on system at:
/nix/store/l667qns5jf6ww9dcvldj8gqffd21bxkj-gnutar-1.27.1/bin/tar
No uhc found
building
Building test-sandbox-0.1.1...
Preprocessing library test-sandbox-0.1.1...

src/Test/Sandbox/Internals.hs:17:8:
    Could not find module ‘Control.Monad.Except’
    Perhaps you meant
      Control.Monad.Loops (from monad-loops-<IP_ADDRESS>)
      Control.Monad.Cont (from mtl-<IP_ADDRESS>)
      Control.Monad.Error (from mtl-<IP_ADDRESS>)
    Use -v to see a list of the files searched for.

Thank you for testing build and sorry for not fixing this error.
I want to test building this package.
How can I lauch development environment easily?
Is there NixOS on docker?

I have no practical experience with docker, though, so I don't know much about it, but I'm pretty sure that a docker image exists.

I found root cause of above error.
When mtl is lower than 2.2.1, Control.Monad.Except does not exist.
So I modify test-sandbox package to use Control.Monad.Error when mtl is lower than 2.2.1.
Latest test-sandbox is 0.1.2.
I think it is ok, but I do not check this on nixos.
(I am studying nix and nix-expression on vagrant.)


Recruiting additional maintainers for OCaml

We're about to start a big push towards version 3 (v3) of Exercism. This is going to be a really exciting step forward for Exercism, with in-browser coding, new Concept Exercises with automated feedback, improved mentoring and much more.
This to be a big community effort, with the work spread out among hundreds of volunteers across Exercism. One key thing is going to be each track having enough maintainers who have the time to manage that community effort. We are therefore putting out a call for new maintainers to bolster our numbers. We're hoping that our existing maintainers will be able to act as mentors to the newer maintainers we add, and take on a parental role in the tracks.
If you are an existing maintainer, could you please reply to this letting us know that you think you'll have time (2-3hrs/week) to help with this over the next 6 months. If you won't have that time, but still want to be a maintainer and just help where you can instead, please tell us that too. If you have come to the end of the road as a maintainer, then we totally understand that and appreciate all your effort, so just let us know.
For anyone new who's interested in becoming a maintainer, thanks for your interest! Being an Exercism maintainer is also a great opportunity to work with some other smart people, learn more about your language of choice, and gain useful skills and experience that are useful for growing your career in the technical leadership direction. Please write a comment below introducing yourself along with your Exercism handle, and telling us why you're interested in becoming a maintainer, and any relevant experience. We will then evaluate every application and contact you using your exercism email address once we have finished the evaluation process.
Thank you!
See also https://github.com/exercism/exercism/issues/5161

Existing (passive) maintainer, will not lead development of exercises, but will review PRs if necessary.

👋 Existing maintainer here! I can do 1hr a week in my current situation. Might be able to arrange for something with my employer to scale this up.

Having 1 hour a week from you would be excellent, @marionebl!
Since a new volunteer emerged in exercism/sml#125, I aired my old idea of syncing the ML tracks.
That is, use the same skeleton across all three language tracks and deviate when we care.

Hi, I'm interested in helping to maintain the OCaml track. My Exorcism handle is tjade273.
I was a TA for three semesters for Cornell's CS 3110, an introduction to functional programming and data structures in OCaml. This included holding weekly discussion sections for the course, grading assignments and exams and writing problems for the exams.
I can contribute 3 or so hours a week to building out exercises and infrastructure, plus a couple hours of mentoring.
Looking forward to helping out!

Hi @tjade273. Thanks! Would you mind emailing<EMAIL_ADDRESS>please, and @ErikSchierboom will get you set up :)

Hi @tjade273. Thanks! Would you mind emailing<EMAIL_ADDRESS>please, and @ErikSchierboom will get you set up :)

We're closing this issue as it was part of our push to implement the v3 version of this track and v3 has just been released.
New maintainer are always welcome though!


Apk size reduce about 20M when just do decode then build

apktool version: 17.0.4
operate system: mac
java version: 17.0.4
I got apk size reduce when just run decode and build. Is there some params missing?

Not from what I see.
I do have a little FAQ for this - https://apktool.org/docs/faq#resulting-apk-file-is-much-smaller-than-original-what-is-wrong
Since I don't see any way to investigate further - I'm closing this.


Custom domain not allowed

Custom domain not allowed

Could you provide more information? For example, could you provide a direct link to the documentation?

I'd like to replace www.openai.com with my own domain, www.mydomain.com. I have set up www.mydomain.com as an AI Gateway, directly pointing to OpenAI's servers.

I'd like to replace api.openai.com with my own domain, www.mydomain.com. I have set up www.mydomain.com as an AI Gateway, directly pointing to OpenAI's servers.

struct OpenAIEnvironmentV1: BaseEnvironmentType {
var url: String = "https://api.openai.com/v1/"
}
We need to make this interface public to allow for customization. One reason is that the API structures of many other companies' large models are similar to that of OpenAI, making them compatible with OpenAI. This way, we can simply modify the domain name to use them.
需要公开这个接口，让我们自定义。一个原因是现在很多其他公司的大模型api跟 OpenAI 语法结构一样，兼容OpenAI ，这样我们修改一下域名就可以使用。


Build distribution for amd64 and aarch64 MacOS

Possible after the GraalVM upgrade.

@mwu-tow What is the status of aarch64 MacOS runners on GH? Can they be used now? If I understand correctly, this PR should be able to produce distributions for MacOS aarch64. But we first need to try and build that natively on some aarch64 runner.

@mwu-tow What is the status of aarch64 MacOS runners on GH? Can they be used now? If I understand correctly, this PR should be able to produce distributions for MacOS aarch64. But we first need to try and build that natively on some aarch64 runner. Moreover, are there any other issues that block us from distributing Enso in aarch64?

The Mac runners we use in GitHub are ARM64 machines.


Rename master branch to main

https://github.com/github/renaming

Closing as the default branch is now main


404 error on NTP server information link

[Enter feedback here]
For more information on available NTP Servers, see KB 262680, A list of the Simple Network Time Protocol (SNTP) time servers that are available on the Internet
KB262680 and the link provided both lead to a 404 not found page. Usually this page is in Finnish (I'm starting from a US English page).

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

ID: 1d09b16e-4bbb-91fa-3d84-e7623ec4dc07
Version Independent ID: b6eadad5-0167-34b6-ed3a-16fa7ee83c60
Content: Windows Time service tools and settings
Content Source: WindowsServerDocs/networking/windows-time-service/Windows-Time-Service-Tools-and-Settings.md
Product: windows-server
Technology: networking
GitHub Login: @Teresa-Motiv
Microsoft Alias: v-tea

https://www.bing.com/search?q=KB+262680&form=QBLH&sp=-1&pq=kb+262680

https://mskb.pkisolutions.com/kb/262680
https://web.archive.org/web/20190919034219/https://support.microsoft.com/en-us/help/262680/a-list-of-the-simple-network-time-protocol-sntp-time-servers-that-are
https://support.microsoft.com/en-us/topic/how-to-configure-an-authoritative-time-server-in-windows-server-39bdd409-960f-7726-4458-c77bc3a0ef72

Microsoft has removed a lot of KB articles, sometimes because they are heavily outdated and only intended for Windows Server 2000 / 2003 / 2008 (no longer supported OS versions).
You may want to check out these pages too:

https://en.wikipedia.org/wiki/Network_Time_Protocol
https://timetoolsltd.com/information/public-ntp-server/
https://www.ntppool.org/en/

To be honest, NTP is not supposed to be difficult these days, it is mostly point-and-click by typing in a new name, if time.windows.com is not enough for you.

Oh right. About the link: I am fairly sure we can just remove the sentence where the link is placed and referenced, so it does not continue to increase the number of disappointed users who would like to see what that KB article is about.

Investigated--this link actually appears twice in the file, and has probably never worked. The article exists, but it's internal-only content. I'll start a change order on the doc.

Thank you for keeping us informed. The disappearing content has kept me pondering a lot about what happens to outdated Microsoft documentation and the bottomless bit buckets of the internet.

I've created a PR on the internal repo to fix this issue. I'm not able to link the PR directly to this issue, but the PR number is 1471.

👍🏻 Thank you. I am aware of the internal repo for the MS Docs team members, and also why it is not useful to link anything from it for other users. 🙂

Fix has been published from the internal repo; public page has been updated.


Incompatible with v2 management endpoints

Bug Report
Describe the Bug
As of v0.1.0 of the EDC Connector the v1 management api endpoints were removed. The DataDashboard relies on the removed endpoins and is thus not compatible with the newest versions of the connector.
Expected Behavior
DataDashboard should function the same with newer versions of EDC as before.
Steps to Reproduce
Steps to reproduce the behavior:

Start DataDashboard with a EDC connector version >=v0.1.0
Observe that DataDashboard cannot retrieve information from management api

Context Information

Used EDC Connector v0.1.2 from the eclipse-edc/MinimumViableDataspace repository

Possible Implementation
Many of the possible depreciated endpoints used are marked as depreciated in openapi/management-api.yaml

Is there any plan for when to expect the update?
Because currently the MVD cannot be used interactively with the dashboard, because it uses EDC connectors with the Management API v2.

If no update is available here. Maybe its worth to have a look at our (sovity's) Community Edition EDC. We are currently migrating our UI to Core EDC v1.0.x: https://github.com/sovity/edc-ui

Is @paullatzelsperger able to review this pull request to resolve this issue?


Support Dynamic Routes with Next v12 (Cannot find module 'next/dist/server/normalize-page-path')

hello, i have this error :
Test suite failed to run

    Cannot find module 'next/dist/server/normalize-page-path' from 'node_modules/next-router-mock/dist/dynamic-routes/extensions-11.1.js'

    Require stack:
      node_modules/next-router-mock/dist/dynamic-routes/extensions-11.1.js
      components/Breadcrumb/__tests__/BreadcrumbActu.test.js

      at Resolver._throwModNotFoundError (node_modules/jest-resolve/build/resolver.js:491:11)
      at Object.<anonymous> (node_modules/next-router-mock/src/dynamic-routes/extensions-11.1.ts:9:1)

My version of next.js : "12.1.6"

I see.  The "dynamic-routes" feature depends on some Next internals, and the path changed between v10 and v11, and now I assume again with v12.
Some quick research shows me they might have moved the file to next/dist/shared/lib/page-path/normalize-page-path ...
Until a proper fix is in place, you might be able to workaround the issue by adding this to your test:
jest.mock('next/dist/server/normalize-page-path', () => require('next/dist/shared/lib/page-path/normalize-page-path'));

But if that doesn't work, it looks like the "dynamic-routes" feature will need another v12 fork.

thanks scott. I've tried with
jest.mock('next/dist/server/normalize-page-path', () => require('next/dist/shared/lib/page-path/normalize-page-path'));

But for the moment, it's not work. I search a solution tomorrow.

As @scottrippey correctly spotted, this file has been moved to the other path in the v12. The provided temporary workaround is almost fine and we have to mark this mock as a virtual like below:
jest.mock(
  'next/dist/server/normalize-page-path',
  () => require('next/dist/shared/lib/page-path/normalize-page-path'),
  { virtual: true } // this is crucial
);

The jest docs about this argument: https://jestjs.io/docs/jest-object#jestmockmodulename-factory-options

The third argument can be used to create virtual mocks – mocks of modules that don't exist anywhere in the system

I think a PR to support this would be pretty easy, since we do the same for v10 and v11. I'll see if I can get that implemented soon.

I published this as a prerelease!  Can you test this out, and lmk if it works?
Version 0.6.8-next12.0

yes, it's work now ! with version 0.6.8-next12.0
and this
jest.mock(
  'next/dist/server/normalize-page-path',
  () => require('next/dist/shared/lib/page-path/normalize-page-path'),
  { virtual: true } // this is crucial
);

thanks for your work 👍

@ipatate Can you also try without that mock? You'll need to change your import to:
import "next-router-mock/dynamic-routes/next-12"

@scottrippey yes, good with this import 👏🏻 nice !

Great, published as version 0.6.8

I want to share this just for the record.
The package version 0.6.8 and 0.6.9 will work only from 12.1.6 next version. Before this, the structure was different.
Links to the source:

until 12.1.5: https://github.com/vercel/next.js/tree/v12.1.5/packages/next/shared/lib
current state (from 12.1.6): https://github.com/vercel/next.js/tree/v12.1.6/packages/next/shared/lib/page-path

Thanks for mentioning it. It's getting tricky to manage all these external dependencies on Next, especially when they change without a major release.
Just thinking out loud, at some point, maybe we could auto detect the correct version. Or maybe we could just copy the dependencies into this project. Either way, it would greatly simplify using these features.