feh: 2.26 -> 2.26.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/feh/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/n3q1mfdip3l49wx7dh293pwrxqhlrqgd-feh-2.26.1/bin/feh -h’ got 0 exit code
ran ‘/nix/store/n3q1mfdip3l49wx7dh293pwrxqhlrqgd-feh-2.26.1/bin/feh --help’ got 0 exit code
ran ‘/nix/store/n3q1mfdip3l49wx7dh293pwrxqhlrqgd-feh-2.26.1/bin/.feh-wrapped -h’ got 0 exit code
ran ‘/nix/store/n3q1mfdip3l49wx7dh293pwrxqhlrqgd-feh-2.26.1/bin/.feh-wrapped --help’ got 0 exit code
found 2.26.1 with grep in /nix/store/n3q1mfdip3l49wx7dh293pwrxqhlrqgd-feh-2.26.1
directory tree listing: https://gist.github.com/1e8258220f00de69ea28c57fffe352aa
du listing: https://gist.github.com/65e35fd7395eca9058de10721f96b7d3

meta.description for feh is: '"A light-weight image viewer"'.
cc @viric @willibutz for testing.

Success on x86_64-linux (full log)
Attempted: feh
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/zz7y4c9qi8bmgxdcy2chdfxbq9r127a2-feh-2.26.1-man
gzipping man pages under /nix/store/zz7y4c9qi8bmgxdcy2chdfxbq9r127a2-feh-2.26.1-man/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/zz7y4c9qi8bmgxdcy2chdfxbq9r127a2-feh-2.26.1-man
checking for references to /build in /nix/store/zz7y4c9qi8bmgxdcy2chdfxbq9r127a2-feh-2.26.1-man...
shrinking RPATHs of ELF executables and libraries in /nix/store/riyxpyxrwj49r18yi762j02jsdng813m-feh-2.26.1-doc
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/riyxpyxrwj49r18yi762j02jsdng813m-feh-2.26.1-doc
checking for references to /build in /nix/store/riyxpyxrwj49r18yi762j02jsdng813m-feh-2.26.1-doc...
/nix/store/n3q1mfdip3l49wx7dh293pwrxqhlrqgd-feh-2.26.1

Success on x86_64-darwin (full log)
Attempted: feh
Partial log (click to expand)
rmdir: failed to remove '/nix/store/5g0bqbi9053f6dqzayhh0765i41qix75-feh-2.26.1/share': Directory not empty
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/5g0bqbi9053f6dqzayhh0765i41qix75-feh-2.26.1/bin
patching script interpreter paths in /nix/store/5g0bqbi9053f6dqzayhh0765i41qix75-feh-2.26.1
gzipping man pages under /nix/store/xabbjmpbnzid8g3qyixrzrpwbyyxll8n-feh-2.26.1-man/share/man/
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/xabbjmpbnzid8g3qyixrzrpwbyyxll8n-feh-2.26.1-man
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/r0v4srw2gd357x3vw7xgbza5jx7wzygb-feh-2.26.1-doc
/nix/store/5g0bqbi9053f6dqzayhh0765i41qix75-feh-2.26.1

Success on aarch64-linux (full log)
Attempted: feh
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/qh06n5md879v99xnfih3h7xisl791wks-feh-2.26.1-man
gzipping man pages under /nix/store/qh06n5md879v99xnfih3h7xisl791wks-feh-2.26.1-man/share/man/
strip is /nix/store/gp7fylxwn18b7pl2c18ks89hsiaxyfvf-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/qh06n5md879v99xnfih3h7xisl791wks-feh-2.26.1-man
checking for references to /build in /nix/store/qh06n5md879v99xnfih3h7xisl791wks-feh-2.26.1-man...
shrinking RPATHs of ELF executables and libraries in /nix/store/lwsp20p02j2qjd3lkv25wx00sh4rbsdi-feh-2.26.1-doc
strip is /nix/store/gp7fylxwn18b7pl2c18ks89hsiaxyfvf-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/lwsp20p02j2qjd3lkv25wx00sh4rbsdi-feh-2.26.1-doc
checking for references to /build in /nix/store/lwsp20p02j2qjd3lkv25wx00sh4rbsdi-feh-2.26.1-doc...
/nix/store/8mj1n35ls0hv5np8s59wgmpc1l1zl3dz-feh-2.26.1


TOC updates - Deprecation of third-party skills

Docs Build status updates of commit 81545e7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/skills/toc.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


SOLR-16219: ICUCollationField protected field access fails from different classloader context

