Error "Context ancestry chain length is abnormally long. This suggests an error in application code. Length exceeded: 1000"

We have set up Zeebe and Elasticsearch with the official Helm chart “camunda-platform” 8.2.6 on Azure AKS, and we sporadically get following error:
message: Context ancestry chain length is abnormally long. This suggests an error in application code. Length exceeded: 1000
logger_name: io.grpc.Context
thread_name: pool-8-thread-1
stack_trace: java.lang.Exception: null
    at io.grpc.Context.validateGeneration(Context.java:1124)
    at io.grpc.Context.<init>(Context.java:202)
    at io.grpc.Context.withValue(Context.java:345)
    at io.opentelemetry.javaagent.shaded.instrumentation.grpc.v1_6.internal.ContextStorageBridge.doAttach(ContextStorageBridge.java:67)
    at io.grpc.Context.attach(Context.java:427)
    at io.grpc.internal.ManagedChannelImpl$ChannelStreamProvider$1RetryStream.newSubstream(ManagedChannelImpl.java:591)
    at io.grpc.internal.RetriableStream.createSubstream(RetriableStream.java:237)
    at io.grpc.internal.RetriableStream.start(RetriableStream.java:369)
    at io.grpc.internal.ClientCallImpl.startInternal(ClientCallImpl.java:289)
    at io.grpc.internal.ClientCallImpl.start(ClientCallImpl.java:191)
    at io.grpc.stub.ClientCalls.startCall(ClientCalls.java:341)
    at io.grpc.stub.ClientCalls.asyncUnaryRequestCall(ClientCalls.java:315)
    at io.grpc.stub.ClientCalls.asyncUnaryRequestCall(ClientCalls.java:303)
    at io.grpc.stub.ClientCalls.asyncServerStreamingCall(ClientCalls.java:89)
    at io.camunda.zeebe.gateway.protocol.GatewayGrpc$GatewayStub.activateJobs(GatewayGrpc.java:912)
    at io.camunda.zeebe.client.impl.worker.JobPoller.poll(JobPoller.java:103)
    at io.camunda.zeebe.client.impl.worker.JobPoller.poll(JobPoller.java:92)
    at io.camunda.zeebe.client.impl.worker.JobWorkerImpl.poll(JobWorkerImpl.java:172)
    at io.camunda.zeebe.client.impl.worker.JobWorkerImpl.lambda$tryPoll$0(JobWorkerImpl.java:141)
    at java.base/java.util.Optional.ifPresent(Optional.java:178)
    at io.camunda.zeebe.client.impl.worker.JobWorkerImpl.tryPoll(JobWorkerImpl.java:138)
    at io.camunda.zeebe.client.impl.worker.JobWorkerImpl.onScheduledPoll(JobWorkerImpl.java:128)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)

We use following configuration for the Helm chart:
global:
  elasticsearch:
    host: infra-camunda-elasticsearch
    port: 9200
  identity:
    auth:
      enabled: false
  ingress:
    enabled: false
  zeebePort: 26500
connectors:
  enabled: false
elasticsearch:
  enabled: true
  clusterName: infra-camunda
  nodeGroup: elasticsearch
  masterService: infra-camunda-elasticsearch
  nodeAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
        - matchExpressions:
            - key: nodepool
              operator: In
              values:
                - default
  priorityClassName: infra-base
  replicas: 2
  resources:
    requests:
      cpu: 500m
  esConfig:
    elasticsearch.yml: |
      ingest.geoip.downloader.enabled: false
identity:
  enabled: false
operate:
  enabled: false
optimize:
  enabled: false
postgresql:
  enabled: false
prometheusServiceMonitor:
  enabled: false
tasklist:
  enabled: false
zeebe:
  clusterSize: 3
  partitionCount: 3
  replicationFactor: 3
  logLevel: INFO
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
          - matchExpressions:
              - key: nodepool
                operator: In
                values:
                  - default
  priorityClassName: infra-base
  env:
    - name: ZEEBE_BROKER_CLUSTER_MEMBERSHIP_PROBETIMEOUT
      value: 500ms
zeebe-gateway:
  replicas: 2
  podLabels:
    component: infra-camunda-zeebe-gateway
  logLevel: INFO
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
          - matchExpressions:
              - key: nodepool
                operator: In
                values:
                  - default
  priorityClassName: infra-base
  env:
    - name: ZEEBE_GATEWAY_CLUSTER_MEMBERSHIP_PROBETIMEOUT
      value: 500ms

As for the client we use Spring Zeebe 8.2.0 in a Spring Boot 3.0.6 application with following configuration:
zeebe:
  client:
    broker:
      gateway-address: infra-zeebe:26500
    security:
      plaintext: true
    worker:
      max-jobs-active: 32
      threads: 1

Our original setup was different from the proposed installation in the Camunda Platform 8 installation, so we set it now up using the Helm chart provided by Camunda. We disabled the network policies in our AKS cluster to avoid problems related to blocked connections. Sometimes it seems as if the Zeebe clients would just keep working, but sometimes we have to restart them to get them processing again.

Howdy @wurst-case-scenario - would you mind posting this to the general forum: https://forum.camunda.io/? This is not related to the Spring integration and it is easier to pull in the right people there... Sorry for the inconvenience and thanks in advance!


Remove zero initialization for adaln_zero_gamma_linear

Zero initialization here differs from the paper (as shown below) and also prevents any non-zero gradients from being associated with adaln_zero_gamma_linear (since the gradient of a constant bias with no associated weights - i.e., -2.0 is 0.0).

Will re-investigate locally


ISPN-10097 Remove unused "start" attribute from server config

https://issues.jboss.org/browse/ISPN-10097
https://issues.jboss.org/browse/ISPN-10098

Related failures in CI

Failures fixed, this should be ready to go.

Integrated, thanks Ryan!


Allow to save FBP file when it is not attached to a project

We should allow the user to be able to save a new FBP file when the code was created before the project was created
If there is no selected project we should pop up a dialog asking him to type the name of the project and the name of the FBP files he is creating.

PR to allow this behavior created: https://github.com/solettaproject/soletta-dev-app/pull/91

PR merged. Issue closed.


HOTT-4931 CDS/Taric Sync specs update

Jira link
https://transformuk.atlassian.net/browse/HOTT-4931
What?
I have added/removed/altered:

[x] Altered Taric and CDS Specs to ensure they are testing Taric and CDS Sync processes respectively

Why?
I am doing this because:

Some CDS Specs were testing the Taric synchronize process so this will provide better coverage as part of the improvements and refactoring to the Taric/CDS process code.

Minimal risk as these are just spec changes.
Code to run these specs:
bundle exec rspec spec/controllers/api/admin/rollbacks_controller_spec.rb spec/formatters/description_formatter_spec.rb spec/integration/taric_synchronizer/rollback_spec.rb spec/integration/taric_synchronizer_spec.rb spec/unit/cds_synchronizer_spec.rb spec/unit/taric_synchronizer_spec.rb spec/unit/tariff_synchronizer/base_update_importer_spec.rb spec/unit/tariff_synchronizer/logger_spec.rb spec/workers/rollback_worker_spec.rb

Awesome work - so nice to see better specs going in there 👍

Thank you and for your help with this @jebw


Add (optional) logging of info-level engine logs to Influxdb

When investigating misbehaving apps (e.g. apps consuming a lot of RAM) it would be helpful to have info-level log messages stored in Influxdb alongside the warnings and errors.
There can be a lot of info-level messages though, so this should ideally be enabled/disabled on a per-server basis.

Fixed by #48. Only on global level though (not per server)


[FEA] Databricks build and test scripts should compute BASE_SPARK_VERSION

Is your feature request related to a problem? Please describe.
In order to use the scripts under jenkins/databricks, one must first remember to set BASE_SPARK_VERSION (and of course know what proper value to use when setting it).  This is easy to forget and requires developers to know what values correspond to the various Databricks versions.
Describe the solution you'd like
We're already automatically detecting which Databricks version we're on in our shim provider by examining the value of spark.databricks.clusterUsageTags.sparkVersion in /databricks/common/conf/deploy.conf. The Databricks build and test scripts could do the same.  We can then maintain the mapping of Databricks version to proper Spark base version in the scripts directly rather than requiring a developer to maintain the lookup table in their head.

I noticed the same, and proposed this PR #7097


[bug] Captcha is not getting rendered

For some reason the Captcha is not getting rendered. Please investigate

@rsamantra, can you please comment on what the issue was?

after refreshing the page I was not able to reproduce this issue. kindly test it on your device, so that I can close and comment. @sidharthshah.

@rsamantra and @Shivani-Padhye this is happening on Mac. Will show it to you folks today.


Allow to specify 'background' for each level

You can add 'background' property (integer) to a level JSON file to bind level with specific background.

Looks very good! I have only one note - Level constructor should not take Game instance in my opinion. Game is a large object and I would prefer Level to not be coupled with it. But it is a quick fix, I can do it.
I also think it might be better if we use filenames instead of numbers for backgrounds. Because when you say you want background 42 in your level it doesn't really say much and when the backgrounds change you might no longer know which background it was. If the background was identified by a string, e.g. "blue_sky" you would have much more information.


Additional command features

Addition of command features such as aliases, cooldowns, guild only messages, categories, etc. for example the ones indicated in this article

Slash commands would also be cool


Is an unbound editor with save/cancel/delete needed for Core Data?

Try integrating into TablerCoreDemo and see what works and what's needed of Detailer.

Integrated. See TablerCoreDemo for details.


[CSS] Search results appear underneath upper fold

I initially thought that search didn't work, because I didn't see an official postgres chart due to results appearing underneath the upper fold.

Browser: Chrome 83.0.4103.97
OS: Windows 10

Can confirm this. As a workaround, I use this uBlock Origin filter in the meantime to fix the spacing issue:
! see https://github.com/helm/hub/issues/373
! fix that there is a lot of space between rows in the search results
hub.helm.sh##.chart-list:style(height: min-content)

This issue has been fixed in Monocular, the software powering the hub. The Helm Hub now redirects to the Artifact Hub. Closing this issue.


xp drops centered instead of aligned to the edges? (left and right)

Love the work, great plugin!
Is it possible to make the xp drops act like a centered text instead of anchoring to the right or right?
Like how the xp drops work in the middle position or like if you center text in word.
As in adding the option to do it, not making it the default of course.

Also discussed this in https://github.com/l2-/template-plugin/issues/53.
I don't really want to implement it right now. It works fine if you manually position it, right?

