Full screen toggle button's icon and tooltip doesn't change when using keyboard shortcut

When using the F11 (app provided) or Windows+Shift+Enter (system provided) keyboard shortcut to toggle full screen, the button's icon and tooltip don't change. The app should be listening to SizeChanged event to determine if the window is in full screen mode or not.

Okay the tooltip is static (just says enter or exit full screen) but the icon is based on the mode.

Should be irrelevant for the upcoming build as the button has been removed / replaced with a menu button instead.


Complex support for implicit solver

Hi, I am trying to solve a stiff differential equation using diffrax. I need to use complex number and would like to use an implicit solver. I would like to try to implement complex type for implicit solver if it is not too difficult. Is it possible and do you have some global advice that would help me start ?

This is a difficult thing to try and do, and comes with some questions we need to think pretty carefully about (most notably what backpropagation does in this scenario).
FWIW you should be able to make this work today by just treating the real and imaginary parts separately.

Hi @patrick-kidger, we'd be pretty interested in complex support for implicit solvers in the context of dynamiqs. I understand it's a non-trivial task, but if you're interested, we can definitely put in the effort and make the required PRs for diffrax/lineax in the coming months.
What is your concern regarding backpropagation? I'm guessing regular autodiff should work out of the box, but the recursive checkpoint method might be more subtle? Or is it something else?
Regarding the trick to separate real/imaginary parts, would it not be overall slower due to repeated memory accesses? Or is this optimized by the JIT?
Thanks :)

So the main thing that's needed here is just loads of tests for Diffrax! As it wasn't originally written with complex support in mind then it's entirely possible we have places where we write something like x**2 intending to compute a norm, but which with complex numbers will silently misbehave.
I imagine the actual change in lines of code for adding this feature should be fairly small:

In Diffrax itself, fixing up any examples like the above.
In Optimistix, being sure that optx.implicit_jvp does the right thing.
In Lineax, this should already basically be done thanks to the hard efforts of @Randl! The main blocker here was that they uncovered an XLA bug (https://github.com/openxla/xla/issues/8471), but that actually got fixed just a few days ago. Once the new jaxlib release is out then I imagine things should be good-to-go there.

On backpropagation, this is in large part about making sure that optx.implicit_jvp does the right thing. JAX follows a pretty quirky convention when it comes to complex backpropagation, which is that the VJP is given by the transpose of the JVP, not the conjugate transpose of the JVP. This is unlike what you normally do when computing the adjoint of a complex matrix, and is also different to PyTorch. I highly recommend reading that PyTorch doc btw, it's very informative.
(In practice what this usually means is that when doing autodiff in complex numbers in JAX, you should compute the conjugate of your gradients before performing SGD.)
I suspect (but am not sure) that we're already doing the right thing for backpropagation, so if you like you can imagine putting this under the 'it needs to be tested' banner.


[components]: Create Stepper component

Current Behavior

Desired Behavior

Implementation

Acceptance Tests

Mockups

Contributor Guide

🎨 Wireframes and designs for Layer5 site in Figma (open invite)

@aabidsofi19 the stepper you created is reusable right ?


waiting for server to load... forever

Description
just not opening the server when i open the launcher, it just waits for it to load.... forever
General Troubleshooting

[x] I carefully followed the instructions in the README and successfully completed the setup wizard
[x] I read the ALVR Wikis here and here

Environement
Hardware
Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload
CPU:
amd ryzen 5500 or smth
GPU:
rx 6600 radeon amd
Audio:
Installation
ALVR Version:
SteamVR Version:
Install Type:

[x] Packaged (exe, deb, rpm, etc)
[ ] Portable (zip)
[ ] Source

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions):
win 11

i did reset the drivers and it worked previously until now


maskMode makes the exact point mass model slow

This was due to insanely large maskRadius, and thus a lot of loop iterations for no purpose.
Fixed


GSoC meeting planning & agenda

In June we will begin a set of weekly meetings to work on a project supported by Google Summer of Code. This issue is here to discuss plans for the first of these meetings. Expected attendees include me (Tylar Murray), Matt (@MathewBiddle), and Ayush (@ayushanand18). Let's discuss scheduling on the slack #gsoc_pyobis channel.
agenda

introductions

what you are hoping to get out of involvement in this project

discuss TDD as described in the workflow 1-pager
begin working on strategic plan as described in the management 1-pager
set up todo items before next meeting

I am posting this here for now, but future notes will be kept in a separate repository.
intros

Tylar

PostDoc Software Engineer
University of South Florida IMaRS
Remote Sensing + Biodiversity Assessment

Matt

self-taught python
physical oceanography background
wants to build out more example notebooks in IOOS CodeLab
lots of data managment experience
lots going on with annual DMAC meeting this week
Felipe will present on GSoC & introduce mentees

Ayush

passionate about climate science
1st year student
pythonista
worked on pyobis previously

plans

get tests working in GH-actions

PR ready to submit

Tylar - get admin access?
Ayush - create repo for

initial proposal
high-level design document : markdown file(s) w/ checklist
meeting notes
Working hours: 16:00 - 19:00 hours IST

Tylar - create project board & milestones
Tylar - review pyobis

new issues from proposal:

[x] Update pyobis to use the new API

[x] Merge in URL changes done on the forks

[ ] Make MoF response more efficient

returns list of dataframes so it's more usable
currently nested table each occurrence has nested measurment or fact
some trick to use pandas to pull out the nested part (json.normalize?)

[ ] Create tutorial usage of each module
[ ] Clarify listing of GBIF instead of OBIS in package description ref (ref)

add link to pyGBIF?
use a notebook leveraging both pyGBIF & pyOBIS?

[x] Increase test coverage
[ ] Use CI push to PyPI

discussed w/ Felipe : used to do it w/ Travis CI, need to switch to gh-actions

Create a Jupyter notebooks

what are "use cases" for each notebook?

search for relevant papers using OBIS|GBIF data & reproduce results in jupyter
[ ] see how species are moving downwards due to climate change.

search MoF for depth measurements & report on % that have it.
relevant paper

[ ] see how species are shifting north/south due to climate change.

can potentially publish notebooks to JOSS

[ ] create CONTRIBUTING.md
[ ] pyobis.visualize

create separate repo?

keeps pyobis dependencies light
makes viz libarary potentially usable w/ GBIF & other DwC data

[ ] look into coveralls coverage

does it work w/ gh-actions?
is coverage 62%? if so: how to make it 100%?
maybe it just needs the badges changed

Use CI push to PyPI

discussed w/ Felipe : used to do it w/ Travis CI, need to switch to gh-actions

This can be the last thing we do for GSoC b/c we want to publish a working package. When the time comes we can pretty much copy-and-paste this GHA: https://github.com/ioos/ioos-python-package-skeleton/blob/main/.github/workflows/pypi.yml


Atom phone not uploading data to Nightscout

Your Environment

Uploader Version Number: 0.1.13
Your Android Phone Model Name :unihertz Atom
Android Version Number : 9
Network Connection at the time the issue occurred (Wi-Fi, Mobile): Wifi
(if relevant) Nightscout website version (e.g. 0.8.4 Funnel cake, master / dev branch):

Brief Explanation of Issue
I was using Samsung Galaxy S7, it is working fine. now I want to move to smaller setup like unihertz Atom which is supported by Nightscout as I read in the files here.
when I connect the OTG cable, USB is detected, but no data and no Upload appears.
Can anyone support ?
btw, I tried many mini phones, all the same issue so I got an approved phone from the list. I think it is because of the version of Nightscout since my S7 works fine with newer app version.
thanks

This may be a cable issue. Try another OTG cable and ideally a different brand.
You may find more help for your specific phone by joining this group:
https://www.facebook.com/groups/NightscoutForMedtronic/

the Cable is working fine on my Galaxy S7

I tried new one, same issue


perf(day12): reduce solve time by 90% with deque

fixes #4

Codecov Report

Merging #10 (a068c11) into main (648b605) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   98.20%   98.20%
=======================================
  Files          31       31
  Lines        2622     2622
=======================================
  Hits         2575     2575
  Misses         47       47

Impacted Files
Coverage Δ

Sources/Library/Cave.swift
94.62% <100.00%> (ø)

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 648b605...a068c11. Read the comment docs.

This fix indeed reduce the solve time by 90%.
Old build output:
Test Case '-[LibraryTests.CaveTests testCountPathsSingleSmallCaveRevisitPolicyWithDay12Input]' passed (54.814 seconds).

New build output:
Test Case '-[LibraryTests.CaveTests testCountPathsSingleSmallCaveRevisitPolicyWithDay12Input]' passed (5.352 seconds).


README says to add a new entry in the /etc/hosts file for the wrong domain

I think the correct domain should be sulu.localhost, no?

thanks for this suggestion


ServerGarbageCollection in PropertyGroup cause publish warnning

doing
dotnet publish -r linux-x64 -c release -p:PublishSingleFile=true -p:PublishTrimmed=true
# output
$ dotnet publish -r linux-x64 -c release -p:PublishSingleFile=true -p:PublishTrimmed=true
Microsoft (R) Build Engine version 16.5.0+d4cbfca49 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 62.66 ms for /Users/psyduck/Projects/SAL/DBAMetaConsumerHelper/DBAMetaConsumerHelper.csproj.
/usr/local/share/dotnet/sdk/3.1.200/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(234,5): error NETSDK1047: Assets file '/Users/psyduck/Projects/SAL/DBAMetaConsumerHelper/obj/project.assets.json' doesn't have a target for '.NETCoreApp,Version=v3.1/linux-x64'. Ensure that restore has run and that you have included 'netcoreapp3.1' in the TargetFrameworks for your project. You may also need to include 'linux-x64' in your project's RuntimeIdentifiers. [/Users/psyduck/Projects/SAL/DBAMetaConsumerHelper/DBAMetaConsumerHelper.csproj]

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.1</TargetFramework>
    <ServerGarbageCollection>false</ServerGarbageCollection>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="RabbitMQ.Client" Version="5.1.2" />
    <PackageReference Include="MySql.Data" Version="8.0.19" />
    <PackageReference Include="Serilog" Version="2.9.0" />
    <PackageReference Include="Serilog.Sinks.File" Version="4.1.0" />
    <PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
    <PackageReference Include="CaseExtensions" Version="1.0.3" />
  </ItemGroup>
  <ItemGroup>
    <Folder Include="Adapters\" />
    <Folder Include="Handlers\" />
    <Folder Include="Common\" />
    <Folder Include="Models\" />
    <Folder Include="Managers\" />
  </ItemGroup>
</Project>

The error message also states that you need to include a runtime identifier. Did you address that?


is it possible to link with DirectML with mingw-w64?

mingw-w64 support directx12 , but how to link with directml? ,  for ex. link onnx-runtime with mingw?

We distribute the latest versions of the DirectML library as a nuget package: https://www.nuget.org/packages/Microsoft.AI.DirectML/
Nuget packages have the .nupkg extension, but if you simply rename the extension to .zip and extract it you'll get directml.dll for linking.

I use msvc to combine all code (link with directml) to a c interface,
and then load the c interface in mingw, it's ok,
a ugly workround  ,  but works:)


height prop for ploty viz files

Height prop added for plotly viz files.
Backend PR

Looks good to me.


Anyone try to run molecule as docker container