See: SOLR-16219
protected access modifier behaves differently across different classloaders, so in the common-case deployment of certain optional modules in Solr (e.g., analysis-extras), access that works fine in unit tests can fail in real deployment. This PR fixes one such issue (introduced in https://github.com/apache/solr/commit/9e4376738e38559aeba5d62ee7b54dc68f6b9004), and adds an integration test to prevent regression.
Ideally it would be nice to have a more systematic way to test deployment of modules in a different classloader contexts, but this should suffice to address the immediate issue.

Pending further feedback, I plan to merge this tomorrow.


FEATURE: CPU usabe and RAM Mem usage on Flex toggle

I would like to have the CPU usage and Ram usage in the little toggle when I just open flex.

I personally feel this is out of the scope of FLEX, because this is something Xcode gives you when you debug your app. And if you're jailbroken, there are tweaks for this. But, feel free to make a PR!
Additionally, you can add your own section to FLEX and display the information there yourself (see the demo app as an example on how to do this)


Add Reader usage example

📖 Documentation
It would be great to have some minimal example usage of Reader monad. As far as I understand, it's purpose is to avoid threading arguments through multiple functions in order only to get them where they belong (at the bottom of calls). It would be nice if there's an example of how to refactor e.g. such a code using Reader:
interface Config {
  // ...
  logLevel: number;
  // ...
}

function foo(config: Config) {
  // ...
  return bar(config)  // `bar` doesn't really needs it, it only passes it further
}

function bar(config: Config) {
  // ...
  baz(config)
  // ...
}

function baz(config: Config) {
  // ...
  if(config.logLevel > 5) writeToLogFile("Error occured in baz")
  // ...
}

Meanwhile http://learnyouahaskell.com/for-a-few-monads-more

As far as I understand, it's purpose is to avoid threading arguments through multiple functions in order only to get them where they belong (at the bottom of calls).

Thats the high level benefit. I would describe it like you can use a function without calling it or a Reader is just a monad for all functions of type (a: A) => B. The later one is important to understand then you see Readers everywhere.
Here a simple example. Please not that ReaderTaskEither<R, E, A> is just an alias for Reader<R, TaskEither<E, A>>.
import * as Rr from 'fp-ts/lib/Reader'
import * as RTE from 'fp-ts/lib/ReaderTaskEither'
import * as TE from 'fp-ts/lib/TaskEither'
import * as b from 'fp-ts/lib/boolean'
import { pipe } from 'fp-ts/lib/pipeable'

interface Config {
  logLevel: number
}

const logLevel: Rr.Reader<Config, number> = config => config.logLevel

declare const foo: RTE.ReaderTaskEither<Config, Error, void>
const bar: RTE.ReaderTaskEither<Config, Error, void> = pipe(
  logLevel,
  Rr.map(logLevel =>
    pipe(
      logLevel > 5,
      b.fold(
        () => TE.right(undefined),
        () => TE.rightIO(() => console.log('Some side effect'))
      )
    )
  )
)

const main: RTE.ReaderTaskEither<Config, Error, void> = pipe(
  foo,
  RTE.chain(() => bar)
)

RTE.run(main, {
  logLevel: 10
})

@mlegenhausen thanks. Hmmm, all the ReaderTaskEither stuff in this example is a bit overwhelming though. Could you please simplify it a bit more, to keep only the stuff essential for Reader use case? Perhaps some analogy to React Context (I assume, they kind of serve the same purpose - avoiding passing arguments multiple levels in function/componenst tree) would be helpful too (I've seen ask/asks functions in fp-ts and I have really no idea on how to use them - no arguments?). Thanks in advance :smile:

@vicrac @mlegenhausen  what about:

The purpose of the Reader monad is to avoid threading arguments through multiple functions in order to only get them where they are needed.
One of the ideas presented here is to use the Reader monad for dependency injection.
The first thing you need to know is that the type Reader<R, A> represents a function (r: R) => A
interface Reader<R, A> {
  (r: R): A
}

where R represents an "environment" needed for the computation (we can "read" from it) and A is the result.
Example
Let's say we have the following piece of code
const f = (b: boolean): string => (b ? 'true' : 'false')

const g = (n: number): string => f(n > 2)

const h = (s: string): string => g(s.length + 1)

console.log(h('foo')) // 'true'

What if we want to internationalise f? Well, we could add an additional parameter
interface Dependencies {
  i18n: {
    true: string
    false: string
  }
}

const f = (b: boolean, deps: Dependencies): string => (b ? deps.i18n.true : deps.i18n.false)

Now we have a problem though, g doesn't compile anymore
const g = (n: number): string => f(n > 2) // error: An argument for 'deps' was not provided

We must add an additional parameter to g as well
const g = (n: number, deps: Dependencies): string => f(n > 2, deps) // ok

We haven't finished yet, now it's h that doesn't compile, we must add an additional parameter to h as well
const h = (s: string, deps: Dependencies): string => g(s.length + 1, deps)

finally we can run h by providing an actual instance of the Dependencies interface
const instance: Dependencies = {
  i18n: {
    true: 'vero',
    false: 'falso'
  }
}

console.log(h('foo', instance)) // 'vero'

As you can see, h and g must have knowledge about f dependencies despite not using them.
Can we improve this part? Yes we can, we can move Dependencies from the parameters list to the return type.
Reader
Let's start by rewriting our functions, putting the deps parameter alone
const f = (b: boolean): ((deps: Dependencies) => string) => deps => (b ? deps.i18n.true : deps.i18n.false)

const g = (n: number): ((deps: Dependencies) => string) => f(n > 2)

const h = (s: string): ((deps: Dependencies) => string) => g(s.length + 1)

Note that (deps: Dependencies) => string is just Reader<Dependencies, string>
import { Reader } from 'fp-ts/lib/Reader'

const f = (b: boolean): Reader<Dependencies, string> => deps => (b ? deps.i18n.true : deps.i18n.false)

const g = (n: number): Reader<Dependencies, string> => f(n > 2)

const h = (s: string): Reader<Dependencies, string> => g(s.length + 1)

console.log(h('foo')(instance)) // 'vero'

ask
What if we want to also inject the lower bound (2 in our example) in g? Let's add a new field to Dependencies first
export interface Dependencies {
  i18n: {
    true: string
    false: string
  }
  lowerBound: number
}

const instance: Dependencies = {
  i18n: {
    true: 'vero',
    false: 'falso'
  },
  lowerBound: 2
}

Now we can read lowerBound from the environment using ask
import { pipe } from 'fp-ts/lib/pipeable'
import { ask, chain, Reader } from 'fp-ts/lib/Reader'

const g = (n: number): Reader<Dependencies, string> =>
  pipe(
    ask<Dependencies>(),
    chain(deps => f(n > deps.lowerBound))
  )

console.log(h('foo')(instance)) // 'vero'
console.log(h('foo')({ ...instance, lowerBound: 4 })) // 'falso'

@gcanti Thanks for great explanation :smile: I'd still have one thing confusing me: what does really ask do? If I wrote it this way:
const g = (n: number) => (deps: Dependencies) => pipe(
  deps,
  chain(deps => fn(n > deps.lowerBound))
)

wouldn't it be exactly the same? Isn't ask just function returning identity function?

@vicrac it doesn't compile

Argument of type 'Dependencies' is not assignable to parameter of type 'Reader<Dependencies, unknown>'

So ask is merely a wrapper for proper type inference?

No, your g doesn't compile because the types don't align.
You can rewrite g as
// this compiles                                            v-- no chain here
const g = (n: number) => (deps: Dependencies) => pipe(deps, f(n > deps.lowerBound))

I mean, that's fine, however if you come from this g
//        v-- signature --------------------------v
const g = (n: number): Reader<Dependencies, string> => f(n > 2)

and at some point you want to access the environment, you may want to tweak only the implementation rather than the signature, so ask helps here
//        v-- signature stay the same ------------v
const g = (n: number): Reader<Dependencies, string> =>
  // while the implementation changes
  pipe(
    ask<Dependencies>(),
    chain(deps => f(n > deps.lowerBound))
  )

@gcanti Thanks, that makes a lot of thing clearer :smile: Another question though:
How does mapping on Reader fit into this example? I understand Reader<A, R> as a Monad for function A => R, so what are the monadic operations (map, chain, of) precisely responsible for? Could you describe it?

@vicrac not sure I understand the question, they are the usual monadic operations.
They are responsible for the same things they are responsible for in the case of, say, Either (or any other monad really): function composition.
Let's say you have the following snippet
import * as E from 'fp-ts/lib/Either'
import { pipe } from 'fp-ts/lib/pipeable'

declare function f(s: string): E.Either<Error, number>
declare function g(n: number): boolean
declare function h(b: boolean): E.Either<Error, Date>

// composing `f`, `g`, and `h` -------------v---------v-----------v
const result = pipe(E.right('foo'), E.chain(f), E.map(g), E.chain(h))

const pointFreeVersion = flow(f, E.map(g), E.chain(h))

and at some point you must refactor f to
import * as RE from 'fp-ts/lib/ReaderEither'

interface Dependencies {
  foo: string
}

declare function f(s: string): RE.ReaderEither<Dependencies, Error, number>

result and pointFreeVersion must be refactored as well, fortunately you can use ReaderEither's monadic interface
// before
const result = pipe(E.right('foo'), E.chain(f), E.map(g), E.chain(h))

const pointFreeVersion = flow(f, E.map(g), E.chain(h))

// after
const result = pipe(
  RE.right('foo'),
  RE.chain(f),
  RE.map(g),
  RE.chain(b => RE.fromEither(h(b)))
)

const pointFreeVersion = flow(
  f,
  RE.map(g),
  RE.chain(b => RE.fromEither(h(b)))
)

p.s.
As a curiosity, Reader's map is function composition
import * as R from 'fp-ts/lib/Reader'
import { flow } from 'fp-ts/lib/function'

declare function len(s: string): number
declare function double(n: number): number
declare function gt2(n: number): boolean

const composition = flow(len, double, gt2)
// equivalent to
const composition = pipe(len, R.map(double), R.map(gt2))

btw this is basically boilerplate
RE.chain(b => RE.fromEither(h(b)))

we could add some helper, like
// ReaderEither.ts

export declare function chainEither<E, A, B>(
  f: (a: A) => E.Either<E, B>
): <R>(ma: RE.ReaderEither<R, E, A>) => RE.ReaderEither<R, E, B>

so we can do
const pointFreeVersion = flow(
  f,
  RE.map(g),
  RE.chainEither(h)
)

What do you think? I'll open a PR

I think that would be great :smile: Ok, it seems very clear to me now. I'll try to give it some try and dig around on how I can use it in my projects, and when I come to some conclusion, I'll open a PR adding docs to Reader as well :smile:
Btw. all the stuff you just wrote seems like a perfect base for an article on how it works and how to use Reader in fp-ts. Perhaps I'm missing something but I've not found anything about this e.g. on DEV blogs (thanks for great series on fp with fp-ts you've posted there) - it would be really cool to add it so anyone can read it, without digging in Github issues :rocket:

@vicrac yeah, I'll publish my first comment as a blog post as it is (too many things to do..). Perhaps I'll find the time to add some details in the next few weeks


Update workflows to node20

what

Update workflows to use node20 versions of actions
Update auto-release to use shared controller-release workflow

why

Previously using node12 actions, which are no longer supported

Closing to reopen to trigger tests blocked by repo inactivity.

Trigger tests


Ios build Fails in Xcode 15 with React Native 0.74.0

This change resolves build fails issue by implementing the new native module method architecture
https://reactnative.dev/docs/native-modules-ios#create-custom-native-module-files
Error log
❌  /Users/[REDACTED]/git/node_modules/react-native/React/Base/RCTBridgeModule.h:151:56: expected ';' at end of declaration list

@property (nonatomic, weak, readonly) RCTBridge *bridge RCT_DEPRECATED;
          ^

❌  /Users/[REDACTED]/git/node_modules/react-native/React/Base/RCTBridgeModule.h:151:57: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]

@property (nonatomic, weak, readonly) RCTBridge *bridge RCT_DEPRECATED;
                                                       ^
❌  /Users/[REDACTED]/git/node_modules/react-native/React/Base/RCTBridgeModule.h:164:69: expected ';' at end of declaration list

@property (nonatomic, strong, readonly) dispatch_queue_t methodQueue RCT_DEPRECATED;
                                                        ^

❌  /Users/[REDACTED]/git/node_modules/react-native/React/Base/RCTBridgeModule.h:164:70: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]

@property (nonatomic, strong, readonly) dispatch_queue_t methodQueue RCT_DEPRECATED;
                                                                    ^

❌  /Users/[REDACTED]/git/node_modules/react-native/React/Base/RCTBridgeModule.h:151:57: cannot declare variable inside @interface or @protocol

@property (nonatomic, weak, readonly) RCTBridge *bridge RCT_DEPRECATED;
                                                                     ^

❌  /Users/[REDACTED]/git/node_modules/react-native/React/Base/RCTBridgeModule.h:164:70: cannot declare variable inside @interface or @protocol

@property (nonatomic, strong, readonly) dispatch_queue_t methodQueue RCT_DEPRECATED;
                                                        ^

❌  /Users/[REDACTED]/git/node_modules/react-native/React/Base/RCTBridgeModule.h:366:1: duplicate interface definition for class 'RCTModuleRegistry'

@interface RCTModuleRegistry : NSObject
                                                                     ^

❌  /Users/[REDACTED]/git/node_modules/react-native/React/Base/RCTBridgeModule.h:382:1: duplicate interface definition for class 'RCTViewRegistry'

@interface RCTViewRegistry : NSObject
           ^

❌  /Users/[REDACTED]/git/node_modules/react-native/React/Base/RCTBridgeModule.h:400:1: duplicate interface definition for class 'RCTCallableJSModules'

@interface RCTCallableJSModules : NSObject
           ^

@ismaeldcom Can you please review this. I see this library have no update this last 4yr.


Taggd with React?

Is taggd unusable with React? I see the  elements that taggd produces but they are all 0x0 dimension. I am linking the css and the library properly. Also, the image I am trying to render the tags to is being resized because the taggd-wrapper is messing with it. I am basically trying to implement taggd on an image that is within a modal in React and none of it is working even though the library is being accessed and the taggd elements are being created.

I don’t know. I never used React. Is any jQuery library React-compatible?
Either way, 3.0 is near completion and doesn’t require jQuery. Perhaps it will work better for you. It’s on the #3.0 branch.
https://github.com/timseverien/taggd/tree/3.0?


fix: update path separator for windows glob

What kind of change does this PR introduce?
Bug fix https://github.com/supabase/cli/issues/2734
What is the new behavior?
Convert path separator to / on windows.
Additional context
Tested in VM.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.03%) to 60.216%

Files with Coverage Reduction
New Missed Lines
%

internal/storage/rm/rm.go
2
89.53%

internal/gen/keys/keys.go
5
12.9%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.03%

Covered Lines:
6513

Relevant Lines:
10816

💛  - Coveralls


helm chart for use in kubernetes

Providing a helm chart would make this easier to use for folks not using docker-compose

Will check it out -
providing you have the basic os setup -
this script will build the project.
N.B. I'm thinking it would be best to skip the build and download the 43mb file that is compiled....
RUN  wget https://gist.githubusercontent.com/johndpope/fc1c2327a4ae255d9c44dda9b67b5288/raw/406369ecc157d60f7a9bac2a0d5be3da9aa62e56/parseyapi.sh
&& chmod +x parseyapi.sh
&& ./parseyapi.sh
EXPOSE 9000
RUN find / -name "parsey_api" -size +512k  |xargs cp -t  /work/serving
RUN cd /work/serving
WORKDIR /work/serving
CMD ["/bin/bash"]

Sorry - I updated dockerfile - it maybe more helpful to start and build.
see comments at the bottom
https://github.com/johndpope/DockerParseyMcParsefaceAPI/blob/master/docker/swift3/Dockerfile


Support for bond_meta and generics has added a sometimes dependency on Bond.dll to the generated C# code

The generated C# types are supposed to only need to depend on Bond.Attributes.dll. However, the fix for #140 (commit 46c96f4b381c851e15f5602e6abe8aa0a4919285) changed the generated code to sometimes now depend on Bond.dll for Bond.Reflection.GetSchemaName and friends.
The conditions that trigger this behavior are

having a generic Bond struct or
passing the --compatibility-option=LegacyMetaNamespaces to gbc c#

We've re-opened #140, so this is now a duplicate of that.


"Switch to this user?" prompt is shown when not in local directory

Maybe this should only display when run in a local directory, i.e. not when affecting global config :thinking: :shrug:

Archiving


Please support landscape

When I use it in landscape orientation, it  rotated to portrait orientation.
Please add support for landscape by adding props supportedOrientations of Modal.

ok

Try v0.4.2


How to avoid resendConfirmationForEmail if user is already verified?

Is it possible to check if user is already verified to avoid resendConfirmationForEmail?

Thanks!
Can you explain the scenario and the problem in more detail?


