Hello 👋

Is anyone mantaining this? 👀

Not sure. Doesn't look like it.
@CharlesMangwa can you let us know what your current position is towards this library? If you've lost interest or are too busy to maintain, could you post an update in the README and/or request for a maintainer who wants to check & test PR's?

I sent the maintainer an email a couple of days ago but haven't received a reply yet.
Last release on NPM is quite a long time ago, I guess it's safe to assume this library is no longer being maintained 😞
The warnings generate in RN 0.49 are driving me crazy (https://github.com/CharlesMangwa/react-native-simple-markdown/pull/66) so I had been looking for a fork published on npm. Didn't find one yet, lots of forks though. Looked at alternative libraries but they too appear to be ill-maintained; and switching might cause all sorts of bugs.
If someone knows of a good alternative, or is interested in setting one up please let me know.

 The only way to make the library usable again is to temporarily disable the yellow box with console.disableYellowBox = true.

Thanks @jackkinsella
I did it as follows:
/* eslint-disable no-console */
import React, { Component } from 'react';

/**
 * This HOC disables the yellow box warnings for wrapped component while
 * it is being rendered.
 *
 * This should only be used as a temporary measure, but can be useful
 * if wrapped component is not under your control.
 *
 * We don't have to concern ourselves with the original disableYellowBox
 * value. The entire yellow box setup is not loaded when using
 * NODE_ENV=production (a default for release configuration).
 */
function disableYellowBox(WrappedComponent) {
  class DisableYellowBox extends Component {
    componentWillMount() {
      console.disableYellowBox = true;
    }

    componentDidMount() {
      console.disableYellowBox = false;
    }

    componentWillUpdate() {
      console.disableYellowBox = true;
    }

    componentDidUpdate() {
      console.disableYellowBox = false;
    }

    render() {
      return <WrappedComponent {...this.props} {...this.state} />;
    }
  }

  return DisableYellowBox;
}

export default disableYellowBox;

And in Markdown component:
// Disable yellow box because of this issue:
// https://github.com/CharlesMangwa/react-native-simple-markdown/pull/66
export default disableYellowBox(Markdown);

Not a permanent solution. Just waiting for a released for of this library now (there are plenty of forks, just no released ones yet afaik).

@nielskrijger I like that approach a ton—it's elegant, encapsulated.

https://twitter.com/Charles_Mangwa/status/934034865623879681

Hey! I’m planning a major rewrite for the v2 (from the ground up basically). I’ll take some time to post an issue discussing the future of the lib and publish the v1.1 on npm this week-end.

That was a while ago. I pinged him about some PRs especially #66 via DM. 🤞
A v1.1 or even v1.0.61 some of the PRs that accumulated would be a reason to celebrate 🎉

Sorry for the (long) absence everyone! I've opened a discussion about the future of RNSM: join us if you have some ideas to share!


GitHub icon is hidden when using browser on a mobile device

Hi, I found GitHub icon at the header is hidden when opened the page on mobile device.
Here's what I could see on Google Chrome on iOS:

It seems ok when I rotate the screen:

thanks @kenmikanmi ill check this out - the solution might be shortening the name for this starter since im not really doing anything custom there with the styles 🤔


Handle update in case class attributes

Hi, team!
I'm having trouble updating my case classes once I already have data stores in the database. Is there a way to accomplish this?
For example, I have the following case class
case class Event(var date: String, delivered: Boolean, file: Option[String], name: String, imported: Boolean, interrupts: Boolean, isIdentified: Boolean)
And I already have a big amount of Events stored in the db. Now I want to add an attribute to the case class. If I do so, I obviously get an upickle.Invalid$Data: Key Missing error as the new attribute isn't present in the old data.
Any help?

Learn to code and update your dbs properly.  Version your db object case classes, have  a clear path to upgrade, and write a mapper. This isn't magic land. You are a special kind of special mate.


Feat/vote

open to discussion
Closes #38
Still buggy. See comments.

See 👉 : November 4, 2018 9:01 PM


Wednesday 3.05.2023 roll Call

Roll Call!
Leave a comment with these two things:

A summary of your study using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

I am here

present

Hello

I am here

I am here

Hi everyone, I am here

Hello

hi

Hello.  Coffee in hand and we're going to finish our issues :)

Present :)

Here!

hello, im here

Good morning :hugs:

Online.

hi

im here

hello

present

@karol10cano  Are you here?


Add support for observing and modifying the selected text range.

This PR addresses #2.
The selected text range can be observed and modified via another Binding now:
 struct ContentView: View {
    static private let initialSource = "let a = 42\n"

    @State private var source = Self.initialSource
    @State private var selection = Self.initialSource.endIndex..<Self.initialSource.endIndex

    var body: some View {
        CodeEditor(source: $source,
                   selection: $selection,
                   language: .swift,
                   theme: .ocean,
                   autoscroll: false)
        Button("Select All") {
            selection = source.startIndex..<source.endIndex
        }
    }
}

When autoscroll is true, the editor automatically scrolls to the respective
cursor position when selection is modfied from the outside, i.e. programatically.

Thanks, I'll try to find the time to look at that tomorrow. Actually I implemented this feature myself a few weeks back, but didn't end up using it, because the performance was abysmal (e.g. moving up and down in even small texts became horribly slow due to all the SwiftUI refreshes attached to the selection changes). Does that work fine with the patch?

Thanks for taking a look! I didn't notice any performance impact. I only tried on macOS, but I didn't edit anything OS specific, so it should still work for UIKit devices.

Turns out it was a good idea to do some more tests...
I just fixed a bug where sometimes the cursor position resulting from user interaction would be overridden by the old value in the selection Binding. In this example I'm pasting the same code twice in rapid succession and sometimes the cursor gets stuck in between the two pasted sections:
https://user-images.githubusercontent.com/21169289/147088000-a4d46c13-59d5-44f8-8ada-333a9d21ded0.mov
Here you can see the fixed version and also some further interaction where at least I can't see any performance issues.
https://user-images.githubusercontent.com/21169289/147088028-a8cc58dd-5426-49ae-99ab-95dd5d3e8b26.mov

Sigh, this now conflicts with the other PR :-) Could you move the selection callback out of the if? Does it work on iOS and macOS, btw?
Otherwise this looks fine, I think I'm going to just merge it.

@helje5 I updated the PR. I resolved the merge conflict and added the iOS implementation. I tested on both platforms.
I also noticed during testing on iOS that programatically modifying the text source Binding can cause State updates during view rendering, which can cause undefined behavior. I thus added the same guard for the on-text-change callbacks as I used on the on-text-selection-change callbacks.
I think this is ready to merge now.


Exposing APIs to store/get host data

This is implemented by using internal property (EmbedderData). Currently
it is used for TypedArray/ArrayBuffer. It may expand in future.

This would be a way to implement something like what the ES spec calls "internal slots" for host-defined objects, yes?  If so, :+1:

Timing out test is slow test. I'll merge this manually.


Allow for the Health results page theme to be overridden dynamically

Tools like Laravel Telescope allow users to override the theme programmatically within a service provider (e.g. Telescope::night();).
This is useful for users who have dynamic light/dark theme preferences on their account... but also for devs who'd just like a bit of dynamic control over light/dark modes. 😊
This backwards-compatible PR adds a new Health::setTheme() function. By default, the package will use the health.theme config setting — but it's now possible to control the theme dynamically, within the boot() method of a service provider, in a similar fashion to how Telescope does it.
Here's an example of how it would be used, to switch to dark mode at nighttime:
class HealthServiceProvider extends ServiceProvider
{
    public function boot(): void
    {
        Health::setTheme((now()->hour <= 5 || now()->hour >= 17) ? 'dark' : 'light');
    }