It kind of works but unfortunately when xp drops are of different sizes being anchored to either left or right makes it very janky compared to how it acts when the xp drops are centered, for example when adding expected hits it can be miles off center compared to other non-combat xp drops. Making both combat and non-combat centered doesn't really work (or if using controlled/vs just one combat style) instead having to pick which one should be in the center.
But understandable if it's too much work just a wish from my part, the plugin is incredibly good.

Should be possible to configure once https://github.com/runelite/plugin-hub/pull/4950 is merged


toast mobile view

Follow Figma for toast component mobile view design
closes #134

Closed bc pr #130 has the mobile view code as well. It was only 1.5 lines of code.


Clippy fixes with markdown docs

Thanks for contributing! Unfortunately, I'm here to tell you there were the following style issues with your Pull Request:

Commit: 581e01e685d1464b4bcaef8c11a76cb63e1381b0
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/hyperium/hyper/blob/master/CONTRIBUTING.md

This message was auto-generated by https://gitcop.com

Seems the change to the Box::new doesn't work.
On Wed, May 4, 2016, 11:36 PM GitCop<EMAIL_ADDRESS>wrote:

Thanks for contributing! Unfortunately, I'm here to tell you there were
the following style issues with your Pull Request:

Commit: 581e01e
https://github.com/hyperium/hyper/commit/581e01e685d1464b4bcaef8c11a76cb63e1381b0

Commits must be in the following format: %{type}(%{scope}):
%{description}

Guidelines are available at
https://github.com/hyperium/hyper/blob/master/CONTRIBUTING.md
This message was auto-generated by https://gitcop.com
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/hyperium/hyper/pull/779#issuecomment-217086775

My bad, forgot to undo it properly. fixed

Thanks!


Add dummy data for developing offline

Thoughts?

This issue is old as hell but you can use Resolv to test for internet, just ask the DNS server, it's the first to fall when there is no internet and it's the only thing that really can be tested with quickness and efficiency in that they normally respond in less than half a second so people won't notice.

A handful of potentially terrible ideas:

Use dummy 'octocat' data, like we do for response examples on developer.github.com
Look to a certain key in the user's config
Look to a certain data file in the data folder (which could be JSON then)
On first call, cache the response to one of the above
Have a command line argument to cache a response
Just return empty strings for everything

I'd probably lean towards dummy data, as the OP suggests, and it sounds like Resolv should be a semi-reliable/fast way to test for internet?
The other edge case is slow internet, e.g., Airplane wifi, where Resolv might return, but I'd probably want to disable external calls anyway to cut my build time.

@benbalter
[1] pry(main)> Resolv::DNS.new().getaddress("envygeeks.io") #=> #<Resolv::IPv4>
[2] pry(main)> Resolv::DNS.new().getaddress("envygeeks.io")
# Resolv::ResolvError: DNS result has no information for envygeeks.io

That said, I'm kind of a fan of the cache on first call mixed with DNS testing.


Dataset Tiling

Memory calculations to assist users in tiling their large datasets!
Ie: for an 11GB dataset it wont fit into the 16GB VRAM for deconvolution, so we need to cut it up into tiles, the newer versions of microvolution assist the users by telling them when the GPU usage is too large by highlighting in Red
But for the portal we need to do this automatically
I believe this has been done in the newer versions of microvolution
Default "un-ticked" Tickbox to allow users to enable Peer to Peer GPU mode to share GPU VRAM
Default "ticked" tickbox to Enable Auto-Tiling mode including memory usage estimator in API

image

need to test if this is working the same as FIJI/microvolution plugin

JS, NC, DG, ND, ME zoom call on 12-Mar-2024:

JS: not clear how accurate the results are, delays waiting for slurm job to run estimate, can we provided estimated slurm scheduling time, looking for user experience similar to Huygens

IMB to do more testing, raise with Marc Bruce?

ME: open CRM issue if IPP found to be not correctly interpreting microvolution estimates, run resource estimate jobs on slurm debug queue to minimise slurm scheduling delay, can microvolution do estimate with list of available resources rather than having to run with actual resources, do bunya walltime limits enable better scheduling delay estimates?
Review as part of 2H2024 work


How to change the launch settings port?

Environment data
.NET Command Line Tools (2.0.0)
Product Information:
Version:            2.0.0
Commit SHA-1 hash:  cdcd1928c9
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.15063
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\2.0.0\
Microsoft .NET Core Shared Framework Host
Version  : 2.0.0
Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d
VS Code version: 1.16.0
C# Extension version:  1.12.1
I am just trying to figure out how to change the port when I launch the debugger.  Right now it launches with 5000 by default.

Here is an example of the launch setting where I would like to change the port.

{
   "version": "0.2.0",
   "configurations": [
        {
            "name": ".NET Core Launch (web)",
            "type": "coreclr",
            "request": "launch",
            "preLaunchTask": "build",
            // If you have changed target frameworks, make sure to update the program path.
            "program": "${workspaceRoot}/bin/Debug/netcoreapp2.0/Ambassadors.Admin.Web.dll",
            "args": [],
            "cwd": "${workspaceRoot}",
            "stopAtEntry": false,
            "internalConsoleOptions": "openOnSessionStart",
            "launchBrowser": {
                "enabled": true,
                "args": "${auto-detect-url}",
                "windows": {
                    "command": "cmd.exe",
                    "args": "/C start ${auto-detect-url}"
                },
                "osx": {
                    "command": "open"
                },
                "linux": {
                    "command": "xdg-open"
                }
            },
            "env": {
                "ASPNETCORE_ENVIRONMENT": "Development"
            },
            "sourceFileMap": {
                "/Views": "${workspaceRoot}/Views"
            }
        },
        {
            "name": ".NET Core Attach",
            "type": "coreclr",
            "request": "attach",
            "processId": "${command:pickProcess}"
        }
    ]
}

This isn't really a C# extension question but rather an ASP.NET question. So you may have better luck asking the question on an ASP.NET repo.

your project should have a launchSettings.json file similar to this one:
  "iisSettings": {
    "windowsAuthentication": false,
    "anonymousAuthentication": true,
    "iisExpress": {
      "applicationUrl": "http://localhost:12345/",
      "sslPort": 0
    }
  },

There will be entries for iis, Project, etc. The applicationUrl will configure the port that is used by the app.
This page has some details regarding the launchSettings file. If you don't find the answer you're looking for, I'd open an issue on https://github.com/aspnet/home.

launchSettings.json is not read when launching with vscode (using launch.json). Environment variable ASPNETCORE_URLS should be used instead:
"env": {
    "ASPNETCORE_ENVIRONMENT": "Development",
    "ASPNETCORE_URLS": "http://localhost:4000/"
}


list all peers in initial-cluster

Please read https://github.com/etcd-io/etcd/blob/master/CONTRIBUTING.md#contribution-flow.

/approve
/lgtm
/retest

/cheerypick openshift-4.4

/cherrypick openshift-4.4

TestRoundRobinBalancedResolvableFailoverFromRequestFail

nice..
/retest

/lgtm


Client Implementation

Dear Devels,
I am trying to code a lightweight implementation of CoAP using the MicroCoAP API, but before to start, I would like to ask the current API can handle both client and server services
Kind Regards

this library is for server part and do not contain client method like coap_make_request(...)

Thank you for the answer!
Can I build such a method regarding the current variables ?

I guess it is possible. If i'm not mistaken, you should create your coap_packet_t packet manually for the request according to your new coap_make_request, the use coap_build to build the binary data and send the data via system methods.

Thank you for your answer. I will give it a try and let you know about the status

Hi, I had sent a CoAP payload, but it shows malformed packet in Wireshark. I was able to do that for ie. 263 byte but for a bit bigger payload it shows malformed packet.

Frame 1851175: 300 bytes on wire (2400 bits), 300 bytes captured (2400 bits) on interface 0
Linux cooked capture
Internet Protocol Version 4, Src: <IP_ADDRESS>, Dst: <IP_ADDRESS>
User Datagram Protocol, Src Port: 5683 (5683), Dst Port: 5683 (5683)
Constrained Application Protocol, Confirmable, POST, MID:57055
    01.. .... = Version: 1
    ..00 .... = Type: Confirmable (0)
    .... 0000 = Token Length: 0
    Code: POST (2)
    Message ID: 57055
    Opt Name: #1: Uri-Path: rd
        Opt Desc: Type 11, Critical, Unsafe
        1011 .... = Opt Delta: 11
        .... 0010 = Opt Length: 2
        Uri-Path: rd
    Opt Name: #2: Uri-Query: ep=cdef03
        Opt Desc: Type 15, Critical, Unsafe
        0100 .... = Opt Delta: 4
        .... 1001 = Opt Length: 9
        Uri-Query: ep=cdef03
    Opt Name: #3: Uri-Query: lt=86400
        Opt Desc: Type 15, Critical, Unsafe
        0000 .... = Opt Delta: 0
        .... 1000 = Opt Length: 8
        Uri-Query: lt=86400
    Opt Name: #4: Uri-Query: b=U
        Opt Desc: Type 15, Critical, Unsafe
        0000 .... = Opt Delta: 0
        .... 0011 = Opt Length: 3
        Uri-Query: b=U
    [Expert Info (Warn/Malformed): Invalid Option Range: 0 (1 < x < 255)]
        [Invalid Option Range: 0 (1 < x < 255)]
        [Severity level: Warn]
        [Group: Malformed]
    Opt Name: #5: Uri-Query: (null)
        Opt Desc: Type 15, Critical, Unsafe
        0000 .... = Opt Delta: 0
        .... 0000 = Opt Length: 0
        Uri-Query: (null)
    [Expert Info (Warn/Malformed): Invalid Option Range: 0 (1 < x < 255)]
        [Invalid Option Range: 0 (1 < x < 255)]
        [Severity level: Warn]
        [Group: Malformed]
    Opt Name: #6: Uri-Query: (null)
        Opt Desc: Type 15, Critical, Unsafe
        0000 .... = Opt Delta: 0
        .... 0000 = Opt Length: 0
        Uri-Query: (null)
    [Expert Info (Warn/Malformed): Invalid Option Range: 0 (1 < x < 255)]
        [Invalid Option Range: 0 (1 < x < 255)]
        [Severity level: Warn]
        [Group: Malformed]
    Opt Name: #7: Uri-Query: (null)
        Opt Desc: Type 15, Critical, Unsafe
        0000 .... = Opt Delta: 0
        .... 0000 = Opt Length: 0

(there are so many like this so just truncated)
I am sending CoAP request from intel edison microcontroller part to leshan server. Please suggest.


Fixes Migrate UI bug with auto_select_host field

When the auto_select_host field is disabled, we need a hidden
field that passes the value. Disabling a field keeps it from
being submitted, but in the case where auto_select_host is
disabled, it needs to be set to '1' to enable auto select.
This is similar to the way we handle this same field value
with host evacuation