Configurable open/close animation

Awesome! I'll publish a new release with this tonight (PST)

Cool!


Optimizing bundle size by removing unused languages from React Aria

https://react-spectrum.adobe.com/react-aria/internationalization.html#optimizing-bundle-size

By default, React Aria includes translations for all of the languages listed above. This is inclusive to the most users out of the box, but comes at the cost of bundle size. If your application does not support all of these locales, you can use our build plugins to include only the languages that you do support in your JavaScript bundle.

Since we're using Tsup, and they themselves use esbuild, we can most likely use this plugin: https://react-spectrum.adobe.com/react-aria/internationalization.html#esbuild

We should maybe only document this pratice, not do it from our lib directly?
Since we have a peer on react-aria and react-aria-components, i'm not sure if clients will have to do it even if we do it with tsup


adding all bookdash wg and operational folks with all contributor bot

I've now installing the all contributor bot so now adding everyones contributions.

@all-contributors please add @EstherPlomp  for ideas, doc, eventOrganizing, review

@all-contributors please add @Arielle-Bennett  for doc, ideas, eventOrganizing, review

@all-contributors please add @AlexandraAAJ  for docs, ideas, eventOrganizing, review

@all-contributors please add @aleesteele  for docs, ideas, eventOrganizing, review

https://github.com/all-contributors please add @Susana465 for docs, ideas, eventOrganizing, review

@all-contributors please add @Susana465  for  docs, ideas, eventOrganizing, review

@all-contributors please add @EKaroune  for eventOrganizing, review

@all-contributors please add @malvikasharan  for docs, ideas, eventOrganizing, review

@all-contributors please add @c-martinez for docs, ideas, eventOrganizing, review

@all-contributors please add @KirstieJane  for docs, ideas, eventOrganizing, review


To customize the fonts of blog

How can i customize the fonts of blog? I am using blogdown to post my blog and in default settings publishing r code and text using rmarkdown is not that great.

Hei,
For anyone interested in this I edited font settings by adding a custom css file. In your config.toml add the following:
# Custom CSS
custom_css = ["css/custom.css"]

Create a new folder css in content and add your custom css file: /content/css/custom.css
body {
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
}


Using a reference to a closure lose the span info

Hi.
I made a reproducer for this bug here.
It seems the issue is caused when having a reference to a closure &|| {} in the code.
It makes the error looks like:
 --> src/main.rs:8:1
  |
8 | #[hello_macro_derive]
  | ^^^^^^^^^^^^^^^^^^^^^
  | |
  | expected `i32`, found struct `std::string::String`
  | expected due to this

If you use instead a reference to a variable which contains the closure (i.e. the commented code), it works well:
  --> src/main.rs:11:25
   |
11 |         let test: i32 = String::new();
   |                   ---   ^^^^^^^^^^^^^ expected `i32`, found struct `std::string::String`
   |                   |
   |                   expected due to this

Thanks to fix this issue.

This appears to be an instance of the compiler bug https://github.com/rust-lang/rust/issues/43081, rather than being a bug in syn.

Yeah this is rust-lang/rust#43081. If you insert println!("{:#?}", input) as the first line of hello_macro_derive you'll see that the spans all come in as #0 bytes(0..0) so it isn't syn losing them.


Add files via upload

I added a new way of flashing the board of the typhoon h with a generic board since the nucleo is not anymore available. I can add description if it helps with my wiring.
I found a error in the manual too. On the page 5 the 3 mode is with the basic config rth no ? not mission mode.
For the read me maybe say that the recommended version is the https://github.com/tonirosendahl/Thunderbird/blob/Typhoon_H_480/Thunderbird_030420_CD.zip since you found bugs in the newest

What do you think adding the flashing process for an more "normal" st link ?

Yes, that's good. I haven't but you have. Please send me this part via e-mail as extra document. I would than remove the part with my STlink board and focus on the STlink USB stick. My description came from that what HW I have and what I have tested. Maybe not the best for common use...


Fixes Confluent Schema Registry registration process error

Fixes #985 #1014

Fixes Registration error
Added tests using MockRestServiceServer following Confluent API 3.2.2

LGTM, merging.

Squashed, rebased and merged as 661f8494a3c5c646edbbf891110c98d11711fa9e along with some minor refactoring b10a014273b9d7414a67d82dc9937908bbd99eaf


cuda.grid(1) returns incorrect value due to signed integer overflow

cuda.grid(1) returns an incorrect value in the following code:
import numpy as np
from numba import cuda

@cuda.jit
def bug(out):
    i = cuda.threadIdx.x + cuda.blockIdx.x * cuda.blockDim.x
    i2 = cuda.grid(1)
    if i != i2:
        # this shouldn't happen
        print(i, i2)

free_mem, _ = cuda.current_context().get_memory_info()
# max_num_parallel_iter is around 566281830 on my 4090
max_num_parallel_iter = free_mem // 4 - 128 * 1024 * 1024
dev_out = cuda.device_array(max_num_parallel_iter, dtype=np.float32)
bug[22121216, 256](dev_out)

One example of a case which is printed is when i =<PHONE_NUMBER> and i2 = -214741596, which likely indicates a signed 32 bit integer overflow. The bug doesn't appear when setting max_num_parallel_iter to an integer constant, which must mean it's somehow related to the calculation from the memory info.

Thanks for the report! I can reproduce this, and it is due to an integer overflow.

The bug doesn't appear when setting max_num_parallel_iter to an integer constant, which must mean it's somehow related to the calculation from the memory info.

I think the reason you don't see it is that launches are asynchronous, and setting max_num_parallel_iter to a constant changed the timing of execution such that your program manages to exit before the values printed by the kernel get flushed into the terminal. I find that (and I think you should be able to reproduce too) adding cuda.synchronize() to the end of the program manifests the error even when there's no computation or device array:
from numba import cuda

@cuda.jit
def bug():
    i = cuda.threadIdx.x + cuda.blockIdx.x * cuda.blockDim.x
    i2 = cuda.grid(1)
    if i != i2:
        # this shouldn't happen
        print(i, i2)

bug[22121216, 256]()
cuda.synchronize()

I have a fix in https://github.com/gmarkall/numba/commit/c40f740c2f9c0831ac1a7d6fada919ce60605bc7 - I will need to add tests to this for a PR, but intend to do this soon.

@nathanfarlow There is a fix in PR #9235. As a workaround for now, can you write your kernels such that they don't require more than 2^31 threads, or use the manual computation?
One reason what seems like an "obvious" problem has slipped by for so long is that I think people generally don't use so many threads,  so this isn't a common pattern in practice. Instead, it's usually more efficient to use a grid-strided loop with fewer threads, as outlined in: https://towardsdatascience.com/cuda-by-numba-examples-1-4-e0d06651612f#0909

Thanks for looking into this and thanks for the advice! :)


feat: allow invalidating remote candidates

The new API discussed in https://github.com/algesten/str0m/pull/496. Opening here for further discussion as a draft. Will report back with results of experiment but the passing unit test is already giving me good vibes :)

Prelimiary testing suggests that this works quite well! Watch this space.

This has been working really well for us and it is not even an API addition itself, just expanding the scope of invalidate_candidate.
There is an issue with candidate invalidation in general though, see https://github.com/algesten/str0m/pull/504.

Thanks!


MudAutocomplete does not clear it's text when ValueChanged is async

Bug type
Component
Component name
MudAutocomplete
What happened?
After selecting value MudAutocomplete should clear it's text, but text is not cleared if ValueChanged returned a Task which is not yet completed.
Expected behavior
MudAutocomplete clear it's value
Reproduction link
https://try.mudblazor.com/snippet/QYGRkqQEBIpIIQdv
Reproduction steps

Click on one to see the expected behavior
Click on two to see the problem

Relevant log output
No response
Version (bug)
6.4.1
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

It seems that a potential workaround in this situation is to use private async void OnValueChangedAsync instead. However, I must mention that this is not an ideal solution, as it goes against recommended practices. It appears that a similar issue was encountered before https://github.com/MudBlazor/MudBlazor/issues/6475.


Error: 'sqlite3.Connection' object has no attribute 'enable_load_extension'

Trying to run
from datetime import datetime
from shapely.geometry import Point
from pylandsat import Catalog, Product

catalog = Catalog()

begin = datetime(2010, 1, 1)
end = datetime(2020, 1, 1)
geom = Point(4.34, 50.85)

# Results are returned as a list
scenes = catalog.search(
    begin=begin,
    end=end,
    geom=geom,
    sensors=['LE07', 'LC08']
)

product_id = scenes[0].get("product_id")

print(scenes)

but erroring out with sqllite3 problem. Anyone seen this issue? Running on pycharm installation

You need to install Python with some Feature flags. I deinstalled my python an reinstalled it with PyEnv. Before installing the python version I installed some other libraries which are then automaticly used by PyEnv for the install:
$ sudo apt update; sudo apt install build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev libsqlite3-mod-spatialite curl \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
$  PYTHON_CONFIGURE_OPTS="--enable-loadable-sqlite-extensions --enable-optimizations" pyenv install 3.11

Hope this helps

I have also been having the same issue appear.
I have tried @relativityhd solution without uninstalling python. I already use pyenv so I just set the local version to 3.11 using pyenv local 3.11.
I am still not having any luck though, I was wondering if anyone has solved the issue in the same or a different way?

I have also been having the same issue appear.
I have tried @relativityhd solution without uninstalling python. I already use pyenv so I just set the local version to 3.11 using pyenv local 3.11.
I am still not having any luck though, I was wondering if anyone has solved the issue in the same or a different way?

You need to reinstall the python version, so that the PyEnv building script can link the other dependencies to the Python installation. Without that my solution won't work, because the installed Python installation has not been linked to the dependencies.

Thank you for the response!
I have tried uninstalling, reinstalling and setting the version using
pyenv uninstall 3.11
PYTHON_CONFIGURE_OPTS="--enable-loadable-sqlite-extensions --enable-optimizations" pyenv install 3.11
pyenv local 3.11

It still doesn't seem to be working for me. Would you mind sharing the commands that you would expect to work, please? As I think I am misunderstanding something.

Should be the right commands. What exactly is your error message? What other installations are on your system? pyenv versions


3.3.8: GLFW_BUILD_TESTS=ON and no test suite?

cmake configured with GLFW_BUILD_TESTS=ON and looks like there is no test suite.
[tkloczko@pers-jacek x86_64-redhat-linux-gnu]$ cmake -L
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.