    // ...

Whilst it would be possible to apply the same time-of-day logic within the config file itself, if you call php artisan config:cache, this value would be cached and rendered ineffective.

@freekmurze no worries — nice to hear it’s on the way. I wasn’t sure if Tailwind is set up with dark-mode media queries yet, but that would definitely be the best solution 👍


compile error: google has not been declared

following this article:
https://github.com/brpc/brpc/blob/master/docs/cn/getting_started.md
I encounter the following compiling error:

It seems that gflags has modified its namespace from google to gflags (see https://github.com/gflags/gflags/issues/145).
We will find resolve this in the future, right now you'd better use an old version of gflags(before 2.2) to compile brpc.
Sorry for the inconvenience.

需要将错误的地方google::xxx替换成GFLAGS_NAMESPACE::xxx.

This issue should be solved at HEAD, need to be confirmed by @liudf0716

in my centos7 platform
git pull
sh config_brpc.sh --headers=/usr/include --libs=/usr/lib64
Fail to find google/profiler.h from --headers

it's my recent report.

gperftools changes its dir and namespace from google to gperftools in newer versions, try to manually change google to gperftools in source code temporarily. We'll verify this problem.

@liudf0716 check again

@jamesge  It's ok now.　:+1:

I have a suggestion:
how about support cmake way to compile brpc?

will support


breaking: bump package 8.0.0-dev

Motivation and Context
Prepare for next major by bumping package to 8.0.0-dev

Codecov Report

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

@@           Coverage Diff           @@
##           master     #375   +/-   ##
=======================================
  Coverage   73.65%   73.65%
=======================================
  Files          17       17
  Lines        2118     2118
=======================================
  Hits         1560     1560
  Misses        558      558

Continue to review full report at Codecov.

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


pam_krb5: 4.7 -> 4.8

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
found 4.8 with grep in /nix/store/lbmm10zm3yif6n33xvw5irzhzsqkwk7b-pam-krb5-4.8
directory tree listing: https://gist.github.com/8511cb10102508ce5701ed7e0830e60c

cc @wkennington for review

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: pam_krb5
No partial log is available.

Success on x86_64-linux (full log)
Attempted: pam_krb5
Partial log (click to expand)
make[1]: Leaving directory '/build/pam-krb5-4.8'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/lbmm10zm3yif6n33xvw5irzhzsqkwk7b-pam-krb5-4.8
shrinking /nix/store/lbmm10zm3yif6n33xvw5irzhzsqkwk7b-pam-krb5-4.8/lib/security/pam_krb5.so
gzipping man pages under /nix/store/lbmm10zm3yif6n33xvw5irzhzsqkwk7b-pam-krb5-4.8/share/man/
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/lbmm10zm3yif6n33xvw5irzhzsqkwk7b-pam-krb5-4.8/lib
patching script interpreter paths in /nix/store/lbmm10zm3yif6n33xvw5irzhzsqkwk7b-pam-krb5-4.8
checking for references to /build in /nix/store/lbmm10zm3yif6n33xvw5irzhzsqkwk7b-pam-krb5-4.8...
/nix/store/lbmm10zm3yif6n33xvw5irzhzsqkwk7b-pam-krb5-4.8

Success on aarch64-linux (full log)
Attempted: pam_krb5
Partial log (click to expand)
make[1]: Leaving directory '/build/pam-krb5-4.8'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wkqpdksylcv8vjk6473lb2p5mmj5i3cq-pam-krb5-4.8
shrinking /nix/store/wkqpdksylcv8vjk6473lb2p5mmj5i3cq-pam-krb5-4.8/lib/security/pam_krb5.so
gzipping man pages under /nix/store/wkqpdksylcv8vjk6473lb2p5mmj5i3cq-pam-krb5-4.8/share/man/
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/wkqpdksylcv8vjk6473lb2p5mmj5i3cq-pam-krb5-4.8/lib
patching script interpreter paths in /nix/store/wkqpdksylcv8vjk6473lb2p5mmj5i3cq-pam-krb5-4.8
checking for references to /build in /nix/store/wkqpdksylcv8vjk6473lb2p5mmj5i3cq-pam-krb5-4.8...
/nix/store/wkqpdksylcv8vjk6473lb2p5mmj5i3cq-pam-krb5-4.8


Plex asking to install plex media server

I am not able to add my libraries. Plex is asking me to install Plex media server. In OmniStream do we install Plex pass version of plex? why is plex media server not installed? or do I need to enable some specific component?

I'm not sure what you are asking? Yes, OmniStream installs the Plex Media Server. You don't need to specify Plex pass or not, that is determined by whether you paid for a subscription or not :)
In order to help you more specifically, please share what steps you have taken so far and where you are stuck.

I am saying that I can access plex and I don't have plex pass, but when I click your media option, It is asking me to install plex media server.

That message would indicate that you, well, don't have a Plex server installed. So in order to help you further, you will need to tell us how far you got in your OmniStream installation. For example how far did you get with these instructions? https://www.omnistream.cloud/


Why the loss does not converged?

I'm learning with DF2K  and using 4 GPUs.
Also, I'm refer the "train_HAT_SRx4_finetune_from_ImageNet_pretrain.yml" file.
I just change the dataroot_gt, dataroot_lq for train and val.
also change the num_worker_per_gpu, batch_size_per_gpu like that
### num_worker_per_gpu: 6
### batch_size_per_gpu: 4
num_worker_per_gpu: 3
batch_size_per_gpu: 8

But, after 80000 iter..
]
Do you know why the loss does not converged??
attched file is my .yaml file
please advise to me.
train_HAT_SRx4_my_others_to_open.yml--.log

This is the training log. train_416_train_Final_Model_SRx4_scratch_DF2K_CR3W16P64_500k_B4G8_20220301_002049.log

This is the training log. train_416_train_Final_Model_SRx4_scratch_DF2K_CR3W16P64_500k_B4G8_20220301_002049.log

Thanks.
I will retry learning again. After then update the result as soon as possible.

Hi @ziippy do you find how to fix this?

Hi @ziippy have your training converged?


Add support for MySuperior stoves

I have a Puntofuoco Evacalor Mia pellet stove.
This stove does not have a water hydraulic system (it only works with air) and the Min/Max heating temperature (room thermostat) must be set between 10 and 30 degrees and not between 40 and 80 degrees which is used to heat water.
How do I set these parameters?


Merge pull request #4 from BluNite/branch2

Merge pull request #3 from BluNite/main

blunite

blunite


Fix issues indexer document mapping

Fix regression of #5363 (so long ago).
The old code definded a document mapping for issueIndexerDocType, and assigned it to BleveIndexerData as its type. (BleveIndexerData has been renamed to IndexerData in #25174, but nothing more.) But the old code never used BleveIndexerData, it wrote the index with an anonymous struct type. Nonetheless, bleve would use the default auto-mapping for struct it didn't know, so the indexer still worked. This means the custom document mapping was always dead code.
The custom document mapping is not useless, it can reduce index storage, this PR brings it back and disable default mapping to prevent it from happening again. Since IndexerData(BleveIndexerData) has JSON tags, and bleve uses them first, so we should use repo_id as the field name instead of RepoID.
I did a test to compare the storage size before and after this, with about 3k real comments that were migrated from some public repos.
Before:
[ 160]  .
├── [  42]  index_meta.json
├── [  13]  rupture_meta.json
└── [ 128]  store
    ├── [6.9M]<PHONE_NUMBER>5d.zap
    └── [256K]  root.bolt

After:
[ 160]  .
├── [  42]  index_meta.json
├── [  13]  rupture_meta.json
└── [ 128]  store
    ├── [3.5M]<PHONE_NUMBER>65.zap
    └── [256K]  root.bolt

It saves about half the storage space.

Does this migrate the existing index or does it reindex everything?

Does this migrate the existing index or does it reindex everything?

It will reindex everything. We have no way to migrate indexes, either bleve or es.

I was unable to create a backport for 1.20. @wolfogre, please send one manually. :tea:
go run ./contrib/backport 25619
...  // fix git conflicts if any
go run ./contrib/backport --continue

I was unable to create a backport for 1.20. @wolfogre, please send one manually. 🍵
go run ./contrib/backport 25619
...  // fix git conflicts if any
go run ./contrib/backport --continue

Since this PR is based on #25174 which is a refactor and hasn't been backported to v1.20, so it's difficult to backport this one. So I think it's OK to leave the old code in v1.20.


Update cqrs.md

fix typo, change 'seperates' to 'separates' in the first paragraph.

@devbrsa : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@devbrsa Thanks for submitting this spelling fix


Multiple prisma clients - many databases

In code
export function getPrismaFromContext(context: any) {
  const prismaClient = context.prisma;
  if (!prismaClient) {
    throw new Error("Unable to find Prisma Client in GraphQL context. Please provide it under the `context.prisma` key.");
  }
  return prismaClient;
}

there is a fixed "prisma" key, but If we would add parametrization of this name in the config, then we would be able to use it with many databases that have their own clients in context.
Probably we need extend this cod by new option with default value "prisma":
export interface ExternalGeneratorOptions {
  emitDMMF?: boolean;
  emitTranspiledCode?: boolean;
  simpleResolvers?: boolean;
  useOriginalMapping?: boolean;
  useUncheckedScalarInputs?: boolean;
  emitIdAsIDType?: boolean;
  emitOnly?: EmitBlockKind[];
  customPrismaImportPath?: string;
}

then add this param to function generateHelpersFile and replace "prisma" by this parameter in
    export function getPrismaFromContext(context: any) {
      const prismaClient = context.prisma;
      if (!prismaClient) {
        throw new Error("Unable to find Prisma Client in GraphQL context. Please provide it under the `context.prisma` key.");
      }
      return prismaClient;
    }

I was thinking about a different path that would allow prisma to be a function, so that you can do:
context: {
  prisma: () => prismaClient2,
}

It's better than hardcoded lookup key because you can decide on that dynamically, like when user is admin you can give him access to prod db, write access, enhanced schema, etc.
However, I see your point now - single GraphQL API, 2 Prisma schemas, generated resolvers for both db merged into single schema and trying to their own Prisma Clients.

When I added the second set of resolvers I saw an error:
Error: Schema must contain uniquely named types but contains multiple types named "StringFilter".

My code:
import { resolvers as eventResolvers } from "../prisma/generated/events-ts";
import { resolvers as crmResolvers } from "../prisma/generated/crm-ts";

const main = async () => {
    const schema = await tq.buildSchema({
        resolvers: [
            ...eventResolvers,
            ...crmResolvers
        ]
    })

    return new ApolloServer({ schema, context })
        .listen({ port: 4000 })
        .then(({ url }) => console.log(`🚀 Server ready at ${url}`))
}

If you want, we can meet and I can help you by pulling requests to this library and docs to adjust it for cases with multiple databases, but I need some introduction.

Problem with
Error: Schema must contain uniquely named types but contains multiple types named "StringFilter".

fixed by:
rsync -a prisma/generated/events-ts/ prisma/generated/all-ts
rsync -a prisma/generated/crm-ts/ prisma/generated/all-ts

and
import { resolvers } from "../prisma/generated/all-ts";

const main = async () => {
    const schema = await tq.buildSchema({
        resolvers
    })

    return new ApolloServer({ schema, context })
        .listen({ port: 4000 })
        .then(({ url }) => console.log(`🚀 Server ready at ${url}`))
}

I created the project from scratch and now can't reproduce the error with malloc.

Finally, there are two terrible hacks:

rsync -a and cat >> in bash scripts after prisma generate
selecting prisma in http header

But we have a working proof of concept with two databases and your awesome library.

Another approach that can be reasonable is to leave this constraint in this library and add to docs example of integration with
apollographql.com/docs/federation

If you have two separate databases with separate models and separate resolvers, it's better to just have two APIs - one private, one public.

Error: Schema must contain uniquely named types but contains multiple types named "StringFilter".

Yeah, the generator generates common types each time you run it. TypeGraphQL does not merge such duplicates and can't reuse the definitions.
So what if both generators output to the same directories? It would destroy all the index re-export files but you should be able to reach every of the resolvers explicitly and the common types should be referenced correctly.
I will work now on exposing contextPrismaKey generator option, so that each schema resolvers are using own prisma clients.

In events that are MongoDB, there are ids of users from CRM DB that is MySQL.
The optimal would be to build a schema that hides these differences for graphql consumers and handle relations between them.

Below I present my Makefile to "join" both generated directories into one.
prisma-crm:
	npx prisma db pull --schema prisma/crm.prisma
	npx prisma generate --schema prisma/crm.prisma

prisma-events:
	npx prisma generate --schema prisma/events.prisma

.ONESHELL:
merge-generated-types:
	rm -rf prisma/generated/all-ts
	rsync -a prisma/generated/crm-ts/ prisma/generated/all-ts/
	rsync -a prisma/generated/events-ts/ prisma/generated/all-ts/
	cat prisma/generated/crm-ts/resolvers/crud/args.index.ts >> prisma/generated/all-ts/resolvers/crud/args.index.ts
	cat prisma/generated/crm-ts/resolvers/crud/resolvers-actions.index.ts >> prisma/generated/all-ts/resolvers/crud/resolvers-actions.index.ts
	cat prisma/generated/crm-ts/resolvers/crud/resolvers-crud.index.ts >> prisma/generated/all-ts/resolvers/crud/resolvers-crud.index.ts

and crm.prisma
generator client {
  provider = "prisma-client-js"
  output   = "./generated/crm"
}

generator typegraphql {
  provider               = "typegraphql-prisma"
  output                 = "./generated/crm-ts"
  customPrismaImportPath = "../crm"
}

datasource db {
  provider = "mysql"
  url      = env("CRM_DATABASE_URL")
}

and events.prisma
generator client {
  provider = "prisma-client-js"
  output   = "./generated/events"
}

datasource db {
  provider = "mongodb"
  url      = env("EVENTS_DATABASE_URL")
}

generator typegraphql {
  provider = "typegraphql-prisma"
  output = "./generated/events-ts"
  customPrismaImportPath = "../events"
}

contextPrismaKey has been added in v0.20.1 🚀
https://github.com/MichalLytek/typegraphql-prisma/releases/tag/v0.20.1

Wow! @MichalLytek send me a payment link to your patronite or another platform to support your work :)