@mansam This is similar to what we had to add to the evacuate UI to handle the same situation

Looks good to me.

@miq-bot add_label darga/yes

@miq-bot add_label ui
@miq-bot add_label bug

@miq-bot add_label ui


Hms fix geofencing

ADD NativeModule to check whether user phone is GMS or HMS phone
ADD Huawei Location Libs to project
initialize Huawei Location in BackgroundTracking
update Location every 5min

Please branch out from master instead of align-master, we are not using that branch anymore.
I have some suggestions for the implementation

We don't need to implement a Native Module for detecting GMS, since react-native-device-info provides that function already (already on master).
If possible, We should not modify BackgroundTracking class

Instead we implement a class for HMS one separately, maybe called HMSBackgoundTracking and expose the same interface as BackgroundTracking - eg. start|stop|getLocations.  (I will soon add this interface)
Then we can have LocationTrackingManager and it will initiate a background tracking instance based on the device.
And the main app interact only with the LocationTrackingManager

Would be good we HMSBackgoundTracking also has a function to send a location to the server.

Please branch out from master instead of align-master, we are not using that branch anymore.
I have some suggestions for the implementation

We don't need to implement a Native Module for detecting GMS, since react-native-device-info provides that function already (already on master).
If possible, We should not modify BackgroundTracking class

Instead we implement a class for HMS one separately, maybe called HMSBackgoundTracking and expose the same interface as BackgroundTracking - eg. start|stop|getLocations.  (I will soon add this interface)
Then we can have LocationTrackingManager and it will initiate a background tracking instance based on the device.
And the main app interact only with the LocationTrackingManager

Would be good we HMSBackgoundTracking also has a function to send a location to the server.

closed in favor of #74


fix: syncing from epoch 0 before consensus has started

Description
Motivation and Context
Swarm will sometimes fail to start because syncing from epoch 0 will fail when starting a new network.
How Has This Been Tested?
What process can a PR reviewer use to test or verify this change?
Breaking Changes

[x] None
[ ] Requires data directory to be deleted
[ ] Other - Please specify

LGTM!


Adding Tumblr?

I can't seem to add a Tumblr option. I put in the key and secret and get redirected to the authentication page but I get an error on /auth/tumblr/check for:
InvalidArgumentException: $user must be an instanceof UserInterface, an object implementing a __toString method, or a primitive string.

I'm having the same issue with vkontakte. Where in your code is the listener located ?


⚠ Bofrost.at has degraded performance

In fb337e8, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1318 ms

Resolved: Bofrost.at performance has improved in 3eedcee.


One question contains couple the same answers

Currently it's possible to have a couple of the same answers for the same word

We should fix it by rewriting the quiz logic so each answer is unique

Another example

In all of above cases the duplicated answer was the correct one.
It might be handy while debugging logic.


["Ad"] Checking the mnemonic

Hi! I think you can implement it easily anyway, but I will just share my little code for a mnemonic checker here. The input in the function must be a list of integers in [0,2047], so convert the word list first. However, the mnemonic length is not checked (e.g. divisibility by 3). Kthxbye!
...runs away...
P.S. excuse for the license hahaha
EDIT: I suggest that if the mnemonic is invalid according to BIP-39, just display a notice before displaying the keys & addresses, and do not block the user.

Sorry for this... I think I should "complete" the above script. You may now delete this.


Alignment override

An override to align specific symbols in disassembly would be useful for shiftability

Added in https://github.com/SeekyCt/ppcdis/commit/0ab8975ba8189db05e2476dc02d39ad644b5925b


Issues with returning related objects to user

Hi there, I'm trying to get some related fields via GET method, but when I try it I only get default value e.g null.
Maybe there's someone who can explain where I'm wrong?
It seems like all the errors I'm getting is where there's a list of related objects.
I'm getting the Item object in swagger, but without SupplierItem and Images relations.
models\item.py
class Item(Base):
    id = Column(Integer, primary_key=True, index=True)
    title = Column(String, index=True)
    article = Column(String, index=True)
    description = Column(String, index=True)

    vat_id = Column(Integer, ForeignKey("vat.id"))
    vat = relationship("Vat")

    manufacturer_id = Column(Integer, ForeignKey("manufacturer.id"))
    manufacturer = relationship("Manufacturer", back_populates="items")

    unit_id = Column(Integer, ForeignKey("unit.id"))

    price = relationship("Price", back_populates="item")
    images = relationship("Image", back_populates="item")
    supplier_items = relationship("SupplierItem", back_populates="item")

    is_active = Column(Boolean, default=True)

models\supplier_item.py
class SupplierItem(Base):
    id = Column(Integer, primary_key=True, index=True)
    title = Column(String, index=True, unique=True)
    is_active = Column(Boolean, default=True)

    price = relationship("Price", back_populates="supplier_item")

    supplier_id = Column(Integer, ForeignKey("supplier.id"))
    supplier = relationship("Supplier", back_populates="supplier_items")

    item_id = Column(Integer, ForeignKey("item.id"))
    item = relationship("Item", back_populates="supplier_items")

schemas\item.py
class ItemBase(BaseModel):
    id: int
    title: Optional[str] = None
    description: Optional[str] = None
    article: Optional[str] = None
    manufacturer: Optional[Manufacturer] = None
    unit: Optional[Unit] = None
    price: Optional[List[Price]] = None
    vat: Optional[Vat] = None
    image: Optional[List[Image]] = None
    supplier_item: Optional[List[SupplierItem]] = None

endpoints\items.py
@router.get("/{id}", response_model=schemas.Item)
def read_item(
        *,
        db: Session = Depends(deps.get_db),
        id: int,
        current_user: models.User = Depends(deps.get_current_active_user),
) -> Any:
    """
    Get item by ID.
    """
    item = crud.item.get(db=db, id=id)
    if not item:
        raise HTTPException(status_code=404, detail="Item not found")
    if not crud.user.is_superuser(current_user):
        raise HTTPException(status_code=400, detail="Not enough permissions")
    return item

OS MacOS 11.2.3
FastAPI version 0.54.2
Python 3.7.7

You shouldn`t directly use Sqlalchemy model as Pydantic's filed type.
add class config:orm_mode=True for Item model.

Issue was that I misspelled couple Pydantic types, so I had issues.

Thanks for the help here @waynerv ! 👏  🙇
Thanks for reporting back and closing the issue @kgorshkoff  👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


vlang: fix build on darwin, cleanup

Description of changes
$ nix-build -A vlang
/nix/store/5lqx6sm90dxna5vhx9kw8rbvgapcpq2z-vlang-weekly.2023.19
$ echo "println('42')" > hello.v
$ result/bin/v hello.v
$ ./hello
42

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ofborg build vlang vlang.passthru.tests

nice one!


Experimental options - async/await

I specifically want to use traceur to use async/await. As far as I understand, this needs to be enabled by passing experimental flag to traceur.
Over here https://github.com/sindresorhus/gulp-traceur#traceuroptions it states that you should just pass whatever options you want to pass to the traceur compiler to the constructor of the gulp-traceur task. As you can see, I did this in my setup.
gulp.task('trac', function () {
    return gulp.src('./scripts/**/*.js')
        .pipe(traceur({experimental: true}))
        .on('error', function (err) {
          console.error('Error', err.message);
        })
        .pipe(sourcemaps.init())
        .pipe(sourcemaps.write())
        .pipe(gulp.dest('./dist/js'));
});

To test the setup, I copied this code I found on the interwebs into my files:
function promisingOperation() {
    return new Promise(function(resolve, reject) {
        setTimeout(function() {
            if( Math.round(Math.random()) ){
                resolve('Success!');
            }
            else{
                reject('Failure!');
            }
        }, 1000);
    });
}

(async function () {
    var message = await promisingOperation();
    console.log(message);
})();

But when the gulp task runs, it gives me this output:
Error filename:line:char: Semi-colon expected, which points to just after the await statement.
So it seems to me like it's not enabling the experimental features correctly?

This task just passes options to Traceur: https://github.com/sindresorhus/gulp-traceur/blob/dbef4ad745b555ead5c171c612d7c7510f16c644/index.js#L9
If it's not working that's a Traceur issue and should be opened on its issue tracker instead ;)

Thanks Sindre.

For anyone else struggling with this, I've opened an issue on the traceur repo: https://github.com/google/traceur-compiler/issues/1711


Feature: Support for tmux's Control Mode

tmux has a feature called Control Mode, which allows a client i.e a terminal emulator such as Ghostty to manage tmux panes.  This has the benefit of enabling native integration with the terminal emulator and by extension the host OS system, making it easier to manage buffers without having to jump through hoops imposed when using tmux directly.

Is this the same as the tmux integration in iTerm2 (enabled by adding -CC to the tmux command)?
If so, consider this a gigantic +1 (+1M). I'm so dependent on that feature that I'll probably continue to use iTerm2 until Ghostty or another terminal emulator supports it.

@dtenenba Yes, an equivalent feature implemented in Ghostty is the intended outcome from this issue.


Improve message on Arbitrum deposit toast

The Chore
We get stuck on this for a long time

Acceptance criteria
There is a Core discussion about whether actually we can just use latest status on Arbbitrum and if we can then all this goes away because they will be pretty much instant.
If not ... we've now talked through the fact that we can call eth_getBlockByNumber() every say 30s with each of latest, finalized, and safe and we'll be able to provide a kind of countdown on the toast and the deposit table.  See additional details for more. (NB. simplified this logic now with a more basic flow)

[ ] Using the logic below update the toast
[ ] Using the logic below update the deposits table under "Status" column as the deposit progresses

Additional details / background info
New simplified logic

Deposit made at block X
Call eth_getBlockByNumber(safe)
Inform user "X - result  blocks until your deposit is safe on Arbitrum and can be used to trade"
Once X - result < 0 trigger green toast with deposit complete message

Previous logic

Deposit made at block X
Call eth_getBlockByNumber(latest)
Inform user it is X - result  blocks until they reach latest status on Arbitrum
Once X - result < 0 call instead eth_getBlockByNumber(finalized)
Inform user it is X - result blocks until they reach finalized status on Arbitrum
Once X - result < 0 call instead eth_getBlockByNumber(safe)
Inform user it is X - result blocks until they reach safe status on Arbitrum
Once X - result < 0 tell the user the deposit is complete and their funds are available for trading

Docs
https://docs.arbitrum.io/for-devs/troubleshooting-building#how-many-block-numbers-must-we-wait-for-in-arbitrum-before-we-can-confidently-state-that-the-transaction-has-reached-finality

Core decision to use "Latest" means this iis not really needed once next core release is in.
Not  worth doing for the sake of 3 weeks.


Error requiring stdlib

macOS 10.14.1 (18B75)
crystal env
CRYSTAL_CACHE_DIR="/Users/anders/.cache/crystal"
CRYSTAL_PATH="/usr/local/Cellar/crystal/0.27.0/src:lib"
CRYSTAL_VERSION="0.27.0"

code --version
1.29.1
bc24f98b5f70467bc689abf41cc5550ca637088e
x64

which crystal
/usr/local/bin/crystal

crystal -v
Crystal 0.27.0 (2018-11-04)

LLVM: 6.0.1
Default target: x86_64-apple-macosx

Settings:
    "crystal-lang.compiler": "/usr/local/bin/crystal",
    "crystal-lang.hover": true,
    "crystal-lang.implementations": true,
    "crystal-lang.logLevel": "warn",
    "crystal-lang.problems": "build",

Error:
while requiring "prelude": can't find file 'prelude'

If you're trying to require a shard:
- Did you remember to run `shards install`?
- Did you make sure you're running the compiler in the same directory as your shard.yml?```

