RuntimeException when starting custom conductor-server container, connections refused

I have been trying to get a custom Conductor stack to work.
So far, I have the following compose.yaml:
version: '3.7'

services:
  conductor-server:
    environment:
      - CONFIG_PROP=config.properties
    image: conductor2:server
    networks:
      - dragonfly-net
    ports:
      - ${DRAGONFLY_PORT_CONDUCTOR_SERVER}:8080
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8080/api/metadata/taskdefs"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 30s
    depends_on:
      - elasticsearch
      - dynomite
    logging:
      driver: "json-file"
      options:
        max-size: "1k"
        max-file: "3"

  conductor-ui:
    environment:
      - WF_SERVER=http://conductor-server:8080/api/
    image: conductor2:ui
    build:
      context: ../
      dockerfile: docker/ui/Dockerfile
    networks:
      - dragonfly-net
    ports:
      - ${DRAGONFLY_PORT_CONDUCTOR_UI}:5000

  dynomite:
    image: v1r3n/dynomite
    networks:
      - dragonfly-net
    # ports:
    #  - ${DRAGONFLY_PORT_REDIS}:8102
    healthcheck:
      test: timeout 5 bash -c 'cat < /dev/null > /dev/tcp/localhost/8102'
      interval: 5s
      timeout: 5s
      retries: 12
    logging:
      driver: "json-file"
      options:
        max-size: "1k"
        max-file: "3"

  # https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docker.html
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:5.6.8
    environment:
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
      - transport.host=<IP_ADDRESS>
      - discovery.type=single-node
      - xpack.security.enabled=false
    networks:
      - dragonfly-net
    ports:
    #  - 9200:9200 Port used for HTTP interface
      - ${DRAGONFLY_PORT_ELASTICSEARCH_SERVICE}:9300
    healthcheck:
      test: timeout 5 bash -c 'cat < /dev/null > /dev/tcp/localhost/9300'
      interval: 5s
      timeout: 5s
      retries: 12
    logging:
      driver: "json-file"
      options:
        max-size: "1k"
        max-file: "3"

# Our overlay network is already defined externally via docker network create command
networks:
  dragonfly-net:
    external: true
    name: ${DRAGONFLY_NETWORK}

The Dockerfile for conductor2:server looks like this:
# --- 0. Clone Conductor repository ---
FROM alpine/git AS git

WORKDIR /usr/src

RUN git clone https://github.com/Netflix/conductor.git

# --- 1. Build ----
FROM gradle:5.6.2-jdk8 AS builder

# Copy the project directly onto the image
COPY --from=git /usr/src/conductor /usr/src/conductor
WORKDIR /usr/src/conductor

# Build the server on run
RUN ./gradlew build -x test

# --- 2. Create binary ---
FROM openjdk:8-jre-alpine

# Make app folders
RUN mkdir -p /app/config /app/logs /app/libs

ADD startup.sh /app/startup.sh
ADD config.properties /app/config/config.properties
ADD log4j.properties /app/config/log4j.properties

# Copy the project directly onto the image
COPY --from=builder /usr/src/conductor/server/build/libs/conductor-server-*-all.jar /app/libs

# Copy the files for the server into the app folders
RUN chmod +x /app/startup.sh

EXPOSE 8080
EXPOSE 8090

CMD [ "/app/startup.sh" ]
ENTRYPOINT [ "/bin/sh"]

The config.properties file looks like this:
# Servers.
conductor.jetty.server.enabled=true
conductor.grpc.server.enabled=false

# Database persistence model.  Possible values are memory, redis, and dynomite.
# If ommitted, the persistence used is memory
#
# memory : The data is stored in memory and lost when the server dies.  Useful for testing or demo
# redis : non-Dynomite based redis instance
# dynomite : Dynomite cluster.  Use this for HA configuration.

db=dynomite

# Dynomite Cluster details.
# format is host:port:rack separated by semicolon
workflow.dynomite.cluster.hosts=dynomite:8102:none

# Dynomite cluster name
workflow.dynomite.cluster.name=dynomite

# Namespace for the keys stored in Dynomite/Redis
workflow.namespace.prefix=conductor

# Namespace prefix for the dyno queues
workflow.namespace.queue.prefix=conductor_queues

# No. of threads allocated to dyno-queues (optional)
queues.dynomite.threads=10

# Non-quorum port used to connect to local redis.  Used by dyno-queues.
# When using redis directly, set this to the same port as redis server
# For Dynomite, this is 22122 by default or the local redis-server port used by Dynomite.
queues.dynomite.nonQuorum.port=22122

# Elastic search instance type. Possible values are memory and external.
# If not specified, the instance type will be embedded in memory
#
# memory: The instance is created in memory and lost when the server dies. Useful for development and testing.
# external: Elastic search instance runs outside of the server. Data is persisted and does not get lost when
#           the server dies. Useful for more stable environments like staging or production.
workflow.elasticsearch.instanceType=external

# Transport address to elasticsearch
workflow.elasticsearch.url=elasticsearch:9300

# Name of the elasticsearch cluster
workflow.elasticsearch.index.name=conductor

# Additional modules (optional)
# conductor.additional.modules=class_extending_com.google.inject.AbstractModule

# Load sample kitchen sink workflow
loadSample=true

The problem manifests in the refusal of any connection attempt to any endpoint (e.g. api/metadata/taskdefs).
The docker log shows this:
    for the 2nd parameter of com.netflix.conductor.dyno.RedisQueuesProvider.<init>(RedisQueuesProvider.java:32)

  while locating com.netflix.conductor.dyno.RedisQueuesProvider

  at com.netflix.conductor.dao.RedisWorkflowModule.configure(RedisWorkflowModule.java:33) (via modules: com.google.inject.util.Modules$OverrideModule -> com.netflix.conductor.dao.RedisWorkflowModule)

  while locating com.netflix.dyno.queues.redis.RedisQueues

    for the 1st parameter of com.netflix.conductor.dao.dynomite.queue.DynoQueueDAO.<init>(DynoQueueDAO.java:60)

  at com.netflix.conductor.dao.dynomite.queue.DynoQueueDAO.class(DynoQueueDAO.java:45)

  while locating com.netflix.conductor.dao.dynomite.queue.DynoQueueDAO

  while locating com.netflix.conductor.dao.QueueDAO

    for the 3rd parameter of com.netflix.conductor.core.execution.WorkflowSweeper.<init>(WorkflowSweeper.java:60)

  at com.netflix.conductor.server.ServerModule.configure(ServerModule.java:53) (via modules: com.google.inject.util.Modules$OverrideModule -> com.netflix.conductor.server.ServerModule)

  while locating com.netflix.conductor.core.execution.WorkflowSweeper

Caused by: java.lang.RuntimeException (same stack trace as error #33)

59 errors

at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:470)

at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:184)

at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)

at com.google.inject.Guice.createInjector(Guice.java:99)

at com.google.inject.Guice.createInjector(Guice.java:73)

at com.netflix.conductor.bootstrap.Main.main(Main.java:53)

The logs produced by the conductor-server application show no problems.
Since I have added the healthcheck to the conductor-server in the compose file the container becomes unhealthy after ~1 minute, as expected if the endpoints are not reachable.
What could be causing this?

@MarkusA380 It seems that Guice is having trouble locating and injecting one of the dependent Modules. The logs here doesn't reveal much here. But, check server startup error logs to see which module might have failed to be initialized.

@markusa380 could you solve this issue?

No, I have since given up on using Conductor.


doc/design: clarify the life-cycle of a design doc and update existing accordingly

Fixes #4633

This change is

The capitalization of the status in

PathService.md
forwarding-key-rollover.rst
BeaconService.md
ColibriService.md

could also be updated for consistency.


Carousel component - Support for embedding other sql files

What is your problem ? A description of the problem, not the solution you are proposing.

I have built a dashboard with multiple cards in the view. There are many cards that the page is scrolling vertically now.
I would like for this data to be displayed as a dashboard in a "kiosk" fashion (i.e - no manual interaction expected), where by all the data is displayed to the user, in a auto-scrolling / slideshow format.
I checked out the carousel component, but it seems to only support images currently.
Only cards component seems to support embedding other .sql files. however cards doesn't have any features to auto-scroll / slideshow the data.

Describe the solution you'd like

It would be really nice if the carousel component can also embed other .sql files, like the cards component, and show the output of the embedded sql files as a "slideshow".
This would allow for the carousel component to really add the potential for dashboard displays that can be used in "kiosk" mode.
Hope my explanation of the request is clear / makes sense.
Thanks for your time and consideration !

Hello, that would indeed be useful. And this will probably be easy to implement after we merge https://github.com/lovasoa/SQLpage/pull/615
What do you think, @mtt-artis ?

The embed option is already there on the server side so it might be doable just by transforming the carousel template with an embed option. Or am I missing something?
Should we explain the data-embed="SRC" tricks in the doc for custom template ?

Yes, that's what I was saying, the feature asked for here should be easy to implement after we merge your pull request.
I think we should document data-embed in /examples/official-site/custom_components.sql


Update univeq, univeq-cats to 1.5.0

Updates

com.github.japgolly.univeq:univeq
com.github.japgolly.univeq:univeq-cats

from 1.4.0 to 1.5.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.japgolly.univeq" } ]

labels: library-update, semver-minor

Superseded by #126.


Analog watch

Using js creating analog watch

I'm closing this issue, not related to the project. Please open a new issue if you have any questions or issues. Thanks!


Fix: v-model is not 2-way binding in Toggle component

Currently, the following lines will result in a Toggle component that is checked, but state and realState are actually both false.
<Toggle v-model="someTruthyVal" />

...

  data () {
    return {
      someTruthyVal: true,
    }
  },

As a result, clicking the Toggle will invert realState from false to true, therefore keeping the Toggle checked.
I can see that there are actually a value and a state in Toggle component, which seems to duplicate the same functionality.
If you intended to keep state instead of the default value property, you can simply customize the prop as state. This makes state two-way binding. If this looks good, then value can be totally removed from the component.

This is a good point. <Toggle> was made before I'd realized how easy it was to add v-model support, so I'd retrofitted the value prop in afterwards and kept state to try and mitigate any changes in pre-existing panels that were using brutalism. Since we're >2.0.0 now though, breaking changes are implied and I don't mind accepting this at all.
Thanks! Feel free to keep these coming, just know that certain components were kind of legacy and done before we realized we'd want to create an entire library. In some instances, it may be easier to rewrite the components instead of trying to refactor them.
Also if there are any components which are missing, feel free to file Issue enhancement requests on them. Would personally like to create sliders, rotation controls, progress bars

By the way, thanks for this tip. I didn't look closely to the link you'd sent until now, and it looks like a way to assign any arbitrary prop as v-model, which is an extremely cool trick. I'd never seen the syntax with model, but I'm already putting it to use 👍


[BUG]: drizzle-kit push fails after first run with composite PKs