@gustawdaniel You can donate via OpenCollective:
https://opencollective.com/typegraphql

Heyy,  😕
I'm desperately trying to do the same
two separate databases with separate models and separate resolvers
I created two generator files
and  set the contextPrismaKey like I want, and set both generators output to the same directories
rg.prisma file
datasource db {
  provider = "sqlserver"
  url      = env("DATABASE_URL_RG")
}

generator client {
  provider           = "prisma-client-js"
  output             = "./generated/rg"
  emitTranspiledCode = true
}

generator typegraphql {
  provider               = "typegraphql-prisma"
  output                 = "./generated/type-graphql"
  contextPrismaKey       = "rg"
  customPrismaImportPath = "../rg"
}

diag.prisma file
datasource db {
  provider = "sqlserver"
  url      = env("DATABASE_URL_DIAG")
}

generator client {
  provider           = "prisma-client-js"
  output             = "./generated/diag"
  emitTranspiledCode = "true"
}

generator typegraphql {
  provider               = "typegraphql-prisma"
  output                 = "./generated/type-graphql"
  contextPrismaKey       = "diag"
  customPrismaImportPath = "../diag"
  simpleResolvers        = true
}

I import in my server.js
import { PrismaClient as PrismaClientDiag } from "./prisma/generated/diag";
import { PrismaClient as PrismaClientRg } from "./prisma/generated/rg";

import { resolvers } from "./prisma/generated/type-graphql";

const prismaDiag = new PrismaClientDiag();
const prismaRg = new PrismaClientRg();

async function main() {
  const schema = await buildSchema({ resolvers, validate: false });

  const server = new ApolloServer({ context: { diag: prismaDiag, rg: prismaRg },
 schema });
  await server.listen(3000);
  console.log("Server has started!");
}
main();

I do command npx prisma generate --schema=./rg.prisma
After the second shema  npx prisma generate --schema=./diag.prisma
but in my cross resolver directory only the last one is available.. not twice... 😞
and when i launch my server i see one schema, specifically the last generate schema…
Did you know where is the first ??
How can we complete without overwriting the existing one ?
Thank you in advance for any help.
thanks again for everything 🙏

@JeremyNoh You need to use that @gustawdaniel script to merge the separate generated folder

thanks you very much @MichalLytek i resumed the same script, and i progress , you are awesome😁
I see all resolvers in one folder,I can start my server . BUT i just can Query only one database.
When I try Query the other I got this error:
{   "errors": [     {       "message": "Cannot read properties of undefined (reading 'findMany')",       "locations": [         {           "line": 2,           "column": 2         }       ],       "path": [         "utilisateurs"       ],       "extensions": {         "code": "INTERNAL_SERVER_ERROR",         "exception": {           "stacktrace": [             "TypeError: Cannot read properties of undefined (reading 'findMany')",             "    at UtilisateurCrudResolver.utilisateurs (/Users/try/best-orm/prisma/generated/all-ts/resolvers/crud/Utilisateur/UtilisateurCrudResolver.ts:57:49)",             "    at /Users/try/best-orm/node_modules/type-graphql/dist/resolvers/create.js:31:98",             "    at processTicksAndRejections (node:internal/process/task_queues:96:5)"           ]         }       }     }   ],   "data": null }
Do you have idea ? 🥲

Conflict between declared prisma context key and runtime prisma clients in graphql context

then manually copying some lacking imports in files ending on index.ts, (can be automated by cat file1 >> file2)

I don't understand what you mean here, do you have a working example of this step?

I used @gustawdaniel's script and encountered the same problem as @JeremyNoh. I found that helper.ts is overwritten when merging graphql files generated from multiple databases, resulting in not getting the correct prismaClient caused. Is there a possible solution?

I modified the generator and it seems to be working fine. I don't know if there is a hidden problem.


remove whitespace from text around links on homepage

Quick one to remove the whitespace where there's links that need to be followed by a full stop.

 Remove whitespace from around links in screener UI


I Can't import module's function due to the file's name.

I define a function of one module in seperate files,like this.

But when the two file's name are alike(metrics_general.go metrics_test.go),I cant't use function in one of then(metrics_test.go)

When I change metrics_test.go's name,this problem disappeared.

What did you see happen?
I define a function of one module in seperate files,like this.

But when the two file's name are alike(metrics_general.go metrics_test.go),I cant't use function in one of then(metrics_test.go)

When I change metrics_test.go's name,this problem disappeared.

What did you expect to see?
I define a function of one module in seperate files,like this.

But when the two file's name are alike(metrics_general.go metrics_test.go),I cant't use function in one of then(metrics_test.go)

When I change metrics_test.go's name,this problem disappeared.

Files ending in _test.go are unit test files and are ignored during regular builds.

Files ending in _test.go are unit test files and are ignored during regular builds.

Thanks,very helpful.


Multiple Stocks fail with alpha_vantage component

Home Assistant release with the issue:
0.90.1
Last working Home Assistant release (if known):
unknown
Operating environment (Hass.io/Docker/Windows/etc.):
hassio running on Raspberry Pi
Component/platform:
alpha_vantage
Description of problem:
Several issues have been opened regarding the KeyError: 'Time Series (15min)',  startup error and api limit.  I read that we could get a premium API key; however, those cost a minimum of $30 USD per month up to $250 USD per month!!  There really needs to be some way to do a circular queue "round-robin" of the stocks in the API call to not exceed the value.  I think that most of us are not using these stock prices as a real-time indicator to buy/sell stock... we simply want to have a convenient place to see our stock prices.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
---
platform: alpha_vantage
api_key: !secret alpha_vantage_key
symbols:
  - name: Sprint
    currency: USD
    symbol: S
  - name: Apple
    currency: USD
    symbol: AAPL
  - name: Google
    currency: USD
    symbol: GOOGL

Traceback (if applicable):
Tue Mar 26 2019 09:50:56 GMT-0500 (CDT)

alpha_vantage: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 248, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 379, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/sensor/alpha_vantage.py", line 161, in update
    all_values, _ = self._timeseries.get_intraday(self._symbol)
  File "/usr/local/lib/python3.7/site-packages/alpha_vantage/alphavantage.py", line 178, in _format_wrapper
    data = call_response[data_key]
KeyError: 'Time Series (15min)'

Additional information:
Issues #15271 offered a solution to get multiple stocks at the same time thus reducing the number of API calls which would also help this situation.
Without implementing something to regulate the API calls, anyone with more than one stock to monitor cannot use this component.

I'm going to take a look and see what I can do to pull the data update out to a single call.

@Per4merKC I've been looking into the batch API and it looks like the batch API will only provide the following information per stock:
{'1. symbol': 'GOOG', '2. price': '1172.9400', '3. volume': '--', '4. timestamp': '2019-03-29 15:59:59'}

This means we would lose the fidelity of the open/close/high/low by switching to the batch API. We could move to doing that by default and then adding an option to enable the updates for open/close/high/low by individual API calls (current functionality).

@rohankapoorcom Thanks for the information.  I'm not sure I understand how that would work.  Is a better solution, to switch from all stocks pulling the data at once, to pull them one at a time, oldest stock update first?  That would give all of the data we currently have, it would just not be updated as often.

@Per4merKC Unfortunately with the free API we're still limited to 5 API calls per minute and 500 per day.
What we could do is take the number of API calls and divide that by the number of stock tickers provided to figure out the maximum number of updates/day and then work from there. We could then stagger the updates to be equally spaced out as well.
For example, suppose I had 5 stock tickers. That means I can update each stock ticker 100 times per day (per the API limits). Since there's 86,400 seconds in a day, that means that I could get updates no more than once every 864 seconds or about once every 14.4 minutes. Since the API allows for 5 calls in a minute and I'd be tracking 5 stocks, all calls be done within the same minute so all updates happened at once.
Let's look at a second example though with 10 stock tickers. In this case, the API would allow me to update each stock 50 times per day. This means that I can get updates no more than once every 1728 seconds or about once every 28.8 minutes. We would also have to stagger the update calls so that the first five stocks were updated in the first minute and then we waited a couple of minutes before making the next set of updates.
As someone who doesn't use this component, I'm curious if this approach makes sense or whether the data updates would be too slow?