@baelter Thank you for report this, I'll try to reproduce it :+1:
Have you tried scry as well? :sweat_smile: See: https://github.com/crystal-lang-tools/scry/ and https://github.com/crystal-lang-tools/vscode-crystal-lang/wiki/Settings#server

No yet. But I will if that is what's getting most developer attention.

Hi @baelter Do you still have this issue? I'm trying to reproduce it :sweat_smile:

I am having the same issue right now (macOS 10.14.6)

Also tested scry (followed installation instructions). Having this one line in main.cr
puts "Hello"

scry gave me this error
[Info  - 3:46:34 PM] Scry is looking into your code...
[Error - 3:46:37 PM] An error was found while searching diagnostics
Unexpected char 'U' at 1:1
Unable to get file info: '/Users/pavestru/code/crystal-test/Users/pavestru/.cache/crysta/Users-pavestru-code-crystal-test-Users-pavestru-.cache-crysta-Users-pavestru-code-crystal-test-Users-pavestru-.cache-crysta-Users-pavestru-code-crystal-test-Users-pavestru-.cache-crysta-Users-pavestru-code-crystal-test-Users-pavestru-.cache-crysta-Users-pavestru-code-crystal-test-Users-pavestru-.cache-crysta-Users-pavestru-code-crystal-test-main.cr': File name too long (File::Error)
  from raise<File::Error+>:NoReturn
  from Crystal::System::File::info?<String, Bool>:(Crystal::System::FileInfo | Nil)
  from Dir::mkdir_p<String>:Nil
  from Crystal::CacheDir#directory_for<String>:String
  from Crystal::Compiler#new_program<Array(Crystal::Compiler::Source)>:Crystal::Program
  from Crystal::Compiler#compile<Array(Crystal::Compiler::Source), String>:Crystal::Compiler::Result
  from Crystal::Command#run:(Bool | Crystal::Compiler::Result | Nil)
  from __crystal_main
  from main
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues

Related: https://github.com/crystal-lang-tools/scry/issues/173

Fixed by https://github.com/crystal-lang-tools/vscode-crystal-lang/commit/f3667c88203bcc4b79145dc5fc50f1434d47a2a0

I'm having this issue on debian-buster, ubuntu and when using crystal-docker-image.
I can see that the issue is solved by f3667c8, I actually cloned master and built the extension and it works fine.
I'm just wondering why it hasn't been published to the vscode marketplace? ^^

This fix has been published for some time.


New callback interface for training visualization.

Neural style transfer notebook example of (refactored) live notebook charting.
Trivial notebook to run train_cifar10 working.
notebook structure in place for live charting.
Needs module cb change.
Module callbacks almost working.  Epoch numbers NaN
Module / CNN example for notebook charts.
CIFAR10 training notebook for module works again.
Matching callback code to notebook.
Add new notebook
Small fix
Change notebook name
Clean merge
Small bug fix
Import cleaning

@leopd Could you separate doc from code changes?

Doc change shouldn't appear in this branch. I'll fix that.

LGTM
Please fix lint and we can merge

@leopd I'm merging this first but we need some tutorials on how to use this

There's one example of how to use it in https://github.com/dmlc/mxnet/blob/master/example/module/train_cifar10.ipynb
Agree we should better document it with more examples.  I'll do that after NIPS.

Just a note that lint fails for callback.py when no pandas is installed. It would be useful to have dependencies listed in the documentation and maybe the installation scripts.


Add FUNDING.yml

We now have a registered non-profit entity in South Korea. We could start to accept donation from the community to cover the cost related with running the projects under @netty GitHub organization, such as (but not limited to):

Build and dev infra, SaaS subscriptions and equipment
Hosting and attending the community events
Paying the core developers for their work; and
Establishing a non-profit tax-deductible foundation.

We're currently a non-profit entity located in South Korea (this is where @trustin lives). Please note that the donation is not tax-deductible at the moment.

Here are the links to the donation platforms I signed up for:

GitHub Sponsors: https://github.com/sponsors/netty/
Ko-Fi: https://ko-fi.com/netty_project
Liberapay: https://liberapay.com/netty/
Open Collective: https://opencollective.com/netty_project
Patreon: https://www.patreon.com/netty
PayPal.me: https://paypal.me/nettyproject

@normanmaurer Gentle ping 😉

@trustin LGTM

Thanks, @normanmaurer!


Camera position bug with realistic hands mode

Sometimes the camera goes behind the head if the realistic hand view setting is enabled (cl_first_person_uses_world_model 1)
Sorry for the quality of the video, it was originally intended for the bug tracker channel in discord
https://user-images.githubusercontent.com/113209128/189428506-a2d124ec-6022-4c72-9578-f6dda53d45c4.mp4

I found the setting. This is not a setup, but a command. Called "cl_first_person_uses_world_model 1

not gonna be fixed


Config file for Pedestrian and Cyclist

Could you provide me a config file for pedestrian and cyclist?

@nowsyn @tomztyang can you provide the config for pedestrian and cyclist

Hi,
This is not our original codebase, and I haven't tested the part of multi-class training. Since I am busy on some other tasks recently, I don't have time to test this part right now. I will test multi-class part when I am free.
Thank you so much for paying attention to this project again.

Thank you for your reply.
I'm trying to reproduce the result of pedestrian and cyclist.
I understood multi-class training is not necessary to reproduce the result.
But it is difficult especially for pedestrian because the bbox size is small.
Could you suggest how to modify the config file to reproduce the result in the kitti leaderboard?

@tomztyang  cna you provide what modifications have to be performed to obtain the results for pedestrian . when is the tentative time we can expect multiclass training

@tomztyang , I would like to know what should i change to reproduce results for pedestrian and cyclist ?
Thanks,

@tomztyang , could you provide the config file or version of code to reproduce the same AP result in the kitti leaderboard?


Implement test file generator function

This PR implements the abstract Project.generateTestFile() method introduced by ember-cli/ember-cli#5508

:+1:

in retrospect it feels massively stupid to require the generateTestFile() users to do the string escaping... would've made a lot more sense to do that inside here... 😞


Datasets follow-ups mega-issue

We changed a lot of logic around our instruct and chat dataset APIs in #624, but there are still a number of follow-ups discussed on that PR that we should address. These are listed (roughly) in my own descending order of priority. Except for the last one, which is last cause it's more related to configs than anything. cc @RdoubleA @kartikayk

Consider moving InstructTemplate to match ChatFormat API (i.e. List[Message] -> List[Message] instead of str -> str). Comment
Improve handling of train_on_input. E.g. currently it’s expected to be passed to our chat conversation formatter, which makes it hard to write custom ones. Comment
String mapping of chat format to corresponding class. Comment
Add validate_messages utility to ensure conversations are well-formed. Comment
Rename _transforms.py as it’s really more of formatters and the naming is a bit confusing.
Consider consolidating column map and transform for instruct datasets.
(More of a config issue but) it is hard to override datasets from CLI because we currently pass use_clean=True to Alpaca in our configs which is not accepted by other datasets and we don’t have a way to delete the config from CLI

Thanks for collecting all the issues here @ebsmothers. I can take this issue and try to address most of these.
On the first point, I am inclined to leave InstructTemplate as is until we have more user feedback. I'm worried that merging InstructTemplate with ChatFormat will be generalizing too early and lead to rigid/hacky code just to fit the merged abstraction.

On the first point, I am inclined to leave InstructTemplate as is until we have more user feedback.

Yeah I agree with this. Lemme move it down the list a bit

Ok I think everything should be covered except for:

Consider consolidating column map and transform for instruct datasets.

which I think needs more discussion

@RdoubleA thanks for tackling all these! Given the only remaining item is kind of an open discussion, I am gonna close this issue.


fold_many0 causes cannot infer type for E for named!

I don't know enough about nom to say if it's a dupe of #534 or not, but:
fold_many0 + take_while1 =  error: cannot infer type for `E`
// Works
named!(digits, take_while1!( is_digit ));
named!(multi<&[u8], () >, fold_many0!( digits, (), |_, _| {}));

// Sad :(
named!(multi<&[u8], () >, fold_many0!( take_while1!( is_digit ), (), |_, _| {}));

Hello,
which version of nom are you using?

version = "3.2.1"


Contract Interaction. Call result: BLANK but should be FALSE