I have some demo code would like to you guys to test it:
dockerfile
docker-compose-file
and i have follow errors:
fatal: [ubuntu20.04]: UNREACHABLE! => {"changed": false, "msg": "Failed to create temporary directory.In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in \"/tmp\", for more error information use -vvv. Failed command was: ( umask 77 && mkdir -p \"` echo ~/.ansible/tmp `\"&& mkdir \"` echo ~/.ansible/tmp/ansible-tmp-1614604802.0530245-585-44647191200495 `\" && echo ansible-tmp-1614604802.0530245-585-44647191200495=\"` echo ~/.ansible/tmp/ansible-tmp-1614604802.0530245-585-44647191200495 `\" ), exited with result 1", "unreachable": true}

Thanks; I would suggest asking molecule support questions on Matrix/IRC, or in other forums, this repository is more for issues relating to the book directly.

Did you able to get any update molecule support using a docker container for molecule test?
Jeff, i followed your tutorial using youtube. In 2024 also, I am still getting same error.


Fan speeds bug

Describe the bug
Siri always set my fan speed a step higher; when I ask Siri to set the fan speed to 25%, it set it to 50%, and when I ask Siri to set the fan speed to 50%, it set it to 75% and so on.
Expected behavior
The fan has 4 speeds, it should be set to level 1 speed when I ask Siri to set the fan speed to 25%, level 2 speed 50%, and so on.
Your config.json
            {
                "name": "The Standing Fan",
                "ip": "<IP_ADDRESS>",
                "token": "847f49d3ed46aabcc6edda4b8c1c15c5",
                "micloud": {
                    "username"<EMAIL_ADDRESS>                    "password": "xxxxxxxxxxx",
                    "country": "cn",
                    "forceMiCloud": true
                }
            }

I named it The Standing fan. the model of the fan is zhimi.fan.sa1
Debug log
Provide a snippet of a debug log when the issue occurs. Ideally with the deepDebugLog property enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Since your fan does not support stepless fan speed control, the fan levels are used to emulate that behavior. The fan percentage is always set to the highest value per fan level, so setting it per Siri might cause unexpected behavior. Instead of 25% just say 20% or instead of 50% just say 45%, just do not go spot on 😉

Ok, what you suggested certainly works fine.
Thanks.


feat(): render image file with base href

Thank you for your contribution 💯
According to the specs of editor-js/image plugin, the url field must contain a full public path hence, the relative path is just not recommended:

file - uploaded file data. Must contain an url field with full public path to the uploaded image. Also, can contain any additional fields you want to store. For example, width, height, id etc. All additional fields will be saved at the file object of output data.

Can you please elaborate in which scenarios (using the Editor.js) would this return a relative path?
Please, take into consideration that the purpose of this package is to render Editor.js features only.


Async actions and attribute plugins

This failed, async causes a host of issues around add/removing event listeners.  You can create Promises, but we aren't going to await them in an expression for now.


Property 'crud' does not exist on type 'ObjectDefinitionBlock<"Query">'

Hi Prisma Team, love the product and trying to work through some Proof-of-Concepts.
I'm following this guide on Database Access with Prisma 2, but I hit the following error message:
Using ts-node version 8.3.0, typescript version 3.5.2
[ERROR] 12:47:51 ⨯ Unable to compile TypeScript:
src/index.ts:16:7 - error TS2339: Property 'crud' does not exist on type 'ObjectDefinitionBlock<"Query">'.

16     t.crud.findOneFoo();

Both Photon and Nexus appear to have generated successfully after prisma2 generate, but crud is simply not available on the generated Nexus type/library.
The minimal example of my code is as below. Would really appreciate any insight into whats going on with this.
Thanks in advance!
./package.json
{
  "devDependencies": {
    "ts-node": "^8.3.0",
    "ts-node-dev": "^1.0.0-pre.40",
    "typescript": "^3.5.2"
  },
  "scripts": {
    "start": "ts-node-dev ./src/index.ts"
  },
  "dependencies": {
    "@prisma/nexus": "0.0.1",
    "graphql": "^14.4.2",
    "graphql-yoga": "^1.18.1",
    "nexus": "^0.12.0-beta.6",
    "nexus-prisma": "^0.3.7"
  }
}

./prisma/schema.prisma
datasource db {
  provider = "mysql"
  url      = "mysql://..."
}

generator photon {
  provider = "photonjs"
}

generator nexus_prisma {
  provider = "nexus-prisma"
}

...[INTROSPECTED MODELS HERE]

./src/index.ts
import { nexusPrismaPlugin } from "@generated/nexus-prisma";
import Photon from "@generated/photon";
import { makeSchema, objectType } from "@prisma/nexus";
import { GraphQLServer } from "graphql-yoga";
import { join } from "path";

const photon = new Photon();

const nexusPrisma = nexusPrismaPlugin({
  photon: (ctx) => ctx.photon,
});

const Query = objectType({
  name: "Query",
  definition(t) {
    t.crud.findOneFoo();
  },
});

const schema = makeSchema({
  types: [Query, nexusPrisma],
  outputs: {
    typegen: join(__dirname, "../generated/nexus-typegen.ts"),
    schema: join(__dirname, "/schema.graphql"),
  },
  typegenAutoConfig: {
    sources: [
      {
        source: "@generated/photon",
        alias: "photon",
      },
      {
        source: join(__dirname, "types.ts"),
        alias: "ctx",
      },
    ],
    contextType: "ctx.Context",
  },
});

const server = new GraphQLServer({
  schema,
  context: { photon },
});

server.start(() => console.log(`🚀 Server ready at http://localhost:4000`));

Also, FYI: prisma2 --version shows:
<EMAIL_ADDRESS>binary version: 30a33bde5b1d9f79e0a48491749528da76002e24

Any luck with this?

I am following the same guide and getting the same t.crud errors plus some t.model errors.

I can confirm that starting the server/running makeSchema on a starter project doesn't get rid of this error for me.

Can confirm. I'm having the same issue.
tested in<EMAIL_ADDRESS>

I looked at some of the typescript examples from photonjs.prisma.io and I was able to get things working with ts-node-dev although I am still getting crud and model errors when I run ts-node or tsc; running on preview 5.

Same error here.

Ping nexus to 0.11.7 resolved the issue.
nexus ^0.12.0-beta.6 has the problem.

i have the same issue.

You can try running the schema only with the nexusPrisma type. Add more types like Query afterward, when the typegen and schema was generated once.
const schema = makeSchema({
  types: [nexusPrisma],
  ...
})

makeSchema is not generating "nexus.ts" or "schema.graphql" files for me. const schema does get assigned the generated schema and when passed into the graphQL server making everything appear to be working fine.
Tried both @prisma/nexus 0.11.7  and 0.12.0-beta.6.
Tried all the various documentation versions using path or just strings for outputs assignment of schema and typegen.

I finally got the types to work. outputs is expecting an absolute path so I used:
outputs: {
    typegen: __dirname + "/generated/nexus.ts",
    schema: __dirname + "/generated/schema.graphql",
  },

After making sure they were generated when running ts-node-dev, I added import to the top of my index.ts:
import './generated/nexus'

I could then build with tsc

Hey @robmurtagh, this should be working now. Update your deps. You can see a working example in this repo under /example
Ref https://github.com/prisma/nexus-prisma/issues/367#issuecomment-526921529.

This is still not working for me.
I'm still getting the same error:
Property 'model' does not exist on type 'ObjectDefinitionBlock<"User">'.
Even with latest deps.
At this point I'm not even sure if I'm making mistakes or this doesn't work right now so please point me at something which definitely works.

Same here :
"dependencies": {
        "@types/node": "^12.7.12",
        "graphql": "^14.5.8",
        "graphql-yoga": "^1.18.3",
        "nexus": "^0.12.0-beta.14",
        "nexus-prisma": "^0.5.0"
    },

// package.json
import { makeSchema } from 'nexus'
import { nexusPrismaPlugin } from 'nexus-prisma'
import * as types from './types'
import { join } from 'path'

export const schema = makeSchema({
    types: [types, nexusPrismaPlugin({ types })],
    // prettierConfig: join(__dirname, '../../.prettierrc.json'),
    outputs: {
        schema: join(__dirname, '/generated/schema.graphql'),
        typegen: join(__dirname, '/generated/nexus.ts'),
    },
})

//schema.ts
I'm still getting this error:
Property 'model' does not exist on type 'ObjectDefinitionBlock<"Profile">'

Hey @poulainv, looks like you're using the legacy config style. Try referring to the current examples to aid your debugging.

You're right, I did not see the breaking changes. My bad. 🙏

All good, let me know how it goes, its still not as easy as it should be (we're working on it 😄).

Yep but when it works, dev exp is awesome ;)
And.. for now, it works well locally but when I've deployed it on heroku I got the same error 😅

@poulainv I'll setup an example for heroku soon, but for now see if the reference docs are enough: https://github.com/prisma-labs/nexus-prisma#project-setup. It actually mentions Heroku heh.

In my case the issue was misconfigured types field in tsconfig compilerOptions.

Hey @alexichepura you might be interested in https://github.com/prisma-labs/nexus/issues/284 & https://github.com/prisma-labs/nexus-cli/issues/2.

@jasonkuhrt is there a reason why you are using the import * syntax for all imports?
import * as Nexus from 'nexus'
import { nexusPrismaPlugin } from 'nexus-prisma'
import * as Query from './Query'
import * as Mutation from './Mutation'
import * as Blog from './Blog'
import * as Post from './Post'
import * as User from './User'
import * as path from 'path'

@iamandyk I personally like namespaces (ala Go) but for the data part (graphql type defs) its just a convenient pattern. For yourself, do as you please :)


loadCurrentSession fails with error "jwt not active". Add support for clockTolerance when verifying JWTs.

Overview/summary
Online session tokens with JWTs are susceptible to timing issues between different systems. Shopify uses the NBF value in the JWT spec which can cause issues on some systems.
The used package to verify JWTs is @auth0/node-jsonwebtoken. This package includes the option clockTolerance to allow for time drift or time difference.
Motivation

What inspired this enhancement?

On my development machine, I synchronize with time.apple.com. So no manual intervention is happening from my side. Yet I'm consistently being provided with JWTs with an NBF value in the future. Example:
┃ {
┃   iss: 'https://<store>.myshopify.com/admin',
┃   dest: 'https://<store>.myshopify.com',
┃   aud: 'ecf2834002ac630dde29e6937ff9c9ac',
┃   sub: '72564015311',
┃   exp: 2021-06-16T17:14:59.000Z,
┃   nbf: 2021-06-16T17:13:59.000Z,
┃   iat:<PHONE_NUMBER>,
┃   jti: 'f3e2ebfb-7cd6-46cb-b84c-3907873d2f41',
┃   sid: '1f5d5129358032f321a6e3a5a3e7f2aa969ca62d0a4c922c8c7b6a36b1afffe3',
┃   now: 2021-06-16T17:13:57.845Z
┃ }

Where I have added the now property myself to the debug. As you can see
┃   nbf: 2021-06-16T17:13:59.000Z,
┃   now: 2021-06-16T17:13:57.845Z

The nbf value is in the future.
I would like to see support for an optional clockTolerance setting for verifying JWTs. It makes development a massive burden as I have to constantly refresh to receive a working token. I can use the token until expiry, and then I start receiving tokens with nbf in the future and my app has to re-auth again.

