added Corebine CMS https://www.infrontx.com/corebine

Content Management System designed for Sports https://corebine.com .
Used by:

https://www.asroma.com/
https://www.echl.com/
https://www.championshockeyleague.com/
https://www.copa90.com/
https://www.fis-ski.com/
https://www.ffhandball.fr/
https://www.infront.sport/
https://www.top14-rugby.com/
https://www.westminsterkennelclub.org/
https://www.legends.net/
https://www.aspirenewyork.com/
https://www.bramptonbeast.com/
https://www.floridaeverblades.com/
https://www.atlantagladiators.com/
https://www.stingrayshockey.com/
https://www.kwings.com/
https://www.idahosteelheads.com/
https://www.rapidcityrush.com/
https://www.echlthunder.com/
https://www.legendsinternational.com/

Thanks!


paket add should sort packages by name

Like issue #187 paket add should sort dependencies while adding (maybe with an additional flag/option)

Since this file is often maintained by hand I don't think that should be default behavior (at least not reordering existing entries).

I think we could try to preserve alphabetical order. Paket add could try to assume alphabetical order and add whereever it fits best. we should probably not reorder the whole file.

we should probably not reorder the whole file.

Definitely!

+1 for @forki 's suggestion


chore: fix github PR and issue templates

Signed-off-by: Felipe Zipitria<EMAIL_ADDRESS>Found these links outdated.

This looks good. Thank you. Merging now.


Indentation of input element's parent doesn't work correctly when attributes on multiple lines

I'm noticing this behavior in my ST3 (build 3103) when formatting HTML with input tags. My version of CodeFormatter is 3.1.0.
Given this markup:
<form>

      Label 1

    <input type="text"
      name="input1"
      id="input2"/>

      Label 2

    <input type="text"
      name="input2"
      id="input2"/>

</form>

When formatting using Format Code or Format Code as HTML Syntax I get the following result:
<form>

      Label 1

    <input type="text"
      name="input1"
      id="input2"/>

        Label 2

      <input type="text"
        name="input2"
        id="input2"/>

    </form>

I.e. the closing div tags are one indent too far right and all subsequent markup is shifted one indent right as a result.
This only happens when the input element's attributes are distributed on several lines. So this markup will work properly (and stay unchanged):
<form>

      Label 1

    <input type="text" name="input1" id="input2"/>

      Label 2

    <input type="text" name="input2" id="input2"/>

</form>

This is probably being caused by the fact that the HTML formatter does not currently use a full-on HTML parser, and is instead using a lot of regex to transform the file. I will look in to addressing this shortcoming.

@RevanProdigalKnight Much appreciated :)


Masonry cell design

This adds the collection view modules for masonry layouts (when a user is sorting by lot number, which is the default). It also fixes a small issue with the sticky header's margins.
iPhone:

iPad:

Fixes #972.

This looks great and I really enjoyed looking through the snapshots


better error message required in case error in CNI plugin.

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
In case of any error in CNI config file, the error message while creating container with network of CNI plugin simply show error CNI network "<network-name>" not found. This error message is confusing for end user.
A better error message will be helpful to understand where actually error is.
Raised by podman end user:
Steps to reproduce the issue:

Create CNI plugin with some error.

$ cat /etc/cni/net.d/77-ipvlan.conflist
{
    "cniVersion": "0.3.0",
    "name": "myvlan",
    "plugins": [
      {
        "type": "ipvlan",
        "master": "enp1s0", #some comments
        "ipam": {
            "type": "host-local",
            "subnet": "<IP_ADDRESS>/16",
            "routes": [
                { "dst": "<IP_ADDRESS>/0" }
            ]
        }
     }
    ]
}

create container with myvlan network.

$ sudo podman  run --rm -it --network=myvlan docker.io/library/alpine sh
ERRO[0000] CNI network "myvlan" not found
Error: error configuring network namespace for container baf2fda585db0cc2c874a4bfc00bca3dd27e8402a18ec8e157124240ca887f29: CNI network "myvlan" not found

To understand complete details of error, users has to run podman create with --log-level-debug option.

DEBU[0000] overlay test mount indicated that metacopy is not being used
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=true, usingMetacopy=false
WARN[0000] Error loading CNI config list file /etc/cni/net.d/77-ipvlan.conflist: error parsing configuration list: invalid character '#' looking for beginning of object key string
INFO[0000] Found CNI network podman (type=bridge) at /etc/cni/net.d/87-podman-bridge.conflist
WARN[0000] Error loading CNI config file /etc/cni/net.d/97-podman-macvlan.conf: error parsing configuration: missing 'type'
INFO[0000] Found CNI network lo (type=loopback) at /etc/cni/net.d/99-loopback.conf

Describe the results you received:
ERRO[0000] CNI network "myvlan" not found
Error: error configuring network namespace for container baf2fda585db0cc2c874a4bfc00bca3dd27e8402a18ec8e157124240ca887f29: CNI network "myvlan" not found

Describe the results you expected:
A better error message suggesting where error exist.
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
$ podman version
Version:            1.3.0-dev
RemoteAPI Version:  1
Go Version:         go1.12.3
Git Commit:         cb2b019d5debadbe29cba59e93130bd8c562771a-dirty
Built:              Fri Apr 12 10:07:18 2019
OS/Arch:            linux/amd64

Output of podman info --debug:
$ podman info --debug
debug:
  compiler: gc
  git commit: cb2b019d5debadbe29cba59e93130bd8c562771a-dirty
  go version: go1.12.3
  podman version: 1.3.0-dev
host:
  BuildahVersion: 1.7.2
  Conmon:
    package: Unknown
    path: /usr/libexec/podman/conmon
    version: 'conmon version 1.14.0-dev, commit: f02fc40ed55504247af4fbf09fd8577d315a6c73'
  Distribution:
    distribution: elementary
    version: "5.0"
  MemFree:<PHONE_NUMBER>
  MemTotal:<PHONE_NUMBER>8
  OCIRuntime:
    package: 'cri-o-runc: /usr/bin/runc'
    path: /usr/bin/runc
    version: 'runc version spec: 1.0.1-dev'
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: amd64
  cpus: 8
  hostname: kunal-HP-dev
  kernel: 4.15.0-46-generic
  os: linux
  rootless: true
  uptime: 167h 43m 36.61s (Approximately 6.96 days)
insecure registries:
  registries: []
registries:
  registries:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ConfigFile: /home/kunal/.config/containers/storage.conf
  ContainerStore:
    number: 0
  GraphDriverName: vfs
  GraphOptions: null
  GraphRoot: /home/kunal/.local/share/containers/storage
  GraphStatus: {}
  ImageStore:
    number: 0
  RunRoot: /run/user/1000/run
  VolumePath: /home/kunal/.local/share/containers/storage/volumes

Additional environment details (AWS, VirtualBox, physical, etc.):

It may not be clean to show error messages of CNI config as, all CNI configs are loaded during container create.
If we have some additional commands like podman network ls which can list all valid network possible as result of scanning CNI networks.
In case of invalid configurations, showing error message will be easy and not out of context.
This may be also helpful, to understand end user (not familiar with CNI), to see options of network available on system without looking at CNI config path.

Hm. The CNI plugins load and try to parse the network, fail, and this is only considered a warning? Part of me thinks we should upgrade that to an error, in which case we fail much earlier (when first trying to load the runtime) and more descriptively (an explicit error about parsing a config)

The issue with making the parse error as Error and stop container creation would be, failing container create even if that CNI network is not involved in container create command
e.g. with above config file, simply sudo podman  run --rm -it - docker.io/library/alpine sh would also fail.

I don't know if that's a bad thing... It's an invalid configuration file and we can't know what we won't be using it.

I don't have very strong opinion on the error. I can create PR for this.
Will listing available network will also be helpful? e.g. podman network ls ?

If we're going to start adding podman network commands (and I'm certainly not opposed to doing so), network ls is definitely a good starting point.

I have created a PR https://github.com/cri-o/ocicni/pull/30 to return error instead of logging warning during InitCNI(). Since it will affect CRI-O and podman , we need to hear CRI-O team views too.

@kunalkushwaha Are you still interested in this?

@rhatdan Sorry for no progress.. Will followup again with ocicni maintainers.
I still think, CNI library behaviour should be same across implementation, so this will help end users.

Just hit this issue with FCoS IoT and podman-1.4.5-dev...  was using a systemd unit to manage podman.
I was testing to make sure that systemd could help gracefully handle a reboot cycle, but my /var/lib/cni/networks/podman/last_reserved_ip.0 file ended up pointed to a stale ip address, which was no longer valid (given the new subnet scope, post-reboot)

Any updates on this issue?

@mheon Is this fixed in 1.5.2?

No. That's podman network create. CNI error messages are still not landed.


Error when running yarn codegen <network> after running yarn build inside the subgraph app

Description
The error is the same as the issue: https://github.com/semaphore-protocol/semaphore/issues/876. It is solved (PR: https://github.com/semaphore-protocol/semaphore/pull/884) when building the subgraph from the root project directory but not when building the subgraph inside the apps/subgraph application. It would be nice to solve it inside the subgraph app since it's used to deploy the subgraphs.
Reproduce the error
Steps:
1- Go to the subgraph project: cd apps/subgraph
2- Run yarn
3- Run yarn build
4- Run yarn codegen sepolia

Hey @vplasencia can I tackle this?

Hey @Dozie2001 yes! Do you want me to assign you this issue?

Yes please

Hey @Dozie2001! Done! Feel free to ask any questions you may have.

Ok on it!

Hey @Dozie2001! Thank you for letting us know. I just updated the issue description. Please, let us know if you are still unable to reproduce the error.


feat(Order/Nucleus): Nucleus

I want to define a nucleus nlab. This is only a draft and I would be happy to get some feedback if this is a sensible definition. Is it correct to put it into a new file or is there a more suitable place for it?

Do you plan to prove some nontrivial theorem that involves nuclei, or just add a definition?

A first step would be to prove, that the Nuclei form a Frame. We are currently trying to understand and formalize this paper arxiv about topos theoretic measure theory.


Implement typescript support

Add typescript alternative with builder tsup and replace jest with vitest.
Another additions:

add Devcontainer support with preconfigured VS Code settings and extensions,
add GitHub workflows, one for releasing and on for checking every commits on pushing to main and pull request branches,
add pnpm support,
add eslint and preconfigured settings.

If you are not using Devcontainer please copy settings and install extension from. Otherwise just open folder in Devcontainer and enjoy. 🤫 you can use GitHub Codespace with it.
How to use workflows?
The CI workflow runs after each commit on main and pull request branches.
The Release workflow runs only if tag is coming with the last commit.
How to use release script?
Use npm release - nr release or pnpm release -, select next version and confirm. After push has done, the release workflow will start and write into the release notes - check bumpp for more.
Is Vitest better than Jest?
"yes, or I don't know"
Do we need Typescript for this particular module?

TL;DR: NO