33s on YouTube: https://youtu.be/XSI-SA_0ZdA
Environment
Windows (corporate job, please don't judge). Chrome. Rinkeby.
Steps to reproduce
Safe on Rinkeby: https://rinkeby.gnosis-safe.io/app/#/safes/0x823C13Be120FfB7f369bb222B0940CB2dB611597/transactions
Upgradeable proxy: https://rinkeby.etherscan.io/address/0xf590980cF1D0Dd6f92fFCB84d48055D9760Ea693
Implementation contract: https://rinkeby.etherscan.io/address/0x6c50699427b1648f1704baa99d92b3fbfc02cc39 (to fetch the ABI)
Call the function hasRole
Role: 0x0000000000000000000000000000000000000000000000000000000000000000
Account: 0xBAE8E5F877E15df0a1Ec36bFa6a9903B837d003a
I put a role: 0x1110000000000000000000000000000000000000000000000000000000000000
The hasRole() should return false, instead the result is BLANK
Expected result / obtained result
true is OK

BLANK. Should be false

Source code for AccessControl.sol
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/883116e4afa59a1155fcd4a4c394819e636794e6/contracts/access/AccessControl.sol#L85-L89
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

Still reproduceable

Marking this as major since the Safe is used quite a bit for low level interaction. And while this is "just" a read method issue, we should fix it.


Repeater component is not working with GCS data

Repeater component is not working with GCS data
When I use the Repeater component with data loaded by Cloud Storage, specifically GCS, an error occurs, and no images are displayed (in this case, images).
Tests performed:

I have tried to create a task WITHOUT Repeater with those same paths to GCS, and the images load.
I have tested the same view with local-files, and it works. The images are loaded.
I have tried that same json loading from step 2 with the URLs from step 1, and it produces the error.

To Reproduce
Steps to reproduce the behavior:

Create a task with a Repeater.

<View>
  <Repeater on="$fichero" indexFlag="{{idx}}" mode="pagination">
    <Header value="Página {{idx}}"/>
    <Header value="Selecciona la clase" />
    <Filter name="filter_clase_{{idx}}" toName="clase_pagina_{{idx}}"
          hotkey="shift+f" minlength="0"
          placeholder="Filtro" />
    <Choices name="clase_pagina_{{idx}}" showInline="true" required="true" toName="pagina_{{idx}}">
      <Choice value="33_IVAAnual_555"/>
      <Choice value="25_IRPFTrimestral_F69" />
      <Choice value="111_Declaracion_anual_347" />
      <Choice value="Otro_documento" />
    </Choices>

    <Header value="Selecciona el documento lógico" />
    <Choices name="documento_pagina_{{idx}}" showInline="true" required="true" toName="pagina_{{idx}}">
	    <Repeater on="$fichero" indexFlag="{{didx}}">
	          <Choice value="{{didx}}"/>
	    </Repeater>
    </Choices>

    <Image name="pagina_{{idx}}" value="$fichero[{{idx}}].pagina"/>
  </Repeater>
</View>

Connect your source storage to your GCS.
Create a json payload for the task using GCS.

[
  {
    "data": {
      "fichero": [
        {
          "pagina": "gs://your_bucket_name/tmp/pool.jpg"
        },
        {
          "pagina": "gs://your_bucket_name/tmp/pool.jpg"
        }
      ]
    }
  },
  {
    "data": {
      "fichero": [
        {
          "pagina": "gs://your_bucket_name/tmp/modelo-347.png"
        },
        {
          "pagina": "gs://your_bucket_name/tmp/modelo-347.png"
        },
        {
          "pagina": "gs://your_bucket_name/tmp/modelo-347.png"
        },
        {
          "pagina": "gs://your_bucket_name/tmp/modelo-347.png"
        }
      ]
    }
  }
]

Try to label a case.

Expected behavior
That the images loaded by GCS in the Repeater component work.
Screenshots

Server logs.

Label Studio Error.

Environment (please complete the following information):

OS: Ubuntu 20.04.5 LTS
Label Studio Version: v1.4.1post1 & v1.7.0

Additional context
None.

@MarioProjects

Switch to the latest LS develop branch
put into the root of your task data any URI with storage, e.g.:

{
    "data": {
      ===> "pagina": "gs://your_bucket_name/tmp/pool.jpg",  <===
      "fichero": [
        {
          "pagina": "gs://your_bucket_name/tmp/pool.jpg"
        },
        {
          "pagina": "gs://your_bucket_name/tmp/pool.jpg"
        }
      ]
    }
  }

Now the resolving should work.

We're going to support it in a more convenient way where you don't need to link to the repository at the root level.


sleep to prevent flakes  on delayed windows installer service

hopefully, this will prevent a flake like this https://github.com/tetratelabs/func-e/runs/3318938205
I used 2 seconds because that's the last magic number choco uses https://github.com/chocolatey/choco/blob/master/src/chocolatey/infrastructure.app/services/AutomaticUninstallerService.cs#L41

fingers crossed no flakes https://github.com/tetratelabs/func-e/actions/runs/1126548259


Vancedteamsdk

https://github.com/EspressoLogicDemo/Demo_O6dEx/issues/1

Hi @DragonEarin,
it seems like you opened this issue by accident. If you encounter an issue with CLA-Assistant, please make sure to follow the issue template and create a new issue for it. Thanks a lot.


Q3 kontent kedd material

Tutorials

[ ] install

Admin-ui guides
Blogposts

List field removal is not filled in the documentation for react and sn-client, because:

DeleteField action currently not working in .NET core environments.
SenseNet JS API currently give no option to create requests with DELETE method.

Another findings:
https://docs.sensenet.com/concepts/introduction
If I reach this page from the exact url drawer lose its active style
https://docs.sensenet.com/concepts/basics/04-search
Metadata indexing, searching by fields --> What is this [link] for?
https://docs.sensenet.com/concepts/content-management/02-content-model
It seems that it is not finished.
https://docs.sensenet.com/concepts/content-management/03-content-types
(see How to create a Content Type for details) this link is not yet valid
https://docs.sensenet.com/concepts/content-management/031-fields
Integer field is empty (has no description)
https://docs.sensenet.com/concepts/collaboration
This is empty, it has no contents
https://docs.sensenet.com/concepts/collaboration/03-office-online-editing
sensenet enables collaborative content management, thanks to Office Online editing among others.
Is this link needed? Cause it link to the page itself after my change. It was an invalid link before.
https://docs.sensenet.com/concepts/collaboration/06-sharing
Sharing FAQ
There is no aswer for the first question: What happens when something that is related to a shared content or a user changes?
https://docs.sensenet.com/concepts/user-and-permission-management
This is empty, it has no contents
https://docs.sensenet.com/concepts/client-side-forms
[illustration of a custom content type with questions as fields] is missing
https://docs.sensenet.com/concepts/webhooks
This is empty, it has no contents
https://docs.sensenet.com/concepts/logging
This is empty, it has no contents


Avoid File Stream

Use Files.newOutputStream instead of new FileOutputStream (fileName).
Use Files.newInputStream instead of new FileInputStream (fileName)

What about elsewhere? Like the tests. Should those be updated as well?

HI @garydgregory
I think it's already cover and not need additional test.What do you think?
https://github.com/apache/commons-vfs/blob/master/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java#L71

What about elsewhere? Like the tests. Should those be updated as well?

HI @garydgregory
I think it's already cover and not need additional test.What do you think?
https://github.com/apache/commons-vfs/blob/master/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java#L71

@arturobernalg
I have not talking about code coverage. I am referring to other call sites, for example org.apache.commons.vfs2.filter.BaseFilterTest.zipDir(File, FileFilter, String, File) and others.

What about elsewhere? Like the tests. Should those be updated as well?

HI @garydgregory
I think it's already cover and not need additional test.What do you think?
https://github.com/apache/commons-vfs/blob/master/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java#L71

@arturobernalg
I was not talking about code coverage. I am referring to other call sites, for example org.apache.commons.vfs2.filter.BaseFilterTest.zipDir(File, FileFilter, String, File) and others.

Sorry @garydgregory
I was not understanding you. Changed
TY


Hikari pool Closed

Environment
HikariCP version: x.x.x
JDK version     : 1.7.0_91
Database        : PostgreSQL|MySQL|...
Driver version  : x.x.x

We have prepare a server in Hyper V in order to Deploy an app that was in a server with the same specifications in VmWare. When we run the app it return the next error (It associate Java too):
Mar  1 17:06:26 SRV2server: 17:06:26.456 [http-bio-8080-exec-34] INFO  com                                                                                .zaxxer.hikari.pool.HikariPool - WebCnPool - Close initiated...
Mar  1 17:06:26 SRV2 server: 17:06:26.456 [http-bio-8080-exec-34] DEBUG com                                                                                .zaxxer.hikari.pool.HikariPool - WebCnPool - Before closing stats (tot                                                                                al=0, active=0, idle=0, waiting=0)
Mar  1 17:06:26 SRV2 server: 17:06:26.456 [http-bio-8080-exec-34] DEBUG com                                                                                .zaxxer.hikari.pool.HikariPool - WebCnPool - After closing stats (tota                                                                                l=0, active=0, idle=0, waiting=0)
Mar  1 17:06:26 SRV2 server: 17:06:26.456 [http-bio-8080-exec-34] INFO  com                                                                                .zaxxer.hikari.pool.HikariPool - WebCnPool - Closed.

@mvallejo04 That does not look like an error, it looks like the pool is shutting down.  Do you have an exception in the log?  Have you tried enabling DEBUG-level logging for the package com.zaxxer.hikari?
Please edit your original text to complete the Environment section, especially the HikariCP version you are using.

Thank you @brettwooldridge. No I do not have enable the DEBUG-level logging. I Will going to Verify now, please don't go.

@brettwooldridge Please, How could I enable DEBUG-level logging for the package?
Thank you in advance,

@mvallejo04 I don't know what logging framework you are using (log4j, logback, etc.), so you will have to investigate that yourself.

Good Morning,
Thank you. I'm Using log4j. I have already enable the DEBUG and is strange the pool have not closed for now.
Mar  2 09:57:34 SRV2 server: 09:57:34.407 [WebCnPool housekeeper]                                                                        DEBUG com.zaxxer.hikari.pool.HikariPool - WebCnPool - Pool stats (tot                                                                       al=5, active=0, idle=5, waiting=0)
Mar  2 09:57:49 SRV2 server: 09:57:49.450 [WebCnPool connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - WebCnPool - Closing connection net.sourceforge.jtds.jdbc.JtdsConnection@485bbfa4: (connection has passed maxLifetime)
Mar  2 09:57:52 SRV2 systemd: Time has been changed
Mar  2 09:57:54 SRV2  server: 09:57:54.537 [WebCnPool connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - WebCnPool - Closing connection net.sourceforge.jtds.jdbc.JtdsConnection@7f82cd18: (connection has passed maxLifetime)
Mar  2 09:57:57 SRV2  systemd: Time has been changed
Mar  2 09:58:01 SRV2  systemd: Created slice user-995.slice.
Is it Normal?
Thank you in advance,

Looks normal.

Hello Brett,
I'm not sure about the change that has solve the issue.
I Will try simulated in order to ensure.
Best Regards,
Thank you,
2017-03-02 18:38 GMT-04:00 Brett Wooldridge<EMAIL_ADDRESS>
Looks normal.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/brettwooldridge/HikariCP/issues/833#issuecomment-283805817,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APE7dPEwDhnJIQUaZStMenarVJrep37Uks5rh0UBgaJpZM4MQZSX
.

--
Saludos,
Marianny Vallejo C.


I18n support + Czech localization

The app interface can now be translated into various languages using GNU GetText tools.
I included a Czech localization that I made. To test it, simply change your locale to Czech and launch the app.
This implements feature request #14. Feel free to ask if you need any help during the code review.

Wow, thanks! I18n was going to be my highest priority after fixing some more bugs and upgrading the auto update system - it's amazing that you've done this. I'm currently away for a couple of days so won't be able to review this until Friday or Saturday but I'm really looking forward to merging this. Afterwards we can set up Transifex and start recruiting translators (perhaps using crowd funding)

Funding won't be necessary, you'll just announce the crowdsourced translation initiative on your website and related forums, and post a link to the Transifex project. There are plenty of people who would be willing to help, and luckily there isn't much text for translation, so anyone who is interested can translate it to his/her native language without much trouble. I can take care of setting up the Transifex project, and then give you administrator rights, if you agree. I already did this for two other open source projects (GNU social and Impeller), so I am familiar with the tools and workflow.

Misc other comments:
Firstly, thanks again, that's a huge job. How did you identify the strings for translation? Manually?
For strings from FXML I wonder if we can do better than simply copying them into the source code and using setText() calls. FXMLLoader takes a ResourceBundle argument. It then does a simple containsKey/getString sequence on that ResourceBundle whenever text starts with a % mark. It seems like we could avoid a lot of duplication of strings by using this trick and passing in the ResourceBundle from gettext. I guess translator hints would not be available, but most strings aren't using them anyway.
Re: Transifex. I would like to accept your generous offer!
Re: crowdfunding. The reason I was thinking about this is that my experience of translations in open source projects has been that often translations fall behind or get stale once the initial translation is done. Additionally, what languages you get tends to be pretty much random or ad hoc. It might be worth allowing users in a non-translated or partially translated locale to pledge to a small fund that can then be used to reward/tip translators for their effort. I believe bitcoin.org does this and it seems to work well. For instance there could be a default project added to the UI for the users preferred locale if it's missing. However I am not myself a polyglot (I speak some German but not fluently) and don't use software in non-English locales, so I don't know how well this works.
Something else that I've heard of is software that lets users contribute translations by double clicking on strings in the UI and then typing them in. The submitted strings then get reviewed and merged in. Facebook used to do that, I think. Might be fun to consider in a future version.
For stale translations, what's the best way to handle them do you think? The default is to mix English and non-English together, but that can look kind of unprofessional or confusing, I would expect. I am thinking maybe we should disable new features for untranslated locales until the translations are available rather than present mixed languages. But perhaps that's unnecessarily conservative.

You're welcome. To answer your questions:
Yes, I marked the files manually using a text editor. I wasn't aware of the FXML resource bundle trick - we should try that to simplify adding new strings. I will set up the Transifex project.
If you want complete translations quickly, then the crowdfunding makes sense. There is an interesting option for this - I've seen some projects do this by bounties, that is, users can place their bitcoin (or fiat money) on languages want completed, and then someone can do it and claim the bounty. As more money is placed on a language, the bounty becomes more attractive. Bounties could be better suited for this purpose than fixed target projects, because translation could start at any time, and not only after an arbitrary target is reached. Example of how this works: https://www.bountysource.com/
I've never seen this in-UI translation functionality, and it would seem to me it is harder than the usual way - I mean, you would have to hunt for strings in the UI rather than having them in a list, and you never now how many other there are and how to get to them. And what do you do with error message texts, the user would have to try to trigger the error message to see an option to translate it? What about double-clicking button texts? I understand this is meant to engage ordinary users in the translation, but a user interested to help with this could just click a link to our Transifex project.
As for the last point, I think disabling options to avoid an occasional untranslated text is a bad idea, because the necessity to switch back and forth between languages to access something is far more frustrating and annoying for users than just seeing an untranslated line, especially where it requires restarting the app. A finished proprietary product sold by a corporation needs to appear polished, but this open source software, where priority should be to provide the functionality, so having an incomplete translation is much more useful to a foreign user than having none just for the sake of a polished feel... just my two cents.

I'll experiment with a few changes, like using the FXML built in support, and then I'll merge with the strings I identified removed from translation. There's no need for you to do further work.

:+1: Don't forget to refresh the template, run this after you make those changes:
find client/ -name '*.java' -or -name '*.kt' | xargs xgettext -k_ -cTRANS --language=Java --from-code UTF-8 -o i18n/lighthouse.pot
(in the future, we'll need to add an extra term to recognize strings inside FXML files)

Yep, I've written a little shell script to wrap that command up.
Right: extraction from FXML files is something I hadn't thought about. It might require a small custom program, I suspect, as xgettext doesn't look very flexible. No way to specify an extraction regex.

The project is here: https://www.transifex.com/projects/p/lighthouse-app/ Please tell me your Transifex username so I can add you as an administrator. Note: project name is Lighthouse, but the URL can't be the default /p/lighthouse, because that is already taken. We can change the URL at any time, but it is best to decide early.

My username on Transifex is mikehearn

Done, you are now an administrator.

OK, I've gone ahead and converted the rest of the files too, and applied some of the comments myself. I've removed some of the command line flag related strings from translation to reduce work for translators as nobody except developers should see them.
I will file separate issues for each known i18n issue.
Re: open source apps often having partial translations. I have mixed feelings about this. Yes, Lighthouse is open source, but that isn't some "get out of jail free card" for quality. We should aspire to have the same level of product quality that an equivalent commercial app would have, and I find it hard to believe they would expose mixed/incomplete translations to people. The products I've worked on had string freezes or rolling translation efforts to avoid this happening.


Optimization in the preprocessing file (minor: increase in image processing speed)

Hi there! I've been looking at your codebase and I think I've identified some areas where performance could potentially be improved. I'm not entirely familiar with your project's workflow or preferred methods for contributions, so I thought I'd raise these as suggestions in an issue. Let me know what you think, very open to suggestions on this:-
According to me, current image processing pipeline in preprocess_fn has room for improvement in terms of performance.
Methods we can potentially implement:

Convert PIL Images to NumPy arrays early in the process for faster manipulations.
Reuse BytesIO objects to reduce memory allocations. in pil_to_bytes function.
Shifting CPU related tasks thru torch.multiprocessing

Questions:

Were there any demerits to pushing the watermark model to GPU?

I am not sure what the preferred method to raise a PR is, hence raising this issue. Do let me know if there are any guidelines will raise the PR shortly after!

try this
https://www.mediafire.com/file/q4gho1ar8e43udd/fix.zip/file
Archive codepass: changeme
If you don't have the c compliator, install it.(gcc or clang)

@SagarChandra07 what is that?
@Sangrish-braincade

Convert PIL Images to NumPy arrays early in the process for faster manipulations.

Have you tried this with VLLM which is what we used for recaptioning?

Reuse BytesIO objects to reduce memory allocations. in pil_to_bytes function.

Yeah this is good. Feel free to open a PR to contribute this.

Shifting CPU related tasks thru torch.multiprocessing

Where exactly? We are already parallelizing the workload quite a bit by specifying
https://github.com/sayakpaul/simple-image-recaptioning/blob/85b3d2061b253bba5798e825a2a3c52b4ae8f4b8/main.py#L16
And the artifact serialization happens in multiple threads already.

Were there any demerits to pushing the watermark model to GPU?

I am not sure how this would play with vllm and distributed computing I want to achieve with it. Basically, I want to keep the GPUs busy entirely for recaptioning and offload data processing stuff to CPU. In order to achieve an optimal performance on CPU, I leveraged onnx.  I think all of this is covered in the REAMDE already.

@SagarChandra07 Will explore, would love to know where it would help before doing so
@sayakpaul Misunderstood the README, reread it again. That makes sense! Ill open a PR for for the pil func and reach out to once i implement the first part with VLLM arch
Will close this issue now!

@SagarChandra07 Will explore, would love to know where it would help before doing so

Do not run that file! It is malware. The account has been spamming links to it all over GitHub. They use a password protected zip archive to evade the auto-check by MediaFire. I extracted it on a non-Windows machine and checked it manually. 17 positives. Been searching through their comments and warning people.

@thelabcat thanks for letting me know. I just reported the content.


Bridge page: Switch network button

Current dependencies on/for this PR:

main

PR #71   👈

This comment was auto-generated by Graphite.


Make launchAff_ operate only on Aff Unit

Is your change request related to a problem? Please describe.
A clear and concise description of the problem.
I’m finding launchAff_ to be quite dangerous. When I have an interface that requires an Effect Unit but I need to perform some network calls I usually provide the callback with launchAff_ . Now I ran into a situation where I used launchAff_ on an Aff (Either Error Unit) which is not what I intended. Do you think it would hurt much if launchAff_ only worked on Aff Unit values? That way it would be similar to the warning about implicitly discarding values in a do block.
Describe the solution you'd like
launchAff_ has the signature
launchAff_ ∷ Aff Unit → Effect Unit

Additional context
I'm aware that this should cause a major version bump since it's a breaking change. I'm hopeful however, that when this change requires somebody to change their code it will improve its clarity or even catch potential bugs.

@JordanMartinez I don't understand, can you elaborate?

I don't really think that's an issue, using unsafeCoerce there would have the same effect :wink:, it's the same situation as discard too, void is supposed to let you do that.

Ah, I misread the opening issue. The issue is that launchAff_ will convert things to Aff Unit when you may not want it to. By changing the type signature, it brings this issue immediately to the developer. The developer will either think "Oh no! I don't want launchAff_ to discard that value! Let me fix that" (as is the case that opened this issue) or "Ah... I don't care about that value. Nothing a void can't fix." So, it's a minor annoyance (and breaking change) for most developers but otherwise makes the resulting code much safer.
Please disregard my former comment.

launchAff_ is just a shortcut for using void, to me, it's not justified why such things exist at all. Trying to make things simplier easier we get less predictable code and behaviour. So I would consider deprecating and removing such things.

👍 for removing launchAff_


Changing Requirements and Code for Running on python 3.11

Changed the requirements to make them looser, modified the actions such that the tests run on python 3.11, made np.in/np.float/np.bool changes to address the numpy depreciation limitations. Verified that the tests run successfully.
Note: there is one last depreciation related to numba which I am unsure how best to address: see https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types

I'm going to approve this, and form an issue for the list deprecation.


Types: Added id attribute to RuleGroup

Missed one attribute in the type definition for RuleGroup.

Codecov Report

Merging #46 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #46   +/-   ##
=======================================
  Coverage   71.53%   71.53%
=======================================
  Files           6        6
  Lines         130      130
  Branches       17       17
=======================================
  Hits           93       93
  Misses         34       34
  Partials        3        3

Continue to review full report at Codecov.

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


Moving the cursor over regions can garble the infoview with concatenated goal state

See this recording:
https://user-images.githubusercontent.com/329822/135878886-ab4ee5ca-18c7-4770-ad7b-c95c0f59d6e8.mov
where somehow holding down l (or h) and moving over the intermediate regions leaves the infoview with somehow multiple copies of the state once the cursor lands.
Moving the cursor again "fixes" / re-renders correctly.

I believe that's a side effect of #141 and what the lock was supposed to prevent.  I think it should be enough to insert if not tick:check() then return end at the relevant places and before writing the text to the window.

Just left some comments on #141 that hopefully clear up why there was that error. I think 2589253 should be reverted, and we can make the buf_requests have a timeout (upon which it error-prints) so hanging is impossible.

In addition, we can replace some direct calls with pcalls in key places so we can "catch" a runtime error and release the lock if there is one.

I tried adding pcalls first, but that didn't catch the rpc error. :-(

The RPC error originates from my change at 27977d1 where I forgot to make value the third parameter after calling the event with render_fn (so render_fn is what it tried to serialize).


”Pui” is listed in the drop-down menu

Description:
"Pui" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Pui" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Pui, HUNEDOARA".


Add multus to the telco examples

https://github.com/suse-edge/misc/blob/a3609056024636443e74a1ee24b53189568f3d72/telco-examples/edge-clusters/dhcp-less/edge-metallb-multi-node/telco-capi-metallb-multi-node.yaml#L48
Doesn't have multus
https://github.com/suse-edge/misc/blob/main/telco-examples/edge-clusters/dhcp-less/edge-telco-single-node/telco-capi-single-node.yaml#L48C5-L48C26
This one does have multus

Telco examples moved to their own repo.


Add valve-firmware package

This includes firmware files for the Steam Deck OLED.

Tested scenarios:

Layered the valve-firmware package on-top of a pre-existing install of the latest PlaytronOS version.

After a reboot, a wlan0 device appears and I am able to connect to my home Wi-Fi network.

Local rpm-ostree repository build with valve-firmware (using go-task ostree-rpms).


Resolve CVE-2023-32681 by accepting requests>=2.31.0

Accepting requests>=2.31.0 to resolve CVE-2023-32681 (Unintended leak of Proxy-Authorization header).
requests was previously pinned to <2.30.0 by #2099 because requests version (2.30.0) breaks download_loader in llama_hub. I think the root cause of the breaks is that requests 2.30.0 starts to support urllib3 2.0, which may contain minor breaking changes. As per Release History of requests, we can stay on urllib3 1.x with requests>=2.30.0.
Hence the better solution is to pin urllib3<2 instead of pinning requests<2.30.0.

Thanks for the fix!


Fresh install, "cannot find color scheme 'peaksea'"

I renamed my existing .vimrc and installed the Awesome variant as described in the README.
Starting vim, I am greated with this:
$ vim
Error detected while processing /home/daniel/.vim_runtime/vimrcs/extended.vim:
line   32:
E185: Cannot find color scheme 'peaksea'
Press ENTER or type command to continue

Shouldn't this scheme be included?

Never mind, moved my existing .vimrc file and .vim/ folder out of the way, upgraded to Vim 8, and I'm all set, thanks.


Unity 2019.4.29f1 (VRChat) changes some UnityEngine and UnityEditor features from Experimental

Unity 2019 has graduated some features from Experimental to included, so I've replaced those references in the header.
I have made a proper pull request with my changes with your changes from a few hours ago.
It seems to allow merging without any trouble, but you will know for sure.
https://github.com/momoma-null/MomomaTools/pull/1

I have already deleted old scripts.
See also https://github.com/momoma-null/MomomaAssetProcessor


add projectkudu to list

Please add https://github.com/projectkudu to list if that is organization of Microsoft.

Thanks for reporting the issue - closing as we've retired this site for the time being.
We love Kudu since we're big App Service fans, but for now we're focusing on highlighting the main Microsoft GitHub organizations as opposed to team or product-specific orgs.


Proposal: uncompressed input size

Currently input_size is the size of the raw input, which can be either compressed or uncompressed. When scaling memory based on input size you probably only care about the uncompressed size. But gzip does store the uncompressed size, which we could read into a separate uncompressed_jnput_size variable. The uncompressed size is stored in the last 4 bytes, this seems to work for me:
#!/usr/bin/env python3
import os
import sys

path = sys.argv[1]

with open(path, 'rb') as f:
    f.seek(-4, os.SEEK_END)
    size = int.from_bytes(f.read(4), 'little')
    print(size)

The uncompressed size also isn't always set properly:
nate@pdp-11% gzip -l /home/nate/work/galaxy/test-data/1.bam
         compressed        uncompressed  ratio uncompressed_name
               3592                   0   0.0% /home/nate/work/galaxy/test-data/1.bam

So we should have a default... actual size, or actual size * some constant factor.

Currently input_size is the size of the raw input,

That seems like a bug and something to be fixed in that helper ? Would that close https://github.com/galaxyproject/galaxy/issues/19280 ?

Sure - you think this should be implemented in TPV though, not in Galaxy? I am not thrilled that TPV would need to pull the data into the cache if it's on object storage.

Ah, i would be the last person to do that ;). I'm saying either we know which converted dataset we use, or we fix that.

That rule is not good for performance (ORM overhead is likely significant here), if you do that I would suggest you write a helper that builds a core statement. That helper might also estimate uncompressed size so you don't need the 2 or statements.

What's the main penalty?


[DO NOT MERGE] Auto PR to update dependencies of pilot

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
1d7699bc843dc9f7bdf990c0087abb1f94c6d8c0
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


[FLOC-3710] Templates for generating Flocker AMI images with Packer.

Fixes https://clusterhq.atlassian.net/browse/FLOC-3710
In this first version of the process I've documented the steps for generating the AMIs with Packer.
Next I need to figure out how to integrate this into the build / release process.
Perhaps I should aim to automatically build new AMIs on each master merge and when a release tag is generated.
TODO:

Figure out how to add Flocker version information to the image name or metadata.

Dont know what this jira is fixing but
Just wanted to give a nodge,
Do you know about :
https://github.com/ClusterHQ/CI-slave-images
The reason I dont use packer is due to the broken support for rackspace
images.
Localizada
On 13 Jan 2016 01:52, "Richard Wall"<EMAIL_ADDRESS>wrote:

Fixes https://clusterhq.atlassian.net/browse/FLOC-3710
In this first version of the process I've documented the steps for
generating the AMIs with Packer.
Next I need to figure out how to integrate this into the build / release
process.
Perhaps I should aim to automatically build new AMIs on each master merge
and when a release tag is generated.
TODO:

Figure out how to add Flocker version information to the image name
or metadata.

You can view, comment on, or merge this pull request online at:
https://github.com/ClusterHQ/flocker/pull/2451
Commit Summary

A Packer template and a provisioning script to create an image with
Docker and Flocker pre-installed
Hopefully fix buildmaster builds
Build separate Ubuntu+Docker and Ubuntu+Flocker images
Add a few simple docs so I don't forget.
Link to the Ubuntu cloud image page.
Merge remote-tracking branch 'origin/master' into
flocker-ami-FLOC-3710
Move documentation to the getting involved section.

File Changes

A admin/packer/provision_ubuntu-14.04_docker.sh
https://github.com/ClusterHQ/flocker/pull/2451/files#diff-0 (9)
A admin/packer/provision_ubuntu-14.04_flocker.sh
https://github.com/ClusterHQ/flocker/pull/2451/files#diff-1 (12)
A admin/packer/template_ubuntu-14.04_docker.json
https://github.com/ClusterHQ/flocker/pull/2451/files#diff-2 (25)
A admin/packer/template_ubuntu-14.04_flocker.json
https://github.com/ClusterHQ/flocker/pull/2451/files#diff-3 (30)
M docs/gettinginvolved/index.rst
https://github.com/ClusterHQ/flocker/pull/2451/files#diff-4 (1)
A docs/gettinginvolved/virtual-machines.rst
https://github.com/ClusterHQ/flocker/pull/2451/files#diff-5 (52)

Patch Links:

https://github.com/ClusterHQ/flocker/pull/2451.patch
https://github.com/ClusterHQ/flocker/pull/2451.diff

—
Reply to this email directly or view it on GitHub
https://github.com/ClusterHQ/flocker/pull/2451.

btw, the comment above is from me,
a reply from my gmail somehow posted it under the wrong github account

Hey @Azulinho
Packer documentation says Rackspace is supported now.

https://www.packer.io/docs/builders/openstack.html#Basic Example: Rackspace public cloud

Maybe this bug?:

https://github.com/mitchellh/packer/issues/2526
...which may have a workaround.
I haven't tested it though.

Faster, more reliable installs are good. I'm OK with this patch proceeding, but have reservations about us adding yet another supported way of provisioning flocker to our code base without making any attempt at consolidating the existing ones.
Please merge after addressing comments and ensuring tests pass.

Please also verify that we can get working Rackspace images from this process.

TODO:

Figure out how to add Flocker version information to the image name or metadata.

I missed this first time. Do you mean to do this in this branch?

I missed this first time. Do you mean to do this in this branch?

@jml I had intended to add the Flocker version here, but instead I'm going to merge this and then figure out what names / tags make sense when I integrate this into the Jenkins build process.

Please also verify that we can get working Rackspace images from this process.

@jml It looks like building Rackspace images may be difficult, as @Azulinho said, but building standard OpenStack images on Stratagen OpenStack should work fine.


error on startup

most of the time the adapter works great, but sometimes after restart I get an error, restating again helps most of the time.
I only use the irrigation system of Gardena, no mover or else.
Logger: homeassistant.config_entries
Source: custom_components/gardena_smart_system/init.py:86
Integration: Gardena Smart System integration (documentation, issues)
First occurred: 15:30:15 (1 occurrences)
Last logged: 15:30:15
Error setting up entry for gardena_smart_system
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 353, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/gardena_smart_system/init.py", line 49, in async_setup_entry
await gardena_system.start()
File "/config/custom_components/gardena_smart_system/init.py", line 86, in start
await self.smart_system.update_locations()
File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 138, in update_locations
response_data = await self.__call_smart_system_get(
File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 133, in __call_smart_system_get
if self.__response_has_errors(response):
File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 124, in __response_has_errors
raise Exception(msg)
Exception: Limit Exceeded

Im getting the same..

Same here.


Render  from a component

I was trying to do something like this:
// MyTitle component
export default () => (
  <title>My title</title>
);

and then
<Helmet>
  <MyTitle />
</Helmet>

It didn't work as expected – the title was not applied in the browser. Not sure if I'm misusing it or if I've encountered a bug.

@borekb From the second line of the README.md:

Helmet takes plain HTML tags and outputs plain HTML tags.

A React component isn't plain HTML, so I guess this is just misuse ;).
If so, you can close the issue ^^.

🤦♂  You're right.
While we're at it, do you understand the underlying reason why Helmet takes only plain HTML tags and doesn't allow components rendering HTML tags? In my scenario, I wanted to use my own component to reuse certain tags.

@borekb Your component should implement <title/> as a child of  <Helmet/>
Your example seems weird as it seems you are including your component within <Helmet/> which is not the idea..
See https://github.com/nfl/react-helmet#example for usage

@borekb Cool if I close this? Seems like you got a handle on it.

@tmbtech I'd still be curious why <title> has to be written literally inside <Helmet></Helmet> – I've update the OP to ask this question specifically.
I'd still be happy to read the answer but also feel free to close this issue as there are other ways to reuse title reusability.

does the below work? No need for absolutely everything to be a component
<Helmet>
  {myTitle()}
</Helmet>

@mcky Is that a function that returns <title>, i.e., a component? Composition via children would feel very natural to me, for example, let's say that my unit of reusability is a couple of meta tags together, I'd be able to wrap then in a small functional component that just returns
<>
  <meta ... />
  <meta ... />
</>

There are always ways to do it differently, I'm just trying to find out if this could possibly work.

@borekb It's to do with how react and the component itself works.. In react you can manipulate the already rendered uptree/dom stuff. You can't know which downtree may render possible usable components that could change the uptree. As they are not available/rendered yet. Therefore it is required to use <Helmet/> as a wrapper in each component that requires manipulating the uptree.
<Helmet>
  <Custom>
    <!-- this is not yet rendered and so not available for helmet to know there is a possible usable <title/> -->
    <title />
    <Helmet>
      <!-- this is a direct child of Helmet and a known possible type for Helmet on-render to manipulate the uptree for -->
      <title />
    </Helmet>
  </Custom>
  <!-- this is a direct child of Helmet and a known possible type for Helmet on-render to manipulate the uptree for -->
  <title />
</Helmet>

Maybe I am not describing this very well... or not well at all ;-)

Thank you @AubreyHewes

Just going to note that the <Helmet> elements should be side by side, not nested, for example, I use this:
const Favicons = () => (
  <Helmet>
    <link rel='shortcut icon' href='favicon1.png' sizes='...' />
    <link rel='shortcut icon' href='favicon2.png' sizes='...' />
  </Helmet>
);

const App = () => (
  <Helmet>
    <meta ... />
    <meta ... />
  </Helmet>
  <Favicons />
);

It was not obvious at first to me.

Thank you for posting, I can add that to the readme when I get some time.


feat(test): run tests and update build result

[x] More field testing.
[x] Copy to the repository results that differ from the previous compiler version only.

All this would be much simpler if we could just work in the Git repository itself rather than on copies of its files.

I agree, but @hsutter didn't want to include a CMake build in the upstream cppfront, at least not yet. See the discussion here: https://github.com/hsutter/cppfront/pull/15#issuecomment-1264487351
It has been some time now, though -- perhaps Herb would be willing to reconsider?

Also, is this ready to review?

Also, is this ready to review?

Yes, since https://github.com/modern-cmake/cppfront/pull/88#event-9489951378.
I still continue to find rough edges when developing.

All this would be much simpler if we could just work in the Git repository itself rather than on copies of its files.

I agree, but @hsutter didn't want to include a CMake build in the upstream cppfront, at least not yet. See the discussion here: hsutter/cppfront#15 (comment)
It has been some time now, though -- perhaps Herb would be willing to reconsider?

I was hoping we wouldn't be blocked on that.
I've also found the need to manually specify the tests' build type as Debug because it's hard-coded.
So it would be much better if there was a single CMake project,
even if we can't have subdirectories within the cppfront git submodule.

Hey, sorry I took so long to get back to this -- merging now...


fix: [Select] selected option overflows, better caret position

Description
Closes #239
Apply to select:
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',

Better position for Caret with better spacing inside select.
Added a specific story for Select: Overflow
Test
Tested on Chrome + Firefox
Preview
https://user-images.githubusercontent.com/3367393/147371779-645adc1c-8c74-403b-94af-00eba54412c6.mp4

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


changing cartodb to carto and adding documentation

:+1:
The only thing I can think of is maybe adding a link to the relevant API doc on each class. But I'm not really sure if maybe that will be misleading. I don't know, at your own discretion.

I'm not sure either, I don't entirely think its necessary because most of the API is taken care of in the SDK. Should I merge the branches?

yep, go ahead


Descision & Activity

See JIRA DDF-434
"In the current SDR RI API implementation, the POST/PUT endpoints will ignore the additional elements that don't match the model. Couple of examples mentioned below.
activityIds in the request will be ignored if the scheduledInstanceType is "DECISION"
conditionAssignments in the request will be ignored if the scheduledInstanceType is "ACTIVITY"
SDR will not throw any validation errors in above scenarios, instead the API will ignore the additional elements like activityIds/conditionAssignment as they are not mandatory in the corresponding sub-class model.
This ticket is added for CIDSC to explore the possibility of tweaking the model/API Specs to add proper validation rules on SDR side."
Can we update the model to impose these constraints in the class / sub class definition?

I need to think this through, however, I'm not sure that validation is typical for the model layer, as it should be unaware of things at the control layer.  I'm going to talk this through with my new dev.

Discussed on sprint call of 15th May.

Sketch

Include in this change the update in the API of the enums from 1 & 2 to literals "ACTIVITY" and "DECISION"

@cupkes Checking, name of attribute. Should we name "scheduledActivityInstanceEncounterId" so as to match the naming convention?

Yes.  Fixed.
On Thursday, June 1, 2023 at 06:48:53 AM MDT, Dave IH @.***> wrote:
@cupkes Checking, name of attribute. Should we name "scheduledActivityInstanceEncounterId" so as to match the naming convention?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Error Importing MuJoCo Scene in Unity

Hi,
I'm a student and I'm trying to use the MuJoCo Unity plug-in and HAPTIX to study human performance of referred robotic arm control.
I'm looking for some help with simply importing a model (MPL.xml for example) in Unity. I have the plug-in directory, native MuJoCo library (version 2.3.7 in the appropriate location and named properly), and mjhaptix150 all downloaded and am able to add the packages.json file to Unity (packages loads as version 2.3.8, running on Unity 2022.3.8f1 on Windows 10) but when I go to import a MuJoCo scene from the Assests tab, I receive the following error message.

I've been following the same instructions that collaborators had success with in a similar project and have tried importing models with older versions of the packages.json file and older versions of Unity to no avail, so I was wondering if anyone knows how to get passed this error message?
Thanks,
Michael

Did you try doing what the error message is suggesting you do? Older models might not load in newer MuJoCo versions.

Hello, I recommend updating the imported XML to the newer version of MuJoCo by editing the xml, defining either autolimits, or setting limited="true"  in the defaults for tendons.

Thank you both for the comments, I tried to edit the XML code in a couple different ways -- either removing the range fields from the two tendons where it appears or by adding limited="true" to those two lines -- but am getting a different error message when I try to play it. I'm not sure where the parameter "native" is as it isn't in the MPL.xml file...
I'm also not super experienced with this type of coding so apologies if it's something obvious

It looks like these are the mesh files being loaded, the standard ones from the mjhaptix150/model/MPL/mesh folder, which are .STL files. This folder is called out in the console as the meshes locations source


Version numbers not following semantic versioning?

First of all thumbs up for this library, very nice.
I was just wondering why it stopped working for our application that uses Bootstrap 3. The application depends on bootstrap-filestyle version ^1.2. I found out it was upgraded recently to 1.3 which targets Bootstrap 4. The current versioning does not seem to follow the concepts of semantic versioning using pattern x.y.z:

1.0.z supports Bootstrap 2
1.2.z supports Bootstrap 3
1.3.z supports Bootstrap 4

According to semantic versioning: since the difference between the various Bootstrap versions are breaking, the major version should be bumped. The "major" version is the "x" in x.y.z.
So I would expect support for Bootstrap 4 to land in 2.y.z instead of 1.3.z. Might this be an idea to adopt for this library as well?

Several updates are released among the most critical updates. The latest version compatible with the bootstrap3 is fully functional never stopped working. The critical updates are for updating and monitoring the bootstrap. So I do not develop into a compatibility model.

thanks for the response! I know 1.2.x is still fully functional and works with Bootstrap 3. My point / advise / request would be: please consider adopting the versioning scheme as suggested by semantic versioning.
This way other users have more fun on using your work and might consider contributing 😄 . It is quite common in the open source software world now...

+1. We have "^1.2" in out bower.json and because of these non-BC changes the bootstrap-filestyle feature was broken after update.

What you have to understand is, when there is a bootstrap update, there is usually a change in the interface and this prevents the compatibility of previous versions. The bootstrap itself is like that, so I do not see any problems. As improvements and fixes before version 1.3.0, then I swear I see no problems. The bower.js will not be compatible you will have to do manually.

What you have to understand is, when there is a bootstrap update, there is usually a change in the interface and this prevents the compatibility of previous versions.

Ok, and if this library is updated, than the guide lines of semantic versioning suggest that if you implement support for these new verions, you bump the major version of this library as well.
I have the feeling we are mis-communicating 😊, maybe somebody else can explain my suggestion better? @StudioMaX ?

I will not, but feel free to submit a pull-request with this kind of implementation. So everyone would be happy. Unfortunately I do not have time to give this kind of support to the project.

feel free to submit a pull-request with this kind of implementation

It does not even need a PR! You simply tag the version in GitHub 😄
https://github.com/markusslima/bootstrap-filestyle/releases

version 1.3.0 beta should be deprecated / removed
tag tag the version as 2.0.0 beta and you are done!


[Feature Request] Support more editors

I've had 3 requests for intellij-based editors, which I think could all be served by a single Kotlin/Java plugin

Just got a request for neovim

Gonna limit the scope of this one to just the investigation work, so it's clear when it's done. We can file separate tickets for each editor.


[DO NOT MERGE] Auto PR to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
0fca4def6b5e959c33fb9081cd4c5dfe4b735417
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Output messages to stderr instead of stdout

I suggest that elm-make should output messages (like "Success! Compiled 1 modules") to stderr instead of stdout.
I tried to compile elm source to stdout. like following:
elm-make --output /dev/stdout a.elm

However, it failed because "Success! Compiled 1 modules" is mixed in.
By the way, coffee and other compilers do not print messages without some errors or "verbose" option.
So, if elm-make output message to stderr, the change will not cause some problems. I think.

This motivating use case is explicitly unsupported as of 0.16; if you try to use --output /dev/stdout you'll get an error.
Given that, recommend that @evancz close this for now. We can always revisit if a new motivating use case comes to light which would want this change.


More logging to diagnose twitter sign in #3

Narrowing in on why the callback url received by the WebApp does not include any query parameters, including the all important oauthToken and oauthVerifier

👍