CMake Error: The source directory "/home/tkloczko/rpmbuild/BUILD/glfw-3.3.8/x86_64-redhat-linux-gnu" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
-- Cache values
BUILD_SHARED_LIBS:BOOL=ON
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
CMAKE_INSTALL_PREFIX:PATH=/usr
ECM_DIR:PATH=/usr/share/ECM/cmake
GLFW_BUILD_DOCS:BOOL=ON
GLFW_BUILD_EXAMPLES:BOOL=ON
GLFW_BUILD_TESTS:BOOL=ON
GLFW_INSTALL:BOOL=ON
GLFW_USE_OSMESA:BOOL=ON
GLFW_USE_WAYLAND:BOOL=ON
GLFW_VULKAN_STATIC:BOOL=OFF

+ cd glfw-3.3.8
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 -C x86_64-redhat-linux-gnu test ARGS=--output-on-failure
make: *** No rule to make target 'test'.  Stop.

I'm closing this ticket as 3.4 seems is OK


Fix Resource Registration

explicitly setting null for page-resource in config file, will no longer automatically register the page-resource

Potential fix for #131


Instance vars not recognised

I can get the AppMessage template to render, but none of the parent component variables  or functions (sayHi) are recognised:
[Vue warn]: Property "sayHi" was accessed during render but is not defined on instance.
Is there a problem or is it me??

Sorry. I have stripped the rest of the code out of the page & everything is OK. Something else must be causing the issue. AnyHoo thanks for a great component.


DMs still not working?

Hey, I noticed that there's a new version of tweepy (v3.7.0) and installed it. I was hoping that DM functionality has been fixed but trying to send a DM it still says "Sorry, that page does not exist.". I checked all my paths and the installation itself and whatsoever. Am I missing something and doing something wrong with my configuration or am I right that DMs are still not working with 3.7.0?

#1081 is the open issue regarding this.


Support packing for pretokenized datasets

At this point, trl returns the dataset as is if the provided dataset has signs of being tokenized already. https://github.com/huggingface/trl/blob/98ad01ddfd1e1b67ec018014b83cba40e0caea66/trl/trainer/sft_trainer.py#L503
Additionally, I see the ConstantLengthDataset https://github.com/huggingface/trl/blob/98ad01ddfd1e1b67ec018014b83cba40e0caea66/trl/trainer/utils.py#L426
has been written only in support of data that is not pretokenized and it should be possible to extend to pretokenized case as well.
Is there of any interest to support packing for pretokenized datasets? if so, I will be interested to contribute.

@lvwerra requesting your opinion.

@kmehant thanks for sharing this feature request.
Can you briefly describe why you need this feature? Or why you can't do without this feature?
It's undoubtedly an interesting feature to have, but I'm worried about the implementation, which risks adding yet another level of complexity. Have you found a way of implementing it? What elements are affected by the changes?

@qgallouedec thanks for circling back.
In my opinion supporting is not complex. Here is a version implementing this - https://github.com/kmehant/trl/tree/pack-pretok
changes / comparison with main - https://github.com/huggingface/trl/compare/main...kmehant:trl:pack-pretok?expand=1
Steps to try this version
Install trl from my fork
git clone -b pack-pretok https://github.com/kmehant/trl.git
cd trl
pip install .

Sample training code
from trl import SFTTrainer
from transformers import AutoTokenizer
tok = AutoTokenizer.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0")
t = tok.encode("We adopted exactly the same architecture and tokenizer as Llama 2.")
d = {"input_ids": [t]*10}
import datasets
data = datasets.Dataset.from_dict(d)
trainer = SFTTrainer(
    "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
    train_dataset=data,
    max_seq_length=10,
    packing=True,
)
trainer.train()

Sample output looks like
{'train_runtime': 18.4487, 'train_samples_per_second': 2.927, 'train_steps_per_second': 0.163, 'train_loss': 2.972621281941732, 'epoch': 3.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:18<00:00,  6.15s/it]
TrainOutput(global_step=3, training_loss=2.972621281941732, metrics={'train_runtime': 18.4487, 'train_samples_per_second': 2.927, 'train_steps_per_second': 0.163, 'total_flos':<PHONE_NUMBER>160.0, 'train_loss': 2.972621281941732, 'epoch': 3.0})

Thank you. I can raise a PR out of this and add tests as needed.

Thanks! It's actually simpler than I expected.
Can you open a PR?
Would it be possible to directly infer if the dataset is tokenized in ConstantLengthDataset?

@qgallouedec any update on this thread? Thanks


Copy feedback

[Enter feedback here]
@cichur this sentence is wrong
"Prior to and during a Microsoft Teams meeting or phone call, the meeting organizer has several options for choosing the bridge settings."
All these settings can only be set by the tenant admin not by the organizer. Also they apply only to meetings not to 1:1 and group calls.

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

ID: f4746560-0390-ea94-73bf-ad57f5926199
Version Independent ID: 84db6582-cf8f-9a5a-eac1-09461db4c798
Content: Manage bridge settings in Teams - Microsoft Teams
Content Source: Teams/manage-bridge-settings.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: v-cichur

@officedocspr Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@cichur I can't seem to find this article. It give a 404 error. Please could you assist?

Hi,
Ana commented on a doc that was in review, so there's no action required here. Will close this ticket.


Can we create a Cosmos SP for featured movie?

Implementing /api/featured/movie is challenging because of some of the limitations in Spring Boot
Can we create a stored procedure in Cosmos that does the weighting and randomization and returns a single, random movie?

@bartr : we may not need this, got it working with 2 simple calls exactly the same as C#

Since SPs don't support cross-partition operations, this won't work for us.
closing


[PE-D] App Logo

Maybe it would be good to add an app logo? It would look nice on the User Guide and Landing Page/README also. I'm not sure if the logo displayed in-app

is the intended logo since it's the same as AB3 :")
(Can just take a random contact book icon from the internet to use as the logo XD)

Labels: severity.VeryLow type.FeatureFlaw
original: feliciaivane/ped#9

With regards to this, I've created a logo for Track-O which keeps in line with the app's theming.

I like this logo! Very minimalist and aesthetically pleasing! :heart_eyes:


Add simple name search for Patients

Scenario
AS
A user with read access to patients
I WANT
The ability to fuzzy search for patients by name
SO THAT
I find someone who I am looking for.
Acceptance Criteria
GIVEN
A logged in user with read access to patients and patients in the database
WHEN
I type a patient's name in the search patients box
THEN
I want to results that are similar to the patient's name to be displayed in the list below.
Related Issues
Technical Notes

Hey @jackcmeyer, are you working on this?

@omkar-joshi yes, there is an open PR for it.


[Snyk] Upgrade dpop from 1.1.0 to 1.4.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade dpop from 1.1.0 to 1.4.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 3 versions ahead of your current version.
The recommended version was released 2 months ago, on 2023-09-08.

Release notes

Package name: dpop

1.4.0 - 2023-09-08Features

DPoP is now RFC9449 (62289ce)

1.3.0 - 2023-09-08Features

DPoP is now RFC9449 (2c3c500)

1.2.0 - 2023-04-26Features

release process with provenance (1053717)

1.1.0 - 2022-09-28chore(release): 1.1.0

    from dpop GitHub release notes

Commit messages

Package name: dpop

7a0f48f chore(release): 1.4.0
45132fa build: force republish with clean CI
a9b2198 chore(release): 1.3.0
62289ce feat: DPoP is now RFC9449
1ffd617 chore: cleanup after release
8b6527f chore(release): 1.2.0
1053717 feat: release process with provenance
f0e50bd docs: update README.md
6841ae3 build: move prepack to versionrc
23c81af chore: add issue config

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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

Comparison is base (253326b) 75.04% compared to head (6c08e43) 75.04%.
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #27   +/-   ##
=======================================
  Coverage   75.04%   75.04%
=======================================
  Files          39       39
  Lines        1543     1543
  Branches      333      333
=======================================
  Hits         1158     1158
  Misses        347      347
  Partials       38       38

Flag
Coverage Δ

unittests
75.04% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


How to obtain multiple access tokens for different audiences from one STS?

Description
How do we obtain multiple access tokens for different audiences from one STS?
I would like to obtain two access tokens for myWebAPI and microsoftGraphAPI to obtain the signed in user's photo.
The myWebAPI is also registered with Azure AD.
Since we cannot obtain an accesses token for any array of audiences

I first obtain the access token for myWebAPI .
And then i obtain the access token for microsoftGraphAPI

But after step 2 above the access token for microsoftGraphAPI replaces the access token for myWebAPI in step 1 in my local storage.
My desired behavior would be to have both the token's persisted to my local storage under two different keys.
How do i implement my desired behavior ?

Right, for separate resources you should request separate tokens (more detail in documentation). Is storing the token in a variable in your app or manually saving it in the local storage not an option?

Hi
Certainly access token can be stored in the local storage.
But what happens here is this
Get the token for my web api and store it in localstorage.
Get the token for my msgraph and when i do this it overwrites the token in
my localstorage and the key for this is weird
and i think that when azure delivers the token for msgraph it should not
overwrite my api token in localstorage no ?
regards
Hrishy
On Tue, Jul 21, 2020 at 11:16 PM Doğan Erişen<EMAIL_ADDRESS>wrote:

Right, for separate resources you should request separate tokens (more
detail in documentation
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/resources-and-scopes.md).
Is storing the token in a variable in your app or manually saving it in the
local storage not an option?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/2009#issuecomment-662009728,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJCOEWKAIHRNECQIGARI42TR4XIAXANCNFSM4PDEI62A
.

@hrishy MSAL will automatically cache tokens based on the scope, which ensures that a request to get a token for MS Graph should not overwrite a cached token for your web API.
Can you please clarify if you are implementing token caching yourself or relying on MSAL to automatically cache tokens? Can you please provide the following information: version of MSAL, configuration, code you are using to call acquireTokenSilent, logs from the MSAL Logger.
Also, in the future, please use one of the pre-configured issue templates, thanks!

Hi
I am using the OIDC library and I have configured it to persist tokens in
the localstorage of the browser.
And when i manually inspect the browsers localStorage I do see that it is
overwriting the value.
regards
Hrishy
On Wed, Jul 22, 2020 at 9:53 PM Jo Arroyo<EMAIL_ADDRESS>wrote:

@hrishy https://github.com/hrishy MSAL will automatically cache tokens
based on the scope, which ensures that a request to get a token for MS
Graph should not overwrite a cached token for your web API.
Can you please clarify if you are implementing token caching yourself or
relying on MSAL to automatically cache tokens? Can you please provide the
following information: version of MSAL, configuration, code you are using
to call acquireTokenSilent, logs from the MSAL Logger.
Also, in the future, please use one of the pre-configured issue templates
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/new/choose,
thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/2009#issuecomment-662551073,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJCOEWPR27BNHCELV2FOLDDR44G7PANCNFSM4PDEI62A
.

@hrishy Is this the library you are using? https://github.com/IdentityModel/oidc-client-js

Yes jo-arroyo I am using that client oidc-client": "^1.10.1"

