Adaptive Sampling

Problem
The most common way of using Jaeger client libraries is with probabilistic sampling which makes a determination if a new trace should be sampled or not. Sampling is necessary to control the amount of tracing data reaching the storage backend. There are two issues with the current approach:

The individual microservices have little insight into what the appropriate sampling rate should be. For example, 0.001 probability (one trace per second per service instance) might seem reasonable, but if the fanout in some downstream services is very high it might flood the tracing backend.
Sampling rates are defined on a per-service basis. If a service has two endpoints with vastly different throughputs, then its sampling rate will be driven on the high QPS endpoint, which may leave the low QPS endpoint never sampled. For example, if the QPS of the endpoints is different by a factor of 100, and the probability is set to 0.001, then the low QPS traffic will have only 1 in 100,000 chance to be sampled.

Proposed Solution
The adaptive sampling is a solution that addresses these issues by:

Assigning sampling probabilities on a service + endpoint basis rather than just the service
Using a lower bound rate limiter to ensure that all endpoints are sampled with a certain minimal rate
Observing the impact of sampling rates on the overall number of traces sampled from a service and dynamically adjusting the per-endpoint sampling rates to meet certain target rates.

Status
Pending open-source of the backend functionality. Client work is done.

[x] sampling data store (Cassandra only) #973
[x] adaptive sampling calculator #1179
[x] wire up the components from collector/main

Any idea when the backend functionality will be opensourced?

"Adaptive Sampling" is now ok in backend?

it's coming soon, @black-adder just finished rolling it out internally to all services, so it just needs a bit clean-up (from any internal deps) to move to open source.

thks @yurishkuro , i am investigating the jaeger and zipkin。

@yurishkuro  any progress on this being released?

question to @black-adder , "he is a-cooking something up"

@black-adder any news?

sorry all, I just started to move the pieces over, hopefully we'll have the whole thing in OSS this week.

What's the status on this? I would like to configure Jaeger to sample all traces on low load, and on high load sample at a certain probability. It doesn't seem possible currently. Thanks.

Hi, is adaptive sampling still under way? I'm really eager to try it out for my sample app.

The PRs are in progress/review. Unfortunately, a higher priority project has delayed this.

Another check in on progress for this. We are considering an implementation of this and this would be a great feature add.

Any further news on this?

This feature would help us as well - it seems that under high load, some spans are being dropped / never received by ES (since we are trying to sample all traces currently). We are hoping to sample 100% of "unique" traces (similar to what differentiates traces in "Compare" in the UI) in the last X amount of time. Heard about this idea from an OpenCensus talk, which sounded like they're working on a similar feature in their agent service.

Any further news on this?  I am looking forward to this feature

the main code has been merged, pending wiring into collector's main

@capescuba @wuyupengwoaini @adinunzio84 @csurfleet not sure if this helps in your current context, but the way we've been implementing an approximation of this feature for our usecase (moderately high throughput- 10s of thousands of requests per second) is we set keys in redis that control sampling through the use of the sampling priority debug header. In other words we set the default probabilistic sampling rate to zero and the code checks a set of redis keys to know whether it should sample. So for example in the context of my particular scenario we get requests from many different applications and apps, and in redis we set keys denoting which apps or devices we want to trace and what percentage of requests for those apps we want to trace. So if we have a specific issue to debug we set redis keys to trace 100% of requests from the problematic app and some low percentage of requests from apps that we are passively monitoring

@trtg  Thanks for your advice. In fact, I think the sampling rate strategy can be divided into three steps: 1. The sampling rate is configurable. That is to say there is a system to configure the sampling rate of each interface in each service. 2. The configuration can be dynamically activated (can be implemented by means of a configuration center or the like) 3. The system automatically configures the sampling rate dynamically according to the pressure of the jaeger backend.
Dynamically configuring the sample rate for your use of redis is actually the second step I mentioned above. This can modify the sampling rate in real time, but it is enough.

Hey all, I've created a nuget package that allows per-request sampling on anything in the incoming HttpRequest, feel free to have a play. Any suggestions etc either let me know or send me a PR ;) I'm using this stuff in production for one app so far, and I'll try to add further stuff later on:
https://github.com/csurfleet/JaegerSamplingFilters
https://www.nuget.org/packages/JaegerSamplingFilters/

Hi @yurishkuro! Just reading about the different sampling strategies in Jaeger, and it's slightly unclear to me whether Adaptive Sampling would reference a central configuration (which would be somewhat less verbose than in the 'sampling strategies' file), or whether we'd specify the sampling rate in the service (and that the adaptive sampler would ensure lower QPS endpoints have their fair share of traces). Cheers!

@DannyNoam This ticket refers to dynamic adaptive sampling where strategies are automatically calculated based on observed traffic volumes. In jaeger-collector the only configuration would be "target rate of sampled traces / second" (in the current code it's a single global setting, but we're looking to extend it to be configurable per service/endpoint).

the main code has been merged, pending wiring into collector's main

@yurishkuro any timeline on when this will be wired into collector's main?

Sampling rates are defined on a per-service basis. If a service has two endpoints with vastly different throughputs

I was thinking that with a small generalization, one could extend the adapting sampling idea to something between head-based and tail-based sampling that also detects outliers and has other benefits of tail-based sampling while requiring fewer computational resources.
As part of the adapting sampling, sampling information is communicated from the collector to the agent.

The format of the communicated data has, I guess, format similar to the Collector Sampling Configuration. In the documentation there's this example:
{
  "service_strategies": [
    {
      "service": "foo",
      "type": "probabilistic",
      "param": 0.8,
      "operation_strategies": [
        {
          "operation": "op1",
          "type": "probabilistic",
          "param": 0.2
        },
        {
          "operation": "op2",
          "type": "probabilistic",
          "param": 0.4
        }
      ]
    },
    {
      "service": "bar",
      "type": "ratelimiting",
      "param": 5
    }
  ],
  "default_strategy": {
    "type": "probabilistic",
    "param": 0.5
  }
}

We can change it slightly to this:
{
  "sampling-rules": [
    {"name": "foo_op_1",
     "condition": {"and" : [
       {"==": [{"var" : "span.process.serviceName" }, "foo"]},
       {"==": [{"var" : "span.operationName"}, "op1"]}]
     },
     "strategy": {
       "type": "probabilistic",
       "param": 0.2
     }
    },
    {"name": "foo_op_2",
     "condition": {"and" : [
       {"==": [{"var" : "span.process.serviceName" }, "foo"]},
       {"==": [{"var" : "span.operationName"}, "op2"]}]
     },
     "strategy": {
       "type": "probabilistic",
       "param": 0.4
     }
    },
    {"name": "bar",
     "condition": {"==": [{"var" : "span.process.serviceName" }, "bar"]},
     "strategy": {
       "type": "ratelimiting",
       "param": 5
     }
    },
    {"name": "default",
     "strategy": {
       "type": "probabilistic",
       "param": 0.5
     }
    }
  ],
  "tables": ...
}

What do we see here?

There's a name to every rule that helps with debugging.
There's a condition to each rule. I use JsonLogic.
If multiple rules match, the first one wins i.e. order within sampling-rules matters.
There's a "tables" field that we can get to in a bit

This small extension enables the client and the agent to do powerful cherry-picking of what to sample.
The rules defined above are evaluated at any point in time a Span changes. More specifically, Spans in Jaeger, can be represented as JSONs that adhere to this model. Examples can be found in example_trace.json:
    {
      "traceId": "AAAAAAAAAAAAAAAAAAAAEQ==",
      "spanId": "AAAAAAAAAAM=",
      "operationName": "example-operation-1",
      "references": [],
      "startTime": "2017-01-26T16:46:31.639875Z",
      "duration": "100000ns",
      "tags": [],
      "process": {
        "serviceName": "example-service-1",
        "tags": []
      },
      "logs": [
        {
          "timestamp": "2017-01-26T16:46:31.639875Z",
          "fields": []
        },
        {
          "timestamp": "2017-01-26T16:46:31.639875Z",
          "fields": []
        }
      ]
    }

Pieces of information are collected at different points in time. e.g. the duration isn't known till the end of the Span, while operationName is known at the beginning. At any point there's a change the rules are re-evaluated and they can yield a "sample" decision. Examples of when a Span model might be updated are:

start
finish
When new tags and logs are added, including when error conditions are detected
carrier injection (spawning children, at which point, depending on the RPC mechanism, a Span might be able to get additional tags like target/child serviceName, operationName, host etc. - since they're likely known e.g. when I do an http request, I know the target endpoint).
RPC timeout or
RPC call return , at which point a Span might get to know if the child decided to sample itself and/or if there were any errors downstream.

The above might seem slow, but I can imagine many optimizations that finish early if there are no rules that could match a given Span change. JIT compilation of the rules might also be a way to accelerate further.
Here are some basic examples. To evaluate them, I wrap the example Span presented above to a {"span": ... } and use the JsonLogic prompt one can find here.
The following condition evaluates to true for the example Span:
{"and" : [
  {"==": [{"var" : "span.process.serviceName" }, "example-service-1"]},
  {"==": [{"var" : "span.operationName"}, "example-operation-1"]}]
}

There are two default "force sample" rules in Jaeger. Can we implement them using this framework? Yes:
{"some" : [ {"var" : "span.tags" },
            {"==": [{"var":"key"}, "jaeger-debug-id"]} ]}

and
{"some" : [ {"var" : "span.tags" },
            {"and": [{"==": [{"var":"key"}, "SAMPLING_PRIORITY"]},
                     {">": [{"var":"value"}, 0]}]} ]}

In those two cases the strategy of the rule could return const: 1 which will force sampling.
There are two safety conditions we would like to guarantee:

No matter how bad the configuration, the sampler shouldn’t slow down the collection process
No matter how bad the configuration, the sampler shouldn’t overwhelm the infrastructure

As a result, proper engineering should be put in place. The language of JsonLogic isn't turning complete but still, there could be problems if the Spans have tags with long string values, long arrays or the configuration has rules that are overly long. Rules can be auto-generated, e.g. by some real-time trend analysis system, so it's wise to put some controls in the agent/client that reject configurations that might be slow. On the second point, above, if the rules end-up sampling everything while our infrastructure can handle just 1:100 sampling, we wouldn't like to overwhelm infra. As a result, we might need some form of cascading rules or global mechanism that limits total throughput.
Can we use this form of adaptive sampling to implement rules that sample outliers in terms of duration? Yes. Here's such a rule:
{">": [
  {"var": "span.duration"},
  {"var": [{"cat": ["tables.d_percentiles",
                 ".", {"var" : "span.process.serviceName" },
                 ".", {"var" : "span.operationName" }
                 ]}, 10000000]}]}

We can test it with a (simplified) example span:
{
  "span":     {
      "operationName": "example-operation-1",
      "duration": 100000,
      "process": {
        "serviceName": "example-service-1"
      }
    },
    "tables": {
        "d_percentiles": {
            "example-service-1": {
                "example-operation-1": 50000
            }
        }
    }
}

Note that we now need a "tables" dict that can be declared in the configuration. This dict can be dynamically calculated by an "adaptive sampling calculator". It defines a per end-point expected maximum duration, beyond which sampling will be forced (e.g. by a const: 1 strategy). Note that we might want to tag this traffic not just as sampled but also as force sampled so that we ignore it while we calculate percentiles etc. Uniform Sampling can still be used for percentiles and other such statistics, while this extra type of traffic might be used to ensure we don't miss important outliers.
Since we now define and use a Span model, it would be good to also formalize a few more attributes it could have and be potentially useful. For example, we can have "span.parent.operationName",  " span.parent.parent.process.seviceName" of a Span (parent might need to be an array - but let's skip this for now). Those don't need to be supported for any middleware or configuration, but if a middleware supports passing downstream some tags or Span attributes (e.g. through baggage) in-band, it's nice to know where to find them. With this extension, one can write rules that sample at a given operation and parent operation. As mentioned before, it might be possible to do this also, when you make the request, on the caller, instead of on the child-span, but parent provides another way to do this.
As a natural extension on the above, we can define an attribute span.child. child might also be an array and have arbitrary attributes. An important attribute might be span.child.sampled. This will be true if a child decided to sample itself and false otherwise. This makes sense, because under the extensions we described above, a Span can decide to sample itself at several different points in time (instead of just the beginning) if it detects interesting conditions. Many types of RPC middleware are able to return information upstream e.g. HTTP response headers. This means that a Span might be updated with an up-to-date value for span.child.sampled when a response from a sampled child span is detected. This could be triggered by an error condition on the child, in which case if the current span also decides to sample and propagate upstream, we can have the "call stack" and also sample any subsequent Spans. Those traces might have unusual shape because of missing information and highly likely shouldn't be used for aggregate analytics but they can still be used for alerting and debugging.

@lookfwd great proposal! We're actively discussing it right now for an internal project. One major issue we bumped into with it is this: when possible strategies are represented as a list and need to be matched one by one for a given span, it works pretty well if the match process runs only once. But in your proposal there's no specific demarcation event that tells the tracer "do it now", instead matching can run multiple times as tags are being added to the span. The problem is that a list of strategies would typically include a default fallback strategy when nothing custom matches, and the default strategy will always match, even on the first try, so there won't be time to set span tags and potentially match any other custom strategies.
We could introduce the demarcation event artificially, e.g. as some static method in Jaeger or a special span tag that can be used to signal "apply sampling rules now". But it's kind of ugly and requires additional instrumentation in the code.
Thoughts?

@yurishkuro - sorry, I missed it. The points when one needs to know if sampling is true or false, is when the context is about to be injected to a carrier or when one is about to finish the Span. If those are used as "apply sampling rules now" trigger(s) i.e. lazily evaluating should_sample() when one needs it, should give good full or partial traces as far as I can see.
More specifically I would expect the user/framework to set all the tags before it injects or finish()'s.

default fallback strategy when nothing custom matches, and the default strategy will always match, even on the first try

If the default strategy is a lower bound rate limiter, it should be sufficient to inform about the existence of "weird" spans that e.g. set tags after injecting, without flooding the system.

@lookfwd you might be interested in these two PRs (https://github.com/jaegertracing/jaeger-client-node/pull/377, https://github.com/jaegertracing/jaeger-client-node/pull/380), which introduce a shared sampling state for spans in-process and allow delaying sampling decision.

@lookfwd great proposal! We're actively discussing it right now for an internal project. One major issue we bumped into with it is this: when possible strategies are represented as a list and need to be matched one by one for a given span, it works pretty well if the match process runs only once. But in your proposal there's no specific demarcation event that tells the tracer "do it now", instead matching can run multiple times as tags are being added to the span. The problem is that a list of strategies would typically include a default fallback strategy when nothing custom matches, and the default strategy will always match, even on the first try, so there won't be time to set span tags and potentially match any other custom strategies.
We could introduce the demarcation event artificially, e.g. as some static method in Jaeger or a special span tag that can be used to signal "apply sampling rules now". But it's kind of ugly and requires additional instrumentation in the code.
Thoughts?

I have some thoughts in high level in the following lines:
At the Collector level, For each Host level, we can run some kind of baseline calculation on key KPIs like # of Error, 90th Response Time or Throughput for every < X> Observation window. This observation interval can be like for every 5 min or every 10 mins or < auto-calculated>.  This Observation window can be auto-calculated from Throughput ( or Operation /Sec at every Service Level). If the base line is breached from previous observation window, then we can trigger adaptive sampling from Collector to Agent thru callback  function to Agent   for  each service level. I mean Agent will send to collector, If all is safe within the baseline, Agent will purge within its perimeter. The point here is, there may be broken parent or broken childs (or Spans) for completing end-2-end transaction. Of course , it will be complex design though .
@yurishkuro: I just tried my imagination on high level design.  Pls. go thru and take your own call.

I am not sure where to post this, but I will ask here since it seems like a problem with adaptive sampling and the standard implementation with the client libraries.
In our collector, we define the remote sampling configuration strategies and for some default endpoints (/health, /metrics, etc.), we set the probabilistic sampling rate of 0.0 (Pretty much like the example in the jaeger documentation). From what I found when debugging, the client librairies will create a GuaranteedThroughputSampler whenever a list of operations is received. The default lowerbound value will always be of 0, but when the RateLimiterSampler is created, if the value is smaller than 1, the default value will be 1. This cause the /health, /metrics, etc. endpoints to be sampled at a rate of 1 TPS. Is there currently a way to disable the sampling for specific endpoints ? Or perhaps it is a bug that that the RateLimiterSampler cannot be instantiated with a value of 0 ?
We are using Jaeger collector 1.8 and the latest release of jaeger-client-java and jaeger-client-go.

@agaudreault-jive it's probably a limitation of the data model of GuaranteedThroughputSampler - it only supports probability value per-endpoint, while the lowerbound rate limiter applies across all endpoints.
// OperationSamplingStrategy defines a sampling strategy that randomly samples a fixed percentage of operation traces.
struct OperationSamplingStrategy {
    1: required string operation
    2: required ProbabilisticSamplingStrategy probabilisticSampling
}

// PerOperationSamplingStrategies defines a sampling strategy per each operation name in the service
// with a guaranteed lower bound per second. Once the lower bound is met, operations are randomly sampled
// at a fixed percentage.
struct PerOperationSamplingStrategies {
    1: required double defaultSamplingProbability
    2: required double defaultLowerBoundTracesPerSecond
    3: required list<OperationSamplingStrategy> perOperationStrategies
    4: optional double defaultUpperBoundTracesPerSecond
}

It's possible to extend the model, but will require pretty substantial changes.
BTW, 1 TPS seems very high for lowerbound, we're using several orders of magnitude smaller value.

Any update on this feature? There are many merged pull-requests. Will this be finished?
Or will this be obsolete / superseeded by work done in the new opentelemetry collector?

Hi @yurishkuro
I don't know if my skillset is good enough to solve this ticket but I would like to take a stab at it. I would like to ask you if you can summarise the work which is remaining here. My understanding from looking at the two PRs is that we just need to invoke the adaptive sampling processor from collector/main.go.
Thank you.

@Ashmita152 you're correct, I think pretty much all of the code is already in the repo, it just needs hooking up in the collector and exposing configuration parameters via flags. It would be fantastic if we can get this in, this last piece was outstanding for over 2yrs.

Sure Yuri, I will give it a try. Thank you.

any news? work now? or any plan?

@joe-elliott picked this up in #2966

@joe-elliott @joe-elliott
Excuse me，I asked a question, but I didn't find that the Store.InsertThroughput method was called anywhere
// Store writes and retrieves sampling data to and from storage.
type Store interface {
// InsertThroughput inserts aggregated throughput for operations into storage.
InsertThroughput(throughput []*model.Throughput) error
......
}

I've made some try in my project. I combined rate sampling and rate limiter together. At the mean time, I sampled pod cpu&mem status  to auto adjust sampling rate. It goes well in my production env.

FYI https://medium.com/jaegertracing/adaptive-sampling-in-jaeger-50f336f4334


demo.py error

is this URL "https://data.thunlp.org/" unavailable?

same

same here

import ssl ssl._create_default_https_context = ssl._create_unverified_context

import ssl ssl._create_default_https_context = ssl._create_unverified_context

That works! It seems like the SSL certificate of https://data.thunlp.org/ is expired, so disabling SSL verification will work.

import ssl ssl._create_default_https_context = ssl._create_unverified_context

That works!


server: Daemon errors if user runs blueprint with invalid regions

Before the patch, if a user ran a blueprint with unsupported regions,
there wasn't any feedback, and the daemon would do nothing.
This patch checks that the region specified in the blueprint is supported
for a given provider, and errors if it is not.

Merged this - thanks @HongjianZhang!


feat: improve vue-query example to show maximum rendering time on SSR #85

ref #85

@pdanpdan How about we mark this PR as draft? Or let me know if you think there is something about it we should merge.

Closing to bring the open PR count to 0. I ain't sure but I think you can still push commits after the PR is closed. Let me know if it makes any difference to you whether this PR is a draft or closed. (We can also invite you to the repo, with or without admin privileges. You'll then be able to have your own branches.)

It's good you closed it, it was more of a test.


Fix QA issue

This fixes my issues with deepstream-6.1

I understand, but the problem is really with how those DS libraries are linked.  Adding file-rdeps to INSANE_SKIP should also work.
Have you tried using the other intermediate packaging formats (deb, ipk)?  Does this RPROVIDES hackery work with them as well?

RPROVIDES

Adding the file-rdeps doesn't resolve the issue.
I didn't try other intermediate packaging formats.

Close this PR because we have another solution


<EMAIL_ADDRESS>hash check failed

> scoop update dbeaver
dbeaver: 23.2.0 -> 23.2.1
Updating one outdated app:
Updating 'dbeaver' (23.2.0 -> 23.2.1)
Downloading new version
dbeaver-ce-23.2.1-win32.win32.x86_64.zip (117,0 MB) [============================================================] 100%
Checking hash of dbeaver-ce-23.2.1-win32.win32.x86_64.zip ... ERROR Hash check failed!
App:         extras/dbeaver
URL:         https://download.dbeaver.com/community/23.2.1/dbeaver-ce-23.2.1-win32.win32.x86_64.zip
First bytes: 50 4B 03 04 0A 00 00 00
Expected:    886d99b6dea25f6aab09a2b17f4f51b40b54674fe81c44b8be32103e104afc33
Actual:      2725d92ef32f10cce93fe08c7aa10429f906b3a24188e91168a4f89340155680

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=dbeaver%4023.2.1%3a+hash+check+failed

Tried to update/remove the cache, it's still blocking.


sudo xcodes runtimes install "iOS 15.5"` fails on Apple Silicon

Describe the bug
sudo xcodes runtimes install "iOS 15.5" fails.
To Reproduce
Run:
sudo xcodes runtimes install "iOS 15.5" --keep-archive
or
sudo xcodes runtimes install "iOS 15.5"
Observed on my M1 machine; verified by my colleague on theirs.
Works just fine on an Intel machine I had access to.
Expected behavior
The simulator runtime should install successfully.
Downloading Runtime iOS 15.5: 100%
Mounting DMG
Installing Runtime
Deleting Archive
Finished

Screenshots
Installing Runtime
Error: Failed executing: `/usr/sbin/installer -pkg
/Users/mc7h/Library/Caches/com.robotsandpencils.xcodes/com.apple.pkg.iPhoneSimulatorSDK15_5.pkg -target /` (1).

Version

OS: 13.1  (Apple M1 Pro)
Xcodes: 1.2.0

Can you check if your terminal does have Full Disk Access in the macOS preferences? if you are using iTerm, you need to give it the permission explicitly.

Running this in a CI, how could I ensure full disk asccess here?

Hey @jesster2k10, were you able to find any solution for it? How could we install runtimes in a CI environment?

Settings => Privacy & Security => Full disk access => Terminal


Move Test Trusted Directory groovy scripts into a java module

The Test Trusted Directory is a core SAPI-G piece of functionality, it is currently implemented using groovy scripts in the OB UK deployment.
Scripts start with the Jwkms prefix e.g. https://github.com/SecureApiGateway/secure-api-gateway-ob-uk/blob/master/config/7.3.0/securebanking/ig/scripts/groovy/JwkmsIssueCert.groovy
Migrate these scripts to Java code

#1340 has introduced a standalone Test Trusted Directory component.
This means that the groovy scripts (+ the dir routes) have been removed from the core deployment, with core now trusted the standalone test trusted directory which runs on its own domain.

Ideally all of the logic would be re-written in java (and have unit tests) but this is less of a concern now that it is in its own component which customers can choose whether they want to deploy or not.


Add Denoify to build process

Denoify automatically produces Deno compatible versions of the Typescript source alongside the JS output (see mod.ts and files in deno_lib).
These should be committed as they are pulled directly from Github by Deno

Thanks man 👍


espflash monitor takes over the terminal

It happens often that I cannot kill espflash monitor with Ctrl-C or Ctrl-\ and the logs stop coming aswell. I'm not sure if my code crashed or if it's the connection to the device but it would be nice to have some error message or at least be able to kill the process instead of having to relaunch my terminal.
I use alacritty as a terminal btw:
❯ alacritty --version
alacritty 0.13.2 (bb8ea18e)

❯ espflash --version
espflash 3.1.0

Seems similar to https://github.com/esp-rs/espflash/issues/464, I do use the same allacritty version on Linux and I don't recall encountering this issue.

My colleagues and I have observed that behavior across different terminals (Windows terminal, ubuntu's terminal, alacritty) and different machines with different OSes (Linux, Windows)
I really seems independent of the platform you're running on

Similar behavior when it cannot find a usb:
$ espflash monitor --log-format defmt --elf <elf>
[2024-10-04T15:20:49Z INFO ] 🚀 A new version of espflash is available: v3.1.1
[2024-10-04T15:20:49Z INFO ] Detected 3 serial ports
[2024-10-04T15:20:49Z INFO ] Ports which match a known common dev board are highlighted
[2024-10-04T15:20:49Z INFO ] Please select a port
[2024-10-04T15:20:49Z INFO ] Serial port: '/dev/ttyACM0'
[2024-10-04T15:20:49Z INFO ] Connecting...
r^C^C^C^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^Z^Z^Z^Z

This bug is the bane of my existence, any clue where I could start looking for it in the espflash codebase?

I don't have many pointers, but here is where we wait for the Ctrl+C press: https://github.com/esp-rs/espflash/blob/main/espflash/src/cli/monitor/mod.rs#L118-L131. Might be related to the lib we use to process them (crossterm), we have an “outdated” version since new version were causing some issues on Windows, https://github.com/esp-rs/espflash/blob/main/espflash/Cargo.toml#L36

I'm also experiencing this bug. Sometimes I after running espflash flash --baud 2000000 --monitor I cannot abort the process with Ctrl+C and no log output updates are shown (but the device works as intended).
Something I noticed is that if I reset the microcontroller using the restet button, all the "missing output" suddenly shows up, followed by × Broken pipe. Maybe some stdout flushing isn't being done?

Oh, I can trigger the issue if I simply type a few characters with focussed terminal while logging is happening (e.g. "asdf" in quick succession). If I do that, the terminal output freezes and ctrl+c doesn't work anymore either.


Expiration Date exception when trying to load pass on device or simulator

Unable to parse expirationDate /Date(1487415600000-0000)/ as a date. We expect dates in "W3C date time stamp format", either "Complete date plus hours and minutes" or "Complete date plus hours, minutes and seconds". For example, 1980-05-07T10:30-05:00.
using C# DateTime on the Pass.expirationDate field, if I leave this field out (which I really can't) the pass works fine
Help :) ?!

@tenneyb Good catch! This is definitely an issue and something we missed during early development. We need to run a few tests around changes, but expect a fix within the next week.


Fix an error when ocurring cop error

Follow #8908.
This PR fixes the following error when ocurring cop error.
% bundle exec rubocop
(snip)

1 file inspected, no offenses detected

1 error occurred:
An error occurred while Layout/ExtraSpacing cop was inspecting
/Users/koic/src/github.com/koic/rubocop-issues/43/example.rb.
undefined method `config_store' for nil:NilClass
/Users/koic/src/github.com/rubocop-hq/rubocop/lib/rubocop/version.rb:35:in
`extension_versions'
/Users/koic/src/github.com/rubocop-hq/rubocop/lib/rubocop/version.rb:21:in
`version'
/Users/koic/src/github.com/rubocop-hq/rubocop/lib/rubocop/cli/command/execute_runner.rb:62:in
`display_error_summary'
/Users/koic/src/github.com/rubocop-hq/rubocop/lib/rubocop/cli/command/execute_runner.rb:27:in
`execute_runner'
/Users/koic/src/github.com/rubocop-hq/rubocop/lib/rubocop/cli/command/execute_runner.rb:17:in
`run'

It suppresses unexpected undefined method config_store' for nil:NilClass`.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

@bbatsov I found an error due to #8908 that I would like to fix before RuboCop 1.0. This is the smallest patch and I would like to add a test later. 💦

Perfect timing! I'll likely the the release in an hour or two.

Thank you! I’m so really excited!


Run kuttl tests in e2e job

Create a script to run kuttl tests and update the e2e job workflow to trigger kuttl tests.

We are not going ahead with github action based job, closing this PR


Tailsitter transition   Do no merge yet!

test flights:
http://logs.uaventure.com/view/M83mXsytSLkGty6XhLqwpj
http://logs.uaventure.com/view/DizsjJkFyfMwBKrkQFjCPY
front transition MC->FW works both in manual and altctrl modes
back transition FW->MC works only in manual mode

@davidvor Nice! Great to hear that the automated transitions are working out for you.
I will do a review and after I will show you show to cleanup the commit history a bit.

for quad-tailsitter the pitch is already controlled nicely with the motor torques , in yaw we search for ways to enable as much control as we can. should we split the MC elevon lock to pitch and yaw?
this long output mixer enables smooth combing of mc output control in back transition , we cant mix controls between FW and MC yet because the set points are not correct

@davidvor Can you please ping me if you are back from your vacation and ready to take the tailsitter challenge? :-) All the necessary pieces for putting this together are there, I think we just need to have a long skype call.

Closing in favour of #3090


net/http export errCannotRewind

https://github.com/golang/go/blob/dee3efd9f879335cfb583752b0729cc57f61897e/src/net/http/transport.go#L628
I'm having to resort to string matching to identify this error which is not ideal
strings.Contains(err.Error(), "net/http: cannot rewind body after connection loss")

I'd love to just be able to use errors.Is
errors.Is(err, http.ErrCannotRewind)

What is the use case for distinguishing this error?

What is the use case for distinguishing this error?

controlling a log level


Add feig payment terminal code

Add the payment terminal code

@dorezyuk Please add a README or explain it in the top level README what that is and how it fits to the other stuff in here.


Add declared companies

Adds company declarations to the Voting Members file. I asked everyone directly the question "would you like to declare that you are paid to work on MapLibre by a company" and this is what people responded.
Note that some Voting Members work for a maps company, but their daily work is not related to MapLibre.

Related to this dicussion: https://github.com/maplibre/maplibre/discussions/32


very very slight TOC load time enhancement...very slight

@DanielJMaher , this console.log was stalling the TOC too much - by about a second.
@Bobfrat , when you get a chance can you review that code change (I'm totally tolling you right now).
@birdage , could you just verify the order of loading for the TOC still makes sense, even though the fetch is outside the TOC load chain?

@FBRTMaka looks ok, and it tested ok

@FBRTMaka merge mine first?

@birdage , yes, yours is WAYY more important - I'm reviewing it now

@birdage Can you okay this for merge so i can bounce casadev


Adding the ability to set Subscription path

A user should be able to set the path of the subscription, so it isn't always set to the topics project.
This allow users to subscribe to topics in other projects (if they have edit rights to said project).

@philibuster Can you give some sample code using this or some description of why you'd want to be able to change the project on the fly.
This change is a little too ad-hoc for the object model, but that doesn't mean we can't take the spirit of the change and turn it into something useful.

A subscription has 4 properties
name
topic
ack_deadline
push_endpoint

and you could accomplish essentially what you want with
topic1 = Topic(name, project=project1)
topic2 = Topic(name, project=project2)

subscription1 = Subscription(sub_name, topic1, ack_deadline=AD, push_endpoint=PE)
subscription2 = Subscription(sub_name, topic2, ack_deadline=AD, push_endpoint=PE)

but it could be more convenient to have something which preserved all properties except for the topic via:
subscription2 = Subscription.copy_from(subscription1, topic=topic2)

Even more, you want the same topic name, but just a different project, so this still isn't quite the same.

Thank you for the response. Sorry I made a mistake in my code, what I originally wrote would have no value.
Example:
There are two projects:

project1 with one topic "topic1"
project2 with no topics (it doesnt matter)

As project2 I want to make a subscription to the other projects topic.
If I made a subscription it will try use the first project. projects/project1/subscriptions/sub with project/project1/topics/topic1
But I want projects/project2/subscriptions/sub with project/project1/topics/topic1
What I am proposing is using any project in the subscription path. It still will only work if they are allowed access to create the subscription anyway.
ps not sure what pep8 violation I'm making there. I will squash the commits later anyway.

I see. So my proposal would need to be tweaked to something like
>>> topic = Topic(name, project=project1)
>>> subscription = Subscription(sub_name, topic, ack_deadline=AD, push_endpoint=PE)
>>> # New code
>>> subscription2 = Subscription.copy_from(subscription1, project=project2)
>>> subscription.topic.name == subscription2.topic.name
True
>>> subscription.topic is subscription2.topic
False
>>> subscription.topic.project == subscription2.topic.project
False

PS @philibuster Sorry for getting behind on this.

@dhermes No problem :)
Not exactly, the topic should not be changed, just the subscription path
>>> subscription.topic == subscription2.topic
True
>>> subscription.path == subscription2.path
False

@philibuster That breaks the model, which is why I was offering the alternative.
As of right now (June 18), the hierarchy is
client -> topic -> subscription

and a client has a fixed project, which both the topic and subscription can reference and use.

@philibuster WDYT of the proposed given my comment?
I want to keep this moving (either to close it out or to get to something we can agree on implementing).

@philibuster I'd love to take this up, let's re-open if you get some bandwidth to keep the discussion moving forward.

@dhermes Sorry about the delay.
Yeah all for a copy_from method, maybe similar to modify_push_configuration. I think it'd be a useful method (at least to me and those that work with me), as it'd allow subscribing to other projects topics.


Feature Request: Delete older than X days

Nice GH action! A small feature request, can you add the possibility to only delete drafts older than X days?

Hi,
Version 1.0.0 was published which adds this feature, as well as updating dependencies.
You can use the threshold input to select how old the drafts should be for them to be released.


Require the salt unless a scary modal dialog is clicked through (feature request)

It substantially decreases the security of WarpWallet to use it without a salt. It would be better if it were required unless a "no salt" button is pressed, which brings up a modal dialog that says why skipping the salt is a bad idea and makes the user types "I AGREE". Or something along those lines.

Seconded. Ryan is right. Given how difficult it is for users in practice to choose a strong passphrase, salts should either be mandatory or at least the default. Encouraging Warpwallet to be used without a salt is like leaving a loaded gun around.


Fix code break

fix/Code break #1870

@skstanwar there is a conflict

@skstanwar there is a conflict

ok let me check again !


Build failed

The error is below, with some prior context from the beginning of the build. Please let me know which log files would be helpful
Error:
lib/jemalloc/lib/libjemalloc.a(nstime.o): In function `je_nstime_update':
nstime.c:(.text+0x125): undefined reference to `clock_gettime'

Log

mkdir -p build/
gcc -fgnu89-inline -O2 -D USE_JEMALLOC -D DEBUG src/xxhash.c src/bgzf.c src/hash_align.c src/EM.c src/bam_write.c src/fusion.c src/fmindex.c src/genome_map.c src/assembly.c src/main.c -pthread -lm lib/zlib/libz.a -lm lib/jemalloc/lib/libjemalloc.a -lm lib/hdf5/lib/libhdf5-static.a  -lm lib/hdf5/lib/libhdf5_hl-static.a -ldl -lm lib/libdivsufsort/lib/libdivsufsort64.a -o build/hera
src/hash_align.c: In function ‘get_name’:
src/hash_align.c:1049:5: warning: assignment from incompatible pointer type
  fa = gzopen(file_path, "r");
     ^
src/hash_align.c:1054:18: warning: passing argument 1 of ‘kseq_init’ from incompatible pointer type
  ref = kseq_init(fa);
                  ^
In file included from src/hash_align.h:32:0,
                 from src/hash_align.c:1:
src/kseq.h:148:16: note: expected ‘gzFile’ but argument is of type ‘struct gzFile_s **’
  SCOPE kseq_t *kseq_init(type_t fd)         \
                ^
src/kseq.h:219:2: note: in expansion of macro ‘__KSEQ_BASIC’
  __KSEQ_BASIC(SCOPE, type_t)     \
  ^
src/kseq.h:222:35: note: in expansion of macro ‘KSEQ_INIT2’
 #define KSEQ_INIT(type_t, __read) KSEQ_INIT2(static, type_t, __read)
                                   ^
src/hash_align.h:42:1: note: in expansion of macro ‘KSEQ_INIT’
 KSEQ_INIT(gzFile, gzread)
 ^
src/hash_align.c:1088:10: warning: passing argument 1 of ‘gzclose’ from incompatible pointer type
  gzclose(fa);
          ^
In file included from src/hash_align.h:29:0,
                 from src/hash_align.c:1:
src/../lib/zlib/zlib.h:1630:24: note: expected ‘gzFile’ but argument is of type ‘struct gzFile_s **’
 ZEXTERN int ZEXPORT    gzclose OF((gzFile file));
                        ^
src/hash_align.c: In function ‘get_alignment_pair’:
src/hash_align.c:1987:9: warning: assignment from incompatible pointer type
  input1 = gzopen(fq1, "r");
         ^
src/hash_align.c:1993:9: warning: assignment from incompatible pointer type
  input2 = gzopen(fq2, "r");
         ^
src/hash_align.c:2000:17: warning: passing argument 1 of ‘kseq_init’ from incompatible pointer type
  r1 = kseq_init(input1);
                 ^
In file included from src/hash_align.h:32:0,
                 from src/hash_align.c:1:
src/kseq.h:148:16: note: expected ‘gzFile’ but argument is of type ‘struct gzFile_s **’
  SCOPE kseq_t *kseq_init(type_t fd)         \
                ^
src/kseq.h:219:2: note: in expansion of macro ‘__KSEQ_BASIC’
  __KSEQ_BASIC(SCOPE, type_t)     \
  ^
src/kseq.h:222:35: note: in expansion of macro ‘KSEQ_INIT2’
 #define KSEQ_INIT(type_t, __read) KSEQ_INIT2(static, type_t, __read)
                                   ^
src/hash_align.h:42:1: note: in expansion of macro ‘KSEQ_INIT’
 KSEQ_INIT(gzFile, gzread)
 ^
src/hash_align.c:2002:17: warning: passing argument 1 of ‘kseq_init’ from incompatible pointer type
  r2 = kseq_init(input2);
                 ^
In file included from src/hash_align.h:32:0,
                 from src/hash_align.c:1:
src/kseq.h:148:16: note: expected ‘gzFile’ but argument is of type ‘struct gzFile_s **’
  SCOPE kseq_t *kseq_init(type_t fd)         \
                ^
src/kseq.h:219:2: note: in expansion of macro ‘__KSEQ_BASIC’
  __KSEQ_BASIC(SCOPE, type_t)     \
  ^
src/kseq.h:222:35: note: in expansion of macro ‘KSEQ_INIT2’
 #define KSEQ_INIT(type_t, __read) KSEQ_INIT2(static, type_t, __read)
                                   ^
src/hash_align.h:42:1: note: in expansion of macro ‘KSEQ_INIT’
 KSEQ_INIT(gzFile, gzread)
 ^
src/hash_align.c:2060:10: warning: passing argument 1 of ‘gzclose’ from incompatible pointer type
  gzclose(input1);
          ^
In file included from src/hash_align.h:29:0,
                 from src/hash_align.c:1:
src/../lib/zlib/zlib.h:1630:24: note: expected ‘gzFile’ but argument is of type ‘struct gzFile_s **’
 ZEXTERN int ZEXPORT    gzclose OF((gzFile file));
                        ^
src/hash_align.c:2061:10: warning: passing argument 1 of ‘gzclose’ from incompatible pointer type
  gzclose(input2);
          ^
In file included from src/hash_align.h:29:0,
                 from src/hash_align.c:1:
src/../lib/zlib/zlib.h:1630:24: note: expected ‘gzFile’ but argument is of type ‘struct gzFile_s **’
 ZEXTERN int ZEXPORT    gzclose OF((gzFile file));
                        ^
src/hash_align.c: In function ‘get_alignment’:
src/hash_align.c:2099:8: warning: assignment from incompatible pointer type
  input = gzopen(fq, "r");
        ^
src/hash_align.c:2106:16: warning: passing argument 1 of ‘kseq_init’ from incompatible pointer type
  r = kseq_init(input);
                ^
In file included from src/hash_align.h:32:0,
                 from src/hash_align.c:1:
src/kseq.h:148:16: note: expected ‘gzFile’ but argument is of type ‘struct gzFile_s **’
  SCOPE kseq_t *kseq_init(type_t fd)         \
                ^
src/kseq.h:219:2: note: in expansion of macro ‘__KSEQ_BASIC’
  __KSEQ_BASIC(SCOPE, type_t)     \
  ^
src/kseq.h:222:35: note: in expansion of macro ‘KSEQ_INIT2’
 #define KSEQ_INIT(type_t, __read) KSEQ_INIT2(static, type_t, __read)
                                   ^
src/hash_align.h:42:1: note: in expansion of macro ‘KSEQ_INIT’
 KSEQ_INIT(gzFile, gzread)
 ^
src/hash_align.c:2148:10: warning: passing argument 1 of ‘gzclose’ from incompatible pointer type
  gzclose(input);
          ^
In file included from src/hash_align.h:29:0,
                 from src/hash_align.c:1:
src/../lib/zlib/zlib.h:1630:24: note: expected ‘gzFile’ but argument is of type ‘struct gzFile_s **’
 ZEXTERN int ZEXPORT    gzclose OF((gzFile file));
                        ^
lib/jemalloc/lib/libjemalloc.a(nstime.o): In function `je_nstime_update':
nstime.c:(.text+0x125): undefined reference to `clock_gettime'
collect2: error: ld returned 1 exit status
make: *** [Hera] Error 1
SUCCESS
>

Please let me know your linux distribution/MacOS version and GCC version so we could resolve your problem. Thank you.

I have the same problem. Tried with GCC version 4.8.1 and 5.2.0.
[michaelk@fe1 hera]$ uname -a
Linux fe1.genomedk.net 2.6.32-642.1.1.el6.x86_64 #1 SMP Tue May 31 21:57:07 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Hi micknudsen, what is the output of command "yum list glibc" on your machine.

Installed Packages
glibc.i686                          2.12-1.209.el6_9.1                        @LocalCentOS6repo
glibc.x86_64                        2.12-1.209.el6_9.1                        @LocalCentOS6repo

Thank you for the bug report. We have applied a fix for the bug. Can you clone and build again to see if it works?

Thanks! Works great now.


add Step component

Overview
Add Step component.

The Step component can be one of five types:

Specific
Measurable
Attainable
Relevant
Time-specific

According to its type, the Step component can have, a text input, a rating input or a date input.
The Step component has a label.
The Step has satisfaction criteria for when it is done.

Specific:

<string>value not empty

Measurable

<string>value not empty

Attainable

<string>value not empty

Relevant

<string>value is [1..5]

Time-specific

<string>value is an ISO-8601 timestamp

Model
Inputs:

Properties

<string>type
<string>value
<string>label

Actions

<string>value

State has

<boolean>done
<string>label
<string>value
<string>type

Motivation
As a User, I want to fill out a step, in order to define my S.M.A.R.T. goal.

Rethinking this, the component should be split into five distinct components, reflecting the five types:

Specific,
Measurable,
Attainable,
Relevant, and
Time Specific.

The reason is that their values and satisfaction criteria are unique to each type. So to follow the principle of Separation of Concerns, distinct components seems to be the right thing to do.


Bug: unable to login - Chrome

Describe the bug
I am trying to login to the plugin but could not. I remember facing similar issue previously due the local storage naming change.
Steps to reproduce

open the extension
try to login,
it will not allow you

Related to:
https://github.com/open-sauced/ai/issues/228
https://github.com/open-sauced/ai/issues/157
Browsers
Chrome
Additional context (Is this in dev or production?)
it's in the production
Code of Conduct

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

Contributing Docs

[X] I agree to follow this project's Contribution Docs

Did you want to work on this @a0m0rajab?

@nickytonline do you have time to look at this?

I can take a peek at this.

Hi @nickytonline sorry for late reply, I would love to work on it if it's okay for you and @BekahHW ,
I suspect that the name change of the insights site to app is the issue here,

Sounds good @a0m0rajab! Assigning it to you.

Thanks for understanding!


OC-361 Fixes detection of features

Runs all tests to ensure no duplicate tests are run and detection is limited to specific project

All is well.

This pull request makes the build fail.

Compared tests to nightly build, they are all present


Support SDK compiles in paths with spaces

Motivation
SDK projects which are nested within paths that contain spaces currently fail to execute because parameters are not wrapped in quotes.
Modifications
Wrap all path-like command-line parameters in quotes. Escape backslashes and quotes within these parameters.
Fixes #150

/merge


Tests for #951: Allow qualified names in case patterns

I wrote a test for the pull request (#1167) submitted by @sgillis.
I’m not sure if running compiler to get the interface is the best solution… I tried the alternative, i.e. with awfully lot of effort I was able to construct the interface as AST. It looked more or less like this: https://gist.github.com/jdudek/1b6d0a17c80ca791563d I felt it was less readable, so I submitted this version.
I also wasn’t sure if cheating by incomplete pattern match for compilation result is OK… perhaps there is a better way.
Anyway, I hope it will be useful :)

I ended up fixing it a different way. I don't think the tests can handle imports, but I'm not certain.


Secure Access to Shared Services in workspace ot TREAdmin and Owner

Resolves #2545
What is being addressed
Shared services are not shown in main root navigation if not TREAdmin, but still are shown in Workspace level
Update will secure Shared service in workspace scope similar to Root layout
How is this addressed

Added  wrapper to navigation links, added permission to WorkspaceOwner as they need to connect to Shared Services - external-url type

@lenisha - thanks, but, hmm, I think we do need them listed here so users can access the shared services from the workspace and read any overview?
@jjgriff93 thoughts?

hiya :) - this functionality is actually by design. We use the root Shared Services screen as the 'admin' screen, and the one within the workspace as a shortcut to show shared service details to researchers. As you know the API restricts the data coming back for shared services based on the user type.

