net: BenchmarkTCP4ConcurrentReadWrite failures on freebsd-amd64-race with "read: connection reset by peer"

2021-03-23T05:12:12-cd26192/freebsd-amd64-race
2021-03-23T04:23:52-0265b64/freebsd-amd64-race
(See also #20960.)
CC @bradfitz @ianlancetaylor
These failures are both very recent, so I wonder if something has recently changed in the net package or the freebsd-amd64-race builders. (CC @golang/release)

#19229 also features connection reset by fail errors on FreeBSD. I wonder if it's related...

which version of freebsd?  i can't reproduce on FreeBSD kiwi 14.0-CURRENT FreeBSD 14.0-CURRENT #5 main-n245559-d22883d71544: Sun Mar 21 16:51:44 EDT 2021     root@kiwi:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG  amd64

also, are you running freebsd in a virtual machine for tests?

Looks like it's FreeBSD 12.0 of some flavor, on a GCE n1-highcpu-16 VM:
https://github.com/golang/build/blob/d7600ec889c89d486672e9ccd1b30bab50c15047/dashboard/builders.go#L317-L324
@golang/release could probably get you more details.

The failure rate is not particularly high, so you may also need a lot of runs to reproduce the failure.

okay -- i just ran it on my local machine with -count 100 without any failures.  i'll continue trying to reproduce and maybe try to isolate the commit that caused it.  i'll also try under 12.0.

There's one more in the logs today:
2021-03-25T00:15:42-80157b5/freebsd-amd64-race
That's three in two days, and none that I can find before that. So the regression is probably very recent, whatever it is.

2021-04-15T10:21:10-b1c4cc5/freebsd-amd64-race
2021-04-13T22:55:30-8c2a8b1/freebsd-amd64-race
2021-04-13T13:56:21-13a4e8c/freebsd-amd64-race
2021-04-09T23:54:31-554d2c4/freebsd-amd64-race
2021-04-08T15:03:31-283b020/freebsd-amd64-race
2021-04-08T02:17:22-5159c83/freebsd-amd64-race
2021-04-07T05:19:22-1395432/freebsd-amd64-race
2021-04-06T22:55:58-b084073/freebsd-amd64-race
2021-04-03T01:45:13-93dcaba/freebsd-amd64-race
2021-03-31T20:09:03-44dd066/freebsd-amd64-race
2021-03-30T04:48:27-032ef4b/freebsd-amd64-race
2021-03-29T19:16:20-9fbd0f6/freebsd-amd64-race
2021-03-29T18:46:32-67d565d/freebsd-amd64-race
2021-03-25T19:55:42-7ce3617/freebsd-amd64-race
2021-03-25T19:21:34-2c8692d/freebsd-amd64-race
2021-03-25T00:15:42-80157b5/freebsd-amd64-race
2021-03-23T05:12:12-cd26192/freebsd-amd64-race
2021-03-23T04:23:52-0265b64/freebsd-amd64-race
And nothing before that.
Marking as release-blocker for Go 1.17, since this appears to be a regression starting in March.

i still can't reproduce using 12.2-RELEASE-p6.
it looks like a likely culprit is commit 6694a6888 though.

maybe grasping at straws but what if you update the test image to the latest release in the freebsd 12 line?
it seems like that'd be a good start.  it looks like you're running 12.0 but the latest production release is 12.2.

CC @golang/release

looks like the default builder has been updated to 12.2.  is there a way to see the results?

The new builder will be used in future testing (existing commit with test results are not automatically re-tested at this time), so its results will show up when new commits are pushed, or by explicitly sending a (possibly empty) change and requesting it via TRY=freebsd-amd64-race SlowBot syntax.

has this error returned?  it looks like the freebsd builders have been relatively happy lately:
https://build.golang.org/

There doesn't seem to be any recent occurrences. Closing this issue.


Xcode12 issue navigator warnings

New issue checklist

[x] I have reviewed the README and documentation
[x] I have searched existing issues and this is not a duplicate
[x] I have attempted to reproduce the issue and include an example project.

General information

Xcode version: 12
Devices/Simulators affected:
Reproducible in the demo project? (Yes/No):
Related issues:

Xcode 12 shows warnings in issue navigator and suggests to update IGListKit project to recommended settings, which include:

raising deployment target to 12.0
enabling quoted include in framework header warning

Unfortunately, if we applied these recommended settings on Xcode 12, it will break for the users on older Xcode versions, as well as for apps that don't wish to bump their minimum deployment target. Since the gain is minimal but hurts potential adopters of this framework, I don't think we will pursue this.

Thank you @joetam for explanation. Changing deployment target is indeed very intrusive. How about the other thing ?
I just tested applying "enabling quoted include in framework header warning". Issue navigator warning disappeared even without touching deployment target.


wasmbuild task can fail if current folder contains a whitespace

Hi there,
reproducing this issue is quite simple: if the path of the project contains any whitespace, then wasmbuild fails.
As an example take this project, created in a folder named "wasmbuild bug":
$ deno task wasmbuild
Task wasmbuild deno run -A<EMAIL_ADDRESS>Ensuring wasm32-unknown-unknown target installed...
Building rs_lib WebAssembly...
  build --lib -p rs_lib --target wasm32-unknown-unknown --release
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `/Users/fc/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc - --crate-name ___ --print=file-names --remap-path-prefix=/Users/fc/projects/wasmbuild bug=. '--remap-path-prefix=/Users/fc=~' --target wasm32-unknown-unknown --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1)
  --- stderr
  error: --remap-path-prefix must contain '=' between FROM and TO

cargo build failed

I think the issue arises from the fact that the variable passed to --remap-path-prefix=... is not quoted.

@dsherret the issue still exists

@dsherret are the RUSTFLAGS really needed ? I read up a bit on --remap-path-prefix and it seems to be used for privacy to hide the workpace path from appearing in the compiled binary.
But maybe that doesn't matter for wasm ? I looked into the compiled wasm file without those flags and I see no reference to any path


Move k8s.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ to Extend Kubernetes

This is a Feature Request

What would you like to be added
Move https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ to be in the same section as the content that currently exists within
https://kubernetes.io/docs/tasks/access-kubernetes-api/
(that section is titled “Extend Kubernetes”).
Consider moving https://kubernetes.io/docs/tasks/access-kubernetes-api/ to https://kubernetes.io/docs/tasks/extend-kubernetes/ as well.
Redirects will be helpful too.
Why is this needed
configure-multiple-schedulers is showing the reader how to extend Kubernetes (by implementing a custom scheduler) more than it is explaining how to administer a cluster.
Comments

/priority backlog

/remove-lifecycle stale

/sig scheduling

/assign


Configure hlinter from build-tool-depends

With hlint in build-tool-depends, hlint can be build as local dependency of package and can then be run as cabal run hlint.
Is there a way to configure extension to call hlint like that?

See also #17

After seeing #17, I think this issue is duplicate for all practical purposes, as any solution that allows custom executor will be executor agnostic.


Error key ms3100

i have 2 meross 310 and all unaviable, i test for readd but recived "not valid key", then delete the key and select  "recover merros account" but the same error. this a log
"2023/07/13 - 13:23:47",         "",         "auto",         "LOG",         "DEBUG",         "MerossKeyError(Invalid key) in async_http_request GET Appliance.Control.ConsumptionX attempt(0)"       ],       [         "2023/07/13 - 13:23:49",         "TX",         "http",         "GET",         "Appliance.Control.Electricity",         {           "electricity": {}         }       ],       [         "2023/07/13 - 13:23:49",         "",         "auto",         "LOG",         "DEBUG",         "MerossKeyError(Invalid key) in async_http_request GET Appliance.Control.Electricity attempt(0)"       ],       [         "2023/07/13 - 13:23:51",         "TX",         "http",         "GET",         "Appliance.Control.ConsumptionConfig",         {           "consumptionConfig": {}         }       ],       [         "2023/07/13 - 13:23:51",         "",         "auto",         "LOG",         "DEBUG",         "MerossKeyError(Invalid key) in async_http_request GET Appliance.Control.ConsumptionConfig attempt(0)"       ],       [         "2023/07/13 - 13:24:16",         "",         "auto",         "LOG",         "DEBUG",         "polling start"       ],       [         "2023/07/13 - 13:24:16",         "TX",         "http",         "GET",         "Appliance.System.All",         {           "all": {}         }       ],       [         "2023/07/13 - 13:24:16",         "",         "auto",         "LOG",         "DEBUG",         "MerossKeyError(Invalid key) in async_http_request GET Appliance.System.All attempt(0)"       ],       [         "2023/07/13 - 13:24:16",         "",         "auto",         "LOG",         "DEBUG",         "polling end"       ],       [         "2023/07/13 - 13:26:16",         "",         "auto",         "LOG",         "DEBUG",         "polling start"       ],       [         "2023/07/13 - 13:26:16",         "TX",         "http",         "GET",         "Appliance.System.All",         {           "all": {}         }       ],       [         "2023/07/13 - 13:26:16",         "",         "auto",         "LOG",         "DEBUG",         "MerossKeyError(Invalid key) in async_http_request GET Appliance.System.All attempt(0)"       ],       [         "2023/07/13 - 13:26:16",         "",         "auto",         "LOG",         "DEBUG",         "polling end"
and on logger i see this on HTTP Response ""payload":{"error":{"code":5001,"detail":"sign error"}}})"

any update for this bug

Hello @manustars,
I'm sorry I can't really tell where the issue lies. As far as the device key is correct this shouldn't happen of course.
Is the meross account you're using to recover the key, the same where the devices are binded?

as per your suggestion I ran everything from scratch, I also made another meross account, eliminated integration reboots various ha and now it worked. Thank you so much


bug: Crash on Fabric on version 1.3.0

What happened?
When running Debugify and Enchant Tweaker at the same time a crash occurs.
Log: https://mclo.gs/H7gTgEa
What should have happened?
Previously these mods worked fine together in Enchant Tweaker version 1.2.1 there was no crashing and no issues.
How to reproduce?

Install Debugify version 2.2
Install Enchant Tweaker 1.3.0
Run Fabric Loader on version 0.14.19

What is the jar file name?
enchanttweaker-1.3.0+mc1.19.4
Any relevant logs?
No response
Anything else?
No response
Before submitting...

[X] This issue is not a duplicate of an existing issue (open or closed).

Update: Tested running the mod without Debugify and it still crashes. Running the mod on a fresh install of Fabric leads to a similar crash.
https://mclo.gs/T5RFOSf

On first look this seems to be a bug exclusive to using Quilt that appeared after a dependency upgrade. I'll look into getting it to be compatible.

Thank you for the working to fix this so quickly. Unfortunately, I'm still running into crashes when trying to run the mod on Fabric.
Log: https://mclo.gs/f7I3ACP
I ran into the same problem when running Quilt. Both of these are on fresh instances using Prism Launcher.
Log: https://mclo.gs/mS6c1bE

Alright, should actually be fixed now. Strange that I didn't catch that one earlier. It'll be included in the next update (v1.4.0).

Just tested the new update and everything seems to be fixed now. Thank you!


Some questions about Bitmap

STORAGE_DIR is removed after build, however it is shared between instances. If I'm processing a and b at the same time, bitmaps added to b will be lost after a.build().
https://github.com/amzn/sketch-constructor/blob/c945f5667dbcf801a0d9961da609860d20929183/models/Sketch/Sketch.js#L176
We may use os.tmpdir() if the directory is used temporarily. For developers who want to control the storage (like me 😄), they can specify the STORAGE_DIR environment and clean up manually.

https://github.com/amzn/sketch-constructor/blob/c945f5667dbcf801a0d9961da609860d20929183/models/Bitmap/Bitmap.js#L80
The filename of a bitmap looks like a sha1 hash because it has 160bit length (40 * 0~f). But it's different from the sha1 of original image or the image inside sketch file, so I don't know how it is generated exactly (maybe it doesn't matter).
I wonder whether images from different sketch file can get conflicted (different bitmap with the same filename)? Or we can just assume that different image has a different filename?

BitmapLayer is exported from 'bitmap/index.d.ts', which is not the same as 'bitmap/index.js'
https://github.com/amzn/sketch-constructor/blob/c945f5667dbcf801a0d9961da609860d20929183/models/Bitmap/index.d.ts#L15
It should be the declaration for 'index.js' like declare class Bitmap { ... }
I checked some of my sketch files and didn't find any layers with _class: bitmapLayer (and not found in sketch-hq/sketch-file-format). Is there anything I've missed, or just some mistakes?

The filename of a bitmap looks like a sha1 hash because it has 160bit length (40 * 0~f). But it's different from the sha1 of original image or the image inside sketch file, so I don't know how it is generated exactly (maybe it doesn't matter).

I spoke someone at Sketch about this. They do use sha1, but that Sketch might process the data from the file before hashing it which is why I never got a consistent hash value. They said the filename probably doesn't matter though.
You are right that 'BitmapLayer' should be 'Bitmap'. I think maybe earlier versions of Sketch called it 'bitmapLayer' or maybe we just got it wrong. I just tested it now and it should be 'bitmap' and here is the schema: https://github.com/sketch-hq/sketch-file-format/blob/master/schema/layers/bitmap.schema.yaml

We may use os.tmpdir() if the directory is used temporarily. For developers who want to control the storage (like me 😄), they can specify the STORAGE_DIR environment and clean up manually.

Very nice suggestion :)
If we have not STORAGE_DIR environment variable specified -> use temporary directory, like it 👍


Caches using expireAfterAccess with mutable values and no explicit eviction

A lot of the caches are using expireAfterAccess when they have mutable values and there are not change handlers in place to explicitly evict changed entries.  Either the caches need to be changed to expireAfterWrite or change handlers need to be used.

Fixed in >7.0.2


Fix operator pool bug

Fix operatorPool storage cache bug.
Add some ut.

Codecov Report

Merging #378 (ad1e4b6) into main (c19a358) will increase coverage by 0.17%.
The diff coverage is 98.18%.

:exclamation: Current head ad1e4b6 differs from pull request most recent head 369c9e8. Consider uploading reports for the commit 369c9e8 to get more accurate results

@@            Coverage Diff             @@
##             main     #378      +/-   ##
==========================================
+ Coverage   72.13%   72.30%   +0.17%
==========================================
  Files         223      223
  Lines        7959     8009      +50
  Branches     1042     1043       +1
==========================================
+ Hits         5741     5791      +50
  Misses       1957     1957
  Partials      261      261

Impacted Files
Coverage Δ

...ests/mock_operators/flat_operator/flat_operator.py
63.63% <0.00%> (ø)

towhee/engine/operator_pool.py
100.00% <100.00%> (ø)

...ts/engine/operator_runner/test_generator_runner.py
100.00% <100.00%> (ø)

towhee/tests/engine/test_operator_pool.py
97.36% <100.00%> (+3.08%)
:arrow_up:

...operators/generator_operator/generator_operator.py
93.33% <100.00%> (ø)

towhee/engine/operator_loader.py
88.88% <0.00%> (ø)

Continue to review full report at Codecov.

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

/lgtm


Migrate to Go Modules and update docker engine to v19.03.14

Signed-off-by: Taewan Kim<EMAIL_ADDRESS>Description
This PR is to support go modules.
Updating Docker pkgs to v19 since some pkgs conflicts with the docker v17.
Fixes #206 #207
Type of change

[x] Code cleanup/refactoring
[ ] Documentation update
[ ] This change requires a documentation update

How Has This Been Tested?
This PR has only been tested in terms of container without security.
./build.sh
Test Configuration:

Firmware version: Ubuntu 18.04, RPi2
Toolchain: (e.g., Docker and Go 15)
Edge Orchestration Release: Coconut

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

@tdrozdovsky Since this PR has been tested without security, I would like to recommend you to complete the test with security flag in building and let us know its result. Thank you in advance.

@tdrozdovsky Since this PR has been tested without security, I would like to recommend you to complete the test with security flag in building and let us know its result. Thank you in advance.


Cannot read property 'cache' of undefined

I followed the README file and I give this error Cannot read property 'cache' of undefined,
how to properly set the cache?

import from apollo-cache-inmemory

import from apollo-cache-inmemory


How to put Shaders in the Shaders Folder in Mods

Describe your problem here.
How I can make a shader able for Psych Engine, cuz I wanna try with a RBG Shader I found on ShaderToy but it doesn't work.
PD: I tried with the vhs shader I found on Game Over Files, but nothing
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No

shadow mario forgot to delete this folder.


Relay hanged while migrate data(Grafana display error info of replication lag)

What did you do?

add workeload to 9 upstreams(11K QPS/each, for 1h) , use dm to migrate date to downstream tidb
after workload for upstream completed, check the grafana

What did you expect to see?
relication lag will display as expect
What did you see instead?
relay hanged and migrate stoped.
after stop relay, migrate process resume.
grafana display as below:

Versions of the cluster
DM version (run dmctl -V or dm-worker -V or dm-master -V):
nightly

Upstream MySQL/MariaDB server version:
(paste upstream MySQL/MariaDB server version here)

Downstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):
(paste TiDB cluster version here)

How did you deploy DM: tiup or manually?
(leave TiUP or manually here)

Other interesting information (system version, hardware config, etc):
>
>

current status of DM cluster (execute query-status <task-name> in dmctl)
(paste current status of DM cluster here)

this may caused by not called clear jobTS when exec SQL timeout
and this was introduced in https://github.com/pingcap/tiflow/pull/4496

My expected implementation is:
For each DML and DDL queue, when a batch of job is finished and ready to execute next batch, set the queue's "processing ts" to the minimum job ts of next batch or 0 when the queue is empty. When query the lag, filter out the 0 and get minimum "processing ts" among queues, and calculate the lag based on current timestamp.

My expected implementation is:
For each DML and DDL queue,

when a batch of job is finished and ready to execute next batch, set the queue's "processing ts" to the minimum job ts of next batch or 0 when the queue is empty.
when a job is added to queue and "processing ts" is 0, update "processing ts" to the timestamp of the job.
when query the lag, filter out the 0 and get minimum "processing ts" among queues, and calculate the lag based on current timestamp.

you mean set processing ts to 0 only when queue is empty ?

btw, this is basically hot it is implemented now , see https://github.com/pingcap/tiflow/pull/4496#issuecomment-1040995004
but semms i forget to reset TS to 0 in some corner case

replaced by https://github.com/pingcap/tiflow/issues/5063


feat(governance): add Aditya Jain as new reviewer

Refer: GOVERNANCE.md.
@z0marlin  has been actively involved in the development of Openebs project with major contributions to NDM.
Major contributions:

PRs raised, reviewed
Issues

Based on his interest and commitment to contributing to OpenEBS and involvment in the OpenEBS community meetings, we take pride in adding him as a reviewer (#control-plane-maintainers) to the OpenEBS project.
Signed-off-by: Akhil Mohan<EMAIL_ADDRESS>

Thanks :)


how to copy a ROI in a image

I am using openCV in javascript to extract a ROI from the center of the image
let roiArea = dst_frame.roi(new cv.Rect(newTopLeftX, topLeftY, width, height));
how to do it using openCV_dart
thank you!!
David

@eramirez3 Please refer to

#151
#267
and try whether it works for you, let me know if not.

HI, I implement this, but I am not sure if this is the best approximation for better speed processing ?
   cv.Mat extractROI(cv.Mat img, int startX, int startY, int width, int height) {
    // Ensure the ROI is within the image boundaries
      if (startX < 0 || startY < 0 || startX + width > img.cols || startY + height > img.rows) {
        throw Exception("ROI is out of image bounds.");
      }

      // Extract rows and columns based on the ROI
      cv.Mat roiRows = img.rowRange(startY, startY + height);
      cv.Mat roiImage = roiRows.colRange(startX, startX + width);

      // Return the extracted ROI
      return roiImage;
    }

You can use Mat.region directy.

https://pub.dev/documentation/dartcv4/latest/dartcv.core/Mat/region.html
https://docs.opencv.org/4.x/d3/d63/classcv_1_1Mat.html#aa7ec97373406215f2d4bc72cc1d27036

thanks that solve my question


Fix project paging with cluster

Bug: pagination on https://delta.flow.io/?cluster=ecs is broken. It doesn't keep the cluster when going to the next page.
Hard to test this locally, probably easiest just to deploy this

Bug is fixed


Autodistill execution error

Search before asking

[X] I have searched the Autodistill issues and found no similar feature requests.

Question
When I use Autodistill on Roboflow to label images
After the marking is completed, the marked pictures will be automatically moved from Unassigned to Dataset
But in recent days, it cannot be executed correctly
The error message is as shown below
Is there a solution or do I need to wait for the system to repair automatically?
Thanks!

Additional
No response

Hi, same here. I got the same problem, and I found a walkaround to get over it (not sure if it will work to submit as a PR).
You can open the yolo.py file (click on the blue link to the file), change the line that directly causing this error from
    for xyxy, mask, _, class_id, _ in detections:
to
    for xyxy, mask, _, class_id, _ , _ in detections: (add one placeholder)
The reason for this walkaround is that when I printed out the detections variable and turned out it had 6 var instead of 5, so I added one.
Hope this helps.

Since the file I made the change to is in the supervision folder, not autodistill, I am not sure if I can submit a PR for this. I hope that there's another way for this rather than manually fixing like the way I did.

Thank you
This method solved my problem
I also hope there can be a fundamental solution
Anyway thank you very much

Hi @nguyenthekhoig7 and @sa136199, This problem is related to a bug in the current version of supervision. All you must do is pip install supervision==0.19.0rc2 in your Python environment. This will update supervision and the bug should go away.

Thank you for providing a more convenient solution

We will be releasing a new version of supervision in the next week that will solve this problem.

This problem has since been fixed in supervision, so I am closing this issue. Thank you!

I am getting the same error in kaggle notebook as of today.

@mir-abir-hossain Can you run pip install --upgrade supervision in your notebook and then run Autodistill again?

I did that, but still the same problem persists. I checked the version of supervision by usingpip list and it is showing the following. ( 0.20.0 )

This was my full code:
img = "/kaggle/input/rsud20k-bangladesh-road-scene-understanding/rsud20k/images/train/train10000.jpg"
imgg = cv2.imread(img)
results = base_model.predict(imgg)
plot(
image=imgg,
classes=base_model.ontology.classes(),
detections=results
)

I am also seeing this same problem. @mir-abir-hossain  did you find a fix?

not yet @dkirby-ms

Adding the additional _ into the unpack of the detections object in utils.py:71 worked for me.


Add "post_provisioning_cleanup" stage to cleanup Salt packages when using Bundle

What does this PR change?
see title

Looks nice, let's give it a try.


Governance addon controller

Related issue:

https://github.com/open-cluster-management-io/community/issues/122

/assign @dhaiducek

/close


Uncaught TypeError: Converting circular structure to JSON while using toJson

It happens when you are using a copy of an object with a recursive type in the deep even if the real value is nil.
For example:
import karax, kajax, vdom, components, karaxdsl

type
  Column = object
    t: ref Column

  Test = object
    columns: seq[Column]

var test1 = Test(columns: @[Column(t: nil), Column(t: nil)])
let test2 = test1

kout toJSON(test1)
kout toJSON(test2)

{"columns":[{"t":null},{"t":null}]}
test.js:402 Uncaught TypeError: Converting circular structure to JSON
    at JSON.stringify (<anonymous>)
    at test.js:402

Of course, it will not work anyway in a case t will have real value. But user might have an ability to prepare data before marshaling e.g. set all known refs to nil.
One possible solution is to delete m_type field in toJson e.g.:
proc toJson*[T](data: T): cstring
  {.importc: """
    (function some(obj) {
      function clear(obj) {
          delete obj["m_type"];
          for (var i in obj) {
              if (obj[i] !== null && typeof(obj[i])=="object") {
                  clear(obj[i]);
              }
          }
      }
      clear(obj);
      return JSON.stringify(obj);
    })
  """.}

This is a Nim bug: https://github.com/nim-lang/Nim/issues/6035


Transport Limit?

Hello,
Translated into English with google.com.
(I didn't know where else to write.)
could it be that the Flux Network has a permanent energy transport limit? I've been trying to disable this limit for days, but to no avail. The one check mark at Transport Limit is on, no matter what I do, it has a limit of 20,000 RF. Why this limit please? You can't even change it in the config. Is this forced limitation because it would cause problems on the server?
See You.

There's no transfer limit for Points/Plugs, but there's a limit to Flux Strorages.

Translated into English with google.com.
It has a limit. It is limited to 40,000 RF. Why is it limited and it is said that it has no limit? I do not get it.
https://i.postimg.cc/FHC55Zv0/B3.jpg
https://i.postimg.cc/pTjV0Sg0/B4.jpg

It's your machine has a limit.

Translated into English with google.com.
Thank you for your quick response. It can't be that RFTools has an energy limit. It is the builder from RFTools. You can't find anything like that in config where you can adjust the power consumption. I can't find anything about the energy stating.

There's a limit in its source code, you will never find it in configs.

There's a config of RFTools. BUILDER_RECEIVEPERTICK, "builderRFPerTick" = 20000. You have two builders, and it should be limited to 40000RF/t

I beg your pardon for answering again. I've come up with the idea of the Builder many times, but the RFTools Builder no longer has a "config" file. I've added a screenshot. The RFTools in version 1.16.5 are divided into individual modules.
I couldn't find this line with "builderRFPerTick" = 20000 anywhere. I've looked everywhere, including my server and my PC. There is such a file where you can set the builder. I'll put them here too so you can see what I mean.
I had to rename the .toml files to TXT files for github.com to handle it.
rftoolsbuilder-client.toml.txt
rftoolsbase-common.toml.txt

It's in server config, which located at your save folder, for example /saves/New World/serverconfig/

Thank you for this information. When I have time, I will post all of this again to RFTools under "Help", so that everyone who has the same problems can maybe find a solution. I wish you a nice day.


fix(tiller): fix spurious "no release found" errors.

There are some places where releases are only located if they are in the
state DEPLOYED. That particular logic was incorrectly used for upgrades.
That caused #1566. While fixing that issue, I found that this was also
the root cause of #1587 (though because it was off by one). I added a
generic method to get the last release, regardless of its status.
This allows some behaviors that previously failed:

'helm upgrade' can now be performed on a DELETED release
'helm rollback' can now be performed on a DELETED release even if
there is only one revision of that release history.

Closes #1566
Closes #1587

This change is

⇒  helm install docs/examples/alpine
⇒  helm delete inclined-condor
⇒  helm ls --all
NAME           	REVISION	UPDATED                 	STATUS 	CHART
inclined-condor	1       	Fri Dec  2 17:03:37 2016	DELETED	alpine-0.1.0
⇒  helm rollback inclined-condor
Error: This command needs 2 arguments: release name, revision number
⇒  helm rollback inclined-condor 1                                                                                1 ↵
Rollback was a success! Happy Helming!
⇒  helm status inclined-condor
LAST DEPLOYED: Fri Dec  2 17:12:42 2016
NAMESPACE: default
STATUS: DEPLOYED

RESOURCES:
==> v1/Pod
NAME                        READY     STATUS    RESTARTS   AGE
inclined-condor-my-alpine   1/1       Running   0          36s

This worked for the use case I had in mind with the --force option for upgrade, and your solution does feel cleaner :smile:.
As an added benefit, this works well for "adopting" existing resources to be managed by helm when otherwise I would have gotten a "conflicting resource" error which put the release into a FAILED state. That still happens, but the next upgrade for that release can now apply changes and bring the release back into a good state.


[AzureMonitorExporter] Update Service Version

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Monitor.OpenTelemetry.Exporter


Fix #63: Go to item page on click of PreviewItem

Related Issue

Fixes #63
Checklist:

[x] I have read the contributor's guide.
[x] I linked an issue in the previous section
[x] I have commented on the linked issue
[x] I was assigned the linked issue (not required)
[x] I have tested the change to the best of my ability against the sandbox or a local build.

Optional items:

[ ] My change adds new text and requires a change to translations.
[ ] My change requires a change to the documentation.
[ ] I have submitted a PR to the documentation repo.
[ ] I was not able to test... (explain below, e.g. you did not have permissions to test a specific feature)
[ ] This change depends O-FISH Realm repository changes (explain below)

Optional: Add any explanations here
Work done:

add shared, reusable functions in get-data to view items
use those functions in search preview item and crew view
add a pointer cursor to search preview item to make clickability apparent

Optional: Add any relevant screenshots here

Preview of result:

@lenmorld - before you go any further - 2 things:
1 - the code you're submitting fixes a different issue - #62. This code is for the search results page, which is the page you get when you click "See all results for (SEARCH TERM)" as a result of the autocomplete. #62 is the issue for clicking from the autocomplete page.
e.g.  here - see how the URL is #/search_results ? That's the page it refers to. Not your fault at all, I should have put a screenshot in there.

2 - Someone else is working on #62 and it would be interesting to compare code - see the changes at https://github.com/WildAid/o-fish-web/pull/335/files - which way do you think is better and why? I'm usually of the mindset that simpler is better but sometimes that has unintended consequences, or is a hacky way to do something as opposed to the 'right' way.

Thanks for clarifying @Sheeri
I definitely missed the "page" in Search results page 😅
I think using React router's Link is more idiomatic and declarative since we are using React Router.
It would be good to have one place to manipulate these paths though. getData is a good place, instead of one-offing it in the PreviewItem component
The sidenote is that we have too many onClick -> goToPage calls already that is more imperative since it pushes directly to history, which could be wrapped in <Link>s instead
We can have a refactor ticket for these to make them Link's instead

...actually, there is one problem with using <Link>s
Link wraps the item in an <a>, so they are styled as such by default: underlined,
active/visited colors

Although it's possible to pass a style, it seems not natural to do so, and there is a risk of a color not being defined in an inner component, thus taking the default colors of an <a> tag
Maybe that's why there's a lot of onclick -> goToPage...
What do you think @Sheeri ?

So for this case, I think it's more consistent to use onClick -> goToPage...
unless there is a better solution to have a no-style <Link>

So for this case, I think it's more consistent to use onClick -> goToPage...
unless there is a better solution to have a no-style <Link>
So what onClick does is, it triggers an event when the user clicks on the element, and hence we can not call it a link anymore.
For navigation, it is better to have Links rather than onClick events because onClick prevents the ability to open in a new tab/window and it is more intuitive & complies with Browser navigation rules.
Also I would recommend implementing this across the app. Lmk if I am not clear with the explanation.

@sourabhbagrecha - opening in a new tab/window is a must! however, the link style @lenmorld pointed out is also an issue.
So I think we should go with the "no-style <Link>" approach. How does that sound, @lenmorld?
@sourabhbagrecha can you update your PR with the necessary CSS? (or work with @lenmorld and have them update the CSS?)

@Sheeri @sourabhbagrecha
From here, we can pass a component to MaterialUI components
<PreviewItem component={Link} to={'/some_link'} />

There's also overriding styles, but we might miss some of the other styles
<Link to="first" style={{ textDecoration: 'none' }}>

so the first solution might be better, if it works

Thanks @Sheeri  and @sourabhbagrecha
I'll update my code here to use the same solution


Transforms

Implement Transforms
For instance, they they can be applied to steps in the step-wise strategy. This way you can for example change data or candidates the strategies for certain steps or restrict the domain.

I took a quick look at this. I think that the name RemoveTransform is a little bit confusing because I would expect it to remove the transform rather than be a transform that removes something. What do you think of DropDataTransform or ExcludeTransform?

I took a quick look at this. I think that the name RemoveTransform is a little bit confusing because I would expect it to remove the transform rather than be a transform that removes something. What do you think of DropDataTransform or ExcludeTransform?

Yes! As so often a great naming suggestion from you!

namely where it is checked that the acutal drop data transfrom works and drops the correct data, so to say, testing of its functionality.

There was a test in the stepwise-file. I moved it to a separate file and extended it.

Looks good to me, last minor thing would be to not have test_transforms.py under tests/bofire/strategegies but in a new folder tests/bofire/stransforms.py so that we reflect the correct folder structure. If one is very strict we would also need the test_conditions in the data_models part of the test suite.

Thanks for the review.
Since transforms are tight to the stepwise strategy I will leave the tests there. We can move them later.


Add missing async on aiohttp context manager

Shouldve listened to that mypy error. Was telling us that there was a mistake we just ignored it.

Yup, I'll take the blame on this one.


confusing gitignore entries

In the .gitignore "docs/make.bat" and "docs/Makefile" are specifically ignored.
Nevertheless, both files exist in the repo.
The .gitignore should either not ignore these files or the files should be removed from the repo.

@rawbby Thanks!


Adding "deviceType" as a configurable parameter option.

So users can select a specific device together with the SDK version
for their tests. Previously, users can only specify the SDK version
for the tests and if there are several devices with the same SDK
version, selendroid will automatically select the first device to
carry out the test, which may not be the intended device for the
test.
This parameter can be ignored if the users are not desired to select
a specific device for the test.
Signed-off-by: Binh Vu<EMAIL_ADDRESS>

:+1: thanks! this is merged


178168630 copy itsi items

PT Story: https://www.pivotaltracker.com/story/show/178168630
[#178168630]

@emcelroy can you merge master into this branch? The PR is showing differences that were included in this PR https://github.com/concord-consortium/rigse/pull/1065/files and have already been merged in.  I think by merging master the changes listed in this PR will decrease.

@scytacki Sure. I've merged master in. Sorry, I thought I had done that already, but apparently I didn't.

For some reason the build of this was canceled. I just restarted the build.


Changes to Fuel and PortionOfMatter hierarchies

Remove fuel subclasses of 'energy carrier' disposition hierarchy. Rename energy carrier dispositions to add -disposition suffix.
Add FuelRole beneath role.
In PortionOfMatter hierarchy:

remove 'PortionOf' prefixes

add CombustionFuel

add appropriate axioms linking substances that can be fuels to the fuel role and the appropriate energy carrier disposition

Closes #227.
When reviewing please check the inferred hierarchy after running classification with the reasoner.

the EnergyCarrierDisposition definition is not aristotelean yet: "According to ISO 13600, an energy carrier is either a substance or a phenomenon that can be used to produce mechanical work or heat or to operate chemical or physical processes. ..." It's also rather long, can we shorten it?
The inferred fuel hierarchy is different to what PortionOfFuel had before, e.g. OilAndPetroleumProducts is no direct subclass of PortionOfFuel anymore, Biofuel is CombustionFuel and RenewableFuel, ... is that intended?
can the "WoodAndOther" class be renamed?

I added some term tracker items :)

the EnergyCarrierDisposition definition is not aristotelean yet: "According to ISO 13600, an energy carrier is either a substance or a phenomenon that can be used to produce mechanical work or heat or to operate chemical or physical processes. ..." It's also rather long, can we shorten it?

I suggest we leave the definition in this pull request as it is and create a new issue to discuss this definition.

The inferred fuel hierarchy is different to what PortionOfFuel had before, e.g. OilAndPetroleumProducts is no direct subclass of PortionOfFuel anymore, Biofuel is CombustionFuel and RenewableFuel, ... is that intended?

Yes, Biofuel is both a CombustionFuel and a RenewableFuel. But are there some renewable fuels that are no combustion fuels? I don't think so, hence RenewableFuel should be (at least in the inferred hierarchy) a child of CombustionFuel.

can the "WoodAndOther" class be renamed?

Maybe simply Wood? The and other part is still covered by the upper class SolidBiomass.

can the "WoodAndOther" class be renamed?

Maybe simply Wood? The and other part is still covered by the upper class SolidBiomass.

Maybe it is better to keep it for the moment create also a separate issue.

We already discussed the EnergyCarrier def in #209: An EnergyCarrier is a disposition of an object or objectAggregate that contains energy for conversion as usable energy.
Instead of 'EnergyCarrier' it would be now 'EnergyCarrierDisposition' though. Do you still agree with the definition?

So we leave EnergyCarrier / EnergyCarrier disposition here as it is and fix it in #209?

So we leave EnergyCarrier / EnergyCarrier disposition here as it is and fix it in #209?

Sorry, I didn't see your comment. I already made a change request for this here....

OK, I accepted the suggestions and tried to address all comments, please have another look?

Currently I am busy but I will do a review today late afternoon.

RenewableFuel isn't a subclass of CombustionFuel yet

RenewableFuel isn't a subclass of CombustionFuel yet

OK, I added the axiom RenewableFuel 'has disposition' some CombustibleEnergyCarrierDisposition and now it is in the inferred view

@l-emele I added the missing axioms to generate the missing inferences you highlighted. Please take another look.
One thing I wasn't sure of, once I removed SolidBiomass from SolidFossilFuel, Coal is inferred as a solid fossil fuel but Peat is not, as it doesn't have the axiom that it has origin fossil. Is that correct?

Quick response: Peat should also have a fossil origin and hence be inferred as SolidFossilFuel.
I will do a full review later today.

Peat should also have a fossil origin

OK -- now added!

I'll fix the conflicts

fixed. I also deleted the PortionOf prefix of FluorinatedGreenhouseGas

Additional question: Is there a reason why SolidBiomass is treated differently to LiquidBiofuel?

I added the missing axioms to make SolidBiomass inferred as a Biofuel and Peat as a SolidBiomass. Note that "peat" now has two origins: biogenic and fossil. So it is inferred as both a fossil and a biofuel. @l-emele is that right?

I also deleted the 'oil' class

I added the missing axioms to make SolidBiomass inferred as a Biofuel and Peat as a SolidBiomass. Note that "peat" now has two origins: biogenic and fossil. So it is inferred as both a fossil and a biofuel. @l-emele is that right?

Hm, that's a difficult one. I just look up what the IPCC in their FAQ:

Q2-7.	Is peat classified as fossil fuel or as biofuel in the IPCC Guidelines? What is the scientific basis for the classification the IPCC has chosen?
A. In terms of the Revised 1996 Guidelines, peat or peatland appear in the Energy and the Land-Use Change and Forestry (LUCF) chapters. Peat is classified as "Solid Fossil" in the Energy Sector.
In the 2006 Guidelines peat is not described as a fossil fuel or as biomass but as peat because “Although peat is not strictly speaking a fossil fuel, its greenhouse gas emission characteristics have been shown in life cycle studies to be comparable to that of fossil fuels (Nilsson and Nilsson, 2004; Uppenberg et al., 2001; Savolainen et al., 1994). Therefore, the CO2 emissions from combustion of peat are included in the national emissions as for fossil fuels.”  (See the footnote 5 on page 1.15 in Chapter 1, Volume 2 in the 2006 Guidelines.)

Wikipedia sums this up to:

The Intergovernmental Panel on Climate Change (IPCC) classifies peat as neither a fossil fuel nor a renewable fuel, and notes that its emission characteristics are similar to fossil fuels.

For energy modelling (our scope) one usually treats peat simply as fossil origin. So I suggest that we use in our ontology only the fossil origin.
@stap-m @han-f @Ludee : What do you think?

I am very sorry. I mixed something up. :anguished:
In my comment above I wrote:

The SolidBiomass still does appear correctly in inferred view. Only WoodAndOther is currently a Biofuel. Also Peat should be a SolidBiomass. So in the end the hierarchy should be:

Biofuel

SolidBiomass

Peat
WoodAndOtherProducts

But I confused there Peat and CharCoal. I should have written:

The SolidBiomass still does appear correctly in inferred view. Only WoodAndOther is currently a Biofuel. Also CharCoal should be a SolidBiomass. So in the end the hierarchy should be:

Biofuel

SolidBiomass

Charcoal
WoodAndOtherProducts

This explains why Peat got accidentally both fossil and biogenic origins.

Okay :-)  @l-emele I removed the biogenic origin of peat and added it for charcoal. Could you have another look?

For energy modelling (our scope) one usually treats peat simply as fossil origin. So I suggest that we use in our ontology only the fossil origin.

Thanks @l-emele, I agree. Our 'fossil' definition tolerably fits for peat, too: x is fossil if it was created from organic material by geolocial processes lasting thousands or millions of years.

Yay! Thank you for all your effort solving this very large and difficult issue!


EU != Europe

The headline "EU level" should probably read "Europe level". The follow states on your map are not EU members:

Russia
Belarus
Ukraine
Georgia
Azerbaijan
Armenia
Turkey
Albania
Iceland
Norway
Lichtenstein
Switzerland
Montenegro
North Macedonia
Serbia
Bosnia and Herzegovina
Moldova
Andorra
San Marino
United Kingdom

fixed https://github.com/tenpages/us-level/commit/2837f1473ed72b7a4702dec5c8b1996cd5ac1db1


Improve Neogit highlights

These changes reduce the shifting of colors that happens as one navigates hunks with the cursor on a NeogitStatus buffer. It reduces accessibility a tiny bit (by not showing a cursor line highlight inside hunks) but makes the theme look less broken and makes it easier to follow what's going on.

Off-topic: consider adding the hacktoberfest label to the repo? :) https://hacktoberfest.com/


add gravity gauntlet

adds gravity gauntlet weapon to astromine
gauntlet adds 4 attack damage
hold right click with gauntlet on each hand to charge (costs 1024 energy)
attack with charged gauntlet on each hand knock back enemies
costs advanced circuit galaxium rose gold plates steel plates and advanced battery

Does this even work?

yes
i cant upload videos to github so it sent it to astromine discord

is there a timeframe for this to be merged


Ts 908

#908 check coinDivisibility on save.

Coverage decreased (-0.002%) to 26.154% when pulling b4dffe2648584a3536ca130179774b97d450d18a on TS_908 into c8c8bff905197c79c71fbdf8aaf13f9151f70fac on cryptolistings.


GPG signatures for source validation

As we all know, today more than ever before, it is crucial to be able to trust
our computing environments. One of the main difficulties that package
maintainers of Linux distributions face, is the difficulty to verify the
authenticity and the integrity of the source code.
The Arch Linux team would appreciate it if you would provide us GPG signatures
in order to verify easily and quickly your source code releases.
Overview of the required tasks:

Create and/or use a 4096-bit RSA keypair for the file signing.
Keep your key secret, use a strong unique passphrase for the key.
Upload the public key to a key server and publish the full fingerprint.
Sign every new git commit and tag.
Create signed compressed (xz --best) release archives
Upload a strong message digest (sha512) of the archive
Configure https for your download server

GPGit is meant to bring GPG to the masses.
It is not only a shell script that automates the process of creating new signed
git releases with GPG but also comes with this step-by-step readme guide for
learning how to use GPG.
Additional Information:

https://github.com/NicoHood/gpgit
https://help.github.com/categories/gpg/
https://wiki.archlinux.org/index.php/GnuPG
https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work
https://www.qubes-os.org/doc/verifying-signatures/
https://lkml.org/lkml/2016/8/15/445
https://developers.google.com/web/fundamentals/security/encrypt-in-transit/why-https
https://www.enigmail.net/index.php/en/

Thanks in advance.

I'll do it, thank you.


Log folder not saved

When a query log folder is selected and the program is restarted, the log folder goes back to default.

good catch!


mysql query issue on payment submission - it assumes the tables exists and peforms a query

I think the solution would be to have the user create the proper table or have a script to create one if it does not exist yet or just the default opencart tables.

false alarm.  I installed the files incorrectly causing the admin model not to properly create the tables.  closing this out.
I just placed a local test order and it went through.  will do further testing before pushing live.
thanks!


[10.x] Query result indexing using keyBy (PDO::FETCH_UNIQUE)

TL; DR: PHP's PDO currently has a mode called PDO::FETCH_UNIQUE which allows you to retrieve query results and assign array keys directly without having to call a collection method like $query->get()->keyBy(). This speeds up computation in many cases where you need arrays with a given key.

PDO::FETCH_UNIQUE is a custom fetch mode which is passable to $pdoStatement->fetchAll(PDO::FETCH_UNIQUE) (PHP link). Currently, this mode defaults to PDO::FETCH_OBJ which returns the query results as a list containing of objects (note: an array is a "list" when its keys consist of consecutive numbers starting from 0, so there are no custom keys). PDO::FETCH_UNIQUE however can be used to set the keys of this array as the result is coming in through the PDO interface.
This speeds up execution considerably when you need a query result that has custom keys. The current way to do this operation is to first retrieve a query using $query->get() and then key the array using the collection method $query->get()->keyBy('name'). This loops the whole array again, which is something that could have been done initially when the array was created.
Retrieving array items by key is essentially an O(1) operation (constant time; it will always be fast even for big arrays) so there is much value in using keyed arrays (see Usecases below), especially when arrays become bigger.
PDO::FETCH_UNIQUE eats up the first column of the query resultset as the array key, so the implementation takes care of prepending the custom keyBy($column) to the SELECT-list. This extra column can then freely be consumed by PDO to use as the array key, unaffecting the rest of the query result.
Features
1. Key an array by a column:
$users = User::keyBy('email')->get();
$user =<EMAIL_ADDRESS>?? null;

2. Key an array by a custom expression:
// Retrieve a user for each day (taking the first 10 characters of the timestamp, which is `2023-01-01`):
$users = User::keyBy(DB::raw('SUBSTR(`created_at`, 1, 10)'));
$janFirstUser = $users['2023-01-01'] ?? null;

Note that this query can likely be optimized by adding a ->groupBy() column since there could be multiple users per date. Not including any groupBy will loop the complete result array and overwrite any array key that is encountered multiple times. So if multiple users have created_at = 2023-04-01, the last user with this value will occupy the array key. This is exactly how Illuminate\Support\Collection::keyBy() works as well.
3. Keying relations:
class Post extends BaseModel
{
    public function tags()
    {
        // Return results keyed by the `tag` column (the name of the tag).
        return $this->belongsToMany(Tag::class)->keyBy('tag');
    }
}
$post = Post::with('tags')->first();
$awesomeTag = $post->tags['awesome'] ?? null;

Use cases
Example 1: creating a local cache of currency objects, which can be quickly retrieved by their iso-code (EUR,USD,BTC etc) array index:
class SomeClass
{
    private $_cache;

    public function get($isoCode)
    {
        return $this->cache()[$isoCode] ?? null;
    }

    protected function cache()
    {
        if (is_null($this->_cache)) {
            $this->_cache = App\Models\Currency::query()->keyBy('iso_code')->get();
        }

        return $this->_cache;
    }
}

$euroCurrency = (new SomeClass)->get('EUR');

Example 2: any cases where you need to check key existence in a query result
(see Feature no. 3)
Example 3: Optimize any cases where ->get()->keyBy(...) (or similar) is called:
// Old:
Country::all()->keyBy('country_code');
// New:
Country::keyBy('country_code')->get();

Do you plan to support really any $query->get()->keyBy() cases?
Post::with('extra.depth')->get()->keyBy('extra.depth.field');

Could the pluck(key, value) method with two params be optimized in a similar way?

Could the pluck(key, value) method with two params be optimized in a similar way?

Maybe a combination of PDO::FETCH_COLUMN|PDO::FETCH_UNIQUE can improve that function indeed. Good idea for another PR though.

Don't forget to send an invoice to Tyler for doing work on this framework. As it is sponsored and makes money. You deserve to be paid for your work.

Less try

Try

rip branch because of merge issues; i'll remake this

I can help you, drop your WhatsApp number so I can handle it sir

Okay I can fixed it sir . Send me your WhatsApp or telegram number so I can
text you and fixed it sir
On Fri, 5 May 2023, 11:33 pm Bert, @.***> wrote:

Closed #46807 https://github.com/laravel/framework/pull/46807.
—
Reply to this email directly, view it on GitHub
https://github.com/laravel/framework/pull/46807#event-9180852146, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A7P7KUVKUH7NFXFFNENGM5TXEV545ANCNFSM6AAAAAAXBLFMIM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


flair==0.10 requires torch and will not accept pre-installed ROCM pytorch

Still coming back to project from time to time in hopes of getting it to work with llama 70B (1t/sec 4bit quantized locally).
While trying to get a local model to work with this repo, I found that requirement "flair==0.10" would not accept AMD ROCM pytorch even when invoking the appropriate --index-url flag and ROCM nightly URL in pip.
If you ever release a follow-up to your work I encourage you to implement a local model version, including dependencies which are not NVIDIA only.

Hey, yeah, the state of the art is indeed moving pretty fast these days. We're actually intending to open-source a version of this project that has the same high-level structure but supports newer LMs (e.g., LLama2), and is also rewritten to be easier to work with and modify. Flair will no longer be required in that version (and in the current version, you can probably get away with turning off the part that does use flair, with only a small loss). We're hoping to have the new version out in the next couple of weeks.

Thank you Kevin!!
If you would like an AMD ROCM tester or any help getting AMD consumer cards to work with the new launch, I am happy to help even just with random errors as well. I have a couple hundred hours struggling through various AMD dependency purgatories at this point with multiple LLMs and have a local machine for inference with 16GB VRAM.

Sure, will let you know when it's released!

The new code is up at https://github.com/facebookresearch/doc-storygen-v2 !


Is there a way to change the thumbnail image?

I am the creator of PortfolioOS (https://statichunt.com/themes/nextjs-portfolio-os). It shows this thumbnail at the moment:
Is there already a way to use a custom thumbnail image? If not, can I implement a new 'thumbnail' option in the themes configs where you can provide a custom url to the thumbnail?

Hey @poeck, you can create a PR here https://github.com/statichunt/statichunt-images/tree/main/themes


New action to remove filters by widget ID

New action to remove filters by widget ID
For category widget, unlock the widget is there are not a selected category

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 12 (33.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 68.843%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/react-redux/src/slices/cartoSlice.js
1
9
11.11%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
899

Relevant Lines:
1221

💛  - Coveralls


Improves list styling by adding extra margin

Summary of the changes / Why this is an improvement
Specifically:

Add left-margin to all lists
Fix paragraph margins for lists using the "open" class

I also added some dummy text to the demo Sphinx project so you can test and preview the changes. Here's what it looks like on mine with the changes in place.

@msbt I am not sure what your workflow is like, but there is a chance that you may want to copy these modifications over to the CSS used by WordPress.

@msbt I am not sure what your workflow is like, but there is a chance that you may want to copy these modifications over to the CSS used by WordPress.

@msbt I didn't test my changes on mobile. now that you mention it, I am not confident that I know how to test changes to the CSS (on mobile and other devices). would it be possible for you to test the change using whatever procedure you already have in place?

@msbt I didn't test my changes on mobile. now that you mention it, I am not confident that I know how to test changes to the CSS (on mobile and other devices). would it be possible for you to test the change using whatever procedure you already have in place?

@mechanomi I'm on the train the whole day, I'll get back to you about that on Monday on slack

@mechanomi I'm on the train the whole day, I'll get back to you about that on Monday on slack

this has been merged into https://github.com/crate/crate-docs-theme/pull/238. closing

this has been merged into https://github.com/crate/crate-docs-theme/pull/238. closing


Implement Do Not Track header

At least one major publisher seems to interpret Do Not Track signals as Do Not Sell signals. So, it may be worthwhile to implement Do Not Track as well. Essentially, the Do Not Track setting would exactly mirror whatever the user has selected for Do Not Sell.
(cc'ing @davebaraka and @rgoldstein01)

This was a relatively simple implementation: we have already built the infrastructure for sending headers to every site we visit. Here is the DNT (Do Not Track) signal in the extension. I also have a photo of the headers side by side in the Chrome console below:

I took a look at Mozilla's documentation regarding the DNT signal, and it looks like the official standard dictates the header is supposed to be sent to every site, even if it it only contains a null or 0 value. In reality, it looks like both Chrome and Firefox only ever send the signal when the browser-wide option for the signal is enabled, similar to how we have been operating with our Do Not Sell signal.
@SebastianZimmeck, to me it feels like this is all there is to this particular issue. I did not upload directly to the master branch for the sake of keeping the code changes with the issue, though I am ready to merge this back in if you feel it is all set as well.

Excellent, @kalicki1. Please feel free to open a PR, and we can merge.

We should be able to close this issue for now.


Feature request: Headless iGate (without OLED display)

Why:

Since many of our iGates are installed in a invisible place, e.g., near the antenna on the top of a mast, the display has no practical function.
Due to poor quality of the OLED display, after about 1.5 year 365/7/24 continuous use, the luminance of the display is severely reduced, and multiple pixels are failing.

Would it be possible to autodetect the presence of the OLED module during initialization and use it if present and change to headless mode if not?

its a good idea ... I can try to check for it at boot up
but please hold on the idea as I'm dedicating this days to test and code for the tracker web installer
please remember me about this in a week or two

maybe I am getting it wrong, what about to set in the config in section "display" the variable at "always on" to false and the timeout to e.g. 1 sec ? Then the display is off 99,99% of all time.
Just my 2 cents

If I'm not mistaken, the Heltec Wirless Stick Lite V3 is already setup without using/setting a display.
Steffen / DL1SX


Bug/fix integration tests

closes #13

Coverage decreased (-1.2%) to 65.021% when pulling d6af1c843f27360647a1b82771ea0b495159b582 on bug/fix-integration-tests into bb09832edb25b19ae27232169d2e709ed3a935e5 on master.

Coverage decreased (-1.2%) to 65.021% when pulling 790d89859bb7f1d433d5884b0443f50a29974280 on bug/fix-integration-tests into bb09832edb25b19ae27232169d2e709ed3a935e5 on master.


Production use for gotch just for inference

I think the best use-case for gotch IMHO is to run inference on a model after it has been trained with python (with pytorch of course) and then using the saved model (.pt file) to run inference.
Is it possible to directly load the model.pt file into Go and run inference from there (I assume yes)? And if so, are there any direct tutorials or instructions on this?

@NickDatLe,
Yes. Look at 'example' folder and closed issues.

I got this working last night:
package main

import (
	"fmt"

	"github.com/sugarme/gotch"
	"github.com/sugarme/gotch/ts"
)

func basicOps() {

	xs := ts.MustRand([]int64{3, 5, 6}, gotch.Float, gotch.CPU)
	fmt.Printf("%8.3f\n", xs)
	fmt.Printf("%i", xs)

	// Basic tensor operations
	ts1 := ts.MustArange(ts.IntScalar(6), gotch.Int64, gotch.CPU).MustView([]int64{2, 3}, true)
	defer ts1.MustDrop()
	ts2 := ts.MustOnes([]int64{3, 4}, gotch.Int64, gotch.CPU)
	defer ts2.MustDrop()

	mul := ts1.MustMatmul(ts2, false)
	defer mul.MustDrop()

	fmt.Printf("ts1:\n%2d", ts1)
	fmt.Printf("ts2:\n%2d", ts2)
	fmt.Printf("mul tensor (ts1 x ts2):\n%2d", mul)

	// In-place operation
	ts3 := ts.MustOnes([]int64{2, 3}, gotch.Float, gotch.CPU)
	fmt.Printf("Before:\n%v", ts3)
	ts3.MustAddScalar_(ts.FloatScalar(2.0))
	fmt.Printf("After (ts3 + 2.0):\n%v", ts3)
}

I'll continue to play around with it. thanks for pointing me to the examples.

Close for now as not a real issue.


Wallet connect - infura error in console

This bug was reported in the 3.3.0 regression ticket (Bug 5) #2080
Mainnet Infura 401 error in console if the connected via walletconnect MM owner switched network from Rinkeby to Mainnet using https://pr2079--safereact.review.gnosisdev.com/rinkeby/app/#
Steps:
1 Open Gnosis Safe in Rinkeby environment
2 Connect mobile MM via WalletConnect
3 Load existing Safe
4 Open console
5 Change network in mobile MM from Rinkeby to Mainnet
Current result:
The errors appear in the console and seems that it may never stop

The opposite situation if Mainnet env is used but the mobile MM uses Rinkeby network

This seems to be similar to #2092.
Thinking about this one and #2092, I think we should fix it since I'm afraid that perhaps users switch from Rinkeby to Mainnet or vice versa and then perhaps the app sends txs to the wrong service or network which would lead to issues.

Just tested. It doesn't show the error anymore but the mobile MM tries to submit the tx on the wrong network.

Should be fixed in #3364, please test on there.

Hola guys, unfortunately this is still happening to me on #3364 :
https://user-images.githubusercontent.com/92332710/152793228-c95c5c28-5dda-4a45-a39d-dba179d3dffd.mov
You cannot see my mobile in here but basically I switched to mainnet on metamask mobile and the infura error logs are still popping

unfortunately this is still happening to me on https://github.com/gnosis/safe-react/pull/3364

Can you try this again? I made some changes on Friday (https://github.com/gnosis/safe-react/pull/3479) that appear to have fixed this.

Console errors are gone on https://github.com/gnosis/safe-react/pull/3364, gracias guys ;)

I will close this then.


Allow multiple bundles to be created from the same image

Earlier ImageClient::pull_image used to return early if the image had already been pulled. In this case, the second bundle created using an existing image would not get populated.
In this PR, if the image as already been pulled, then prior to returning early, the bundle is setup.
Signed-off-by: Anand Krishnamoorthi<EMAIL_ADDRESS>

@anakrish , please help fix the rust lint check reported by CI.

Thanks for the quick review, @arronwy. Fixed.


Meta: Update build and simplify it

Update Webpack to v5 (+ loaders)
Replace ts-loader with esbuild-loader to save a couple of seconds of build time
Keep static files to ./distribution instead of using Webpack to copy them (reduces config)
Drop old unused dependencies
Lint DefinePlugin

Overall, the config file is 46 lines shorter (-27%) :cake:
Next, maybe:

[ ] Update dependencies again later to avoid some deprecation notices
[x] Find out why it still takes 11 seconds to build. Edit: it appears to wait idly for a few seconds for no reason:

👆 made with https://webpack.js.org/plugins/profiling-plugin/

🎉

Is this TODO fixable?
https://github.com/sindresorhus/refined-github/blob/a121cc8b54c1fa984659f6a0e61f1e0ea89ff348/tsconfig.json#L4

Is this TODO fixable?

Indeed. This also saves a lot of bytes 😛
           options.js ⏤  30.9 kB (-21 B)
    refined-github.js ⏤  98.9 kB (-648 B)

The build size should be much smaller now

https://github.com/fregante/delegate-it/releases/tag/v2.0.1

is this not part of this pr

It's unrelated to the build. It can be done separately. Not urgent either 😄

Resolve conflicts stopped working
https://github.com/sindresorhus/refined-github/pull/3596/conflicts

Heh, I thought about testing it and then forgot while I was looking for conflicts. Fixed in the latest commit

[webpack-cli] SyntaxError: Unexpected token '.'
I am unable to build 😢 not sure whats wrong!

GitHub Actions passed. Npm install and use node 14

use node 14

That worked thanks


Entry point a2c

Which entry point should I specify(Steady-CLI 3.2.5)?
I'm just tried with specifying main class in pom, but it didn't work (vulas.reach.sourceDir = app).
Also i tried just point to src of project (vulas.reach.sourceDir = app/src).

In addition, before running this command i did mvn package

Hello @axidex - There's no need to use the CLI if you do have a POM file. In that case, I really recommend using Steady's Maven plugin, which will pick automatically all the application sources as entry points for the A2C reachability analysis. If you added Steady using a profile, you can just call mvn -Dsteady compile steady:a2c (see here for more info). If you did not add it as a build plugin, you would need to call it using the full name (see here).

But here is a problem, in my project I can't build source code(i already have precompiled project) and therefore I have no opportunity to use maven

Since you said you ran mvn package, which includes compiling project sources, I thought this would be a possibility. Were you able to run the app goal beforehand, which is a prerequisite for all the other analyses? Also, can you explain the project layout in more detail, e.g. where the source or compiled classes are, the dependencies etc.

@henrikplate, Thank you, running before a2c "mvn app" solved my problem, but now a new one has appeared. Here is the test repository on which it was tested
vulas.reach.fwk = wala

vulas.reach.fwk = soot

Thanks for sharing the test project. Note that it was easily possible to use the Maven plugin: I just cloned the repo, compiled the classes in src and ran the app and à2c` goals using the following command:
mvn -Dvulas.core.space.token=A5344E8A6D26617C92A0CAD02F10C89C -Dvulas.shared.backend.serviceUrl=http://localhost:8033/backend/ compile org.eclipse.steady:plugin-maven:3.2.5:app org.eclipse.steady:plugin-maven:3.2.5:a2c

During a2c, however, I had the same problem, and this seems being due to the Java version used. When going back from Java 17 to Java 11, the reachability analysis worked.
According to the error messages, it looks like Soot cannot find the modules with JCL classes, that is probably something that changed between Java 11 and 17. To investigate this further requires digging into Soot, maybe they have something documented...

I'm tried using maven, but here is a new problems with bigger project - https://github.com/axidex/test2

I debugged into it and do not think they are problematic. The first occurs in a method trying to find the URL of the JAR from which a class was loaded. But since those classes are part of the project, they do not come from a JAR (but the target/classes directory). The second is related and occurs in a method computing the digest of a JAR, which again is not possible because the classes come from a directory. I think both error messages should be changed to warnings (or maybe suppressed altogether).

That means this is builded properly ? -1 it's good or not?


success while build in simulator but failed while archiving

When I am building the app in simulator it works, but when I archive the project to upload, it's showing error
this is the screenshot

@ferdinandharmaputra This looks like an issue with an Alamofire API and is out of scope for the Firebase issue tracker.


'VoteCollector secret voting' saves single votes in /rest/*-poll-ballot while voting

No single votes should be saved/buffered in rest if "VoteCollector secret voting" is selected!

Note: Singel votes are visible for managers in rest only.


LRP remove captum dependencies

Description
Please include a summary of the changes.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.

[x] Compare results with previous implementation
[x] Unit tests added for new methods

Checklist:

[x] I have updated all related pyproject.toml files.
[x] I have updated lock files.
[x] I have set an Assignee and Reviewers.
[x] I have labeled the PR correctly.
[x] I have performed a self-review of my own code.
[x] I have covered my code and changes with unit tests.
[x] I have annotated types as extensively as possible.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] All code references and dependencies will work.

LGTM!


Intro to the tileset editor

We have a preview video on the channel: https://www.youtube.com/watch?v=F6VerW98gEc
Back then the tileset editor still had some minor bugs. Let's make a new videos to show it in its final form, with some extra polish
As I made the original preview and already got the hang of it, I'll take on this one.

Recorded, sending to edit


Disconnect Pairing

Extend disconnect method in Sign SDK so that it handles wc_pairingDelete

This is now available in Android Core.
@CyrilNb The disconnect feature is the Sign SDK disconnects the session. The disconnect in the Android Core SDK will allow you to disconnect the pairing. You can find an explanation of the difference between a session and a pairing here


Fix problems computing feature density for overviews creation

We still have to determine if the fix fo #257 fixes #256 too (in all the cases I've tried the error is like in the first problem: integer too large, and not like the second: casted to float8

CDB_ZoomFromScale returns a maximum zoom level of 23 (for similar reasons to our limiting max. overviews level to 23 too?).
    WHEN scaleDenominator <= 100 THEN RETURN 23;

So, if we create overviews for level 23 the base table will never be used by Mapnik (images an utfgrid).
Is this a feature or a bug?

Feature: If a table requires overviews for such high z, we better not try to render it ever (all points have to be very close together); overviews will make sure that rendering is fast.
Bug: eventually we should be able to see and get info from individual points and not aggregated data

If the bug side wins, we could make the overviews maximum level to be 22, or extend CDB_ZoomFromScale to return at least level 24 (but I still don't know what implications this may have).
cc @rafatower @javisantana

the thing is, why we don't use a real math function? https://github.com/mapbox/postgis-vt-util/blob/master/src/Z.sql

Regarding using a formula for Z: there's a PR for that: https://github.com/CartoDB/cartodb-postgresql/pull/197

I finally found the cause of the floating point arguments error!
It happened when the table had columns named x or y. In all cases observed these were floating point columns.
The recursive query introduces the names x and y:
    WITH RECURSIVE t(x, y, z, e) AS (

Which are used (unqualified) among other places in an inner subquery from the table:
      SELECT x*2 + xx, y*2 + yy, t.z+1, (
        SELECT count(*) FROM %1$s
          WHERE the_geom_webmercator && CDB_XYZ_Extent(t.x*2 + c.xx, t.y*2 + c.yy, t.z+1)
      )

And in this case, if the table has and x/y column the names resolve to that column instead of the recursive query arguments.
Here these names must be qualified as t.x and t.y  to solve the problem.

good catch!

The maximum CDB_ZoomFromScale problem being dealt with in #259

@rafatower please review

I'm keeping the CASE to avoid converting the function to PL/PGSQL

Using bigints to avoid the zoom-23 limit seams feasible but also seems to have an impact on performance, since checking that will take some time I'll leave it for later (it's here in this branch), as I prefer to deploy the current fixes ASAP.


Failed to activate the scala-worksheet package

[Enter steps to reproduce below:]

Start up Atom

Atom Version: 1.1.0
System: Ubuntu 14.04.3
Thrown From: Atom Core
Stack Trace
Failed to activate the scala-worksheet package
At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
    at Object.module.exports.activate (<anonymous>:11:23)
    at Package.module.exports.Package.activateNow (/opt/atom/resources/app.asar/src/package.js:232:19)
    at /opt/atom/resources/app.asar/src/package.js:212:32
    at Package.module.exports.Package.measure (/opt/atom/resources/app.asar/src/package.js:153:15)
    at /opt/atom/resources/app.asar/src/package.js:205:26
    at Package.module.exports.Package.activate (/opt/atom/resources/app.asar/src/package.js:201:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/opt/atom/resources/app.asar/src/package-manager.js:474:21)
    at /opt/atom/resources/app.asar/src/package-manager.js:457:29
    at Config.module.exports.Config.transact (/opt/atom/resources/app.asar/src/config.js:300:16)
    at PackageManager.module.exports.PackageManager.activatePackages (/opt/atom/resources/app.asar/src/package-manager.js:452:19)

Commands

Config
{
  "core": {
    "disabledPackages": [
      "metrics"
    ],
    "themes": [
      "atom-dark-ui",
      "solarized-dark-syntax"
    ]
  },
  "editor": {
    "showIndentGuide": true,
    "invisibles": {},
    "fontFamily": "Input",
    "lineHeight": 1.3
  }
}

Installed Packages
# User
git-diff-details, v0.21.0
git-tab-status, v1.9.2
highlight-line, v0.11.0
language-docker, v1.1.3
language-dockerfile, v0.1.0
language-groovy, v0.4.0
language-puppet, v0.15.0
language-scala, v1.1.4
scala-worksheet, v0.3.4
terminal-panel, v1.14.1

# Dev
No dev packages

The scala-worksheet package no longer appears to be maintained.  I would suggest uninstalling it and then finding an alternative.  See also lpenguin/atom-scala-worksheet#14.


Use pug as template

https://github.com/angular/angular-cli/issues/1886

Look like ng-cli doesn't support pug right now.


How mujoco handles inverse kinematics issues?

Hi, thanks for sharing this API public to the world!
Currently, I am working on deep robotics RL project using CoppeliaSim (V-REP).
CoppeliaSim has its own inverse kinematics solver and it seems the solver struggles with
noisy target poses generated by the RL policy if I set the action space of the agent as Cartesian pose.
I found many people also found issues with this IK problems when they are doing RL in the continuous action space.
However, in the papers or the projects that uses MuJoCo, it seems no one finds issues with the RL policy making infeasible
motions in the Cartesian space during the exploration.
So, I wonder if there are special features that handles when solving IK. Does it make infeasible action in the real world possible in the simulated environment?
Thanks in advance!

Actually MuJoCo as a simulator doesn't do IK solving for you. Rather you provide a control signal for your robot's actuators. It's then up to you to implemend e.g. an operational space controller or some form of motion generator. MuJoCo however can be quite useful to do differential computations. I found this bit of code from dm_control quite handy to get started using MuJoCo to do IK:
https://github.com/deepmind/dm_control/blob/master/dm_control/utils/inverse_kinematics.py

Although it is not applicable for many cases, for some applications that IK may be needed you could also weld end effectors to mocap bodies, or use other equality constraints to implicitly define the kinematic chain with relation to a reference. This may be suitable if you just want to generate reference kinematic poses for a dynamic agent to follow.

Having a quick look at meta world I can see that they did exactly what @Balint-H proposed for the implementation of the Sawyer model (cf. here). d4rl seems to be based on OpenAI Gym and taking a look at the MuJoCo environment in Gym tells me that the action space is simply the MuJoCo actuators, so no IK at all.

@Balint-H @JeanElsner  mocap it is! I wonder if the policy learned with mocap-based Cartesian motion can be generalized to the real world robot that should solve IK. Thanks for the response!


How to achieve consistent capture timing

Hi,
I am trying to achieve consistent capture timing in libcamera-still so that every frame is taken consistently x microseconds after request.
So far I am using the signal mode to "prime" the cameras to let exposure settle and then send an OS kill-command with SIGURS1 to the thread the cam is running on.
so far the execution time of the kill-command is 2.2x seconds +- 300ms.
python pseudo:
subprocess of libcamera-still -s
usleep (2 seconds)
start = time.time()
os.kill(libcamera-still, SIGURS1)
end = time.time()
print(end-start)

Is python maybe too slow?
Do you have a hint, where I might look in order to achieve a near-absolute capture timing?
Thanks for your time!

I am trying to achieve consistent capture timing in libcamera-still so that every frame is taken consistently x microseconds after request.

Could you clarify on this further please?  Is your intention to receive a JPEG capture output x microseconds after you have sent a request through a signal? And you need x to be a fixed non-changing value between runs?

Exactly.
I want to time/ synch an array of flashes to the image capture.
I already started with a custom libcamera app that halt's until an epoch time is met, but if there is be a way to do this in Python, it would save me some work.

This is an interesting topic/use-case.
We have plans for handling flash control in libcamera, but we haven't got there yet or got any specific devices with a flash to develop this on.
In libcamera world, we would expect to set a control on the Request (that holds the buffer that will be captured at that point in time) to enable the flash so that it gets synchronized by the pipeline handler internally in libcamera.
Then user space should be able to say "At this frame I want the flash to be on" (where maybe things get more complicated like, the flash needs to be on the frame before or something with a delay).
It will be /very/ difficult to match the flash timing precisely for when the capture occurs from when a request is queued otherwise, as it may have variable queue lengths or depths..

Thank you both for chiming in!
I was able to achieve this before in raspistill - but the other way around. I started the capture of a frame with a slow shutter and then kind of timed the flash, based on min and  max delays. So synch wasn't really necessary.
I haven't read through the documentation yet, but my rough idea would be:

to synch the clocks of the flash trigger and the camera via PTP and then
pass an epoch time (or an abbreviation thereof) to the camera app (and the flash trigger with a delay) and
simply halt capture/flash until the time is met with nanosleep or some other monotonic timer.

Do you think this is doable?
I am probably thinking too easy here.

Is your flash LED based? Do you intend on keeping it on for the duration of the exposure, or just strobe it for part of the exposure?

Sadly no.
Sorry, English isn't my first language... I hope the following makes sense:
I would like to build a device that captures 8 images with 8 different lighting conditions in order to create "normal maps from multi-angle lighting"
The main problem is that I am trying to achieve this for animated objects (faces, hands, hairless animals, whatever fits in the booth)

To be clear:
The series of rapid images would be captured with a video application. Preferably RAW, bug mjpg should do.

libcamera can already let you register an event on the completion of a raw buffer, so you could get a pretty close approximation to events when the frame completes, but it might be racy for timing on the start of the next frame. Perhaps it could be calibrated to identify any delays incurred to some level, but it may not be fully real-time.
It could be used as a mechainsm to synchronise when to change your lighting though. Otherwise I wonder if it would be interesting or useful to bring the startFrame event all the way up to the Camera so applications could know when a frame starts. Again, a bit racy, but it might let you prepare something for the 'next' frame ... and would need plenty of investigation and measurements ... ?

Alright. That seems like a framework within which to investigate. I will write my version of libccamera-still, libcamera-vid and bug you with the results.
Thank you so far!
Always a pleasure to talk to you guys.

Sorry, I had a quick thought:
What is providing the base clock for hardware and software in libcamera? Does libcamera adjust itself to the sensor or deliver a start  (...) to the camera, or is it just asking for the next frame that can be delivered by the device?

The sensor should be configured to the desired frame rate, and that will control the pacing and clocking. It's the responsibility of the application to queue requests with buffers fast enough to be able to capture into a buffer each time the sensor completes through the unicam. If the application is too slow, then a frame would get dropped.
Generally, it would be expected that you would have multiple requests prepared, and when once completes, you manage the data from that as quickly as possible (ideally in a separate thread) and then return the buffers back to be refilled.
If you need specific help designing your application around libcamera, please find us on the libcamera-devel mailinglist or IRC channels (this github really relates directly to the Raspberry Pi applications themselves)

Trying to achieve precise timing from applications is likely to be very error prone and painful (but it is possible).  Even though you can control framing timing (through framerate control), you also have to account for things that are entirely out of the application scope, e.g. pipeline depth in the kernel/libcamera implementation.
For me the simplest approach would be to rely on a hardware sync pulse generated by the camera itself to trigger an external flash.  The imx477 does have support for such a strobe signal that can be connected externally to a flash device.  That way, you do not have to rely on timing information at all.

Thank you, naushir.
While I agree with your approach as a possibility for a general cam-flash implementation, it wouldn't work for my use case.
Im using arducams IMX519 and am not sure if they have a synch pin.
I would later also like to try to synch multiple cameras via ptp (ppl). So the only option I am seeing is to synch the all clocks and frame rates.


Merge prTesting_201904101038 branch to master branch

Docs Build status updates of commit e941599:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Added matrice 100 vehicle.

@dagar @julianoes @LorenzMeier
Any mac users that can test this? It uses the jinja2 python modules, so I want to make sure you guys have it and it works on your system.
make posix_sitl_default gazebo_matrice_100

I barely use my mac, so it should be close to a clean install.
I had to pip install jinja2 rospkg to get your branch working.

@dagar Thanks for testing!
Is everyone ok with those deps, we could just add to the installation instructions. The rospkg dep we could get rid of if we want. It is so that the jinja template for the gazebo model can call rospkg.find_packge() if you want to pull in models from other ros descriptions.

So looking at this what will happen is that anyone having a working setup will have SITL stop working on him, right? What is the value that Jinja is adding? Less boilerplate?

Yes, jinja reduces boilerplate. It will break sitl for users who don't have those packages, but will give a  python import error that should be fairly straightforward.  Right now all of our sitl gazebo files are copy and paste hacks of the iris from rotors, this isn't maintainable. I assessed options such as erb, xacro, but I found Jinja to be the most powerful and easy to use.

Do we know if one of there generators is already widely used?

Currently erb is the most widely used in the gazebo_models repo here:
https://bitbucket.org/osrf/gazebo_models
erb doesn't seem to have a good way of creating a macro though, you can see
the equivalent of a macro here:
https://bitbucket.org/osrf/gazebo_models/src/ae948cd0b5518a394ce12825fd36e7560ba56867/submarine_sinking/model.sdf.erb?at=default&fileviewer=file-view-default#model.sdf.erb-57
Xacro is used by some ros packages such as rotors, but doesn't have for
loops.
jinja hasn't been used to generate sdf models before, but is what I used
since it has the most capabilities and has a large user base similar to erb.
Here is a comparison of erb and jinja:
http://vschart.com/compare/jinja/vs/erb-template-system
On Tue, Aug 30, 2016 at 6:08 PM, Lorenz Meier<EMAIL_ADDRESS>wrote:

Do we know if one of there generators is already widely used?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PX4/Firmware/pull/5404#issuecomment-243597185, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAc6rLPmsC6kS9GIZmddQo_j1RxI9EsDks5qlKnegaJpZM4Ju9dB
.

Can one of the admins verify this patch?

Jenkins add to whitelist.

I think this warrants thinking about in the future, as the current gazebo models are a maintenance nightmare, but we need some more input from the community on which template system to use.

I'll close this for now and leave the branch up.


Using the Same Address Twice in the Multiple Payment Screen Replaces Previous Information

This is no longer relevant post-refactor.


get_iplayer: 2.94 -> 2.97

Motivation for this change
New version. Also add metadata and add dependence on atomicparsley (recommended by upstream and used by default if available).
Removed VLC dependency and patchPhase. VLC is no longer used as of 2.95; the patchPhase formerly fixed get_iplayer's updater script, which was removed.
Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Works with Bake Off :cookie: :cake: :custard: :+1:


P4 [NEARCON] Give ability for users to block/hide another account

Disclaimer! This might fall into the Customized Content Filtering Work and need to be discussed as a team to understand whether they should be developed together. cc @gabehamilton just as a FYI
Describe
Give users the ability to block or hide any account anywhere on near.org (e.g. on the feed, account profile etc…)
Details
Both "blocking" and "hiding" are tools that allow users to control their interactions and what content they see. However, they serve different purposes and have distinct implications:

Blocking:

a. Purpose: To prevent specific users from interacting with you or seeing your content.
b. Effects:
i. The blocked user typically cannot view your profile or posts.
ii. You and the blocked user won't see each other's comments or posts on mutual friends' or public pages.
iii. The blocked user is usually unaware they've been blocked unless they try to visit your profile or interact with you.
iv. Blocking often unfollows or removes the blocked user from your followers list and vice versa.

Hiding:
a. Purpose: To limit or filter the content you see without severing the connection with the user.
b. Effects:
       i. You can "hide" a user from your feed, which means you remain friends but won’t see their updates anymore.

       ii. You can mute a user's stories or posts without unfollowing them.

       iii. The hidden or muted user is not notified and remains unaware.

       iiii. You can still visit the user's profile and see their content if you choose to.

       iv. The user can still see your content and interact with you.

Figma/Design
Add icons next to “Flag a user“ icon and give ability for users to chose between block and hide (potentially give a quick explanation of what these options would do)

Can we separate Block and Hide into different issues? Hide is being implemented here and here  .
Block can use the same functionality from the perspective of the blocking user, implementing the other side (blocked user can't see blocking user's content) will be complex.

@gabehamilton absolutely. I will amend this task to focus only on block action. Hope that helps


Tune trajectory following and make generation more user-friendly

This PR changes a lot of little settings to make the robot correctly follow trajectories in the simulator. (should be good IRL too. This will be tested on MiniBot after merging with #63 )

nice

:ok_hand:

Nice


Configure eval to give 'loss/eval' that is analgous to 'loss/train'

When I run with an eval set, I only get metrics/eval.
I am wondering if there is a way to configure llm-foundry via yaml to also compute loss/eval in the same way that it computes loss/train.

Hi @tginart yes we can definitely add support for that.
Basically I think we just need to copy this code over to eval.py and test it out.
If you'd like to open a PR I'd be happy to review it! Otherwise I'll add it to my list and get to it soon.

Hi @abhi-mosaic.
I am referring to the metrics from the composer Evaluator in the train.py (https://github.com/mosaicml/llm-foundry/blob/3c66b1c5df668e0684548fef30d00669df64636c/scripts/train/train.py#LL158C1-L162C79)
So not sure if we are talking about the same thing?
I'm still running through train.py not eval.py.

Hi @tginart, is this what you're looking for? ^
The eval metrics such as metrics/eval/LanguageCrossEntropyLoss are computed every eval_interval, which I think is defaulted to 500ba. You could certainly reduce this interval but keep in mind that eval metrics are an average over an entire eval dataloader, as opposed to the loss/train value which is the live train loss of a single batch. So it would slow down training a lot.
Re. the WandB chart naming, I think you could change the line you linked with label='eval' to something like label='eval/loss', but I believe Composer always suffixes the torchmetric name at the end, so you would end up with a chart titlemetrics/eval/loss/LanguageCrossEntropyLoss

Hi @abhi-mosaic, thank you. That is what I am looking for but I was wondering if it was possible to compute loss/train for every example in the eval set & then get an avg. I would only want to do this at eval time. It seems like the way to do this is to actually extend a metric for composer and make sure it gets passed to herehttps://github.com/mosaicml/llm-foundry/blob/8f1593524af2b611091dc1f86ed2d2135adaec9f/llmfoundry/models/hf/hf_causal_lm.py#LL73C26-L73C26 ?

Hi @tginart, yes. If you want to compute a custom metric (e.g. one that matches the loss), you can create the metric and pass it along in the place you described. I know you asked this question a while ago, but has it been resolved?

Closing due to inactivity. Please feel free to reopen/or open a new issue if this is not resolved.


⚠ Bofrost.de has degraded performance

In ee0db6e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1982 ms

Resolved: Bofrost.de performance has improved in 31adc86.


Spelling changes, new races and fixed the combat text

Too early for new content additions; and I am not sure if I will accept any PRs to that end (in this case playable races). Good stuff for your own mud!
Heads up on typos appreciated.


[stable/datadog] Fix typo and update docs

@hkaj @irabinovitch @CharlyF @mfpierre @clamoriniere @xlucas @L3n41c @celenechang
What this PR does / why we need it:
This PR fixes a typo in the container-agent for the statsd port. I currently cannot override the statsd port used by the DataDog-Agent as the environment variable is incorrect.
Which issue this PR fixes

fixes #21384

Special notes for your reviewer:
Link to DataDog-Agent StatsD Port environment variable: https://github.com/helm/charts/blob/master/stable/datadog/templates/container-agent.yaml#L29
I tested the change by overriding the yaml to fix the typo and the metrics appeared in DataDog as expected.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @xornivore

/ok-to-test

hi @johnkost
thank you for fixing this issue. Could you please rebase your pr, and I will be happy to merge it.
/assign clamoriniere

hi @johnkost
something weird happened when you rebased you branch. Your PR now include several commit from other branches.

Hmm...let me see if I can fix it. If not, I'll open a new PR

/lgtm


Fix duplicate "META-INF/services/org.mirah.macros.ExtensionsProvider" file in "mirahc.jar".

The file was added both here https://github.com/mirah/mirah/blob/63a6b628c2072031e8228570cb051be59e926ef8/Rakefile#L333 and here https://github.com/mirah/mirah/blob/63a6b628c2072031e8228570cb051be59e926ef8/Rakefile#L346 .
Because of this file duplication (which is possible in .jar files), unzip called by the build system had been asking
replace dist/classes/META-INF/services/org.mirah.macros.ExtensionsProvider? [y]es, [n]o, [A]ll, [N]one, [r]ename:

and thus the build did not terminate without user interaction (at least when a terminal for interactive user queries was available).

Thanks!
On Dec 6, 2016 2:11 PM, "Felix von Ferey"<EMAIL_ADDRESS>wrote:
Merged #441 https://github.com/mirah/mirah/pull/441.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mirah/mirah/pull/441#event-884388706, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAAc0uP7DIUklq2fvkCShNxjZ8W9DZMcks5rFd2NgaJpZM4J0xL8
.


Set up build/lint infrastructure

[x] Keep current lint file, modify to work in new directory structure
[x] Remove gulpfile and related packages
[ ] Set up webpack config
[ ] Modify CI config
[ ] Set up SASS/PostCSS linting

We may want to add this on our CI end. https://dependencyci.com/ Just as an extra layer to handle any updates/community additions going forward.

It looks like Greenkeeper seems to be the most powerful and recommended dep mgmt tool for JS projects, so I think I'm going to investigate using it.
Furthermore, we should probably decide on commit message guidelines as well. Angular has widely adopted commit message guidelines which I think would be a good choice for us. We can use validate-commit-msg to enforce it, and recommend tools like commitizen to make it super easy for contributors. This will help us with things like changelogs, for example.
Furthermore if we want to integrate tools like semantic-release (see #4565) in the future, having these conventions in place makes it really easy.

+1 to Greenkeeper. David-dm is useful, but having PRs opened automatically sounds useful, and the fact that it's the recommended tool gives us a bit more confidence.
+1 to commit messages, particularly if we can have a good error message to teach folks committing for the first time.
semantic-release bears some investigation, but I'm concerned how much work it would take on for us. In a project with our current size, we probably want to keep a fair amount of control over release notes, versioning, release pushing, etc. Packaging and generating changelogs (which we'd then copy into the release notes) sounds like something we could definitely add some automation to, though.

Greenkeeper ticket: #4572


visualisation review/refactor

fixes #33

Hello @richardjgowers! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file src/konnektor/visualization/visualization.py:

Line 8:80: E501 line too long (80 > 79 characters)
Line 54:80: E501 line too long (83 > 79 characters)

In the file src/konnektor/visualization/widget.py:

Line 18:80: E501 line too long (80 > 79 characters)
Line 70:80: E501 line too long (112 > 79 characters)
Line 195:80: E501 line too long (110 > 79 characters)


Documentation Updates and Relevant Links added

Updated readme.md, contrubuting.md, and releases.md to reflect CheckMates package installation, quickstart, and useful links

No linked issues found. Please add the corresponding issues in the pull request description.  Use GitHub automation to close the issue when a PR is merged


VISUALS: Vet & Finalize Default Icons [2]

RHUAP-544
Verification Conditions:

Post list so devs can reach it
Resolve any showstopper feedback
Refine icons as necessary

There is a new story to continue this work.