@Per4merKC I opened a WIP PR (#22605) which centralizes the API calls per my first comment (losing the high/low/open/close). Feel free to try that out as a custom component and provide some feedback.

Thanks, @rohankapoorcom!  I can't try that until Wednesday due to my schedule.  I'll let you know what I find.

@rohankapoorcom I tried the updated files as a custom_component, but it fails with the following:
Error during setup of component alpha_vantage
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 154, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/alpha_vantage/__init__.py", line 62, in setup
    conf = config[DOMAIN]
KeyError: 'alpha_vantage'

Does that mean anything to you?

@Per4merKC  Unfortunately, there is a breaking change in how the component is configured:
Note that there is no longer any sensor, but alpha_vantage is at the top level now.
alpha_vantage:
  api_key: API_KEY_GOES_HERE
  symbols:
    - symbol: GOOG
      name: Google
    - symbol: AAPL
      name: Apple
  foreign_exchange:
    - from: USD
      to: SGD

Okay... I'll reconfigure that in the morning and let you know what I find.

@rohankapoorcom I have your changes implemented as a custom_component and running it with 5 stocks.  Tomorrow I will add a few more stocks that I track and let you know if I run into any issues.
Just looking at what is there, I think the high/low/open/close values might be important for us to retain.

@rohankapoorcom Is there anything new on this issue?

Not yet. Thanks for the feedback. I'll look at this further over the weekend, I've been out of town.

Just let me know when you would like me to test more.  :)

@rohankapoorcom Any new updates?  How can I help?

@rohankapoorcom Rohan, is there anything I can do to help?  I appreciate that you have taken up this task.

Note that there is no longer any sensor, but alpha_vantage is at the top level now.

I can’t figure out how this is meant to work- it still goes under sensor, but without “platform”? Adding it at the root level in configuration.yaml yields “no setup function defined” in the log.
Mine tries to load using the old format, but I’m also getting the Time series (15 min) error

@rohankapoorcom Is there anything I can do to assist with your development?

I wish I could figure out how to update this code, but I'm a noob with python.  Issue has been open since March.


onScroll called when screen is loaded only on Android

Bug description:
When the screen with a WebView is loaded, onScroll called immediately but only on Android. I have a function which checks for the user scroll to know whether or not to collapse the header. I use onScrollEndDrag for other components but webview doesn't have that.
Current workaround:
If the e.nativeEvent.velocity.x === e.nativeEvent.velocity.y then it is being triggered by the initial load
To Reproduce:
Create a webview log onScroll events. Notice that it is triggered on load
Expected behavior:
Only trigger when user scrolls
Screenshots/Videos:
N/A
Environment:

OS: Pixel 4
OS version: Android 11
react-native version: 0.70.6
react-native-webview version: 11.23.1

I just tested this with the react-native-webview example app (there's a section dedicated to testing the scroll event) and saw the opposite behavior to what you describe. iOS fired a scroll event on initial load but Android did not.
I did see that there appears to be an alternate method of listening for scroll events on Android, but there's no point trying that if Android already has the desired behavior.

+1

@TheAlmightyBob Sorry went on a long break. With both Android and iOS, I'm seeing the issue but on Android I can detect the velocity which tells me if it's a user induced scroll but for iOS that doesn't seem to be present


Android project comes with build error

I simply cloned the repository and run into this

I haven't got this working in the community version yet, but sharing some notes from working toward my fork of the viromedia virocore in case it helps others.
After opening this in Android Studio (AS), I followed AS's recommendations including updating Gradle for the project, and pointing manually to the ndk in instance. I added a local.properties file at the top level of the project and entry called ndk.dir e.g. ndk.dir=/Users/<username>/Library/Android/sdk/ndk/<ndk version>.  That addressed the error show above. However it doesn't get us to a working build.
Later on I came across this issue https://developer.android.com/studio/releases/gradle-plugin#cmake-imported-targets

More than one file was found with OS independent path 'lib/x86/libprebuilt.so'

I added this to build.gradle in viroar:
packagingOptions {
pickFirst '**/*.so'
}
While that got past compile issues, I was then getting issues related to "cannot find symbol class "ARDeclarativeNode". I didn't get past those, but did find some other packaging options which might eventually allow the JNI file content to play nice. e.g. in viroar I changed above to:
packagingOptions {
exclude 'lib/armeabi-v7a/libarcore_sdk_c.so'
exclude 'lib/arm64-v8a/libarcore_sdk_c.so'
}
For virocore I used:
packagingOptions {
exclude 'lib/arm64-v8a/libBulletDynamics.so'
exclude 'lib/armeabi-v7a/libBulletDynamics.so'
exclude 'lib/armeabi-v7a/libgvr.so'
exclude 'lib/arm64-v8a/libgvr.so'
exclude 'lib/armeabi-v7a/libfreetyped.so'
exclude 'lib/arm64-v8a/libfreetyped.so'
exclude 'lib/armeabi-v7a/libBulletCollision.so'
//exclude 'lib/arm64-v8a/libBulletCollision.so'
exclude 'lib/arm64-v8a/libvrapi.so'
exclude 'lib/armeabi-v7a/libvrapi.so'
exclude 'lib/arm64-v8a/libLinearMath.so'
exclude 'lib/armeabi-v7a/libLinearMath.so'
}
In conclusion, work in progress.

I simply cloned the repository and run into this

That occurs because you have not configured Android NDK, simply add the sdk.dir path in the local.properties file.

When someone merge my pull requests, then we can come closer to a state, where CI is able to build and such issues are complete obsolete !


Deploy on PR

Add configuration to targets that allows the following:
auto_deploy_on: pr

To automatically deploy to a target on the pr opened event.

This is in progress with #24


drf-haystack not cooperating with User model

I've created two other indexes which are working fine. I recently created a search index for my User model, with a UserSearchViewSet and UserSearchSerializer. Here's my code:
User model:
class User(AbstractBaseUser, PermissionsMixin):
    email = models.EmailField(max_length=255, unique=True)
    name = models.CharField(max_length=255, blank=True)
    token = models.CharField(max_length=200, default=None, blank=True, null=True)
    email_token = models.CharField(max_length=200, default=None, blank=True, null=True)
    new_email = models.EmailField( default=None, blank=True, null=True)
    is_staff = models.BooleanField(default=False)
    is_active = models.BooleanField(efault=True)
    notes = models.TextField(lank=True, null=True)
    network = models.ForeignKey(AdNetwork, related_name='users', blank=True, null=True)
    date_joined = models.DateTimeField(default=timezone.now)
    date_created = models.DateTimeField(auto_now_add=True, null=True, blank=True)
    last_updated = models.DateTimeField(auto_now=True)

User search index:
class UserIndex(indexes.SearchIndex, indexes.Indexable):
    text = indexes.CharField(document=True, use_template=True)
    network_id = indexes.CharField(model_attr='network_id')

    def get_model(self):
        return User

    def index_queryset(self, using=None):
        return self.get_model().objects.all()

User search ViewSet:
class UserSearchViewSet(HaystackViewSet):
    serializer_class = serializers.UserSearchSerializer
    index_models = [models.User]

    def get_queryset(self):
        user_network_id = str(self.request.user.network.id) # filter by user network id
        return super().get_queryset().filter(network_id=user_network_id)

User search Serializer:
class UserSearchSerializer(serializers.ModelSerializer, HaystackSerializerMixin):
    class Meta:
        model = User
        search_fields = ('text',)

So, here's the problem. Running ./manage.py rebuild_index works great, and I can see that the User models were indexed. However, going to the url users/search, I'm greeted with this error:
ValueError at /users/search/
invalid literal for int() with base 10: 'user.user.5'

Which seems to be occurring at rest_framework/fields.py line 837 in to_representation
My User search index and endpoint is quite literally a carbon copy of the other two I've created. DRF Haystack seems to be treating my User model different. Any ideas? I've been spinning my wheels for hours in the debugger with no luck.

Hi,
It seems to me that you're casting the user.network.id to a str, while it really is an int?
I doubt this has anything to do with drf-haystack or your user model, but is a type casting error somewhere.
Try setting your network_id to indexes.IntegerField(model_attr=network__id) and drop casting to str.

@rhblind Casting to a string was a silly oversight, and I've corrected that, but the problem is on the user.id field, which, for some reason, in the to_representation function of DRF, refuses to turn into an integer, and instead is 'user.user.id'. I have two other models that have search indexes on them, using the exact same code, and they are working fine. Here's the stacktrace:
Environment:

Request Method: GET
Request URL: http://localhost:8000/users/search/

Django Version: 1.8.4
Python Version: 3.5.1
Installed Applications:
('django.contrib.auth',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.contenttypes',
 'ian.core',
 'ian.user',
 'ian.grid',
 'ian.push',
 'ian.site',
 'ian.plug',
 'flat',
 'django.contrib.admin',
 'kombu.transport.django',
 'djcelery',
 'rest_framework_swagger',
 'rest_framework',
 'corsheaders',
 'simple_history',
 'taggit',
 'taggit_serializer',
 'djrill',
 'djmail',
 'django_jinja',
 'django_jinja.contrib._humanize',
 'dbbackup',
 'django_extensions',
 'rolepermissions',
 'haystack')
Installed Middleware:
('corsheaders.middleware.CorsMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'ian.grid.middleware.AdNetworkMiddleware',
 'simple_history.middleware.HistoryRequestMiddleware')

Traceback:
File "/Users/jamesrasmussen/.virtualenvs/ian-api/lib/python3.5/site-packages/django/core/handlers/base.py" in get_response
  132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/jamesrasmussen/.virtualenvs/ian-api/lib/python3.5/site-packages/django/views/decorators/csrf.py" in wrapped_view
  58.         return view_func(*args, **kwargs)
File "/Users/jamesrasmussen/.virtualenvs/ian-api/lib/python3.5/site-packages/rest_framework/viewsets.py" in view
  87.             return self.dispatch(request, *args, **kwargs)
File "/Users/jamesrasmussen/.virtualenvs/ian-api/lib/python3.5/site-packages/rest_framework/views.py" in dispatch
  466.             response = self.handle_exception(exc)
File "/Users/jamesrasmussen/.virtualenvs/ian-api/lib/python3.5/site-packages/rest_framework/views.py" in dispatch
  463.             response = handler(request, *args, **kwargs)
File "/Users/jamesrasmussen/.virtualenvs/ian-api/lib/python3.5/site-packages/rest_framework/mixins.py" in list
  45.             return self.get_paginated_response(serializer.data)
File "/Users/jamesrasmussen/.virtualenvs/ian-api/lib/python3.5/site-packages/rest_framework/serializers.py" in data
  658.         ret = super(ListSerializer, self).data
File "/Users/jamesrasmussen/.virtualenvs/ian-api/lib/python3.5/site-packages/rest_framework/serializers.py" in data
  223.                 self._data = self.to_representation(self.instance)
File "/Users/jamesrasmussen/.virtualenvs/ian-api/lib/python3.5/site-packages/rest_framework/serializers.py" in to_representation
  598.             self.child.to_representation(item) for item in iterable
File "/Users/jamesrasmussen/.virtualenvs/ian-api/lib/python3.5/site-packages/rest_framework/serializers.py" in <listcomp>
  598.             self.child.to_representation(item) for item in iterable
File "/Users/jamesrasmussen/.virtualenvs/ian-api/lib/python3.5/site-packages/rest_framework/serializers.py" in to_representation
  456.                 ret[field.field_name] = field.to_representation(attribute)
File "/Users/jamesrasmussen/.virtualenvs/ian-api/lib/python3.5/site-packages/rest_framework/fields.py" in to_representation
  837.         return int(value)

Exception Type: ValueError at /users/search/
Exception Value: invalid literal for int() with base 10: 'user.user.5'

Line 837 of fields.py is the IntegerField class's to_representation() function. Yes, it is a type casting error, but I cannot understand why the IntegerField is being supplied user.user.5, when the value should just be 5.

Figured the problem out, after painstakingly stepping through the debugger.
I had:
class UserSearchSerializer(UserSerializer, HaystackSerializerMixin):
    class Meta(UserSerializer.Meta):
        search_fields = ('text',)

When I should have had:
class UserSearchSerializer(HaystackSerializerMixin, UserSerializer):
    class Meta(UserSerializer.Meta):
        search_fields = ('text',)

Which used the to_representation of DRF's BaseSerializer, instead of HaystackSerializerMixin's to_representation, which returns instance.object, or the actual object at hand, instead of the SearchResult object. Yeesh.

Good job!
Glad you worked it out :)