@hrishy Unfortunately, we are unable to provide support for a third-party client library. MSAL.js uses a composite key for storing access tokens in local storage, which is made up of the client id for the application, scopes for request, login authority, and home account identifier of the user.

Closing due to inactivity, please let us know if this is still an issue, thanks!


add typechecking of the package bread/forms to the CI

Okay, a lot of comments, I think some of the issues might also originate from when I wrote annotations the first time.
Another thing I wonder is: Could it make sense that we implement our own type (see https://docs.python.org/3/library/typing.html#user-defined-generic-types) for the cases where we use htmlgenerator.Lazy? I hope we could write Lazy[str] or Lazy[Any] and similar instead of always skipping or using Union.
1. We express the expected type of the Lazy expression

2. No need to always think the "non-lazy" option.

I like the idea of introducing "shortcuts" for the types. They can get very verbose...
But Lazy[str] to me just looks like a Lazy that evaluates to a string and not like Union[Lazy, str]. For me we would need to call it MaybeLazy[str] or something like that.
(Actually I like the idea of using Lazy[T] for a Lazy that evaluates to T, but that's a different topic altogether.)

Okay, a lot of comments, I think some of the issues might also originate from when I wrote annotations the first time.
Another thing I wonder is: Could it make sense that we implement our own type (see https://docs.python.org/3/library/typing.html#user-defined-generic-types) for the cases where we use htmlgenerator.Lazy? I hope we could write Lazy[str] or Lazy[Any] and similar instead of always skipping or using Union.
1. We express the expected type of the Lazy expression

2. No need to always think the "non-lazy" option.

I like the idea of introducing "shortcuts" for the types. They can get very verbose...
But Lazy[str] to me just looks like a Lazy that evaluates to a string and not like Union[Lazy, str]. For me we would need to call it MaybeLazy[str] or something like that.
(Actually I like the idea of using Lazy[T] for a Lazy that evaluates to T, but that's a different topic altogether.)

Right, MaybeLazy[T] and Lazy[T] would be interesting, if somebody needs something recreational to do, that could be added in htmlgenerator ;)


Timeout on Waiting for QR

Hi I have done all the process to install the driver however when I run the command:

docker run --network selenium -it -e SELENIUM='http://firefox:4444/wd/hub' -v $(pwd):/app  webwhatsapi /bin/bash -c "pip install ./;pip list;python sample/remote.py"

I got the following message:

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Package                   Version

asn1crypto                0.24.0
cffi                      1.12.2
cryptography              2.6.1
enum34                    1.1.6
ipaddress                 1.0.22
numpy                     1.16.2
pip                       19.0.3
protobuf                  3.7.0
pycparser                 2.19
python-axolotl            0.1.42
python-axolotl-curve25519 0.4.1.post2
python-dateutil           2.8.0
python-magic              0.4.15
selenium                  3.141.0
setuptools                40.8.0
six                       1.12.0
typing                    3.6.6
urllib3                   1.24.1
virtualenv                16.4.3
webwhatsapi               2.0.3
wheel                     0.33.1
Environment {'LANG': 'C.UTF-8', 'PYTHONIOENCODING': 'UTF-8', 'TERM': 'xterm', 'GPG_KEY': 'C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF', 'PYTHON_VERSION': '2.7.16', 'SHLVL': '1', 'PYTHON_PIP_VERSION': '19.0.3', 'HOSTNAME': 'add8806034e0', 'SELENIUM': 'http://firefox:4444/wd/hub', 'PWD': '/app', 'PATH': '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HOME': '/root', '_': '/usr/local/bin/python'}
Waiting for QR
Traceback (most recent call last):
File "sample/remote.py", line 20, in
driver.wait_for_login()
File "/usr/local/lib/python2.7/site-packages/webwhatsapi/init.py", line 261, in wait_for_login
EC.visibility_of_element_located((By.CSS_SELECTOR, self._SELECTORS['mainPage']))
File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/support/wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
I'm running it on a Google Cloud Debian 9.
I ran the "test_remote.py" with the above command and I got the shot.png of web.whatsapp.com.
What can I do?
Thanks

Did you actually read the QR code?
If you are running headless, you will need to get the QR code with get_qr() or get_qr_plain() and then read it with your WhatsApp Web on your smartphone.

I got QR Code, and there is issue while reading QR code, using the smart phone,
"Couldn't scan code, make sure you are on web.whatsapp.com and try again"

Any update?


Jerkiness when creating circle using leaflet-0.8dev

This occurs in leaflet 0.8-dev only.
When drawing a circle, it can be easily 'expanded' in size - but when you attempt to reduce the size, the drawing either freezes or stutters. Note this does not happen when editing an existing circle - only when creating a new one.
Interestingly, when dragging from a bottom-right part of the circle back towards the middle, the circle cannot be shrunk. But if instead you start the mouse to the top-left (or bottom-left) part of the circle and then back towards the middle, the reduction in size will occur, although jerkily.

Probably related to #393

@bfishman this seems like a Leaflet issue, can you confirm this is still happening in L 1.0 or L 0.7.7?


is there any explanation for all the listed path planner algorithms and controllers?

Hi @zhurenjiek25,
thank you for reaching out. Please take a look at [https://github.com/cogsys-tuebingen/gerona/wiki/path-planner](the path planner) and the [https://github.com/cogsys-tuebingen/gerona/wiki/controllers](the controllers wiki page).
More information can be found in our https://rdcu.be/barrQ.
If you have any questions left, please open a new issue here about that specific topic.
Cheers


[SPARK-5135][SQL] Add support for describe [extended] table to DDL in SQLContext

This brings https://github.com/apache/spark/pull/3935 up to date and fixes style violations.

Test build #25859 has started for   PR 4127 at commit b1a0f6a.

This patch merges cleanly.

Test build #25859 has finished for   PR 4127 at commit b1a0f6a.

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

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

Hi, @rxin
I created a new PR #4227 to rewrite this part and bring everything up-to-date, would you please review it?

Thanks. Do you mind closing this one?

ok, please close this one : )

I don't have permission to do it. Can you click the close button?

I don't have permission, too.  I only have comment permission here.
what's going wrong?

Ah never mind this is my own pull request. Closing it.


Internet Download Manager version 6.38.16

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Microsoft Reviewers: Open in CodeFlow

@ItzLevvie could you update with 6.38.25 build?

It's already in https://github.com/microsoft/winget-pkgs/blob/master/manifests/t/TonecInc/IDM/<IP_ADDRESS>/TonecInc.IDM.yaml


feat(ar_tag_based_localizer): renamed ar_tag_based_localizer to landmark_based_localizer

Description

Renamed the package name from ar_tag_based_localizer to landmark_based_localizer
Renamed the node name from tag_tf_caster to landmark_tf_caster
The node name for ar_tag_based_localizer remains the same.

The other minor correction

Removed utils.hpp, cpp from ar_tag_based_localizer  and move contents to ar_tag_based_localizer.cpp

This pull request is compared to the following pull request and only one of them will be merged.
https://github.com/autowarefoundation/autoware.universe/pull/5043
Tests performed
The sample data for the ar_tag_based_localizer (AWSIM version) was run in logging_simulator to confirm the same performance as before.
Effects on system behavior
For ar_tag_based_localizer, the package name and the node name is changed.
The default autoware is not affected.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

This pull request has been closed because the following pull request has been approved.
https://github.com/autowarefoundation/autoware.universe/pull/5043


Redirecting with $urlRouterProvider occurs error when target state is Future

Hello. Let's see Example.
// route.js
export const ModuleLazyLoader = modulePath => transition => transition.injector().get('$ocLazyLoad').load(modulePath)

export default function routesConfig($urlRouterProvider, $stateProvider) {
  $urlRouterProvider.otherwise('/')
...
  $stateProvider.state({
      name: 'event.**',
      url: '/event',
      lazyLoad: ModuleLazyLoader('./event.module.js'),
    })
...
}

When I go to /invalid, just invalid URL, I will redirect to '/' rightly.
Otherwise, When I enter /event/invalid, future state's invalid child, redirect to '/' likewise but next Error occured together: stateService.js:39 TransitionRejection(type: 2, message: The transition has been superseded by a different transition, detail: Transition#1( ''{} -> 'home'{} ))
(home is '/')
I think there are some collision between $urlRouterProvider and UI-router.
My ui-router's version is 1.0.0-rc.1.
Please check this issue. Thank you.

@christopherthielen Please look at this issue.

@christopherthielen hello~?

@cheerun Can you reproduce the issue?
http://plnkr.co/edit/SxLQHpWzVw0Nfov7mZIe?p=preview

I cannot reproduce yet about this issue on plunker, but I can give to you 2 more information.
1
I added app.run($trace => $trace.enable(1)), and went to '/event/invalid' directly via browser url bar.
Then, I could see logs about this issue.
Transition #0 r1: Started  -> "Transition#0( ''{} -> 'event.**'{"remainder":"/invalid"} )"
angular-ui-router.min.js:7
Transition #1 r1: Started  -> "Transition#1( ''{} -> 'home'{} )"
angular-ui-router.min.js:7
Transition #1 r1: <- Success  "Transition#1( ''{} -> 'home'{} )", final state: home
angular-ui-router.min.js:7
Transition #0 r1: <- Rejected "Transition#0( ''{} -> 'event.**'{"remainder":"/invalid"} )", reason: TransitionRejection(type: 2, message: The transition has been superseded by a different transition, detail: Transition#1( ''{} -> 'home'{} ))
angular-ui-router.min.js:9
TransitionRejection(type: 2, message: The transition has been superseded by a different transition, detail: Transition#1( ''{} -> 'home'{} ))

2
http://plnkr.co/edit/OsBv3s?p=preview
On above plunker, click 'event/invalid/' directly.
Then you can see error although it's different from this issue.
Thank you for your response!


Added To-Do list

🛠 Issue (Number)

Closes #804
Description
A responsive To-Do list project is a single web page that lets user manage a list of tasks. User can add and remove tasks from the lists.
Type of change

[x] This change requires a documentation update

Checklist:

[x] I have made this from my own
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] The title of my pull request is a short description of the requested changes.

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

Project is already present in the repo


Streamline FST constructors and make it fully read-only

Description

Streamline FST constructors by grouping the medata attributes into FSTMetadata, so that the FST construction won't be diverged too much
Make it fully read-only by moving finish() and setEmptyOutput to FSTCompiler
Split the metadata saving into saveMetadata()

Eventually we would want to remove/deprecate the constructors with DataInput metaIn.
This will also make it easier to stream the FST to disk, as a FST written with DataOutput won't be able to read and only contain the metadata. The flow would then be:

Create the FSTCompiler with a DataOutput (e.g an IndexOutput). Adding nodes as usual and finishing with compile()
Create a new DataInput from the DataOutput with a FSTStore (on-heap/off-heap)
Create the FST with the metadata and FSTStore

Note: We also might want to remove the constructor with FSTStore completely, and users need to call init() themselves?

Note: We also might want to remove the constructor with FSTStore completely, and users need to call init() themselves?

+1


xssValidator and Content-Type: multipart/form-data

Hi,
In our project we send multipart/form-data to our nuxt server and it seems to interfere with the xssValidator.
If we send any binary in our body we get a BadRequest 400 response originating from the following location: https://github.com/Baroshem/nuxt-security/blob/11dc2d525c9b0fc4b038b45e9621d0b400f982f3/src/runtime/server/middleware/xssValidator.ts#L35
We think this is because multipart/form-data binary should not be stringified with JSON and then be compared to equality to the original binary input. Are we correct in this train of thought?
What can we do to fix our issue except from disabling the entire xssValidator?
A second question: why is the xssValidator only enabled on POST and GET? We'd expect it to be enabled on at least PATCH as well? https://github.com/Baroshem/nuxt-security/blob/11dc2d525c9b0fc4b038b45e9621d0b400f982f3/src/runtime/server/middleware/xssValidator.ts#L11
We'd love to hear from you, we really like your project!

Hey Buddy,
I am glad that you like it!
Let me answer your questions:

why is the xssValidator only enabled on POST and GET? We'd expect it to be enabled on at least PATCH as well -> This is the convention I selected at the very beginning because I thought that you may need XSS validation in GET and POST only. But from what you say, I think it could be beneficial to allow users to pass an array of methods where the XSS validation should work. By default we could still set the POST and GET methods but allow users to pass a custom array of methods. Do you think that it would help?
We think this is because multipart/form-data binary should not be stringified with JSON and then be compared to equality to the original binary input. Are we correct in this train of thought? -> Yes you are correct. I think the XSS Validator should be refactored in several places because for now it works in a really basic way.
What can we do to fix our issue except from disabling the entire xssValidator? -> You can always disable XSS Validator for certain route only (its not great but you can do it even right now)

export default defineNuxtConfig({
  routeRules: {
    '/my-secret-route': {
      security: {
        xssValidator: false
      }
    }
  }
})

Hi Baroshem,
Thanks for you quick response!

I think the default could very well include PATCH as well. But if we get the possibiilty to change it ourselfs that would be fine as well
Ok :)
Ah that is actually a great fix for our case, will implement that

Sorry xD didn't mean te close the ticket since the core issue is still here

No worries, happened to me too many times ;)
So regarding the contribution, if you are up for it feel free create a branch. work on your solution and create a PR with it. Then I could give you a review.
If you don't feel comfortable designing the new solution by yourself, I can always give you some ideas in terms of how I would see it. Maybe it will help you :)

Support for configuring methods for XSS validator was merged in 1.2.0 :)


