Philips hue lights not discovered at all

Home Assistant release (hass --version):
0.30.2
Python release (python3 --version):
3.5.2
Component/platform:
hue
Description of problem:
Discovery isn't discovering any hue lights
Expected:
Hue to be discovered, as it always has been
Problem-relevant configuration.yaml entries and steps to reproduce:
# Discover some devices automatically (necessary for Philips Hue)
discovery:

Start hass
Wait for discovery to start
Wait for hue lights to be discovered

Traceback (if applicable):
Not a crash.
Additional info:
hass emits the following (relevant) lines in the log file as soon as discovery starts:
16-10-12 19:11:01 INFO (Thread-7) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): <IP_ADDRESS>
16-10-12 19:11:01 INFO (Thread-7) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): <IP_ADDRESS>
16-10-12 19:11:01 ERROR (Thread-7) [netdisco.ssdp] Found malformed XML at http://<IP_ADDRESS>:8080/upnp: <title>Apache Tomcat/7.0.64 - Error report</title>
HTTP Status 404 - /upnp.jsp

type Status report

message /upnp.jsp

description The requested resource is not available.

Apache Tomcat/7.0.64

16-10-12 19:11:01 INFO (Thread-7) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): <IP_ADDRESS>
16-10-12 19:11:01 INFO (Thread-7) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): <IP_ADDRESS>
16-10-12 19:11:01 INFO (Thread-7) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): <IP_ADDRESS>
16-10-12 19:11:01 INFO (Thread-7) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): <IP_ADDRESS>
16-10-12 19:11:02 INFO (Thread-7) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): <IP_ADDRESS>
16-10-12 19:11:02 ERROR (Thread-7) [netdisco.ssdp] Found malformed XML at http://<IP_ADDRESS>:49153/description4.xml:
16-10-12 19:11:02 INFO (Thread-7) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): <IP_ADDRESS>
16-10-12 19:11:02 ERROR (Thread-7) [netdisco.ssdp] Found malformed XML at http://<IP_ADDRESS>:49153/description1.xml:
16-10-12 19:11:02 INFO (Thread-7) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): <IP_ADDRESS>
16-10-12 19:11:02 ERROR (Thread-7) [netdisco.ssdp] Found malformed XML at http://<IP_ADDRESS>:49153/description3.xml:
16-10-12 19:11:02 INFO (Thread-7) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): <IP_ADDRESS>
16-10-12 19:11:02 ERROR (Thread-7) [netdisco.ssdp] Found malformed XML at http://<IP_ADDRESS>:49153/description5.xml:
16-10-12 19:11:02 INFO (Thread-7) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): <IP_ADDRESS>
16-10-12 19:11:02 ERROR (Thread-7) [netdisco.ssdp] Found malformed XML at http://<IP_ADDRESS>:49153/description6.xml:
16-10-12 19:11:02 INFO (Thread-7) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): <IP_ADDRESS>
16-10-12 19:11:02 ERROR (Thread-7) [netdisco.ssdp] Found malformed XML at http://<IP_ADDRESS>:49153/description0.xml:
16-10-12 19:11:02 INFO (Thread-7) [homeassistant.components.discovery] Found new service: mystrom ('BSB002', 'http://<IP_ADDRESS>', '00:17:88:22:EF:F0')
16-10-12 19:11:02 INFO (Thread-7) [homeassistant.components.discovery] Found new service: homekit {'sf': '0', 'md': 'BSB002', 'ci': '2', 'id': '00:17:88:22:EF:F0', 's#': '1', 'c#': '20', 'pv': '1.0', 'ff': '1', 'host': 'http://<IP_ADDRESS>'}

Note that <IP_ADDRESS> is my Philips hue hub; the IP address that "discovers" as a homekit and a "mystrom" (whatever that is).  No lights are detected.  Philips hue app and iConnectHue both connect to the hub ok, and can control lights.
phue.conf exists in the ~/.homeassistant directory with the following contents:
{"<IP_ADDRESS>": {"username": ""}}
and it's readable by my user, as are all config files.
Firewall on the computer running hass is turned off.
This setup has previously been working for well over a couple of months; it only stopped today - this afternoon.

Addendum:
After adding the lines:
light:
platform: hue
host: <IP_ADDRESS>
when next starting hass, I got the log entries:
16-10-12 19:29:59 INFO (Thread-1) [homeassistant.util.package] Attempting install of phue==0.8
16-10-12 19:30:15 INFO (Thread-1) [phue] Attempting to connect to the bridge...
16-10-12 19:30:15 INFO (Thread-1) [phue] Using ip: <IP_ADDRESS>

I suspect that something didn't upgrade to the latest hue package version until I forcibly added the platform in the config.  Would the old hue platform module not work with the newer version of hass which I just upgraded to so that I was running the latest homeassistant version to report the bug?
Worthy of note is that this hue problem started this afternoon, before I upgraded to the latest version of hass to report this bug, though.

Isn't that a public IP address? Usually HUE, etc. should be connecting through your local LAN. Do you have a non-standard setup?

Yes, that's a public IP address; as is the IP address which the server is assigned.  And both IP addresses are in the same subnet (it's a /27, for a total of 32 IP addresses).
Nonstandard?  By home user "standards", yes.  But by network standards, no there's nothing non-standard about it.  As I've already said earlier in the thread, iConnectHue, and the official Hue app (v1 and v2) connect to the hub ok, because I've already gone through the pain of adding a source-nat rule to my router for Hue-related traffic.
This question is about local service discovery, though, so I'm assuming that the connection to the Philips servers is largely irrelevant here; this is at the point the hass instance attempts to discover that on the local network (i.e. the public /27) there is another host which is a Philips Hue Hub (there most definately is) - which doesn't seem to need access to the internet at large.

But by network standards, no there's nothing non-standard about it.

Are you using externally routable addresses on your local network?

Yes, a /27.  Have done for years; I have the block routed at me by my ISP.

Yes, I noticed. Your diskstation is exposed to the internet. Does your router have a routing table that tells it these addresses are internal?

Nope.  All the hosts have the same subnet, so they all drop local traffic on the local network.  It's exactly the same as a more conventional setup in that case.


support local disk backend

Currently nydus supports 4 different backends, they are registry, localfs, oss and s3, which can already meet the existing needs. But in Confidential Computing or Hybrid Image scenarios, containers may need to read data from block devices, so we could add local disk backends to nydus to support more scenarios.
The following components need to be supported:

[ ]  nydusify
[ ]  acceld
[x]  nydusd
[ ]  nydus-snapshotter

If there is no user demand for the time being, let's close it first.


Add TypeScript Types

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
As described in the title, the idea would be to add types to the project. One of the main shortcomings of the basic Bootstrap project is that it doesn't support types, so we have to use @types/bootstrap, the idea would be not to go through DefinitlyTyped (@types/boosted) to use types with Boosted, because that would mean that it wouldn't be maintained by the Boosted core team, so it would have to be implemented directly in the project for TypeScript users.
Motivation and context
Adding TypeScript types to the Boosted project is to provide better developer tooling and improve the overall development experience for TypeScript users.
TypeScript is a statically-typed superset of JavaScript that provides compile-time type checking, enabling developers to catch potential errors and bugs early in the development process. By adding TypeScript types to the Boosted project, developers will benefit from enhanced autocompletion, type inference, and type safety while working with Boosted components.
Currently, TypeScript users have to rely on external type definitions from the DefinitelyTyped repository, such as @types/bootstrap they have to copy and redeclare them just for Boosted. However, this approach has some drawbacks. Firstly, the DefinitelyTyped repository is maintained by a separate community and may not always align perfectly with the core Bootstrap or Boosted project. Secondly, using external type definitions adds an additional dependency and introduces a potential maintenance burden.
By integrating TypeScript types directly into the Boosted project, TypeScript users will have access to up-to-date and accurate type definitions that are maintained by the Boosted core team. This ensures better compatibility between the types and the Boosted components, reducing the chances of type-related issues and providing a more seamless development experience.
Overall, adding TypeScript types to the Boosted project will make it easier for TypeScript users to work with Boosted components, increase code quality through static type checking, and align the type definitions more closely with the actual implementation of the library.

Thanks for this feature request @AntoineKM.
I agree that it would help a lot Boosted TS users. We talked about it in the Bootstrap core team as a feature that could be done in v6. The main issue is obviously the time and the priorities so I can't guarantee that it will be done for the v6.
In Boosted, we tend to be the closest possible to Bootstrap for maintenance reasons. Our strategy is generally to try to modify upstream directly when it can benefit also Bootstrap to avoid discrepancies and extra maintenance.
So, we need to study it in depth in terms of impact. IDK for now if this is something really long to do.
Regarding @types/boosted/@types/bootstrap, I completely agree that it's not the best solution. It's not maintained by the core team, not always compatible with the current version, and is not very handy TBH.