Add simplified inline flow examples to docs

Background
Our production flows are quite complex and could be difficult for a new author to use as a reference when getting started. This adds simplified versions of these flow definitions as inline examples on the “Authoring Flows” page.
For the purposes of this story, I have largely focused on removing the checks that ensure one of the collections is managed (since a non-subscriber user would need to consume their one free deployed flow, we're okay with this as a substitute limitation) and some explicit error handling that provided defaults when the destination does not exist (as a consequence, now allowing the flow definition to present linearly) as well as reordering the steps to make the definitions easier to read sequentially. I highlighted the production flows in a tip above their corresponding definition to draw users' attention to see a more "complete" example.
Review
For the purposes of review, I've deployed both flows to production and given you all runner roles:
Two-Stage Transfer: https://app.globus.org/flows/18061a3a-fe67-456e-89b7-dcab09e8b8d2
Move (Transfer and Delete): https://app.globus.org/flows/2594d11a-3584-49d1-b2f4-dcb08a02e71c
For the sake of testing these, I have largely focused on the happy path. If you encounter any unexpected errors, please let me know!

Not nitpicky at all! It sounds like our inclinations are the same here. Those (particularly re: ordering) caught my eye but I had "stetted" them for now because that's how the existing production flows present them when displayed in the Web App. But the fact that you noticed this as well makes me think the revisions would be worthwhile. Will follow up with an update!


How to clean old log file?

If I use docker, so there is no crontab or other script tools.
I wanna easyloggingpp can clean old log file by self.

Finally, I clean by timer of my project self.


chore(deps): update terraform terraform-ibm-modules/secrets-manager/ibm to v1.11.0

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/secrets-manager/ibm (source)
module
minor
1.10.0 -> 1.11.0

Release Notes

terraform-ibm-modules/terraform-ibm-secrets-manager (terraform-ibm-modules/secrets-manager/ibm)
v1.11.0
Compare Source
Features

updated the DA to support configuring the private and public cert engines (#90) (c7a53c8)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

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

GitHub release
v1.10.6

Your semantic-release bot :package::rocket:


Demo page doesnt link to slider

But https://material-components.github.io/material-components-web-components/demos/slider.html exists

https://mwc-demos.glitch.me/demos/index.html links to the slider demo.
Seems like this should be closed

Yep, new demos have slider. Closing!


Fixes

Coverage increased (+0.4%) to 86.441% when pulling a34c6dab86c6b7cf5b0b0391d13518ab8f22461a on develop into 796501a89cdd03ea6b1f23acf9b4a8695c6bb95a on master.


Provide ability to customize the sidebar-empty state

The empty-state ui is great for a developer setting up the site, but not appropriate afterwards.

I want to be able to somehow make my own empty sidebar so I can add links to other services i.e. hosting, analytics, github repo, etc.

It would be cool to perhaps pass an EmptyState component via the sidebar config.


Fix Haml 5.0.0 compatibility

Issue #224

Thanks for the contribution @dvdbng! Would you mind also updating the haml 5 version in this file?
https://github.com/brigade/haml-lint/blob/master/Appraisals
(which I believe will make sure we catch similar things in the future).

Do you guys have any timeframe on releasing new version with that fixed? I can't use the github version unfortunately :(

@mensfeld HAML-Lint 0.25.0 adds support for HAML 5.

@sds  thank you!


A few bug fixes & two convenience items.

Closes #224
Closes #282
Closes #289
Fixes a bug where geoHaystack indexes were being blocked from creation.
Fixes a bug where the storageEngine index option had the wrong type.
Implemented a convenience method as discussed in #224. Cursor is still
the base iterator type, but the output has been wrapped as an impl Iterator for convenience. Works exactly the same way, but yields
IndexModel elements instead of plain old Documents.
Added serde derivations to IndexModel & (by necessity) IndexOptions.
The BSON crate already directly depends on the serde, serde_derive &
serde_json. They've been added to the dependencies section of the
Cargo.toml as they are now direct dependencies of this crate, but this
does not technically add any new deps.

thoughts on semver version to use

nothing backwards incompatible here. #282 may seem like a backwards incompatibility, but as the server was rejecting any previously given values, I would still consider this to be a patch increment change.
we could totally do a 0.4 release. No reason not to really. This changeset does add list_index_models & serde derivations on IndexModel.

Any reason not to do a 0.4?

@saghm && @kyeah just wanted to ping you guys again since its been about a month. I am happy to jump on a google hangout with you guys and discuss these changes, as well as long term plans for this project and so forth.
Please let me know. I want to start work on a tokio based version of this crate, but I don't want to fork ... as that would split the community around this crate too much, and I want to knock out a few of the other issues here first.

Hey @kyeah just a friendly ping to see if you might have time to take a look here.

@kyeah & @saghm you guys want me to update the changelog before merging this? I'm happy to do so.

@thedodd If you can add a changelog and bump the version in a new PR that would be great — I'll merge this so the version bump lives on its own commit.

@kyeah negative, I do not have merge permissions.

@thedodd merged into master; add a changelog/bump the version to 0.4 and we can run a release. Thank you!

Woot woot! Will do, boss. Should be able to knock that out tomorrow morning.


InvalidProtocolBufferException for GET_STATUS request to the cast receiver

Implementing the cast sender client with Flutter program. We also have the custom cast receiver in running in the chromecast. We are having the problem while querying for "GET_STATUS" to the cast receiver to know the current status of the media playback. This same request command is working for most of the videos but having problem for few videos with short length(10 ~ 20 Minutes duration). We don't have idea for the reason. Appriciates supportive response.
Request from client:
{type: GET_STATUS, mediaSessionId: 1, requestId: 106}
Error in Response:

I/flutter ( 1578): ----------------FIREBASE CRASHLYTICS----------------
I/flutter ( 1578): The following exception was thrown A non-fatal error for functional_error and from_flutter is false event_scope is Unhandled Exception:
I/flutter ( 1578): InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly
I/flutter ( 1578): in the middle of a field.  This could mean either than the
I/flutter ( 1578): input has been truncated or that an embedded message
I/flutter ( 1578): misreported its own length.
I/flutter ( 1578):
I/flutter ( 1578): crash in main.dart > from_flutter: false
I/flutter ( 1578):
I/flutter ( 1578): #0      CodedBufferReader._checkLimit (package:protobuf/src/protobuf/coded_buffer_reader.dart:58:7)
I/flutter ( 1578): #1      CodedBufferReader.readBytes (package:protobuf/src/protobuf/coded_buffer_reader.dart:128:5)
I/flutter ( 1578): #2      CodedBufferReader.readString (package:protobuf/src/protobuf/coded_buffer_reader.dart:133:39)
I/flutter ( 1578): #3      _mergeFromCodedBufferReader (package:protobuf/src/protobuf/coded_buffer.dart:59:47)
I/flutter ( 1578): #4      GeneratedMessage.mergeFromBuffer (package:protobuf/src/protobuf/generated_message.dart:185:5)
I/flutter ( 1578): #5      new CastMessage.fromBuffer (package:cast/cast_channel/cast_channel.pb.dart:61:129)
I/flutter ( 1578): #6      CastSocket._startListening.<anonymous closure> (package:cast/socket.dart:48:41)
I/flutter ( 1578): #7      _rootRunUnary (dart:async/zone.dart:1434:47)
I/flutter ( 1578): #8      _CustomZone.runUnary (dart:async/zone.dart:1335:19)
I/flutter ( 1578): #9      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
I/flutter ( 1578): #10     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
I/flutter ( 1578): #11     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
I/flutter ( 1578): #12
I/flutter ( 1578): ----------------------------------------------------
I/flutter ( 1578): Error From Outside Flutter InvalidProtocolBufferException: Protocol message tag had invalid wire type.
I/flutter ( 1578): ----------------FIREBASE CRASHLYTICS----------------
I/flutter ( 1578): The following exception was thrown A non-fatal error for functional_error and from_flutter is false event_scope is Unhandled Exception:
I/flutter ( 1578): InvalidProtocolBufferException: Protocol message tag had invalid wire type.
I/flutter ( 1578):
I/flutter ( 1578): crash in main.dart > from_flutter: false
I/flutter ( 1578):
I/flutter ( 1578): #0      UnknownFieldSet.mergeFieldFromBuffer (package:protobuf/src/protobuf/unknown_field_set.dart:79:9)
I/flutter ( 1578): #1      _mergeFromCodedBufferReader (package:protobuf/src/protobuf/coded_buffer.dart:42:38)
I/flutter ( 1578): #2      GeneratedMessage.mergeFromBuffer (package:protobuf/src/protobuf/generated_message.dart:185:5)
I/flutter ( 1578): #3      new CastMessage.fromBuffer (package:cast/cast_channel/cast_channel.pb.dart:61:129)
I/flutter ( 1578): #4      CastSocket._startListening.<anonymous closure> (package:cast/socket.dart:48:41)
I/flutter ( 1578): #5      _rootRunUnary (dart:async/zone.dart:1434:47)
I/flutter ( 1578): #6      _CustomZone.runUnary (dart:async/zone.dart:1335:19)
I/flutter ( 1578): #7      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
I/flutter ( 1578): #8      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
I/flutter ( 1578): #9      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
I/flutter ( 1578): #10     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:774:19)
I/flutter ( 1578): #11     _StreamController._add (dart:async/stream_controller.dart:648:7)
I/flutter ( 1578): #12     _StreamController.add (dart:asy
I/flutter ( 1578): ----------------------------------------------------

Expected correct resoponse:
{
   "type":"MEDIA_STATUS",
   "status":[
      {
         "mediaSessionId":3,
         "playbackRate":1,
         "playerState":"PLAYING",
         "currentTime":1756.7264008522034,
         "supportedMediaCommands":12495,
         "volume":{
            "level":1,
            "muted":false
         },
         "activeTrackIds":[
            1
         ],
         "media":{
            "..."
         },
         "textTrackStyle":{
            "fontScale":1.22,
            "backgroundColor":#FFFFFF00,
            "edgeType":"OUTLINE",
            "edgeColor":#000000FF,
            "windowType":"NORMAL",
            "fontFamily":"sans"
         }
      }
   ]
}

Here is my flutter doctor result:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.10.3, on Microsoft Windows [Version 10.0.22000.856], locale en-NL)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.1)
[√] Connected device (4 available)
[√] HTTP Host Availability