What version of drizzle-orm are you using?
0.32.0
What version of drizzle-kit are you using?
0.23.0
Describe the Bug
When a postgres schema is defined using a composite primary key, where the columns for the PK are not in the original order, drizzle-kit push will fail after the first run.
import { pgTable, primaryKey, text } from "drizzle-orm/pg-core";

export const reproTable = pgTable(
  "repro_table",
  {
    firstColumn: text("first_column").notNull(),
    secondColumn: text("second_column").notNull(),
  },
  (t) => ({
    compositePK: primaryKey({
      name: "pkNameWithUpperCaseChars", // error when uppercase characters are present
      columns: [t.secondColumn, t.firstColumn],
    }),
  })
);

The push command fails with an error similar to:
error: constraint "pknamewithuppercasechars" of relation "repro_table" does not exist

My understand of the bug is that the key identifier is not quoted.
The SQL query executed was
ALTER TABLE "repro_table" DROP CONSTRAINT pkNameWithUpperCaseChars;
--> statement-breakpoint
ALTER TABLE "repro_table" ADD CONSTRAINT pkNameWithUpperCaseChars PRIMARY KEY(second_column,first_column);

when the SQL should be something similar to:
ALTER TABLE "repro_table" DROP CONSTRAINT "pkNameWithUpperCaseChars";
--> statement-breakpoint
ALTER TABLE "repro_table" ADD CONSTRAINT "pkNameWithUpperCaseChars" PRIMARY KEY("second_column","first_column");

Note the added quotes for the key name, as well as the columns.
Suggested Fix
The fix is likely in the PgAlterTableAlterCompositePrimaryKeyConvertor class.
The SQL template string should make sure to quote the indentifiers similar to the code in PgAlterTableCreateCompositePrimaryKeyConvertor and PgAlterTableDeleteCompositePrimaryKeyConvertor
Looking at the bundled code available from npm, the change looks like:
    PgAlterTableAlterCompositePrimaryKeyConvertor = class extends Convertor {
      can(statement, dialect7) {
        return statement.type === "alter_composite_pk" && dialect7 === "postgresql";
      }
      convert(statement) {
        const { name, columns } = PgSquasher.unsquashPK(statement.old);
        const { name: newName, columns: newColumns } = PgSquasher.unsquashPK(
          statement.new
        );
        const tableNameWithSchema = statement.schema ? `"${statement.schema}"."${statement.tableName}"` : `"${statement.tableName}"`;
-        return `ALTER TABLE ${tableNameWithSchema} DROP CONSTRAINT ${statement.oldConstraintName};
-${BREAKPOINT}ALTER TABLE ${tableNameWithSchema} ADD CONSTRAINT ${statement.newConstraintName} PRIMARY KEY(${columns.join(',')});`;
+        return `ALTER TABLE ${tableNameWithSchema} DROP CONSTRAINT "${statement.oldConstraintName}";
+${BREAKPOINT}ALTER TABLE ${tableNameWithSchema} ADD CONSTRAINT "${statement.newConstraintName}" PRIMARY KEY("${columns.join('","')}");`;
      }
    };

Expected behavior
The Drizzle Kit CLI command should successfully complete every time if no changes to the schema were made.
Actual Behavior
The Drizzle Kit CLI command errors after the first run with an error message similar to the following
> npx drizzle-kit push
drizzle-kit: v0.23.0
drizzle-orm: v0.32.0

No config path provided, using default path
Reading config file '/Users/roger/projects/drizzle-bug-1/drizzle.config.ts'
Using 'pg' driver for database querying
[✓] Pulling schema from database...
error: constraint "pknamewithuppercasechars" of relation "repro_table" does not exist
    at /Users/roger/projects/drizzle-bug-1/node_modules/drizzle-kit/bin.cjs:79476:15
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.query (/Users/roger/projects/drizzle-bug-1/node_modules/drizzle-kit/bin.cjs:121418:26)
    at async pgPush (/Users/roger/projects/drizzle-bug-1/node_modules/drizzle-kit/bin.cjs:124361:13)
    at async _Command.<anonymous> (/Users/roger/projects/drizzle-bug-1/node_modules/drizzle-kit/bin.cjs:131618:7) {
  length: 148,
  severity: 'ERROR',
  code: '42704',
  detail: undefined,
  hint: undefined,
  position: undefined,
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'tablecmds.c',
  line: '12053',
  routine: 'ATExecDropConstraint'
}

Environment & setup
See repo at https://github.com/zurawiki/drizzle-kit-repro-1 for a self-contained repro

Node.js: v20.15.0
pnpm: 9.4.0

I have the same issue. Good catch

Facing this same issue. When can we expect a fix for this?


[Feature]:IMPROVE Order Summary

Describe the feature
Currently Order Summary looking Empty we can add shopping cart details there  as well just item name and price
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

/assign-me

assign me

/assign me

This feature also requires changes in the "ecommerce-admin" repository , individuals who can do that can ping me!


Including marketplace plugins

This is more of a question than anything else: what is the recommended way to include third-party plugins?
Right now I'm thinking about copying the specific version of the plugin (in this case, Substance in Unreal Engine) to the Plugins folder of my project, but what would be interesting was to somehow achieve the same objective during the compilation of the Engine itself rather than the project's.
Another option would be to have an image built on top of ue4-source and then use it for ue4-engine and ue4-minimal. Does this sound reasonable?

If the plugin that you'd like to bundle already contains precompiled binaries for your target platform (as is the case for Marketplace plugins under Windows), then you can simply copy the plugin into the Engine's plugins directory after the Engine itself has been built and everything will work correctly. This will typically take the form of a new image built on top of the ue4-minimal or ue4-full image. Alternatively, some developers perform the copy when they build their project as part of their CI pipeline. This latter approach allows you to change the version of the plugin that you want to use without the need to rebuild any container images, but requires that you have a copy of the plugin available for extraction each time the CI pipeline runs. The approach you choose will obviously depend on your own requirements and preferences.
If the plugin that you'd like to bundle does not contain precompiled binaries for your target platform (e.g. when using a Marketplace plugin under Linux) then my recommended approach would be to compile it using either ue4cli or a direct call to Unreal AutomationTool and then copy it into a prebuilt Unreal Engine installation after that. (For maximum platform support, you can even merge built Linux binaries with prebuilt Windows and Mac binaries to produce a plugin distribution that will work on all three platforms.) This is significantly more convenient than building the plugin as part of the Engine's build process because you don't need to rebuild the entire Engine each time you update to a new version of the plugin. You could use a Docker multi-stage build to copy the built plugin into a new container image based on either ue4-minimal or ue4-full, or create a zip file if you want to take the approach of copying the plugin during the CI process for your project.
It's worth noting that the Substance plugin in particular includes a hard-coded check to ensure it's been placed in a subdirectory consistent with a Marketplace installation, so you'll want to copy it into the Engine/Plugins/Marketplace directory specifically. By contrast, most other plugins can be placed anywhere inside Engine/Plugins and they'll work happily.

I'm going to leave this issue open as a reminder to myself to add a section covering plugin development and integration to the CI/CD page of the Unreal Containers documentation. In the meantime, if you have any follow-up questions regarding this topic then I'll be happy to address those details and include them in the documentation as well.

A new section covering the relevant materials from this thread has now been added to the Unreal Containers documentation: https://unrealcontainers.com/docs/use-cases/continuous-integration#using-prebuilt-unreal-plugins


raise error when no suitable rdf reader is found