Have a look at Jumble http://jumble.sourceforge.net/

Add every feature, mutator and idea in the issue tracker.

Looks like a less mighty version of #10


First draft of a Logit.io manual

Step by step integration with Logit.io with TLS mutual auth.

Changes made.


qadwaitadecorations doesn't work under Sway

Describe the bug
Under Sway environment qadwaitadecorations plugins don't load
Steps To Reproduce
Steps to reproduce the behavior:

environment.systemPackages = with pkgs; [ qadwaitadecorations qadwaitadecorations-qt6 ];
environment.variables.QT_WAYLAND_DECORATION = "adwaita";
qt.enable = true;

Expected behavior
Plugin is loaded, theme applied
Additional context
When running env QT_DEBUG_PLUGINS=1 <app> there is no trace of loading wayland-decoration-client/libqadwaitadecorations.so
Notify maintainers

@SamLukeYes
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.32, NixOS, 24.05 (Uakari), 24.05.20240531.805a384`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `""`
 - nixpkgs: `/nix/store/i1aw9jjgxcvyd642s12kw3iasmarwd42-source`

Add a :+1: reaction to issues you find important.

Plugin is loaded, theme applied

To my understanding,

The theme adwaita-qt was deprecated without an official successor
QAdwaitaDecorations is a successor to QGnomePlatform, but only a window decoration style without affecting Qt themes

I'm not familiar with Sway, and have no idea if window decorations are even applicable on Sway. If you're looking for an adwaita-like theme for Qt, QAdwaitaDecorations is probably not what you're looking for.

@samlukeyes Thank you much for explanation!


Crud default filtering?

Hi Prisma !
Thanks for your amazing work.
Is there a simple way to add a default filter in crud ?
I want to expose a crud, but using a pre-defined constraint.
For example, expose a Post crud with filtering enabled, but with a constraint owner == myself that is not exposed.
The user will be allowed to  retrieve only it's own Posts and filter them by title or number of comments, etc.
The only way i found to achieve this, is to write the resolver by myself and reimplement all the filtering.
Maybe it's a feature request. A simple implementation can be done by extending the filtering options and pass a default filtering object that will be merged with that is provided by the user.

Hey @lvauvillier, can you share some example SDL of what you're asking for exactly?

I'm asking if nexus-prisma can solve this common problem:
model Account {
  id         String      @default(cuid()) @id @unique
  createdAt  DateTime    @default(now())
  updatedAt  DateTime    @updatedAt
  email      String      @unique
  name       String
  projects   Project[]
}

model Project {
  id         String      @default(cuid()) @id @unique
  createdAt  DateTime    @default(now())
  updatedAt  DateTime    @updatedAt
  name       String
  account    Account
}

We have here an account that owns its projets.
My api require authentication, so I have a middleware that adds a currentAccount in the context.
I want to expose a root projects Query and allow filtering with the field name
export const Query = queryType({
  definition(t) {
    t.crud.projects({ filtering: { name: true }});
  }
});

The problem here is that all projects are exposed to the user. I want to add a constraint:
{ where: { account: { id: ctx.currentAccount.id }}}

Extending the api to add constraints, will be a great time saver :
function currentAccountConstraint(ctx) {
    return { where: { account: { id: ctx.currentAccount.id }}};
}

export const Query = queryType({
  definition(t) {
    t.crud.projects({ filtering: { name: true, account: currentAccountConstraint }});
  }
});

Is this request make sense ?

Hey @lvauvillier 👋, thanks for that great FR.
While we have no solution to offer right now, we do have exciting ones that should come soon:
#1: Encapsulating resolve
This solution is related to #303. Here's a code snippet that shows how you'd do it:
t.field('projects', {
  ...t.prisma.projects,
  resolve(root, args, ctx) {
    const customArgs = {...args, where: { id: getUserId(ctx) } }

    return t.prisma.projects.resolve(root, customArgs, ctx)
  }
})

#2 Via middleware
Middlewares could basically allow you to transform the args just like I did above, but globally/on specific types/on specific fields of a type.
They are coming soon thanks to nexus plugins. There's an open PR on the nexus repo (https://github.com/prisma-labs/nexus/pull/242) that you can track to know when this will be available.
Hopefully that answers your question 🙌

Thanks, the first one seems to be the best fit for my use case.
Is there a way to help?
I'll take a look into middleware/plugins also. Is this can replace what we can do with graphql-middleware ?

I'll take a look into middleware/plugins also. Is this can replace what we can do with graphql-middleware ?

Yes I think so, but not too familiar with graphql-middleware.

I want to implement something like that too so I'll have no need to pass User ID on my frontend and just compute on the server. @Weakky Is there any change on solutions to this issue?

Yeah, I'm running into this too. The main draw of nexus-prisma is how much boilerplate it can cut down on. The length of time from adding data to my database to having it exposed for clients can be very quick. The problem here is that the moment I need to do any kind of default filtering like this (which is quite common), I'm back to defining the whole operation manually.

Has anyone figured out a way around this? I'm finding that most solutions involve undoing the connection between nexus and Prisma.

Yes, this can now be done easily using custom resolvers:
t.crud.projects({
  resolve: (root, { where, ...args }, ctx, info, originalResolve) => {
    return originalResolve(
      root,
      {
        ...args,
        where: {
          ...where,
          user: {
            id: ctx.token?.sub
            }
          }
        }
      },
      ctx,
      info
    );
  }
});

Closing this now as it indeed seems like crud filtering has solved the problem! 🙌


Add pagination support for core resources

Description
Added pagination support to Location, Resource and Service endpoints
Release Note
ENHANCEMENTS

* Add pagination support to some Core endpoints

Also, this currently has failing tests: https://github.com/anexia-it/go-anxcloud/runs/3941571341?check_suite_focus=true
Please fix those first

Closing due to no response and addition to old-style client


Sign in doesn't work, opens a blank pop up window

Tried to use this to replace Twitch Now, but whenever I click on the "Login with Twitch" button, a new window briefly pops up with no address in the URL bar, then disappears. Nothing new shows up in my history, either. I tried disabling pop up blocking and several other extensions, but nothing seems to make a difference. Any suggestions?

I installed the version from the Firefox Add-ons site.

What version of Firefox are you using?

I'm using 97.0.1 64-bit.

Is it possible for you to try with a fresh or portable version of Firefox and see if there's still the issue?

I installed a portable Firefox, and as soon as I signed in, it installed all of my extensions again and I had the same problem, so I installed a separate one and didn't sign in, which worked. I went back to the regular desktop Firefox and disabled everything until it worked. It turns out that my extension called Conex, which is for creating and managing tab groups, was causing the issue. I don't know why, it's never caused issues with similar authentication windows. Thanks for the help, much appreciated.

Thanks for keeping me updated. Still, I'll see if there's a way to prevent this kind of conflict, because I saw similar reports and not everybody will have the patience and/or dedication to do what you did.


Release Notes - 2021-02

This issue was created to capture the continuous contribution notes. Insight from comments will be used to create the regular release notes.
Example comments could be:
name of new metric and date of release
descriptions of changes to existing metric
Changes to focus areas or restructuring of WG

New metric - Technical Forks

New Metric - Review cycle Duration within change request

New Metric - Review cycle Duration within change request

New metric Burstiness

Closing for Release 2021-03


Optional params can break caches

Consider the following cache:
export const objectCache: Cache<[foo: string, bar?: boolean], Object> =
  createCache({
    load: async (foo, bar = false) => {
      // ...
    },
  });

This code assumes the array of ...params will always contain both parameters:
https://github.com/bvaughn/suspense/blob/7751db8f609b045dec905acf3c7da503e6fdad48/packages/suspense/src/cache/createCache.ts#L337
If not, the actual load function will end up being called with the AbortController in place of the boolean bar parameter.
The API should be changed such that params are not spread:
const valueOrPromiseLike = load(params, abortController);

Alternately "normal" caches could be changed to mirror streaming caches and pass the additional parameters first:
const valueOrPromiseLike = load(abortController, ...params);

Fixed in v0.0.25


fix installer: wrong detection of hot signer usage.

We did not check that the keys in the primary path were using the hot signer. In the case of a hot signing key only used for the primary path,
the hot signer was not advertised to the context
passing to each installer step and was not stored after install.

Successfully tested i'm now asked for the mnemonic even if i pick a hot key only for the primary path. However i wonder if there isn't a less brittle way of checking if we need to store / display the mnemonics than relying on a signer_is_used to be set. It seems to me to be a huge footgun: we may be missing other (potentially intricate!) instances where it is set now, and we might forget to set it in the future. I'm fine with a patch like this for 0.3, but for 0.4 let's try to make this code more robust?

Yeah i think it's best if we always use the descriptor as the source of truth. The computation should be reasonable.

Can we merge this fix and think about a way to harden the installer flow after the multipath feature ? I would be easier for me

ACK 2cbdf5bb32b711ea6057141c553b74ec810d9f0d


Refine Membership Snowfakery Recipe

Ready for renewal
Multiple memberships (primary)
Not 12 month membership
Company-driven memberships (all contacts for the org get MCRs)
Memberships that don't expire
Upgrades/downgrades

Membership with an opportunity with 1 product
Membership with an opportunity with multiple products
Membership with an opp with no products
Membership with does not expire selected
Membership with a variety of statuses
Corp membership with large volume of dependent contacts
Membership with different origins
Membership with multiple owners ( if possible to test perms and visibility.)

This recipe is affected by Snowfakery issue #901 - should be tested on a Mac.


Group by implementation missing element sequence rarely.

I am using RX 2.2.5. I have 2 views which load child orders with
               _transportService
                .ObserveSubOrder(parentOrder.OrderId)
                .SubscribeOn(_backgroundScheduler)
                .ObserveOn(_uiScheduler)
                .Where(subOs => subOs != null)
                .Snoop("BeforeGrpBy")
                .GroupBy(subOs => subOs.OrderId)
                .Subscribe(subOrderUpdates =>
                {
                    AddIfNew(subOrderUpdates.Key, subOrderUpdates.Snoop("AfterGrpBy" + "--" + subOrderUpdates.Key));
                })

Before groupBy it get all the sequence of elements, problem comes after groupby that it misses very rarely the element sequence. I don't think its concurrency issue as it's evident from the logs. Custom Snoop extension method is used to generate these logs.
16:15:44.8169968 : (1) : BeforeGrpBy: OnNext({ OrderId = 9Zsj8Z4sTRb, OrderType = WNX6, Quantity = 10, Price = 178.78125})
16:15:44.8169968 : (1) : AfterGrpBy--9Zsj8Z4sTRb: Observable obtained
16:15:44.8369988 : (9) : AfterGrpBy--9Zsj8Z4sTRb: Subscribed to on.
16:15:44.8379989 : (1) : BeforeGrpBy: OnNext({ OrderId = 9Zsj8Z4sTRb, OrderType = WNX6, Quantity = 10, Price = 178.78125})
16:15:44.8379989 : (9) : AfterGrpBy--9Zsj8Z4sTRb: Subscription completed.
16:15:44.8590010 : (1) : AfterGrpBy--9Zsj8Z4sTRb: Observable obtained
16:15:44.8600011 : (9) : AfterGrpBy--9Zsj8Z4sTRb: Subscribed to on.
16:15:44.8610012 : (9) : AfterGrpBy--9Zsj8Z4sTRb: Subscription completed.
16:15:44.8620013 : (1) : AfterGrpBy--9Zsj8Z4sTRb: OnNext({ OrderId = 9Zsj8Z4sTRb, OrderType = WNX6, Quantity = 10, Price = 178.78125})

Format Time : (Thread) : Msg

As you can see before groupby onNext is called twice, but after it missed one.
Is there something wrong with Rx grammar here or is it known issue? Any insight would help? If any further clarification is required kindly comment.

Closing due to inactivity. Please try with a newer Rx version.


Broken build on Vercel

[nextra] Error compiling /vercel/path0/pages/contact-us.mdx.
07:57:42.743 | [nextra] Error compiling /vercel/path0/pages/gallery.mdx.
07:57:42.743 | [nextra] Error compiling /vercel/path0/pages/index.mdx.
07:57:42.743 | [nextra] Error compiling /vercel/path0/pages/help-guides.mdx.
07:57:42.743 | [nextra] Error compiling /vercel/path0/pages/help-guides/how-to-build-a-wildlife-pond.mdx.
07:57:42.743 | [nextra] Error compiling /vercel/path0/pages/help-guides/how-to-choose-the-best-pond-filter-and-uv-for-your-pond.mdx.
07:57:42.743 | [nextra] Error compiling /vercel/path0/pages/help-guides/looking-after-a-pond-in-winter.mdx.
07:57:42.743 | [nextra] Error compiling /vercel/path0/pages/services/fish-health.mdx.
07:57:42.743 | [nextra] Error compiling /vercel/path0/pages/services/liner-and-fiberglass-installation.mdx.
07:57:42.744 | [nextra] Error compiling /vercel/path0/pages/services/pond-cleaning-and-maintain.mdx.
07:57:42.744 | [nextra] Error compiling /vercel/path0/pages/services/pond-design-and-construction.mdx.
07:57:42.744 | [nextra] Error compiling /vercel/path0/pages/services/pond-pump-filter-and-equipment-installation.mdx.
07:57:44.447 | Failed to compile.
07:57:44.447 |
07:57:44.448 | ./pages/contact-us.mdx
07:57:44.448 | TypeError: String(...).replaceAll is not a function
07:57:44.448 | at compileMdx (file:///vercel/path0/node_modules/nextra/dist/compile.mjs:318:29)
07:57:44.448 | at async loader (file:///vercel/path0/node_modules/nextra/dist/loader.mjs:109:7)
07:57:44.448 |
07:57:44.448 | ./pages/gallery.mdx
07:57:44.448 | TypeError: String(...).replaceAll is not a function
07:57:44.449 | at compileMdx (file:///vercel/path0/node_modules/nextra/dist/compile.mjs:318:29)
07:57:44.449 | at async loader (file:///vercel/path0/node_modules/nextra/dist/loader.mjs:109:7)
07:57:44.449 |
07:57:44.449 | ./pages/help-guides.mdx
07:57:44.449 | TypeError: String(...).replaceAll is not a function
07:57:44.449 | at compileMdx (file:///vercel/path0/node_modules/nextra/dist/compile.mjs:318:29)
07:57:44.449 | at async loader (file:///vercel/path0/node_modules/nextra/dist/loader.mjs:109:7)
07:57:44.449 |
07:57:44.450 | ./pages/help-guides/how-to-build-a-wildlife-pond.mdx
07:57:44.450 | TypeError: String(...).replaceAll is not a function
07:57:44.450 | at compileMdx (file:///vercel/path0/node_modules/nextra/dist/compile.mjs:318:29)
07:57:44.450 | at async loader (file:///vercel/path0/node_modules/nextra/dist/loader.mjs:109:7)
07:57:44.450 |
07:57:44.450 | ./pages/help-guides/how-to-choose-the-best-pond-filter-and-uv-for-your-pond.mdx
07:57:44.450 | TypeError: String(...).replaceAll is not a function
07:57:44.451 | at compileMdx (file:///vercel/path0/node_modules/nextra/dist/compile.mjs:318:29)
07:57:44.451 | at async loader (file:///vercel/path0/node_modules/nextra/dist/loader.mjs:109:7)
07:57:44.451 |
07:57:44.451 |
07:57:44.451 | > Build failed because of webpack errors
07:57:44.478 | error Command failed with exit code 1.
07:57:44.478 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
07:57:44.496 | Error: Command "yarn build" exited with 1
07:57:44.567

This is the error i get which is coming from within the nextra package, I do have a fully custom theme built on top of the nextra logic, but i wouldn't have thought that would cause the issue.

The stranger thing is it builds locally using the next build command. It only breaks when running the command on a server.

which node version do you use in Vercel?

I'm currently using 14?
On Tue, 28 Feb 2023, 11:32 Dimitri POSTOLOV, @.***>
wrote:

which node version do you use in Vercel?
—
Reply to this email directly, view it on GitHub
https://github.com/shuding/nextra/issues/1571#issuecomment-1448025731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHOFWX3RSPO5QX7FEFW5FVTWZXO6PANCNFSM6AAAAAAVKOL6LM
.
You are receiving this because you authored the thread.Message ID:
@.***>

If you set 16 the error should be gone

cheers that worked, might want to add a warning or something if the node version is less than 16


admin can control which models are available to the workspace for custom assistants

This isn't currently the case

Hey 👋
A quick fix for that would be to disable models whose global agents have been deactivated---i.e. if I deactivated @claude-3-sonnet on the "Manage Assistants" page, it would disable it as custom model too; it might cover 99% of use cases. Would that be satisfactory?
If not, since it's been 6 months without activity, moving out of board 🙇  When you feel it's time to start working on it, feel free to update the issue with the rationale, and move it back in for discussion in Eng runner 👍

Once we have multi actions well be able to run everything on each model.
From there we'll want this to get Mistral

Do you think the quick fix I suggested could do the trick? This way we could do this promptly and close?

This feels a bit ill-defined for our users to be happy with this IMHO. But def deferring to @gabhubert on this one.

OK so the job to be done is "as an admin, I can control which model providers are used on the workspace, whether as global assistants or as custom assistants". Thr reason this JTBD is important for admins is because some don't seem to be up-to-scratch on e.g. GDPR.
From a UX perspective for settings, I imagine the MVP to be

in /workspace, add a "Workspace model providers" section
toggle for Providers

The reason I'm suggesting to do this at provider level rather than at model level is because

it is a tougher story for admins to explain to members.
it gets admins thinking about "cheaper vs more expensive model from provider A" and that's not where we want them to go.

@philipperolet that's why I thiiink your proposal isn't quite OK.
Once a provider A is disabled:

the global assistants respond "A is disabled for this workspace. Please contact a Dust admin for details."
the custom assistants that exist on provider error with "the model provider used for this assistant has been disabled for this workspace. Please contact an owner of the assistant choose another model provider for the assistant from the instructions panel

I recognise the graceful erroring is (a lot more) work. But my issue with the assistant-level toggles as quick fix are that it introduces a subpar fix we'll never work on in the future, that doesn't scale great, that isn't future proof (new models activated by default?) and that isn't logically at the right level (builders have access to this page, right?)

Basically, agree with all the above :) The proposed fix was 30mn I think, so if it could bring tangible value to important  customers requiring something like that (e.g. Mistral), it might have been worth it to immediately do it and reap the benefits---but I lack visibility there so maybe it is not the case
Absolutely agree that the longer option is more scalable & better suited

The proposed fix was 30mn I think

I mean, put that way... Ok let me meditate 2s

cc @Duncid this is the issue


Keyboard input not working under OSX

Tested with commit a0a25a6
Some issues found while testing on OSX 10.7.2 with latest GIT source. (Same issues observed last month, but not reported). No errors seen when compiling. Connecting to the same host from linux works well.
Setup: Running windows as a virtual guest system under virtualhost on linux (Ubuntu) server. Unfortunately no native windows host to test on. (If someone has a test setup I can access, I'm happy to give it a shot)
-Connecting to the guest-instance works well, but session does not accept any keyboard input. Mouse input works fine. MS remote desktop for mac works well.
Helges-MacBook-Air:X11 helge$ ./xfreerdp -u helge <IP_ADDRESS>
Warning xf_GetWindowProperty (104): Property 294 does not exist
connected to <IP_ADDRESS>:3389
Password:
cmake output:
Helges-MacBook-Air:FreeRDP helge$ cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON .
-- FreeRDP GIT
-- Skipping optional package PulseAudio.
-- Enable this using "-DWITH_PULSEAUDIO=ON".
-- Skipping optional package PCSC.
-- Enable this using "-DWITH_PCSC=ON".
-- Finding suggested package Cups.
-- Disable this using "-DWITH_CUPS=OFF".
-- Found Cups: /usr/lib/libcups.dylib
-- Finding suggested package FFmpeg.
-- Disable this using "-DWITH_FFMPEG=OFF".
-- checking for modules 'libavcodec;libavutil'
-- package 'libavcodec' not found
-- package 'libavutil' not found
-- Skipping optional package CUnit.
-- Enable this using "-DWITH_CUNIT=ON".
-- Finding suggested package X11.
-- Disable this using "-DWITH_X11=OFF".
-- Finding suggested package XKBFile.
-- Disable this using "-DWITH_XKBFILE=OFF".
-- Finding suggested package X11.
-- Disable this using "-DWITH_X11=OFF".
CMake Warning at client/X11/CMakeLists.txt:56 (message):
WITH_MANPAGES was set, but xmlto was not found. man-pages will not be
installed
-- Finding suggested package Xinerama.
-- Disable this using "-DWITH_XINERAMA=OFF".
-- Finding suggested package Xext.
-- Disable this using "-DWITH_XEXT=OFF".
-- Finding suggested package Xcursor.
-- Disable this using "-DWITH_XCURSOR=OFF".
-- Finding suggested package Xv.
-- Disable this using "-DWITH_XV=OFF".
-- Skipping optional package DirectFB.
-- Enable this using "-DWITH_DIRECTFB=ON".
-- Finding suggested package X11.
-- Disable this using "-DWITH_X11=OFF".
-- Finding suggested package Xext.
-- Disable this using "-DWITH_XEXT=OFF".
-- Finding suggested package Xdamage.
-- Disable this using "-DWITH_XDAMAGE=OFF".
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/helge/FreeRDP
Helges-MacBook-Air:FreeRDP helge$

Same here from Linux. Some keys produce nothing, some product weird characters such as ^Z.

+1 no keys work at all (osx10.6) cmake compiled no errors. Connect is fine. Mouse no issue.

Just tried it on lion (10.7.2) and keyboard works fine if WITH_XKBFILE is disabled (off). If enabled no key works.
Seems that keys name can't be found:
...
DBG_KBD init_keycodes_from_xkb (146): X key code  37 has keyname      -> ??? - not found
DBG_KBD init_keycodes_from_xkb (146): X key code  38 has keyname      -> ??? - not found
DBG_KBD init_keycodes_from_xkb (146): X key code  39 has keyname      -> ??? - not found
DBG_KBD init_keycodes_from_xkb (146): X key code  40 has keyname      -> ??? - not found
DBG_KBD init_keycodes_from_xkb (146): X key code  41 has keyname      -> ??? - not found
DBG_KBD init_keycodes_from_xkb (146): X key code  42 has keyname      -> ??? - not found
DBG_KBD init_keycodes_from_xkb (146): X key code  43 has keyname      -> ??? - not found
...

I think the fix would simply to disable XKBFILE by default on OSX


Azure Functions .net core doesn't work with EF core

Azure Functions based on latest VS 2017 template doesn't work with EF core.
Investigative information
Please provide the following:

Localhost
Starting Host (HostId=borispc-1658624930, Version=2.0.11353.0, ProcessId=23336, Debug=False, Attempt=0, FunctionsExtensionVersion=)
VS 2017 Version 15.5.1

Repro steps
Provide the steps required to reproduce the problem:

Create a new Azure Functions .net core with httptrigger from a template
Add dependency on Microsoft.EntityFrameworkCore.SqlServer (2.0.1)
Create a simple class deriving from DbContext (no need to reference this class from the function)
Launch debugger
Fails with the following error:

Expected behavior
No Errors
Actual behavior
Provide a description of the actual behavior observed.
Error message in console
[14/12/2017 1:02:17 AM] Function1: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Known workarounds
no
Related information
Provide any related information

Programming language used
Links to source
Bindings used

This is also related to https://github.com/Azure/Azure-Functions/issues/625 right now the cli for V2 is limited to Runtime 1.0.6, which has a dependency to AspNetCore, Mvc and EFCore 2.0.0.
If you use EFCore 2.0.0 it should be fine for now.
See this comment: https://github.com/Azure/Azure-Functions/issues/625#issuecomment-351563570

Oh my gosh! This is so ridiculous! How is this stuff even being released?
Thanks for your help!


Enh: extend narwhalify

What type of PR is this? (check all applicable)

[x] 💾 Refactor
[x] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 🔧 Optimization
[ ] 📝 Documentation
[ ] ✅ Test
[ ] 🐳 Other

Related issues

Related issue #320 and #274

Checklist

[x] Code follows style guide (ruff)
[x] Tests added
[x] Documented the changes

If you have comments or can explain your changes, please do so below.
There was some heated discussion on how we should behave on the conversion for the return part:
The risk I see with this change is that:

strict=False will allow for any input and any output
while this is ok for the input part, not all output are created equal
the main risk is to have someone returning something like df1, df2 which will be returned as nw.DataFrames

Two other notes for the changes:

The moving from from narwhals.translate import get_cudf to from narwhals.dependencies import get_cudf (and similars), is due to the fact that as I was experimenting another approach I was getting circular imports.
Series file has a big diff, but now we can use @narwhalify in all operations, so why not :)

feel free to merge if happy - also, as a follow-up, we maybe this should be the suggested "how to" on the readme, as opposed to from_native / to_native?


fix: distribute-on-payouts race condition second attempt

#4304  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @wraeth-eth and the rest of your teammates on  Graphite


ISPN-9016 Delete temporary SingleFileStore .dat files after tests

https://issues.jboss.org/browse/ISPN-9016 removed the gitignore for *.dat files, and this exposed a problem in ExpirationSingleFileStoreListenerFunctionalTest
I initially thought the stale files were from SingleFileStoreFunctionalTest, so I changed it to skip the cache instantiation in the parse tests as well.

Integrated into master, thanks @danberindei !


Add a reference to podlike?

Something I stumbled across that might be of interest to some people using this plugin:
https://github.com/rycus86
This simulates the concept of Pods in Docker Swarm. While maybe not something to use for everything, this would help for the case where some docker containers really want to share a volume to talk to each other.

I assume you meant to link https://github.com/rycus86/podlike ?
I never tried it, but if you can come up with a short example for the README, it would be a nice addition! :+1:


As a user, I want the Dockerfile to run brew as a non-root user

brew config output
➜ docker run --rm homebrew/brew:3.2.5 brew config
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.

brew doctor output
➜ docker run --rm homebrew/brew:3.2.5 brew doctor
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.

[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
I'm currently working to add a new package, and am attempting to run brew via Docker to avoid installing it directly on my system -- because I do not install packages via shell scripts (only through my system package manager), and there is not a currently available package for my particular Linux distribution.
What happened (include all command output)?
Running any command at all results in the following error:
➜ docker run --rm homebrew/brew:latest brew help
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.

What did you expect to happen?
I would expect the docker image to invoke the brew executable without issue.
Step-by-step reproduction instructions (by running brew commands)
$ docker pull homebrew/brew:3.2.5
$ docker run --rm homebrew/brew brew <any subcommand>

Note that the 3.2.5 tag is currently mapped to the same digest as latest.

In working on a fix for this, It's actually apparent that the docker image doesn't even build successfully as-is:
Step 8/8 : RUN cd /home/linuxbrew/.linuxbrew   && mkdir -p bin etc include lib opt sbin share var/homebrew/linked Cellar   && ln -s ../Homebrew/bin/brew /home/linuxbrew/.linuxbrew/bin/   && git -C /home/linuxbrew/.linuxbrew/Homebrew remote set-url origin https://github.com/Homebrew/brew   && git -C /home/linuxbrew/.linuxbrew/Homebrew fetch origin   && HOMEBREW_NO_ANALYTICS=1 HOMEBREW_NO_AUTO_UPDATE=1 brew tap homebrew/core   && brew install-bundler-gems   && brew cleanup   && { git -C /home/linuxbrew/.linuxbrew/Homebrew config --unset gc.auto; true; }   && { git -C /home/linuxbrew/.linuxbrew/Homebrew config --unset homebrew.devcmdrun; true; }   && rm -rf ~/.cache   && chown -R linuxbrew: /home/linuxbrew/.linuxbrew   && chmod -R g+w,o-w /home/linuxbrew/.linuxbrew
 ---> Running in b8db808dc99f
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.

There is a  non root linuxbrew user in the image. Can you try docker run --user linuxbrew ?

That would work, but I'm actually working on a larger refactoring for the image given that it is currently pretty bloated and has various errors. I'm in the middle of my work day, but should have PR up later.

The latest images are stored on ghcr.io (built from https://github.com/Homebrew/brew/blob/master/.github/workflows/docker.yml), did you try the ghcr.io/homebrew/ubuntu16.04, ghcr.io/homebrew/ubuntu18.04 or ghcr.io/homebrew/ubuntu20.04 images?

They all fail with the same error (unless specifying a non-root user). Requiring users to specify a user to run the command as is extremely inconvenient and given that brew requires running as a non-root user, I'd say that doing so is an anti-pattern.

Some good feedback here. Closing this in favour of the imminent PR. Thanks!


Add RPM packaging for systemd and interactive support on Linux.

This project would be a lot more useful for mitigating the log4j 2.x JndiLookup vulnerability if it offered RPMs that can easily be installed on Linux systems that would impact the system wide installation of java and would hook into systemd to provide a default environment for initiating the java agent.
Gradle can easily support RPM packaging using the nebula.rpm plugin.
The systemd environment can use the _JAVA_OPTIONS environment variable to define the agent which should work from Java 6 through Java 17 though it's deprecated from Java 9 onward.
The RPM would include configuration files to setup the systemd default environment and the interactive login profile. It would also include a post installation scriptlet to trigger systemd to update to the _JAVA_OPTIONS environment and a post removal scriptlet to remove the _JAVA_OPTIONS environment.

I think that would be a bit too invasive (and too much magic) and there's no reason why users cannot simply modify their service definitions to add the option directly to the command, or, as you suggest, the aforementioned environment variable.
Separately, is there any simpler way to simply generate RPM packages than a 3rd party plugin in the gradle config?
I don't really think that such packaging belongs there, or really, in this codebase at all.
Also, from what I can see in your pr, this just bundles the jar, systemd config, post install and post remove scripts, and a separate script that gets injected into the default profile by most shells; the last of which is super invasive and dangerous, especially if someone were already using that env var (or the alternative mentioned in the pr thread).


Updates the workshop to use Parachain Template

This PR updates the workshop to latest cumulus (and thus also latest substrate and polkadot). It also ditches the cumulus-test-parachain-collator in favor of the Substrate Parachain Template. And it makes the docker images actually work.

I think this is good enough to merge and then fix up details in individual PRs.

cc @tolak This solves #5


Add a status indication on how long the ESLint validation took. That is especially helpful for fix on save

See https://github.com/microsoft/vscode-eslint/issues/1538?notification_referrer_id=NT_kwDOAB15RrI0NjIyNDEyMTczOjE5MzE1OTA&notifications_query=repo%3Amicrosoft%2Fvscode-eslint#issuecomment-1290394217

Honestly, being able to see ESlint badge in the bottom bar saying "linting (pass 4)" atfer 2s lag would be good enough solution to one half of a problem
It would easily solve the "why is ESLint does not work", by showing user that the linter is actually working, and that the problem is on the user's side (too many rules, slow rules, etc)

We should reference https://github.com/microsoft/vscode-eslint/issues/1344 in the indicator.

I really need someone physically in saltlake to help me any  ideas


Add info about the entity into the toString of Request and Response

Since we have overridden the toString of Entity, we can enhance the toString of Request/Response.

Yeah, my intuition also is that we already expose the entity size via headers (perhaps, not for all cases, but still). Though is this a problem - it's an open question. If I'm not wrong, akka-http also exposes the body size by default.
Because it's easy to revert, I take the responsibility and merge this 🤞🏻


tooltips for line plot

I've been trying to adding tooltips on a line plot's data points. But it seems like the tooltip is only supported in scatter plots. Is it possible for me to add the tooltip on a line plot?

Is it possible to combine LineLabelTooltip with HighlightLines from https://mpld3.github.io/examples/random_walk.html? If I just list both plugins, only the first one works.

If it doesn't work, it probably won't work. They're probably overwriting some event callback when you use both. That could certainly be fixed: if you're interested in taking a stab at it, we accept pull requests.

I would also love to use two or more plugins together. Let me know how to get them working
together. For example I want the tooltip plugin with a custom plugin like http://mpld3.github.io/examples/custom_plugin.html

To prevent callback collisions, you can add a dot-extension, like .on("mouseover.highlight", ....  Here is a notebook that makes highlights and tooltips work together.


ClusterQueue admitted a workload after set stopPolicy to Hold

What happened:
I submitted 3 jobs first: 1 Running, 1 Pending, 1 Not Admitted.
=============submitting 3 jobs===============
job.batch/sample-job-82xff created
job.batch/sample-job-rxgl6 created
job.batch/sample-job-p9tb6 created
=====================pod=====================
NAME                     READY   STATUS    RESTARTS   AGE   IP               NODE     NOMINATED NODE   READINESS GATES
sample-job-82xff-8vfnq   1/1     Running   0          7s    <IP_ADDRESS>    test-2   <none>           <none>
sample-job-82xff-rjd2h   1/1     Running   0          7s    <IP_ADDRESS>   test-1   <none>           <none>
sample-job-rxgl6-ch72s   0/1     Pending   0          5s    <none>           <none>   <none>           <none>
sample-job-rxgl6-dsxfb   0/1     Pending   0          5s    <none>           <none>   <none>           <none>
==================workload===================
NAME                         QUEUE          ADMITTED BY   AGE
job-sample-job-82xff-ddd56   team-a-queue   team-a-cq     7s
job-sample-job-p9tb6-5ef3f   team-a-queue                 3s
job-sample-job-rxgl6-e6970   team-a-queue   team-a-cq     5s
=================localqueue==================
NAME                  CLUSTERQUEUE       PENDING WORKLOADS   ADMITTED WORKLOADS
team-a-queue          team-a-cq          1                   2
team-b-queue          team-b-cq          0                   0

Then I updated team-a-cq to stopPolicy: Hold.
After some time:
the first job went from Running to Completed;
the second job went from Pending to Running, then Completed;
and the third job also went from Not Admitted to Pending, then Running, at last Completed;
==================workload===================
NAME                         QUEUE          ADMITTED BY   AGE
job-sample-job-82xff-ddd56   team-a-queue   team-a-cq     77s
job-sample-job-p9tb6-5ef3f   team-a-queue   team-a-cq     73s
job-sample-job-rxgl6-e6970   team-a-queue   team-a-cq     75s

What you expected to happen:
I just wonder, if this is a bug, or it is so designed?
Because it is described like this in the KEP:
type ClusterQueueSpec struct {
	// stopPolicy - if set the ClusterQueue is considered Inactive, no new reservation being
	// made.
	//
	// Depending on its value, its associated workloads will:
	//
	// - None - Workloads are admitted
	// - HoldAndDrain - Admitted workloads are evicted and Reserving workloads will cancel the reservation.
	// - Hold - Admitted workloads will run to completion and Reserving workloads will cancel the reservation.
	StopPolicy StopPolicy `json:"stopPolicy,omitempty"`
}

I'm not sure if Reserving workloads will cancel the reservation means that Not Admitted jobs should be admitted or not.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version): 1.27.3
Kueue version (use git describe --tags --dirty --always): v0.6.0-rc.1-5-g1adca15-dirty
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/assign @trasc

@B1F030 I'm unable to reproduce the described scenario described, can you try using the unmodified example files and :

cerate 9 jobs from examples/jobs/sample-job.yaml (they should fit 3 at a time )
witnin a 30s window , update the cluster-kueue (stopPolicy: Hold)
check the number of completed jobs after 90s
(only 3 should be completed)

Thanks.

and the third job also went from Not Admitted to Pending, then Running, at last Completed;

this doesn't sound like working as intended.
Hold means that no more jobs should be admitted. The "pending" job is already admitted, so it should run to completion.

Oh, in my environment, I set the nominalQuota bigger than actual quota, so that feels wrong.
After I change the quota to actual limit, that works as expected:
=============================================
[KEP-1284] A mechanism to stop a ClusterQueue
=============submitting 2 jobs===============
job.batch/sample-job-jd5xb created
job.batch/sample-job-hg2ms created
=====================pod=====================
NAME                     READY   STATUS    RESTARTS   AGE   IP               NODE     NOMINATED NODE   READINESS GATES
sample-job-jd5xb-lf697   1/1     Running   0          4s    <IP_ADDRESS>   test-2   <none>           <none>
==================workload===================
NAME                         QUEUE          ADMITTED BY   AGE
job-sample-job-hg2ms-bea37   team-b-queue                 2s
job-sample-job-jd5xb-929ef   team-b-queue   team-b-cq     4s
=================localqueue==================
NAME                  CLUSTERQUEUE       PENDING WORKLOADS   ADMITTED WORKLOADS
best-effort-a-queue   best-effort-a-cq   0                   0
best-effort-b-queue   best-effort-b-cq   0                   0
local-queue           cluster-queue      0                   0
shared-queue          shared-cq          0                   0
standard-a-queue      standard-a-cq      0                   0
standard-b-queue      standard-b-cq      0                   0
team-a-queue          team-a-cq          0                   0
team-b-queue          team-b-cq          1                   1
=============================================
[updating team-b-cq to stopPolicy: Hold]
=============================================
clusterqueue.kueue.x-k8s.io/team-b-cq patched
=============================================
NAME                  CLUSTERQUEUE       PENDING WORKLOADS   ADMITTED WORKLOADS
best-effort-a-queue   best-effort-a-cq   0                   0
best-effort-b-queue   best-effort-b-cq   0                   0
local-queue           cluster-queue      0                   0
shared-queue          shared-cq          0                   0
standard-a-queue      standard-a-cq      0                   0
standard-b-queue      standard-b-cq      0                   0
team-a-queue          team-a-cq          0                   0
team-b-queue          team-b-cq          1                   1
==================workload===================
NAME                         QUEUE          ADMITTED BY   AGE
job-sample-job-hg2ms-bea37   team-b-queue                 8s
job-sample-job-jd5xb-929ef   team-b-queue   team-b-cq     10s
===========submitting a new job==============
job.batch/sample-job-6lgkq created
==================workload===================
NAME                         QUEUE          ADMITTED BY   AGE
job-sample-job-6lgkq-88dfd   team-b-queue                 3s
job-sample-job-hg2ms-bea37   team-b-queue                 71s
job-sample-job-jd5xb-929ef   team-b-queue   team-b-cq     73s
=============================================
job.batch "sample-job-6lgkq" deleted
job.batch "sample-job-hg2ms" deleted
job.batch "sample-job-jd5xb" deleted
clusterqueue.kueue.x-k8s.io/team-b-cq patched
=============================================

As expected, the workload Not Admitted will not be admitted after the stopPolicy set to Hold.
Thanks for the explanation! I'll close this issue as resolved, sorry for my mistake.


cdkDragDisabled not updating while hold click

What is the expected behavior?
I'm developing a long press feature in my app that need to allow the user to drag the item only after a period of time holding it.
What is the current behavior?
When i start the touch event with the cdkDragDisabled  as true, and after some time holding it change the variable to false, the drag should be working but it is still disabled.

Any chance you can spin up a stackblitz of an example of your implementation?

It would be nice to see a Stackblitz, but what I'm guessing is happening is that your event either isn't triggering change detection or is happening after the CDK's event. For what it's worth, you can add a delay to the dragging via the cdkDragStartDelay input.

I think the cdkDragStartDelay is not implemented in version 7.3.7.

If this is still a problem, please open a new issue with reproduction steps


fix: notebook pqsearch

This PR:

Updates a benchmark for the PQLITE executor with filtering.
Updates notebook showcasing PQlite  training, quantization and search.
Fixes Readme
Decouples search with DocumentArray and numpy arrays

How much improvement can we obtain by decopuling DA and np?

At the moment around 20%, but I would say it's more relevant to provide options and allowing easier benchmarking vs our won "datatypes" and facilitating further decoupling of storage options.


Upgraded to eslint v2.2.0

PR for #54
Based on https://github.com/barrystaes/react-trebuchet/commit/6d652f844afc63275845c275dbebdc37b32b009a

Thanks for the PR @barrystaes !


bug issues, resolve immediately please

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

This should be closed but there are no humans to contact.

@gewarren do you know how to close issues in this repo?
@Irobert12 can you close this issue?


ACCUMULO-4423 Annotate integration tests with categories

Differentiates tests which always use a minicluster and those
which can use a minicluster or a standalone cluster. Out-of-the-box
test invocation should not have changed.
Includes updated documentation to TESTING.md as well.

Would be better to make use of excludedGroups and groups properties directly, rather than separate things out by two different executions of the failsafe plugin.
Providing the annotations, and categorizing test classes is probably sufficient. Testing docs can just explain how to use groups and excludedGroups properties to override default values in our POM. We probably don't need to manipulate the surefire/failsafe execution configuration in the POM outside of defining default values for groups and excludedGroups.

Would be better to make use of excludedGroups and groups properties directly, rather than separate things out by two different executions of the failsafe plugin.

I'm sorry, maybe I'm being dense, but it's not clear to me how that helps me achieve my goals here. Any chance you can pseudocode me some pom.xml to describe how you think it should work instead?

I think I know what you're asking for Christopher. Let me see if I can rework it quickly-like..

@ctubbsii take a look at 921f722 and see if that's more in line with what you were thinking. I believe it is, and it simplifies things a bit.

Sure thing, but will have to do it tomorrow morning.

will have to do it tomorrow morning

Ok. I may move ahead without you then :). I feel pretty confident after these last changes.


zrythm: init at 0.8.252

Problem description:
When I try to install this with: nix-env -f $NIXPKGS -iA zrythm I get:
resources/meson.build:30:0: ERROR: Could not execute command "/usr/bin/env sh /tmp/nix-build-zrythm-0.8.252.drv-0/source/build/resources/gen_gtk_resources_xml_wrap.sh /tmp/nix-build-zrythm-0.8.252.drv-0/source/resources /tmp/nix-build-zrythm-0.8.252.drv-0/source/build/resources/zrythm.gresources.xml".

When I do:
nix-shell $NIXPKGS -A zrythm
mkdir zr
cd zr
unpackPhase
genericBuild

it builds.
I can then successfully run it with /nix/store/nkyh59931zydxb80j3j5i1whcva6ijbl-zrythm-0.8.252/bin/zrythm_launch
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

/usr/bin/env is not available in sandbox so you need to run patchShebangs resources/gen_gtk_resources_xml_wrap.sh in postPatch.

@jtojnar Thanks for the feedback, all done!
Any idea what causes patchShebangs to not work?
It outputs that it's working, but when I cat the file directly after, it's unchanged.
Then we only need a solution for the dconf issue and this pkg is good to go!

patchShebangs only works on executable files so you might need to chmod +x it before.
Also it should be done in postPatch to avoid conflicts in case patches will ever affect the file.

@jtojnar Thanks for the review.
All done except for the "forgotten" part.

@magnetophon Is this PR still WIP as concluded from the title?

I think it's good now, apart from the meanwhile outdated version.

@magnetophon Please drop WIP from the title and ping a reviewer again. This PR might have been overlooked due to WIP in the title.
And thanks for your contribution and effort.

@0x4A6F Thanks.
I changed the title, but I'd rather not ping anyone on this.
Zrythm itself is in alpha, and I have many more PR's that would be more useful in nixpkgs.
It would be great if you could have a look!

any update on this?

It would be great to merge this PR @magnetophon and @jtojnar.
Even though the software in itself is in alpha, it is still of interest to some people in the community and the expression in itself is complete and works.

It would be great to merge this PR @magnetophon and @jtojnar.

It cannot be merged while it has merge conflicts.

Is there a way for me to help directly on this PR or is it necessary for example to make another PR if I want to help fixing the merge conflicts @SuperSandro2000?

Is there a way for me to help directly on this PR or is it necessary for example to make another PR if I want to help fixing the merge conflicts @SuperSandro2000?

You could do that if you like.

I resolved the conflicts and updated the zrythm version on https://github.com/andreasfelix/nixpkgs/commit/38185e8b99c1b48768fb3fce78c8beb311cbeb8f
Maybe this can be merged into this PR or should I open a new PR?

I resolved the conflicts and updated the zrythm version on andreasfelix@38185e8
Maybe this can be merged into this PR or should I open a new PR?

Please open a new PR. That is easier and makes the git history cleaner.

@andreasfelix would it be possible for you to make a PR for your branch, it looks really awesome!
Also, thanks for the work, the changes you did doesn't seem easy

This PR can be closed now that https://github.com/NixOS/nixpkgs/pull/144547 has been merged.


RFP - Extraterm

Package Details
Software project URL: http://extraterm.org/
Direct download URL for the software/installer: https://github.com/sedwards2009/extraterm/releases
Software summary / short description:
Extraterm is an open source project to build a terminal emulator and expand it with new features to support modern workflows and do more than just act like a glorified teletype.
Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Status: Review

https://chocolatey.org/packages/extraterm
https://chocolatey.org/packages/extraterm.install
https://chocolatey.org/packages/extraterm.portable


Startup probes

This change just hard-codes a 10 minute maximum startup timeout on the stateful pods api-db, keycloak-db, and broker.
Is it okay being hard-coded? Or should this be configurable? I'm thinking YAGNI, but there might be a use case.
Closes: #424
Closes: #443

Ok, have made startup probes a config option. cc @shreddedbacon


[jsx-curly-brace-presence] What do we do with  ?

Right now the code below fails, what should we do about it?
<App>
  <Component />

</App>

Should we ignore HTML entities?

If you have curly brace presence set to "always" for children, then I would expect it to require {' '}.

@ljharb but that would cause the output to be invalid because HTML entities produce special characters to the HTML document.


use reload instead of restart for director

implement the selection of a reload command to prevent director from beeing hard restarted
Fixes #75

anything else blocking this from getting merged?


WIP: HttpRunnableSpec clean up

Codecov Report

Merging #857 (e3fb662) into main (e9abd9f) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #857      +/-   ##
==========================================
+ Coverage   53.27%   53.31%   +0.04%
==========================================
  Files          72       72
  Lines        2140     2140
  Branches       52       52
==========================================
+ Hits         1140     1141       +1
+ Misses       1000      999       -1

Impacted Files
Coverage Δ

zio-http/src/main/scala/zhttp/service/Client.scala
59.18% <0.00%> (+2.04%)
: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 e9abd9f...e3fb662. Read the comment docs.


FtpRemoteExists resume mode does not work correctly.

Hi
I'm using FluentFtp version (37.0.2) in my project. Currently I'm using UploadDirectory method for uploading and syncing local folders with server but I have an issue when I use FtpRemoteExists  in resume mode for uploadimg modified files for examples a docx or xlsx file, actually it doesnt work properly and I have to use overwrite mode temporary for this issue.
I would be grateful if you could help me

Can you provide more details? Also attach the logs and pinpoint where it is going wrong for you. Such a generic question, we cannot help you with.


[Event Error] Codeunit 1303 - "Correct Posted Sales Invoice"

Hello everyone,
in this codeunit there is and event duplicate.
Event location
local procedure CreateCopyDocument(var SalesInvoiceHeader: Record "Sales Invoice Header"; var SalesHeader: Record "Sales Header"; DocumentType: Option; SkipCopyFromDescription: Boolean)
    var
        CopyDocMgt: Codeunit "Copy Document Mgt.";
    begin
        Clear(SalesHeader);
        SalesHeader."No." := '';
        SalesHeader."Document Type" := DocumentType;
        SalesHeader.SetAllowSelectNoSeries;
        SalesHeader."Corrected Invoice No." := SalesInvoiceHeader."No.";
        OnBeforeSelesHeaderInsert(SalesHeader, SalesInvoiceHeader, CancellingOnly);
        OnBeforeSalesHeaderInsert(SalesHeader, SalesInvoiceHeader, CancellingOnly);
        SalesHeader.Insert(true);

Kind regards.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


core-decorators.js is in .gitignore but is tracked

.gitignore contains a ligne that ignores any file called core-decorators.js
https://github.com/jayphelps/core-decorators.js/blob/master/.gitignore#L3
But there is one, inside src, which is currently tracked
https://github.com/jayphelps/core-decorators.js/blob/master/src/core-decorators.js
Any guess on which one is right?
Edit: I guess the .gitignore file is the wrong one, it should be /core-decorators.js if what you wish to do is not commit the bower build.

Good catch! Thanks https://github.com/jayphelps/core-decorators.js/commit/b69df7b09a8784e69b8050feaad689ddc95b6461


What's the change of 1.0.3 to 1.0.4?

Hi,
I very love your package.However,I found the result of rMVP v1.0.3 and v1.0.4 is different.I wonder why the result is obviously different with the same r script as well as  data.I can't find the update information in github or cran.

Above is the result of v1.0.3

Above is the result of v1.0.4
By the way,I want to set the cut off as a constant,such as -log10(p)=5,how can I make it in MVP?
Sincerely,
Jingyao

rMVP 1.0.4
@hyacz hyacz released this on Sep 1 · 7 commits to master since this release
Enhance
adding Dockerfile
update README.md
update c++ for kinship computation
Bugfix
stop if hapmap major is not in 'ATGC'
fixed bug of skipping SNPs when converting vcf/hapmap to mvp genotype file format.

Thank you for reporting the issue. I think the differences may be caused by the SNPs that skipped by the previous version.


Use cached query plan

Fixes #1302
@Sanne can you check if this actually solve the issue?

Thanks! checking..

NIce


Can't add to HA

System Health details
System Information

version
core-2024.4.2

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.2

os_name
Linux

os_version
6.6.20-haos

arch
x86_64

timezone
Europe/Luxembourg

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
5000

Installed Version
1.34.0

Stage
running

Available Repositories
1399

Downloaded Repositories
34

HACS Data
ok

Home Assistant Cloud

logged_in
true

subscription_expiration
21 avril 2024 à 02:00

relayer_connected
true

relayer_region
eu-central-1

remote_enabled
true

remote_connected
true

alexa_enabled
true

google_enabled
true

remote_server
eu-central-1-19.ui.nabu.casa

certificate_status
ready

instance_id
e7095691c70e428f9d3a1e216a4d93a0

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 12.1

update_channel
stable

supervisor_version
supervisor-2024.04.0

agent_version
1.6.0

docker_version
24.0.7

disk_total
30.8 GB

disk_used
9.4 GB

healthy
true

supported
true

board
ova

supervisor_api
ok

version_api
ok

installed_addons
Node-RED (17.0.11), Studio Code Server (5.15.0), Advanced SSH & Web Terminal (17.2.0), ESPHome (2024.3.2), AirCast (4.2.1), Network UPS Tools (0.13.0), SQLite Web (4.1.2), TasmoAdmin (0.30.0), File editor (5.8.0), Zigbee2MQTT (1.36.1-1), Mosquitto broker (6.4.0), Z-Wave JS (0.4.5), Z-Wave JS UI (3.4.2), Piper (1.5.0), Whisper (2.0.0), openWakeWord (1.10.0)

Dashboards

dashboards
4

resources
27

views
34

mode
storage

Recorder

oldest_recorder_run
1 avril 2024 à 12:42

current_recorder_run
8 avril 2024 à 15:32

estimated_db_size
183.70 MiB

database_engine
sqlite

database_version
3.44.2

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).

Describe the issue
As neither the official Volvo Plugin nor the Volvo2MQTT one work with my car (XC40 P8) I wanted to try this integration. But trying to add it to my HA installation I get a "not valid repository" error.
Reproduction steps

Go to Plugins
Select Add Repository
Paste https://github.com/fars-fede-fire/volvoaaos
...

Debug logs
don0t have logs

Diagnostics dump
No dump as plugin not installed

Can you download the files and at I manually to your custom_component folder?


Workspace Diagnostics

Currently only buffer specific diagnostics are provided.
Would be awesome to have a :WorkspaceDiagnostics as well.

HI, i would like to see implemented this functionality, this would be useful when working on several files

Hi, sorry for the late response. As requested i've implemented it, if you run :PlugUpdate and restart vim you should find a new command: :DiagnosticAll that give you the diagnostic for all the opened buffers. Let me know if you have find problem!


Added bank charges in invoice

Changes

Added bank charges details in the invoice blade
Added bank charges in total payable amount of client and project models

Self reviewed.


Animation Timeout Removes Classes Before Animation Start

Because the plugin tries to remove the au-{event} and au-{event}-active classes after 50ms if the animation has not started, I am running into an issue where the classes are removed before the animationstart event ever fires.
I changed the timeout value from 50ms to 100ms and the issue was fixed in Chrome.
Also, this might present an issue if the animationstart event is only fired after the animation-delay period has finished (per https://developer.mozilla.org/en-US/docs/Web/Events/animationstart). This means that all animations must have a delay of less than whatever the defined timeout period is.

Hi there, thanks for the feedback. Could you tell me the scenario where you had those timing issues? Was it inside a repeater or on normal elements? I've been able to sometimes see the behavior on the repeater, but not in a reproducible way so I'd be glad to hear about your try.
Regarding the animation-delay, I was going to add more logic to the implementation, checking whether the classes do use an animation-delay. That should fix this issue.

The issue was actually in a top level router-view-- there wasn't any nesting or anything really complicated. This is a somewhat larger application (it's definitely not just the skeleton navigation), but still what I'd expect is considered a normal use case.
I was running this on a mid-2012 Macbook Air.
Basic structure of the app to give you an idea where it is, though this is greatly simplified from the actual application:
<html>
    <body>
        <custom-element>
        <router-view>
    </body>
</html

@andrewmunsell sry that it took me so long, but I think the latest release now fixes as well the not triggering of animations (essentially just increased the delay as you suggested) and respects a set animation delay.


Local variable 'db_connection' referenced before assignment

Installed on host via pip install --upgrade gget:
$ system_profiler SPSoftwareDataType SPHardwareDataType
Software:

    System Software Overview:

      System Version: macOS 12.5 (21G72)
      Kernel Version: Darwin 21.6.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: Earl Grey
      User Name: Alex Reynolds (areynolds)
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 1 day 8:44

Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro16,4
      Processor Name: 8-Core Intel Core i9
      Processor Speed: 2.4 GHz
      Number of Processors: 1
      Total Number of Cores: 8
      L2 Cache (per Core): 256 KB
      L3 Cache: 16 MB
      Hyper-Threading Technology: Enabled
      Memory: 32 GB
      System Firmware Version: 17<IP_ADDRESS>.0 (iBridge: 19.16.16064.0.0,0)
      OS Loader Version: 540.120.3~19
      Serial Number (system): C02CT0C0PT01
      Hardware UUID: C6082A3D-359C-5F2C-AC84-5068C7891897
      Provisioning UDID: C6082A3D-359C-5F2C-AC84-5068C7891897
      Activation Lock Status: Disabled

Problematic command:
$ python --version
Python 3.8.13
$ gget search -s homo_sapiens 'usf1'
Tue Aug  9 20:03:08 2022 INFO Fetching results from database: homo_sapiens_core_107_38
Tue Aug  9 20:03:11 2022 ERROR The Ensembl server returned the following error: Character set 'utf8' unsupported
Traceback (most recent call last):
  File "/Users/areynolds/miniconda3/bin/gget", line 8, in <module>
    sys.exit(main())
  File "/Users/areynolds/miniconda3/lib/python3.8/site-packages/gget/main.py", line 1223, in main
    gget_results = search(
  File "/Users/areynolds/miniconda3/lib/python3.8/site-packages/gget/gget_search.py", line 172, in search
    df_temp = pd.read_sql(query, con=db_connection)
UnboundLocalError: local variable 'db_connection' referenced before assignment

Using version 0.3.7:
$ gget --version
gget version: 0.3.7

What is the version of your mysql-connector-python package? It seems like they changed the way utf8 is handled in the latest version (reference).
Could you please downgrade mysql-connector-python (pip install mysql-connector-python==8.0.29) and try again?

Yeah, this might be fixed w/a patch to requirements.txt:
(base) areynolds@Earl-Grey ~ % pip install mysql-connector-python==8.0.29
Collecting mysql-connector-python==8.0.29
  Downloading mysql_connector_python-8.0.29-py2.py3-none-any.whl (342 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 342.0/342.0 kB 2.5 MB/s eta 0:00:00
Requirement already satisfied: protobuf>=3.0.0 in ./miniconda3/lib/python3.8/site-packages (from mysql-connector-python==8.0.29) (3.20.1)
Installing collected packages: mysql-connector-python
  Attempting uninstall: mysql-connector-python
    Found existing installation: mysql-connector-python 8.0.30
    Uninstalling mysql-connector-python-8.0.30:
      Successfully uninstalled mysql-connector-python-8.0.30
Successfully installed mysql-connector-python-8.0.29
(base) areynolds@Earl-Grey ~ % gget search -s homo_sapiens 'ace2'
Tue Aug  9 20:20:41 2022 INFO Fetching results from database: homo_sapiens_core_107_38
Tue Aug  9 20:20:44 2022 INFO Total matches found: 3.
Tue Aug  9 20:20:44 2022 INFO Query time: 7.47 seconds.
[
    {
        "ensembl_id": "ENSG00000130234",
        "gene_name": "ACE2",
        "ensembl_description": "angiotensin converting enzyme 2 [Source:HGNC Symbol;Acc:HGNC:13557]",
        "ext_ref_description": "angiotensin converting enzyme 2",
        "biotype": "protein_coding",
        "url": "https://uswest.ensembl.org/homo_sapiens/Gene/Summary?g=ENSG00000130234"
    },
    {
        "ensembl_id": "ENSG00000182240",
        "gene_name": "BACE2",
        "ensembl_description": "beta-secretase 2 [Source:HGNC Symbol;Acc:HGNC:934]",
        "ext_ref_description": "beta-secretase 2",
        "biotype": "protein_coding",
        "url": "https://uswest.ensembl.org/homo_sapiens/Gene/Summary?g=ENSG00000182240"
    },
    {
        "ensembl_id": "ENSG00000224388",
        "gene_name": "BACE2-IT1",
        "ensembl_description": "BACE2 intronic transcript 1 [Source:HGNC Symbol;Acc:HGNC:16024]",
        "ext_ref_description": "BACE2 intronic transcript 1",
        "biotype": "lncRNA",
        "url": "https://uswest.ensembl.org/homo_sapiens/Gene/Summary?g=ENSG00000224388"
    }
]

Glad this worked! I already adjusted the requirements.txt; thank you for bringing this issue to my attention.

...which it appears has been done, so I'll close this up. Thanks!


Implicit stimuli conversion

An implementation of automatic stimuli conversion during validation of any transformation. Searches through available converters and uses one with the appropriate _input_type and _output_type, if one is found. Also added appropriate units tests.
Resolves #48

Regarding using code reuse with get_transformer: the logic is pretty much the same except it checks the _input_type and _output_type as well as makes sure it is concrete. I suppose we could just use one method that enumerates the classes and have get_transformer and get_converter both call that method before checking their appropriate conditions

Yeah, just realized that and deleted that last comment. No worries!