Cast library version:
cast: ^1.1.1

@RaghuMudem did you find solution ? i want to get current duration ?


Build nightly and tagged neovim images

Right now it is not obvious which commit state of Neovim is included in the published images before pulling them.
What about having image variants for tagged and nightly neovim?
I can see a quite similar possibility for the different python versions available.
Anyway, the possibility of combinations could quickly escalate.
I'm not sure yet what could be a good starting point. 🤔

Yeah, I think we can use the alpine base multi-stage image with the latest nightly for everything. We'd want to condition CI on building/pushing that first.


Fix Release Condition conditionType Issue #39

Description
This is to resolve issue #39 which is preventing to expand a release.
Existing test shouldGetReleaseEnvironmentDetails() was failing and is now working again.

@nbihan-mediware cheers, thanks for raising the PR. LGTM.

@hkarthik7 Thanks, let me know what's needed to get it merged


Error: Call to undefined function CodeIgniter\CLI\mb_strpos()

I'm receiving the following error when running php spark migrate -all.
sigve@plesk-ubuntu-s-4vcpu-8gb-ams3-01:~/app$ php spark migrate -all
An uncaught Exception was encountered

Type:        Error
Message:     Call to undefined function CodeIgniter\CLI\mb_strpos()
Filename:    /var/www/vhosts/cateringtest.eu/app/vendor/codeigniter4/framework/system/CLI/CLI.php
Line Number: 712

How do I go around this?

GitHub is for bug reports - please open support requests on the forums.
Incidentally it looks to me like you are missing the php-mbstring extension. Please review the server requirements: https://codeigniter4.github.io/userguide/intro/requirements.html


BUG WITH SCROLLING

Hi,
I've been always a serious fan of semantic ui! It's amazing! But in the latest version 2.3.3 the scrolling of the page is not appearing on Chrome in Android.. When I replace 2.3.3 to 2.3.1 the bug disappears completely.
Take a look at this page -> https://www.sitepor500.com.br
The semantic ui is 2.3.1. When I upgraded the CSS and JS to 2.3.3 the scrolling of the page stopped working on chrome in android (I tested on 7 and 8 version of android).

Duplicate of #6449


Added various features: map scaling, wh effects, pilot names under nodes, system details in one view rather than separate tabs, coloured sigs

Thanks for the awesome tool and making it open source!! I took the liberty of adapting it for our corp. Aside from some restyling, I added some features you and others may find useful and may want to merge back in the main branch. Here's a screenshot.
My fork is here.

 That is great work. I'd like to merge in at least 90% of that (I need to see how the pilot list works with 20+ users in a system.)
What bug were you encountering that was requiring multiple clicks? I haven't seen any behavior like that.

Thanks. I think the mutiple clicks were related to the tooltip being to close to the mousecursor, and the IGB being too slow, so people clicked the tooltip rather than the node, I tried forwarding the click from the tooltip to the system node, but simply changing the offset to be a bit further fixed it already.
I now also added an extra style feature which we dubbed "zen" mode, a counterweight to the vibrant default colours, enabled by a toggle button at the top. Here's an extra screenshot .

About the pilot list, I changed it to a horizonal list, with the first 6 chars of the name if there are multiple people, if the list gets too long, it'll just name a few (4 at most) and then say something like +12.

Awesome. If you want, send a PR with all of the stuff you want to contribute upstream.

Done, it contains everything, you may prefer to cherry-pick a bit though.

Merged


Make timeline cursor in the Bezier editor just as thick as the Animation editor

PR #31424 made the timeline cursor in the Animation editor thicker for easier visibility. However, the Bezier editor got neglected and its cursor stayed thin. This PR fixes that.

Thanks!

Cherry-picked for 3.2.3.


Push creating a new copy of the file and folders each time I push