@lenisha as per @damoodamoo will close this and the issue as not planned, if you have a really compelling reason for this, then it might be a configuration flag of some kind could be added.


Solid-forms seem to not work in ssr

I get the following error on a solid-start project while using solid-forms package, from the stack trace I understand that the problem is with the server side rendering but maybe I'm wrong.
The project is a basic solid start project.
Cannot read properties of undefined (reading 'createFormControl')

Clear errors and retry
TypeError: Cannot read properties of undefined (reading 'createFormControl')
    at LanguageSwitch (/src/features/language-switch.tsx:23:41)
    at Proxy.createComponent (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:279:15)
    at Object.get children [as children] (/src/routes/app/auth.tsx:66:41)
    at Object.get [as children] (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:300:26)
    at Object.get children [as children] (/node_modules/@suid/material/CardContent/CardContent.jsx:62:20)
    at Object.get [as children] (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:300:26)
    at Object.get [as children] (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:300:26)
    at Proxy.ssrElement (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/web/dist/server.js:532:112)
    at ServerDynamic (/node_modules/@suid/system/Dynamic/Dynamic.jsx:19:36)
    at Dynamic (/node_modules/@suid/system/Dynamic/Dynamic.jsx:25:46)
    at Proxy.createComponent (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:279:15)
    at StyledComponent (/node_modules/@suid/system/createStyled.jsx:97:38)
    at Proxy.createComponent (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:279:15)
    at CardContent (/node_modules/@suid/material/CardContent/CardContent.jsx:56:32)
    at Component (/node_modules/@suid/base/createComponentFactory.js:62:24)
    at CardContent (/node_modules/@suid/system/inspect.js:27:16)
    at Proxy.createComponent (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:279:15)
    at Object.get children [as children] (/src/routes/app/auth.tsx:64:159)
    at Object.get [as children] (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:300:26)
    at Object.get [as children] (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:300:26)
    at Object.get [as children] (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:300:26)
    at Object.get [as children] (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:300:26)
    at Object.get children [as children] (/node_modules/@suid/material/Paper/Paper.jsx:97:20)
    at Object.get [as children] (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:300:26)
    at Object.get [as children] (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:300:26)
    at Proxy.ssrElement (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/web/dist/server.js:532:112)
    at ServerDynamic (/node_modules/@suid/system/Dynamic/Dynamic.jsx:19:36)
    at Dynamic (/node_modules/@suid/system/Dynamic/Dynamic.jsx:25:46)
    at Proxy.createComponent (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:279:15)
    at StyledComponent (/node_modules/@suid/system/createStyled.jsx:97:38)
    at Proxy.createComponent (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:279:15)
    at Paper (/node_modules/@suid/material/Paper/Paper.jsx:91:32)
    at Component (/node_modules/@suid/base/createComponentFactory.js:62:24)
    at Paper (/node_modules/@suid/system/inspect.js:27:16)
    at ServerDynamic (/node_modules/@suid/system/Dynamic/Dynamic.jsx:18:34)
    at Dynamic (/node_modules/@suid/system/Dynamic/Dynamic.jsx:25:46)
    at Proxy.createComponent (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:279:15)
    at StyledComponent (/node_modules/@suid/system/createStyled.jsx:97:38)
    at Proxy.createComponent (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:279:15)
    at Card (/node_modules/@suid/material/Card/Card.jsx:56:32)
    at Component (/node_modules/@suid/base/createComponentFactory.js:62:24)
    at Card (/node_modules/@suid/system/inspect.js:27:16)
    at Proxy.createComponent (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:279:15)
    at Auth (/src/routes/app/auth.tsx:62:32)
    at Proxy.createComponent (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:279:15)
    at Object.shared.element.component.element.element [as outlet] (/node_modules/@solidjs/router/dist/routing.js:87:43)
    at Object.get children [as children] (/node_modules/@solidjs/router/dist/components.jsx:101:22)
    at file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:182:35
    at file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:143:49
    at createMemo (file:///Users/nicubacila/Workspace/personal/dental-mantainer/node_modules/solid-js/dist/server.js:72:9)

This is the language switch component
import type { Component } from 'solid-js';
import { createEffect } from 'solid-js';
import { AppLanguage } from '~/i18n/app-language';
import { useI18n, useI18nActions } from '~/i18n/i18n-context';
import { AppSelect } from '~/components/select';
import { FormLabel } from '~/components/types';
import { createFormControl } from 'solid-forms';

interface LanguageOption {
    language: AppLanguage;
    label: string;
}

export const LanguageSwitch: Component = () => {
    const i18n = useI18n();
    const i18nActions = useI18nActions();
    // console.log(i18n.resolvedLanguage);
    // console.log(createFormControl);
    const control = createFormControl(i18n.resolvedLanguage);
    // createEffect(() => {
    //     if (control.value !== i18n.resolvedLanguage) {
    //         i18nActions.changeLanguage(control.value as string);
    //     }
    // });
    //
    // const availableLanguages: LanguageOption[] = [
    //     { language: AppLanguage.En, label: `English` },
    //     { language: AppLanguage.Ro, label: `Romana` },
    // ];
    // const languageSwitchLabel: FormLabel = { label: 'LANGUAGE_SWITCH_LABEL', options: { ns: 'common' } };
    // const getOptionValue = (option: LanguageOption): AppLanguage => option.language;

    return <div>
        {/*<AppSelect options={availableLanguages} label={languageSwitchLabel} control={control} getOptionValue={getOptionValue} renderOptionLabel={'label'}/>*/}
    </div>;
};

I commented all the code around to validate that actually createFormControl function is the problem. Does anyone know is this library only available for browser and not ssr ? I tought it just creates some stores for handling forms. Also I would have submitted this to stack overflow but there is no tag for solid-forms

Hey sorry for late response. Yes you are right it masks the real issue, the problem is Select component from suit/material, do you know if there is a UI library with good SSR support out there ?

Hey sorry for late response. Yes you are right it masks the real issue, the problem is Select component from suit/material, do you know if there is a UI library with good SSR support out there ?

I don't, sorry. I am aware of the suid/material library though, and I would have expected that they support SSR. Have you reported this issue to them?

There was already a reported issue for SSR problems and they responded that they have to take every component and check the ssr


Bump pip from 23.0 to 23.0.1 (#5597)

Pull request opened by the merge tool on behalf of #5597

Merged in 98eb065527b9cc6479165f88cfef5476731f43f5


Short solution needed: "How to get image size from resource" (php-gd)

Please help us write most modern and shortest code solution for this issue:
How to get image size from resource (technology: php-gd)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

How to get image size from resource


feat: added util guard Rate Limit commands

Please describe the changes this PR makes and why it should be merged:
Package

@VictoriqueMoe I know this was suppose to be your work only, but I have committed important changes, however, will not release it until it's fully done.
IMO, need some documentation inside code code. create another PR 😅

you just re-wrote it for no reason


EP3: WARN bevy_ecs::world: error[B0003]: Could not despawn entity xxxxx because it doesn't exist in this World.

Hi thank you for your great work, I learnt a lot from it and really love it ❤
When following ep3 I noticed that the error WARN bevy_ecs::world: error[B0003]: Could not despawn entity xxxxx because it doesn't exist in this World. is flushing, I have seen your answer at the youtube comments but I don't quite get it.
You mentioned that :
"In despawn_far_away_entities, we have a Query<(Entity, &GlobalTransform)>, which queries all entities with global transforms. This is true for multiple entities spawned from the GLB model (bullets, asteroids, etc.) using SceneBundle. As such, commands.entity(entity).despawn_recursive() is going to despawn entire hierarchies. However, this approach leads to redundant child despawns, but these are inconsequential and can be disregarded."
I don't understand why this approach will lead to redundant child despawns,  in despawn_far_away_entities, we did the query exactly once per frame for all entity with SceneBundle, why there will be duplicate despawn ?
Thanks in advance for your explaination!

@jsjtxietian In Bevy almost everything has a Transform component. With a SceneBundle, you are actually spawning multiple entities in a hierarchy. For a GLTF file, there is going to be a root node and child nodes (e.g. https://raw.githubusercontent.com/KhronosGroup/glTF/5615a3a91504015c47bb07b0ee4707351f93d4e3/specification/2.0/figures/objects.svg). Each of these nodes are represented in the ECS world as a separate entity, each with its own components (e.g. Transform).
As such, let's say we have entities A, B, and C. Imagine B and C are child nodes of entity A. Then, if we iterate over the entities in order, calling commands.entity(A).despawn_recursive() is going to also despawn B and C, because despawn_recursive tells Bevy to despawn the entity and the children of that entity. However, we'll also explicitly call commands.entity(B).despawn_recursive() in the next iteration of the loop. Thus, we are going to get the warn when the commands are applied, since B was already despawned by the previous command.
Maybe your confusion is around what the query is iterating. You mentioned "we did the query exactly once per frame for all entity with SceneBundle", but that's not exactly true. In despawn_far_away_entities we are querying for everything with a GlobalTransform, which means we'll iterate through multiple entities for a single SceneBundle.
Let me know if that makes sense!

there is going to be a root node and child nodes

I see. I assumed that a single gltf only spawns one entity that represents the whole model, so previously I wondered why we have parent/child relationship in the game. It makes sense that "Each of these nodes are represented in the ECS world as a separate entity".
Thanks a lot !


Text composables: Android Basics with Compose

URL of codelab
In which task and step of the codelab can this issue be found?
Describe the problem
My English proficiency is limited, and I am a beginner focusing on Android development. Therefore, I am unsure if there are any conceptual errors in the following text.
”You can pass multiple parameters to the annotation, as shown here.“
I noticed that in the example (@preview), it seems to be more like 'arguments' rather than 'parameters'.
Steps to reproduce?

Go to... https://developer.android.com/courses/pathways/android-basics-compose-unit-1-pathway-3#codelab-https://developer.android.com/codelabs/basic-android-kotlin-compose-text-composables
Click on... Build a simple app with text composables , 3. What is Jetpack Compose?
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

Hi @mzuociling
Thank you for bringing this to our attention.
The lesson has been updated to say "arguments".
The revised lesson will be republished again in the near future.
Hope you are enjoying the course!
Regards.


Adapt to Rhino's NativePromise

When directly calling Function objects processMicrotasks must be called before exiting the current context, otherwise pending promises won't be settled (see [1])
Found just two places in Ringo where calling processMicrotasks is necessary, but i might have missed some. Added a very basic test and enabled three other rhino tests that weren't executed by default (dunno why).
[1] https://github.com/mozilla/rhino/blob/master/src/org/mozilla/javascript/Context.java#L2326

I found two more JS function calls in Java:
https://github.com/ringo/ringojs/blob/9bb6a2e4c7cc0e604e2b4a9d0ed0ea943f1bc97e/src/org/ringojs/engine/ModuleLoader.java#L170
https://github.com/ringo/ringojs/blob/9bb6a2e4c7cc0e604e2b4a9d0ed0ea943f1bc97e/src/org/ringojs/util/ScriptUtils.java#L196
But not sure if this should trigger also the microtask queue.


Avoid failing when provided animation time is outside of time range

Describe the bug
Loading a timestep outside of the temporal range fails in
Provided time value: t is outside of animation time range: [t0, t1]

Instead it could be a warning only and load the closest time instead.

Should I assign this to you @snoyer ?

Should I assign this to you @snoyer ?

sure, PR is #1504


[feat]: provide information about the integration of icon component

Feature description
When I use the navigation menu component in my project, it does import an icon component. Need information and resources
about how to install the icon component. or do we need to other custom icon component
Affected component/components
Navigation-menu
Additional Context
Additional details here...

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues and PRs

Hi @Sivasish48,
The icon component is actually not part of the navigation menu. It's present in the example just to set the logo of shadcn ui.
You can find the component here:
https://github.com/shadcn-ui/ui/blob/13d9693808badd4b92811abac5e18dc1cddf2384/apps/www/components/icons.tsx#L4-L30

yes, I think it a kind of a custom component of icons , and not a part of actual shadcn component

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


Add support for IPv6 connections

Add support for handling IPv6 addresses
Add more mDNS logging
Update zeroconf with IPv6 support
Update entwork library versions

coverage: 90.818% (+0.1%) from 90.676%
when pulling 5456e126eef9a192e94b866d22b815a05b767ad2 on feature/ipv6-support
into 15af050898452fede97663c36c81cb8773a8962d on dev.


fix(typeahead): reduces styling issues

This fixes multiple issues:

Hint-Input background color is not always white. The user can style their input in a uniform manner now. (see http://plnkr.co/edit/dbyQuGOrPZCXdrZxL6WZ?p=preview)
Removes a background image from the input. Before a background image might just conceal the hint-input. Hint-input will carry background-color and -image.
hintInputElem is no longer a copy of the typeahead but a new input that carries the class/style/ng-class/ng-disabled attributes and is compiled with the parent scope. Before using ng-disabled on a typeahead did not disable the hint-input and breaking uniform styling (see above mentioned plnkr).

However, I would like some input on the third point as compiling the element might introduce some unwanted side effects.

I'm hesitant about this approach - this seems fragile, and prone to regressions. Is there no other way than to eliminate cloning of the element?

Could .clone not be used? It is available on jqLite.

@deeg originally .clone was used on the typeahead. However, if the cloned element is not compiled, ng-disabled and other directives won't work. If you compile the cloned element, you end up in a loop as typeahead-show-hint is compiled as well.
So what are the options:

Remove all attributes/properties that may cause a loop. You may remove typeahead-show-hint but what about the one you do not know. I feel in this case we have little control over what is actually happening and introduce a lot of overhead due to additional directives.
The approach I proposed. I thought about it as cherry-picking styling-relevant attributes/properties. Certainly we won't cover everything. But we have more control over the whole thing.
We leave it as it is: broken if you use ng-disable or ng-class (or have a different background-color than white or an opaque background-image - these are however fixable by adjusting the css only)


Project activity

Is the project dead? If not, it would be fun to contribute or at least test it out myself.
I had the idea of developing a bot using reinforcement learning after being trash at the game for too long.
One thing I was thinking would be a challenge would be whether I would get access to real games, lots of them that is. Such that I could develop an AI that could beat real people, or at least improve itself in specific situations where the player made a mistake.
Do you know if there is a public database where games are being recorded and stored in an easily machine-readable format? That would be a great foundation for developing the bot.

Perhaps not dead, just in a deep hibernation... The pets and their behaviors have been fairly stable for a while and it's a better time for me to hop back to the project, so I've been considering another push to get back up and running.
I do not know of datasets of real games, although I also have never looked. It's not a particular interest of mine unfortunately. I'd rather start the bot from scratch compared to using previous human game data because I have a lot of compute available to me.

so I've been considering another push to get back up and running.

Great! I am interested in contributing, as I'm having fun creating AIs for SAP. Are you contributing to sapai-gym as well, or is that mostly @alexdriedger ?

If you're looking at doing RL, I would highly recommend trying it out if haven't already.

Already started using sapai-gym, works great! Haven't had the time to properly assess its performance, but reward-wise it seems to be improving.

I am not actively working on it anymore, so if you would like to make changes, forking it is probably the best option.

I have already created a fork. Will make a PR soon, and create some issues if I find any breaking bugs. Will you be able to address these PRs/Issues if I make them?

Fantastic to hear that the library is working well for you! I can respond to any of the issues you make and merge the PRs on sapai-gym (assuming they look good 😅)

assuming they look good 😅

I will do my best :P

I'll close this issue. We can continue more in new issues or discussion threads.

I'll close this issue. We can continue more in new issues or discussion threads.

Good idea. I made this issue as there was no Discussions tab.


Could not find a valid gem 'cocoapods-framework'

 gem install cocoapods-framework
ERROR:  Could not find a valid gem 'cocoapods-framework' (>= 0) in any repository
ERROR:  Possible alternatives: cocoapods-Framework

It works, but I don't know how to use it
$ pod framework NAME [SOURCE]

#3  i change the name to cocoapods-xcframework. it support as gem install cocoapods-xcframework


PowerShell: shows Set-AzureResource call near Get-AzureResource call

Right now, all the actions are listed before the Set-AzureResource call, causing it to be at the very end.

closed by commit c0492a551779beca08862ee24d3ac201aa274a29


Angular 1.4, ngAnimate 1.4 and ui-router…

…doesn't work… I have en error from angular-animate : "Cannot read property '' of undefined"
Downgrade to 1.3 and everything works fine.

Okay. Please post a plunkr with your setup and I'll take a look. Thanks for the report.

+1 - I am also experiencing issues with the same versions: (1.4.0-rc.0) Angular 1.4 + ngAnimate 1.4 + ui-router 0.2.13.

I am not getting any errors but my state animations stopped working with Angular 1.4 + ui-router.

+1

Okay, if anybody wants to set up a plunkr, I'll take a look and see if I can debug it.

I just set up a plunkr with 1.4.0-rc.1 and it seemed to be working fine, so I updated to 1.4.0-rc.1 in my own code base and that seemed to fix the issue there as well:
http://plnkr.co/edit/gRkr78?p=preview

Nice. Can other people confirm the same?

Yes, rc1 fixed it for me!

Just as a sidenote, the actual animating of the photos in my plunkr doesn't work as expected, either in the ui-router version I provided (http://plnkr.co/edit/gRkr78?p=preview) or in the ngRoute version I based it off of (http://plnkr.co/edit/OF2snm?p=info), which was mean to be an exact copy of  http://slides.yearofmoo.com/ng-conf-2015/demos/anchor-views/index.html, which Matias presented at ng-conf.  So either something changed in the new release or I'm missing something in the code.  Any suggestions would be much appreciated.

rc.1 did not fix my routing issues.  I have an app working perfectly fine in 1.4.0-rc.1 with latest ui-router w/o ngAnimate loaded.  Adding ngAnimate (same for both rc.0 or rc.1) eventually causes issues with routing. At first everything works fine, then after running through an inconsistent number of routes (different each reload), routing will suddenly stop working - url bar shows changing locations but pages do not load. no errors shown.

So either something changed in the new release

Probably that.

angular 1.4.rc.1 doenst fix my routing as well.
In my side, the console give following error:
TypeError: Cannot read property 'end' of undefined
    at angular-animate.js:2207
    at forEach (angular.js:332)
    at closeChildAnimations (angular-animate.js:2202)
    at queueAnimation (angular-animate.js:2048)
    at Object.$$AnimateQueueProvider.$get.push (angular-animate.js:1943)
    at Object.$AnimateProvider.$get.leave (angular.js:5126)
    at Object.leave (angular-ui-router.js:3859)
    at cleanupLastView (angular-ui-router.js:3910)
    at angular-ui-router.js:3938
    at publicLinkFn (angular.js:7308)

Dig into the source code in ngAnimate 1.4, it refactor the [leave] (https://github.com/angular/angular.js/commit/c8700f04fb6fb5dc21ac24de8665c0476d6db5ef#diff-c63111838cf41936324951b4dfa9fd60L212) function,  so the getRenderer function within ui-router should be modify (am i right?)
Further more, look into the html page,  the previous DOM element didn't remove correctly, but the ui-router will keep add a new DOM element on it.

Any idea?

@neaped If you patched it locally, paste your diff here and I'll check it out.

@nateabele In ngAnimate 4.0 rc1 Line 2202
 switch (state) {
          case RUNNING_STATE:
                console.log('break')
            //animationDetails.runner.end();

I just remove the line 2205, the problem became solved. It didn't look like the problem with the new leave function. Look back on line 2201
var animationDetails = activeAnimationsLookup.get(child);

the activeAnimationsLookup is came from $$HashMap Service in line 1825
var activeAnimationsLookup = new $$HashMap();

Any idea how I can keep tracing this problem? I'm still a newbie xD

@neaped Ah, I misunderstood. I thought you patched UI-Router. Anyway, I think this might be related to another bug (don't have the # handy right now), but I'll try patching it later today and pushing a new point release, and we'll see if it addresses this as well.

@nateabele Not misunderstood, just my fault. Coz I was trying to patch UI-Router, but at the end, I make it work by patched the ngAnimate xD
I wasn't really sure whether it's a bug or just something wrong with the refactored function. Furthermore, I just don't know where to continue to trace the problem.

I had the same problem because angular-animate was @1.3.15. Upgraded it to 1.4.0.rc-1 and it works fine. It is not a ui router issue.

+1 upgraded to 1.4.0-rc.1 and getting same error... hopefully we can patch shortly.
TypeError: Cannot read property 'end' of undefined
    at angular-animate.js:2204
    at n (angular.js:332)
    at H (angular-animate.js:2199)
    at L (angular-animate.js:2044)
    at Object.t.module.directive.factory.factory.provider.$get.push (angular-animate.js:1939)
    at Object.Me.$get.leave (angular.js:5126)
    at Object.leave (angular-ui-router.js?body=1:3208)
    at cleanupLastView (angular-ui-router.js?body=1:3257)
    at angular-ui-router.js?body=1:3280
    at angular.js:7308

+1 with 1.4 rc1... just upgraded and ran into the same issue.
TypeError: Cannot read property 'end' of undefined
    at angular-animate.js:2204
    at n (angular.js:332)
    at H (angular-animate.js:2199)
    at L (angular-animate.js:2044)
    at Object.t.module.directive.factory.factory.provider.$get.push (angular-animate.js:1939)
    at Object.Me.$get.leave (angular.js:5126)
    at Object.leave (angular-ui-router.js?body=1:3860)
    at cleanupLastView (angular-ui-router.js?body=1:3911)
    at angular-ui-router.js?body=1:3939
    at angular.js:7308

1.4.0-beta.6  works. However, the next version 1.4.0 rc0 doesn't work, and there are breaking changes with $animate. See https://github.com/angular/angular.js/blob/master/CHANGELOG.md for more details

@pisaacs This is a known issue with angular. There is a PR open with a fix
See here

The issue @MikaAK referenced above has been closed and is now in 1.4.0 https://github.com/angular/angular.js/issues/11658

So, we can close this?

Yes this can be closed!

I'm still experiencing a similar issue. See angular/angular.js#13215


Deploy in IIS server error - Resource not found

I have justed start Orchard CMS. I have loaded the source code, compiled and deploy in visual studtio 2019 according to ->https://docs.orchardproject.net/en/latest/Documentation/Building-and-deploying-Orchard-from-a-source-code-drop/. When running in IIS server, I encounter error stating "Resource not found". Appreciate any assistant what I am missing.

Found the issue . It was the name of the database that was wrong


PAUSED-WIP Bench connection manager

Coverage remained the same at 87.87% when pulling 3f7e6647360bbe1fb95f80b3de295a0c53334a2c on benjaminbollen:bench_connection_manager into f5e3d4076d9579c125c55b665eaff7ce518dfc70 on dirvine:master.

Coverage remained the same at 87.87% when pulling 6f266b2e527b3b9d0edfbb4fe114be4dc0119b3f on benjaminbollen:bench_connection_manager into f5e3d4076d9579c125c55b665eaff7ce518dfc70 on dirvine:master.

Coverage increased (+0.9%) to 88.77% when pulling ee2ead993bd69a95eff89aaf67dca3ec62bfa63d on benjaminbollen:bench_connection_manager into f5e3d4076d9579c125c55b665eaff7ce518dfc70 on dirvine:master.

this PR is replaced by the PR
https://github.com/dirvine/crust/pull/54
recommend to close this one


Unable to get BLID and password on i7

Expected Behavior
Get i7 robotpassword, blid, model name ... etc
Current Behavior
Robot Data:
undefined
node:events:368
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:220:20)
Emitted 'error' event on TLSSocket instance at:
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read'
}
Steps to Reproduce (for bugs)

cd /usr/local/lib/node_modules/
Manual install "sudo npm i -g homebridge-roomba2"
cd $(npm root -g)/homebridge-roomba2
sudo npm run getrobotpwd robot-ip

Versions

Homebridge: 1.3.8
Node:     v16.13.1
Plugin:   1.2.2

@robert1030 I think is a duplicate of several other issues. Please see #81 and #91.


build(): fix source maps

Our source maps currently have incorrect mappings, which makes it difficult to debug in the browser and also skews results from code size analyzers like source-map-explorer.
This PR fixes our source maps by aligning the Material process to the angular/angular build process.  This means:

Instead of downleveling to ES2015, creating a Rollup bundle, then transpiling that bundle down to ES5, we now downlevel to both ES2015 and ES5, then create separate Rollup bundles for each.
We are removing sorcery until we can upgrade tsickle and ngc to latest. Our versions of these break when mapping all the way back to TS.  (temporary)
We have to add separate tsconfigs for transpiling to ES5 because our version of ngc doesn't allow overrides. When we update to compiler-cli 5.x, we should be able to remove these files. (temporary)

This PR also does some housekeeping:

Renames public_api files to public-api
Moves module code in cdk out into -module.ts files

@jelbourn Why do we switch to public-api? I think it would be better to stay consistent with the Angular repository, because once we switch to Bazel we would have a similar setup.

@jelbourn LGTM-ed on slack since he is traveling


Where is the shuffle mode in 1.8 ?

Hi,
the second new feature in 1.8 is :+1:
2. Added "Play tracks randomly" feature, yeahhhh 🎵
I'm maybe dumb but I can't seem to find a way to play a playlist in shuffle mode !!
Thanx for your help
MaestroZ

I belive it is here...

On Windows 7, I don't have that icon, there's the 'no repeat' icon instead
like in version 1.7
Le ven. 11 nov. 2016 12:58, Michel Le Bihan<EMAIL_ADDRESS>a
écrit :

[image: capture du 2016-11-11 12-55-30]
https://cloud.githubusercontent.com/assets/8530546/20214427/7050457e-a80e-11e6-98c6-1e0f130b187d.png
I belive it is here...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EragonJ/Kaku/issues/466#issuecomment-259942896, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALdZnnZzZ1BPc5uC5it9Us6tlVtk4pVrks5q9FhpgaJpZM4KsRot
.

--
No good deed goes unpunished

@MaestroZ If you click on that icon several times, you can change modes...

OK, I did not think of that possibility
It works, thanks a lot
Le ven. 11 nov. 2016 13:17, Michel Le Bihan<EMAIL_ADDRESS>a
écrit :

@MaestroZ https://github.com/MaestroZ If you click on that icon several
times, you can change modes...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/EragonJ/Kaku/issues/466#issuecomment-259945654, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALdZnhnGuwtc10DcrL6vzw9p76UWlsS4ks5q9FzHgaJpZM4KsRot
.

--
No good deed goes unpunished

thanks @mimi89999 !
BTW, how player works will be redesigned later and may follow how Spotify works with queue implementation so that users don't need to click on play all, by default Kaku should play all !
And users should change the mode easily when playing tracks. Just a headsup.
Looks like this issue got replied and things are working well here, so close first :)


Error: java.lang.NullPointerException in latest 2.0.0 virsion

[Error: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getAction()' on a null object reference] share ext error

I've narrowed down that in the Java code, the Intent is coming through as null. Thus "getAction()" or "getType()" fail.
I tried revising the AndroidManifest to make sure the intent if being passed through properly, but that didn't help.
Also tried modifying the Java code with the PR above (#42), but that didn't work either.
Any ideas?

I have the same problem. Any solution?

same

Same here, it seems for the initial call there is no intent object, so you can check if it´s not null.
@RequiresApi(api = Build.VERSION_CODES.KITKAT)   @ReactMethod   public void getFileNames(Promise promise){     Activity mActivity = getCurrentActivity();     if(mActivity == null) { return; }     Intent intent = mActivity.getIntent();     if(intent == null) { return; }     receiveSharingIntentHelper.sendFileNames(reactContext, intent, promise);     mActivity.setIntent(null);   }


Attach is not supported by the target process (error code = 100)

.\jattach.exe 6884 load instrument false "agent.jar=arguments"
Connected to remote process Attach is not supported by the target process (error code = 100)
how would I fix this? and what is the cause?

PS C:\Users\User\AppData\Local\Temp> .\jattach1490831287247899151.exe 6116 load instrument false "F:\untitled\out\artifacts\agent_jar\agent.jar=arguments"
Connected to remote process
Attach is not supported by the target process (error code = 100)

it doesnt seem like theres anything in the jvm logs

Ah, I see.
error code = 100 means that the attach has been disabled in the target JVM: perhaps, the Java process has been started with -XX:+DisableAttachMechanism option.

This is an expected behavior if attach is intentionally disabled on the JVM side; closing the issue.


[DEFECT] Gradient Descent - SPSA does not check for explicit constraints

Thank you for the defect report

[X] I am using the latest version of RAVEN.
[X] I have read the Wiki.
[ ] I have created a minimum, reproducible example
that demonstrates the defect.

Defect Description
Gradient Descent - SPSA does not check if evaluation points (points selected for a gradient evaluation)
violate Explicit Constraints (functional).
Steps to Reproduce
Create a test case that violate the constraint (explicit) for gradient evaluations.
Expected Behavior
If a constraint (explicit) is violated in the input space, SPSA is able to "handle" it (or at least to try to do so till an error is raised), for example trying to use new "random" directions.
Screenshots and Input Files
No response
OS
Linux
OS Version
No response
Dependency Manager
PIP
For Change Control Board: Issue Review

[ ] Is it tagged with a type: defect or task?
[ ] Is it tagged with a priority: critical, normal or minor?
[ ] If it will impact requirements or requirements tests, is it tagged with requirements?
[ ] If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[ ] Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure

[ ] If the issue is a defect, is the defect fixed?
[ ] If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[ ] If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[ ] If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[ ] If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

@PaulTalbot-INL @dylanjm Please consider to resolve this issue. Thanks for your help.


Speed up fetching the repo by using git clone instead of fetch

As discussed here https://discuss.bitrise.io/t/ios-builds-slow-any-solution-to-speed-it-up/61/26, a git clone --depth=1 is (much) faster than a fetch.
Couldn't this bitrise step use a clone instead of a fetch?
I'm not familiar with go.. otherwise I could have added a PR.

Hi @teameh,
Thanks for reaching out.
I'll look into this and draft a pull request for our engineering team to officially consider.
Thanks,
Luna

I'm not super familiar with Go myself so I am going to show my work here as I will be doing this alongside other tasks.
Git clone --depth=1 needs to be implemented in https://github.com/bitrise-io/go-utils/blob/master/command/git/commands.go.

I have opened a pull request on bitrise-io/go-utils to add a function that does git clone --depth=1. Once that's merged I'll work on changing the functionality in this repository to use the new function instead of the Fetch one.

Thanks for picking this up!

@non-binary, any update on this?

Hi @Robuske,
I got busy on other things however the pull request and branch is still there if you'd like to take over. :)

I also know nothing of Go 😞
I probably could finish that PR just based on what you did, but I doubt I could actually use it on this repo.


React.findNodeHandle is undefined

After version 0.25 React.findNodeHandle is undefined.
This is because you now have to require React from the React package instead of ReactNative and findNodeHandle was removed

This is intentional. The solution is to write this:
import ReactNative, {
  // your other imports
} from 'react-native';

...

ReactNative.findNodeHandle(component)

Ahh I thought i had done this and was under the impression it didn't work
but maybe I made a mistake.
On May 12, 2016 5:14 PM, "James Ide"<EMAIL_ADDRESS>wrote:

This is intentional. The solution is to write this:
import ReactNative, {
// your other imports
} from 'react-native';
...
ReactNative.findNodeHandle(component)
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/issues/7544#issuecomment-218911763

it didn't work.

import ReactNative, {
// your other imports
} from 'react-native';
...
ReactNative.findNodeHandle(component)   it did not work


Collect BMC ffdc using ssh if REST not functioning.

For automated FFDC collection,  if REST not functioning on BMC use ssh to copy the FFDC files from the BMC.

https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-test-automation/+/24095


Beautify event list details sidebar

This is follow-up work for https://github.com/kamiyo/sycpiano/issues/29

@kamiyo @jschen5 how about something like this for event details?

I didn't put a map under "location", but we could. Or we could make clicking on it bring you to the corresponding google maps page.
Clicking on "program" would show program info, and "featuring" would should any collaborators (if it's just @kamiyo, I guess we can just say "this is a solo concert" or something).
Pros:

Less cluttered
Don't have to worry about not having enough space to fit info

Cons:

More clicks to get to info
Some info hidden unless user clicks the respective tab

I like the icon  and minimal idea... can we just fit it all on one page though? The text and icons don't have to be so big. I do think the cons are big with the tabs.

I think we can fit it all on one page if we're not going to have that much info for "featuring" or "program".
The reason I originally put it on separate tabs was because I was thinking that for...
"featuring" we could add a bio/details/image for each featured artist/orchestra
"program" we could put a bio/image for each composer
I don't think the bio/images in "program" are that useful, but I kind of like the idea of the "featuring" counterparts.

I don't think we need bio/images for everything, mostly because if we link to their website, that stuff is all on there.
They usually also have like themes of the concert and stuff, so I think we should leave that up to the presenters. My 2c

One image is probably fine. If we can use opengraph and get whatever the website is putting as the og:image then I think that's good enough?

That sounds good to me. I'll see if I can get another (jank) design up.

arigato!


About "target" in ghm_loss.py for GHMC

Many thanks for your GREAT work!
I have a question about the "target" in ghm_loss.py:
def forward(self, pred, target, label_weight, *args, **kwargs):
Is the "target" a ont-hot format?
and where the "target" from?
Thanks a lot~~

The target is expected to have the one-hot format. If the target is the class number from COCO, these codes are used to deal with it:
https://github.com/libuyu/mmdetection/blob/be06992564cc6b995b1ae86a258568e9d7b7a599/mmdet/models/losses/ghm_loss.py#L47-L49


KeyVault Certificates - helloWorld.ts - updates for docs

I'll work on codeowners in a separate PR.

@sadasant I accepted your change to use npm packages but then I ran the dev-tool to build helloWorld to get the pretttier fixes and it changed back to relative links for the packages. What do you suggest?

I can't get past the build errors so I'm trying a new PR - https://github.com/Azure/azure-sdk-for-js/pull/18984


ontology issues

Comments based on the diagram in https://github.com/EKGF/dprod/issues/94#issuecomment-2376068338:

Why do you need new classes Dataset, Distribution, DataService? You can apply your props to existing classes. IMHO only DataProduct is needed.

If it's not the intent to create subclasses, then show the namespace for each class, and do something about the pink "subclass" arrows (maybe make them dashed and without arrowheads)

why add rdfs:label? dcat:Resource uses dct:title

More comments:

Maybe informationSensitivityClassification should be raised to Resource because Distributions might have different sensitivity?
https://ekgf.github.io/dprod/#securityschematype shows Range: dcat:SecuritySchemaType. But there is no such class in dcat, change it to dprod
Similar for https://ekgf.github.io/dprod/#protocol: there is no dcat:Protocol
dprod:Protocol claims to be "A detailed specification, possibly including a specific version, for how to communicate with a service." but has no properties. Either elaborate or delete this class

Need to include info about classes (identifier etc) as we do for properties

@rivettp just to clarify/verify, we mean here that we want to show the prefix dcat: in front of class names like @VladimirAlexiev mentioned in his first bullet point right? Because we do not redefine those classes in OWL, they're just referred to from some shapes...


fix: Keybindings Interference Between Video Player and Comments

PR Fixes:

1 Keybindings Interference Between Video Player and Comments

Resolves #364
Description:
There is an issue where keybindings for navigating within the video player interfere with the functionality of the comments section. Specifically, the keybindings <, >, T, Shift+Up, and Shift+Down are conflicting with the video player's controls when the focus is on the comments textarea.
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

Video demo
https://github.com/code100x/cms/assets/36275192/33f92059-df89-4051-832b-4f61e3090ee7

Closing in favor of https://github.com/code100x/cms/pull/365


Update README.md

APSI stands for Asymmetric Private Set Intersection. Unless I'm missing some special asynchronous functionality added by the wrapper the full form of APSI should remain the same.

Thanks a lot @rnjailamba for correcting this mistake :relaxed:


LspProcessingLog (MissingHandler False SCancelRequest)

Maybe I was late to your fantastic dischord session and you mentioned that message (?)
It keeps popping up with a fresh installation of vs code 1.70.2 + ucm form the specified branch, for example when hovering over a term.. the type is shown successfully though.
ucm shows this btw

Thanks! This should be fixed on latest UCM trunk 🙌🏼


Warning with new ember-cli 2.13: ignoring input sourcemap because ENOENT

I have ember-cli-showdown installed and recently upgraded to ember-cli 2.13. Now I get this warning when building:
Warning: ignoring input sourcemap for vendor/showdown.js because ENOENT: no such file or directory, open 'src/backslash/webapp/tmp/source_map_concat-input_base_path-LjkWWUdI.tmp/vendor/showdown.js.map

Is this a known issue?

If you can throw together an example app that demonstrates it I can help triage.  No one has reported yet, so needs investigation.

Fixed in 3.1.2

@jasonmit sorry I missed your first comment in my inbox! Glad you can find it and fix it nevertheless.


HttpResponse should support a .json()

Which is syntactic sugar for :
json.loads(self.text('utf-8-sig'))

decided to add this to azure.core.rest.HttpResponse and now to azure.core.pipeline.transport.
Removing Azure.Core and Client labels as this is more Low Level Client specific


Mod keeps crashing everytime game loads

Like said the game keeps crashing when mod is loaded here's a crash report
01636325881_01006a800016e000.log
d

The problem has been identified. The current release will be updated to contain a hotfix sometime soon.

@APrettyNormalAccount try the new build https://github.com/jam1garner/smash-minecraft-skins/releases/tag/v1.2.4, reopen the issue if it doesn't work.


[SEVERE] The dataset cannot be cloned on any other repo, due to LFS rate limit.

ERROR Description:
The git lfs has a bandwidth in place of 2 GigaBytes, which is consumed within having to clone the dataset.
Potential Fix: Is to delete the dataset directory and ignore it from being pushed from any local repositories.

This has been patched under: 3cad324e4704931dc31fda39a2d3752e45d9a496


Added h3manth.com to the list

@PaulKinlan Can we add multiple feed URLs?

Hmm - we can.... I think.