[C++] Sporadic DCHECK failure in arrow-dataset-scanner-test (2)

Just got this sporadic assertion error:

[ RUN      ] TestScannerThreading/TestScanner.CountRowsWithMetadata/3Threaded2d16b1024r
/home/antoine/arrow/dev/cpp/src/arrow/util/future.cc:331:  Check failed: !IsFutureFinished(state_) Future already marked finished

Stack trace:

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff4a24859 in __GI_abort () at abort.c:79
#2  0x00007ffff56f635c in arrow::util::CerrLog::~CerrLog (this=0x55555586b330, __in_chrg=<optimized out>) at /home/antoine/arrow/dev/cpp/src/arrow/util/logging.cc:72
#3  0x00007ffff56f6378 in arrow::util::CerrLog::~CerrLog (this=0x55555586b330, __in_chrg=<optimized out>) at /home/antoine/arrow/dev/cpp/src/arrow/util/logging.cc:74
#4  0x00007ffff56f66dd in arrow::util::ArrowLog::~ArrowLog (this=0x7fffebffd970, __in_chrg=<optimized out>) at /home/antoine/arrow/dev/cpp/src/arrow/util/logging.cc:250
#5  0x00007ffff56c7af1 in arrow::ConcreteFutureImpl::DoMarkFinishedOrFailed (this=0x55555585e910, state=arrow::FutureState::SUCCESS)
    at /home/antoine/arrow/dev/cpp/src/arrow/util/future.cc:331
#6  0x00007ffff56c70e7 in arrow::ConcreteFutureImpl::DoMarkFinished (this=0x55555585e910) at /home/antoine/arrow/dev/cpp/src/arrow/util/future.cc:232
#7  0x00007ffff56c8288 in arrow::FutureImpl::MarkFinished (this=0x55555585e910) at /home/antoine/arrow/dev/cpp/src/arrow/util/future.cc:409
#8  0x00007ffff564e4f7 in arrow::Future<arrow::internal::Empty>::DoMarkFinished (this=0x555555896bf0, res=...) at /home/antoine/arrow/dev/cpp/src/arrow/util/future.h:725
#9  0x00007ffff564c198 in arrow::Future<arrow::internal::Empty>::MarkFinished<arrow::internal::Empty, void> (this=0x555555896bf0, s=...)
    at /home/antoine/arrow/dev/cpp/src/arrow/util/future.h:476
#10 0x00007ffff599d045 in arrow::compute::(anonymous namespace)::ScalarAggregateNode::Finish (this=0x555555896b60)
    at /home/antoine/arrow/dev/cpp/src/arrow/compute/exec/aggregate_node.cc:255
#11 0x00007ffff599c422 in arrow::compute::(anonymous namespace)::ScalarAggregateNode::InputReceived (this=0x555555896b60, input=0x5555559077c0, batch=...)
    at /home/antoine/arrow/dev/cpp/src/arrow/compute/exec/aggregate_node.cc:176
#12 0x00007ffff59c8567 in operator() (__closure=0x7fffebffdd40) at /home/antoine/arrow/dev/cpp/src/arrow/compute/exec/exec_plan.cc:531
#13 0x00007ffff59c873a in arrow::compute::MapNode::SubmitTask(std::function<arrow::Result<arrow::compute::ExecBatch> (arrow::compute::ExecBatch)>, arrow::compute::ExecBatch) (this=0x5555559077c0, map_fn=..., batch=...) at /home/antoine/arrow/dev/cpp/src/arrow/compute/exec/exec_plan.cc:535
#14 0x00007ffff5a97524 in arrow::compute::(anonymous namespace)::ProjectNode::InputReceived (this=0x5555559077c0, input=0x555555913150, batch=...)
    at /home/antoine/arrow/dev/cpp/src/arrow/compute/exec/project_node.cc:111
#15 0x00007ffff5aa3da2 in operator() (__closure=0x7fffa000aba0) at /home/antoine/arrow/dev/cpp/src/arrow/compute/exec/source_node.cc:119
#16 0x00007ffff5aaa56f in std::__invoke_impl<arrow::Status, arrow::compute::(anonymous namespace)::SourceNode::StartProducing()::<lambda()>::<lambda(arrow::util::optional<arrow::compute::ExecBatch>&)>::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...)
    at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/bits/invoke.h:60
#17 0x00007ffff5aa943c in std::__invoke_r<arrow::Status, arrow::compute::(anonymous namespace)::SourceNode::StartProducing()::<lambda()>::<lambda(arrow::util::optional<arrow::compute::ExecBatch>&)>::<lambda()>&>(struct {...} &) (__fn=...) at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/bits/invoke.h:115
#18 0x00007ffff5aa79ca in std::_Function_handler<arrow::Status(), arrow::compute::(anonymous namespace)::SourceNode::StartProducing()::<lambda()>::<lambda(arrow::util::optional<arrow::compute::ExecBatch>&)>::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...)
    at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/bits/std_function.h:292
#19 0x00007ffff59ca6b5 in std::function<arrow::Status ()>::operator()() const (this=0x55555593e700)
    at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/bits/std_function.h:622
#20 0x00007ffff59df33b in arrow::detail::ContinueFuture::operator()<std::function<arrow::Status ()>&, , arrow::Status, arrow::Future<arrow::internal::Empty> >(arrow::Future<arrow::internal::Empty>, std::function<arrow::Status ()>&) const (this=0x55555593e6f8, next=..., f=...) at /home/antoine/arrow/dev/cpp/src/arrow/util/future.h:150
#21 0x00007ffff59df19f in std::__invoke_impl<void, arrow::detail::ContinueFuture&, arrow::Future<arrow::internal::Empty>&, std::function<arrow::Status ()>&>(std::__invoke_other, arrow::detail::ContinueFuture&, arrow::Future<arrow::internal::Empty>&, std::function<arrow::Status ()>&) (__f=...)
    at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/bits/invoke.h:60
#22 0x00007ffff59def33 in std::__invoke<arrow::detail::ContinueFuture&, arrow::Future<arrow::internal::Empty>&, std::function<arrow::Status ()>&>(arrow::detail::ContinueFuture&, arrow::Future<arrow::internal::Empty>&, std::function<arrow::Status ()>&) (__fn=...)
    at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/bits/invoke.h:95
#23 0x00007ffff59deb86 in std::_Bind<arrow::detail::ContinueFuture (arrow::Future<arrow::internal::Empty>, std::function<arrow::Status ()>)>::__call<void, , 0ul, 1ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) (this=0x55555593e6f8, __args=...) at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/functional:416
#24 0x00007ffff59de809 in std::_Bind<arrow::detail::ContinueFuture (arrow::Future<arrow::internal::Empty>, std::function<arrow::Status ()>)>::operator()<, void>() (
    this=0x55555593e6f8) at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/functional:499
#25 0x00007ffff59de650 in arrow::internal::FnOnce<void ()>::FnImpl<std::_Bind<arrow::detail::ContinueFuture (arrow::Future<arrow::internal::Empty>, std::function<arrow::Status ()>)> >::invoke() (this=0x55555593e6f0) at /home/antoine/arrow/dev/cpp/src/arrow/util/functional.h:152
#26 0x00007ffff5714b51 in arrow::internal::FnOnce<void ()>::operator()() && (this=0x7fffebffe1d0) at /home/antoine/arrow/dev/cpp/src/arrow/util/functional.h:140
#27 0x00007ffff5712bef in arrow::internal::WorkerLoop (state=std::shared_ptr<struct arrow::internal::ThreadPool::State> (use count 49, weak count 0) = {...}, it=Traceback (most recent call last):
  File "/usr/share/gcc/python/libstdcxx/v6/printers.py", line 339, in to_string
    node = self.val['_M_node'].cast(self.nodetype.pointer()).dereference()
AttributeError: 'NoneType' object has no attribute 'pointer'

) at /home/antoine/arrow/dev/cpp/src/arrow/util/thread_pool.cc:247
#28 0x00007ffff5713b24 in operator() (__closure=0x7fffec004f58) at /home/antoine/arrow/dev/cpp/src/arrow/util/thread_pool.cc:418
#29 0x00007ffff571af82 in std::__invoke_impl<void, arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::<lambda()> >(std::__invoke_other, struct {...} &&) (__f=...)
    at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/bits/invoke.h:60
#30 0x00007ffff571af37 in std::__invoke<arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::<lambda()> >(struct {...} &&) (__fn=...)
    at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/bits/invoke.h:95
#31 0x00007ffff571aee4 in std::thread::_Invoker<std::tuple<arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::<lambda()> > >::_M_invoke<0>(std::_Index_tuple<0>) (
    this=0x7fffec004f58) at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/thread:264
#32 0x00007ffff571ada4 in std::thread::_Invoker<std::tuple<arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::<lambda()> > >::operator()(void) (this=0x7fffec004f58)
    at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/thread:271
#33 0x00007ffff571ad08 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::<lambda()> > > >::_M_run(void)
    (this=0x7fffec004f50) at /home/antoine/miniconda3/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/10.3.0/thread:215
#34 0x00007ffff4d0baa3 in std::execute_native_thread_routine (__p=<optimized out>) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82
#35 0x00007ffff42fc609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#36 0x00007ffff4b21133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Other threads are idling.
Reporter: Antoine Pitrou / @pitrou
Note: This issue was originally created as ARROW-17128. Please see the migration documentation for further details.

I have not seen this recently, do you think this is still an issue @pitrou ? In any case it is not a blocker :)

Well, hard crashes can be considered blockers, but in this case the issue is old and some sizable changes might have been committed since then. @westonpace  What do you think?

Yep, everything here has changed considerably.  I don't remember fixing this exact error but a lot of this handling changed when we moved to the async scheduler for tasks.  On the other hand, I don't recall seeing any CI crashes on this test in the past month or two.
This particular code path (marking a node finished) will soon be going away (but not before the release).
I think we should close this as "likely fixed"

Ok, let's close then!


Add Dockerize to test image

resolves https://github.com/fishtown-analytics/dbt-spark/issues/63
Description
Hi there, would you consider adding dockerize to the main test image to avoid having to download it at every integration test on dbt-spark ?
See Circleci in dbt-spark: https://github.com/fishtown-analytics/dbt-spark/blob/master/.circleci/config.yml#L40
See what the CircleCi can be changed to, if this change was implemented: https://github.com/fishtown-analytics/dbt-spark/pull/64
Checklist