Fix libx264 import lib msvc + bump msys2 + modernize

Specify library name and version:  lib/1.0

[ ] I've read the guidelines for contributing.
[ ] I've followed the PEP8 style guides for Python code in the recipes.
[ ] I've used the latest Conan client version.
[ ] I've tried at least one configuration locally with the
conan-center hook activated.

there are many changes... are they all really needed to fix the hook?

No, but they are simple.


fix: fields with wrong type

What did you fix? (provide a description or issue closes statement)
Fix some fields marked with wrong type.
All routes (except searchable) have been tested with generated golang code to make sure no type conversion error during runtime.
/persistentEnemy has a complete different json format in production server, so I kept this route as it was in spec. Please fix this.

Reproduction steps

Generate golang client with oapi-codegen
Generate unit tests for each API (except searchable)
Run these tests and fix type conversion errors.

Evidence/screenshot/link to line
Considerations

Does this contain a new dependency? [No]
Does this introduce opinionated data formatting or manual data entry? [No]
Does this pr include updated data files in a separate commit that can be reverted for a clean code-only pr? [No]
Have I run the linter? [Yes]
Is is a bug fix, feature request, or enhancement? [Bug Fix]

/persistentEnemy has a complete different json format in production server, so I kept this route as it was in spec. Please fix this

Not really sure what you mean here. If you could make an issue on the applicable repo, I'm happy to fix it, but there's a couple different persistentEnemy routes depending on if your mean worldstate data or the raw translation data.

so, assuming you mean the static data, it looks like it's reference got messed up at some point and started using the same data as the /{platform}/persistentEnemies body, so i'll go get that adjusted.

so, assuming you mean the static data, it looks like it's reference got messed up at some point and started using the same data as the /{platform}/persistentEnemies body, so i'll go get that adjusted.

That's exactly what I mean.


Very high memory usage

Hi, I am experimenting excessive memory utilization of the library:
import numpy as np
X = np.random.rand(20_000_000, 2) # 20MM 2D vectors

index = pynndescent.NNDescent(X)
index.prepare()

The following code exceeds 30GB of memory in my machine. Surprisingly, other libraries like hnswlib are capable of building the same index in approximately 5GB of memory.
Is this a possible bug/memory leak in the library or is it the expected memory usage?
Testing with version 0.5.10

Hello @lmcinnes! Thank you for the amazing package, the speed and accuracy of the index are impressive! Unfortunately, however, I also have a memory issue. I am trying to build a 5-NN graph for 70,000,000 1024-dimensional vectors but it does not fit into 1.75 TB of RAM even with the least-efficient setting.
pynn_knn = pynndescent.PyNNDescentTransformer(
    metric='cosine', n_neighbors=5, search_epsilon=0.25, n_jobs=1, low_memory=True, verbose=True
).fit_transform(my_vectors)

Could you advice us know to make PyNNDescent more memory-efficient? For example, would it make sense to decrease the values of the pruning_degree_multiplier and max_candidates  parameters? In my use case, an accuracy drop is acceptable. Thank you.

For a dataset that large I think you’ll be much better off using an index
that uses quantization such as LanceDB or diskANN.
On Fri, Mar 22, 2024 at 2:03 PM Roman Bushuiev @.***>
wrote:

Hello @lmcinnes https://github.com/lmcinnes! Thank you for the amazing
package, the speed and accuracy of the index are impressive! Unfortunately,
however, I also have a memory issue. I am trying to build a 5-NN graph for
70,000,000 1024-dimensional vectors but it does not fit into 1.75 TB of RAM
even with the least-efficient setting.
pynn_knn = pynndescent.PyNNDescentTransformer(
metric='cosine', n_neighbors=5, search_epsilon=0.25, n_jobs=1, low_memory=True, verbose=True
).fit_transform(my_vectors)
Could you advice us know to make PyNNDescent more memory-efficient? For
example, would it make sense to decrease the values of the
pruning_degree_multiplier and max_candidates parameters? In my use case,
an accuracy drop is acceptable. Thank you.
—
Reply to this email directly, view it on GitHub
https://github.com/lmcinnes/pynndescent/issues/220#issuecomment-2015059561,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3IUBLMMSC2YVWWYYCJXJ3YZQTYTAVCNFSM6AAAAAAZMHUZ72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJVGA2TSNJWGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

For a dataset that large I think you’ll be much better off using an index that uses quantization such as LanceDB or diskANN.

Thank you for your reply! In the end, I still used PyNNDescent by first creating two k-NN graphs for two halves of my data, clustering the nodes by BFS-based similarity cutoff, and then recreating the final k-NN graph for the cluster representatives. I found other packages less convenient for creating k-NN graphs, as they typically provide only indexing capabilities and the graphs have to be created by reiterating the whole index. 🙂

That makes sense if you just want a kNN graph. The process you used is similar to the dask-distributed pynndescent that exists here in the distributed branch. If there is significant call for such an option I might try to finish it up and get it merged into main.

If NNDescent uses over 30GB for an example 20M x 2 dataset (150MB in single precision), that does seem a bit much indeed. That's 200x more memory than the dataset itself.

I agree that sounds excessive, but there's really nothing in the algorithm that would call for that unless something has gone astray, or memory hasn't been collected yet. Possibly there is a memory leak in the numba compiled material? It's hard to say for sure, but I haven't personalyl encountered such a siutation.
A last note; if you have 2D data you should be using a KD-Tree for exact neighbors.

I ran a quick benchmark to profile NNDescent's memory usage :
%load_ext memory_profiler

import numpy as np
from pynndescent import NNDescent

X = np.random.randn(1_000_000, 768).astype(dtype=np.float32)
print(f"Array memory usage: {round(X.nbytes / 1024 ** 3, 3)} GB")

%memit NNDescent(X, metric="cosine", compressed=True)

Output:
Array memory usage: 2.861 GB
peak memory: 11293.77 MiB, increment: 8151.94 MiB (in 1m59.9s)

Doesn't look unreasonable to me: NNDescent uses about 4x as much memory as the dataset's size. Profiling was done on an M1 Max with pynndescent v0.5.12 and numba v0.59.1.


chore(ci): checkout@v4

Updated!
https://github.com/actions/checkout/releases/tag/v4.0.0
Author should do the followings, if applicable

[ ] Add tests
[ ] Run tests
[ ] yarn denoify to generate files for Deno

Thanks! Merge it now!


Figure out how to proxy web3 connection to backend WW to simplify use of alternate providers

This is a dupe of #3576


Do we want an author section at the bottom of our docs?

This:

I think it'd work for posts or articles, but for documentation I'm not sure.

I would remove it from the website. Docs are contributed by many of us, and will probably be articles and posts as well (because it's generated of the md files in repo, right?). So, I think we can go without it.

We can have documentation and a separate section for posts or articles. For the latter I think this would look good. But yeah, okay, I'll remove it from the docs.

I think if someone wanted to author a blog or a tutorial it would make sense, but I would vote no author on docs for the reason @xmudrii mentioned.


Not possible to encrypt and then sync?

Goals

Encrypt and then sync the database
Expected Results

Encrypted data in the Object Server Database
Actual Results

Data not getting encrypted
Steps to Reproduce

nil
Code Sample

let config = Realm.Configuration(syncConfiguration: SyncConfiguration(user: user, realmURL: syncServerURL), encryptionKey: Utility().getKey() as Data)
self.realm = try! Realm(configuration:  config)

Screenshot of database below:

Version of Realm and Tooling

ProductName:	Mac OS X
ProductVersion:	10.12
BuildVersion:	16A323
Xcode 8.3.2
Build version 8E2002
1.1.0.rc.2
Realm (2.7.0)
RealmSwift (2.7.0)

Thanks for getting in touch, and sorry that you're experiencing this issue. How do you know the data is not being encrypted -- is it because you can open your encrypted Realm using the Realm browser?

@austinzheng Hey, thanks for replying. Yes, exactly. Because when viewed through Realm Browser its not encrypted. The data we're trying to store is little confidential and don't think its really good idea to see those data :)
Currently we'd to encrypt each and every field before saving to Realm :(