Related issues:

https://github.com/Shopify/shopify-app-bridge/issues/59
https://community.shopify.com/c/Shopify-APIs-SDKs/JWT-Token-gt-nbf-value-in-future-time-jwt-not-active-error/td-p/1176040
https://github.com/Shopify/shopify-node-api/issues/137
Checklist

[x] I have described this enhancement in a way that is actionable (if possible)

I rolled latest changes and facing the same issue.

 "@shopify/app-bridge-react": "^2.0.3",
        "@shopify/app-bridge-utils": "^2.0.3",
        "@shopify/koa-shopify-auth": "^4.1.4",
        "@shopify/koa-shopify-graphql-proxy": "^5.0.2",
        "@shopify/koa-shopify-webhooks": "^3.0.2",
        "@shopify/react-shopify-app-route-propagator": "^3.0.8",
        "@shopify/polaris": "^6.6.0",
        "@shopify/polaris-icons": "^4.6.2",
        "@shopify/shopify-api": "^1.4.1",

Some updates.... it seems on my mac these were not checked. I was traveling lately... i was using VPN and I needed to disable it.  As soon as I enabled it seems time issue got fixed and that error jwt not active disappeared.

I already have the setting on that I sync with time.apple.com. Mentioned this in my OP. I still consistently receive JWTs with an NBF value a few seconds in the future.

I was having this issue, also on Big Sur, and fixed it by installing ChronyControl as explained in this answer on StackExchange

Is there any solution update on this thread as I am facing this issue on Windows 10 for the past 1 week and not able to find any solution ?
Anyone please help.

This is still happening to users periodically. Is it possible to allow us to set the clock tolerance level ourselves?

I experience the same issue still.

Still experiencing the same problem.


Obey the base_url response

As specified in the spec, a server may return another base URL to be used in subsequent queries. The Rust driver should take that into account for all future queries

fixed


SNMP Profile mounted to docker containers gets changed to directory

I have noticed strange issue. Not confirmed yet but the file mounted to docker containers gets changed to directory when the machine restarted without stopping the container.
   6 weeks ago   Exited (127) 10 days ago             ktranslate-snmp
[root@localhost vmuser]# docker restart 3f4aff31e926
Error response from daemon: Cannot restart container 3f4aff31e926: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/var/tmp/snmp-base.yaml" to rootfs at "/snmp-base.yaml" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

Is this a known issue or I am doing something wrong here.?

This is the side affect of how docker handles volume mounts. If a volume mount does't exist on the host OS, docker will create it as an empty directory. See https://docs.docker.com/storage/bind-mounts/ for more info on this.
My guess is that /var/tmp/snmp-base.yaml doesn't exist after reboot, because its a tmpfs volume.  Docker will run the container because --restart unless-stopped flag is set when the host boots up. Because there's no file, docker tries to be helpful and create a directory, which is what leads you into this problem.
The best advice is to place your snmp-base.yaml file on persistent storage which will survive across a reboot. If you don't have any persistent storage on this host you can also place it on an aws s3 bucket by referencing it like -snmp s3://my-bucket/path-to-my-object-snmp-base.yaml on the command line.
Cheers

@i3149  Silly me. Now it makes sense. Thanks for detailed explanation.


Update API parameters for Sentinel Hub

The API for Sentinel Hub has changed since the example on how to access  imagery was written. Use the following config.json file to download, for instance, Sentinel-2 L1C imagery.
  {
   "country": "spain",
   "bounding_box": [
         -0.745697021484375,
          39.28010491220614,
         -0.3076171875,
          39.625788248139436
        ],
    "zoom": 14,
    "classes": [
     { "name": "Building", "filter": ["has", "building"] }
       ],
   "imagery": "http://services.sentinel-hub.com/ogc/wms/[WMS_ID]?SERVICE=WMS&REQUEST=GetMap&BBOX={bbox}&LAYERS=TRUE_COLOR&MAXCC=20&SHOWLOGO=false&VERSION=1.1.1&WIDTH=256&HEIGHT=256&FORMAT=image/jpeg&TIME=2016-01-29/2019-02-29&srs=EPSG%3A3857&NAME=Sentinel-2%20L1C",
   "background_ratio": 1,
   "ml_type": "segmentation"
 }

Dont forget to replace the WMS_ID value on "http://services.sentinel-hub.com/ogc/wms/[WMS_ID], with your ID.

Thanks, I think the former example will still work but only if the WMS configuration was set up with the older layer names. I'll make the update now


Add Atlassian wiki as additonal markup language.

This adds basic Atlassian markup support as discussed in #22.

Thx, could you please remove your changes in the MarkupDocsBuilders class and add confluence to the MarkupLanguage enum?