[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[ ] ~This PR includes tests, or tests are not required/relevant for this PR~
[ ] ~I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.~

@cla-bot check

great, thanks! I understand the concern about adding plugin-specific package, but hopefully dockerize finds more use-cases as it's a tool to wait for services to be ready, and it's generally useful with integration testing
Could even be of some use here?

The postgres integration tests just failed, I'm seeing:
>           raise Exception('server never appeared!')
E           Exception: server never appeared!

is it because the Postgres database wasn't ready in time?
If that's the case I could change the circleci in that same PR to wait for the different services to be ready using dockerize

The postgres integration tests just failed, I'm seeing:

Those tests are just flaky, as a number of threads contest at the same time for random ports, and sometimes they collide. I re-ran them and it all looks good.


Updates to newer releases

Updates to Jasperserver 7.2.0 and Tomcat 9

I quickly ran it up locally and the new version seems to work fine.
Thanks for your contribution. I will update the README, docker-compose and push a new tag.


apply_impulse resets rotation

Godot version:

V3.0 beta 1 and 2
OS/device including version:

Windows 10
Issue description:

Using rotation and apply_impulse no longer works. I rotated a ship then used apply_impulse to move it, however the rotation snapped back to 0. This used to work in V2.1.4
Steps to reproduce:
See here: https://godotengine.org/qa/21673/v3-0-beta2-how-to-make-apply_impulse-work-with-rotation
Minimal reproduction project:

test3.zip

[x] I searched the existing GitHub issues for potential duplicates.

Despite from the fact that this could be a bug I wouldn't use rotate() on a RigidBody like that (as well as not setting the position by hand).
In your implementation you can use the angular_velocity parameter to get the same result. Like so:
extends RigidBody2D

const ROTATE_SPEED = 2
const ACCELERATION = 5

func rotate_ship(direction):
	angular_velocity = direction * ROTATE_SPEED

func _physics_process(delta):
	if Input.is_action_pressed("ui_left"):
		rotate_ship(-1)
	elif Input.is_action_pressed("ui_right"):
		rotate_ship(1)
	else:
		rotate_ship(0)

	if Input.is_action_pressed("ui_up"):
		apply_impulse(Vector2(), Vector2(0, -ACCELERATION).rotated(rotation))

Adjusted your project accordingly:
issue_15001.zip

That works!

I have the opposite problem and am not sure it is a bug, but thought I would ask here (I have asked elsewhere already). I have a ridigbody2d and am applying an impulse to it. At some point in my game, I want to reset that rigidbody2d to its initial, starting position. I get the position fine, but I cannot reset its rotation. Any ideas on that?

Hey @juddrgledhill, I want to reproduce this behavior. Would you mind providing a minimal example project? Or could you at least describe how you reset the position and how you tried to reset the rotation?

Hi @pwab I will try and do just that.
I fear that it is just a newb issue, but I have been trying for a while now... I was able to make a correction last night by saving the transform at start and setting it in the _integrate_forces call (on the body state object), but I should be able to set the rotation directly in that call, and not have to set the entire transform (that is why I think it might be a newb issue - because maybe that is how you "are supposed to" do it...?).

So we are talking about a RigidBody in 3d space? (Just to keep it clear because the question was talking about RigidBody2D)
If you are resetting position and rotation why not using the transform? I was able to reset both without the custom_integrator. (I stumbled about a problem with the custom_integrator which I want to discuss in another issue [the referenced one])
It shouldn't be done like that but you can use this approach:
var body_state

func _ready():
    body_state = $body.transform

func reset_body():
    $body.transform = body_state

Sample project:
issue15001.zip
Just keep in mind that it is better to use the custom_integrator. If the referenced issue is solved I'll try to come back to your problem and solve it "the right way".

The bug with the custom_integrator seems to be fixed in current master. So you could use an alpha version, compile yourself or wait for the 3.1 release (if the fix isn't ported to the next stable release).
In the meantime your best bet would be to use the approach without utilizing the _integrate_forces()-function.

Hi @pwab:
A rigidbody2d, not 3d.
I settled on the following approach, which is where you are...
func _remember_starting_state():
    _initial_transform = self.transform

Then in the middle, something like this happens in the _integrate_forces - an impulse gets applied when you bounce off of something:
func _physics_bounce(body_state):
    body_state.set_linear_velocity(self.linear_velocity * -1)
    self.apply_impulse(Vector2(10, 0), -(self.linear_velocity))

Then I timeout after bouncing around a little and do this:
func _reset_to_start(body_state): #reset everything to the beginning state
	body_state.set_transform(_initial_transform)

The issue I saw intially was that I could not address individual aspects of the transform. For instance, if I saved the global_rotation and then set the global_rotation, nothing would happen.
func _reset_to_start(body_state): #reset everything to the beginning state
	self.global_rotation = _initial_global_rotation

Is this a bug, or just user error? I thought I should be able to apply the rotation directly, but nothing seemed to happen.
Thanks.

Change transform (translation / rotation) of a rigid body is not a wanted behaviour. You have to control position and rotation of rigid body using forces / torque / velocity / impulse.


Fix secret-git-user username

Apparently, porch/configsync can't connect to gitea services if it's not using nephio as username. This needs further investigation.
/cc @johnbelamaric

it's probably just the way we have set up their configs
/approve
/lgtm


Segfault while building YOLO on Jetson TX2

Hey,
I tried to compile a tiny yolov3 for execution on an NVidia Jetson TX2 using CUDA.
The TVM instance is compiled for CUDA and LLVM.
The conversion of the yolo model runs without problems, but when I try to build the model on the Jetson I get the following error:
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

The compilation is done using the following code. The rest of the code bases on the yolo TVM tutorial.
target = tvm.target.cuda()
data = np.empty([batch_size, net.c, net.h, net.w], dtype)
shape = {'data': data.shape}
print("Compiling the model...")
with nnvm.compiler.build_config(opt_level=2):
    graph, lib, params = nnvm.compiler.build(mod, target=target, target_host='llvm -target=aarch64-linux-gnu')

Thanks for reporting the problem, the community uses the discuss forum for troubleshooting please open a new troubleshooting thread on https://discuss.tvm.ai


Windows: Works once, editor hangs second time

This appears to be because the plugin is (implicitly?) creating a thread, and Mono waits for this thread to exit before starting the next game session.
https://fogbugz.unity3d.com/default.asp?1065590_p5vr9ftohapf1apf
https://mbientlab.com/community/discussion/2601/unity-works-perfectly-with-metawear-sensor-on-first-run-hangs-on-2nd-run/p2
I'm not entirely clear how or where this thread is being created. Somewhere in the WinRT shim logic? Something about callbacks?

Seems to be working correctly as of now. Will treat any odd behaviour from here as a separate issue.


How to control HDMI drive strength?

I am facing issues with HDMI port during EMI test.
In the NXP Community, it mention the HDMI firmware can be changed.
My Question

The NXP only support the YOCTO project, so something is different. I can't find the file "firmware-imx-8.12.bin", but I see the file /usr/share/imx-firmware/imx8m/signed_hdmi_imx8m.bin.  Does these two file mean the same thing?
Where can find source code to build and change the firmware setting?
Does USB drive strength can be changed like HDMI?

Are you looking for https://coral.googlesource.com/imx-firmware/+/refs/heads/master/imx8m/signed_hdmi_imx8m.bin ?

I can find it on my Coral SOM.
But I want to change the setting about HDMI drive strength.
How can I do?


Zoom to coordinates of click

Problem
I don't understand how to properly zoom to a position of a click, .center(center) on projection doesn't do anything
Code
import React, { Fragment, useState } from 'react'
import { ComposableMap, ZoomableGroup, Geographies, Geography } from 'react-simple-maps'
import { geoConicEqualArea } from 'd3-geo'
import map from '../public/Russia.json'

const VectorMap = ({ onClick, width = 990, height = 505, onBlur }) => {
  const [zoom, setZoom] = useState(1)
  const [center, setCenter] = useState([100, 100])

  // Zoom event handlers
  const onWheel = e => (e.deltaY > 0 ? setZoom(prev => prev - 0.3) : setZoom(prev => prev + 0.3))

  return (
    <Fragment>
      <ComposableMap
        projection={() =>
          geoConicEqualArea()
            .scale(690)
           // projection doesn't change anyway
            .center(center)
            .parallels([40, 80])
            .rotate([265])
            .translate([130, 5])
        }
        {...{ width, height }}
        style={{
          width: '85vw',
          height: '100vh'
        }}
      >
        <ZoomableGroup {...{ zoom }}>
          <Geographies geography={map}>
            {(geographies, projection) =>
              geographies.map((geography, i) => (
                <Geography
                  key={i}
                  {...{ geography, onWheel, projection, onBlur }}
                  onClick={(obj, e) => {
                    onClick(obj)
                    setCenter(e.clientX, e.clientY)
                    // setZoom(1.5)
                  }}
                  style={{
                    default: {
                      fill: '#ECEFF1',
                      stroke: '#607D8B',
                      strokeWidth: 0.75,
                      outline: 'none'
                    },
                    hover: {
                      fill: '#607D8B',
                      stroke: '#607D8B',
                      strokeWidth: 0.75,
                      outline: 'none'
                    },
                    pressed: {
                      fill: '#FF5722',
                      stroke: '#607D8B',
                      strokeWidth: 0.75,
                      outline: 'none'
                    }
                  }}
                />
              ))
            }
          </Geographies>
        </ZoomableGroup>
      </ComposableMap>
      <button className="ZoomBtn" onClick={() => setZoom(prev => prev + 0.1)}>
        +
      </button>
      <button className="ZoomBtn" onClick={() => setZoom(prev => prev - 0.1)}>
        -
      </button>
    </Fragment>
  )
}

export default VectorMap

I also noticed there's a center property for ZoomableGroup but it also doesn't seem to be working properly. It zooms to one place and map becomes no draggable anymore.
Here are the warnings in console:
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: Geographies, ZoomableGroup dll_d6a88dbe3071bd165157.js:12608:15
Source map error: Error: Invalid URL: webpack://[name]_[chunkhash]/webpack/bootstrap
Resource URL: http://localhost/_next/static/development/dll/dll_d6a88dbe3071bd165157.js?ts=1577625154482
Source Map URL: dll_d6a88dbe3071bd165157.js.map

Unexpected value
           translate(
             NaN
             NaN
           )
           scale(1)
           translate(-495 -250)
          parsing transform attribute.

Additional info

React version: 16.12
react-simple-maps version: 0.12.1

Help would be appreciated.

Noting here that a very similar error happens on the ZoomableGroup demo when you mouse-zoom and then attempt to use the UI controls to zoom.

Potential duplicate of #163

Potential duplicate of #163

:thinking: most probably but better keep it because it is more a question than a bug report


保存文件之后，鼠标的光标会跑到文件的最底部去了。

VSCode Version: Code 1.18.0 (dcee2202709a4f223185514b9275aa4229841aa7, 2017-11-08T21:22:49.932Z)
OS Version: Windows_NT x64 6.1.7601
Extensions:

Extension
Author (truncated)
Version

html-snippets
abu
0.1.0

githistory
don
0.2.3

vscode-html-css
ecm
0.1.8

code-runner
for
0.8.3

beautify
Hoo
1.1.1

Go
luk
0.6.67

Angular-BeastCode
Mik
5.0.14

python
ms-
0.8.0

cpptools
ms-
0.14.2

open-html-in-browser
pea
0.0.2

vscode-docker
Pet
0.0.21

vscode-icons
rob
7.17.0

vim
vsc
0.10.2

Steps to Reproduce:

Reproduces without extensions: Yes/No

English please.

I met the similar situation. He asked that when the file is saved, the cursor will be the bottom of the file. However, in my case, the cursor will go to top of the file, which is quite annoying. I did not modify any configuration. But yesterday, it happened after I update the vs code to lastest version.( the blue logo)

Yes，my vscode has similar situation. Save file and cursor will go to bottom of the file.


Adopted Facebook-style Arrow Key + Backspace Behavior for Inserted Texts

Users can now move through inserted text using the arrow keys. Adding text to
inserted texts invalidates the inserted text, and pressing backspace inside an
inserted text deletes it altogether. Pre-existing inserted texts must now be
initialized with a data-atwho-chosen-value attribute whose value must equal
the contents of the inserted text (this should be later automated).

Goodness... this is super dense. Good job figuring this out.


[Feature Request] Add toggle for returning to application after saving link

Current Linkdy behavior:

Select URL
Select "share to..."
Share to Linkdy
Linkdy opens with URL field populated with shared value
Validate URL
(optional) Add other information to record (e.g., tags).
Save the record in Linkdy
Linkdy displays list of saved records.

Desired option:
Implement a toggle setting (or make the behavior default if it's easier) so that after step (7), Linkdy returns you to the application from which you shared the URL.
Rationale:
I typically save links for later reference. After saving a link, I want to return to the application I was using when I shared the link. It's rare that I would want the device attention to to remain on the bookmarking app (Linkdy/Linkding). Returning to the application requires additional steps to manually switch back.

I think that's not possible because I cannot control the process of switching from one app to another app.

It may not be that Linkdy actively triggers a shift to the previous application; I used Shaarli previously and it's behavior for a shared link is to open a screen to add information for the record and then save it. Once you hit the "send" icon, Shaarli closes and you're back at the application you shared from.
This is their repo, maybe the code for the app will be more clear about how they do the transition (I'm not a programmer so I'm just describing the app behavior from the perspective of the end user UI and may not be correctly stating the technical details of getting an app to the desired behavior): https://github.com/shaarli/Shaarli

But that's a web application, not a mobile app created with Flutter...

Sorry, here's the Android app I'm using for it (Shaarlier): https://github.com/dimtion/Shaarlier

I have been doing a research and I don't find how to do it with Flutter, so unfortunately this cannot be implemented.


ClusterAddonsConfigDnsCacheConfig description is wrong

File: docs/reference/pkg/gcp/container/cluster.md
Expected:
description of NodeLocal DNS Cache controller
Actual
description of PodSecurityPolicy

I see https://github.com/pulumi/docs/issues/3895 was opened just now as well - possibly based on the same feedback in another channel.  That issue has a little more detail and screenshots, and captures the general problems - so I'll close this one as a duplicate and track improving this page in https://github.com/pulumi/docs/issues/3895.


Import user mgt UI module

$subject and hide the ui by default.
Issue - https://github.com/wso2/product-is/issues/19191
Note: Framework version bump is required before merging the PR. (https://github.com/wso2/carbon-identity-framework/pull/5431)

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7694328411

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7694328411
Status: success


feat: add release validation

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Additional documentation e.g., design docs, usage docs, etc.:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

48 of 54 (88.89%)  changed or added relevant lines in 1 file are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.2%) to 54.816%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/engine/release/validation.go
48
54
88.89%

Files with Coverage Reduction
New Missed Lines
%

pkg/cmd/apply/apply.go
7
47.83%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
8838

Relevant Lines:
16123

💛  - Coveralls


Workbench: Running a query with a SERVICE clause to a secured endpoint fails

(Migrated from https://openrdf.atlassian.net/browse/SES-2118)
The problem here is that the sesame server itself has to act as a http client to perform the SERVICE call. Possible solution would be some config file for the sesame server (or use the SYSTEM repository) where you could store a mapping of SERVICE url to basic auth info. The sesame server would then have the information needed to perform an authentication request.

Likely made obsolete by FedX functionality.


Bug with barbar.nvim

Hello,
I am one of the maintainers of barbar.nvim. One of our users is having an issue using the two of our plugins together (romgrk/barbar.nvim#277), and I believe I have tracked down the line of code causing the issue in https://github.com/nvim-neo-tree/neo-tree.nvim/commit/4ff628c1a7e3b368d91f3556423c5a9a7b810798.
It seems neo-tree is deleting and recreating buffers, which — while normally fine — is a problem when used in combination with our plugin because closing the buffer and re-opening it reorders the tabline. It is an admittedly workable bug, however, the user in question would like it to be fixed if possible.
Unfortunately, we can't fix it from our side, because in subscribing to the events for closing and opening buffers, this operation is indistinguishable from a user doing the same thing. However if you believe I am missing something on our side, I'm certainly open to that idea.

That code should only run if you try to open a file within neo-tree's window when it is in a sidebar. The best solution is to make sure that neo-tree is not active the window before opening a buffer.
If that's not possible, maybe using eventignore would work around the problem? I would apply it before the code you removed in neo-tree and see if that fixes the issue. I haven;t used that before so i'm not sure if it's a one shot setting or you have to unset it after the event occurs.

The best solution is to make sure that neo-tree is not active the window before opening a buffer.

Unfortunately, his use case is opening files from the tree rendered as a sidebar.

I'll play around with eventignore, thanks for the recommendation

Since the original author hasn't responded in a while, I'm going to close this as stale. It can always be reopened later.


BlockPlacerCallback

Created a callback method to allow plugins to intercept the place method on Feature & Structure
https://github.com/SpongePowered/SpongeAPI/issues/2520

I don't see any reason to use a callback here instead of the event.
Also, the code is duplicated and doesn't even build.

I'm skeptical about using a callback instead of the blockchange event. Also, the code is duplicated and doesn't even build.

Seems that there's also no PR for the implementation.

As I stated on the issue, the API already has everything needed, the real work is on the implementation.


HBASE-26083 L1 miss metric is incorrect when using CombinedBlockCache

https://issues.apache.org/jira/browse/HBASE-26083

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 34s
Docker mode activated.


[Models] Create a Template Model

          @pandeyshubham03 do we have a relationship_template.yaml? If not, will you create one and include the two sentence (or more) description under `description`?

This and templates for components, credentials, connections and so on can be placed in a folder under server/meshmodels/_model-template.
Originally posted by @leecalcote in https://github.com/meshery/meshery/pull/10380#discussion_r1501297928

Looking into it!


Investigate non standard nutexb block heights

This seems to depend on whether the surface is in the first mip level or not. It's possible that the block height is not a function of height or that block height is set through some other process.

[x] fighter/eflame/model/body/c00/skin_flame_001b_col.nutexb (should be 8 instead of 16)
[x] stage/poke_kalos/normal/mode/dys_kamex_set\def_kamex_col.nutexb (should be 8 instead of 16)

This has been moved to #14


Windows: Start of daemon config refactor

Signed-off-by: John Howard<EMAIL_ADDRESS>@swernli
This PR is part of the proposal described in issue 10662 to port the docker daemon to Windows. This is the refactoring to support different configuration parameters for Linux and Windows specific daemons.

Looks like we're duplicating a lot of things here. So should we have a cross-compiled file that contains:

an embedded common struct
a common flag func

type CommonConfig struct {
   ...common fields
}

func (config *Config) CommonInstallFlags() {
   ...common flags go here

and then in _windows.go and _linux.go we can just:
type Config struct{
    CommonConfig
    f otherFields
    ...

I see where you're heading. That would be a fairly invasive change to do touching a huge number of files I suspect.

Can't see why.

(From IRC) - This will likely have merge conflicts with https://github.com/docker/docker/pull/10535. Needs reworking once 10535 is merged.

@ahmetalpbalkan OK, think I've got it now. Can you review again please.

@jhowardmsft cool, I got just one naming comment, other than that LGTM.
Glad we didn't duplicate all that code. :)

Rebased and squashed commits

LGTM

@jhowardmsft daemon/config.go:8: imported and not used: "github.com/docker/docker/pkg/ulimit"

I had to rebase, that's why ulimit got pulled back in again. Think everything is back fixed as it should be now.

LGTM

I'm not sure about the ExecOptions and GraphOptions (there's nothing platform specific about them: it just happens that the only expected Windows implementation don't support any), but there's no point in bike-shedding about this now.
LGTM

Pushing to docs review so that @moxiegirl can be aware of this change, and how Windows support may impact documentation in the future (most notably by introducing platform specific options).
I don't think any documentation impact is required right now, so feel free to merge whenever you feel!

Thanks @icecrime I've read the comments and looked at the comments and the code.  Thanks for alerting me. My understanding: when we do eventually add an actual Windows only flag, we'll need to call that out in the docs.  Nothing else to do now but LGTM

Thanks @moxiegirl !

@jhowardmsft i cant believe it, the merge was rejected by milliseconds... needs a rebase :(

Can you please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "10662-daemonconfigrefactor" git@github.com:Microsoft/docker.git somewhere
$ cd somewhere
$ git rebase -i HEAD~6
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

This will update the existing PR, so DO NOT open a new one.

Looks like I merged while losing wifi connection. Am curious whether github sends more than one request when merging (that would be weird).
Anyway, you can see in https://github.com/docker/docker/commits/master that it's merged.


refactor: convert config actions to TypeScript

Summary
Convert config actions to TypeScript
Test plan
Run current tests

@erezrokah we have to decide how to avoid types duplication. Currently I just copied types from index.d.ts to types/redux.ts, because I couldn't use them directly from index.d.ts, but probably we should reexport them from redux.ts to index.d.ts.

Seems like failing tests are not related to this PR. They are failing also in master.

but probably we should reexport them from redux.ts to index.d.ts.

Agree, we had index.d.ts before we had any TypeScript in the repo.

Hm... I can see many failed tests related to multiple_folders mode, but according to the code, this mode is currently not supported. @erezrokah am I missing something?

I can see many failed tests related to multiple_folders mode

Multiple folders is (should be) supported only for folder collections

Oh, ok. My mistake then.

but probably we should reexport them from redux.ts to index.d.ts.

should I do it in this PR?

should I do it in this PR?

I think we can do it in another one to make it easier to track the changes.

@smashercosmo I think I forced pushed over some of your fixes 🤦

@erezrokah you need to rollback changes to config.spec.ts. They are not needed.


fix: Descriptive audio period flattening bug

Perform the primary check after role check to improve period flattening on streams with both main and description audio tracks.
Resolves #4500

This looks great overall.  I'm excited to include it in the bugfix releases I've been preparing.


Adds staking pool info

first pool is not found https://stake.cardinal.so/8Da8qPqSwc2DNenp5wwK7HWxpSrvxw8LUNoBZ2gAYjazz
second pool is valid https://stake.cardinal.so/49GnPoU2eexWaSo1n7wDFJov7WLiQ71fvpLj1ZoMxTVL


Update openshift instructions for new variables needed

Please provide a description of this PR:
Update docs on how to install Istio on OCP clusters

LGTM, add hold for @jwendell take another review.


calendar & forecast collide…

Hi,
since the last commit my calendar and weather-forecast collide in my "mini-pi-resolution" 800x480.

Has anyone the same issue?
Thanks,
desq

How have you managed to add the camera feed? :)

I´m struggling with it. (flicker) see other thread. (feature request).

There is a property You can set to limit the max length of a calendar title.

a there it is. thank you.


postUrl from the demo's index.hbs

Hi,
I started a project and configured it with a 'blog' section. I then renamed all references of 'blog' to 'news'. I have my 'news' objects showing on my index.hbs. I pretty much copied code from the blog section, whereby, when a user clicks on a particular blog, they will see a new screen with the full contents of that blog. I thought this would work seamlessly as I simply renamed 'blog' to 'news'. However, everytime I click on a 'news' i tem I get a 404 because the postUrl in {{postUrl slug}} part of the hbs code points to '/blog/post/'. I looked at the data object sent from index.js and there is no reference to postUrl within the Post object data model. Can someone help clarify where 'postUrl' is coming from?

Found the issue, and I believe it just comes down to bad function naming. Really, it is very confusion without more context.
From "/templates/views/helpers/index.js"
	// ### Content Url Helpers
	// KeystoneJS url handling so that the routes are in one place for easier
	// editing.  Should look at Django/Ghost which has an object layer to access
	// the routes by keynames to reduce the maintenance of changing urls

	// Direct url link to a specific post
	_helpers.postUrl = function (postSlug, options) {
		return ('/post/' + postSlug);
	};

	// might be a ghost helper
	// used for pagination urls on blog
	_helpers.pageUrl = function (pageNumber, options) {
		return '/blog?page=' + pageNumber;
	};

	// create the category url for a blog-category page
	_helpers.categoryUrl = function (categorySlug, options) {
		return ('/blog/' + categorySlug);
	};```

Closing out old issues. Note: this repository is for a demo application using the KeystoneJS Framework.
For questions about using Keystone, I suggest asking on Stack Overflow with the keystonejs tag.
For general discussion or feedback, you can also join the KeystoneJS Slack.
Regards,
Stennie


Wrong error codes for network issues

How frequently does the bug occur?
Always
Description
I'm trying to handle network errors, i.e. any random error that will be solved by just trying again later, to redirect the user to the proper support page.
In Swift there are a good number of error codes dedicated to those:
    case kCFURLErrorUnknown                 = -998
    case kCFURLErrorCancelled               = -999
    case kCFURLErrorTimedOut                = -1001
    case kCFURLErrorCannotFindHost          = -1003
    case kCFURLErrorCannotConnectToHost     = -1004
    case kCFURLErrorNetworkConnectionLost   = -1005
    case kCFURLErrorDNSLookupFailed         = -1006
    case kCFURLErrorNotConnectedToInternet  = -1009
    case kCFURLErrorInternationalRoamingOff = -1018
    case kCFURLErrorDataNotAllowed          = -1020
    case kCFURLErrorSecureConnectionFailed  = -1200

But errors thrown from Realm do not match those codes. After trying to sign in a user for instance, I get an error like this:
(error as NSError).code // = -1
(error as NSError).domain // = io.realm.app
(error as NSError).userInfo // = ["NSLocalizedDescription": The request timed out., "HTTP Status Code": 0]

Another non-Realm process running at the same time returned the following error:
[-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out."
The errors thrown from Realm should have matching error codes, otherwise we can't properly handle them.
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps

Enable Network Link Conditioner on your iOS device, set to 100% Loss
Try to sign in a user or do whatever with Realm

Version
10.32.3
What Atlas Services are you using?
Both Atlas Device Sync and Atlas App Services
Are you using encryption?
No
Platform OS and version(s)
iOS 16.0.3
Build environment
Xcode version: 14.1
Installed using SPM

I agree. Previously it was working fine and I have logic that relies on those codes. This logic is broken now. Please, at least put an underlying error in the user info because matching errors by localizedDescription only works for English users. We need to add a string for each localization which is a nightmare.

We have a project currently in progress to greatly clean up how the low-level networking errors are bubbled up through the stack. As part of that we'll be verifying that all of the various networking errors are surfaced as something sensible.


BGP multipath ECMP

Pull Request Functional Test Report for #2525 / 904cc98c80758aa4225a5ebaacac7e7b47ddcde6
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-1.10: BGP multipath ECMPRT-4.10: AFTs Route Summary
9237cf12
Log

Cisco 8000E

RT-1.10: BGP multipath ECMPRT-4.10: AFTs Route Summary
f0b2918b
Log

Cisco XRd

RT-1.10: BGP multipath ECMPRT-4.10: AFTs Route Summary
31817e90
Log

Juniper cPTX

RT-1.10: BGP multipath ECMPRT-4.10: AFTs Route Summary
4f93e7a2
Log

Juniper ncPTX

RT-1.10: BGP multipath ECMPRT-4.10: AFTs Route Summary
8e6d569a
Log

Nokia SR Linux

RT-1.10: BGP multipath ECMPRT-4.10: AFTs Route Summary
0f04048d
Log

Openconfig Lemming

RT-1.10: BGP multipath ECMPRT-4.10: AFTs Route Summary
7485937f
Log

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-1.10: BGP multipath ECMPRT-4.10: AFTs Route Summary

Cisco 8808

RT-1.10: BGP multipath ECMPRT-4.10: AFTs Route Summary

Juniper PTX10008

RT-1.10: BGP multipath ECMPRT-4.10: AFTs Route Summary

Nokia 7250 IXR-10e

RT-1.10: BGP multipath ECMPRT-4.10: AFTs Route Summary

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 50.407%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1611

Relevant Lines:
3196

💛  - Coveralls

Fixes #2681


Enhancement - integrate with json2swift

spit out the models in swift from a given json file.
https://github.com/ijoshsmith/json2swift

Hey @johndpope I don't see any easy way for us to integrate with that tool. The syntax footprint for Mapper is pretty small so feel free to submit a PR and link it here!


[BUG] Mouse Click Doesn't work but keyboard buttons are working

I don't know whats going on here but it looks mouse click is not working with React Hook Forms but keyboards button seems to be working

Update npx shadcn-ui@latest add command

@sersavan I just used https://github.com/sersavan/shadcn-multi-select-component/blob/main/src/components/ui/command.tsx Repository version of command and it started to work


some error in wiki

https://github.com/VeliovGroup/Meteor-Files/wiki/React-Example
the first code need import {ReactMeteorData} from 'meteor/react-meteor-data';
and the second need import React from 'react';

Hi @h2y ,
Thank you for notice, docs is updated.
Btw import React from 'react'; is already exists or I'm looking at wrong place?

React miss define in the second code FileIndividualFile.jsx in that page.
btw, thanks for the great project. :D

@h2y done.
Could you double-check this, please?

btw, thanks for the great project. :D

Thank you for choice.

Please, support this project by:

Star on GitHub
Star on Atmosphere


Device Type ignored when Simulator Already Running

When specifying a specific device to launch with, an already running simulator will be used regardless of if that simulator's device is different than the specified device.
To reproduce (on ios-sim version 1.7):

quit the simulator
ios-sim launch --family 'ipad' app/path
DON'T quit the simulator
ios-sim launch --family 'iphone' app/path

The app will be launched inside the already running iPad simulator, instead of in an iPhone simulator. To workaround, you need to quit the simulator whenever you want to launch with a device type that isn't that of the currently running simulator.
See also: https://github.com/moredip/Sim-Launcher/issues/20

With the --devicetypeid option (in 3.x), this shouldn't be a problem anymore.


Log rotation?

Something I noticed while working in the sysv startup script is that the output is redirected into /var/log/consul, but there isn't any way provided to rotate that file.
This is also the case in the sles script.
Should there be a logrotate.d file included?  Is this something considered outside the scope of the module?
If it's outside the scope, then feel free to close this issue.

I consider this outside the scope of the module. (I recommend making a "profile_consul" and combining modules together in there) I use this one in production: https://github.com/rodjek/puppet-logrotate


fix predictor address in scheduler

Signed-off-by: Di Xu<EMAIL_ADDRESS>
What type of PR is this?
kind/bug
What this PR does / why we need it:
introduced by #367
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
This bug does not affect any releases.

Codecov Report

Merging #418 (ac21045) into main (e53a0cc) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #418      +/-   ##
==========================================
- Coverage   13.69%   13.64%   -0.05%
==========================================
  Files          60       60
  Lines        6574     6574
==========================================
- Hits          900      897       -3
- Misses       5608     5610       +2
- Partials       66       67       +1

Impacted Files
Coverage Δ

...ernet/clusternet/pkg/hub/apiserver/shadow/utils.go
89.28% <0.00%> (-10.72%)
:arrow_down:

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 e53a0cc...ac21045. Read the comment docs.


How can I contribute a Chinese version of this useful website?

I just want to translate this website to Chinese version to help more people, how can I do this?

See #73 – there are some progress there. We still do not have automation to release it, thou.


SSL Problems (Sending data and opening with Ethernet Enabled)

Problem -> Open a SSL connection with Ethernet commands enabled (in menuconf->AT ethernet support). The SSL connection is with server CA cert and client cert and key.
-> Open the SSL connection with ethernet cable pluged in (send data error):
AT+CIPMUX=1   ->OK
AT+CIPSSLCCONF=0,3,0,0 -> OK
AT+CIPSTART=0,"SSL","serverUrl",443,180 -> OK -> 0, CONNECT
AT+CIPSEND=0, 10 (send data after > etc.) -> ERROR (Monitor console: "link is not valid")
->Now open the SSL connection when WIFI is connected (no ethernet cable pluged in, open SSL port problem):
AT+CIPMUX=1   ->OK
AT+CIPSSLCCONF=0,3,0,0 -> OK
AT+CIPSTART=0,"SSL","serverUrl",443,180 -> ERROR -> (Monitor console:
cert_len=1220
prvtkey_len=1675
ca_len=1188
ctx ok
ssl connect fail
create 0 socket fail)
So the connection works over Ethernet but not over WIFI (with same certificates, URLS etc.) and sending data is not working at all.
If I disable in Menuconfig AT ethernet support, The SSL connection works over WIFI, but sending gives always errors as above with Ethernet:
AT+CIPMUX=1   ->OK
AT+CIPSSLCCONF=0,3,0,0 -> OK
AT+CIPSTART=0,"SSL","serverUrl",443,180 -> OK -> 0, CONNECT
AT+CIPSEND=0, 10 (send data after > etc.) -> ERROR (Monitor console "link is not valid")
Since I need Ethernet and WIFI in my project with SSL connection I hope you can fix this two issues (SSL connect on both, WIFI or Ethernet, and sending and receiving data on both).
Note: I don't have two SSL connection open at the same time (which is not possible from documentation), so if someone plugs in ethernet while connected over WIFI, I disconnect WIFI and reconnect socket over Ethernet again. I use a WROOM-32 module with todays SW version.
Thank you in advance for helping me.

I have exactly the same problem. Can't send data over a TLS connection:
AT+CIPMUX=1 ->OK
AT+CIPSSLCCONF=0,3,0,0 -> OK
AT+CIPSTART=0,"SSL","serverUrl",443,180 -> OK -> 0, CONNECT
AT+CIPSEND=0, 10 (send data after > etc.) -> ERROR (Monitor console: "link is not valid")
Please fix this (before adding all new http and mqtt commands), since a working TLS connection is essential.

With current AT-Lib it works, thanks for fixing it.


[C++] Use LanceFragment to build I/O exec plan

Use LanceFragment to build I/O exec plan, so that I/O exec plan can take multiple data files in the same Fragment into account.

Btw, Weston is working on Acero I believe. Would it be helpful to try and do a session on that with him? Is it important that we adapt the io.exec to Acero?

We could deliver this for now, and look into how to adapt Acero later? conceptually they are the same, it just needs some time to learn the good practice and implementation details in Acero tho.


test-branch/execute-job/quoted-authorization/aedeeb59-a53b-4bbe-bcef-14f1b246fb5c

PR for testing f6b96e75211cffc01223b861a17613f57c6e87b5

/canonical/self-hosted-runners/run-workflows f6b96e75211cffc01223b861a17613f57c6e87b5


Automatically add a 'source' if creating a new Gemfile

Just my 2 cents:

Gemrat is awesome (coming from the Node ecosystem)
This PR is really cool 👍


redis servers is not tagged to multiple ports

in config:
[redis]
servers = ["<IP_ADDRESS>:6386", "<IP_ADDRESS>:6380", "<IP_ADDRESS>:6381", "<IP_ADDRESS>:6382", "<IP_ADDRESS>:6383", "<IP_ADDRESS>:6384", "<IP_ADDRESS>:6385"]

in influx 0.9.1:

show measurements
...
redis_total_commands_processed
...

select * from redis_total_commands_processed
....
name: redis_total_commands_processed
tags: host=wpr01
time                            value

2015-07-22T11:31:32.905606408Z<PHONE_NUMBER>
2015-07-22T11:31:37.909249167Z<PHONE_NUMBER>
2015-07-22T11:31:42.907242355Z<PHONE_NUMBER>
....
where i see in tags "port: 6380(6381...6386)" ?

i add code before tags:
	_, rPort, err := net.SplitHostPort(addr.Host)
	if err != nil {
		rPort = defaultPort
	}
	tags := map[string]string{"host": addr.String(), "port": rPort}

@kotopes I believe this can now be closed due to closing the pull request, let me know if there are any more problems!


Check for existence of secrets.jl

PS: It looks like my editor (Juno) also removed some trailing white spaces.

👍 Thank you!


[DM-23433] Add ghslacker to Roundtable

Add Vault Secrets Operator to Roundtable (Closes #10)
Disable Vault Agent Injector since we're going to use Vault Secrets Operator
Add uservice-ghslacker using a Vault secret

@rra Maybe I'm missing it, but should ghslacker now be an Application associated with deployments/app-land ?

I knew I was forgetting something. Thank you.

Issues resolved, should now be ready to go.

@rra Thanks!


[Feature Request] Support for QBittorrent

Is your feature request related to a problem? Please describe.
I would love to have real time stats for the number of torrents downloading/seeding/completed/failed and the throughput of each sent to InfluxDB.
Describe the solution you'd like
If this project is open to adding more supported services, I can craft a PR to support QBT's web interface (which has a json based api).
Describe alternatives you've considered
Alternatively, I can create a separate script to track QBT on my own. Just thought it might be useful to others here.

@tomschlick Hop in discord and lets talk about it.

Closing as i never heard from tom :/. Feel free to ping me in discord.


Types are not up to date

Description
Everything is in the title. For instance the type of the BloomEffect's options in the types/index.d.ts file are:
export type BloomEffectOptions = {
	blendFunction?: BlendFunction;
	mipmapBlur?: boolean;
	luminanceThreshold?: number;
	luminanceSmoothing?: number;
	intensity?: number;
	resolutionScale?: number;
	resolutionX?: number;
	resolutionY?: number;
	width?: number;
	height?: number;
	kernelSize?: KernelSize;
};

and should be something like this:
export type BloomEffectOptions = {
	blendFunction?: BlendFunction;
	luminanceThreshold?: number;
	luminanceSmoothing?: number;
	mipmapBlur?: boolean;
	intensity?: number;
        radius?: number;
        levels?: number;
	kernelSize?: KernelSize;
	resolutionScale?: number;
	width?: number;
	height?: number;
	resolutionX?: number;
	resolutionY?: number;
};

Library versions used

Three: 0.153.0
Post Processing: 6.32.2

Thanks for the report!

Fixed in<EMAIL_ADDRESS>


Bluetooth: Host: change adv_new_legacy to adv_get_legacy and return the adv instance if it already isnt NULL.

if the device is advertising, and one starts the advertiser again the returned error code is -EALREADY.
if CONFIG_BT_EXT_ADV is enabled, the function behaves differently and suddenly returns another error code in the same situation(-ENOMEM).
this is a little bit confusing and therefore the -ENOMEM should be changed to -EALREADY, so that the error codes match.

@CodingGhost will you update this PR w.r.t. our comments, or should we leave it as closed?

@Thalley Sorry, I can update the PR with your proposal if you reopen it.

@Thalley I pushed to CodingGhost-patch-1
to prevent the last commit being in the main branch, was that correct?

Please fix the Compliance check failures related to your commit message. You can auto-generate the signed-off-by line with git commit --amend -s. The summary line could be shortened e.g. to Bluetooth: Host: Make adv error reporting more consistent
67ec6b61ec5b13136bf0e0c8d5d624727da3ab51: author email (Jonas Woerner<EMAIL_ADDRESS>needs to match one of the signed-off-by entries.
1: UC2 Body does not contain a 'Signed-off-by:' line
1: UC5 Title exceeds max length (110>75): "Bluetooth: Host: changed adv_new_legacy to adv_get_legacy and return the adv instance if it already isnt NULL."
2: B4 Second line is not empty: "this prevents the function from acting differently if CONFIG_BT_EXT_ADV is enabled VS not enabled."
2: UC4 Line exceeds max length (98>75): "this prevents the function from acting differently if CONFIG_BT_EXT_ADV is enabled VS not enabled."
3: UC4 Line exceeds max length (81>75): "without this fix, the function would return NULL if CONFIG_BT_EXT_ADV is enabled."

I hope its OK now. this is my first PR for such a big Project :)

No problem - We're happy to help people that want to contribute :)


Adding optimization by prompting

Overview
This pull request proposes the implementation of the paper Large Language Models as Optimizers (arXiv:2309.03409) developed by DeepMind to generate prompts for our existing Large Language Models, thereby enhancing the overall quality of our models. This innovative approach, inspired by DeepMind's research, leverages the power of LLMs to create context-aware and tailored prompts which can result in more meaningful insights and improved decision-making.
Motivation
The motivation behind this implementation is rooted in the pioneering work by DeepMind, which has demonstrated the potential advantages of using LLMs for prompt generation in various applications. Benefits:

Optimized Model Interaction: LLM-generated prompts, as inspired by DeepMind's research, can facilitate more precise interactions with our existing large language models, improving the relevance and depth of the analysis performed.

Increased Efficiency: Automating prompt generation through DeepMind's LLMs can save valuable time and resources in crafting prompts manually, allowing our team to focus on the analysis itself.

Proposed Changes
The implementation of the method for prompt generation involves the following steps:

Prompt Generator: Behind the scenes we will leverage LLMs in order to refine an initial set of instructions taking into account the context and goals of the analysis. This logic will be fine-tuned to align with our project's requirements.

Testing and Validation: Rigorous testing and validation will be conducted to ensure that the prompts generated by the LLM are contextually relevant and contribute to more insightful data analysis.

Testing Strategy
To ensure the reliability and effectiveness of the LLM-based prompt generation, we will employ the following testing strategies:

Examples Generation: In order to be able to create a feedback loop we need a set of examples (query: whether an event will happen, happened: if this event happened actually happened). The events must be after 2021 (ChatGPT was trained until that day) in order to avoid training bias.

Performance metric: Since our scope is to predict the probability of an event, the obvious choice for this task is to use the area under the receiver operating curve (ROC AUC) score.

Confidence evaluation: Since we are not able to generate meaningful confidence values (without adding our knowledge bias) in the example set, we assume that the model with the best probabilities (thus the best ROC AUC score) will have the most accurate confidence interval.

Expected Impact
Upon successful implementation, we anticipate the following impacts on our project:

Improved Probabilities: LLM-generated prompts, inspired by DeepMind's research, can lead to more focused and relevant analyses, enhancing the accuracy and depth of our insights.

Efficiency: The automation of prompt generation, can streamline our workflow, enabling faster data analysis and decision-making.

Conclusion
The implementation of DeepMind's large language models for prompt generation represents an innovative approach, inspired by groundbreaking research. By harnessing the power of LLMs, we can expect more precise, efficient, and insightful analyses. Your feedback and collaboration on this pull request are highly appreciated.
Technical Details
Langchain: 0.0.300
Produced output upon successful run
score: 0.125
Best template score: 0.125
Template:
You are an LLM inside a multi-agent system that takes in a prompt of a user requesting a probability estimation
for a given event. You are provided with an input under the label "USER_PROMPT". You must follow the instructions
under the label "INSTRUCTIONS". You must provide your response in the format specified under "OUTPUT_FORMAT".

INSTRUCTIONS
* Read the input under the label "USER_PROMPT" delimited by three backticks.
* The "USER_PROMPT" specifies an event.
* The event will only have two possible outcomes: either the event will happen or the event will not happen.
* If the event has more than two possible outcomes, you must ignore the rest of the instructions and output the response "Error".
* You must provide a probability estimation of the event happening, based on your training data.
* You are provided an itemized list of information under the label "ADDITIONAL_INFORMATION" delimited by three backticks.
* You can use any item in "ADDITIONAL_INFORMATION" in addition to your training data.
* If an item in "ADDITIONAL_INFORMATION" is not relevant, you must ignore that item for the estimation.
* You must provide your response in the format specified under "OUTPUT_FORMAT".
* Do not include any other contents in your response.

score: 0.25
Best template score: 0.25
Template:
You are an LLM inside a multi-agent system that takes in a prompt of a user requesting a probability estimation
for a given event. You are provided with an input under the label "USER_PROMPT". You must follow the instructions
under the label "INSTRUCTIONS". You must provide your response in the format specified under "OUTPUT_FORMAT".

INSTRUCTIONS
* Read the input under the label "USER_PROMPT" delimited by three backticks.
* The "USER_PROMPT" specifies an event.
* The event will only have two possible outcomes: either the event will happen or the event will not happen.
* If the event has more than two possible outcomes, you must ignore the rest of the instructions and output the response "Error".
* You must provide a probability estimation of the event happening, based on your training data and any other relevant information.
* You are provided an itemized list of information under the label "ADDITIONAL_INFORMATION" delimited by three backticks.
* You must consider any item in "ADDITIONAL_INFORMATION" in addition to your training data to make an accurate probability estimation.
* If

score: 0.5
Best template score: 0.5
Template:
You are an LLM inside a multi-agent system that takes in a prompt of a user requesting a probability estimation
for a given event. You are provided with an input under the label "USER_PROMPT". You must follow the instructions
under the label "INSTRUCTIONS". You must provide your response in the format specified under "OUTPUT_FORMAT".

INSTRUCTIONS
* Read the input under the label "USER_PROMPT" delimited by three backticks.
* The "USER_PROMPT" specifies an event.
* The event may have one or more possible outcomes.
* If the event has one possible outcome, provide a probability estimation of it happening, based on your training data and any other relevant information.
* You are provided an itemized list of information under the label "ADDITIONAL_INFORMATION" delimited by three backticks.
* You must consider any item in "ADDITIONAL_INFORMATION" in addition to your training data to make an accurate probability estimation.
* If the event has more than one possible outcome, you must provide a probability estimation for each outcome, based on your training data and any other relevant information.
*

('{"p_yes": 0.05, "p_no": 0.95, "confidence": 0.8, "info_utility": 0.2}', None)

CI failures unrelated.

Hello this is Armagan from Gnosis
Congratulations on winning a prize for the Best Mech Mech Tool in the Prediction Agent Hackathon! Your innovative contribution stood out, and we're excited to award your work.
Please reply to this comment with your Gnosis Chain wallet address so we can proceed with transferring your prize in xDAI.
Thank you for your fantastic work and looking forward to your continued contributions!

Hello this is Armagan from Gnosis
Congratulations on winning a prize for the Best Mech Mech Tool in the Prediction Agent Hackathon! Your innovative contribution stood out, and we're excited to award your work.
Please reply to this comment with your Gnosis Chain wallet address so we can proceed with transferring your prize in xDAI.
Thank you for your fantastic work and looking forward to your continued contributions!

Hello @0xarmagan . My wallet address is 0x87544463b3bdC659aac9580F1495A2Abf1f1BAe8
Thank you very much for your kind words. I appreciate your feedback for my contribution.

@0xarmagan Hey Armagan. Haven't seen anything yet. Any update on that? Thanks :)

@psouranis sorry for super late reply. We'll send today! I'll keep posted you.


feat(server): add logits watermark

Just a few questions:

Confirming that the logic for changing the "seeding_scheme" has been removed intentionally - this makes sense, since it was a forward looking demonstration through implementation that other schemes, as discussed in the paper, are possible.
Will it be possible to call generate with different watermark parameters for each generation (similar to different temperatures or repetition penalties)? Or will the watermark parameters be fixed after the endpoint is spun up?  I made a more targeted comment on the processor construction line.

Well yes we can add the options to do that. What would be the use case though? It will completely bypass the watermark if request can set up their own parameters, right? However I can add the possibility to set these parameters when we first start up the service.

Sounds good. So, you're totally right, in the "real deployment" usecase the watermark parameters would be controlled and fixed by the model provider (the detector itself would likely be run by them too). The ability to produce generations with various parameters somewhat on-demand is more of a capability desired for testing and evaluation purposes on the research side of things. I'm happy to spin with fixed parameters for now, so I'll complete the review.
Let me know what the next step is going to be/how I can help bring up and properly utilize a widget that applies the new processor!


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1048 ms

Resolved: Bofrost.de performance has improved in 43d743c after 15 minutes.


Regular Event Scheduler

About the PR

Adds the basics of what will become the new event system.
basically just runs an event every 60 seconds.
new events + reworking old ones will be needed but this is pretty alright for now.
also changes announcement color to burple

Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

idk if this repo has cl bot

I don't have write access :disintergrate:


⚠ Processors has degraded performance

In 3992ef8, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 102 ms

Resolved: Processors performance has improved in 260e980.


Add a tests for new GuestIssuer functionality introduced in PR #74

@sQu4rks awesome job with the Guest Issuer PR.  Thank you for submitting it!
I have merged it in, and I will push a new release with the added functionality shortly.  However, we need to create some test and docs for the new functionality to ensure its reliability and to let other developers know how to use it.  Can you take a run at creating the tests and docs?  I'm glad to edit and review.

Thanks for merging. I'll go ahead and create the docs and tests.

Thank you @sQu4rks !


System.TypeLoadException: Could not load type of field 'Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformEqtTrace:TraceSourceLevelsMap' (1) due to

Hi,
MSTest v3 Stop working for linux
Nuget:
<PackageReference Include="MSTest" Version="3.1.1" />

Build link link:
https://github.com/Romfos/AutoTests.Framework/actions/runs/5866367920/job/15905047692
Testhost process for source(s) '/home/runner/work/AutoTests.Framework/AutoTests.Framework/src/AutoTests.Framework.Tests/bin/Debug/net462/AutoTests.Framework.Tests.dll' exited with error: Unhandled Exception:
System.TypeInitializationException: The type initializer for 'Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace' threw an exception. ---> System.TypeLoadException: Could not load type of field 'Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformEqtTrace:TraceSourceLevelsMap' (1) due to: Could not resolve type with token 01000019 from typeref (expected class 'System.Diagnostics.TraceLevel' in assembly 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e0[89](https://github.com/Romfos/AutoTests.Framework/actions/runs/5866367920/job/15905047692#step:5:90)') assembly:System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089 type:System.Diagnostics.TraceLevel member:(null)
   --- End of inner exception stack trace ---
  at Microsoft.VisualStudio.TestPlatform.TestHost.Program.Main (System.String[] args) [0x00033] in <af8fc7b1c76049579919cce3f8e01556>:0
Error:  FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace' threw an exception. ---> System.TypeLoadException: Could not load type of field 'Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformEqtTrace:TraceSourceLevelsMap' (1) due to: Could not resolve type with token 01000019 from typeref (expected class 'System.Diagnostics.TraceLevel' in assembly 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089') assembly:System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089 type:System.Diagnostics.TraceLevel member:(null)
   --- End of inner exception stack trace ---
  at Microsoft.VisualStudio.TestPlatform.TestHost.Program.Main (System.String[] args) [0x00033] in <af8fc7b1c76049579[91](https://github.com/Romfos/AutoTests.Framework/actions/runs/5866367920/job/15905047692#step:5:92)9cce3f8e01556>:0
. Please check the diagnostic logs for more information.

Run into the same problem, but I think it's more likely to be a problem with vstest, see this issue https://github.com/microsoft/vstest/issues/4657.

Hi @Romfos,
Was the code working before? Have you only bumped MSTest or have you changed something else (e.g. version of VS, version of test SDK...)? I see you are using net462, are you using the AppDomain feature?
Is it possible to have a small reproducer for us to investigate the issue?

Hi @Evangelink , yes, please:
repo
https://github.com/Romfos/mstest-repo
build:
https://github.com/Romfos/mstest-repo/actions/runs/5961090424/job/16169633189

Thanks for the quick reply, I confirm that I can repro the issue (only on Linux and net462):

I will investigate the issue.


Remove width on frost-select input

discussed with @sandersky about how this width property no longer seems necessary on the frost-select input element.  I verified that removing it does not adversely affect the demo in the dummy app.

What's the effective area to launch the select?  A click anywhere in the input?

I think we should have a click register anywhere in the input.  I now see that removing the width property is not the solution, as it narrows the trigger width in the dummy demo.  So, maybe we want input.trigger width = 100%?

@sglanzer:  sorry, this PR was probably premature.  I am closing because we will revisit the issue within our consuming app...we see css issues with this component, but it could be our fault.

@lirwin I was originally thinking 100% for the inner input, let me know what you find


maxBufferLength broken since clappr 0.3.0

Browser: Chrome Version 73.0.3683.103 (Official Build) (64-bit)
OS: Windows 10 Version 1803
Clappr Version: 0.3.0, 0.3.3
Steps to reproduce:

Initialize clappr with argument maxBufferLength: 30
e.g.

new Clappr.Player({ maxBufferLength: 30 })

From an HLS source, play a VOD video with duration significantly longer than 30 seconds
Expected result: buffering should stop when ~30 seconds ahead
Actual result: buffering continues beyond specified time limit (up to a size limit? around 40 MB it seems?)

Did you try to reproduce this issue at http://cdn.clappr.io/?
Yes:
http://clappr.io/demo/#dmFyIHBsYXllckVsZW1lbnQgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgicGxheWVyLXdyYXBwZXIiKTsKCnZhciBwbGF5ZXIgPSBuZXcgQ2xhcHByLlBsYXllcih7CiAgc291cmNlOiAnaHR0cHM6Ly9tbm1lZGlhcy5hcGkudGVsZXF1ZWJlYy50di9tM3U4LzI5ODgwLm0zdTgnLAogIG1heEJ1ZmZlckxlbmd0aDogMzAsCiAgbXV0ZTogdHJ1ZQp9KTsKCnBsYXllci5hdHRhY2hUbyhwbGF5ZXJFbGVtZW50KTs=

In Clappr 0.2.100 and older, this works to limit the buffer length.  The same does not work in 0.3.0 and newer:
hlsjsConfig:
{
	maxMaxBufferLength: 30
}

@bp2008 I believe there are 2 different thing here. You mentioned that maxBufferLength isn't working with 0.3.0+, but in previous versions you used maxMaxBufferLength. The latter version is actually the correct. There's also the case that the version in which the maxBufferLength passed directly in the player option won't work:
new Clappr.Player({ maxBufferLength: 30 }) // this is not handled by the hls.js playback

If you test hls.js directly, the maxBufferLength seems to have a lower priority than maxBufferSize, which is by default set to 60 MB. Using maxMaxBufferLength as stated in the documentation is the way to go.
The Clappr documentation is somehow ambiguous regarding playback options, which used to be mixed with all other player options. Even on 0.2.x we changed that to work inside a playback group of options:
new Clappr.Player({
  playback: {
    hlsjsConfig: {
	maxMaxBufferLength: 30
    }
  }
})

There was some code to ensure that the previous behavior, having the hlsjsConfig directly in the player options would work, but some unrelated code have broken this backwards-compatible behavior. We'll have it fixed for the next release, but for now, please try to use the way I mentioned before. This way it will work regardless of player version.
We'll also update the documentation accordingly to ensure that this will be more easily understood.
Thanks for reporting this.

To be clear, this is the documentation I was looking at which instructed to use maxBufferLength as I did in the reproduction steps:  http://clappr.github.io/classes/Player.html

Thanks.

@bp2008 I just released a new version 0.3.4 with the compatibility fix.
You can run this test to confirm it's working.

Ok, that is good for backwards-compatibility.
The maxBufferLength option still does not work as described in the documentation, which is what this bug report was all about: http://clappr.github.io/classes/Player.html

@bp2008 the maxBufferLength option does not work as you think it does. It is just used as the last option of limiting the buffer.
As it's described in the hls.js documentation it's the minimum guaranteed buffer size, not the maximum limit, as you want it to be. The right one is maxMaxBufferLength (https://github.com/video-dev/hls.js/blob/master/docs/API.md#maxmaxbufferlength). We also have it documented in the embed parameters doc.
We need to remove this description from http://clappr.github.io/classes/Player.html, it seems to be really outdated. It was only used in the Flash version of the HLS playback, which hasn't been the default for a while.

Aha, now I understand.  This would all have been far less confusing if they had named these settings minBufferLength and maxBufferLength instead of maxBufferLength and maxMaxBufferLength.


How to config this plugin?

How to config this plugin to enable highlight such as "UVM_INFO" "UVM_ERROR" "UVM_FATAL"  fields.
I try to config in lazy.nvim like this, but it does not work.
 {
    "fei6409/log-highlight.nvim",
    opts = {
      pattern = {
        "UVM_INFO",
        "UVM_ERROR",
      },
    },
  }

I also want to match the elements of these regular expressions. How to configure them?
uvm_comp start="\[" end="\]"
 sim_time= "@\s[0-9]*:"

The pattern table is for matching the "file names" to be assigned with the log filetype, but not for configuring what patterns will be highlighted - this plugin doesn't support that at this moment.
To enable highlight for particular patterns, the rules needs to be explicitly defined in the syntax file.
Would you be able to share a piece of the log and which parts you want them to be highlighted? I can try to add the rules if applicable.

UVM_INFO ./refer_model.sv(102) @ 629500: uvm_test_top.ref_model [run_phase] non_empty_xact_queue happened
UVM_INFO ./refer_model.sv(204) @ 629500: uvm_test_top.ref_model [print_core] now print core
UVM_INFO ./refer_model.sv(209) @ 629500: uvm_test_top.ref_model [print_core] board[3].Scnt:5,Wcnt:2
-----------------------------------------------------
Name                 Type                 Size  Value
-----------------------------------------------------
my_transaction  my_transaction  -     @1000023
  ID4              integral             9     'h20
  ID3               integral             4     'h0
  ID2               integral             7     'h1a
  ID1              integral             9     'hf1
  ID0              integral             9     'h30
-----------------------------------------------------
UVM_ERROR ./scoreboard.sv(157) @ 642500: uvm_test_top.scoreboard [compare] compare error
UVM_INFO ./scoreboard.sv(110) @ 652000: uvm_test_top.scoreboard [run_phase] Exiting...
[data_stream] {OBJECT_NUM('d0) PORT_ID('d0) PORT_NAME(slave[10]) TYPE(DATA_STREAM) COHERENT_XACT_TYPE(READNOSNOOP) ID('h10) PROT_TYPE(DATA_SECURE_NORMAL) ADDR('h0) LENGTH('d0) SIZE(BURST_SIZE_8BIT) BURST_TYPE(INCR) CACHE_TYPE('d0)}Transaction ended
** Report counts by severity
UVM_INFO :  108
UVM_WARNING :    1
UVM_ERROR :    4
UVM_FATAL :    0
** Report counts by id
[UVM/REPORT/CATCHER]     1
[build_phase]     4
[base_test]     4
[run_phase]    12

Typically the message starts with something like "UVM_INFO", followed by the file path (lines) @ simulation time and then some information.
Typically, numeric values are printed as hex, decimal, binary, etc., starting with signals such as 'h 'd 'b'.
I mainly want to be able to highlight UVM_INFO, UVM_ERROR, simulation time and numeric information.

Thanks for that. I'll need some time to figure out whether it's feasible and how to support those highlights.

In any case, thank you for your work.

I think that's all set.
For the simulation time, the existing rules will do the work so I just leave it as is, plus some additional highlight for the symbols. I also highlighted the paths.


Improvement ideas for the custom picture selector

Once #175 is implemented as described, a few extra improvements can be thought of, let's gather them here for now.

Check not only the SHA1 of the privacy-modified file, but also of the original file, as it might have been uploaded via Upload Wizard which does not modify anything.
Make the custom picture selector the default (so only camera and that one are available when tapping + in the main activity), and provide a setting to switch to the OS gallery instead (in case custom picture selector doesn't work well for some users)

For the limited connection mode we can directly show up the OS gallery. Custom picture selector would definitely be slow in low connectivity.

Limited connection mode tries to limit transfer of huge amounts of data (=pictures), but since the selector's HTTP requests and responses are very light (a kilobyte or two I guess), they might be considered OK even if they can be numerous. I let the limited connection mode's experts decide :-)

Check not only the SHA1 of the privacy-modified file, but also of the original file, as it might have been uploaded via Upload Wizard which does not modify anything.

Sounds good to me.

Make the custom picture selector the default (so only camera and that one are available when tapping + in the main activity), and provide a setting to switch to the OS gallery instead (in case custom picture selector doesn't work well for some users)

Personally I would prefer to keep the current default until the custom picture selector has been out for at least 1 version and we get user feedback on it. Little steps. :)


Address the Windows dirtiness issue

Starting out trying to create a debug build to try to nail down these Windows dirtiness issues.

OK, I think I have a workaround here that is the best we can do?


Documentation: Several types in namespace sap.ui.model.type are missing supported formatting options

OpenUI5 version: 1.108.0
For the typescript type definitions, it would be very useful if the constructor documentation for all Types in the sap.ui.model.type namespace would contain all supported formatting options.
As an example, the documentation for type sap.ui.model.type.Float  states that all supported formatting options of NumberFormat are accepted. Two of those options (out of many) are listed explicitly:
https://github.com/SAP/openui5/blob/ed3ff6eee9058a6929b5c82cc3552af7da0ccb43/src/sap.ui.core/src/sap/ui/model/type/Float.js#L30-L35
This is pretty much the same for all type classes in the package (besides Boolean and String, which don't accept formatting options). Could you add the missing formatting options to the documentation? This would give type safety to developers and also allows to get rid of casts to handover formatting options to the different constructors, which are not explicitly documented.
Outside the sap.ui.model.type namespace, I saw the method NumberFormat.getInstance(..) where the formatting options are also not listed.
Thanks for considering this!
Regards,
Florian

Hello @fbunsmann,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Niya

The reason not all FormatOptions of the NumberFormat are documented at the types is that there are 29 FormatOptions and 11 sap.ui.model.type.* types. That would mean keeping 30 different JsDocs in sync and it is not feasable.

Yes, that's understandable. Thanks for the information!

We are discussing internally how to achieve the requested functionality without creating redundancies. This is tracked internally as CPOUI5MODELS-1111.


need instructions for configuring GitHub actions on copied repos

I created a new repo using the green "Use this template" button, selecting the gw-ospo org as owner; I chose to copy all branches, but this was not documented.
I soon got an email notification from the new repo, saying: deploy-book: All jobs have failed
On the new repo, I went to the "Actions" tab and noticed that it shows a red X

[deploy-book](https://github.com/gw-ospo/oss-licensing/actions/runs/8862478481/job/24335477998#step:8:24)
Creating Pages deployment failed
Error: Failed to create deployment (status: 404) with build version 2c361624446f5cf532a5f19939ebdb4557f79896. Ensure GitHub Pages has been enabled: https://github.com/gw-ospo/oss-licensing/settings/pages

Poking on the "Pages" settings of the template repo, I noticed it shows "Source > GitHub Actions" under "Build and deployment" – my new repo did not: changed to that…
It shows: "Use a suggested workflow, [browse all workflows](https://github.com/gw-ospo/oss-licensing/actions/new), or [create your own](https://github.com/gw-ospo/oss-licensing/new/main?filename=.github%2Fworkflows%2F&workflow_template=ci%2Fblank)."
I have no idea how to get GitHub Actions configured or set the workflow. The README should have instructions up top on the fact that the user needs to configure this after copying the template repository, explaining how to do it or linking to the relevant section of documentation from GitHub or JupyterBook.

I went to the "Settings" tab and chose "Pages" from the left navigation menu. On the "Build and deployment" section there, under "Source," I chose "GitHub Actions." But this is not done... there is need to choose a workflow. I don't know how to do that: the link to "create your own" opens an editor with a new .yaml file that has some starter workflow. That's not what we want. We want to somehow choose the existing deploy-book workflow that comes from the repository template. Stuck.

I cloned the repository locally, and made changes to a file included in the JupyterBook (intro.md). This apparently activated the deploy-book workflow, so even though I did not specify the workflow in the previous step, GitHub somehow "found" it. This is a mystery. But good, I suppose. Except the action fails anyway. The error says:
Error: Invalid value for 'PATH_SOURCE': Path 'example-book/' does not exist.

This is because I changed the folder name. I guess I need to update the workflow somewhere. Will investigate. But this needs to be documented in the README of the template.

What's the URL for the build GitHub pages? Pulled up the jupyter-book-template rendered pages to reverse engineer the URL and found it is https://gw-ospo.github.io/<repo name>/intro.html—this also needs to be documented.

Easier: click the "use your GitHub Pages website" radio button when updating the Description field


Buttons Language Change

Hi,
How can change editor buttons language (Like tooltip) for localization?

You can create your own buttons, just inspire here https://github.com/Raiper34/ngx-simple-text-editor/blob/main/projects/ngx-simple-text-editor/src/lib/constants/editor-buttons.ts .
You can simply copy it and paste into your code base, change titles, and use in your editor like
import { Component } from '@angular/core';
import {EditorConfig, ST_BUTTONS} from 'ngx-simple-text-editor';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  content = '';
  config: EditorConfig = {
    placeholder: 'Type something...',
    buttons: ST_BUTTONS,
  };
}

I added page to documentation site https://ngx-simple-text-editor.netlify.app/#/localization


Retaining the BOT conversation during each page load gets failed to connect after 30 mins

Hi,
We have implemented BOT framework with direct line channel and I'm storing the Conversation ID and token in local storage once the connection is online. On page load, there's a null check against conversation ID and based on that conversation is resumed. The issue is "After 30 mins, when we reload the page, it is giving the connection status value as 4 which means Failed to connect". Can anyone please help me on what the issue is and how to resolve it? I'm new to this technology and our ultimate requirement is having the chat retained during each page load till the connectivity is lost.
One thing we have observed is that, token from the hidden value and stream URL token is different and watermark is always null.  Please do help us with the right way to achieve it.
Below is the code we have used in bot.aspx,
var botConnection;
    if (localStorage.token == null)
    {

        localStorage.setItem("token", document.getElementById('hdnFieldToken').value);
    }

    if (localStorage.conversationId == null) {

        botConnection = new BotChat.DirectLine({
            token: localStorage.token
        });
    }

    else {

        botConnection = new BotChat.DirectLine({
            token: localStorage.token,
            conversationId: localStorage.conversationId,
            watermark: localStorage.watermark,
            streamUrl: localStorage.streamUrl,
            webSocket:false,
            pollingInterval:5000
        });
    }

            botConnection.connectionStatus$.subscribe(function (status) {
            if (status == 2) {
                localStorage.setItem('conversationId',  botConnection.conversationId);
                localStorage.setItem('watermark', botConnection.watermark);
                localStorage.setItem('streamUrl', botConnection.streamUrl)

            }
            else if(status == 4)
            {
                alert("4");

            }

            });

            BotChat.App({
                botConnection: botConnection,
                user: { id: 'You' },
                bot: { id: 'MyWorkspaceBotService' },
                resize: 'detect'
            }, document.getElementById("bot"));

Hi ,
Anyone please help me on this issue.

@shanthisri0222 @compulim  hi did you use this to get the token? because it is not working for me. Please help thanks. What is your 'hdnFieldToken'?
var xhr = new XMLHttpRequest();
xhr.open('GET', "https://directline.botframework.com/v3/directline/tokens/generate",true);
xhr.setRequestHeader('Authorization', 'Bearer ' + 'DIRECTLINE_SECRET');
xhr.send();
xhr.onreadystatechange = processRequest;
console.log(xhr.readyState == 4  && xhr.status == 200);
function processRequest(e) {
if (xhr.readyState == 4  && xhr.status == 200) {
var response = JSON.parse(xhr.responseText);
document.getElementById("bot").src="https://webchat.botframework.com/embed/lucas-direct-line?t="+response
}
}


Resource Quota Draft

Alena, can I please get some feedback on the draft I wrote for Resource Quotas?
You can view the actual draft page at https://staging.rancher.com/docs/rancher/v2.x/en/k8s-in-rancher/projects-and-namespaces/project-quotas/

resources being things like data or processing power.

can we drop "data" from the example as we are not exposing storage quota in the UI? Only cpu/memory/resource limits (like number of pods) are available

Resource quotas in Rancher work similarly to how they do in the native version of Kubernetes.

We should mention that Rancher implementation leverages native Kubernetes Resource Quota concept.

In a standard Kubernetes deployment, resource quotas are applied to individual namespaces.
Quotas are applied to individual namespaces, rather than collectively. Even though each quota sets the same limits, a unique quota is applied to each namespace.

Even though each quota sets the same limits - We should perhaps be more clear on the use case we are trying to solve. That sometimes admin wants the same resource quota to be applied to multiple namespaces. Also from administrator perspective, it would be nice to define the quota on the project, so every namespace created in the project would have the default resource quota set, so user doesn't have to enter it.

When the overall limit for the project is exceeded, Kubernetes uses logic to determine which namespaces to stop to get back under the quota.

Not quite true. We enforce the limit on the API level by disallowing the namespace creation if its resource quota exceeds the limit available on the project. We do not stop the existing namespaces.

If an individual namespace exceeds its namespace limit, Kubernetes stops anything objects in the namespace from operating.

Same here.
More to add:
We should describe that quota defined on the namespace will get propagated to kubernetes cluster, and Kubernetes native capabilities will enforce that all the resources created within the namespace, will be within the namespace quota. Like if user tries to start the workload which CPU request exceeds the namespace limit, the workload creation would fail.
We should emphasize that on namespace creation, if the quota defined on the namespace, exceeds the quota available on the project (considering all existing namespaces and their quotas), the namespace creation would fail. Admin would have to adjust the project quota by increasing the limit.

@alena1108 and @deniseschannon , I've completed a draft for resource quotas. It's a long one, so enjoy!

related to #527

@deniseschannon , are we waiting on anything to close out this issue?

I can't merge to staging as it will cause staging to be stuck in being able to be moved to live. @MBishop17


Allow path (build context) to be overridden

This change allows users to manually define the build context location for situations where the current working directory is not desired.

Closes #80
Example

build:

prefect_docker.deployments.steps.build_docker_image:
id: build_image
requires: prefect-docker>=0.3.11
image_name: testengine
tag: v1
dockerfile: ./engine/dockerfile
push: False
path: /home/kvalenti/core

Checklist

[X] This pull request references any related issue by including "Closes #<ISSUE_NUMBER>"

If no issue exists and your change is not a small fix, please create an issue first.

[ ] This pull request includes tests or only affects documentation.
[ ] Summarized PR's changes in CHANGELOG.md

Hi @desertaxle
Do you know if something is blocking this PR/Review ?
Any progress on this PR would be greatly appreciated :-)

Thanks for the contribution @kvalenti! Can you please write a test covering this new functionality and add an entry to the changelog?

Hi @kvalenti,
Thank you for this addition, in particular because I need it for my job. Do you knoe if you'll have time to make the final changes necessary for it to be merge?
If you don't have. I would be happy to do those.

Any update on this @desertaxle? This is urgently needed :) Thanks for any update!


'call' seem doesn't work

What I am trying to do: call Smart Contract on Nebulas
Contract Address: n1f4tzQJjoQaUQzDmf7uXP8SC2LTzYYjvAE
And I found call in neb.rb
https://github.com/NaixSpirit/neb.rb/blob/a0d1a4dc54e52d65bd195c556395584d24cbee56/lib/neb/client/api.rb#L30-L42
Usage
    client = Neb::Client.new
    resp = client.api.call(
      from: account.address,
      to: 'n1f4tzQJjoQaUQzDmf7uXP8SC2LTzYYjvAE',
      value: 0,
      nonce: account_state[:nonce].to_i + 1,
      gas_price: 1000000,
      gas_limit: 2000000,
      contract: contract.to_json,
    )

seem doesn't work.
So I use following, (send request myself)
    testnet = 'https://testnet.nebulas.io'
    query_address = 'n1XL3BsqPiGMFkL9tAxnKziRyQ1L57kDWRz'
    response = RestClient.post("#{testnet}/v1/user/call",{
        "from": "n1XL3BsqPiGMFkL9tAxnKziRyQ1L57kDWRz", # 用测试网钱包
        "to": "n1f4tzQJjoQaUQzDmf7uXP8SC2LTzYYjvAE",   # 合约地址
        "value": "0",
        "nonce": 20,
        "gasPrice": "1000000",
        "gasLimit": "200000",
        "contract": {
          "function" => "balanceOf",
          "args" => "[\"#{query_address}\"]"
        }
      }.to_json
    )

    render json: response.body

not sure what's going on for now, I am opening this issue to just let you know.

Did you configure Neb first?
Neb.configure(host: 'https://testnet.nebulas.io')

@NaixSpirit  Thanks for reply.
and Yes I did configure
   Neb.configure(host: 'https://testnet.nebulas.io')

now I am switch my focus to some other work, not Nebulas anymore,
I may come back on this after few day or few week, if this happen again,
I would let you know
let me close this issue for now
Thanks again for reply


fastd: v18 → v19

Motivation for this change
New upstream release. The repository moved to GitHub.
https://fastd.readthedocs.io/en/stable/releases/v19.html
Things done

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

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

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

@fpletz

Why unicode!? → This prevents our bot from putting the right labels to your PR.

FYI: Unicode arrows do not affect the bot's functionality in any way. IIRC, we look for a colon and then split on that to get the package attribute -- we don't care about anything past that colon (though this is probably how we'd implement automatically adding the 8.has: package (update) label). However, the contributor's guide itself suggests -> be used, so it would be nice if we could all stick to that convention :wink:
The real reason evaluations didn't start originally was because of a missing enum variant when dealing with GitHub's API; this has since been fixed.
Side note: ofborg does not look at PR titles,  but commit titles.


Webpage System

Any particular reason to use Pelican?
Jekyll would have the benefit of github directly supporting it, so no need for the multiple branch stuff. (Running example: https://github.com/karpathy/karpathy.github.io )
I don't know anything about either of these two, except they use markdown and generate static pages.

I use Jekyll for my website and I'm not very happy with it. It takes VERY much time to compile (see https://github.com/jekyll/jekyll/issues/1855)
In contrast, Pelican (currently, which is an unfair comparison) runs in a fraction of a second.
The multiple branch stuff is probably not necessary. I made this, because I thought it would be nice to separate generated pages from source files. I did the same thing with Jekyll.
But I don't know much about either of them. If you know more / have suggestions how to do better, they are always welcome :-)

jekyll/jekyll#1855 They got defensive real fast :D

The multiple branch stuff is probably not necessary. I made this, because I thought it would be nice to separate generated pages from source files. I did the same thing with Jekyll.

Exactly, but afaik Github does that automatically, you just push the source to master and they automatically build it on their pages server.

They got defensive real fast :D

Indeed. Another reason to use Pelican is that I feel more comfortable with Python than with Ruby.
(see also: http://arunrocks.com/moving-blogs-to-pelican/#so-what-was-wrong-with-jekyll)

It also seems like they implemented incremental page regeneration https://github.com/jekyll/jekyll/pull/3116 so shouldn't that mostly fix it?

Yes, probably. But I still feel more comfortable with Python than with Ruby. If there isn't a reason for Jekyll, I would stick with Pelican.

No, I guess it's fine as is.


Feature: User can select stream and event for the xdf input format

Is your feature request related to a problem? Please describe.
Currently, for the xdf-based inputs, the trigger event used for cutting the traces can only be set when the cachefile is being  created, which is currently hard-coded to use the  localite_marker stream and the coil_0_didt event.
Being based in LSL markers reduces the accuracy slightly. Yet, apparently, accuracy is insufficient, as the processing duration introduced by waiting for a response from Localite 4.0 adds additional jitter.
Describe the solution you'd like
There are several ways to improve the accuracy for the xdf input format. One is to be able to select stream and event during cachefile creation. This requires to implement the corresponding CLI.
Describe alternatives you've considered
The other is being able to correct the onset of the trigger manually (or automated) during visual inspection with the GUI. This should be implemented anyways, as it would be useful for all input formats. (see this request).

Probably also closable because the feature is no longer a requirement per meeting from 24.04.20