@sree127 is it possible that you also asked this question on Stack Overflow? https://stackoverflow.com/q/44324038/373262
If that's the case, I think it's likely that you're dealing with two separate Realms, and that you're loading the unencrypted local Realm in the browser, not the encrypted synchronized Realm.

@jpsim Hey, that was not me :)  https://stackoverflow.com/q/44324038/373262
I created a new project just to try if it works. I used only one Realm configuration and it still didn't encrypt the data.
Attaching the complete code here:
https://pastebin.com/zeNybpGA

@sree127, I apologize for the delay in getting back to you.
To make sure I understand you correctly, your concern is that the data stored by the Realm Object Server is not encrypted, and that if you open the Realm from the Object Server using Realm Browser, you are not prompted for the encryption key?
I believe this is currently the expected behavior. The encryption key you specify indicates that the local copy of the Realm is encrypted. This ensures that the data stored on the user's device is encrypted. It does not control how the data is stored on the server. If server-side encryption is something that's of interest to you, I'd suggest filing an enhancement request in the realm-mobile-platform repository.
If I've misunderstood what you're asking, please let me know.

@sree127 do you need any further help here or can we close this issue?

@stel  We encrypted each field before storing. Little hectic, but it works.


Mpve Julia to a separate git repo

Removes the julia implementation so it can be moved to its own repo.

Pull Request Test Coverage Report for Build 112

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 110:
0.0%

Covered Lines:
82

Relevant Lines:
82

💛  - Coveralls


Using minus signs in solution name renders solution uncompilable

Environment:

Windows 10 Pro
dotnet core 2.1.300-preview1-008174
Blazor 0.2.1
VisualStudio.15.Preview/15.7.0-pre.4.0+27617.1

Repro steps:

Create a blazor stand-alone (or hosted) app from the latest templates, and name the solution 'poc-blazor-app'
Build with dotnet build poc-blazor-app

Expected:

Namespace of generated classes is PocBlazorApp
Blazor app builds

Actual:

Namespace of generated classes is poc-blazor-app
Build fails

Additional info:
The namespace would become Poc_Blazor_App in both a:

.NET Core console project
ASP.NET Core Web Application -> Web Application project

Yes, this is a known issue that will be fixed in the next Blazor update. For now please use project and solution names without hyphens.
Closing as a duplicate of #291


App crashes when there are inline CSS functions

Is this a bug report or a feature request?
Bug report

Have you read the guidelines regarding bug report?
Yes
Have you read the documentation in its entirety?
Yes
Have you made sure that your issue hasn't already been reported/solved?
Yes
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
Both platforms
Is the bug reproductible in a production environment (not a debug one)?
Yes
Have you been able to reproduce the bug in the provided example?
Yes

Environment
react-native-render-html: 4.1.0

React Native Environment Info:
  System:
    OS: macOS 10.14.3
    CPU: (8) x64 Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz
    Memory: 76.87 MB / 12.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.15.1 - ~/.nvm/versions/node/v10.15.1/bin/node
    Yarn: 1.13.0 - /usr/local/bin/yarn
    npm: 6.4.1 - ~/.nvm/versions/node/v10.15.1/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    Android SDK:
      API Levels: 23, 25, 26, 28
      Build Tools: 27.0.3, 28.0.3
      System Images: android-19 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom_64, android-27 | Google Play Intel x86 Atom
  IDEs:
    Android Studio: 3.1 AI-173.4907809
    Xcode: /undefined - /usr/bin/xcodebuild
  npmPackages:
    react: ^16.6.3 => 16.8.1
    react-native: ^0.58.3 => 0.58.4

Steps to Reproduce

Try to render an element with a CSS function inside the styles prop
Ex.: <div style="width: calc(100% - 80px);">
Load the app

Expected Behavior
App continue working and fix the width style prop to something default or maybe try to parse the CSS function
Actual Behavior
The app crashes entirely
Reproducible Demo
Open the demo included and add a style with a CSS function style="width: calc(100% - 20px)".

This will cause the app to creash entirely and it's very serius if the app tries to fetch and display live articles from pages.

Hi,
thanks for the detailed report.
I made sure to ignore the calc style completely. We might be able to parse some of them in the future, but for now, let's just make sure it doesn't break apps.
This will be part of the next release that should be out shortly.

Fixed in v4.1.1

There are more cases with inline CSS that result the app to crash due to invalid props value set. I also faced a case when there is an inline display: block styling and the result was the app to crash at that point. I think the best thing to do here is to compare the actual style props with some predefined lists of RN valid props/values and exlude/remove/(replace maybe) everything that does not match with RN supported style props/values.

@clytras I faced this issue to use

display: block

any solution to fix this ?
thank you

@Exilz will you reopen this or I have to create a new bug report?

I hope this issue in handle well in error


Add text-area variant to checkbox component

What is the context of this PR?
Fixes #3402
This PR introduces a new variant of the Checkboxes component. The new variant includes an integrated text area that allows users to input text, with a character limit checker to ensure the input doesn't exceed the specified limit.
How to review this PR

Check that text area variant has been added with a character limit checker
Check that all unit and visual tests pass

Checklist
This needs to be completed by the person raising the PR.

[x] I have selected the correct Assignee
[x] I have linked the correct Issue

Just need to remove the old vr screenshots from the PR now


Update my-apps-portal-user-collections.md

It's not anymore in preview :)

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


Hide empty support items similar to android sdk

In Android SDK, Its not showing empty support items, while in iOS its showing empty. Is there any way to make this similar to Android?

Any updates on this?

We are looking into this ..


Is Florence staying? 👨👧🤟

I have my daughter two to three nights a week and sometimes more but the schedule is very changeable. When she is staying we have created some fun automation for lights among others and I also track some insights #157 when she has stayed.
I mostly know when Florence is staying through the use of my calendar but there are other signals such as her room becomes active as well as her iPad is used. There are other signals such as me entering a zone where I am likely to have picked her up or dropped her off. I use these signals to turn on an input_boolean helper to indicate if she is staying and then can use this in automations.
 I use this with one main automation to that triggers when certain states change indicating Florence is over or has left. I also use a variant of this when entering zones that I have created that likely relate to me picking her up or dropping her off at school or at her mothers for example.

[ ] Share Alexa routine that allows me to change turn the helper on via voice.

#HomeAssistant Mobile App notification documentation - https://companion.home-assistant.io/docs/notifications/notifications-basic

#HomeAssistant input_boolean integration documentation - https://www.home-assistant.io/integrations/input_boolean/

#HomeAssistant Mobile App documentation - https://companion.home-assistant.io/docs/core/core


Feature Request : Authentication

Support authentication.
Token base would be fine.
I use jwilder/nginx-proxy and jrcs/letsencrypt-nginx-proxy-companion for SSL offloading so that could handle the encryption via https

P.S. Awesome work, been waiting for something like this to switch over to bashhub-client

Thanks for the feedback!
Currently, authentication is handled with jwt tokens, which I  hadn't had any experience with until recently so the implementation might need some work and better documentation but basically, the workflow is

POST request to /api/v1/user creates a user, salts the password and stores the username and password hash in the db

curl  http://localhost:8080/api/v1/user -d '{"registrationCode": "", "username": "user", "password": "pass", "email"<EMAIL_ADDRESS>

/api/v1/login authenticates user by checking the user and salt hash and returns a access token upon sucessfull lookup.

 curl "http://localhost:8080/api/v1/login" -H "Content-Type:application/json" -d '{"username": "user", "password": "pass"}'
{"accessToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MTczNDYwOTQsIm9yaWdfaWF0IjoxNTgxMzQ2MDk0LCJzeXN0ZW1OYW1lIjoiIiwidXNlcm5hbWUiOiJ1c2VyIn0.IpzpfMuk5wLaie62ShJu0AZL0RmjLjGHEjzfehAd-kQ"}

which the bashhub client store in the config file at  $BH_HOME_DIRECTORY/config and any other endpoints require for access.
Is that kind of what you're talking about? Or do you think adding something like basic auth as an option
like
curl http://user:password@localhost:8080/any/path

would be good to add as well? I'm open to suggestion but I'd like to stay away from anything too complicated like the jwilder/nginx-proxy .  If people want to put something like nginx or apache in front of the bashhub-server (which is probably a good idea) and add their own ssl stuff that's probably best done separately.

I'm setting up the tests right now, I didn't realize that JWT was already setup for the server and client so that should be good.
Also for nginx/ssl, I was just making the comment that, that is how I offload ssl. Nothing needed on this project since you already built the docker image for bashhub-server.

I'm setting up the tests right now, I didn't realize that JWT was already setup for the server and client so that should be good.

Ok good. I'm going to close this then. Thanks for the input, I added the JWT authentication to the readme since it wasn't clear.


[Feature]: Workflow for closing Old PRs

Description
Implement a workflow that automatically closes old PRs based on predefined criteria, such as their last update timestamp. By regularly closing PRs that have not been updated within a certain timeframe, the repository can stay organized, and contributors can focus on active and relevant PRs.
Why implement this feature?
Over time, open pull requests (PRs) can accumulate in a repository, cluttering the interface and making it difficult to focus on active development tasks. Additionally, outdated or abandoned PRs may no longer serve their intended purpose and should be closed to maintain repository cleanliness.
Any additional information?

Checklist

[X] I have checked the existing issues and made sure that this is not a duplicate feature request form.

@devXprite please assign me this issue


Dreambooth training problem

I think I did things the way I always do, but I got this error.  Any ideas?
Traceback (most recent call last):
File "/content/diffusers/examples/dreambooth/train_dreambooth.py", line 803, in
main()
File "/content/diffusers/examples/dreambooth/train_dreambooth.py", line 535, in main
import bitsandbytes as bnb
File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/init.py", line 6, in
from .autograd._functions import (
File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/autograd/_functions.py", line 5, in
import bitsandbytes.functional as F
File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/functional.py", line 13, in
from .cextension import COMPILED_WITH_CUDA, lib
File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cextension.py", line 41, in
lib = CUDALibrary_Singleton.get_instance().lib
File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cextension.py", line 37, in get_instance
cls._instance.initialize()
File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cextension.py", line 27, in initialize
raise Exception('CUDA SETUP: Setup Failed!')
Exception: CUDA SETUP: Setup Failed!
Traceback (most recent call last):
File "/usr/local/bin/accelerate", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/accelerate_cli.py", line 43, in main
args.func(args)
File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 837, in launch_command
simple_launcher(args)
File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 354, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '/content/diffusers/examples/dreambooth/train_dreambooth.py', '--image_captions_filename', '--train_only_unet', '--save_starting_step=11500', '--save_n_steps=3000', '--Session_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/Elisemoris_lev768', '--pretrained_model_name_or_path=/content/stable-diffusion-custom', '--instance_data_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/Elisemoris_lev768/instance_images', '--output_dir=/content/models/Elisemoris_lev768', '--captions_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/Elisemoris_lev768/captions', '--instance_prompt=', '--seed=55833', '--resolution=768', '--mixed_precision=fp16', '--train_batch_size=1', '--gradient_accumulation_steps=1', '--use_8bit_adam', '--learning_rate=2e-06', '--lr_scheduler=linear', '--lr_warmup_steps=0', '--max_train_steps=17500']' returned non-zero exit status 1.
Something went wrong