Tested against 0.0.8rc2
$ cat hello_world > a file
$ drive push a_file
(pushes)
$ drive push a_file
(everythign is up to date
However, do the same with a Jpg in a different directory
$ drive push head.jpg
(pushes)
$ drive push head.jpg
(pushes again)

UPDATE
multple copies of the folder structure and file have been created in the drive

Hello, thanks for the detailed report. For starts so far I cannot reproduce that, please see below

However I will give you credit for finding an edge case that I have encountered before in which Google Drive for some reason kept changing the modified times ( I could be wrong but I did an investigation of it and it seemed that the file was undergoing conversion during the period right after upload or so, plus it was open for some reason).
To further investigate this would you mind stating the file before and after upload like this
$ drive stat head2.jpg

Thank you.

Just the ModTime and MimeType after stat-ing are sufficient.

Hi, I have modified the title to be more accurate. Doing some more testing and the issue seems to be that each time I push it creates a new copy.

Screenshots below.
Summary
push (pushes)
stat (says doesnt exist, but it does, under a new copy of the whole folder structure)
push (pushes and creates a 2nd copy)

Sorry Graeme but I have tried an alternative way of pushing which would be a multi nested directory that has never been pushed up and then pushing from inside it but still cannot reproduce it.

Off the top of my head I cannot speculate why but let's try something a little different:
Just make sure that your Google Golang API client is upto date by:
$ cd $GOPATH/src/github.com/odeke-em/google-api-go-client
$ git pull origin master

Get the latest
$ go get -u github.com/odeke-em/drive/cmd/drive

And let me know what the output is.

Another thing off the top of my head that might be related to the original path, would you mind recreating a test directory that isn't shared and repeating that test in there? If you can't reproduce you then I have a start off point for investigation.

Is it because I have a push already running in a parallel process?

Quite plausible but did you try the last three remedies I recommended? That is just so that we can eliminate variables.

Software was up to date.
Create a new folder "TestPhotoSync"
drive push TestPhotoSync/ProfilePics/head2.jpg
(pushed, created two TestPhotoSync folders, the new one containing the new file)
drive stat TestPhotoSync/ProfilePics/head2.jpg
/TestPhotoSync/ProfilePics/head2.jpg: remote path doesn't exist

So not running almost equivalent parallel uploads and your drive version is at v0.0.8a and this persists, right? If it possible and not a private one, please send me the subject file so that I can try investigating.

the parallel process will finish soon and I will retest. Feeling confident that it is the issue.

Cool. A parallel upload in the worst case would mean that the folder is not found at the exact time by more than one uploader and then created by each worker at the same instant. This would be the equivalent of someone/people creating the files/folders with the same names and repeating the working. If it is the parallel upload, I think this issue https://github.com/odeke-em/drive/issues/2 also mentioned in the README might be relevant.

Re-tested without the parallel upload. Problem still exists.
before:

(TestPhotoSync is empty)
pushed a file into that directory

result is now 2 TestPhotoSync folders

Thank you Graeme for your patience and kuddos for the walk through. This finally got me to find out the cause of the problem, and I'll probably implement the solution over the weekend.

Great! What did you have to change at your end to reproduce it?
Sent from my iPhone

On 6 Feb 2015, at 5:01 pm, Emmanuel Odeke<EMAIL_ADDRESS>wrote:
Thank you Graeme for your patience and kuddos for the walk through. This finally got me to find out the cause of the problem, and I'll probably implement the solution over the weekend.
—
Reply to this email directly or view it on GitHub.

So I had to toggle a resource race since files are uploaded concurrently. Basically make a local dir, then inside it, make a couple of levels deep of nesting, and throw in two files in divergent paths eg. example/p1/p2/p3/here.txt and example/p1/p2/p4/there
txt where example doesn't exist on the cloud yet. The remedy for this is to make sure the common dir exists before each parallel upload tries to create the entire path. I had to further speed things up in order to reproduce it.

I have a related issue with 0.0.9:
Modification count 6299 src: 3.15GB dest: 3.15GB
y\ ceed with the changes? [Y/n]:  –
1834 / 6299 [==============>----------------------------------] 29.12 % 2h16m33s/scans/1994-Kos/crop0086.jpg: googleapi: Error 401: Invalid Credentials, authError
1835 / 6299 [==============>----------------------------------] 29.13 % 2h16m29s/scans/1994-Kos/crop0022.jpg: googleapi: Error 401: Invalid Credentials, authErr1836 / 6299 [==============>----------------------------------] 29.15 % 2h16m24s/scans/1994-Kos/crop0134.jpg: googleapi: Error 401: Invalid Credentials, authErr1837 / 6299 [==============>----------------------------------] 29.16 % 2h16m18s3044 / 6299 [=======================>-------------------------] 48.33 % 1h49m49s^Ctom@swan:/media/scratch/backup/gdrive$

Each error results in a minimal duplicated folder structure:
scan/1994-Kos/afile.jpg
scan/1994-Kos/anotherfile.jpg

@graemerobb @tomtor please see PR #67

@odeke-em I did a large push and this problem is fixed for me! Thanks!
No big issue for me, but #38 is still present.


Adding .fig file and preview for readme

@Gaurav4code pls add the .fig file asap in the folder and follow the folder structure as I cant find the .fig file
do it on imp basis

i m reverting back the pull request add .fig file like other folders and make a new PR @Gaurav4code

Ok, I am undoing the mistakes  .
On Wed, 24 Nov, 2021, 11:11 am Garvitraj Pandey, @.***>
wrote:

i m reverting back the pull request add .fig file like other folders and
make a new PR @Gaurav4code https://github.com/Gaurav4code
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Dezenix/website-screens/pull/6#issuecomment-977550731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUM56WQUCXZQH5DPWJYPDULUNR3H5ANCNFSM5IQEDG3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Created new PR with required folder structure.
On Wed, 24 Nov, 2021, 11:40 am Gaurav, @.***> wrote:

Ok, I am undoing the mistakes  .
On Wed, 24 Nov, 2021, 11:11 am Garvitraj Pandey, @.***>
wrote:

i m reverting back the pull request add .fig file like other folders and
make a new PR @Gaurav4code https://github.com/Gaurav4code
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Dezenix/website-screens/pull/6#issuecomment-977550731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUM56WQUCXZQH5DPWJYPDULUNR3H5ANCNFSM5IQEDG3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[Bug] The same component shows twice in IntelliSense

Screenshot:

Can this problem reproduce in v0.25.14?

No, it's fixed. Thanks for the fast fixes!


Support for the differentiable head

This pull request add supports as mentioned in the issue #8.

added SetFitHead, which inherited from Sentence Transformers' Dense to make APIs consistent
integrated SetFitHead to SetFitModel
integrated SetFitHead to SetFitTrainer (sklearn-based head still works and usage remains the same)
added new tests to test SetFitHead (tested initialization for single/multiple targets, forward, backward)
added new APIs for SetFitTrainer: trainer.freeze() and trainer.unfreeze(keep_body_frozen)

Absolutely incredible work on implementing a pure torch model @blakechi 🔥 !
I've left a few comments / questions, but overall this is looking really good.
Would you mind sharing a code snippet in the PR description so that others can understand how the new API should work?
I'm also curious if you tested this implementation with some of the test datasets in our paper? It would be cool to know if (a) this implementation does better than our original one and (b) there are no subtle regressions with the sklearn version.

Thanks! Glad you like it!
Sure, will provide a snippet in the next comment. :)
Sorry I might rush a bit. I wanted to share with you the implementation to make sure the APIs are correct, so I only tested the head by running one step (forward and backward) to check its gradients.
I will test this implementation on the test datasets. If you have some suggested scripts for me to run, I happy to know!

Here is the snippet for using the differentiable head (partially copied from README.md):
from datasets import load_dataset
from sentence_transformers.losses import CosineSimilarityLoss

from setfit import SetFitModel, SetFitTrainer

# Load a dataset from the Hugging Face Hub
dataset = load_dataset("sst2")

# Simulate the few-shot regime by sampling 8 examples per class
num_classes = 2
train_dataset = dataset["train"].shuffle(seed=42).select(range(8 * num_classes))

# Initialize `SetFitModel` with the differentiable head
model = SetFitModel.from_pretrained(
    "sentence-transformers/paraphrase-albert-small-v2",
    use_differentiable_head=True,
    head_params={"out_features": num_classes},
)

# Create trainer
trainer = SetFitTrainer(
    model=model,
    train_dataset=train_dataset,
    eval_dataset=eval_dataset,
    loss_class=CosineSimilarityLoss,
    metric="accuracy",
    batch_size=16,
    num_iterations=20, # The number of text pairs to generate for contrastive learning
    num_epochs=1, # The number of epochs to use for constrastive learning
    column_mapping={"sentence": "text", "label": "label"} # Map dataset columns to text/label expected by trainer
)

# Freeze head
trainer.freeze()

# Do contrastive training
trainer.train(num_epochs=1)

# Unfreeze head
trainer.unfreeze()

# Unfreeze head and freeze body
# trainer.unfreeze(keep_body_frozen=True)

# Train end-to-end
trainer.train(num_epochs=1)

Hi @lewtun,
Sorry for the late. I was packed by other staffs.
Ya, that sounds good to me. I ran the experiments on the dev set using pytorch head and they are similar to the performance on the paper. Below is the results:

Head
SST-5
Amazon-CF
CR
Emotion
EnronSpam
AGNews

pytorch
44.4 (2.9)
39.9 (11.7)
89.0 (1.0)
48.4 (5.2)
89.1 (4.1)
83.3 (2.9)

I’m running experiments using sklearn head and will report it later once it finishes.
Sure, just resolved it!

Good job @blakechi ! Many thanks.

Thanks for the final iteration - this looks great so I'm going to merge it now 🔥 !
Amazing contribution and thank you for working on it @blakechi 🤗

I want to thank you for your advice and review as well, those make this PR wonderful! Really like this collaboration! 🤗 @lewtun


chart: cert-manager resources, allow these apiVersions be configurable

What this PR does / why we need it:
Certain clusters may have other versions of cert-manager installed. This PR allows you to deploy certs based on the api group and version installed.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

/lgtm

/approve

@jimmidyson I was considering using 'has.capabilities' but I thought that on upgrades having new unexpected certs being made may be an issue? I wanted to avoid this and let the user actively decide. As for comparability I think the only major issues is certificate.organizations in v1alpha1 as far as I can tell. Let me know if you rather I do a follow-up pr.

@alejandroEsc I hadn't thought of the upgrade issue. That makes me even more keen to solely support cert-manager.io/v1.


⚠ Secret Website 3 has degraded performance

In ece8d3e, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2816 ms

Resolved: Secret Website 3 performance has improved in 466be20.


Adding heatmap to documentation index for distro

the branch for doc does not exist

Updated!

Thanks, updated!

@eybee when you address a comment on a pull request you need to make a comment too. We don't get notified when you push a new commit. Thanks!


Added module for ztest and testing as well

Reference issue

Progress made on feature request #13662
What does this implement/fix?

Implementation adds a module for performing the z tests and a test suite for the Z-test module as well.
Z-Test module is at scipy/stats/ztest.py
Test module is at scipy/stats/tests/test_ztest.py
Additional information

The implementation is not complete. The functions in the added module are correct and working when provided the input outlines. Comments are included throughout the code that explain how and where input should be taken in a user interface. Feel free to contact me with more questions about this.
Additionally, I will attempt to implement the interface as I see possible, however I do believe another developer may be better fit for this task.

Thanks @cassielayden for submitting a PR. I am afraid I will have to close it for a few reasons.
From the issue this PR is addressing, @charlotte12l already expressed some interest in working on this. While there is no formal assignment of issues/PR, we are all volunteers and try not to re-do the same work. We certainly don't want to have contributors competing on PRs. Instead we prefer to share the work load by discussing in issues or on the mail list before.
Thus, I would invite you to contact @charlotte12l and see how you can be of help if this topic interests you. In the present case, a new statistical test, we also would want to design if in a way we could reuse existing components from other existing tests. In terms of maintainability, we would not want to include an implementation which would be totally contained here.
Before working on something else, I would also invite you to read our contributing documentation. It's a long document, but it's really important that you understand it and follow it. There are valuable informations such as how to format your code and tests. In the end we will have to respect this document from start to finish before considering including any contribution. As for other issues you could have a look at, we do have a label good first issue.
Thank you for your understanding and your willingness to contribute to SciPy. While this PR was not successful, I do hope that you would consider contributing again.

It's better to first check if @charlotte12l is actually working on it. Looks like it is stalled over there so it doesn't have to be closed in case they don't ping back.

Thanks for reopening @ilayn. @tupui this PR needs some work but it's totally valid to work on this. I suggest only closing a PR if you're really certain that's the right thing to do (like, it stalled for a year and someone else took it over in a new PR, or the bug it addressed was already fixed.