But it is more strict and you can see the difficulties behind or with using action names - you need to memorize them, maybe. We can check types, strictly; we can build javascript code easily from it and beside that we made type definitions too.
Is ESLint necessary or this configuration is the best one?
Of course not. But we are human and we make mistakes.

Example for CI workflow and release workflow runs with release result.


Code redesign

Look over code and see if there can be ways to redesign and simplify things

One suggestion would be to merge the mimic code into this repo so all conan/libhal based projects are in one place.


.NET Core March 2021 Update - 5.0.200 SDK

Today we are releasing .NET 5.0 200 SDK as a supported SDK with the release of Visual Studio 16.9
Release Notes
5.0.200 SDK
Please report any issues you find with .NET 5.0.200 SDK, by responding to this issue.

Status of availability of SDK on Microsoft's Linux feeds:

Distro
5.0.200

Ubuntu 16.04
✅

Ubuntu 18.04
✅

Ubuntu 20.04
✅

Ubuntu 20.10
✅

Centos 7
✅

Debian 9
✅

Debian 10
✅

Fedora 32

Fedora 33

OpenSUSE 15
✅

SLES 12
✅

SLES15
✅

Note: This list refers to the Microsoft-provisioned feeds (packages.microsoft.com) and does not in any way represent direct availability in distros (eg RHEL, Fedora).
Known Issues
If there are any issues with this release we will track them here and check issues off as they're resolved. See the linked issues for details on progress and resolution details.

[ ] Trouble installing 5.0.200 SDK on Fedora 32/33. Part of the installation is coming from packages.microsoft.com (the SDK) and the runtime coming from the native Fedora update repo and the two use a different installation root. packages.microsoft.com is trying at /usr/share/dotnet while the Fedora installers go to /usr/lib64/dotnet. Similar issue occur with CentOS as well.

This isn't a SDK issue per se, but the file path for the F# compiler changed between 5.0.103 and 5.0.200. /usr/share/dotnet/sdk/5.0.103/FSharp/fsc.exe and /usr/share/dotnet/sdk/5.0.200/FSharp/fsc.dll respectively.
This has not appeared in any documentation, and breaks some tooling (e.g. websharper) that used a hardcoded assumption (see here for this mornings fun)

typed conditional expressions now require casting? I couldn't find any mention this. Works fine in 103 but produces an error in 200.
        static void Main(string[] args)
        {
            bool k = true;
            ushort b = k ? 1 : 0;
            Console.WriteLine("Hello World! " + b);
        }

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0266	Cannot implicitly convert type 'int' to 'ushort'. An explicit conversion exists (are you missing a cast?)	ConsoleApp8	Program.cs	10	Active

Wo

typed conditional expressions now require casting? I couldn't find any mention this. Works fine in 103 but produces an error in 200.
        static void Main(string[] args)
        {
            bool k = true;
            ushort b = k ? 1 : 0;
            Console.WriteLine("Hello World! " + b);
        }

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0266	Cannot implicitly convert type 'int' to 'ushort'. An explicit conversion exists (are you missing a cast?)	ConsoleApp8	Program.cs	10	Active

This seems pretty breaking and in a minor release? I got less errors including every migration from Framework to 5.0 so far.

Something interesting I noticed is that if I build that exact same code with Visual Studio it works out of the box and subsequently dotnet build also works, however, if I try to use dotnet build prior to building it from cli it will error not matter what.

Upgrading from 5.0.103 to 5.0.200 SDK seems to downgrade/regress the runtime somehow, although the listed runtime versions are identical (Microsoft.NETCore.App 5.0.3). Tests that used to work fine are now failing with InvalidProgramException: Common Language Runtime detected an invalid program.
I've been unable to consistently repro it locally because of an unrelated issue with MSTest.TestAdapter that is broken in v2.2.1 - after narrowing down my local testing issues to that package version (after trying reinstalling, cleaning caches) this InvalidProgramException doesn't happen locally anymore. But build servers are failing somewhat consistently (about 80% of the time). This looks suspiciously like something has the same version but different contents and depending on installation/caching order it ends up running on either the broken or normal version.

Something interesting I noticed is that if I build that exact same code with Visual Studio it works out of the box using .net 5.0.200 and subsequently dotnet build also works, however, if I try to use dotnet build prior to building it from IDE, cli will error not matter what.

Here I upgraded both .NET 5.0.103 to 5.0.200 -and- VS from 16.8.z to 16.9.0. In fact, I just upgraded VS Community and .NET 5.0.200 came in the package (commandline dotnet says now 5.0.200).
The same problem is reproducible both in commandline and visual studio.

@MaxHayman https://github.com/dotnet/roslyn/issues/51597

Closed in favor of https://github.com/dotnet/core/issues/6035


My account was not accepted

I applied for registration on 7/31/2022
My request has not yet been accepted ؟

Dear @bobbie7wei1998, thank you for letting us know your situation. The approval took over 2 weeks, and it is longer than our ordinal process. Please inform us of your information from the following form.
https://pages.awscloud.com/GLOBAL_PM_PA_amazon-sagemaker_20211116_7014z000000rjq2-registration.html

Dear @bobbie7wei1998 , if your account is not approved yet, please let us know again. I close this issue.


RLE compression of pattern data doesn't work

Due to a few refactors in the packing script, the RLE compression does not work.
This results in the song data being larger than it should be.
I have compared the music data stream of "song_12" from Madagascar between both the original ROM file and the script's output, and I think I know why this happened. The empty patterns are likely not being caught by the pattern compressor as it should, resulting in the hilariously-bloated output I get.

Just fixed the compression of empty steps in a song. All I did was add a sub-function to check if all of the fields in a command object are set to None, and if so it returns True.

Empty patterns are less egregious now, but they are still incorrect. They are instead encoded as an RLE command with the param being the song's step count.


Using last visible cell as Focused View?

Hi,
What do I need to do if I want to make the last visible cell as the focused view instead of the first visible cell?
Thanks

Hi Gaurav,
Did you find anything ? Because I want exactly same that you want.
Please help me if you found or just suggest me how can we achieve the same.
Thanks

@EMakadiya Sorry. I haven't found anything about it yet. I tried to create it manually but unable to figure out the location of the cells in relation to the content offset.

@gauravlnx  Okay Let me try. Thanks.

Please let me know if solved. :)

@gauravlnx  Sure will let you know. Can you please tell me that what you tried?
Till Now I understand that they are changing the frame of all items according to offset.

I can't remember exactly what I did but mainly I tried to calculate the size and prosition and cells in prepareLayout() method. I tried to calculate in reverse also i.e. last cell at the bottom( of contentSize) and previous cell just above it.
I far I am able to understand, main changes have to be made in the following methods:

prepareLayout(): to calculate layout attributes for each cell.
currentFocusedItemIndex: This variable should return the focused index which is currently at the bottom of the screen.
nextItemPercentageOffset: a value between 0 and 1 that represents how close the previous cell is to becoming the featured cell
targetContentOffsetForProposedContentOffset() : This methods tell where the content offset should be when released

@gauravlnx I solved by my self.

Rotate tableview
Rotate tableview cell again.


Feature/lint

📝Changed routes:

/404
/[apartment]/privacy

(view full size)
(view full size)