Currently sparql-client will silently fail with a nil if no suitable rdf reader is found. This can lead to the awkward situation where a nil is returned for the query and the user has to find out what is causing it. This pull request tries to quicken this debugging proces by at least indicating the point of failure by raising a descriptive error.
[1] pry(main)> require 'sparql/client'
=> true
[2] pry(main)> s = SPARQL::Client.new('http://localhost:8890/sparql')
=> #<SPARQL::Client:0x8fc(http://localhost:8890/sparql)>
[3] pry(main)> s.query("CONSTRUCT  {?s a ?type}  WHERE {?s a ?type}").first
NoMethodError: undefined method `first' for nil:NilClass
from (pry):3:in `<eval>'
[4] pry(main)> require 'rdf/turtle'
=> true
[5] pry(main)> s = SPARQL::Client.new('http://localhost:8890/sparql')
=> #<SPARQL::Client:0x902(http://localhost:8890/sparql)>
[6] pry(main)> s.query("CONSTRUCT  {?s a ?type}  WHERE {?s a ?type}").first
=> [#<RDF::URI:0x906 URI:http://www.openlinksw.com/virtrdf-data-formats#default-iid>, #<RDF::URI:0x908 URI:http://www.w3.org/1999/02/22-rdf-syntax-ns#type>, #<RDF::URI:0x90a URI:http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat>]

This pull request replaces #66 and should be merged after #67.

Coverage increased (+0.008%) to 94.437% when pulling b5ea2df2c13ff98bffb82756de829594119e6372 on nvdk:no-suitable-rdf-reader into ddf951d03c8af2c9ce589a5667d041e5b137e529 on ruby-rdf:develop.

Coverage decreased (-0.1%) to 94.294% when pulling 46e3984bddca3499d65a2bd6f4b7f1ed10792d1c on nvdk:no-suitable-rdf-reader into ddf951d03c8af2c9ce589a5667d041e5b137e529 on ruby-rdf:develop.

Looks good, thanks for the contribution! If you haven't yet submitted an UNLICENSE declaration, please consider doing so.

I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
if that fails in your jurisdiction, you can still use my contribution under a MIT license :speak_no_evil:


Opening a file with open_mfdataset fails if dask is not installed: ModuleNotFoundError: No module named 'dask.base'

Problem description
Opening a file with open_mfdataset fails if dask is not installed:
>>> xr.open_mfdataset('tests/sample-data/era5-levels-members.nc')
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
~/devel/MPY/xarray/xarray/backends/api.py in open_mfdataset(paths, chunks, concat_dim, compat, preprocess, engine, lock, data_vars, coords, autoclose, parallel, **kwargs)
    626
--> 627     datasets = [open_(p, **open_kwargs) for p in paths]
    628     file_objs = [getattr_(ds, '_file_obj') for ds in datasets]
    629     if preprocess is not None:

~/devel/MPY/xarray/xarray/backends/api.py in open_dataset(filename_or_obj, group, decode_cf, mask_and_scale, decode_times, autoclose, concat_characters, decode_coords, engine, chunks, lock, cache, drop_variables, backend_kwargs)
    340
    341         with close_on_error(store):
--> 342             return maybe_decode_store(store)
    343     else:
    344         if engine is not None and engine != 'scipy':

~/devel/MPY/xarray/xarray/backends/api.py in maybe_decode_store(store, lock)
    276
    277         if chunks is not None:
--> 278             from dask.base import tokenize
    279             # if passed an actual file path, augment the token with
    280             # the file modification time

ModuleNotFoundError: No module named 'dask.base'

Reason
The reason is that the test in maybe_decode_store is for None but open_mfdataset in line 614 sets chunks to {} if it evaluates to False.
In fact setting line https://github.com/pydata/xarray/blob/master/xarray/backends/api.py#L614 as follows solves the problem:
    open_kwargs = dict(engine=engine, chunks=chunks, lock=lock,
                       autoclose=autoclose, **kwargs)

I could not run the tests to see what breaks with this change as running pytest without dask fails with:
../cpython3/lib/python3.7/site-packages/py/_path/local.py:668: in pyimport
    __import__(modname)
xarray/tests/__init__.py:105: in <module>
    if LooseVersion(dask.__version__) < '0.18':
E   AttributeError: module 'dask' has no attribute '__version__'

Looks like this is the expected behaviour as documented in http://xarray.pydata.org/en/stable/generated/xarray.open_mfdataset.html
Requires dask to be installed. See documentation for details on dask [1].
This case probably deserves a dedicated error message.

Is this still an issue?


pink installation on mac

Hello Stephan,
Thank you for your effort in maintaining this nice repo!
While using pink, I get the following two questions for you.

I've installed pink on my mac which is intel OSX Monterey 12.5.1 and I am using anaconda virtual environment (python version 3.8).
When I tried to run the upkie_crouching.py example, it kept complaining there is no module named pink.models.  So, instead of running the script, I manually tried opening the python interpreter(python version 3.8) in the same anaconda environment and typed the code in upkie_crouching.py line by line, and it successfully imported all the modules. I don't know how this could be possible. Do you have anything in your mind?

Other than the aforementioned software issue, I have another question regarding the inverse kinematics solver interface (API).
I have a 7-DoF robotic manipulator which has a holonomic constraint (q_1 = q_2) so it has 6 active joints with one passive joint. Given any cartesian tasks, I would like to solve the inverse geometry problem to get the joint positions satisfying the holonomic constraint.
In this case, I think one way to solve the problem is by setting the holonomic constraint as a task in the cost function and giving the larger task gain compared to the cartesian task.
Another way to solve the problem is using projected jacobian (J_cartesian_task * N_holonomic_constraint) with N = I - JJ_pseudo_inverse.
Do you think those two methods sound okay to obtain the solution that I want? If so, can you point out which API in pink I should use to set the holonomic constraint as a cost in the QP (I think I could try the latter one by myself)?

Thank you,
Seung Hyeon

I don't have a macOS machine to reproduce your issue 1, but my guess is that it is related to your PYTHONPATH. It's likely when you try to run the example directly you are doing it from a regular terminal (where Anaconda hasn't configured its PYTHONPATH yet), and when you paste the example into the conda interpreter then the path is configured properly and therefore it finds pink.models alright. Something in the line of these questions:

https://apple.stackexchange.com/questions/239910/where-are-anacondas-libraries-for-pythonpath
https://stackoverflow.com/questions/18567472/how-to-set-pythonpath-in-os-x

In this case, I think one way to solve the problem is by setting the holonomic constraint as a task in the cost function and giving the larger task gain compared to the cartesian task.

Yes, that would be the first thing to try. This approach will be less sensitive to numerical instability around singularities, compared to the projected Jacobian (and if you get instabilities, you can tune them via costs and LM damping).
Note that you should give the holonomic task a large cost (a.k.a. "weight") rather than a large gain:

The gain tunes the low-pass filtering behavior of the task itself (regardless of other tasks).
The cost quantifies how important the task is relative to other tasks.

Thanks for your suggestion! It helps me a lot.


Messages are being pushed but notification won't show on either phone! (Android-To-Android)

I know i closed this issue earlier but my notifications still aren't working! I know that when i first started my project, the notifications did indeed work but for some reason they now won't.
All my keys are setup correctly so it shouldn't be anything to do with that. I simply don't know what it can be
LogCat snips:
 31081-31081/com.skintmedia.voice V/BBackendlessHandler: Message published to channel:useriwH7vE6f0ogXiONf65gTMok32Uw2

 03-28 18:31:44.761 31081-31081/com.skintmedia.voice V/BMessageWrapper: push message, onDone
 03-28 18:31:44.763 31081-31081/com.skintmedia.voice V/BFirebaseNetworkAdapter: pushForMessage

Sorry i had to close this one too! it turns out that i am a massive idiot and disable notifications for private threads haha

Hi, @RyanElliott94
I just started to use the sdk, still looking details, but I got same issue, where can I enable notifications for private threads, thanks


[BUG] quay curl fails with proxy-ca-file set.  manual install and test works.

General information

OS: macOS
Hypervisor: vfkit
Did you run crc setup before starting it (Yes)?
Running CRC on: Laptop

CRC version
CRC version: 2.12.0+ea98bb41
OpenShift version: 4.11.18
Podman version: 4.2.0

CRC status
DEBU CRC version: 2.12.0+ea98bb41
DEBU OpenShift version: 4.11.18
DEBU Podman version: 4.2.0
DEBU Running 'crc status'
CRC VM:          Running
OpenShift:       Starting (v4.11.18)
RAM Usage:       5.631GB of 12.52GB
Disk Usage:      12.74GB of 53.14GB (Inside the CRC VM)
Cache Usage:     36.8GB
Cache Directory: /Users/twhite0/.crc/cache

CRC config
- consent-telemetry                     : no
- cpus                                  : 6
- disk-size                             : 50
- http-proxy                            : http://<IP_ADDRESS>:8888
- https-proxy                           : http://<IP_ADDRESS>:8888
- memory                                : 12288
- no-proxy                              : localhost,<IP_ADDRESS>,.testing
- proxy-ca-file                         : /Users/twhite0/git/hybrid-registry-poc/proxy.pem

Host Operating System
roductName:	macOS
ProductVersion:	12.6.2
BuildVersion:	21G320

Steps to reproduce

crc config set proxy-ca-file $HOME/path/to/file.pem
crc setup
crc start

Expected
i use a local proxy which injects credentials and then traverses through a corporate proxy.  the corporate proxy leverages an internal CA.  I am using the proxy-ca-file to provide the cert info.

curl to quay.io to work.
operator image pulls successful.

Actual

curl failed
As a result, I believe this is causing some of the operator image pulls to fail with 509 certificate issues.

Logs
INFO Check internal and public DNS query...
WARN Failed public DNS query from the cluster: ssh command error:
command : curl --head quay.io --proxy http://<IP_ADDRESS>:8888 --noproxy <IP_ADDRESS>,localhost,localhost,<IP_ADDRESS>,.testing --insecure --proxy-insecure
err     : Process exited with status 7
 :
INFO Check DNS query from host...

I validated the pem file worked by performing the following steps.

logged in to the vm and recreated the failed curl.
scp'ed pem file to the VM
installed to /etc/pki/ca-trust/source/anchors
ran update-ca-trust
retried the quay curl with success

Before gather the logs try following if that fix your issue
$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

Please consider posting the output of crc start --log-level debug  on http://gist.github.com/ and post the link in the issue.

The failure you quoted is most likely not related to certificates as we use curl with --insecure --proxy-insecure
Could you ssh into the VM and try this exact command to get the error output? curl --head quay.io --proxy http://<IP_ADDRESS>:8888 --noproxy <IP_ADDRESS>,localhost,localhost,<IP_ADDRESS>,.testing --insecure --proxy-insecure
Since your proxy is running on the host on port 8888, it should not be reachable from the guest as is, you need at least crc config set host-network-access true
Inside the VM, you might need to refer to the service as host.crc.testing, not <IP_ADDRESS> (to be tested)

@cfergeau:  Thanks for engaging in my issue, I appreciate your time.  Here is the full output of the above command.
[core@crc-b9lnz-master-0 ~]$ curl --head quay.io --proxy http://<IP_ADDRESS>:8888 --noproxy <IP_ADDRESS>,localhost,localhost,<IP_ADDRESS>,.testing --insecure --proxy-insecure
curl: (7) Failed to connect to <IP_ADDRESS> port 8888: Connection refused
[core@crc-b9lnz-master-0 ~]$

Just crc config set host-network-access true
After updating the crc config to add the host-network-access true, the same warning occurs at start.
host-network-access and proxy name host.crc.testing
note i also unset my http_proxy & https_proxy shell variables.
- consent-telemetry                     : no
- cpus                                  : 6
- disk-size                             : 50
- host-network-access                   : true
- http-proxy                            : http://host.crc.testing:8888
- https-proxy                           : http://host.crc.testing:8888
- memory                                : 12288
- no-proxy                              : localhost,<IP_ADDRESS>,.testing
- proxy-ca-file                         : /Users/twhite0/git/hybrid-registry-poc/proxy.pem

Still no luck.
WARN Failed public DNS query from the cluster: ssh command error:
command : curl --head quay.io --proxy http://host.crc.testing:8888 --noproxy <IP_ADDRESS>,localhost,localhost,.discoverfinancial.com,<IP_ADDRESS>,.testing --insecure --proxy-insecure
err     : Process exited with status 7
 :

However when i log in the vm and run the equivalent command it hangs for a bit...then fails.
[core@crc-b9lnz-master-0 ~]$ curl --head quay.io --proxy http://host.crc.testing:8888 --noproxy <IP_ADDRESS>,localhost,localhost,<IP_ADDRESS>,.testing --insecure --proxy-insecure

curl: (7) Failed to connect to host.crc.testing port 8888: Connection refused

@praveenkumar:
User error 😊.  I didn't have my local proxy running.


chore: update RefillModalContent.tsx

bellow -> below

Thanx for RP
Fixed in another commit https://github.com/tonkeeper/ton-console/commit/54a70f27506e71634979c3dcee95bcbbb2f995f2


ipv6?

In my testing I just tried ipv6, and I am unable to connect with either an ipv6 address (with or without[]) nor a hostname that resolves to ipv6 address only.

with wfreerdp I succeeded with [fe80::94b0:d277:5e17:9f2c] but not with an hostname (AAAA record).

https://github.com/FreeRDP/FreeRDP/issues/1949

Well, while reading this thread again, I just noticed something... you said your hostname resolves to ipv6 only; so, if there is an issue with ipv6, it's normal the connection doesn't work anyway.
But that doesn't explains why wfreerdp didn't worked either, so also check your DNS :p

I released the fix because, even if it doesn't address your issue, it fixes another. Please tell me if it's ok.

I now tried IP v6 with 2.1.2. I can now get it to run with [] notation, but not with a hostname that resolves to IPv6 only – as with wfreerdp. Any idea how to debug that? Is there a log or trace of freerdp communication?
Thanks, Joachim

Nice the ipv6 is working :)
Regarding the hostname, check your DNS configuration.  try running nslookup as explained in my previous post.
You can enable the myrtille logs into <myrtille>\bin\Myrtille.Services.exe.config (https://github.com/cedrozor/myrtille/blob/master/DOCUMENTATION.md#configuration--performance-tweaks--debug), RemoteSessionLog key; don't forget to restart the myrtille service.
Also look to the windows event logs (system and application), and search for anything related to DNS.

nslookup reports the expected ipv6 address.
I enabled logging, however the wfreerdp.*.log files are length 0 (except for the one where I tried [] notation). All other logs untouched. Nothing in the system and application event logs that I can attribute to that test.

myrtille server and hyper-v server are in the same domain, even the virtual machine is a clone of a domain member. (Btw, domain is not shown for VM Bus connections, nor security).
ping -6 with NetBIOS name does not work (not sure it should, https://msdn.microsoft.com/en-us/library/jj663161.aspx), neither does ping -6 with FQDN, whereas ping with the address returned by nslookup (which also succeeds) does.
With Myrtille I am using the exact same URLs except exchanging server=xx, and it works for everything except a name that resolves to ipv6 only. Thus I don´t think it is about security options or authentication.

Ah sorry, I thought you were connecting a standard rdp server (not an Hyper-V VM).
Yes, the domain is not shown for a VM bus connection because it applies to the user whose authentication is delegated to the VM. The security protocol is not shown either because it applies to a standard rdp connection.
I have to recheck the VM bus connection using a hostname for the (Hyper-V) server address. For my previouses tests, I entered the server IP or just left the field empty (equivalent to "localhost"), because both Myrtille and Hyper-V servers are on the same machine. And I don't think "localhost" even goes through the DNS lookup; as a loopback address, it must be translated directly to <IP_ADDRESS> or [::1].
The wfreerdp code to resolve the hostname for a VM bus connection may differ from the one used for a standard rdp connection (even if I doubt it because it relies on tcp in both cases, just with a different port).
Just for a try, could you enable remote desktop access on the VM then connect it with myrtille through a standard rdp connection with the VM hostname?

So I installed myrtille on another machine of the domain. The VM Bus connection, with the Hyper-V host as server, worked in all cases :

NETBIOS
NETBIOS.home
FQDN

There must be something with your config :/ what is the error message (dialog box) into the browser after the connection fails?

*.home does not resolve in my network, and I think it shouldn´t.
The message is the following:

I only need to change the server= part of the URL to use an ipv4 alias and it succeeds.
I´d be happy to figure out what´s wrong or different...

You said the hyperv server address resolves to ipv6 only and you use an ipv4 for the server param into the url? and why does it resolves to ipv6 only? did you disabled ipv4?
On the myrtille machine, you said the nslookup of your hyperv machine works (fe80::94b0:d277:5e17:9f2c) and you can ping that ip. Is it still working?
If the connection with [fe80::94b0:d277:5e17:9f2c] works (&server=%5Bfe80%3A%3A94b0%3Ad277%3A5e17%3A9f2c%5D into the url), it must be an DNS issue...
Sorry, I'm running out of ideas :/

My network is mostly ipv4 and at present only exposes ivp4 to the outside. Internally I have some aliases in my DNS that resolve to ipv6 only in order to test software explicitly with ipv6. In other words, the hyper-v server hast multiple ipv4 aliases and one ipv6 alias resolving to the exact ipv6 address I used for testing..
I do understand you are running out of ideas. Actually I think it is either a local issue or a freerdp issue (as I can reproduce it with that as well). If only diagnostics would be better.. likely I have to go the hard way and debug wfreerdp.

About diagnostics, there is something you could do. Open a console window and go into the myrtille bin folder. There enter the following command lines (obviously replacing path and values by yours):
SET WLOG_APPENDER=FILE
SET WLOG_FILEAPPENDER_OUTPUT_FILE_NAME=wfreerdp.log
SET WLOG_FILEAPPENDER_OUTPUT_FILE_PATH=absolute\path\to\wfreerdp.log
SET WLOG_LEVEL=TRACE

wfreerdp /u:user /p:password/ /v:hostname /cert-ignore /vmconnect:vmguid /log-level:TRACE

This will not only bypass myrtille, but also set logs to a more precise level.
Then check wfreerdp.log.

If you want to check it, this should guarantee at least something in the logs (not 0 sized) and probably the root of the problem...

finally had time to dig deeper...
https://stackoverflow.com/questions/10767107/getaddrinfo-cannot-resolve-ipv6-google-com-but-nslookup-can provided the right solution of Netsh interface teredo set state enterpriseclient.

Congratulations, it was deep digging! did the log helped or did you had to debug wfreerdp?


Settings/notification: localization + refactoring

Added support localization for settings/notification page. Also I did some refactor

Some problem with check "Lint Helm chart / Lint chart (pull_request)".
@damiencarol can you help me?

@shipko Please rebase your branch against dev, we have fixed a problem with the helm charts

@StefanFl done!

@shipko seems good now. @StefanFl  could you check again?


Roadmap?

Does Sophia have a “road map” document covering what has been done so far and what is planned for future versions?

We don't have a proper Roadmap document, I'm afraid. The issue list serves as a list of "future features", while the README file gives a coarse summary of the "current features". Also, this is still a side project for everyone involved, so the development of new features is not driven by a strict planning, but more by fuzzier factors, such as the need of a given feature, or the urge to procrastinate ;-)
That being said, if you have a suggestion for the structure of such a roadmap file, a PR would be welcome...
Otherwise, feel free to open specific issues related to features/functionalities that you are wondering about, or would like to be added.

A lower barrier alternative to a road map document could be to add milestones, as proposed in #139.
As an example, I often structure issues into the following milestones:

Next release, in this case this would be "0.8". This allows everyone to see which issues are the most important (e.g. bugs) and what the progress is towards the next release (e.g. 15 of 18 issues closed).
"next", this includes all issues that are important to address, however not immediately prioritized but included in the release after that (e.g. 0.9).
"later" for issues that are identified as relevant but not that important.
"wontfix" for issues that are out of scope of the library or whose implementation would cause negative effects that outweigh the benefits.


Feature request: add posibility to pass regular expressions to the 'import-order' rules

Hi everyone,
Now we have the default groups, such as ["builtin", "external", "parent", "sibling", "index"], but would be better to add possibility to pass regular expressions to these groups definitions. For example, like this:
["buildin", "external", ".constants.js$", "index"]

It will improve code readability by adding customization of import groupings.
I just want to get approve from maintainers of this repository. Its not a problem to implement it and create PR by myself.

The current purpose of the order rule is to group by kind - what you're asking for would be to group by path. I'm not sure if that's a particularly useful enhancement.

@ljharb Thank for your response.
So, if you think that this proposal is unnecessary, lets close this issue.

@ljharb @coreyfarrell I agree with this idea. In that case, we group imports by kind and definition of these groups will be paths.

Regex-defined import groups would be very helpful, especially in codebases that use path aliases (such as in Webpack.)
I would love to require that all imports from a particular path alias are grouped together, as follows:
import moment from 'moment';

import a from 'foo-files/path/to/a.js';
import b from 'foo-files/path/to/b.js';

import x from 'bar-files/path/to/x.js';
import y from 'bar-files/path/to/y.js';

I also would like to have more granular grouping since we use aliases via the module-resolver babel plugin. 🙏

A custom group would be very helpful - currently I'm working in a monorepo that has several packages included. When importing one package into another we want to import by builtin, external, custom-packages, parent, sibling, index
These custom packages are installed using link-local so they're currently seen as external modules. Being able to capture these as a custom group via regex would be a huge help!

Related: https://github.com/benmosher/eslint-plugin-import/issues/674

I'd really like to see this merged. Such a good idea

+1
would be really nice to have such feature

I'd like to be able to define a css group, anything ending with /\.s?css$/ should be sorted last.

Between #1570 and #1386 this seems like maybe it's already possible?


Type error of the prop “to” Link component

Describe the bug
I am currently trying to use the Link component to visit the home page and I have 2 problems, which are typescript typing problems:

if I set only the path as “/” I get the following typescript error:

if I put the prop to value as typescript says it should go now I get the following type error:

I don't understand how I should put the path in the to prop for the Link component, as I always get a type error anyway.
Your Example Website or App
I cannot reproduce it in the example test environment.
Steps to Reproduce the Bug or Issue

Create a project using vite
Install tanstack router
Put the required files inside src
Try to use Link componente with the prop "to"

Expected behavior
Correct typing for this component prop.
Screenshots or Videos
No response
Platform

OS: Windows
Browser: Edge
Version: 124.0.2478.105

Additional context
No response

it looks like you don't have any real route, just the  __root.tsx.
add an index.tsx route next to it and you should be able to create a <Link to="/">

If you want this looked into further, please open a new issue with a valid reproduction of the bug you are facing.


[CHALLENGE SUBMISSION] - Challenge 18

Please provide the following information for your submission:
What is your name? (First, Last)
Maciej Skuratowski
Where is your GitHub Repo ?(With your challenge solution)
https://github.com/mskuratowski/25-days-of-serverless/tree/master/challenge-18
What Challenge is this for? (Challenge number between 1 and 25)
18
(Optional) Anything else we should know? e.g., language used, location, blog post?
C#, Azure Functions, Blob Storage, Blob Trigger, Table Storage, Table Trigger

From all of us on the Cloud Advocacy team at Microsoft, thank you for creating this issue!
Have a Happy Holiday season!
Feel free to share your solution on Twitter with the tag #25DaysOfServerless


output the actual error message when populating seed data fails

/cli/commands/run/index.js
Line 91
if (error && error.includes("ERROR")) {
        console.log(error)
      console.log(
        chalk.red`Failed to populate database with seed data. This might happen if you have recently updated your migrations, please modify your seed data to match new schema changes.`
      );
    }

#29 thanks @muhammadqazi


libtool: workaround ubuntu libtool issue

Ubuntu and Debian patched libtool to set link_all_deplibs=no.
Apparently this goes against what the libtool documentation
states/recommends.
Setting link_all_deplibs causes libtool to not properly track
down all the inter-dependencies for you.  That is, if A depends
on B and B depends on C, then libtool will not link A to C
automatically, even though it is required.  Oddly, this only
happens when both static and shared libraries are compiled
at the same time.
To workaround this, sed replace link_all_deplibs=no to
link_all_deplibs=yes in the configure generated libtool
wrapper.
Fixes #377
Signed-off-by: U. Artie Eoff<EMAIL_ADDRESS>

Preference is to explain this in an FAQ.


Remove Storage Swagger Readme Transforms

During the push to GA track 2, several transforms were added to the readme which need to be migrated to the swagger in azure-rest-api-specs.  This should be coordinated across all of the langauge swaggers.

Apply any bugfixes (ie. batch return code)
For client side renames, we should try to use x-ms-client-name

Once this is done, there should be no diffs in the generated code.

I am not quite clear about the context here. Could you be more elaborate?
And probably One SDK Team should work on this if needed?


chore: fix some comments

fix some comments

For security purposes, we don’t review PRs from private GitHub accounts.


python310Packages.pylaunches: 1.2.2 -> 1.3.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pylaunches is: "Python module to get information about upcoming space launches"
meta.homepage for python310Packages.pylaunches is: "https://github.com/ludeeus/pylaunches"
meta.changelog for python310Packages.pylaunches is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.3.0 with grep in /nix/store/ja698zwr54jlvvpsmwz27p680ngjqg81-python3.10-pylaunches-1.3.0

found 1.3.0 in filename of file in /nix/store/ja698zwr54jlvvpsmwz27p680ngjqg81-python3.10-pylaunches-1.3.0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
python310Packages.pylaunches
python39Packages.pylaunches

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ja698zwr54jlvvpsmwz27p680ngjqg81-python3.10-pylaunches-1.3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.pylaunches https://github.com/r-ryantm/nixpkgs/archive/4aeecf62b8e8f80b837a8d5f54ab9a5382998071.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ja698zwr54jlvvpsmwz27p680ngjqg81-python3.10-pylaunches-1.3.0
ls -la /nix/store/ja698zwr54jlvvpsmwz27p680ngjqg81-python3.10-pylaunches-1.3.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.pylaunches
python39Packages.pylaunches

Maintainer pings
cc @fabaff for testing.

@ofborg eval


Add -DMXNET_USE_OPENMP to Makefiles so runtime info gets updated accordingly

Description
Fixes OPENMP info in runtime features.
https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/runtime.py
This would be also needed to fix BLAS flags.
https://github.com/apache/incubator-mxnet/pull/15424

@mxnet-label-bot add [Installation, Makefile, pr-awaiting-review]

This is a bit of a departure of how we are testing since we are not testing depending on specific build flags (other than GPU and CPU which we could remove now thanks to libinfo). In that case we should also do all the permutation builds and check the build flags and also for Make and Cmake. This means adding quite a number of recompilations to test this. I'm not sure is worth the increased cost and trouble. Is it justified for you?

@mxnet-label-bot add Bug

@mxnet-label-bot add [Bug]


chore: Update registry.access.redhat.com/ubi9/s2i-base Docker digest to a307e80

This PR contains the following updates:

Package
Type
Update
Change

registry.access.redhat.com/ubi9/s2i-base
final
digest
2fc4c2d -> a307e80

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

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

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


span: allow ambiguous_negative_literals

This was bad timing. The lang team just stabilized (in nightly) a new
deny-by-default lint, named ambiguous_negative_literals, which
triggers an error for things like -1.hour(). While such things can be
confusingly ambiguous in some cases, in Jiff, -1.hour(), (-1).hour()
and -(1.hour()) are all, very intentionally, precisely equivalent.
For now we just allow the lint. If the lint stays, we'll likely want
to recommend allowing it in the Jiff docs.
See: https://github.com/rust-lang/rust/pull/121364

Ug. There's also a billion doc tests that will need to have this lint allow'd too.


[WFCORE-703] Properly resolve fields of OBJECT attributes and elements of complex LIST attributes

I'm going to add a "Hold" label to this as it should have some unit tests added. But I want to see the pull player test results.

Windows Build 1405 is now running using a merge of dfc1c90f103f0f63bc1a3520791165b2d9ddab6a

Core - Full Integration Build 1001 is now running using a merge of dfc1c90f103f0f63bc1a3520791165b2d9ddab6a

Linux Build 1855 is now running using a merge of dfc1c90f103f0f63bc1a3520791165b2d9ddab6a

Windows Build 1405 outcome was FAILURE using a merge of dfc1c90f103f0f63bc1a3520791165b2d9ddab6a
Summary: Tests failed: 7 (7 new), passed: 3102, ignored: 69 Build time: 0:20:45
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.manualmode.management.cli.CustomVaultInCLITestCase.testWrongVaultPassword: <no details avaliable>

org.jboss.as.test.manualmode.management.cli.CustomVaultInCLITestCase.testNonExistingVaultPassword: <no details avaliable>

org.jboss.as.test.manualmode.management.cli.CustomVaultInCLITestCase.testRightVaultPassword: <no details avaliable>

org.jboss.as.test.manualmode.vault.CustomVaultInModuleTestCase: <no details avaliable>

org.jboss.as.test.manualmode.vault.VaultPasswordsInCLITestCase.testWrongVaultPassword: <no details avaliable>

org.jboss.as.test.manualmode.vault.VaultPasswordsInCLITestCase.testRightVaultPassword: <no details avaliable>

org.wildfly.core.test.standalone.mgmt.HTTPSConnectionWithCLITestCase.testTrustedCLICertificate: <no details avaliable>

Linux Build 1855 outcome was SUCCESS using a merge of dfc1c90f103f0f63bc1a3520791165b2d9ddab6a
Summary: Tests passed: 3109, ignored: 69 Build time: 0:23:04

Core - Full Integration Build 1001 outcome was FAILURE using a merge of dfc1c90f103f0f63bc1a3520791165b2d9ddab6a
Summary: Tests failed: 2 (2 new), passed: 2859, ignored: 374, muted: 2 Build time: 0:52:50
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.security.callerprincipal.GetCallerPrincipalTestCase.testStatelessLifecycle: <no details avaliable>

org.jboss.as.test.integration.ejb.timerservice.mgmt.PersistentIntervalTimerManagementTestCase.testResourceExistence: <no details avaliable>

retest this please

Windows Build 1416 is now running using a merge of dfc1c90f103f0f63bc1a3520791165b2d9ddab6a

Linux Build 1867 is now running using a merge of dfc1c90f103f0f63bc1a3520791165b2d9ddab6a

Core - Full Integration Build 1012 is now running using a merge of dfc1c90f103f0f63bc1a3520791165b2d9ddab6a

Windows Build 1416 outcome was SUCCESS using a merge of dfc1c90f103f0f63bc1a3520791165b2d9ddab6a
Summary: Tests passed: 3109, ignored: 69 Build time: 0:21:03

Linux Build 1867 outcome was FAILURE using a merge of dfc1c90f103f0f63bc1a3520791165b2d9ddab6a
Summary: Tests failed: 1 (1 new), passed: 3108, ignored: 69 Build time: 0:24:25
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.manualmode.deployment.DeploymentScannerUnitTestCase.testStartup: <no details avaliable>

Core - Full Integration Build 1012 outcome was SUCCESS using a merge of dfc1c90f103f0f63bc1a3520791165b2d9ddab6a
Summary: Tests passed: 2861, ignored: 374, muted: 2 Build time: 0:50:16

Windows Build 1437 is now running using a merge of 788d05d2e39cc5892526a28118b62a7ef927bb79

Linux Build 1881 is now running using a merge of 788d05d2e39cc5892526a28118b62a7ef927bb79

Core - Full Integration Build 1026 is now running using a merge of 788d05d2e39cc5892526a28118b62a7ef927bb79

Windows Build 1437 outcome was SUCCESS using a merge of 788d05d2e39cc5892526a28118b62a7ef927bb79
Summary: Tests passed: 3109, ignored: 69 Build time: 0:21:21

Linux Build 1881 outcome was SUCCESS using a merge of 788d05d2e39cc5892526a28118b62a7ef927bb79
Summary: Tests passed: 3109, ignored: 69 Build time: 0:22:44

Core - Full Integration Build 1026 outcome was FAILURE using a merge of 788d05d2e39cc5892526a28118b62a7ef927bb79
Summary: Tests failed: 1 (1 new), passed: 2865, ignored: 374, muted: 1 Build time: 0:52:11
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.client.descriptor.EJBClientDescriptorTestCase.testLocalAndRemoteReceiversClientConfig: <no details avaliable>

retest this please

Windows Build 1440 is now running using a merge of 788d05d2e39cc5892526a28118b62a7ef927bb79

Core - Full Integration Build 1029 is now running using a merge of 788d05d2e39cc5892526a28118b62a7ef927bb79

Linux Build 1885 is now running using a merge of 788d05d2e39cc5892526a28118b62a7ef927bb79

Windows Build 1440 outcome was SUCCESS using a merge of 788d05d2e39cc5892526a28118b62a7ef927bb79
Summary: Tests passed: 3106, ignored: 71 Build time: 0:20:23

Linux Build 1885 outcome was SUCCESS using a merge of 788d05d2e39cc5892526a28118b62a7ef927bb79
Summary: Tests passed: 3106, ignored: 71 Build time: 0:22:50

Core - Full Integration Build 1029 outcome was FAILURE using a merge of 788d05d2e39cc5892526a28118b62a7ef927bb79
Summary: Tests failed: 1 (1 new), passed: 2866, ignored: 374 Build time: 0:48:37
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.multinode.ejb.timer.database.DatabaseTimerServiceMultiNodeTestCase.testEjbTimeoutOnOtherNode: <no details avaliable>

I removed the Hold label from this. I believe Darran needs this and I doubt I'll have time to add more tests today.


Mail view has $message, but $message cannot give subject

If we use
Mail::send('templ.blade.php', [], function($message) {
 $message->subject('foo bar baz');
 }

The mail template gets a variable $message to use for attachments. One call also call $message->getSubject() in the template, but this will always return null.
I think this has to do with the order that send() uses for the callback and the template processing:
https://github.com/laravel/framework/blob/781719746271098ed5049023921c084392494102/src/Illuminate/Mail/Mailer.php#L163
That's rather unfortunate and counter-intuitive. Of course one can use a variable for the subject, and pass it to the view like in other situations, but sometimes you have to do this a lot of times and this gets cumbersome, but more importantly, in theory the subject could depend on the $message.

We're open to Pull Requests if you wish to make it work that way.
Closing this since it's not a bug report, but feel free to open a discussion on the Internals Repo, it's the place for proposals and discussions.


Fix Application Type

This try to resolve the issue #34586.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: phenixita sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@mrbullwinkle - Could you review the proposed changes? Thanks!

#sign-off

Hi @phenixita - Your content update has been approved. However, the image that you modify in the PR is no longer referenced in the article, and it's been removed from the repository. Could you remove the image articles/azure-monitor/learn/media/java-quick-start/2createjavaapp.png from your pull request? Then, we can merge the content update. Thanks.

Hi Kristine, I see that Jak merged the PR.
Do you need anything else from me?
Best,
Michele
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Kristine Toliver<EMAIL_ADDRESS>Sent: Monday, August 12, 2019 6:11:18 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Michele<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Fix Application Type (#34588)
Hi @phenixitahttps://github.com/phenixita - Your content update has been approved. However, the image that you modify in the PR is no longer referenced in the article, and it's been removed from the repository. Could you remove the image articles/azure-monitor/learn/media/java-quick-start/2createjavaapp.png from your pull request? Then, we can merge the content update. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/34588?email_source=notifications&email_token=AEHXC7CHTC5GODSL447LSBLQEGDSNA5CNFSM4H6KIML2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DA5YA#issuecomment-520490720, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEHXC7FTU224S4SB45MZZXDQEGDSNANCNFSM4H6KIMLQ.

No, Michele. It’s all set. Thanks for asking.
Kristine
From: Michele<EMAIL_ADDRESS>Sent: Tuesday, August 13, 2019 12:56 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Kristine Toliver (Aquent LLC<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Fix Application Type (#34588)
Hi Kristine, I see that Jak merged the PR.
Do you need anything else from me?
Best,
Michele
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Kristine Toliver <notifications<EMAIL_ADDRESS>Sent: Monday, August 12, 2019 6:11:18 PM
To: MicrosoftDocs/azure-docs <azure-docs<EMAIL_ADDRESS>Cc: Michele <michele.ferracin<EMAIL_ADDRESS>Mention <mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Fix Application Type (#34588)
Hi @phenixitahttps://github.com/phenixita - Your content update has been approved. However, the image that you modify in the PR is no longer referenced in the article, and it's been removed from the repository. Could you remove the image articles/azure-monitor/learn/media/java-quick-start/2createjavaapp.png from your pull request? Then, we can merge the content update. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/34588?email_source=notifications&email_token=AEHXC7CHTC5GODSL447LSBLQEGDSNA5CNFSM4H6KIML2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DA5YA#issuecomment-520490720, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEHXC7FTU224S4SB45MZZXDQEGDSNANCNFSM4H6KIMLQ.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F34588%3Femail_source%3Dnotifications%26email_token%3DAEUEK44LQM6MZDOOZD2XX2DQEJSIJA5CNFSM4H6KIML2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4E3L7I%23issuecomment-520730109&data=02|01|v-krmaxw%40microsoft.com|51cae949a8204ba2d02808d71fc3a7d6|72f988bf86f141af91ab2d7cd011db47|1|0|637012797501163965&sdata=Ngpb4GB%2FQBMAfL8JRh6FuFX3HKpexsOY6xBWbiATJPo%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEUEK4Z4PJ2SSUJ575MOHNDQEJSIJANCNFSM4H6KIMLQ&data=02|01|v-krmaxw%40microsoft.com|51cae949a8204ba2d02808d71fc3a7d6|72f988bf86f141af91ab2d7cd011db47|1|0|637012797501173966&sdata=TdNSHNLAXqM2NtaoPmaN0U12WPLc1ZLi6HdXmSDQBO4%3D&reserved=0.


Different color palette when using the same image

There is a fairly deep-buried problem, the cause of which is either in QuantizerMap or in QuantizerWu.
The crux of the problem is that when using the same image, the code generates completely different color palettes each time. This is not a standard behavior that has been tested in the Material Theme Builder and the Java version of the library.

HashMap was a problem.


Add Collapse All/Expand All button to PR diffs. Closes #226

Really painful to review PRs in Babylon like this one when a large number of fixture files have changed in the same commit, but I just want to start by skimming the code. This helps.
Let me know if anyone wants to change the placement of the button. I didn't put it in the diffbar (the one that floats on scroll) because we are already tight on space for the feature that shows the file currently being viewed.

@hneiva @mfpinhal Please try it out and give feedback.

@hneiva Nice catch - guess I didn't scroll far enough :/. Will get a fix in.

What is the state of this one? It would be nice to have :)

@DrewML Any interest in finishing this? :)

@DrewML Any interest in finishing this? :)

Ugh, yeah - thanks for the ping. Been neglecting pending OSS stuff recently. Will tackle this soon :)

GitHub has added collapsing files with a button on the left on every file. We should probably use that and just plug on top of it for any such functionality like:

able to click on the whole bar
keyboard shortcut
button/shortcut for collapse/expand all

Sorry all - been neglecting a lot of OSS recently. Don't have the time to commit to finishing this out, so I'm going to close it out.


chore: Add arbitrum chain addresses

@perryrare Go ahead and take this out of draft

@perryrare Go ahead and take this out of draft

Done


Bosh VMs are unable to communicate with bosh director on stemcell v1015

The Bosh agent is unable to communicate with director on stemcell v1015.
Probably due to stemcell issue around the registry interaction / support.
Impact:
Not possible to use bosh for doing any deployments.

Hi @alexwo This issue has been fixed by release 16 and stemcell 1016. Please update CPI 16 from #24
and stemcell 1016 from the following address:
Chinese Mainland：http://bosh.oss-cn-hangzhou.aliyuncs.com/light-bosh-stemcell-1016-alicloud-kvm-ubuntu-trusty-go_agent.tgz
Hong Kong and Oversea: http://bosh-(regionId).oss-(regionId).aliyuncs.com/light-bosh-stemcell-1016-alicloud-kvm-ubuntu-trusty-go_agent.tgz, like http://bosh-eu-central-1.oss-eu-central-1.aliyuncs.com/light-bosh-stemcell-1016-alicloud-kvm-ubuntu-trusty-go_agent.tgz
Release 16 sha1: dc63a7b28fa77294ae4c7305c85d9590ca690cd9
Thanks a lot

The newest cpi and stemcell (v1016) doesn't not solve our issue with deployments, the agent still won't start on "compilation" vm.
So we see in logs only countless amounts of attempts of bosh director to communicate with agent:
D, [2017-12-31T14:50:52 #28944] [compile_package(golang/03d27673d09c82e7a4183d651e6c293b4a501de7, bosh-alicloud-kvm-ubuntu-trusty-go_agent/1016)] DEBUG -- DirectorJobRunner: SENT: agent.2517d24b-30b4-4231-963b-469658c085f2 {"protocol":3,"method":"ping","arguments":[],"reply_to":"director.7c315cd4-dae6-42f2-9b9b-7cdeb23ee066.2517d24b-30b4-4231-963b-469658c085f2.aa0fbc0e-22cb-4b4f-ac10-7c6bc25d7503"}
We also tried to update bosh director with newest cpi/stemcell and in this case it also had a similar issue with agent; bosh-init fails with the following error:
Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-alicloud-kvm-ubuntu-trusty-go_agent/1016'... Finished (00:00:00)
Started deploying
Waiting for the agent on VM 'i-gw82jrf5qf5u5ka83p4v'... Finished (00:00:00)
Stopping jobs on instance 'unknown/0'... Finished (00:00:01)
Unmounting disk 'd-gw82jrf5qf5u56gxbpvf'... Finished (00:00:10)
Deleting VM 'i-gw82jrf5qf5u5ka83p4v'... Finished (00:00:38)
Creating VM for instance 'bootstrap-bosh/0' from stemcell 'm-gw8czf04a5mdvqjpdksd'... Finished (00:01:28)
Waiting for the agent on VM 'i-gw8bkq68l1qs6s2gnkf7' to be ready... Failed (00:09:59)
Failed deploying (00:12:24)
Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)
Deploying:
Creating instance 'bootstrap-bosh/0':
Waiting until instance is ready:
Post https://mbus:@<IP_ADDRESS>:6868/agent: dial tcp <IP_ADDRESS>:6868: getsockopt: connection refused
Exit code 1
So it means that v1016 stemcell introduces a regression, because with the previous version (v1015) we were able to deploy bosh director at least.
Here is a table of combinations of cpi/stemcells versions we're tested:
CPI v1015 + Stemcell v1015 -> Bosh director can be deployed -> Component/Compilation vm is not working due agent issue
CPI v1016 + Stemcell v1015 -> Bosh director can be deployed -> Component/Compilation vm is not working due agent issue
CPI v1016 + Stemcell v1016 -> Bosh director is not working due agent issue
CPI v1016 + Stemcell v1016 -> Bosh director is not working due agent issue


fix(config.ts): invalid default config

Resolving #352 setting initial value of OCO_AZURE_ENDPOINT to undefined instead of '', where it causes errors while trying to set any other config upon initial installation.

I made the pull request based on the guidelines of the CONTRIBUTING.md file and it generated this large amount of changes, the bug fix consists of one line change. If you need anything else feel free to ping me.
@di-sukharev

Yeah, I recently installed oco and this was a very weird first experience

i will test and merge this tomorrow, gonna be shipped in the next version

@di-sukharev I encountered the same issue after updating from version 3.0.1 to 3.1.2. Upon updating, the following environment variables are undefined:
OCO_OPENAI_API_KEY=api_key
OCO_ANTHROPIC_API_KEY=undefined
OCO_AZURE_API_KEY=undefined
OCO_GEMINI_API_KEY=undefined
OCO_TOKENS_MAX_INPUT=undefined
OCO_TOKENS_MAX_OUTPUT=undefined
OCO_OPENAI_BASE_PATH=undefined
OCO_GEMINI_BASE_PATH=undefined
OCO_DESCRIPTION=false
OCO_EMOJI=true
OCO_MODEL=gpt-4o-mini
OCO_LANGUAGE=en
OCO_MESSAGE_TEMPLATE_PLACEHOLDER=$msg
OCO_PROMPT_MODULE=conventional-commit
OCO_AI_PROVIDER=openai
OCO_GITPUSH=true
OCO_ONE_LINE_COMMIT=false
OCO_AZURE_ENDPOINT=undefined
OCO_TEST_MOCK_TYPE=commit-message
OCO_FLOWISE_ENDPOINT=:
OCO_FLOWISE_API_KEY=undefined
OCO_OLLAMA_API_URL=undefined
OCO_WHY=true

As a result, oco throws a type error related to max_token.

this is definitely a bug, i fixed it in the new version, but its still not
deployed. for now please set the configs again

hey @di-sukharev
just updated and the undefined value for OCO_TOKENS_MAX_OUTPUT is getting errors.
400 Invalid type for 'max_tokens': expected an integer, but got a boolean instead.

gonna be fixed here https://github.com/di-sukharev/opencommit/pull/408


check env variables for profile configs

This could work by:

Specifying a path to a valid profiles.yml file
Specifying a JSON blob containing valid profiles info
Specifying config-level options (eg. DBT_PROFILE_USER='...')

I (and others) would love to see this.  Our ops team wants us to avoid writing arbitrary flat files as a part of the deploy process, and we can't check in secrets to our repositories.

Specifying a path to a valid profiles.yml file

This seems little different than the --profiles-dir option.  While not a bad idea, it doesn't solve the problem

Specifying a JSON blob containing valid profiles info

This would definitely work, but might get unwieldy depending on how many connections you have

Specifying config-level options (eg. DBT_PROFILE_USER='...')

This again could get hairy if you have multiple connections, but it's closest to what I have in mind.  I could also imagine something where in a secrets-free profiles.yml, there's a pass-env-var-name: key that lets you pluck that secret for an arbitrary environment variable.

This is really great feedback, thanks @enkeboll.
Here's where my head goes:
If we parse the profiles.yml file as jinja code, we could put an env function into the jinja context. Then you could somewhat naturally pull in arbitrarily named environment variables. Eg:
my-profile:
  outputs:
    prod:
      type: redshift
      host: "{{ env('DBT_HOST') }}"
      user: "{{ env('DBT_USER') }}"
      pass: "{{ env('DBT_PASS') }}"
      port: 5439
      dbname: analytics
      schema: analytics
      threads: 1
  target: prod

Definitely open to alternatives here though.

Love it!  I think that's an ideal solution.


nixos-rebuild switch fails when targeting aarch64 from x86 machines

Describe the bug
G'day, c1bc8de9e3f174853df69acdc2fa594d34d5417c introduces a nixos-rebuild failure when --target-host/--build-host are set to a aarch64-linux host and you're running the command on an x86_64-linux machine.
Prior to 22.05 nixos-rebuild did not "reexec" when using flakes which means the script didn't try to nix build a derivation which has the system attribute as aarch64.
e.g. REXEC will atttempt to execute a derivation:
$ nix --extra-experimental-features nix-command flakes build --out-link /tmp/nix-shell.gBYKHm/nixos-rebuild.ZFCrK5/nixos-rebuild .#nixosConfigurations."my-aarch64-system".config.system.build.nixos-rebuild --verbose --show-trace
on an x86 platform causing the following error.
error: a 'aarch64-linux' with features {} is required to build '/nix/store/nmx9j676r0hf3f20c4jmhsvhnq8slwjk-nixos-rebuild.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}

This will only trigger on $canRun commands like switch|boot|test
Steps To Reproduce
Steps to reproduce the behavior:

Attempt to run nixos-rebuild --target-host aarch64-machine --build-host aarch64-machine --flake .#aarch64-machine from an x86 box
Produces the above error.

Expected behavior
nixos-rebuild shouldn't attempt to reexec a systems flake if its architecture differs from its own OR nixos-rebuild should be built on the target machine :man_shrugging:
Workaround
You can bypass the reexec by adding the --fast flag.
Notify maintainers
@Profpatsch meta.maintainers
@enzime commit author
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Host machine:
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.46, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.10.0pre20220610_45ebaab`
 - channels(pyle): `""`
 - channels(root): `"nixos-21.05.2362.b09c989b82f"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Target machine (since upgraded to 22.05 but previously on 21.11 until --fast workaround used:
 - system: `"aarch64-linux"`
 - host os: `Linux 5.10.115, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - channels(root): `"nixos-21.05.2501.94c989365d5"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

If you need any more details just let me know :)

Another workaround could be adding the aarch64 host as a remote builder on the source host.
Or you could try using binfmt stubs to emulate, but if you’re targeting a remote host anyway then it’s probably better to have that host do the building.

Another workaround could be adding the aarch64 host as a remote builder on the source host.

This will produce a nixos-rebuild script whose shebang points to an aarch64 bash, which can't run natively on the (e.g. x86_64-linux) source host. Not at all if it's a macOS source host.

Potential solutions:

Put a function in system.build that returns an executable nixos-rebuild for any given system. Pass the value of nix eval --expr --impure builtins.currentSystem to the function.
Behaves as --fast by default and not reexec nixos-rebuild. I think it's an acceptable default behavior. nixos-rebuild could check that it supports all the features a NixOS configuration declares that it needs (new compatibility management feature).

This PR moves more responsibilities to the target host: https://github.com/NixOS/nixpkgs/pull/344407


Even when Default Terminal Application is Windows Terminal, Open Windows PowerShell (Administrator) as Windows Console Host.

Windows Terminal version (or Windows build number)
10.0.21390.0, 1.9.1523.0
Other Software
No response
Steps to reproduce

Win + X to show System Menu
Click Windows PowerShell (Administrator)
Allow UAC (Dialog icon is PowerShell icon)

Expected Behavior
Open Windows PowerShell (Administrator) in Windows Terminal.
Actual Behavior
Open Windows PowerShell (Administrator) as Windows Console Host.

Better option: Show both options as sub-entries for the "Open Powershell here".  I think this is something the Powershell will have to address as they are the ones to create the entries in Start Menu, Explorer, etc Best bet is to migrate this issue to their repo.

Unfortunately, this is by design right now. Due to a limitation in the app platform it is impossible for Terminal to be "discovered" as the handler when the application that needs a terminal is running elevated.

/dup #10276


More concrete types for proxies.ts

Use more concrete types in proxies.ts. Right now it's [key: string] which means we have to add a new more concrete type in js-tableland

We should also add chain ID to proxies.

And... tableland "testnet" / "staging"

Plus one to this issue, plus adding the chain IDs means we aren't hand-coding this information in the sdk. It also means we'll get typed network names through our sdk and cli libs.


Create 24-08-23-manipulator-on-dynamixel

blog for 1st week of eklavya from team manipulator on dynamixel

File in wrong folder, rectify that


Exists seems to ignore timeout in Firefox for lazily added components using knockout.js

What is your Test Scenario?
Testing a Knockout.js application using TestCafe (latest 23.3-alpha-4 and earlier versions)
html has the following structure:
<html>
<!-- ko if: someCondition -->
show-content
<-- /ko -->
</html>

What is the Current behavior?
Parts of the frontend are added lazily to the website. The DOM gets manipulated several times in the first few hundred ms.
Timeout set for exists seems to be ignored - the test fails immediately without waiting for timeout.
await t.expect(Selector('mySelector').exists).ok({ timeout: 5000 });

In the beginning mySelector is not in the dom, but will be added before timeout.
The test works fine in Chrome
The test works fine if I run this line beforehand:
await t.expect(Selector('body').exists).ok()
await t.expect(Selector('mySelector').exists).ok(); // no timeout needed

What is the Expected behavior?

Selector is found after it got added to the DOM within the specified timeout.
Test does not fail before timeout elapsed.

What is your web application and your TestCafe test code?
I cannot share it but can look into creating a smaller example if necessary.
Your Environment details:

testcafe version:                 0.23.3-alpha.4 and latest releases
node.js version:                   8.11.4
command-line arguments:  "testcafe firefox -e test.ts"
browser name and version: Firefox 64.0.0
platform and version:          Linux Ubuntu 18.10
other:                                   Test works fine on Chrome.

I was not able to reproduce the issue in a small example without the Knockout framework. I would appreciate it if you create a small project which demonstrates the problem.

Ok will do!

I will close the issue because no activity has been encountered for a long time.
Feel free to reopen the issue if the problem persists and you can provide an example to reproduce it.


Fix travis-ci.com build badge links

It looks like the links of build badges for travis-ci.com have recently become broken.

The fix has been implemented for the repositories on hub.docker.com. @leojonathanoh


editor-contrib: get initial selections on content change

Using the ICodeEditor interface there is no way of knowing what are the selections (and where the cursor is) after a content change.
Explanation:
Editor contributions (registerEditorContribution) and editor actions (registerEditorAction) receive an instance of ICodeEditor to work with.
Using this interface you can listen for content changes to a document using onDidChangeModelContent.
You can also listen for changes to the cursor selections using onDidChangeCursorSelection.
When the content changes, it might also cause the selections to change, but it also might not:

Typing a will trigger a content change followed by a selections change,
Pressing Delete when the cursor is before a letter will trigger a content change without a selections change.

The problem is that using the ICodeEditor interface there is no way of knowing what is the state of the selections after a content change.

If the content change does not change the selections - we need to look at the selections at the time of the content change event.
If the content change does change the cursor - we need to wait for the first selections change event after the content change event fires, and then look at the selections.

There is also no way of knowing whether a text change changed the cursor, so this is impossible.
Use cases:

After using undo not only does the content revert back, also the cursor moves back to where it was when the change was made.
So to implement undo as a contrib you need to know where the selections are after each content change.

The command cursorUndo is an editor contrib.
It keeps track of selection changes and can undo them, and its undo stack is flushed when the content changes.
This means that after a content change it needs to know where the selections are, to be able to restore them after the selections change and a cursor-undo is requested.
The lack of such an API forces the current implementation to assume a content change always causes a selections change, thus causing a bug - #82535

Footnote:
#82535 depends on this issue being fixed as previously mentioned in use-cases.

Suggestions for solutions to this problem:

Trigger a selection-change event after the content changes even when the selections don't change.
Why it is wrong: The selection-change event is assumed (I think) to only be triggered when the selections actually change, so code listening to selection-changes will get fake selection changes.

Adding the state of the selections after a change to the content-change event object, and never triggering a selection-change event even if the selections do change.
Why it is wrong: Code listening to selection-changes will not get notified about all selection changes.

Adding the state of the selections after a change to the content-change event object, and keeping the current behavior of triggering a selections-change only if it really changed.
This is what I think the solution is.

Any other suggestions or should I implement my solution?

Code pointers:
The main participants seem to be:

src/vs/editor/common/controller/cursor.ts
src/vs/editor/common/model/textModel.ts
src/vs/editor/common/model/editStack.ts

It looks like the Cursor class has three methods that eventually can cause one or both of the events in question to fire:

trigger
setStates
executeEdits

The content-change event is fired by TextModel._emitContentChangedEvent, and the selections-change event is fired by Cursor._emitStateChangedIfNecessary.

Thank you for the analysis, I managed to create a localized fix where the cursor state is read also in the content change listener.

@alexandrudima as mentioned in #82535, this is still a problem and this issue should be re-opened.


Proposal - podcast:remoteItem tag

Proposal: <podcast:remoteItem> tag
The intent of this proposal is to provide a tag that allows another item to be referenced without outright copying it outright. This should be an item in another feed entirely.
Cross-app playlists
This allows one to provide lists of other items which one does not own copyright to, such as playlists of various different types of audio/video mediums.  In combination with list mediums, one can use a feed made entirely of <podcast:remoteItem> tags and share them in a manner that allows applications to recognize them as playlists.
<rss xmlns:podcast="https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md" version="2.0">
    <channel>
        <title>My favorite v4v music</title>
        <description>This is a playlist of some of my favorite v4v music</description>
        <link>https://example.com/rss-music-playlist.xml</link>
        <docs>http://blogs.law.harvard.edu/tech/rss</docs>
        <language>en</language>
        <generator>Alecks Gates wrote this by hand in Joplin</generator>
        <pubDate>Thu, 27 Oct 2022 22:56:54 -0500</pubDate>
        <lastBuildDate>Thu, 27 Oct 2022 22:56:54 -0500</lastBuildDate>
        <podcast:medium>musicL</podcast:medium>
        <podcast:remoteItem itemGuid="https://podcastindex.org/podcast/4148683#1" feedGuid="a94f5cc9-8c58-55fc-91fe-a324087a655b" />
        <podcast:remoteItem itemGuid="https://podcastindex.org/podcast/4148683#3" feedGuid="a94f5cc9-8c58-55fc-91fe-a324087a655b" />
        <podcast:remoteItem itemGuid="tag:soundcloud,2010:tracks/319791095" feedGuid="a5ad6f3f-a279-504c-bc6a-30054e6b50e1" />
        <podcast:remoteItem itemGuid="tag:soundcloud,2010:tracks/319789777" feedGuid="a5ad6f3f-a279-504c-bc6a-30054e6b50e1" />
    </channel>
</rss>

Cross-app clips
Using a the same concept as playlists, one can combine the <podcast:remoteItem> with <podcast:soundBite> to share user-generated clips as RSS feeds and similarly share them with in a manner other apps can recognize them as such.
<rss xmlns:podcast="https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md" version="2.0">
    <channel>
        <title>agates' public clips on Podverse</title>
        <description>This is a playlist of podcast clips created by agates on Podverse</description>
        <link>https://podverse.fm/profile/ZTfsvQRLw</link>
        <docs>http://blogs.law.harvard.edu/tech/rss</docs>
        <language>en</language>
        <generator>Alecks Gates' handwritten python</generator>
        <pubDate>Fri, 20 May 2022 20:15:00 -0500</pubDate>
        <lastBuildDate>Fri, 20 May 2022 20:15:00 -0500</lastBuildDate>
        <podcast:medium>podcastL</podcast:medium>
        <podcast:remoteItem itemGuid="PC2040" feedGuid="917393e3-1b1e-5cef-ace4-edaa54e1f810" medium="podcast">
            <podcast:soundbite startTime="3707" duration="36">It was longer than a Glenn Greenwald article ... but I read this all the way through and enjoyed it</podcast:soundbite>
        </podcast:remoteItem>
        <podcast:remoteItem itemGuid="PC2077" feedGuid="917393e3-1b1e-5cef-ace4-edaa54e1f810" medium="podcast">
            <podcast:soundbite startTime="3834" duration="44">Adam Curry: The reason why we even can discuss this is because we have no business</podcast:soundbite>
        </podcast:remoteItem>
        <podcast:remoteItem itemGuid="PC2047" feedGuid="917393e3-1b1e-5cef-ace4-edaa54e1f810" medium="podcast">
            <podcast:soundbite startTime="1515" duration="177">Jack Dorsey: Business models enabled by bitcoin</podcast:soundbite>
        </podcast:remoteItem>
        <podcast:remoteItem itemGuid="Buzzsprout-9880236" feedGuid="396d9ae0-da7e-5557-b894-b606231fa3ea" medium="podcast">
            <podcast:soundbite startTime="1844" duration="33">"Linux" Unplugged shout out</podcast:soundbite>
        </podcast:remoteItem>
    </channel>
</rss>

Definition

<podcast:remoteItem itemGuid="(guid of the item referenced)" feedGuid="[guid of the feed referenced]" medium="[medium type]" />
Channel (optional | multiple)
This element defines a remote item. One or more may be defined per channel.
It refers to an item outside of the feed. This should only be used for "list" medium types . This should not utilize any value-related tags contained within the feed. Only the value tags on the referenced feed should be respected.

itemGuid (required) - The <guid> of the referenced item. If an item does not have a <guid>, it cannot be referenced.
feedGuid (required) - The <podcast:guid> of the referenced item.
medium (optional) - The medium of the referenced item. The list of allowable values is maintained in the <podcast:medium> specification. If not set, the default non-list medium type of the the feed the tag is defined in is assumed.  Cannot be mixed. This allows an application to determine its capability of how to handle the referenced item.

Future stages
There's a lot of potential to use this to reference items for other reasons besides playlists and clips.  This could go under some kind of <podcast:related> tag, to reference items within the same feed or outside of the feed.  Combining it with with a to-be-defined <podcast:channel> is also a possibility.
Citations
<podcast:guid>00000000-0000-0000-0000-000000000000</podcast:guid>
<item>
  <guid>SomeEpisode</guid>
</item>

<podcast:related>
    <podcast:remoteItem itemGuid="SomeEpisode" />
    <podcast:remoteItem itemGuid="PC20107" feedGuid="917393e3-1b1e-5cef-ace4-edaa54e1f810" medium="podcast" />
</podcast:related>

References
It might also allow multiple items to be linked within the same feed in a way that does not otherwise fit within a structured season, such as a live stream of a podcast and an edited version of the same content.
<podcast:guid>00000000-0000-0000-0000-000000000000</podcast:guid>
<podcast:medium>video</podcast:medium>
<podcast:liveItem>
  <guid>SomeLiveEpisode</guid>
</podcast:liveItem>

<podcast:related>
    <podcast:remoteItem itemGuid="SomeLiveEpisode" type="live" feedGuid="00000000-0000-0000-0000-000000000000" medium="video" />
</podcast:related>

This allows one to provide lists of other items which one does not own copyright to, such as playlists of various different types of audio/video mediums.

Is a playlist a "derivative work" under copyright law?
Spotify's playlists might be legal only because their terms of service contain this clause:

You retain ownership of your User Content when you post it to the Service. However, in order for us to make your User Content available on the Spotify Service, we do need a limited license from you to that User Content. Accordingly, you hereby grant to Spotify a non-exclusive, transferable, sub-licensable, royalty-free, fully paid, irrevocable, worldwide license to reproduce, make available, perform and display, translate, modify, create derivative works from, distribute, and otherwise use any such User Content through any medium, whether alone or in combination with other Content or materials, in any manner and by any means, method or technology, whether now known or hereafter created, in connection with the Spotify Service. Where applicable and to the extent permitted under applicable law, you also agree to waive, and not to enforce, any "moral rights" or equivalent rights, such as your right to be identified as the author of any User Content, including Feedback, and your right to object to derogatory treatment of such User Content.

Penalties for music copyright infringement are quite hefty.
Putting that issue aside, you might also want to specify the intended usage of this tag. For example, podcast apps should probably present the metadata of the remote feed, including the author, link, and any funding and value tags.

Is a playlist a "derivative work" under copyright law?

Compilation CDs are copyright, or at least the record companies think so. The case didn't go to trial in the end, and legal opinion is unsure about what would have happened. But a "database" is most certainly copyrightable, and an RSS feed is probably a database in the eyes of the law.
Back to podcast:remoteItem - perhaps a use-case for this is Podnews's New Podcast Trailers, which is an RSS feed consisting of trailers for podcasts. I include all their episode notes, link directly to the audio itself, and show the artwork in the feed. Notwithstanding that, Apple didn't want to list the show, since it contained other peoples' copyrighted material (which is correct, it does). I wasn't expecting it to get into Apple Podcasts, to be honest, which is why I asked them to review it.
I'm a little unsure how podcast:remoteItem does anything different other than the RSS feed for New Podcast Trailers. In one sense it allows the creator more control - they can remove the episode item from their own RSS feed and it automatically disappears from here - but they can still remove the audio file anyway.

If this tag is used to create playlists only podcast apps that support the new tag would be able to use the play list. In RSS terms the feed would be completely empty. I think so far the new podcast namespace tags have been enhancements to a working RSS feed but as described this tag would lead to an unusable feed for most people. Perhaps the remoteItem tag should go inside the normal item tag, with fallback behaviour defined within the item tag?
I do like the idea of directly linking to podcast episodes but I see that was raised in #304 so perhaps this is only for playlists?

https://podnews.net/sitemap/trailers-ri.xml is a fully-working, daily-updated example feed for those wanting to test.
It's a feed of new and notable podcast trailers from Podnews. (That page contains a standard RSS feed with full enclosures).
My experience building it was relatively simple: but I would say that the standard RSS feed allows me to make a consistent list of shows, with a description that explains why individual shows have been chosen, including individual artwork items.
I don't believe that any copyright is being infringed in my standard RSS feed since the audio enclosure link points to the individual item. However, it might be interesting if people want to play with the remote:item tag to have a version that fully works (and that contains some weird-looking GUIDs!)

https://podnews.net/sitemap/trailers-ri.xml is a fully-working, daily-updated example feed for those wanting to test.

Thanks for doing this James.

I heard this discussed on Podcasting 2.0 Ep 108 this week and curious if the following three items would need to be addressed:

Value-related tags. While I know the proposal indicates no value-related tags, they were discussed on the show. It was discussed a podcast could indicate "#%" goes to a remote link. Assuming the % would be split amongst all links, what happens when fractions of Sats are needed. Simple example: Podcast is set to 1% to remote links, podcast earns 100 Sats, and there are two links to that podcast, what happens? Can each receive 0.5 Sats? I know having two links to a podcast that earns 100 Sats is probably not realistic, but the something like this could happen at a larger scale. I bring this up because if there is a promise of "money" from one entity to another, and then that money doesn't show up or only a portion shows up, a legal issue that could arise. This may be a good reason to go with the definition and not include any value related tags.

Circular References / Infinite Loops. What happens if you have two feeds that reference each other (A -> B and B -> A)? Is this just something the podcast players would need to deal with? More complicated is if they're referenced through a few podcasts (A -> B -> C -> D -> A) or even an odd internal reference (A -> B -> C -> D -> B).

Block Tag validation. Let's say a Podcast A has Hosting Service 1 blocked in their feed but Podcast B, which references A, is served by Hosting Service 1, what happens? This again gets more complicated in the A -> B -> C -> D link where any one of them could have a block tag that would need to be honored.

None of this is to say this is a bad idea, just items I'm wondering if they need to be thought about.

I've been interested in this proposal for a while because I think it would fit well with my podcast sharing app.  So, as a test, I built out an alternate feed generator to use remoteItem, similar to what @jamescridland did above.
I made a sample feed available here:
https://podshare.fm/feeds/7hxJB.remote.rss
The "standard" version of the same feed is here:
https://podshare.fm/feeds/7hxJB.rss
Implementing this on the producer side was pretty easy, but thinking about parsing this feed on the consumer / player side I had a few thoughts:
By only providing the feedGuid, it almost always requires the client to hit the podcastindex.org API to find the episode and/or keep a local db of podcasts.  A slight change to the proposal could provide the feedUrl as a required attribute, along with the feedGuid as a recommended attribute.  This gives the client the ability to fetch the feed directly to find the item if/when it is necessary and not necessarily require a dependency on the API.  For example:
<podcast:remoteItem itemGuid="PC20117"
                    feedUrl="https://feeds.podcastindex.org/pc20.xml"
                    feedGuid="917393e3-1b1e-5cef-ace4-edaa54e1f810" />

Similar to @thomasrynne 's comment above, it does seem odd to have a separate feed just for a playlist.  Ideally, this would be an enhancement to a "regular" feed.   An end user likely won't know if their player supports this tag so for my use case it's difficult to provide two versions of the same feed and make sure the user picks the correct one.  Or maybe there would be a way to provide and "alternate source" tag in the primary feed that links to the "media list" version?
When a client does need to hit the podcastindex.org API to resolve the list, I could see a potential need to allow the client to supply a list of item and feed Urls/GUIDs for search so an entire list could be resolved with one request.  Otherwise, if you have a feed with 50 remoteItems it's 50 hits to the API.  Maybe that's premature optimization, but something to keep in mind.
Does anyone know if a player/client has attempted to implement this yet?  I think a lot would be learned about the feasibility of this proposal once it's attempted in a real client.  Thanks!


edit Profile.js Footer.js and Courses.js

Please don't make changes to Footer. There is no requirement there. As far as courses is concerned, I'm working on it.