will this not work with V100?

never mind - it was just the v100 thing.  seems to be working now that I got an a100 runtime


Error: Unable to activate pokitdok-ruby-0.7.1, because multipart-post-1.2.0 conflicts with multipart-post (~> 2.0)

When I try to require the gem in my rb file, I keep getting this error... how can I resolve?

I think it's related to your Gemfile.lock file?

Hi Youssif - should just be a matter of updating the dependencies. I'll let you know when I push a fixed version. Thanks for letting me know!

Thanks John!! What's the timeline on that fix?
On May 13, 2015 8:57 AM, "John Riney"<EMAIL_ADDRESS>wrote:

Hi Youssif - should just be a matter of updating the dependencies. I'll
let you know when I push a fixed version. Thanks for letting me know!
—
Reply to this email directly or view it on GitHub
https://github.com/pokitdok/pokitdok-ruby/issues/4#issuecomment-101723865
.

I've updated the dependencies. You might consider removing multipart-post-1.2.0 with gem uninstall, then trying to reinstall pokitdok-ruby.
Thanks!

Awesome!! Just made my Memorial Day weekend. Thank you!
On May 22, 2015 2:23 PM, "John Riney"<EMAIL_ADDRESS>wrote:

I've updated the dependencies. You might consider removing
multipart-post-1.2.0 with gem uninstall, then trying to reinstall
pokitdok-ruby.
Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/pokitdok/pokitdok-ruby/issues/4#issuecomment-104776336
.

@riney Getting a new error:
Gem::LoadError: Could not find 'multipart-post' (~> 1.1) - did find: [multipart-post-2.0.0]
Thoughts?

It sounds like you have a gem with a locked dependency on an old multipart-post. Can you run gem dependency multipart-post --reverse-dependencies
and paste the output here? That should reveal what gem requires it, and it might just be a matter of updating it. Thanks.

Output for gem dependency multipart-post --reverse-dependencies
Gem multipart-post-2.0.0
Used by
pokitdok-ruby-0.7.2 (multipart-post (~> 2.0))
When I do gem dependency multipart-post -v 1.1 --reverse-dependencies, I get:
No gems found matching multipart-post (= 1.1)

Are you using Bundler to manage your dependencies? If so, can you post your Gemfile? If not, how about the contents of gem list? It doesn't seem like you have anything installed that's locked to requiring the old version of multipart post. I admit I'm a bit stumped. You have tried uninstalling pokitdok-ruby and installing it again, right?

Thanks for all your help with this. Gemfile below: I had already uninstalled pokitdok-ruby and installed it. When you try using the ruby gem on your end to make API calls, does it work?  It took a little while, but I set up an environment with all those gems. It looks like the conflict over multipart-post is from faraday 0.8.7. If I remove it and install 0.9.1, I can successfully install all these gems. Let me know if that works!

Yup, that solved it!! Wow, thank you so much for all your help!!

Great, thanks!


xcodebuild: error Scheme DeviceKit-iOS is not currently configured for the build action

A shell task (/usr/bin/xcrun xcodebuild -project /Carthage/Checkouts/DeviceKit/DeviceKit.xcodeproj -scheme DeviceKit-iOS -configuration Release CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES -showBuildSettings) failed with exit code 66:
xcodebuild: error: Scheme DeviceKit-iOS is not currently configured for the build action.

Getting the error above after running a carthage update. Running carthage update --platform iOS does the same. Recently updated to XCode 8.0
My cartfile looks like this:
github "dennisweissmann/DeviceKit" ~> 1.0

Hi @ejimenez93, sorry for coming back to you so late. This might be related to https://github.com/Carthage/Carthage/issues/704 because the DeviceKit-iOS scheme does not exist anymore.


Added ability to filter node beyond mouse over by clicking on the state legend

Currently, the ability to focus on node based on state is limited to hovering your mouse over the legend. This PR extend the UI to allow user to click on the state legend and move their mouse out. This will allow users to focus on a state(success, failed, no status, etc...) and then navigate the d3 graph.
This is my first time using d3. be nice :)

This looks great! I think the cursor as a pointer will make it more clear that this is clickable.

@mistercrunch Good point(no pun intended).  Thank you for the feature


tests: Use API instead of forking off ostree via bash

This is just cleaner.  Or it WOULD be if there wasn't a bug in
OstreeRepoFile we need to work around.

Ended up accidentally squashing this in https://github.com/ostreedev/ostree-rs-ext/pull/359 - might as well do it as one unit since that had a few other tweaks too.


Update all dependencies

Update Go and all dependencies to the latest version

@FeLvi-zzz
Could you please configure renovate?

@frauniki
I've done, does #55 include #56? if so, I'll close #56.
https://github.com/FeLvi-zzz/tentez/pull/56

@frauniki I've done, does #55 include #56? if so, I'll close #56.

Yes, it includes.


Use venv instead of virtualenv

The developer install and release chapters in the README use python3 -m virtualenv -p python3 venv3 command.
As of Python 3.3 the venv package is included in every Python installation. The virtualenv package has to be installed with pip.
To reduce number of steps I would suggest to change the virtual env creation command to python3 -m venv venv3.

Unassigning myself so that others can take this up if they want

PR #129 was merged, closing this issue


Small UX updates for Web Almond

Pull Request Test Coverage Report for Build 3193

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
9 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.2%) to 66.275%

Files with Coverage Reduction
New Missed Lines
%

routes/devices.js
1
70.37%

routes/blog.js
8
65.31%

Totals

Change from base Build 3185:
0.2%

Covered Lines:
6927

Relevant Lines:
9819

💛  - Coveralls


High usage of cpu

Hello,
I'm facing the problem that sometimes the vs code uses a lot of processing, such as for now.
I have a seventh generation i5, ie it's not a bad cpu let's say so.
I leave the print attachment on the screen.
I hope they can solve it.
Any doubt I am available.

I suggest you look at https://github.com/microsoft/vscode/wiki/Performance-Issues and work through the advice there, adding information to this issue here.

not actionable


Energyweb addidtions

Hi Shawn,
Does this work out?
Marc

Hi,
Sorry for the delayed response. I had notifications off and hadn't looked at tokenspice2 for a while.
Afaik, rather than merge this in, you're now doing a fork, correct? If yes, we can delete this PR.
Thanks,

Yes, delete it. Sorry for the confusies.
M
Op za 20 feb. 2021 om 09:56 schreef Trent McConaghy <
<EMAIL_ADDRESS>
Hi,
Sorry for the delayed response. I had notifications off and hadn't looked
at tokenspice2 for a while.
Afaik, rather than merge this in, you're now doing a fork, correct? If
yes, we can delete this PR.
Thanks,
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oceanprotocol/tokenspice2/pull/10#issuecomment-782590352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACJA6K24WTU2A4LFRP3CJDDS752KDANCNFSM4V4TESDA
.

Thanks, will do.


Move Pali language resources to Therava repo

I think we should move the content of my repo into this awesome list. I'm not really maintaining it and I do believe that the primary value of learning more about Pāli is deeper understanding of Dhamma.
What do you think?

If you think it's a good idea, then let's do it. I have some free time the next few days, so let me know if you are busy; I can add the items. Or feel free to open a PR.
Just the other day I found Pali Tutor, a website where you can practice conjugations and declensions, and I am sure I will find more great resources. I will be maintaining this list for quite a while since it is listed on Sindre's main awesome list.


fatal

A fatal error has been detected by the Java Runtime Environment:
no error in java

@a2py - Can you please provide more detail here?  Version of Java you used, what program you were running etc


[Windows] Python + UTF-8 Encoding?

Hi there,
when executing Python3 code with
print(" STRING ")

Where STRING contains letters like öüä, there's a problem with the encoding. It shows as �. (While the console in windows command prompt shows it correctly.)
If I use #coding=latin-1 it works but this shouldn't be necessary!
Sorry if I missed this issue within the others.
Please help me out =(

@Braintelligence can you confirm whether adding the special coding comment resolves this issue for you? I believe it resolved #252.

I'm very sorry but I am not using Atom editor anymore since this issue is going on for over a year now: https://github.com/atom/atom-keymap/issues/35
For me this editor is not being maintained properly till proven otherwise.

@erran and @Braintelligence I was able to find a workaround to the problem.
For me, it looks like atom-script on Windows uses cp1252 (Windows 1252) encoding by default instead of utf-8 (the default encoding may depend on your locale and platform).
As a work-around you can specify the encoding as utf-8 in your code for the system out and error streams:
import sys
import io

sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding = 'utf-8')
sys.stderr = io.TextIOWrapper(sys.stderr.detach(), encoding = 'utf-8')

print ('öüä')

@dbolton Thanks, but I really moved on and am now very happy with PyCharm. :)

I haven't looked at script source codes, but shouldn't this have easy solution? Isn't it possible to just change encoding for console view on Windows?

After 2 years this problem still exists.
I use this plugin for runnning haskell code on Winwdos 7.
Maybe the simplest solution is to add another option for encoding in settings?

If you've got a fix, please submit a pull request.

@sinedanat after 3 years. And counting. VS Code is starting to look more and more inviting.

I highly recommend using Hydrogen over this module for running your code. I don't have time to work on this one.

solution found on internet : create a environment variable
PYTHONIOENCODING=utf-8


IRGen: correct Twine handling

Twine is an intermediate reference and should not be constructed to hold the value.  An unowned string piece should be referenced by StringRef.  This now provides storage for the name.  We would previously see invalid memory usage due to the Twine being destroyed before the use in the CreateLoad invocation.

@swift-ci please test

@swift-ci please test macOS and Linux platforms

@swift-ci please test macOS platform

@swift-ci please test Linux platform

Both failures unrelated :(


Mark String as final, make destructor non-virtual

The String is one of the primitives where subclassing is generally a pretty bad idea. The only use case I could think of is support for UTF16/UTF32/Any other encoding with characters of more than 8 bits, but that would be incompatible with this String class (and would be better done via a template to define the character size, similar to what the stdlib does).
With this class marked as final, there is no more need for the destructor to be virtual, which removes the vtable from the String instances. This means the String instances should be smaller (8 bytes less on 64 bits machines), and String destruction should be faster (because there is no more vtable lookup).

This does change the binary representation of the String class. This means we have to update the git submodules of natalie and natalie-parser at the same time.