This is exactly what I’ve done - please have a look into the pull request..
Absender: Robert Winkler<EMAIL_ADDRESS>Antworten: Swagger2Markup/markup-document-builder<EMAIL_ADDRESS>Datum: 13. März 2016 at 15:02:11
Empfänger: Swagger2Markup/markup-document-builder<EMAIL_ADDRESS>CC: André Schubert<EMAIL_ADDRESS>Betreff:  Re: [markup-document-builder] Add Atlassian wiki as additonal markup language. (#23)
Thx, could you please remove your changes in the MarkupDocsBuilders class and add confluence to the MarkupLanguage enum?
—
Reply to this email directly or view it on GitHub.

Sry, I just had a look at the first commit and read the comment.


User Oauth2 WebClient instead of msal to get groups from graph.

/azp run java - spring - tests

/azp run java - spring - tests

/azp run java - spring - tests


Rewrite link but dont wrap in href

I want to replace any url that is put in with a generic one, so if the text reads:

Hi, please visit google.com

I want to use the linkify engine to pick up google.com and replace it with example.com (for instance).
However I don't want it to be converted to an html link, the linkifyjs engine seems really good at classifying text as a url. Is there a way to take advantage of it as a sort of find/replace?
To de-abstract, its for an email server where the email clients can only display text, not html. I also don't want the users being able to put any link in there, as all links must point at one location (that I control), hence why I don't want ... inserted.
Thanks

Hey @amlwwalker, I'd recommend looking into the linkify.tokenize function. It generally isn't meant to be used directly, but it should solve this particular use case.
tokenize returns a list of objects similar to the output of linkify.find, but it will include all the text-only, non-URL tokens as well.
You can loop through these tokens, get their type property, and branch on it to either (A) use their toString() method to get the original text or (B) replace their text with example.com, or anything you choose:
var result = "";
linkify.tokenize('Hi, please visit google.com').forEach(token => {
  if (token.type === 'url') {
    result += 'example.com';
  } else {
    result += token.toString();
  }
});

return result;

See linkify-string for a more detailed example. I hope that helps.

@nfrasser
Sorry for opening this old issue again, but since you mentioned linkify-string as a resource for examples, I have a question:
Do token.isLink and token.type === 'url' come together? What's the difference between the two?


Update build.yml to ignore files that don't impact builds

(wait till action runs to see if I didn't break it)

I did

Maybe just remove all files ending with .md?

honestly would've probably been smarter to use "paths:" and match files in src along with the gradle files instead of using "paths-ignore"

any reason why push and pull request are separate?

any reason why push and pull request are separate?

I don't think you can do
on: [push, pull_request]
    paths-ignore:


[Tech debt] add Frequency to nova-wallet/metadata-portal

As Frequency we would like to be added to:
https://github.com/nova-wallet/metadata-portal
The live version of the Nova Wallet portal is here:
https://metadata.novasama.io/#/polkadot

https://github.com/nova-wallet/nova-utils/issues/1658

https://github.com/nova-wallet/nova-utils/pull/1660

Updated icon to white to meet Nova's common application guidelines


Support for Embedding and LLM's hosted on AWS bedrock

Is your feature request related to a problem? Please describe.
I Dont see documentation on how to use Models on AWS bedrock.
Describe the solution you'd like
A config Page where I Can provide AWS IAM credentials or may be this uses boto3 to accept instance profiles and call AWS bedrock invoke API to use models and embeddings
Describe alternatives you've considered
No Alternative
Additional context
Add any other context or screenshots about the feature request here.

for bedrock look at these links: https://github.com/ScrapeGraphAI/Scrapegraph-ai/tree/main/examples/bedrock


this blows 69

Pull Request Checklist

[x ] My commits are in nice logical chunks with good commit messages
[ x] My changes are rebased on the latest alfa branch
[x ] Ran ´dartfmt -w lib graft_coin/lib´
[ x] All tests are passing
[ x] My changes are ready to be shipped to users

Issues affected

Do not trust this dev.


runtime: sleep 1 second after GetOOMEvent failed

In some cases, for example agent crashed and not marked dead yet, the GetOOMEvent
will return errors like connection reset by peer or ttrpc: closed. Do a sleep
with 1 second (agent check interval) and let agent health check to do the check.
Fixes: #3064
Signed-off-by: bin liu<EMAIL_ADDRESS>

/test

/test

jenkins-ci-Power8-ubuntu-18-04-initrd:

Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Build step 'Execute shell' marked build as failure

@kata-containers/tests , who's the current contact for Power related issues?

jenkins-ci-podman-clh-fedora-31:

03:37:56 HEAD is now at 7dcd3aff build, release-notes.md: Document 0.11.0 release
03:37:56 ./scripts/dev_cli.sh: line 122: docker: command not found
03:37:56 [Cloud Hypervisor] Error pulling container image. Aborting.

Known issue and @jcvenegas is on this.
Wouldn't be worth to disable this CI till this get fixed? (considering that as this is a non required CI).

jenkins-ci-ubuntu-18-04-initrd:

time="2020-11-12T03:15:06.338140437Z" level=error msg="RunPodSandbox for &PodSandboxMetadata{Name:create-PodSandbox-for-container-41310e31-2495-11eb-b836-000d3ae40037,Uid:cri-test-uid41310e52-2495-11eb-b836-000d3ae40037,Namespace:cri-test-namespace41310e5a-2495-11eb-b836-000d3ae40037,Attempt:2,} failed, error" error="rpc error: code = Unavailable desc = failed to create containerd task: transport is closing: unavailable"
time="2020-11-12T03:15:06.342539677Z" level=info msg="StopPodSandbox for \"\""
time="2020-11-12T03:15:06.342643278Z" level=error msg="StopPodSandbox for \"\" failed" error="an error occurred when try to find sandbox \"\": Prefix can't be empty"
time="2020-11-12T03:15:06.343102482Z" level=info msg="RemovePodSandbox for \"\""
time="2020-11-12T03:15:06.343174683Z" level=error msg="RemovePodSandbox for \"\" failed" error="an error occurred when try to find sandbox \"\": Prefix can't be empty"
time="2020-11-12T03:15:06.365478390Z" level=error msg="RunPodSandbox for &PodSandboxMetadata{Name:create-PodSandbox-for-container-413d3188-2495-11eb-85f8-000d3ae40037,Uid:cri-test-uid413d31c5-2495-11eb-85f8-000d3ae40037,Namespace:cri-test-namespace413d31d0-2495-11eb-85f8-000d3ae40037,Attempt:2,} failed, error" error="rpc error: code = Unavailable desc = failed to create containerd task: transport is closing: unavailable"
time="2020-11-12T03:15:06.368504018Z" level=info msg="StopPodSandbox for \"\""
time="2020-11-12T03:15:06.368592618Z" level=error msg="StopPodSandbox for \"\" failed" error="an error occurred when try to find sandbox \"\": Prefix can't be empty"
time="2020-11-12T03:15:06.368985122Z" level=info msg="RemovePodSandbox for \"\""
time="2020-11-12T03:15:06.369051423Z" level=error msg="RemovePodSandbox for \"\" failed" error="an error occurred when try to find sandbox \"\": Prefix can't be empty"
time="2020-11-12T03:15:07.300094539Z" level=error msg="RunPodSandbox for &PodSandboxMetadata{Name:create-PodSandbox-for-container-41365457-2495-11eb-a433-000d3ae40037,Uid:cri-test-uid4136547b-2495-11eb-a433-000d3ae40037,Namespace:cri-test-namespace41365486-2495-11eb-a433-000d3ae40037,Attempt:2,} failed, error" error="rpc error: code = Unavailable desc = failed to create containerd task: transport is closing: unavailable"
time="2020-11-12T03:15:07.302390560Z" level=info msg="StopPodSandbox for \"\""
time="2020-11-12T03:15:07.302476161Z" level=error msg="StopPodSandbox for \"\" failed" error="an error occurred when try to find sandbox \"\": Prefix can't be empty"
time="2020-11-12T03:15:07.302806864Z" level=info msg="RemovePodSandbox for \"\""
time="2020-11-12T03:15:07.302859164Z" level=error msg="RemovePodSandbox for \"\" failed" error="an error occurred when try to find sandbox \"\": Prefix can't be empty"
time="2020-11-12T03:15:07.328907205Z" level=error msg="RunPodSandbox for &PodSandboxMetadata{Name:create-PodSandbox-for-container-4139061b-2495-11eb-bdd8-000d3ae40037,Uid:cri-test-uid4139063a-2495-11eb-bdd8-000d3ae40037,Namespace:cri-test-namespace41390643-2495-11eb-bdd8-000d3ae40037,Attempt:2,} failed, error" error="rpc error: code = Unavailable desc = failed to create containerd task: transport is closing: unavailable"
time="2020-11-12T03:15:07.331705831Z" level=info msg="StopPodSandbox for \"\""
time="2020-11-12T03:15:07.331796532Z" level=error msg="StopPodSandbox for \"\" failed" error="an error occurred when try to find sandbox \"\": Prefix can't be empty"
time="2020-11-12T03:15:07.332222936Z" level=info msg="RemovePodSandbox for \"\""
time="2020-11-12T03:15:07.332287936Z" level=error msg="RemovePodSandbox for \"\" failed" error="an error occurred when try to find sandbox \"\": Prefix can't be empty"
time="2020-11-12T03:15:07.349356894Z" level=error msg="RunPodSandbox for &PodSandboxMetadata{Name:create-PodSandbox-for-container-41348207-2495-11eb-946a-000d3ae40037,Uid:cri-test-uid4134822c-2495-11eb-946a-000d3ae40037,Namespace:cri-test-namespace41348239-2495-11eb-946a-000d3ae40037,Attempt:2,} failed, error" error="rpc error: code = Unavailable desc = failed to create containerd task: transport is closing: unavailable"
time="2020-11-12T03:15:07.354359041Z" level=info msg="StopPodSandbox for \"\""
time="2020-11-12T03:15:07.354444341Z" level=error msg="StopPodSandbox for \"\" failed" error="an error occurred when try to find sandbox \"\": Prefix can't be empty"
time="2020-11-12T03:15:07.354876345Z" level=info msg="RemovePodSandbox for \"\""
time="2020-11-12T03:15:07.354933846Z" level=error msg="RemovePodSandbox for \"\" failed" error="an error occurred when try to find sandbox \"\": Prefix can't be empty"
time="2020-11-12T03:15:07.369552781Z" level=debug msg="received signal" signal=terminated
time="2020-11-12T03:15:07.369711283Z" level=info msg="Stop CRI service"
time="2020-11-12T03:15:07.369855184Z" level=info msg="Stop CRI service"

@liubin, can this be related to your PR?
@kata-containers/tests, @kata-containers/runtime, have you seen this happening before?

jenkins-ci-ubuntu-1804-cloud-hypervisor-k8s-e2e-containerd-minimal:
@likebreath, @jcvenegas, may I ask you guys to take a look if this is a known error? Also, if possible, what's the error? I couldn't figure it out by a quick look there.

jenkins-metrics-ubuntu-virtiofs-18-04::

4:00:38
04:00:38 Report Summary:
04:00:38 +-----+----------------------+---------------------+---------------+--------+-------+--------+--------+-------+------+-----+
04:00:38 | P/F |         NAME         |         FLR         |     MEAN      |  CEIL  |  GAP  |  MIN   |  MAX   |  RNG  | COV  | ITS |
04:00:38 +-----+----------------------+---------------------+---------------+--------+-------+--------+--------+-------+------+-----+
04:00:38 | P   | boot-times           | 95.0%               | 98.4%         | 105.0% | 10.0% | 91.7%  | 118.1% | 28.7% | 5.4% |  20 |
04:00:38 | *F* | memory-footprint     | Failed to load JSON | exit status 2 |        |       |        |        |       |      |     |
04:00:38 | P   | memory-footprint-ksm | 95.0%               | 100.0%        | 105.0% | 10.0% | 100.0% | 100.0% | 0.0%  | 0.0% |   1 |
04:00:38 | P   | blogbench            | 90.0%               | 96.0%         | 110.0% | 20.0% | 96.0%  | 96.0%  | 0.0%  | 0.0% |   1 |
04:00:38 | P   | blogbench            | 90.0%               | 94.5%         | 110.0% | 20.0% | 94.5%  | 94.5%  | 0.0%  | 0.0% |   1 |
04:00:38 +-----+----------------------+---------------------+---------------+--------+-------+--------+--------+-------+------+-----+
04:00:38 Fails: 1, Passes 4
04:00:38 Failed
04:00:38 checkmetrics FAILED (1)

Seems that we don't fail because the memory footprint went up, but because we couldn't read the JSON file. Interesting.
@kata-containers/tests, @kata-containers/runtime, have you ever faced this before?

jenkins-metrics-ubuntu-virtiofs-18-04
It is failing on the error | *F* | memory-footprint     | Failed to load JSON | exit status 2 |   which I encountered quite many times. I learnt the workaround is simply restarting the CI. (I just restarted the CI here). Ping @GabyCT in case she got a better solution/fix.

jenkins-ci-ubuntu-1804-cloud-hypervisor-k8s-e2e-containerd-minimal
This is a strange failure, as I believe the tests are essentially passing. I compared this failing one job 186 and the most recent successful job 188. The only major difference I can find is that the failing job is not reporting .ci/teardown.sh "$WORKSPACE/artifacts" while the successful job did. Also, note that both jobs are complaining some non-critical errors, e.g. No such file or directory, Permission denied, ERROR: kata-log-parser, which I believe are not the reason for the failure.

Again, trying the old tricks and restarted the CI. @jcvenegas any insights?

Also, put DNM label to prevent merging the PR by accident before clarifying CI failures. Feel free to remove the label whenever you find appropriate.

Note that: the error on jenkins-ci-ubuntu-1804-cloud-hypervisor-k8s-e2e-containerd-minimal is resolved and I believe the CI is flaky. Anyway, we got one less CI failure. Are we waiting for someone's inputs on the failures from jenkins-ci-Power8-ubuntu-18-04-initrd  and jenkins-ci-ubuntu-18-04-initrd ?

@likebreath, I don't think it makes sense to keep blocking the PRs for the CIs that are not officially required.
I've removed the do-not-merge label.  Feel free to merge the patches and I'll open issues (Tomorrow) so we can keep tracking the failures.
Where would be the best place to open the issues? Here or at the tests repo?

I've removed the do-not-merge label. Feel free to merge the patches and I'll open issues (Tomorrow) so we can keep tracking the failures.
Where would be the best place to open the issues? Here or at the tests repo?

@fidencio Make senses to me. I'd assume the tests repo is a better for CI related issues. Merging the PR now. Thanks a lot.


Add app metadata for Linux

I have created this file to be used for the Flatpak version:
https://github.com/eylenburg/flathub/blob/new-pr/uno.platform.uno-calculator.appdata.xml
It would be great if you could add it here so that it's upstream.
I'd open a PR but I'm not quite sure where in the repo it would have to go

I have created this file to be used for the Flatpak version:
https://github.com/eylenburg/flathub/blob/new-pr/uno.platform.uno-calculator.appdata.xml
It would be great if you could add it here so that it's upstream.
I'd open a PR but I'm not quite sure where in the repo it would have to go


⚠ Serverssh.net has degraded performance

In 0f19f26, Serverssh.net (https://serverssh.net/) experienced degraded performance:

HTTP code: 200
Response time: 6012 ms

Resolved: Serverssh.net performance has improved in f1092c9.


Added button

This code was taken directly from https://github.com/novialriptide/SakuyaEngine

Code looks great
Why a bg_color variable?  It would be better to encourage the usage of colour strings that pygame offers - "black"

Code looks great
Why is bg_color global?

It's so that bg_color would be modified outside of the method.


Different flavors of dataclass

I've been watching #231 with great interest. I suspect I'm on the edge of the 20th rewrite of my (unreleased, pydantic-based) CMS project for Sphinx.
Based on an example in that PR's tests, let's say I have:
@pydantic.dataclasses.dataclass
 class Article(BaseResource):
     title: str

Let's say, though, that Article is a kind of Resource. I might have other Resources: Author, Topic, etc.
Let's then say there are other kinds of kinds of things. Not just Resource...View, Reference, etc. I could do this:
@mything.resource
@pydantic.dataclasses.dataclass
 class Article(BaseResource):
     title: str

...and put my extra registration stuff in mything.resource. But could I subclass pydantic.dataclasses.dataclass and do:
@mything.resource
 class Article(BaseResource):
     title: str

I know there's tons of meta stuff going on. I suspect that wouldn't fly.

One of the problems with the decorator approach is that it makes inheriting and modifying the decorator almost impossible.
Much better to put your extra logic in BaseResource.
But then:

why not use standard BaseModel from pydantic where inheritance and modification is relatively? It's also fewer lines of code and arguably cleaner and more readable.
(none of my business, but) in my experience putting to much logic in classes like this can lead to confusion. I made the mistake of putting masses of logic in django Model classes years ago and we're still dealing with the results. As projects grow it's often easiest to just have a simpel dumb method that does something that you can call and unit test and otherwise ignore.

Closing this as it's not really an issue with pydantic, but feel free to ask any follow up questions here.


error: Failed dependencies:  libc.so.6(GLIBC_PRIVATE)(64bit)

system version Centos 6.7

when install  clickhouse-common-static    the system throws this error:
error: Failed dependencies:
libc.so.6(GLIBC_PRIVATE)(64bit) is needed by clickhouse-common-static-1.1.54385-2.x86_64
but when i check the depency is already indtalled

Can you try install latest clickhouse v18.14.15 ?


Rebirth Blaster x Queencard by Plexity, (G)I-DLE

Song Name
Rebirth Blaster x Queencard
Artist Name
Plexity, (G)I-DLE
Source
Youtube
Youtube Link
wYnfJX3FtDY_Qi
Direct File Link
No response
Song ID
574484
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 26681070

reject
invalid yt link


Connecting to Enttec Open DMX

Hi, this is a great plugin, thanks!  I wondered if it may work with an Open DMX device?  I'm building a home automation system with Homebridge and need a link to DMX.  I was looking at an Arduino and DMX shield but this would be a much more elegant solution!!!
Thanks
Mark

I can’t say for sure but it looks like the device has a USB port on it so it might work. The device would need to be attached to the same computer running Homebridge.
-Dan
On Mar 9, 2023, at 4:21 AM, markkibble @.***> wrote:

Hi, this is a great plugin, thanks! I wondered if it may work with an Open DMX device? I'm building a home automation system with Homebridge and need a link to DMX. I was looking at an Arduino and DMX shield but this would be a much more elegant solution!!!
Thanks
Mark
—
Reply to this email directly, view it on GitHubhttps://github.com/PennazSoftware/homebridge-dmxlight-plugin/issues/6, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALGYIL4P7A7NZYTGUNYTVVTW3HDK3ANCNFSM6AAAAAAVVBJO7M.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hi There again!
This plugin is really useful, thanks so much for coding it!
FYI Enttec Open DMX does not work, because it is not a full implementation of DMX and requires the PC/Raspberry to do some realtime refreshing work.
The good news for me is that I got it working with an Enttec Pro.  It works a treat with a RGB PAR can I have, address 001 with RGB on channels 1,2 & 3.  What I need help on please is how do I control a single DMX channel (for a single monochrome dimmer)?  I have a DMX 240v dimmer for traditional lights with 12 channels that run lights in my house, so I need just a single channel to control.  I have tried deleting   "colorOrder": "rgb" line but the default is Rob so it controls 3 channels.  Is there a command for that?  The command  "dmxChannelCount": 1,  does not limit control to a single channel as I expected.
To be clear I want to have light 1 on DMX channel 1, light 2 on DMX channel 2 etc...
Thanks so much for your help, I owe you a coffee!
Mark (in England)

Hi Dan, Happy New Year to you!
Sorry to chase but it would be great if you could take a quick look at this?  Rest of my home automation is great but I do need this to run a number of lights.  I would really appreciate it fixing.
Thanks
Mark

Hi Dan,  I see no one has been able to help with this plugin (as far as I can see).  Have you any time to have a go at fixing this issue so I can get on and test it?
Would really appreciate it if you could help.
Thanks
Mark


⚠ Bofrost.fr has degraded performance

In a6d4c7d, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 830 ms

Resolved: Bofrost.fr performance has improved in 4ebdcd6.


[MRG] MAINT: move cell_response to separate file

I think this will simplify the organization and help with future re-organization

@ntolley merge button is yours!


Adding support to python3.8

Hi there! I ran ‘yen list’ and found that only 4 versions of python are supported here. I wonder if python 3.8 can be supported later? Thanks.
3.12.3
3.11.9
3.10.14
3.9.19

Hey, I've been meaning to support all the versions down to 3.7. It's possible to support a lot more specific minor and patch versions as well.
I'll do that.

thanks. I have got the latest version of yen 0.4.3, as i can see in PyPi, and installed by pip install yen. However, I cannot see py38 in the output of 'yen list'.

cjh@DESKTOP-NERJPTB:~/domain/DeepKE$ pip install yen
Collecting yen
  Using cached yen-0.4.3-py3-none-any.whl.metadata (2.7 kB)
Requirement already satisfied: microvenv>=2023.2.0 in /home/cjh/anaconda3/lib/python3.11/site-packages (from yen) (2023.5.post1)
Requirement already satisfied: rich>=13.5.3 in /home/cjh/anaconda3/lib/python3.11/site-packages (from yen) (13.7.1)
Requirement already satisfied: markdown-it-py>=2.2.0 in /home/cjh/anaconda3/lib/python3.11/site-packages (from rich>=13.5.3->yen) (2.2.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /home/cjh/anaconda3/lib/python3.11/site-packages (from rich>=13.5.3->yen) (2.15.1)
Requirement already satisfied: mdurl~=0.1 in /home/cjh/anaconda3/lib/python3.11/site-packages (from markdown-it-py>=2.2.0->rich>=13.5.3->yen) (0.1.0)
Using cached yen-0.4.3-py3-none-any.whl (32 kB)
Installing collected packages: yen
Successfully installed yen-0.4.3
cjh@DESKTOP-NERJPTB:~/domain/DeepKE$ yen create venv -p 3.8
Error: requested Python version is not available. Use 'yen list' to get list of available Pythons.
cjh@DESKTOP-NERJPTB:~/domain/DeepKE$ yen list
Available Pythons:
3.12.3
3.11.9
3.10.14
3.9.19
cjh@DESKTOP-NERJPTB:~/domain/DeepKE$

can you explain why no accessible python 3.8.18 can be used here? Thanks for any help.

This was a bug, and it should now be fixed in v0.4.4. Can you check and confirm?

thanks! py3.8.18 is accessible now!


ARROW-12673: [C++] Add parser handler for incorrect column counts

Add a new callback to ParseOption which is invoked when a row does not have the correct number of columns. Using the RowModifier interface the callback can skip the row or add or remove fields.
Some basic handlers were added to skip all invalid rows, add a null value for missing columns and one that forces the row to the correct number of columns by adding null values or removing the columns at the end of the row.

It seems like the only functionality you would like is adding missing values to rows with too few columns.

Basically, that seems to be the most reasonable user request.

In your opinion would it be reasonable to add two enums to the parser options one for handling too few columns and one for too many with the values ERROR, SKIP and FIX

Well, I'm not sure I understand in which situation skipping would be the right answer. Can you explain a bit more?

In your opinion would it be reasonable to add two enums to the parser options one for handling too few columns and one for too many with the values ERROR, SKIP and FIX

Well, I'm not sure I understand in which situation skipping would be the right answer. Can you explain a bit more?

I can give you my use case. I have users which upload CSV files to be analyzed. Currently if the csv is malformed an error message is immediately returned on the first error. I would like the behavior to be that on the first pass of parsing the csv any bad rows are skipped but tracked so that if no bad rows are found success but otherwise the user can be notified that not all data could be parsed and tell them all the rows which had an issue. The user then can decide on how they want to handle this situation, ie upload a fixed csv, just keep ignoring the lines or reparse the lines by having the parser "fix" them.
This behavior is similar to the pandas.read_csv options error_bad_lines and warn_bad_lines

Does this use case make sense? Does it seem like something you want to support?

It makes sense, but I'm not sure we want to support it. Basically, I would like to see if it can be implemented with minimal complication at the heart of the CSV parser internals. In particular, I don't want the handler to be able to modify any data. It should only be allowed to return a Status to say whether we should go on or not.
Sidenote: if the CSV parser loses sync (for exemple because of a misquoted CSV cell), you may also have many "invalid" rows.

Does this use case make sense? Does it seem like something you want to support?

It makes sense, but I'm not sure we want to support it. Basically, I would like to see if it can be implemented with minimal complication at the heart of the CSV parser internals. In particular, I don't want the handler to be able to modify any data. It should only be allowed to return a Status to say whether we should go on or not.

By modify the row are you specifically referring to the ability to remove columns from the row, or do you mean instead of passing the RowModifier into the callback the callback will return an enum indicating error, skip or fix and the csv parser will modify the row for fix?
Does this mean you now don't mind the idea of a callback just you want limit its abilities?

Sidenote: if the CSV parser loses sync (for exemple because of a misquoted CSV cell), you may also have many "invalid" rows.

Yes that could be a problem but could be reduced by capping the number of errors to report or a threshold that after so many bad rows an error will be generated and parsing stopped. If there is a callback it would be up to the callback implementer.

Should I move these design discussions out of this PR and to the dev mailing list or just keep it here for continuity?

Sorry for the delay. Before answering in more detail, what kind of information does the callback need? Just a string_view of the raw CSV line?

Sorry for the delay. Before answering in more detail, what kind of information does the callback need? Just a string_view of the raw CSV line?

The current callback as written is passed an object which it can use to manipulate the current line in a limited manor, RowModifier, but if I was to go with a callback which returned an enum indicating the action to take I would pass a const string_view to the callback.

but if I was to go with a callback which returned an enum indicating the action to take I would pass a const string_view to the callback.

That would be fine, under the condition that the only possible actions are "skip" and "error". Fixing the row on-the-fly would produce too much coupling between the parser and its consumers, IMHO.

That wouldn't solve the issue mentioned by ARROW-12001, which requests to add nulls to fill out the line. If you do not wish to address that ticket, then the API would be a callback which takes a row number, number of expected columns, number of actual columns and string_view of the row. It can return an enum indicating skip or error and the default would be the current error behavior.

If you do not wish to address that ticket, then the API would be a callback which takes a row number, number of expected columns, number of actual columns and string_view of the row. It can return an enum indicating skip or error and the default would be the current error behavior.

That would be ok with me, but the row number would not be available for parallel reading, right?

That would be ok with me, but the row number would not be available for parallel reading, right?

Hmm, an interesting point.  The parallel implementation would indeed struggle to know the correct row number.  A byte offset to the start of the row would be possible however.

That would be ok with me, but the row number would not be available for parallel reading, right?

Hmm, an interesting point. The parallel implementation would indeed struggle to know the correct row number. A byte offset to the start of the row would be possible however.

Updating the reporting to be row number, where available, and byte offset of the start of the row would be useful for the parallel parsers which cannot easily know row number. If I were to do that it seems like it should be a separate MR done before this and on top of/after ARROW-11889.

Updating the reporting to be row number, where available, and byte offset of the start of the row would be useful

I started to play with this and I was able to do it easily for the parser but ran into trouble trying to add the byte offset information to the parser but for conversion it would require at a minimum tracking each rows offset to the start of the block if not each values offset for more accuracy. Is adding this overhead acceptable for error reporting?

I'm not sure there is an obvious way to solve this problem in parallel.  The parser will start parsing block X before block X-1 has finished parsing.  The parser input (CSVBlock) doesn't know how many lines it has.  That is not discovered until parsing time.  So, for example, the parser for block 2 might realize there is an error on the third line of block 2.  But, without knowing how many lines are in block 1 (and block 1 may not have finished parsing) it is hard to say what the lines number of that error is.
You could do a serial pass prior to parsing that just figures out how many lines are in a block but I suspect that would be too much overhead.
You could delay reporting an error on block X until blocks 1 to (X-1) have finished parsing (so you can know what the line number is).  That would probably be the solution I would take if I needed to do this.  However, I don't know off-hand how to do that delay in a low-complexity way.

I'm not sure there is an obvious way to solve this problem in parallel. The parser will start parsing block X before block X-1 has finished parsing. The parser input (CSVBlock) doesn't know how many lines it has. That is not discovered until parsing time. So, for example, the parser for block 2 might realize there is an error on the third line of block 2. But, without knowing how many lines are in block 1 (and block 1 may not have finished parsing) it is hard to say what the lines number of that error is.

Sorry I don't think I was clear in my comment. I was able to get reporting the byte offset of the row on which the parser error occurred working but ran into the issue getting the offset during conversion. This was to be able to give some location feedback even for parallel parsing where row number is difficult as you mentioned.

You could do a serial pass prior to parsing that just figures out how many lines are in a block but I suspect that would be too much overhead.

I agree this wouldn't be worth it

You could delay reporting an error on block X until blocks 1 to (X-1) have finished parsing (so you can know what the line number is). That would probably be the solution I would take if I needed to do this. However, I don't know off-hand how to do that delay in a low-complexity way.

That could work but not sure it is worth the complexity

Is adding this overhead acceptable for error reporting?

If the overhead is paid just in case of error then it would be ok. I don't think it would be a great idea to add more than ~3% overhead to the successful case, though.

Unfortunately the overhead is needed before you know if there is a failure. You can look at https://github.com/apache/arrow/pull/10662 for an implementation of this.

Starting new PR with updated implementation


JSON error refreshing NPM package list

I have an issue when attempting to refresh the package list. I had been working on a Node.js project and decided to move this into Visual Studio. I downloaded the latest version of NTVS 1.2 and installed this. I then created a new empty node web project and attempted to refresh the packages. The following error occurs:
Registry url: https://registry.npmjs.org/ Path to npm: C:\Program Files\nodejs\npm.cmd Downloading package cache to C:\Users\Phil\AppData\Local\Microsoft\Node.js Tools\NpmCache\bb5c8580-6d80-4b52-8728-26371022ab21\all_packages.json Downloading list of packages from https://registry.npmjs.org/-/all Downloaded 1MB of the package list (67MB total) Downloaded 2MB of the package list (67MB total) Downloaded 3MB of the package list (67MB total) Downloaded 4MB of the package list (67MB total) Downloaded 5MB of the package list (67MB total) Downloaded 6MB of the package list (67MB total) Downloaded 7MB of the package list (67MB total) Downloaded 8MB of the package list (67MB total) Downloaded 9MB of the package list (67MB total) Downloaded 10MB of the package list (67MB total) Downloaded 11MB of the package list (67MB total) Downloaded 12MB of the package list (67MB total) Downloaded 13MB of the package list (67MB total) Downloaded 14MB of the package list (67MB total) Downloaded 15MB of the package list (67MB total) Downloaded 16MB of the package list (67MB total) Downloaded 17MB of the package list (67MB total) Downloaded 18MB of the package list (67MB total) Downloaded 19MB of the package list (67MB total) Downloaded 20MB of the package list (67MB total) Downloaded 21MB of the package list (67MB total) Downloaded 22MB of the package list (67MB total) Downloaded 23MB of the package list (67MB total) Downloaded 24MB of the package list (67MB total) Downloaded 25MB of the package list (67MB total) Downloaded 26MB of the package list (67MB total) Downloaded 27MB of the package list (67MB total) Downloaded 28MB of the package list (67MB total) Downloaded 29MB of the package list (67MB total) Downloaded 30MB of the package list (67MB total) Downloaded 31MB of the package list (67MB total) Downloaded 32MB of the package list (67MB total) Downloaded 33MB of the package list (67MB total) Downloaded 34MB of the package list (67MB total) Downloaded 35MB of the package list (67MB total) Downloaded 36MB of the package list (67MB total) Downloaded 37MB of the package list (67MB total) Downloaded 38MB of the package list (67MB total) Downloaded 39MB of the package list (67MB total) Downloaded 40MB of the package list (67MB total) Downloaded 41MB of the package list (67MB total) Downloaded 42MB of the package list (67MB total) Downloaded 43MB of the package list (67MB total) Downloaded 44MB of the package list (67MB total) Downloaded 45MB of the package list (67MB total) Downloaded 46MB of the package list (67MB total) Downloaded 47MB of the package list (67MB total) Downloaded 48MB of the package list (67MB total) Downloaded 49MB of the package list (67MB total) Downloaded 50MB of the package list (67MB total) Downloaded 51MB of the package list (67MB total) Downloaded 52MB of the package list (67MB total) Downloaded 53MB of the package list (67MB total) Downloaded 54MB of the package list (67MB total) Downloaded 55MB of the package list (67MB total) Downloaded 56MB of the package list (67MB total) Downloaded 57MB of the package list (67MB total) Downloaded 58MB of the package list (67MB total) Downloaded 59MB of the package list (67MB total) Downloaded 60MB of the package list (67MB total) Downloaded 61MB of the package list (67MB total) Downloaded 62MB of the package list (67MB total) Downloaded 63MB of the package list (67MB total) Downloaded 64MB of the package list (67MB total) Downloaded 65MB of the package list (67MB total) Downloaded 66MB of the package list (67MB total) Download complete - updating database Reading 69689344 bytes from C:\Users\Phil\AppData\Local\Microsoft\Node.js Tools\NpmCache\bb5c8580-6d80-4b52-8728-26371022ab21\all_packages.json (21/02/2017 10:01:19) Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path 'flumt.repository.url', line 1, position 69631852.    at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)    at Newtonsoft.Json.JsonTextReader.ParseString(Char quote)    at Newtonsoft.Json.JsonTextReader.ParseValue()    at Newtonsoft.Json.JsonTextReader.ReadInternal()    at Newtonsoft.Json.JsonTextReader.Read()    at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r)    at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader)    at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader)    at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader)    at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.ReadPackage(JsonTextReader jsonReader, NodeModuleBuilder builder)    at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.ReadPackagesFromObject(SQLiteConnection db, JsonTextReader jsonReader, String registryUrl)    at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<>c__DisplayClass6_0.<ParseResultsAndAddToDatabase>b__0()    at SQLite.SQLiteConnection.RunInTransaction(Action action)    at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.ParseResultsAndAddToDatabase(TextReader reader, String dbFilename, String registryUrl)    at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<>c__DisplayClass23_2.<ExecuteAsync>b__2()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)    at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<ExecuteAsync>d__23.MoveNext() Download or parsing failed - deleting C:\Users\Phil\AppData\Local\Microsoft\Node.js Tools\NpmCache. Try refreshing the catalog again. Otherwise restart Visual Studio, and try again. Deleting bb5c8580-6d80-4b52-8728-26371022ab21 Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path 'flumt.repository.url', line 1, position 69631852.    at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)    at Newtonsoft.Json.JsonTextReader.ParseString(Char quote)    at Newtonsoft.Json.JsonTextReader.ParseValue()    at Newtonsoft.Json.JsonTextReader.ReadInternal()    at Newtonsoft.Json.JsonTextReader.Read()    at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r)    at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader)    at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader)    at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader)    at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.ReadPackage(JsonTextReader jsonReader, NodeModuleBuilder builder)    at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.ReadPackagesFromObject(SQLiteConnection db, JsonTextReader jsonReader, String registryUrl)    at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<>c__DisplayClass6_0.<ParseResultsAndAddToDatabase>b__0()    at SQLite.SQLiteConnection.RunInTransaction(Action action)    at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.ParseResultsAndAddToDatabase(TextReader reader, String dbFilename, String registryUrl)    at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<>c__DisplayClass23_2.<ExecuteAsync>b__2()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)    at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<ExecuteAsync>d__23.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.NodejsTools.Npm.SPI.NpmCommander.NmpCommandRunner.<ExecuteAsync>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.NodejsTools.Npm.SPI.NpmCommander.<DoCommandExecute>d__12.MoveNext()
I have also tried with the latest DEV build (2016-11-02) and the same issue occurs.
I have tried cleaning the NPM cache.
I have tried manually deleting the cache folder at C:\Users<user>\AppData\Local\Microsoft\Node.js Tools

NTVS Version: 1.3.41102.01
Visual Studio Version: 14.0.25431.01 Update 3
Node.js Version:  6.9.4

Hmmm.... I wonder if that is related to this: http://blog.npmjs.org/post/157615772423/deprecating-the-all-registry-endpoint .  I'll look into it.

I'm also hitting this on a new install of NTVS 1.2 on VS 2015 Update 3, although it's choking on a different part of the string:
Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path 'node-earthlive.bugs', line 1, position 149712506.

This makes the npm UI in VS unusable, although I can still use npm at the command line.

I just tried and see the issue also. It's possible some recent package authors are putting stuff in their package.json that is causing it to choke (we've fixed issues here before). I'll need to debug it to figure out what exactly. Thanks for raising.

It looks like NPM is actually returning a truncated package, and thus the JSON is malformed. (It also explains why folks are seeing this fail at different points, depending on the contents of the registry as it changes over time and where the download is getting truncated).
I thought it was a bit suspect when I saw it saying it was downloading 67MB total, as its close to a couple hundred MB now.
If you look at the registry file downloaded ("%LOCALAPPDATA%\Microsoft\Node.js Tools\NpmCache\all_packages.json") you'll probably observe that the file contents just stop abruptly.
Assuming this isn't an issue on our end (and it shouldn't be as the code didn't change, it just stopped working), I'll need to ping the NPM folks to see what is going on.

Is this related to Microsoft/nodejstools/issues/99?

FWIW it seems to be working now.

Great! Yeah, it just worked for me too. Looks like NPM fixed it on there end. Closing.

I am trying to load NPM package on vs13 and nodetool 1.1 getting empty all_packages.json not able to install any packages.

@billti it's doing it again. But I'm sure your internal tests already alerted you to that... right?

Doesn't matter whether our tests spot it or not... not a lot we can do if the issue is on the NPM end.
FWIW: We have a pull request in progress to remove the dependency on this API. https://github.com/Microsoft/nodejstools/pull/1501

Don't close the bug until you ship the fix.

Started happening to me this morning! Same error. Was a fix ever made on NPM end?

I don't believe NPM fixed it, or plans to. We merged in a fix to use the new NPM API (https://github.com/Microsoft/nodejstools/pull/1558). This will be shipping in future releases of VS 2017 (where NTVS is included in the product).


Assorted svg pack with multiple crashes

https://github.com/godotengine/godot/pull/49601#issuecomment-862334524
There is a zip.
Crashes (not just these ones)

e-stop-019.svg
speed.svg
e-mask-022.svg
e-mask-023.svg
e-linearGradient-004.svg

e-linearGradient-004.svg -> solved in #470

e-stop-019.svg -> the final solution in #514

i think all five issues are fixed.
The last improvement patch => https://github.com/Samsung/thorvg/pull/539

Thanks.
I'll close this and when I test the zip again, I'll make new bug reports.


Hot reloading of async reducers

Hey @mxstbr,
does this works for you?
react-boilerplate/app/containers/HomePage/reducer.js  and change
const initialState = fromJS({
  username: '', // to username: 'whatever'
});

in the console i see
[HMR] bundle rebuilding
[HMR] bundle rebuilt in 731ms
[HMR] Checking for updates on the server...
[HMR] Updated modules:
[HMR]  - ./app/containers/HomePage/reducer.js
[HMR]  - ./app/routes.js
[HMR]  - ./app/app.js
[HMR]  - multi main
[HMR] App is up to date.

but nothing happens, the state won't change

It's possible that it doesn't work… I can't check right now, would love somebody investigating further!

I think there is an error in the store config that causes the error.
The current config is:
  if (module.hot) {
    module.hot.accept('./reducers', () => {
      const nextRootReducer = require('./reducers').default; // eslint-disable-line global-require
      store.replaceReducer(nextRootReducer);
    });
  }

But I think ist should be
if (module.hot) {
        module.hot.accept("./reducers", () => {
            const nextRootReducer = require("./reducers").default; // eslint-disable-line global-require
            store.replaceReducer(nextRootReducer(store.asyncReducers));
        });
    }

since the signature of require("./reducers").default is asyncReducers => reducer.

Ah yeah, that sounds reasonable! Have you tried implementing this, and did it fix the problem?

@mxstbr @saschatimme that doesn't solve the issue

@tsm91
async reducers should be re-injected to store after hot reloading. I rewrote injectReducer and route actions to achieve this.
export function injectAsyncReducer(store, isValid) {
  return function injectReducer(name, asyncReducer, force = false) {
    if (!isValid) checkStore(store);

    invariant(
      isString(name) && !isEmpty(name) && isFunction(asyncReducer),
      '(app/utils...) injectAsyncReducer: Expected `asyncReducer` to be a reducer function'
    );

    if (!force && Reflect.has(store.asyncReducers, name)) return;

    store.asyncReducers[name] = asyncReducer; // eslint-disable-line no-param-reassign
    store.replaceReducer(createReducer(store.asyncReducers));
  };
}

And in sub routes(I'm using universal-router in my project).
const name = 'index';

export default {

  path: '/',

  async action({ store }) {
    const { injectReducer, injectSagas } = getAsyncInjectors(store);

    // Hot reload reducers (requires Webpack or Browserify HMR to be enabled)
    if (__DEV__ && module.hot && !Reflect.has(store.asyncReducers, name)) {
      module.hot.accept('../containers/index/reducers', () => {
        const nextReducer = require('../containers/index/reducers').default; // eslint-disable-line global-require

        injectReducer(name, nextReducer, true);
      });
    }

    injectReducer(name, marketReducer);
    injectSagas(marketSagas);

    return {
      title: 'title',
      component: <Component />,
    };
  },

};

The redux-devtools will replay all actions dispatched before hot reloading with the new reducer. To prevent this, remember to set shouldHotReload to false. Details: (https://github.com/gaearon/redux-devtools/issues/304#issuecomment-251715413)

fixed in https://github.com/react-boilerplate/react-boilerplate/pull/1871


Refactor middleware into stack

Improve certain things:

Do not hide container dependencies in the CallableResolverInterface
getContainer method (this method is dropped now)
Use a middleware stack instead of a queue, as slim used to use before #2555
Use designated request handlers as kernel (as we know them from slim v3)
instead of middlewares that ignore the second (RequestHandler) parameter
Do not recreate middlewares in route/route-group middleware combination,
rather chain middleware dispatchers, thanks to the (now) proper use of
RequestHandlerInterface of the MiddlewareDispatcher which allows itself
to be chained into another middleware stack
Drop some helper middlewares, which is good as they were applicable only
as internal middleware anyway. This logic is now handled in the middleware
dispatcher for optimization reasons (because that handler
create a RequestHandler wrapper for every middleware, it's most performant
to include lazy/closure dispatch logic in the RequestHandler wrappers).
DispatchMiddleware (and it's corresponding test) is moved into the
Router which now acts as a PSR-15 RequestHandler
Replace middleware related tests that test internal state (e.g. whether
something is at the bottom of a list.) That is an implementation detail and
should rather be verified by checking for proper operation
Rename MiddlewareRunner to MiddlewareDispatcher, as it actually dispatches
middlewares now
Add more MiddlewareDispatcher tests

Fixes: #2590

Also please make sure that Travis CI build passes. Thank you.

Coverage decreased (-0.9%) to 98.516% when pulling f905a359ee59e307f9ed183bf0ca1046842ee295 on bnf:refactor-middleware-into-stack into 5311e952552dcd3c8c49a363c438649031965783 on slimphp:4.x.

A few quick benchmarks using siege indicates that this PR is 15% faster than the current 4.x.

Please add test coverage on:
https://coveralls.io/builds/21930483/source?filename=Slim%2FApp.php#L112
https://coveralls.io/builds/21930483/source?filename=Slim%2FRoute.php#L292
https://coveralls.io/builds/21930483/source?filename=Slim%2FRouteGroup.php#L69


Resolved Issue #1436

Have you read the Contributing Guidelines on Pull Requests?
YES
Description
As assigned by  @iamrajiv in issue #1436, I have made the following addition to the repo.

Number of different Binary trees can be formed with N distinct nodes. (DP)
Catalan Number. (Maths)

and further, I would like to add the algorithms which I have mentioned in the issue.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#1436

@atarax665 @plazzy99 please review the PR

@HarshCasper , the requested changes are made. I have deleted the Unique_BST.py which was assigned to me in Issue #1455 . I will make a separate PR for that issue.


test: Disable workflows on forks

because we want to use self hosted GitHub Actions workers. There is no
way to use shared (GHA provided) workers just for forks and stick to
self hosted for our repository. This is a security problem because
anyone can just open a PR and start running artbitrary code on our
workers.
With this in place, in order to tests PRs from forks, a contributor on
our repository should create a copy of the forked PR (after reviewing
the code) in order to trigger tests. That copy should be updated with
every update of the original PR until it's merged.
https://github.community/t/stop-github-actions-running-on-a-fork/17965/2

How can we test this ?

I guess I could open a PR from a fork using this branch as a base. Given we don't use pull_request_target (described here), it should use my fork version of the workflow and not run anything. Let me try that.

I didn't disable the linting pipeline. Maybe that's safe to keep?

turns our github.repository is the repository where the workflow runs on (the target one then). There is nothing for the source repository. Doesn't help.


pip install not working

Hi,
pip install instant-segment doesn't seem to be working for me with Python 3.10.0 (and pip 22.2.2) on a Mac. I'm getting the following error:
ERROR: No matching distribution found for instant-segment```

Do you have an Intel or Apple Silicon Mac?

Apple Silicon

I've published a new version 0.1.5, with wheels for Python 3.10 for all of Linux, macOS on x86-64 and macOS on Apple Silcon.


Use NSURLSession to download files on iOS and update error returned on Android

Minor

downloadFile now uses NSURLSession API to download files on iOS. If the HTTP request fails, it returns the HTTP code. Otherwise we return the same success answer. (iOS)
downloadFile errors returned have been updated on Android to match iOS behaviour (Android)

poke @Tatsujinichi and @ronkorving

Wonderful! I'll take a more thorough look at the code in a sec, but... docs? :)

Docs on errors would still be great :)

Ah right!

Updated

LGTM :+1:


Before shipping non-alpha figure out if this is going to break deployed software in strange ways

I'm going to test this with a fresh install of llm to make sure it doesn't break.
Although... here's an interesting callenge with LLM: I frequently run many different copies of it against the same llm.db database stashed away in my ~/Library/Application Support folder.
It's perfectly possible I'll run an LLM upgraded instance which will upgrade the database... but then re-run an older version against the same DB in a way that will break things.

Originally posted by @simonw in https://github.com/simonw/sqlite-migrate/issues/6#issuecomment-1995777343

The key question is what happens if two installations of this software with these two chunks of code end up in a bit of a battle over the schema:
New code:
https://github.com/simonw/sqlite-migrate/blob/2dc14853b9971dcd8df3b397fbd15c80067f386d/sqlite_migrate/__init__.py#L94-L110
Older code:
https://github.com/simonw/sqlite-migrate/blob/613ecd5c4aa8493525879d2db7363fa5bfbe4ffb/sqlite_migrate/__init__.py#L94-L105
It's possible they can coexists - each time one runs it will swap the schema over, but aside from that everything will work OK.
I need to prove that before shipping.

Hi Simon,
What about the use case of a fresh deployment with schema-building code that creates the schema in the form required by the current version of the software? Is there a way get the migrations up-to-date, rather than running redundant migrations? I had a case where an exception was thrown while running the migration, which tried to add a column which was already there.
Not sure if this is within the scope of this issue, but I wanted to get clarification on that before possibly submitting an issue.
Thank you!


Add Gazebo Garden packages for Ubuntu and Gentoo

Please update gentoo package names for the following dependencies in the rosdep database.
I've created a pull request to ros-overlay with packages for gentoo: ros/ros-overlay#1038
Please merge it before merging this one.

Rosdep
Gentoo

gz-cmake3
'dev-util/gz-cmake:3'

gz-common5
'sci-libs/gz-common:5'

gz-fuel-tools8
'sci-libs/gz-fuel-tools:8'

gz-garden

gz-gui7
'sci-libs/gz-gui:7'

gz-launch6
'sci-electronics/gz-launch:6'

gz-math7
'sci-libs/gz-math:7'

gz-math7-eigen3
'sci-libs/gz-math:7'

gz-msgs9
'net-libs/gz-msgs:9'

gz-physics6
'sci-libs/gz-physics:6'

gz-plugin2
'dev-libs/gz-plugin:2'

gz-rendering7
'media-gfx/gz-rendering:7'

gz-sensors7
'sci-libs/gz-sensors:7'

gz-sim7
'sci-electronics/gz-sim:7'

gz-sim7-plugins
'sci-electronics/gz-sim:7'

gz-tools2
'sci-electronics/gz-tools:2'

gz-transport12
'net-libs/gz-transport:12'

gz-utils2
'dev-libs/gz-utils:2'

gz-utils2-cli
'dev-libs/gz-utils:2'

sdformat13
'dev-libs/sdformat:13'

Python

Rosdep
Gentoo

python3-gz-math7
'sci-libs/gz-math:7[python]'

python3-gz-sim7
'sci-electronics/gz-sim:7[python]'

python3-sdformat13
'dev-libs/sdformat:13[python]'

CC: @azeey and @j-rivero.  Outside of gentoo, this is adding newer entries in the rosdeps for Ubuntu as well.

CC: @azeey and @j-rivero. Outside of gentoo, this is adding newer entries in the rosdeps for Ubuntu as well.

The linter is complaining just correclty about the lack of Garden packages for ROS or Ubuntu repositories. We've never imported Garden into ROS, only Citadel and Fortress has been added until today and the next planned in directly Harmonic. Following this I think that we can not add the Ubuntu entries to the rosdep registry if I'm not wrong.
Side comment @gentoo90: I have mostly the same Ubuntu entries in the unofficial gazebo.yaml file of the osrf-rosdep repository (used for various Gazebo/ROS special use cases when combining Gazebo and ROS repositories together). I miss the python3-sdformat13 entry, otherwise the Gentoo entries look correct to me.

@j-rivero Ahh, so rosdep can have overlays. Ok, removing Ubuntu entries then. And adding python3-sdformat13 for gentoo.

bump

@cottsay you mean roll back 2a054511bad7027f52a4203e9c28dfc2aec3f319 ?

@sloretz could you also merge ros/ros-overlay#1038 which contains the packages referenced here?


Update jfrog-artifactory-tutorial.md

The examples for "Self-hosted" make no sense and are misleading.. why include jfrog.io???  That is the cloud product.
Example:

For Artifactory Self-hosted: https://<servername>.jfrog.io/artifactory/webapp/saml/loginResponse

Should be changed to...

For Artifactory Self-hosted: https://<FQDN>/artifactory/webapp/saml/loginResponse

Learn Build status updates of commit 480e37e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/active-directory/saas-apps/jfrog-artifactory-tutorial.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@jeevansd
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@jmstrupp-psjh   Please submit an update request regarding the same in our portal so we can also update the configuration/metadata from our end. Thanks!!
@Court72  Created another PR to merge these changes to the tutorial in our private repository. So, closing this PR now
#please-close

@bhavana-129 Glad to submit on portal, but it looks like I need to request permission for access.
Awaiting approval. We'll let you know about any updates.

@jmstrupp-psjh Can you please share your email address to (SaaS Apps<EMAIL_ADDRESS>so they can approve your access for MAN portal.

Here is my email address<EMAIL_ADDRESS>

@jmstrupp-psjh
Thanks! Because the public repo is publicly visible, we're removing your comment and emailing that info to the SaaS Apps team.


Fix ParallelVec::reserve when additional is huge

When calling reserve with a large number, we can cause capacity to wrap round to be smaller than len, which causes memory unsoundness since it allows reading/writing to memory outside of the bounds of the allocation.
Example:
let mut v = ParallelVec::new();
(1..8).for_each(|i| v.push((i, i)));
v.reserve(usize::MAX - 8);

This causes new_len inside of reserve to be<PHONE_NUMBER>3709551614 (on a 64-bit machine), calling .next_power_of_two() on this results in 0, then max(4) results in a new capacity of 4. len still remains 7.
This means indices 5 and 6 can now be used from safe rust code, but will access out of bounds memory.
This pull request fixes the issue by adding assets, and adds unit tests to ensure there will be no regressions in future.

Codecov Report

Merging #1 (2a33ece) into main (4f8d6c9) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #1      +/-   ##
==========================================
+ Coverage   82.90%   83.03%   +0.13%
==========================================
  Files           6        6
  Lines        1117     1126       +9
==========================================
+ Hits          926      935       +9
  Misses        191      191

Impacted Files
Coverage Δ

src/vec.rs
98.18% <100.00%> (+0.02%)
: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 4f8d6c9...2a33ece. Read the comment docs.

Great catch!


Old satuses doesn't get removed on gitea as well

different issue than the github and check_run one, on gitea the old statuses doesn't get cleaned.


Link to Slack is not working

The link provided to the slack channel is not working? I was wonder if that can be updated or if anyone can send me some practice questions for RHCSA8?
Thanks!

i have the same issue

can you renew the slack link ? join.slack.com/


Write sample code and gluing for some platforms

Planning it:

CefSharp
Android WebView

etc...

CefSharp (only .NET Framework) and Xamarin Forms (using Xam.Plugin.WebView) are supported in (63225ca51db282bc5efba083f5ae759a9348aa80) .

Hi This is really an awesome project @kekyo . Can I request an example on WinForms + WebView2

@geocine In 256167bc9173723a814a2871b6ce5230439c8257 , I added WebView2 on Windows Forms sample project. Check it :)

Thank you @kekyo  its working!


Savitzky-Golay-Filter comparison

Hi,
is there a comparison of this algorithm with the Savitzky-Golay filter? What are the benefits?
regrards
Tobias

@ToGoOrNotToGo,
Savitzky-Golay algorithm is designed for a delayed data, for the future data there are several strategies (e.g. copying or mirroring the last points). Depending on the strategy, the result may vary. This algorithm does not need these assumptions. Therefore, primarily I developed it for a real-time data, not historical.
However, I will think about the way to compare algorithms. Thank you for your interest.


Remove language mentioning beta.

Why:
There is still language about dormancy report being in Beta, and it is currently generally available.
Closes ISSUE: https://github.com/github/docs/issues/23275

What's being changed (if available, include any code snippets, screenshots, or gifs):
Removing (beta) from the Dormancy Report page.

Check off the following:

[ ] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

👋 @adamrr724 - Thanks so much for opening a PR! I'll get this triaged for review :zap:


PST03A-v2.2.5 Support

This device looks like this ;

Pull Request Test Coverage Report for Build 556547694

14 of 14 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 83.149%

Totals

Change from base Build 512410427:
0.06%

Covered Lines:
3301

Relevant Lines:
3970

💛  - Coveralls


can not get the url

I used the code:
print(play_scraper.collection(
collection='TRENDING',
category='GAME_RACING',
results=5,
page=1))
but get the result:
404 Client Error: Not Found for url: https://play.google.com/store/apps/category/GAME_RACING/collection/movers_shakers?hl=en&gl=us
can you help me?

This seems to be no longer supported. Check the url, and manual test it in GP, you would figure out this issue

facing the same issue. please help.

check https://github.com/danieliu/play-scraper/issues/72


Reproduced result doesn't match. Could you please specify the right training procedure?

I'm getting the result below after training and testing.
===Action=== ==MPJPE===
Directions    116.01
Discussion    120.08
Eating        151.63
Greeting      120.19
Phoning       143.64
Photo         149.71
Posing        113.48
Purchases     136.89
Sitting       191.45
SittingDown   212.96
Smoking       135.34
Waiting       128.29
WalkDog       133.10
Walking       106.61
WalkTogether  110.99
Average       138.02
mpjpe: 138.02
Could you please specify the right training procedure? Do I need to pass any additional arguments?

Me too. Is there an error in the calculation of mpjpe?


Fixing the test and increment version

Changes for publishing the GA version of the SDK using the new version being published.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Codecov Report

Merging #4628 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4628      +/-   ##
==========================================
+ Coverage    49.5%    49.5%   +<.01%
==========================================
  Files        6329     6329
  Lines      177166   177164       -2
==========================================
  Hits        87704    87704
+ Misses      89462    89460       -2

Impacted Files
Coverage Δ

.../azure/mgmt/resourcegraph/operations/operations.py
43.75% <100%> (ø)
:arrow_up:

.../azure/mgmt/resourcegraph/resource_graph_client.py
100% <100%> (ø)
:arrow_up:

...-resourcegraph/azure/mgmt/resourcegraph/version.py
100% <100%> (ø)
:arrow_up:

...ebus/azure/servicebus/aio/async_receive_handler.py
20.9% <0%> (+0.09%)
:arrow_up:

...ure-servicebus/azure/servicebus/receive_handler.py
21.42% <0%> (+0.09%)
: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 616551b...78017b4. Read the comment docs.

@demyanenko can you please review from PG team.

Closing this PR as we'd another older PR; I'll fix the test in that branch and push the changes.


Fixes for the duplicate method

More fixes for the duplicate method on Conduit - the deepcopy also navigates into Loops Nodes and eventually stumbles into CoolProps. I'm not sure it's really the right thing to recreate the start and end nodes anyway.
In the case of _create_loops I just had to reorder the statements such that when the copy happens, there are no loops on the conduit... but the net effect should be the same

I was able to solve this issue by implementing the dunder method __deepcopy__ to the Fluid class. Inside this method, a new Fluid instance is created with the same attributes as the original object to be copied and returned.


Haproxy Log Format and GoAccess

Any idea what the format would be to make this work in haproxy
https://github.com/jvehent/haproxy-aws#haproxy-logging
log-format [%pid]\ [%Ts.%ms]\ %ac/%fc/%bc/%bq/%sc/%sq/%rc\ %Tq/%Tw/%Tc/%Tr/%Tt\ %tsc\ %ci:%cp\ %fi:%fp\ %si:%sp\ %ft\ %sslc\ %sslv\ %{+Q}r\ %ST\ %b:%s\ "%CC"\ "%hr"\ "%CS"\ "%hs"\ req_size=%U\ resp_size=%B

E.g
Mar 14 17:14:51 localhost haproxy[14887]: [14887] [1394817291.250] 10/5/2/0/3/0/0 48/0/0/624/672 ---- <IP_ADDRESS>:35701 <IP_ADDRESS>:443 <IP_ADDRESS>:8000 logger - - "GET /v1/ HTTP/1.0" 404 fxa-nodejs:nodejs1 "-" "{||ApacheBench/2.3|over-100-active-connections,over-100-connections-in-10-seconds,high-error-rate,high-request-rate,|47B4176E:8B75_0A977AE4:01BB_5323390B_31E0:3A27}" "-" "" ireq_size=592 resp_size=787

Try the following, it should do it.
goaccess access.log --log-format='%^[ %^[ %^[%x.%^] %^ %^/%^/%^/%^/%L %^ %h:%^"%r" %s %v %^ "%u|%^" %^ %^ %^ %^=%b' --date-format=%s --time-format=%s

Looks like that is better Virtual Hosts is picking up as  backend name and server name not the virtual  host

I don't see a virtualhost field from the docs you posted above. You can always get rid of %v if it doesn't exist, though.

Opps I modified mine a little
[%pid]\ [%Ts.%ms]\ %ac/%fc/%bc/%bq/%sc/%sq/%rc\ %Tq/%Tw/%Tc/%Tr/%Tt\ %tsc\ %ci:%cp\ %fi:%fp\ %si:%sp\ %ft\ %sslc\ %sslv\ %{+Q}r\ %ST\ %b:%s\ "%CC"\ "%hr"\ "%CS"\ "%hs"\ req_size=%U\ resp_size=%B

Ohh i see %{+Q}r\  so that show hostname
%{+Q}r: HTTP request, between double quotes
{www.domain.com||||Mozilla/5.0 (compatible; AhrefsBot/5.2; +http://ahrefs.com/robot}
Might need to change config

Can you please post a few lines from your actual access.log?

@allinurl Sent you an email with a private gist as it has server info =)

Give this a shot:
goaccess access.log --log-format='%^[ %^[ %^[%x.%^] %^ %^/%^/%^/%^/%L %^ %h:%^"%r" %s %^ %^ {%v|%^|%^|%^|%u} %^ %^ %^=%b' --date-format=%s --time-format=%s

Closing this. Feel free to reopen it if needed.

Sorry for bringing it up after so long time. Does someone have an actual example for the haproxy cfg file and the config of goaccess log format ?

@nebkas are you able to share a few lines from your haproxy log?


[IN-208] Files Table

I had to make some changes on the template id variables.
I might need to test that more throughly.


API v1: update the sample image detail response in infoPopupModule test

In InfoPopupModule.test.js, getHtmlAttribution and getPlainAttribution functions are tested. For that, we have a sample image detail response object defined.
Update the response object according to the new version of the API. Use the same image id(bafff537-0c74-4fa6-9867-401e440e97f5) so that we don't have to change the tests.
In simpler words, update the current response object with the new one.

Hi, would like to take this up.

@vrameshj Sure, go ahead!


AR4 base STL file is empty

@adob , I know it's fairly simple, but the STL file for the base of your AR4 gello is empty, would you be able to upload it? :)
Thanks,
Peter

The base STL file (ar4/3dprint_parts/base.stl) should be a symbolic link to
../../ur5/base.STL. Is that not the case?
On Sun, May 26, 2024, 10:29 AM Peter Choy @.***> wrote:

@adob https://github.com/adob , I know it's fairly simple, but the base
STL file is empty, would you be able to upload it? :)
Thanks,
Peter
—
Reply to this email directly, view it on GitHub
https://github.com/wuphilipp/gello_mechanical/issues/11, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEUI7TEVLZHY3UNQKBAO3LZEILYZAVCNFSM6AAAAABIJ64BTCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTOOBVG43TKMA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ah that's right, thanks for clarifying.