Commit e321f6da71fa69eb3139eae2ce23fa74264c1a8b (https://atticodellino-moe9ih0xz-corretto.vercel.app).


[Bug]: Bundled Chromium ignore policy directory from which non-bundled Chromium loads policy

Bug description
Steps to reproduce the problem:

npm install puppeteer
create file in /etc/chromium-browser/policies/managed/, in my case foo.json { "AutoSelectCertificateForUrls": ["{\"pattern\":\"*\",\"filter\":{\"ISSUER\":{\"CN\":\"I.CA Public CA/RSA 07/2015\"}}}"] }
when I start chromium in standard way policy is loaded and used, means const browser = await puppeteer.launch({ with line executablePath: '/usr/bin/chromium-browser' but when is line with setting parameter executablePath missing, is used bundled Chromium and policy is not loaded

Puppeteer version
19.2.2
Node.js version
v14.21.1
npm version
6.14.17
What operating system are you seeing the problem on?
Linux
Configuration file
No response
Relevant log output
No response

The documentation seems to suggest a different path: https://www.chromium.org/administrators/linux-quick-start/#set-up-policies have you tried it?

My bad, /etc/chromium/policies/managed/foo.json works for bundled


Java class is not generated, if type not used in the schema

After I'm facing with #1067 and non-working workaround #1068 , I try to make workaround while I make workaround

So, I still deal with https://github.com/kaitai-io/ksy_schema/blob/a46122664ed9bb460d805ea368ce52ab93348fdb/ksy_schema.json. I add existingJavaType key and replace "type": { "$ref": ... } with "type": "object". But after that type, that referenced by $ref, not references anywhere and class for it (TypeSpec) is not generated:
{
  ...
  "properties": {
    ...
    "types": {
      "existingJavaType" : "java.util.Map<String, TypeSpec>",
      "description": "maps of strings to user-defined types\n\ndeclares types for substructures that can be referenced in the attributes of seq or instances element\n\nwould be directly translated into classes",
      "type": "object"
    },
    ...

Instead of using "existingJavaType" : "java.util.Map<String, TypeSpec>" can you instead just leave the ref to TypeSpec and change TypeSpec to allow additional properties?

I would like not to do this so as not to change the scheme. But because in any case workaround for bugs is needed, I am able to do it. As part of this issue, the answer to the question is needed of whether this behavior is expected? I think not (or at least there must be a setting in the generator), because external schemas can refer to types in this schema and it is totally legal just have schema as library of types, none of which are used in the schema itself

Yes, this is expected behaviour. This plugin does not search for schemas that are not referenced by anything. If you use existingJavaType, you are expected to provide the classes to satisfy this.


For elements with a percentage margin, inspector throws propTypes error and draws overlay in the wrong place

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues

#14722 (closed due to missing info)

[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Using the latest Expo, so not actually on the latest RN release 😅

Environment
➜ react-native info
Scanning folders for symlinks in /<snip>/app/node_modules (23ms)

Environment:
  OS: macOS High Sierra 10.13.6
  Node: 8.11.4
  Yarn: 1.10.1
  npm: 5.6.0
  Watchman: 4.7.0
  Xcode: Xcode 9.0.1 Build version 9A1004
  Android Studio: 3.0 AI-171.4408382

Packages: (wanted => installed)
  react: 16.3.1 => 16.3.1
  react-native: https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz => 0.55.4

Description
If an element specifies a margin that is a string (e.g. '1%'), the element inspector uses that string value as a prop to something that expects a number (e.g. borderTopWidth). This has two results when a user taps on such an element to inspect it:

A YellowBox and stack trace
The inspector highlight draws at the top of the screen, rather than over the tapped element.

Reproducible Demo
https://github.com/brettdh/rn-inspector-bug-demo

@brettdh, thank you very much for reaching out! I'm closing this due to inactivity. If the issue still persists in the latest version of React Native, please feel free to file a new issue report.


Map doesn't move with gpx selection on dev

This is working locally, but not on dev.

This could be related to using trace.controller = this; in the map-matching controller setTrace function to access the controller attributes. cc @irees


upgrade dependencies, especially typescript to 2.9.x

@salemdar I updated package-lock.json in the meantime. Would you fix the merge conflicts so I can merge?

I fixed the conflicts, but Travis fails for some reason.


Table flickering issue if table row has more than one line of decription.

Describe the bug
Data is coming from an API.
Each table row can have long decription say more than 1000 words and can also be 100 words.
So, we cant give a specific height to table row.
And if we are doing this, table is flickering (dancing up and down).
https://codesandbox.io/p/sandbox/green-butterfly-qplrvq?embed=1&file=%2Fsrc%2Fmain.tsx%3A8%2C13
Your minimal, reproducible example
code-sandbox
Steps to reproduce

Go To this sandbox link
Use Scrollbar

Expected behavior
Table should not be any kind of flickering. Smooth scrolling should be there.
How often does this bug happen?
Every time
Screenshots or Videos
cc710bef-4efc-4fb1-a5aa-206dee637678.webm
Platform
Chrome
react-table version
v8
TypeScript version
5.1.3
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Any updates on this?

Having the same exact issue, any way to fix this?


Speed up summary

bit of clean up.
biggest change is the summary will load quicker as it is once again using the parent's data cache

Coverage remained the same at 100.0% when pulling acd583523476376e22f355077b09b001a4a022b1 on speed-up-summary into 35854da67f6009c455ed933ecf29300a9510a406 on master.

Very nice work.


Custom focus trees

Generate focus trees for countries. This will need to be included in a higher-level effort to make an interesting game world.

An interesting approach would be to tie them to the IGs from Vic3, and/or keep some reference to Vic3 characters (politicians, generals) to give more flavour to the world. Generally, whatever flavour elements that can be extracted from Vic3 and emplaced in Hoi4's focus trees the better.


Using include directive, conf.py configuration is not picked up

Describe the bug
context
When I include a notebook into sphinx from a different location as described here, the conf.py parameter is not picked up:
.. include:: ../../some/nexted/path/include.ipynb
   :parser: myst_nb.docutils_

My notebook is executed correctly in the local context and included.
expectation
I expected it to pick up the configuration from my conf.py.
bug
But instead I ran into a  "Executing notebook failed: CellTimeoutError [mystnb.exec]" error, which I tried to fix using the following configuration in conf.py
# https://myst-nb.readthedocs.io/en/latest/configuration.html#global-configuration
nb_execution_timeout = 240  # otherwise it's a 30 seconds maximum per cell,

# https://myst-nb.readthedocs.io/en/latest/configuration.html
# Execution
nb_execution_raise_on_error = True

problem
So it might be only a documentation question, but: How do I set the configuration if I want to include a notebook which is not present in the docs folder with the sphinx conf.py file?
If I try to set the docutils.conf file as
[general]
nb_execution_mode = auto
nb_execution_raise_on_error = true
nb_merge_streams = true
nb_execution_timeout = 120

I get the warning: (ERROR/3) myst-nb configuration invalid: 'execution_timeout' must be of type <class 'int'> (got '120' that is a <class 'str'>). [mystnb]
Is there any way to set the NbParserConfig in the include directive?
Reproduce the bug

Use the include directive and add it to the extra/test.rst file:

.. include:: ../../project/test.ipynb
   :parser: myst_nb.docutils_

and then include that into index.rst:
.. toctree::
  :maxdepth: 2
  :caption: test

  extra/test

List your environment
myst-nb                       0.17.2
myst-parser                 0.18.1

I don't have jupyter book installed.

Adding the desired configuration to the notebook metadata works, see documentation here.


Loading model

🐛 Bug

For loading the model, when I use the following command it seems it doesn't update the weights in the model:
model = LitModel()
model.load_from_checkpoint(checkpoint_path=<path to ckpt>)

I need to use:
model = LitModel()
model = model.load_from_checkpoint(checkpoint_path=<path to ckpt>)

Expected behavior
It should use the new weight for the model but it seems it doesn't work. In PyTorch when we use `model.load_state_dict()', it updates the model weights.

PyTorch Version : 1.7.0
OS: Ubuntu 20
How you installed PyTorch (conda, pip, source): pip
Python version: 3.8.5
CUDA/cuDNN version: 11.1
GPU models and configuration: RTX 2080Ti

@kargarisaac this self.test_transforms is a class constructor, the same as pandas.read_csv so the proper usage should be
model = LitModel.load_from_checkpoint(checkpoint_path=<path to ckpt>)

eventually, we can think about adding inplace argument but it may be even more confusing...


Fix bug when circle is the only layer on the map

When circle was the only layer on the map, the hidden snapping-border circle was making problems while edit mode.

This seems to be quite custom.
Couldn’t we utilize pmTempLayer For this?
https://github.com/Falke-Design/leaflet.pm/blob/circle_bug/src/js/Mixins/Snapping.js#L264
Maybe I misunderstand the problem here - can you explain it more?

No because of the line from you, the snapping will not work on _pmTempLayer layers. So I can't use this flag for the hidden Circle, where I want to snap.
So when I have one Circle on the map and I edit them, then a hidden Circle for snapping to the borders is created. Because of this new hidden layer, the available snapping layers is greater then 1. Then a snapList will be created.
But in the function _calcClosestLayer the snapping to the own circle border from the "parent" circle is not allowed Snapping.js#L282. Now no other layer is on the map where can be snapped, so Snapping.js#L277 will returned empty and then it runs in _checkPrioritiySnapping() into a empty object and crashs Snapping.js#L171.
When more then one Circle is drawn on the map, there will never returned an empty Object.


Enable clippy

This reverts commit 60d55d109668f31668a9b70fb0414468d18fc791, reversing
changes made to 2a1cf69fe9edce30cec978785e5a0b9bd65193df.

Codecov Report

Merging #24 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   31.72%   31.74%   +0.01%
==========================================
  Files         145      145
  Lines        6565     6565
  Branches     1541     1542       +1
==========================================
+ Hits         2083     2084       +1
  Misses       3245     3245
+ Partials     1237     1236       -1

Impacted Files
Coverage Δ

tgbot/src/handler/poll.rs
40.86% <0%> (+1.07%)
:arrow_up:

Continue to review full report at Codecov.

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


404 render must be called AFTER layout. The current values are wrong (la...

...yout is never called), which in some weird situations may lead to $e->getResponse() return NULL.

I couldn't re-produce the exact issue in question locally... however, looking over this, the logic seems correct, and this change does not break anything. This seems to be the correct order to call the listeners in.

Also, thanks for the patch!


SDK-173 Java BDK: Create test coverage for the class SmsRenderer

Ticket
SDK-173
Coverage

Comments
The class HandlebarsTemplateLoader is also covered by this test (cf. above screnshot) due to the refactoring

Up to now the class SmsRender is using the APIs :
- import com.github.jknack.handlebars.Context;
- import com.github.jknack.handlebars.Template;

which shouldn't be used in this class because this class shouldn't use APIs of Handlebars.
We modified the method render of SmsRenderer like that :
private static String render(String wrappedContext, SmsTypes smsType) {
    try {
        HandlebarsTemplateLoader handlebarsTemplateLoader = new HandlebarsTemplateLoader();
        JsonNode jsonNode = new ObjectMapper().readValue(wrappedContext, JsonNode.class);
        return handlebarsTemplateLoader.apply(smsType.getName(),jsonNode);
    } catch (IOException e) {
        log.error(e.getMessage(), e);
    }
    return null;
}

Like that, to test methods of SmsRender we just verify that they don't return null.
We created a public method in HandlebarsTemplateLoader :
public String apply(String name, JsonNode jsonNode)  throws IOException{
  Template template = this.getTemplate(name);
  Context templateContext = this.getContext(jsonNode);
  return template.apply(templateContext);
}

By doing that, we got a coverage of 100% for HandlebarsTemplateLoader


Scaling containers

Could you post a quick example how to scale containers with your gem?

I assume you meant "scaling services", because container is just a single running unit and you can't scale it.
To scale services in rancher, it's enough to update service's scale property.
Via rancher-api you can do it like this:
service = Rancher::Api::Service.find('1s7938')
service.scale += 1
service.save!

What these instructions do:

loads service from rancher using id (of course you can use any other convenient way for you, i.e. searching by name for example)
changes scale attribute of the service resource to be +1
send request to rancher to add one more container to the specified service

So can we make this gem not a sdk, but a real command line that I can run directly?
Currently I face issue (https://github.com/rancher/rancher/issues/8175) that both official rancher-compose cli and rancher cli don't work properly to implement the change in rancher-compose.yml
Seems the API call still works.

Sure, I think binaries can be easily added to the gem, the question is why? because there are rancher-cli and rancher binaries available already that provide an API interface to rancher 🙂


[ Bug ] Inhibitor down picture flash instead of progressing (like baron power-play)

Describe the bug
Inhibitor pictures flash/refresh at an innacurate rate, making it blink plain at every seconds instead or acting like a "progress bar"
To Reproduce
Steps to reproduce the behavior:

Launch a game
Activate everything in Observer Tool
Wait until an inhibitor is destroyed and activate the inhib overlay in the in-game tab of the toolkit
Profit?

Expected behavior
A clear "progress effect", like for the baron power play, instead of a blinking icon.
Screenshots

Video Link : Twitch Clip of the bug
System:

OS: Windows 10
Node: Verison 16.7
Prod Tool Version: 1.7.7 (but it's been doing this in version 1.7.5 and 1.7.4 too. Before that I don't know)
Observer Tool Version: 6.7.3 (but it was also doing this with 6.7.2, earlier I can't say.)
Streaming Software & Version: OBS Studio 29.1.3
Browser: Opera GX

This issue was caused by two functions trying to update the inhibitors at the same time. The behavior was removed and this issue was fixed with the newest patch to the in-game module.

I'm gonna test it next week on my side, thanks for the update!


Get Ping value in int

i'm particularly new to c ++, i'm trying to get the fps value in const char, to use in ImGui :: Text ("");
But I had several problems, could someone reveal the exact code to me?
i would like the watermark fps
code ()
std :: wstring fps {L "FPS:" + std :: to_wstring (static_cast  (1 / frameRate))};

Get Ping value in int

i'm trying to get the fps value in const char

which one are you actually trying to get.
also your static_cast has a syntax error and isn't even needed.

Get Ping value in int

i'm trying to get the fps value in const char

which one are you actually trying to get.
also your static_cast has a syntax error and isn't even needed.

this is the code of Osiris Watermark


ng build --prod

Expected behavior
build the production bundles
Actual behavior
ERROR in : Can't bind to 'htmlFor' since it isn't a known property of 'ng-component'.

If 'htmlFor' is an Angular directive, then add 'CommonModule' to the<EMAIL_ADDRESS>of this component.
To allow any property add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("[ERROR ->]")

Steps to reproduce the behavior
ng build --prod
Relevant code
clone this repo

Environment description
Angular CLI: 8.2.2
Node: 10.16.3
OS: win32 x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package                           Version
@angular-devkit/architect         0.802.2
@angular-devkit/build-angular     0.802.2
@angular-devkit/build-optimizer   0.802.2
@angular-devkit/build-webpack     0.802.2
@angular-devkit/core              8.2.2
@angular-devkit/schematics        8.2.2
@angular/cdk                      8.2.3
@angular/cli                      8.2.2
@angular/material                 8.2.3
@ngtools/webpack                  8.2.2
@schematics/angular               8.2.2
@schematics/update                0.802.2
rxjs                              6.4.0
typescript                        3.5.3
webpack                           4.38.0

toggle.compontent.ts
error source: @HostBinding('for')

Good night. Production mode uses the AoT compiler with a build optimizer by default.
For quick solution go in angular.json file, find "configation" -> "production" and switch "aot" and "buildoptimizer" to false.

We are working on the optimization of our dashboard for AoT compiler.
Please stay tuned for a nice solution.
Best regards, CreativeIT.

This issue appears to be the duplicate of #27. Please, stay for updates in #27


modemManager continually tries to probe usb0 interface on intel edison

On the intel edison, it appears that somehow the serial console is detected as a usb0 ethernet interface. This is problematic because ModemManager thinks it is a modem and continually tries to probe it, which makes the serial console on .dev images unusable.
To reproduce:

download  a 2.0.4+rev2.dev image for the intel edison.
make sure to NOT add wifi credentials
connect up the serial console and boot the board

You should see random AT command injected into the console output and eventually the serial output becomes garbage and cannot be used, I think because modemManager tries to change the baudrate.
This is the log on ModemManager:```
root@3820dd7:~# journalctl -u ModemManager | tail
May 31 04:48:55 3820dd7 ModemManager[627]:   Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:04.2': Failed to find primary AT port
May 31 04:48:55 3820dd7 ModemManager[627]:   Creating modem with plugin 'Generic' and '2' ports
May 31 04:48:55 3820dd7 ModemManager[627]:   Could not grab port (tty/ttyPTI1): 'Cannot add port 'tty/ttyPTI1', unhandled serial type'
May 31 04:48:55 3820dd7 ModemManager[627]:   Could not grab port (tty/ttyPTI0): 'Cannot add port 'tty/ttyPTI0', unhandled serial type'
May 31 04:48:55 3820dd7 ModemManager[627]:   Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:12.0': Failed to find primary AT port
May 31 04:49:00 3820dd7 ModemManager[627]:   (ttyMFD2): serial port closing_wait was reset!
May 31 04:49:00 3820dd7 ModemManager[627]:   (ttyMFD2): couldn't set serial port closing_wait to none: Invalid argument
May 31 04:49:00 3820dd7 ModemManager[627]:   Creating modem with plugin 'Generic' and '1' ports
May 31 04:49:00 3820dd7 ModemManager[627]:   Could not grab port (tty/ttyMFD2): 'Cannot add port 'tty/ttyMFD2', unhandled serial type'
May 31 04:49:00 3820dd7 ModemManager[627]:   Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:04.3': Failed to find primary AT port
and this is the `ifconfig`:

root@3820dd7:~# ifconfig
docker0   Link encap:Ethernet  HWaddr 02:42:8C:13:F6:69
inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
UP BROADCAST MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
lo        Link encap:Local Loopback
inet addr:<IP_ADDRESS>  Mask:<IP_ADDRESS>
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:65536  Metric:1
RX packets:1336 errors:0 dropped:0 overruns:0 frame:0
TX packets:1336 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:85544 (83.5 KiB)  TX bytes:85544 (83.5 KiB)
usb0      Link encap:Ethernet  HWaddr 02:00:86:C8:E1:8A
UP BROADCAST MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
wlan0     Link encap:Ethernet  HWaddr FC:C2:DE:31:77:1E
inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
inet6 addr: fe80::fec2:deff:fe31:771e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B)  TX bytes:4394 (4.2 KiB)

I am having a similar issue with a Raspberry Pi 3 running Resin OS 2.12.5+rev2 (dev) here are the logs from the ModemManager when a Teensy is connected over serial.
Apr 30 12:56:02 0b848b1 ModemManager[1454]: <warn>  (ttyACM0) could not open serial device (2)
Apr 30 12:56:02 0b848b1 ModemManager[1454]: <warn>  [plugin manager] task 14,ttyACM0: error when checking support with plugin 'u-blox': '(tty/ttyACM0) failed to open port: Could not open serial device ttyACM0: Nosuch file or directory'
Apr 30 12:56:02 0b848b1 ModemManager[1454]: <warn>  (ttyACM0) could not open serial device (2)
Apr 30 12:56:02 0b848b1 ModemManager[1454]: <warn>  [plugin manager] task 14,ttyACM0: error when checking support with plugin 'Nokia': '(tty/ttyACM0) failed to open port: Could not open serial device ttyACM0: No such file or directory'
Apr 30 12:56:02 0b848b1 ModemManager[1454]: <warn>  (ttyACM0) could not open serial device (2)
Apr 30 12:56:02 0b848b1 ModemManager[1454]: <warn>  [plugin manager] task 14,ttyACM0: error when checking support with plugin 'Cinterion': '(tty/ttyACM0) failed to open port: Could not open serial device ttyACM0:No such file or directory'
Apr 30 12:56:02 0b848b1 ModemManager[1454]: <info>  (tty/ttyACM0): released by device '/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2'
Apr 30 12:56:02 0b848b1 ModemManager[1454]: <warn>  [plugin manager] task 14,ttyACM0: error when checking support with plugin 'Iridium': 'Operation was cancelled'
Apr 30 12:56:02 0b848b1 ModemManager[1454]: <warn>  [plugin manager] task 14,ttyACM0: failed: Operation was cancelled
Apr 30 12:56:02 0b848b1 ModemManager[1454]: <info>  Couldn't check support for device '/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2': Operation was cancelled

Having asked about the issue on Teensy forums I have been recommended to add the Teensy udev rules to /etc/udev/rules.d/. Unfortunately, this did not correct the issue as I believe the Host OS is responsible for controlling the ModemManager. Perhaps a solution for Teensy is to add the Teensy udev rules to ResinOS? Here are the relevant lines (I believe the first line is telling ModemManager to ignore the serial device) which were copied from 49-teensy.rules.
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", MODE:="0666"

If this corrects the issue for Teensy then perhaps there is cause to add RESIN_HOST_CONFIG_MM_DEVICE_IGNORE_VENDOR_ID and RESIN_HOST_CONFIG_MM_DEVICE_IGNORE_PRODUCT_ID host configuration variables. These would mean that the undesired behaviour of ModemManager can be disabled for any device.
@floion it would be good to get a status update on the ModemManager issue. If there is something that I can help with in order to get this integrated into ResinOS and eventually Resin.io let me know.

If the functionality of ModemManager is not needed then it can be disabled entirely using the following command.
DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket \
    dbus-send \
    --system \
    --reply-timeout=2000 \
    --dest=org.freedesktop.systemd1 \
    /org/freedesktop/systemd1 \
    org.freedesktop.systemd1.Manager.StopUnit \
    string:ModemManager.service string:fail

It would, however, be useful to not have to disable the ModemManager in order to get reliable serial communication. Please update the issue when there is a more appropriate workaround.

On the Intel Edison we did it like this: https://github.com/resin-os/resin-edison/pull/103
So I guess we can try to do the same here, but at a meta-resin level.
Can you try to open a PR for meta-resin? https://github.com/resin-os/meta-resin

This current issue is fixed by https://github.com/resin-os/resin-edison/pull/103

@floion @hpgmiskin I like the fact that we are talking about a more comprehensive fix here but I'd say that for now, we can go ahead with having the udev rule for teensy included in meta-resin. I know there are internal discussions about providing a mechanism for custom udev rules and this needs additional discussions.
@hpgmiskin , are you up for contributing this to meta-resin? I'd see it as an additional recipe called something like resin-extra-udev-rules which would for now only provide the teensy rules file. What do you think?

@agherzan I am happy to create a PR in meta-resin in order to add the Teensy udev rules. Perhaps we should continue this discussion on meta-resin#1063 issue.


Streamline Provider Registrations with a Single File

Hi,
In this pull request, I have updated the provider registrations to use a single file.
Changes
Currently, a file is created for each module in the bootstrap/cache directory. With this update, a manifest class is created to register all providers of modules in one file. I haven't deleted the old logic yet; if @dcblogdev and the community agree with this pull request, we can remove the old logic afterward.
Next Steps
The next step is to simplify the module providers further by registering migrations, languages, components, facades, etc., inside the package to improve the package's load performance. This addresses issue #1745.
Added Commands

module:clear-compiled

Deletes the compiled modules.php file.

php artisan module:clear-compiled

module:discover

Recreates the compiled modules.php file.

php artisan module:discover

Before
➜  cache git:(master) ✗ tree
.
├── module0_module.php
├── module100_module.php
... // other files
├── module97_module.php
├── module98_module.php
├── module99_module.php
├── module9_module.php
├── packages.php
└── services.php

Each file contains:
<?php return array (
  'providers' =>
  array (
    0 => 'Modules\\Module4\\Providers\\Module4ServiceProvider',
  ),
  'eager' =>
  array (
    0 => 'Modules\\Module4\\Providers\\Module4ServiceProvider',
  ),
  'deferred' =>
  array (
  ),
);

After
➜  cache git:(master) ✗ tree
.
├── modules.php
├── packages.php
└── services.php

modules.php content:
<?php return [
    'providers' => [
        0   => 'Modules\\Module0\\Providers\\Module0ServiceProvider',
        1   => 'Modules\\Module0\\Providers\\EventServiceProvider',
        ... // other providers
        152 => 'Modules\\Module99\\Providers\\Module99ServiceProvider',
    ],
    'eager' => [
        0   => 'Modules\\Module0\\Providers\\Module0ServiceProvider',
        1   => 'Modules\\Module0\\Providers\\EventServiceProvider',
        ...  // other providers
        152 => 'Modules\\Module99\\Providers\\Module99ServiceProvider',
    ],
    'deferred' => [],
];

If anyone has ideas to improve this pull request, please let me know.

Wow, this is nice!
However, for flexibility and future integration purposes, I'll recommend the following design?
<?php

return [
    'module0' => [
        'providers' => [
            'Modules\\Module0\\App\\Providers\\Module0ServiceProvider',
            'Modules\\Module0\\App\\Providers\\EventServiceProvider',
        ],
        'eager' => [
            'Modules\\Module0\\App\\Providers\\Module0ServiceProvider',
            'Modules\\Module0\\App\\Providers\\EventServiceProvider',
        ],
        'deferred' => [],
    ],
    'module1' => [
        'providers' => [
            'Modules\\Module1\\App\\Providers\\Module1ServiceProvider',
            'Modules\\Module1\\App\\Providers\\EventServiceProvider',
        ],
        'eager' => [
            'Modules\\Module1\\App\\Providers\\Module1ServiceProvider',
            'Modules\\Module1\\App\\Providers\\EventServiceProvider',
        ],
        'deferred' => [],
    ],
];

Note: The emphasis here is grouping each module into a different array - each module will be isolated and easy to manipulate/manage.

@solomon-ochepa
This file register by \Illuminate\Foundation\ProviderRepository and not support your recommended design!

@solomon-ochepa
The module.php file is registered by \Illuminate\Foundation\ProviderRepository and does not support your recommended design !!

Oh, it's okay.

This looks good, would this improve the performance at all or a foundation for the next step?
Also could you add tests for the commands.

Hi, @dcblogdev,
Thanks for your review.
I'll add some tests for the new command. I want to ensure this pull request is good for you, so I'll create the tests and make other improvements. I'm also reviewing the package logic and making some improvements to enhance loading speed. This PR, along with #1879, lays the foundation for these next steps, aiming to simplify generated files and improve overall performance.
I made this pull request a draft to create tests.

Hi @dcblogdev,
I've completed this merge request, and it's ready for review.
Some details:

Added a listener for events to trigger the module:clear-compiled command, which deletes the manifest file.
I had to modify the test test_it_still_generates_module_if_it_exists_using_force_flag to handle it with events, as running the command resulted in an empty output, causing the assertion to fail.


Jupyter How-To-Guide

Let me know what you think!

Thanks for the PR! This looks great. Do we perhaps want to link to an example notebook on Google colab, similar to the what we did in our SQL on Pandas blog post?

Thanks! Looks great.


feat: enhance graph

enhance the graph page, add the following features:

[x] enhance #97, support three modes hovering title:

relative to the project root directory, uses vite.config.root
absolute path
user customized path level

[x] alt/cmd + click opening node in editor
[x] Highlight the currently selected node and related nodes, a preview of the effect is down here:
[x] Correct ✅ searching behaviour
[x] Support glob pattern

1. Hovering title modes
root

absolute

custom, select 5

2. alt/cmd + click opening node in editor
https://github.com/webfansplz/vite-plugin-vue-devtools/assets/49969959/3b1ecc65-461d-48e4-af36-1b9daa6a1cf8
3. Highlighting the currently selected node and related nodes
This feature is enabled by user preferences.
https://github.com/webfansplz/vite-plugin-vue-devtools/assets/49969959/3f1cd18c-c8c2-4220-b494-c2a15ea0c04d
4. Correct search behavior
before:
https://github.com/webfansplz/vite-plugin-vue-devtools/assets/49969959/0d6ce27f-b8d5-4c0e-aa7a-ea2b76f9c6b4
after:
https://github.com/webfansplz/vite-plugin-vue-devtools/assets/49969959/856bcbed-068b-45e5-978b-9c94dc2e108b
5. Glob pattern
https://github.com/webfansplz/vite-plugin-vue-devtools/assets/49969959/21f04fef-0aad-4944-be1a-77be2e760b67
Known Issues
Fuse.js sometimes will occur a bug like:

帮 Nuxt DevTools 也写一个吧 🥹

帮 Nuxt DevTools 也写一个吧 🥹

都会有的！😹


Need a help with starting wg-portal

Hello first of all thank you for you solution. Great work
I am trying to spin up composer
compose.yml from example
version: '3.6' services:   wg-portal:     image: h44z/wg-portal:latest     container_name: wg-portal     restart: unless-stopped     cap_add:       - NET_ADMIN     network_mode: "host"     volumes:       - ./wireguard:/etc/wireguard       - ./data:/app/data     environment:       # WireGuard Settings       - WG_DEVICES=wg0       - WG_DEFAULT_DEVICE=wg0       - WG_CONFIG_PATH=/etc/wireguard       # Core Settings       - EXTERNAL_URL=https://vpn.company.com       - WEBSITE_TITLE=WireGuard VPN       - COMPANY_NAME=Your Company Name       -<EMAIL_ADDRESS>     - ADMIN_PASS=supersecret       # Mail Settings       - MAIL_FROM=WireGuard VPN<EMAIL_ADDRESS>     - EMAIL_HOST=<IP_ADDRESS>       - EMAIL_PORT=25       # LDAP Settings       - LDAP_ENABLED=false       - LDAP_URL=ldap://srv-ad01.company.local:389       - LDAP_BASEDN=DC=COMPANY,DC=LOCAL       -<EMAIL_ADDRESS>     - LDAP_PASSWORD=supersecretldappassword       - LDAP_ADMIN_GROUP=CN=WireGuardAdmins,OU=Users,DC=COMPANY,DC=LOCAL
I got error
$ docker-compose up Creating wg-portal ... done Attaching to wg-portal wg-portal    | INFO[2021-06-17 10:38:46] starting WireGuard Portal Server [latest-92d0953]...  wg-portal    | INFO[2021-06-17 10:38:46] real working directory: /app                  wg-portal    | INFO[2021-06-17 10:38:46] current working directory: .                  wg-portal    | WARN[2021-06-17 10:38:46] unable to load config.yml file: failed to open config file config.yml: open config.yml: no such file or directory, using default configuration...  wg-portal    | FATA[2021-06-17 10:38:46] setup failed: unable to setup peer manager: unable to initialize peer manager: failed to get peer list for device wg0: could not get WireGuard device: file does not exist
The same error I got when I am trying to spin up it on k8s cluster

Hi,
does your host have a wireguard interface wg0 enabled/configured? WireGuard Portal only serves as a configuration tool for existing interfaces, it cannot create WireGuard interfaces nor does it contain WireGuard in the docker image.


Add Linux to the Build Matrix

We should just set
PKG_CONFIG_PATH=$(pwd):$(PKG_CONFIG_PATH)

And call it a day.

I'm out of ideas.  Can you talk to Ankit about this?

Looks like Process was still called Task when this snapshot was put out.

Try 3.0.2?

Gonna fold these commits after seeing what happens.  The first has 3.0 snapshot and uses Task, the second has 3.0.2 snapshot and uses Process.

No dice.

Well, won't that fail on macOS? What about
#if os(Linux)
typealias Process = Task
#endif

@harlanhaskins I'm happy with this.  Review please!

Yay!


PornHD is now broken

latest version 2019-03-18
youtube-dl -v https://www.pornhd.com/videos/7560c2280f91cc74d28fdf1a2937b437/hot-blondie-gonna-turn-you-on-hd-porn-movie
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.pornhd.com/videos/7560c2280f91cc74d28fdf1a2937b437/hot-blondie-gonna-turn-you-on-hd-porn-movie']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.03.18
[debug] Python version 2.7.5 (CPython) - Linux-3.10.0-957.5.1.el7.x86_64-x86_64-with-centos-7.6.1810-Core
[debug] exe versions: ffmpeg 2.8.15, ffprobe 2.8.15
[debug] Proxy map: {}
[PornHd] 7560: Downloading webpage
ERROR: Unable to extract error message; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 794, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/pornhd.py", line 67, in _real_extract
webpage, 'error message', group='value')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1013, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags, group)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1004, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract error message; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Does not play in browser.


Please invite me to the GitHub Community Organization

Name
Zubair Ahmad
Discord Username (if applicable)
No response
Additional Context
I am follower of Eddie on Twitter.
I want to join community to learn and then to contribute.

Thank for providing such a amazing place to collaborate


Allow dns as well as IP

Could you add DNS as well as IP address. I'm using Azure as a host and the IP will change overtime so its easier to use a DDNS entry directly.

Hey @counterfitninja! Thanks for the idea. Are you suggesting that you would supply a DNS hostname when it starts up and it continually resolves the IP over time, in case the IP changes while phantom is running?
Right now it supports DNS but it resolves the IP once at startup, so if the IP changes, it won't get the new one without restarting it.

Hmm I thought I tried starting with a host name and it failed but it was a while ago. If that already works that's enough 😂 sorry.

I have just tried again and it looks like its only allowing ip only.

Try azure.com:19316 as one argument 🙂

Ok No idea why i managed to get it to fail the first time. Tis working now...


Starting the bus again after stopping doesn't work

Is this a bug report?
(Yes)

Can you also reproduce the problem with the latest version?
(Yes)
Environment

Operating system: Windows 10
Visual Studio version: Visual Studio 2017
Dotnet version: .net core 2.0

Steps to Reproduce

(Write your steps here:)

Instantiate Bus using
var bus = Bus.Factory.CreateUsingRabbitMq(sbc =>
{
var host = sbc.Host(new Uri("rabbitmq://localhost"), h =>
{
h.Username("guest");
h.Password("guest");
});
     sbc.ReceiveEndpoint(host, "test_queue", ep =>
     {
         ep.Handler<YourMessage>(context =>
         {
             return Console.Out.WriteLineAsync($"Received: {context.Message.Text}");
         });
     });
 });

bus.Start();

bus.Stop();

bus.Start()

Expected Behavior

(Bus should start and consumer should start picking messages off the queue)
Actual Behavior

(It comes back with a message saying Bus is already started. Looking at the code of start method of MassTransitBus class, It checks handle field is null or not. If it's null it goes on to start the bus and populates the handle field. But the stop method doesn't clear the handle, so next time you try to start the bus it exits the bus without starting it and displaying the message)
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Correct. This is normal behavior. You must recreate a new bus to start.

They why have a start/stop method at all if it doesn't do what it's supposed to do. It's not only confusing but wrong as well.

Correct. This is normal behavior. You must recreate a new bus to start.
Then why have a start/stop method at all if it doesn't do what it's supposed to do. It's not only confusing but wrong as well.


Some Updates

Replaced HttpURLConnection with HttpsURLConnection
Updated Contributors
Made Markdown Changes

I will fix the tabs and make a new pull request


192...15: bridge request 1: get /config 192...15: bridge http status 404 Not Found

Issue

The port of my deCONZ change to 8080 in stead of 80. Since then I've got an error. Can I change the portnumber in the homebridge-hue settings anywhere? Or is there another solution?
Log Messages

[2018-4-30 11:58:41] [Hue] 192.***.***.15: bridge request 1: get /config
[2018-4-30 11:58:41] [Hue] 192.***.***.15: bridge http status 404 Not Found
[2018-4-30 11:58:41] [Hue] Hue: Philips BSB002 bridge v1802201122, api v1.24.0
[2018-4-30 11:58:41] [Hue] Hue: 1 accessories
[2018-4-30 11:58:56] [Hue] 192.***.***.15: bridge request 2: get /config
[2018-4-30 11:58:56] [Hue] 192.***.***.15: bridge http status 404 Not Found

Debug Files

[2018-4-30 12:12:08] [Hue] npm registry: get /homebridge-hue ok
[2018-4-30 12:12:08] [Hue] config.json: {"sensors":false,"platform":"Hue","name":"Hue","nativeHomeKitSensors":false,"lights":false,"users":{"001788FFFE4973C6":"1"}}
[2018-4-30 12:12:08] [Hue] meethue portal: get /api/nupnp
[2018-4-30 12:12:08] [Hue] dresden appspot ipv4: get /discover
[2018-4-30 12:12:08] [Hue] dresden appspot ipv6: get /discover
[2018-4-30 12:12:08] [Hue] upnp search: searching at <IP_ADDRESS>:1900 for 5 seconds
[2018-4-30 12:12:08] [Hue] upnp search: found bridge 00212EFFFF0178BA at 192...15
[2018-4-30 12:12:08] [Hue] meethue portal: get /api/nupnp ok
[2018-4-30 12:12:08] [Hue] meethue portal: found bridge 001788FFFE4973C6 at 192...11
[2018-4-30 12:12:08] [Hue] dresden appspot ipv6: get /discover ok
[2018-4-30 12:12:08] [Hue] dresden appspot ipv6: found gateway 00212EFFFF0178BA at 192...15
[2018-4-30 12:12:08] [Hue] dresden appspot ipv4: get /discover ok
[2018-4-30 12:12:10] [Hue] upnp search: found bridge 001788FFFE4973C6 at 192...11
[2018-4-30 12:12:13] [Hue] upnp search: done
[2018-4-30 12:12:13] [Hue] 192...15: bridge request 1: get /config
[2018-4-30 12:12:13] [Hue] 192...11: bridge request 1: get /config
[2018-4-30 12:12:13] [Hue] 192...15: bridge request 1: get /config
[2018-4-30 12:12:13] [Hue] 192...15: bridge http status 404 Not Found
[2018-4-30 12:12:13] [Hue] 192...11: bridge request 1: ok
[2018-4-30 12:12:13] [Hue] Hue: Philips BSB002 bridge v1802201122, api v1.24.0
[2018-4-30 12:12:13] [Hue] Hue: bridge request 2: get /
[2018-4-30 12:12:13] [Hue] Hue: bridge request 2: ok
[2018-4-30 12:12:13] [Hue] Hue: bridge request 3: get /groups/0
[2018-4-30 12:12:13] [Hue] Hue: bridge request 3: ok
[2018-4-30 12:12:13] [Hue] Hue: 0 sensors
[2018-4-30 12:12:13] [Hue] Hue: 0 lights
[2018-4-30 12:12:13] [Hue] Hue: 0 schedules
[2018-4-30 12:12:13] [Hue] Hue: 0 rules
[2018-4-30 12:12:13] [Hue] Hue: 0 groups
[2018-4-30 12:12:13] [Hue] Hue: 1 accessories
[2018-4-30 12:12:28] [Hue] 192...15: bridge request 2: get /config
[2018-4-30 12:12:28] [Hue] 192...15: bridge request 2: get /config
[2018-4-30 12:12:28] [Hue] 192..***.15: bridge http status 404 Not Found

Looking at the code, it would seem that I don’t check for the port.  Odd, I would have sworn I did... maybe in another branch.  Will have to check tonight or coming weekend.

Thx! Adding the hosts in the config.json is the solution. Keep up the good work!

Fixed in v0.9.3.

Nice! this also solved this issue  [2019-3-7 08:26:07] [Hue] 192.***.***.115: bridge request 18: get /config [2019-3-7 08:26:07] [Hue] 192.***.***.115: bridge http status 404 Not Found


Library bugged on firefox

I am guessing this library has been made with only chrome in mind since it lags on nearly every other browser apart from chrome ?

I have fixed the issue however I cam across another issue now. On initial page load the offset of when the animation triggers is wrong. If I change page and go back with a route on react it then is correct.

Hey, it’s a little bit hard to help without seeing the code. Can you make a
code pen or something with the issue for me to take a look at?
On Sat, 8 Feb 2020 at 01:09, jojobagings78<EMAIL_ADDRESS>wrote:

Any idea @alexfoxy https://github.com/alexfoxy ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alexfoxy/laxxx/issues/78?email_source=notifications&email_token=AABFBXGS4PWS2AF2OURWUDTRBYA2XA5CNFSM4KI2Q4IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFEB7Y#issuecomment-583680255,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABFBXDJGEIOJEJV5N6XCFLRBYA2XANCNFSM4KI2Q4IA
.

I am using SSR and this is what is used.
import lax from 'lax.js';

componentDidMount(){
  lax.setup()
  const update = () => {
    lax.update(window.scrollY)
    window.requestAnimationFrame(update)
  }
  window.requestAnimationFrame(update)
}

IMAGE HERE

IMAGE HERE

@alexfoxy I believe the above is correct

I was able to fix the issue however on using this library on a ssr website it seems to require you to resize page for the parralax to work correctly any idea around this ?


1.12 cloudprovider AAD flake

Saw this on one of three master in an E2E run against 1.12.0:
Oct 04 19:48:57 k8s-master-19753088-0 kubelet[10633]: F1004 19:48:57.959195   10633 server.go:262] failed to run Kubelet: could not init cloud provider "azure": No credentials provided for AAD application
Oct 04 19:48:57 k8s-master-19753088-0 systemd[1]: kubelet.service: Main process exited, code=exited, status=255/n/a
Oct 04 19:48:57 k8s-master-19753088-0 systemd[1]: kubelet.service: Unit entered failed state.
Oct 04 19:48:57 k8s-master-19753088-0 systemd[1]: kubelet.service: Failed with result 'exit-code'.
Oct 04 19:48:58 k8s-master-19753088-0 systemd[1]: kubelet.service: Service hold-off time over, scheduling restart.
Oct 04 19:48:58 k8s-master-19753088-0 systemd[1]: Stopped Kubelet.
Oct 04 19:48:58 k8s-master-19753088-0 systemd[1]: kubelet.service: Start request repeated too quickly.
Oct 04 19:48:58 k8s-master-19753088-0 systemd[1]: Failed to start Kubelet.

$ ls -la /etc/kubernetes/azure.json
-rw------- 1 root root 0 Oct  4 19:48 /etc/kubernetes/azure.json

Could this be related to #3919 ?


Added spec and implementation of #to_ieee754f which is used by Eastro…

…n SDM630 meter.

In which cases Array#to_32f differs from this one?

Closed by #52


It is not clear from UI why PVs mounted on root cannot be attached to other workbenches

PV which are mounted to root folder of a workbench cannot neither be deleted or change connected workbench (until the workbench doesn't get deleted).
However, a user may not know why certain PV cannot be fully edited or deleted. A PV mounted to root doesn't even show the connected workbench in the Edit modal:
In addition, when creating a workbench, the root PVs are not displayed among the existent PV, but may not be not clear to users why.
I think we need to change a bit the UI to show sth like:
the connected workbench while editing the root PV and make the connected workbench immutable.
show the delete action in the 3-dots menu but disable it or enable it but prompting a warning message saying that PV cannot be deleted
when creating a workbench with an Existent PV, the UI should show all the PV and disable the selection for the ones which are used as root for other workbenches
these are just example, UX team could think other solutions
Jira issue: https://issues.redhat.com/browse/RHODS-6247

[UX work is done] The design has been reviewed in the Jira task #6247 and the design was finished. Wait for the dev team to implement.

Already migrated - https://issues.redhat.com/browse/RHOAIENG-1140


Label studio Data manager columns is not showing in my every project

@ashuyadav2030 how do u fix the problem, I also met it.

Currently, I use Safari instead.

Currently, I use Safari instead.

By just updating the version of Label studio
pip install --upgrade label-studio


FR: Implement monthName change for modal

Ionic version:  (check one with "x")
[ ] 2.x
[X] 3.x
[ ] 4.x
Ion2-calendar mode:  (check one with "x")
[ ] components mode
[X] modal mode
I'm submitting a ...  (check one with "x")
[ ] bug report
[X] feature request
[ ] help me
Expected behavior:
Do you think you could allow to change MonthName for calendar modal ?
It's currently possible in the classic picker
Related code:
insert short code snippets here

Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
insert the output from ionic info here

I am willing to create a PR for this feature.


Configure Dependabot

Signed-off-by: Gábor Lipták<EMAIL_ADDRESS>Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@wangzlei please review


static class property displayName not taken into account for displayName

While upgrading to react-transform I noticed in case displayName is defined as a class property the name is not taken into account e.g.
class CustomDisplayNameComponent {
  static displayName = 'Custom Name';
  render() {}
}

Here out in the wild: https://github.com/nikgraf/belle/blob/75aa7dad0a2ba03ad755a97efe3193bdcf76b3a3/src/components/Card.jsx#L27
For Belle we will migrate the display names, but others might run into the same issue.
I investigated and learned that findDisplayName takes the name in case it's a class node and has an ID or leverages the arguments from createClass. I couldn't figure out how to get the properties from a class node. Any hint? I'm happy to submit a PR.

Yep, a PR for supporting this would be great.

if someone wants to submit a PR it should be something like this:
out of all the paths of the body of the class declaration find one (if any) that satisfies path.isClassProperty(), and is static path.node.static, and is called displayName path.node.key == 'displayName'. Its path.node.value should then be the displayName
This probably doesn't work exactly like this but it should get you some of the way there.
(look here for inspiration https://github.com/babel/babel/blob/master/packages/babel-plugin-transform-class-properties/src/index.js#L33)


Does extraction works if I took print out of embedded image ?

No way. Check out my other repository for such purpose : https://github.com/chidea/PhotoQR


docs: changed link to LangGraph cookbook

Changed link from https://github.com/langfuse/langfuse/issues/1926 to /docs/integrations/langchain/example-python-langgraph

thank you!


Select cannot be disabled by default

If the variable ngDisabled is set to is initialized with a truthy value, the select is not disabled. However, if it is initialized to a falsy value, then changed to a truthy value (after some time delay, as changes made too quickly are also not registered), it works as it should.
Example:
<select chosen ng-disabled="selectDisabled"></select>

Doesn't work:
$scope.selectDisabled=true;

This works:
$scope.selectDisabled=false;

$timeout(function(){
      $scope.selectDisabled=true;
}, 1000);

I have a similar problem. In my app I have a view and edit mode. Initially if open a view, every field is disabled. Here the angular chosen select is not disabled. If I enable everything and disable everything again. It works fine and is also disabled. I use ng-disabled property.

I can confirm the issue and debugged a little bit. This happens inside the stopLoading function:
stopLoading = function() {
    return element.removeClass('loading').attr('disabled', false).trigger('chosen:updated');
};

If you set ng-disabled to true by default, this function enables the select box after loading.
I thought I could just return the value of ng-disabled, but unfortunately I'm not able to access it. I tried:
stopLoading = function() {
    return element.removeClass('loading').attr('disabled', element.context.disabled).trigger('chosen:updated');
};

But the elements disabled property is true, if ng-disabled is not defined. So this change would disable all fields, if ng-disabled is not defined. The next problem is that the ng-disabled directive seems to be executed after the chosen directive. If there's something like this
  <select
    chosen
   ...
    ng-disabled="false">
    <option value=""></option>
  </select>

the value of element.context.disabled is true after finishing loading. Later on element.context.disabled gets false.
So the only solution I can think of is to parse the attributes of the select element and search for ng-disabled. The attribute has a nodeValue which contains a string. This string could be "false" or "disabledScopeVariable". So we would have to check if this is a boolean and if not we would have to get the value with scope.disabledScopeVariable.
Has someone a better idea? Is it possible to access the ng-disabled value without parsing the elements attributes?

Same issue. Disabled does not apply

@Odi55555 I've tried your fork and I'm still experiencing the same issue.

This fork seems to have fixed it: https://github.com/izhangleilei/angular-chosen

@CarlosCuevas strange, it fixed the issue for us

As pointed by @Odi55555 i have modified the stopLoading function and this has resolved the issue
stopLoading = function() {
    var disable=(attr.ngDisabled)?scope.$eval(attr.ngDisabled):false;
    return element.removeClass('loading').attr('disabled', disable).trigger('chosen:updated');
};

However original source code is in coffeescript  and i am not very much familiar  to that please adopt the changes.

It's been a while since I fixed this, but I think the problem was that the startLoading() function removes  the disabled value if it was initially true.
startLoading = -> element.addClass('loading').attr('disabled', true).trigger('chosen:updated')
stopLoading = -> element.removeClass('loading').attr('disabled', false).trigger('chosen:updated')

We have a view with an edit mode, which is initially false. So all fields are disabled after loading the view. But the startLoading() function removes the disabled=true state, that's why I save this state in my fix. In my opinion you have the change both, startLoading() and stopLoading().
I don't see this fix in the solutions from @izhangleilei and @kbhagchandani, but maybe the use case is different. I don't use coffeescript either, but you can compile your fix...

For those dealing with this in plain old Javascript, I came up with this approach that solves the situation. Modify from line 42:
var initialDisabledStatus;
startLoading = function() {
    initialDisabledStatus = element.attr('disabled');
    if (typeof(initialDisabledStatus) == 'undefined'){
        initialDisabledStatus = false;
    }
    return element.addClass('loading').attr('disabled', true).trigger('chosen:updated');
};
stopLoading = function() {
    return element.removeClass('loading').attr('disabled', initialDisabledStatus).trigger('chosen:updated');
};

@azuax  thx


Require More than one source file path provision for one coverage report

Require More than one source file path provision for one coverage.xml file.
Ex:
pycobertura diff coverage.old.xml coverage.new.xml --source1 old_source/,old_source2/,old_source3/ --source2 new_source/,new_source2/,new_source3/

Thanks for your request @rohith0205 !
Can you update the issue description and provide more context about your use case? I've never used more than one source directory per coverage file. What would be a situation when this would occur? More background on how you get there would help me understand the workflow.

Do the coverage files contain paths like:
<line filename="old_source/foo" hits="1">
<line filename="old_source2/foo" hits="1">
<line filename="old_source3/foo" hits="1">

Or are those meant to be additional lookup directories should the filename not be found in the first directory? If that's the case, how can we ensure that we parse the right file if it's present in 2 of the look-up paths?


Minor edit to install instructions

I had to modify the installation channel as shown in order to find the Windows build. Not sure if this is what was intended.

The QuantStack channel is deprecated and should not be used. The windows build of xeus-cling is experimental and should not be used. Windows support has been greatly improved in upstream cling 0.6, we are currently building the dependencies on conda-forge and will hopefully have xeus-cling  working on Windows soon.

Ah ok, so could we have some instructions for how to experiment with the experimental Windows build please?

Done in #261


Selecting same Pronoun removing the pronoun/Calls API again.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to profile section.
Select the same timezone already selected & see API is getting called again.
Repeat the same for Pronoun

Expected Result:
We're not calling the API's if the data is same, so we should do same here.
Actual Result:
Calling API even if the data is same.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.52-3
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/c96b175e-f71b-4f3e-a55f-841bd921815e
https://github.com/Expensify/App/assets/43996225/5020c355-075f-493b-975a-5e1a59b2dc1c
Expensify/Expensify Issue URL:
Issue reported by: @b4s36t4
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690927044823149
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~019e3816742efa304d
Upwork Job ID:<PHONE_NUMBER>162840576
Last Price Increase: 2023-08-14

Discussed internal here: https://expensify.slack.com/archives/C01SKUP7QR0/p1691777833317799

@NicMendonca this issue contains two different issues which both are irrelevant...

Pronoun removes if we select same pronoun.
Time zone saving saving same calls api again.

Are you aligned here about having only 1 issues for these both?

https://github.com/Expensify/App/issues/24370#issuecomment-1673246864 Proposal for the timezone issue.
Also @danieldoglas @NicMendonca This is not internal. As I said there are two issue here out of 1 Selecting the same pronoun is removing is frontend issue.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Selecting same Pronoun removing the pronoun.
What is the root cause of that problem?
RCA for this issue lies here https://github.com/Expensify/App/blob/9294e9eacd53ba2ba805c6e33f18c796ccc3306d/src/pages/settings/Profile/PronounsPage.js#L74.
If we see the function and API call we're sending empty string if the selected option is same as saved option which shouldn't be the case.
Instead of returning we're setting empty here causing reset of the pronoun.
What changes do you think we should make in order to solve the problem?
Instead of setting empty string here we should return without doing the api call and go to back profile screen.
if(selectedPronouns.keyForList === initiallyFocusedOption.keyForList){
            Navigation.goBack(ROUTES.SETTINGS_PROFILE)
            return
        }

like the above change is required inside the function.

What alternative solutions did you explore? (Optional)
NA

This proposal is for pronoun issue.

I hope this clears the confusion... two bugs... two different RCA's. Sorry for the mess up.

For item 1, that is the expected behavior.
For item 2: I agree this is an external item, but I don't really think it's a problem. The user effectively did the action of going to the page and clicking on the timezone. If we were automatically changing the timezone in a loop without user interaction, this issue would be a problem for me.
I'm not sure if we do this kind of check in any other place, so I'm mostly thinking we should just close this issue. What do you think @NicMendonca @fedirjh ?

For item 2 I think we're considering these kind of issues as Bugs. Like these for instance -> https://github.com/Expensify/App/issues/23113

sure! @danieldoglas that works with me

@NicMendonca can you please see this issue -> https://github.com/Expensify/App/issues/23113 it's same still we've moved forward to it.


Captured image is not storing on MediaStore

I have capture image using this library. But after that i have code to retrieve all the images of the MediaStore. I get all the images but not the captured one. please let me know if i need to update anything more.

The library does not use MediaScannerConnection or anything else to index your images. You will need to arrange to do that yourself.

But at least suggest me for how to add it in to the MediaStore. Because i have try a lot with the code available on developer blog and on SO but i am not getting success on it. I need suggestion from you regarding it, if you can do.

This is an issue tracker for a library. It is not a general-purpose Android support board, for questions about how to use MediaScannerConnection. There are many of those sites, in a variety of languages.

Ok Thanks for reply. :)


FIX: Tooltip calculation when scrolled

LiveURL: https://orbit-components-fix-tooltip-calculation-scrolled.surge.sh

resolveContainerAlign,js is still using containerTop why this is needed ? THX

@tomashapl containerTop is used because you need to apply absolute position of the container (it's top position from getBoundingClientRect and scrollY of the window). On other hand, containerTopLeft is relative top position of the container to window and it changes upon every scroll or resize event.


Various bug fixes

Replaces #16. Fixes #15, #10

with latest OCMS build and UserPlus plugin, im still getting this error.

My issue got resolved after assigning email template to rule.
Or might be some other tinkering. But it stopped now.

@bkrajendra if you can reproduce it on a fresh october install using the latest version of the plugin then please post the reproduction instructions here.

I got this issue on fresh latest install of plugin and october. Only got resolved when i assigned email template.

@bkrajendra please submit a new issue then with the full step by step of what you did from installation to the error happening


Docs request: InferenceClient.post

https://huggingface.co/docs/huggingface_hub/main/en/package_reference/inference_client#huggingface_hub.InferenceClient.post
I would like to request we expand the docs on InferenceClient.post:

json/data: link where one can read about what to put into the JSON blob
task: link where to find all possible task names

Hi, yes indeed we could improve that :)

json/data: link where one can read about what to put into the JSON blob

Are you thinking about something like that for example: https://requests.readthedocs.io/en/latest/user/quickstart/#more-complicated-post-requests

task: link where to find all possible task names

Complete task list can be found on https://huggingface.co/tasks

I would like to request we expand the docs on InferenceClient.post:

Would you like to open a quick PR for that? You just have to update the docstring of InferenceClient.post. Then you need to run make style to copy the docstring directly to the auto-generated AsyncInferenceClient.post.

For the JSON blob, I more meant the schema of the blob, not how to send one. Like is there a JSON schema or Swagger docs for the JSON blob to pass to InferenceClient.post?

InferenceClient.post is meant to run inference on an arbitrary API (so the task you want). Therefore there is no predefined swagger schema since it depends on the endpoint you are using. But what I can tell you is that all tasks supported by InferenceAPI and Inference Endpoints are supported by the other methods so you shouldn't need to use .post except for an advanced use case.
If you want to know more about the parameter for InferenceAPI you can check out this doc page.

Okay thank you!  Going to close this out, knowledge is in https://github.com/huggingface/huggingface_hub/pull/1740


[WIP] RAR-as-a-service prototype

Prototype implementation for #3139. So far this results in anywhere from 10-27% reduction in incremental build times on a cached RAR execution, and a 7-8% performance penalty on a full RAR execution.
Still haven't spawned the process from MSBuild, so currently to run this you need to set up a separate project, add a reference to the built Microsoft.Build.Tasks.Core.dll, and write something like this:
using System;

using Microsoft.Build.Tasks.ResolveAssemblyReferences.NamedPipeServer;

namespace ConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            var rarService = new ResolveAssemblyReferenceNamedPipeServer();
            rarService.Start();
        }
    }
}

Here are sample perf numbers. Overall build time can fluctuate independent of RAR, but is still given just to put into perspective the percentage of time RAR takes up in a build.
Non-cached represents either a first build which would result in RAR fully executing for each project. Since caching is on currently a per-project basis, in a build with many projects e.g. WebLarge, RAR will only execute again if inputs or files used by that specific project have changed, while the rest will hit the cache. So times below are either worst-case or best-case, all cache misses or all cache hits, and real-world times would fall in between the two.
Edit: updated with times from latest commit, % change in build times, and now profiled on my desktop
Single-proc
Dotnet Console - Master
Target Performance Summary:
      488 ms  Build

Task Performance Summary:
       82 ms  ResolveAssemblyReference

Note: for small projects, a non-cached build will still run faster due to RAR already being JIT'ed
Dotnet Console - RAR-Service Non-Cached (-6%)
Target Performance Summary:
      457 ms  Build

Task Performance Summary:
       39 ms  ResolveAssemblyReference

Dotnet Console - RAR-Service Cached (-10%)
Target Performance Summary:
      438 ms  Build

Task Performance Summary:
       10 ms  ResolveAssemblyReference

WebLarge - Master
Target Performance Summary:
    14623  ms  Build

Task Performance Summary:
     3985 ms  ResolveAssemblyReference

WebLarge - RAR-Service Non-Cached (+8%)
Target Performance Summary:
    15839 ms  Build

Task Performance Summary:
     4889 ms  ResolveAssemblyReference

WebLarge - RAR-Service Cached (-18%)
Target Performance Summary:
    11997 ms  Build

Task Performance Summary:
     962 ms  ResolveAssemblyReference

Multi-proc
Multi-proc is a bit more difficult to measure since tasks times are cumulative in some form, but there's definitely room for improvement. The current locking mechanism just sticks a lock around all the service cache code, which was the easiest/fastest way to get multi-proc working, so I imagine threads are just spending a significant amount of time waiting.
WebLarge Master
Target Performance Summary:
     5709 ms  Build

Task Performance Summary:
    7207 ms  ResolveAssemblyReference

WebLarge - RAR-Service Non-cached (+7%)
Target Performance Summary:
    6084 ms  Build

Task Performance Summary:
    14393 ms  ResolveAssemblyReference

WebLarge - RAR-Service Cached (-27%)
Target Performance Summary:
     4145 ms  Build

Task Performance Summary:
     1751 ms  ResolveAssemblyReference

Todos

Improve concurrency model in ResolveAssemblyReferenceCacheService.cs
Testing, testing, testing, which should be fairly straightforward since each part of the service is layered via interfaces
Investigation on whether FileSystemWatcher is the appropriate class to use. It can miss events if many fire off in a small period of time and overfill the given buffer, but I haven't looked into exactly how many is "many". It also seems to lock files sometimes, but that might be on my end.
Have a real way of spawning the service within the build loop. Currently you have to set up a separate project and start the RAR service independently of MSBuild.
Adding a flag within Microsoft.CurrentVersion.Targets to enable/disable RAR running out-of-proc. The property has already been added in RAR, so it's a quick fix.
Overhead improvements, there are a few TODOs still scattered about in the code where I believe overhead reduction is possible

Project Structure
Figure it's worth doing this since there's 45 changed/added files. Most of the code is isolated under ResolveAssemblyReferences.

Name
Description

ResolveAssemblyReferences/Abstractions
Interfaces for Engine and Services for unit testing

ResolveAssemblyReferences/BondTypes
Bond schemas

ResolveAssemblyReferences/Domain
Request/Response model for service layer

ResolveAssemblyReferences/Engine
Implementations of IResolveAssemblyReferenceTask.cs (Tasks.ResolveAssemblyReferences.Task doesn't exactly roll off the tongue)

ResolveAssemblyReferences/NamedPipeClient
Client for sending requests from the RAR task

ResolveAssemblyReferences/NamedPipeServer
Server for executing requests as a service

ResolveAssemblyReferences/Serialization
Bond utilities

ResolveAssemblyReferences/Services
Implementations of IResolveAssemblyReferenceService.cs

Looks like a lot of the remaining overhead is due to logging BuildEventArgs. Since RAR has no way of accessing the logging verbosity, these events are always returned in the response object and logged. Because these consist of potentially tens of thousands of strings, this blows up the response payload size and slows down serialization.
Check out the perf difference if I still capture all build events, but simply don't return them in the final response. This brought RAR-as-a-service to a 17-33% reduction in build times on a cached RAR execution, and a 2-6% performance penalty on a full RAR execution:
Single-proc
Dotnet Console - RAR-Service Non-Cached (-12%)
Target Performance Summary:
      428 ms  Build

Task Performance Summary:
        28 ms  ResolveAssemblyReference

Dotnet Console - RAR-Service Cached (-17%)
Target Performance Summary:
      403 ms  Build

Task Performance Summary:
       0 ms  ResolveAssemblyReference

WebLarge - RAR-Service Non-Cached (+6%)
Target Performance Summary:
    15457 ms  Build

Task Performance Summary:
     4444 ms  ResolveAssemblyReference

WebLarge - RAR-Service Cached (-20%)
Target Performance Summary:
    11687 ms  Build

Task Performance Summary:
     644 ms  ResolveAssemblyReference

Multi-proc
WebLarge - RAR-Service Non-cached (+2%)
Target Performance Summary:
    5811 ms  Build

Task Performance Summary:
    13107 ms  ResolveAssemblyReference

WebLarge - RAR-Service Cached (-33%)
Target Performance Summary:
     3823 ms  Build

Task Performance Summary:
     1196 ms  ResolveAssemblyReference

While looking at this, I also found that the reported RAR task time under Task Performance Summary seems like it might be above the actual time . For example, on a run which produced this summary:
Target Performance Summary:
    11772 ms  Build

Task Performance Summary:
     658 ms  ResolveAssemblyReference

the same DotTrace profile shows this when looking at ResolveAssemblyReference.Execute():

So either something outside the task method is being counted in the overall time, or the time reported is a bit over the actual time.

Closing since we haven't been able to land this yet. Hopefully we can pick it up from this point again.


Insert broken

Seems insert is broken, the query builder is JASON.encoding the body, and then the Fetcher is JSON encoding a second time, which causes a malformed payload and the insert POST returns a 201 but doesn't actually create a row.

ok, reproduced

actually i didn't get the error itself because of https://github.com/PostgREST/postgrest/issues/1323


fix(client): downgrade normalize-url to fix Safari issue

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #42431

This seems to be the cause of the issues. More context:
https://github.com/sindresorhus/normalize-url/issues/105
It would be nice if another Safari user could test this out.

We'd want to let it keep creating minor and patch updates, though. https://docs.renovatebot.com/configuration-options/#allowedversions should do the trick.

Also, since the problem is quite frustrating for Safari users, can we get this merged soon?

Sure go ahead and add the config as you see fit and merge.


premake group for vendor projects

Hello.
Number of projects in vendor folder are incrising. How about separating projects in subfolders. Using premake group.
In general something like this:
-- premake5.lua
...
group "Vendor"
include "Hazel/vendor/GLFW"
include "Hazel/vendor/Glad"
include "Hazel/vendor/imgui"

group "Engine"
project "Hazel"
...

I don't think this is an issue

Yes it's not an issue, it's just suggestion

@MrBrN197 GitHub Issues are not always used for problems. Suggestions are common.
Personally, I like this suggestion. This is how I deal with my dependencies in my projects. I usually add a "Third Party" group where I shove the external libraries. It helps with readability and getting a better picture of the workspace itself.

I would like to mention that I already made a pullrequest about a month ago, where I implemented this: #19
I kept it fairly simple and just grouped the dependencies together, but you can go further than that.
e.g. there could be a group for engine projects (if there would be more than one) and one for the sandbox projects, but that's for Cherno to decide.

Closing since this has been merged since.


Draft: Added models

Added models to bring type safety

Hi @InversionSpaces , thanks for the PR so far, looking good.
Would you be willing to consider using newtypes from zio-prelude? That way the library would align with the zio ecosystem a bit better.
https://zio.github.io/zio-prelude/docs/newtypes/

Hi, @svroonland I'm new to CircleCI. Is it my fault that tests don't pass? They pass locally, though I'm running bare docker run rabbitmq and sbt +test. Could you help me please?

Hi @InversionSpaces , not sure. It's reporting about a timeout being exceeded. Possibly the newtypes affect the speed somewhat. Could you try increasing the timeout?
https://github.com/svroonland/zio-amqp/blob/master/src/test/scala/nl/vroste/zio/amqp/AmqpClientSpec.scala#L100

It helped, but logs actually say that tests pass in 6 to 8 seconds, so why didnt they pass with 10 seconds timeout?

Hmm I see, and it now appears to work again with 10 seconds.. Weird.
PR is looking good, let me know when it's ready to review and merge

Hi, @svroonland I believe this PR is ready.


Segmentation fault (core dumped) with latest vips and libheif encoded with rave1

Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
0.26.0
What are the steps to reproduce?
Previously I was using an older version of libvips with libheif compiled with libaom. Now I replaced libaom with rave1. Heif-enc and Heif-convert are working properly
libvips config
native win32: no
native OS X: no
open files in binary mode: no
enable debug: no
enable deprecated library components: yes
enable docs with gtkdoc: no
gobject introspection: no
enable radiance support: yes
enable analyze support: yes
enable PPM support: yes
generate C++ docs: no
use fftw3 for FFT: yes
Magick package: MagickCore
Magick API version: magick7
load with libMagick: yes
save with libMagick: yes
accelerate loops with orc: yes
ICC profile support with lcms: yes (lcms2)
file import with niftiio: no
file import with libheif: yes
file import with OpenEXR: no
file import with OpenSlide: no
file import with matio: no
PDF import with PDFium: no
PDF import with poppler-glib: yes
SVG import with librsvg-2.0: yes
zlib: yes
file import with cfitsio: no
file import/export with libwebp: yes
text rendering with pangoft2: yes
file import/export with libspng: no
file import/export with libpng: yes (pkg-config libpng >= 1.2.9)
support 8bpp PNG quantisation: yes
file import/export with libtiff: yes (pkg-config libtiff-4)
file import/export with giflib: yes (found by search)
file import/export with libjpeg: yes (pkg-config)
image pyramid export: no
use libexif to load/save JPEG metadata: yes
What is the expected behaviour?
Sharp is not converting images and rather prints -- > Segmentation fault (core dumped).
I am not able to trace this error
What is the output of running ``?
npx: installed 1 in 1.615s
System:
OS: Linux 5.4 Ubuntu 20.04.1 LTS (Focal Fossa)
CPU: (4) x64 Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
Memory: 3.77 GB / 15.48 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 14.9.0 - ~/.nvm/versions/node/v14.9.0/bin/node
npm: 6.14.8 - ~/.nvm/versions/node/v14.9.0/bin/npm
Tried it with latest node too. Doesn't seems like a node problem.

Hi, you're at the bleeding edge's bleeding edge here.
Please can you provide a Dockerfile or similar to allow someone else to recreate the exact environment as well as sample input images and code.
Please also heed the "Do not use this in production systems" warning at https://sharp.pixelplumbing.com/api-output#heif

I'm unsure how you've managed to compile libvips with support for libheif+rav1e as none of the pkgconfig config to detect this has been set up, so this is unlikely to be caused by the thing you think it's been caused by.
I've opened https://github.com/strukturag/libheif/pull/327 to expose builtin_rav1e_encoder, which will then require a change to libvips to detect.