@tupui @ilayn @rgommers Sorry for the late reply. I'm currently not working on it because there is not much interest after I mailed the mailinglist about this, so I added this to the end of my GSoC timeline.
@cassielayden I read your codes and I'd recommend taking a look at gh-12873 for a good example of implementing a new hypothesis test(Thanks @mdhaber for mentioning the example in https://github.com/scipy/scipy/issues/13662 ).
Moreover, maybe it is better to return the p-values rather than 0/1 to make it consistent with other tests? You can use _normtest_finish to get the p-value from the Z statistic.
Finally, z-test is quite similar to t-test, I think you can always refer to t-test implementation for naming, code structures, tests, logics, etc. :)

@tupui @ilayn @rgommers Sorry for the late reply. I'm currently not working on it because there is not much interest after I mailed the mailinglist about this, so I added this to the end of my GSoC timeline.

No worries, and thanks for helping with these specific information 😃


Replace ns by push-ros-namespace

@wep21 Are we using this repository now? :thinking:

@kenji-miyake No, we've been used the released package since https://github.com/tier4/autoware.proj/commit/24a0da405b86563f94f973035e893fd81b0b5eb8.

I see, then will close this.


Implement chunked transfer encoding

Refs #5

Receiving incoming responses with chunked transfer encoding has been resolved via #58.
We may still want to implement sending requests with chunked transfer encoding.

@clue Since this package links now to the higher level implementation buzz, do we still want to implement sending chunked transfer encoding in this component? This would mean moving the logic from buzz to this component (which should probably be fairly straight forward).

@CharlotteDunois yes that's the goal

What @WyriHaximus said :-)
The goal is to make https://github.com/clue/reactphp-buzz redundant in the future so that we can deprecate it and only rely on @ReactPHP's HTTP component :muscle:

I'm closing this as it is already supported by the new HTTP client that has been merged into react/http via reactphp/http#368 :shipit: You should upgrade as per #152 :+1:


Intro to plotting

Note: checklist below only relevant if committing to the develop branch:
Proposed changes
This is a placeholder notebook for the new Beginners_guide
Checklist (replace [ ] with [x] to check off)

[x] Notebook created using the DEA-notebooks template
[x] Remove any unused Python packages from Load packages
[x] Remove any unused/empty code cells
[x] Remove any guidance cells (e.g. General advice)
[x] Ensure that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended).
[x] Include relevant tags in the final notebook cell (refer to the DEA Tags Index, and re-use tags if possible)
[x] Clear all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated
[x] Test notebook on both the NCI and DEA Sandbox (flag if not working as part of PR and ask for help to solve if needed)
[x] If applicable, update the Notebook currently compatible with the NCI|DEA Sandbox environment only line below the notebook title to reflect the environments the notebook is compatible with

Feel free to add to it but if not, I will continue working on it once back from leave next week.

@erialC-P I just did a quick tidy of the branch to remove all new notebooks except the one that's specific to the pull request (this will reduce the likelihood of merge conflicts in the future).
Before you do any more work, please check out this branch and run git pull to get the latest version!

Users finally get to see some imagery here using scripts from deaplotting.py
To see where this notebook is designed to sit within the Beginners Guide folder, please see:
https://github.com/GeoscienceAustralia/dea-notebooks/wiki/DEA-notebooks-refresh:-notebook-allocations

I really like the revisions you've both made @robbibt and @caitlinadams
This is going to become another of my go-to guides. Thanks for your comments!!
I have made some minor edits and changed the wording slightly around clipping the data to improve the colour stretch. You might want to review those changes quickly but otherwise I think this notebook is ready to go! :D


Miscellaneous: Friend List information expansion

Currently, when a player's offline, it currently shows "Offline".
I would like this option to be expanded (or be replaced with information) like this:
Last Login date:
a) A few seconds ago.
b) [x] minutes ago.
c) [x] hours [y] minutes ago.
d) [x] days ago.
e) [x] weeks ago.
f) [x] months ago.
g) [x] years ago.
h) never.

This is basically impossible to do accurately, since we're not Jagex
We could potentially show the time since they were last seen by you instead.

This is basically impossible to do accurately, since we're not Jagex
We could potentially show the time since they were last seen by you instead.

That's exactly what I wanted to be honest, and yeah, it sounds great, thanks!

If that's what you want, explain that in the original post


Can't scroll through stream list

Woops. The attempt to close #27 disables the Scroller/Flickable view. The sidebar works, but it's tiny. I've removed the test that conditionally removed the Flickable controls.


Define studio specific configurations

Pype 3 feature
Intro
We have to decide how presets will be split in pype-config. Found out there are 3 types of presets currently:
1.) presets which should not be in pype-config at all because are not configurable by any client else everything will break
2.) presets which are studio specific
3.) and presets which are studio and project specific
What should happen

Presets from point 1.) should be moved to code (other issue to decide which)
Presets from point 2.) should not be in presets (I think) to be 100% sure they are not accidentally overriden (copying whole presets folder or anything else)
Presets from point 3.) stay as they are but reorganize them (other issue to decide how)

Questions

how should we call configurations from point 2.)?

my suggestion is configurations :)
keep in mind we can also change name and meaning of presets and maybe find more "fit" name

should data for point 2.) be loaded with data from point 3.) and oposite (now we have only get_presets)?

i think it should be separate to easily see where data are coming from and avoid possible overriding keys
on the other side it may be messy because few keys will be in both, like ftrack will have studio specific configurations and project overridable values for sure

I'll add a note of structure that came out of previous discussion on the topic

Is system-level site wide?
Is project-level per project name?

Yeah. That was prettu much what came out of the previous brainstorm that we have system configs (for lack of better term) and project configs. I'd say that they map to cases 2) and 3) of what @iLLiCiTiT has mentioned.

the actual naming of the folder is up for the discussion of course.

BTW I've tried to prepare how it may look after all changes and not much remained. And Ftrack is only one who has both system and project levels.

I've made draft PR for the expected changes https://github.com/pypeclub/pype-config/pull/36

Issue probably already solved with settings?

Issue probably already solved with settings?

solved


AzOps - Pull fails to push changes to git

While executing AzOps - Pull pipeline of AzOps Accelerator it fails on Push task because the path is too long:

Is this an OS issue? A git one? Or something else entirely? Does anyone know a way around it? We obviously cannot change subscription / rg names just to make it work :)

That was it! Thank you so much for helping me find it. I think we can close this ticket now.


Images are empty

Hi, I'm trying to test the plugin, and I see that images are uploaded, and they have the correct size, but they are completely empty:

Same in st (bounding boxes are shown, one of the images is previewed in feh):

To be honest I don't know where to start debugging this.
Here is my config:
  mdmath.setup({
    -- Filetypes that the plugin will be enabled by default.
    filetypes = {},
    -- Color of the equation, can be a highlight group or a hex color.
    -- Examples: 'Normal', '#ff0000'
    foreground = '#ff0000',
    -- Hide the text when the equation is under the cursor.
    anticonceal = true,
    -- Hide the text when in the Insert Mode.
    hide_on_insert = true,
    -- Scale of the equation images, increase to prevent blurry images when increasing terminal
    -- font, high values may produce aliased images.
    scale = 2.0,
  })

Don’t worry about debugging it yourself—this code’s a bit of a mess right now, haha! I’m in the middle of refactoring and working on documentation to make PRs easier. I’ll check out your issue later today.

What system are you running? Also what are your NeoVim and ImageMagick versions? And are you using some terminal multiplexer?

Ubuntu 24.04
$ convert --version
Version: ImageMagick 6.9.12-98 Q16 x86_64 18038

(I tried it also with ImageMagick7 on my PATH, but it's still the same)
$ nvim --version
NVIM v0.11.0-dev-108+g22fe04452
Build type: RelWithDebInfo
LuaJIT 2.1.1716656478

(I also tried nvim v0.10.2 from snap, same thing)
No multiplexers

Okay, so apparently it's related to how ImageMagick delegates the SVG. I've discovered that my ImageMagick is using librsvg to convert the SVG, I've tried using Inkscape and got a problem that is similar to yours.
I read online that ImageMagick on Ubuntu doesn't come with RSVG support, not sure if this is still true, but this may be why it's not working in Ubuntu.
That is news to me, I didn't know ImageMagick delegated to another program, and for me this is unreliable, since different backends lead to different results.
Tomorrow I'll try to use librsvg directly, or try to make it work using only Inkscape, but I'll probably move out from ImageMagick to convert the SVG, and use it only for other image processing tasks.

It's fixed by #7, I was able to use it in Ubuntu 24.04. You have to install librsvg2-bin to use it.

Thanks, it works now:


Support chatglm2

API Changed! Error!

vllm version 0.2.1
ModuleNotFoundError: No module named 'vllm.model_executor.parallel_utils.tensor_parallel'
Then i change vllm.model_executor.parallel_utils.layers ，work error！

ModuleNotFoundError: No module named 'vllm.model_executor.parallel_utils.tensor_parallel'
Then i change vllm.model_executor.parallel_utils.layers , it work error!

An error occurred while trying to run locally
python3 vllm/entrypoints/openai/api_server.py --served-model-name chatglm3-6b --model /home/vllm/model/chatglm3-6b --trust-remote-code --tokenizer-mode auto --max-num-batched-tokens 8192 --tensor-parallel-size 1
WARNING 10-30 12:40:53 config.py:398] The model's config.json does not contain any of the following keys to determine the original maximum length of the model: ['max_position_embeddings', 'n_positions', 'max_seq_len', 'max_sequence_length', 'max_seq_length', 'seq_len']. Assuming the model's maximum length is 2048.
...
/home/vllm/vllm/model_executor/models/chatglm.py", line 325, in forward
    key_layer = torch.repeat_interleave(
RuntimeError: CUDA error: an illegal memory access was encountered
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

Thank you for the contribution, unfortunately this PR seems to have some issue and ChatGLM3 also came out. Feel free to coordinate the contribution here if you have bandwidth!
https://github.com/vllm-project/vllm/issues/1552

Again, thank you for your contribution! We merged https://github.com/vllm-project/vllm/pull/1261 and the current main branch supports ChatGLM now. Let us know if the main branch does not look good and feel free to propose any changes!