Logging in the library is shown.

Can this be shown only if its set as debug:true?

Yes I will try to do it in the next release too

can you test on flutter_meedu_videoplayer: ^4.0.9-dev.1
showLogs can be set to false to disable logs

fixed on 4.0.9


Hover issues

Continuining on from this reply:
"Your VRPN server should publish to "/crazyflie". "/crazyflie/base_link" is only required for visualization in RVIZ, and you can easily add a static transformation (see https://github.com/whoenig/crazyflie_ro ... launch#L40).
You said you can take-off: Does that mean autonomously? That indicates that your optitrack works fine (otherwise it would just not take off). Are you using CF 1.0 or 2.0? Which firmware are you running?"

I have configured the server to publish to /crazyflie
Yes I can take off
Currently the crazyflie ramps to 50,000 then cuts out. - I have tried it with 3 different crazyflies and still the same issue
Using CF 1.0 - I am using the fimrware source from your github.

I have attached my frame configuration and graph of the ros environment.

At 3.: What does "cuts out" mean? The motors suddenly stop and it drops down?
I never tried the current hover controller with a CF 1.0, so there might be some tuning required to keep it stable. In particular, there is a YAML file with all the constants I am using: https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_controller/config/crazyflie2.yaml
(And there is no crazyflie1.yaml yet...)
Your frame and graph look fine to me.

Yes, that's correct. It begins to hover, then drops.  I have modified the crazyflie2.yaml.

I've used the standard constants supplied by the firmware.
The Optitrack axis uses Y in the positive upward position - where as the crazyflie ros package uses Z as the upward axis.
Q1. Are the units of the coordinates in cm or m?
Q2. I have swapped the outputs published by the vrpn to match the crazyflie ros ( Y upwards) including quanterions
Q3. Is it possible to have a dynamic rate for the subscriber to tf and pose in controller.py? Ive noticed the vrpn frames average slightly vary around 120.5-121.5hz or am I on the wrong track ?

Q1, Q2: Everything follows the ROS standards, i.e. units are in meters, the coordinate system is right-handed with Z up (see http://wiki.ros.org/geometry/CoordinateFrameConventions for more details). You would need to make sure that the data you get from OptiTrack matches that (however, if you use an OptiTrack ROS package, this should take care of that for you.) Which VRPN/OptiTrack package are you using?
Q3: The controller always uses the latest frame, i.e. it doesn't really matter if there is a slight delay. In fact, by default the controller update frequency is set to just 50 Hz (this allows to get more CFs on a single radio; feel free to increase the number if you work with a single CF or use one radio per CF). It is a parameter for the controller, see https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_controller/src/controller.cpp#L248 for details. You could set it to 120 to get best performance - faster doesn't really help since your MoCap is not faster anyways.

Q1. I am using the Vrpn Client Ros Indigo (http://wiki.ros.org/vrpn_client_ros) with Optitrack Motive: Tracker 1.8 (http://www.optitrack.com/products/motive/tracker/).
Optitrack defines its coordinate system as:
Y_optitrack (up) "Yaw"
X_optitrack ( Across) "Pitch"
Z_optitrack ( Towards yourself) "Roll"
I've swapped the variables to match the ros system.
x_ros = Z_opitrack "roll"
y_ros = X_opitrack "pitch"
z_ros = Y_opitrack "yaw"
Q2. I've set the rate of the topic /crazyflie/goal to 120hz to match the vrpn rate.
Q4. I assume that controller.py changes the PID values for the crazyflie quadcopter OR its the PID values for the control parameters for the ROS environment pose estimation?

Q1: Optitrack uses a left-handed coordinate system, while ROS using a right-handed one. Hence, just swapping variables is not enough, you also need to swap the sign. Also make sure that you adjust the whole pose (i.e. position and orientation).
Q2: Sounds great!
Q4: The ROS driver does not touch the PID controller onboard. All the parameters are for the position controller (which is part of the ROS stack and a set of PIDs for x,y,z, and yaw.) You'll need to tune those even if your PIDs on-board are fine.

Q1. I have alligned the frames to reflect opitrack
Q4. Okay what is the purpose of and what do they do?
crazyflie2.yaml : I modified the PID parameters for the ros control here.
i.e 'rostopic echo /crazyflie/controller/PIDs/x/kp' returns the .ymal kp,ki, kd values
controller.py: The PID values here at https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_controller/scripts/controller.py
From my understanding they are involved with the ros control?

Q1: Which format is the second file?
Q4: The onboard controller is an attitude controller. It takes thrust, roll, pitch, and yaw and makes sure that the CF reaches that pose. The outer (ROS) controller is a position controller, i.e. it takes a goal position (x,y,z,yaw) as input and computes the attitute (roll,pitch,yaw,thrust) as output. The current controller achieves that by using PIDs on x,y,z,yaw independently. This is by no means the best way to do it. Changing the yaml-file just updates that outer PID values. You would not need to update it for a CF2.0, but possibly for a CF1.0.
controller.py is not used anymore (I should go ahead and delete that). Everything is in C++. Make sure that your launch file uses the C++ controller (see https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_demo/launch/hover_vicon.launch#L28-L30). It looks like the vrpn-version of that launch file was not updated accordingly.

Q1:

Second file is the echo from /tf within the ROS environment.
This diagram explains how I've attained my values: https://www.dropbox.com/s/073w546dxrx2k0u/Optitrack to ROS frames.pdf?dl=0
I've changed the values in the vrpn_client_node.cpp (https://github.com/clearpathrobotics/vrpn_client_ros/blob/indigo-devel/src/vrpn_client_ros.cpp)

  tracker->pose_msg_.pose.position.x = tracker_pose.pos[1]*-1;
  tracker->pose_msg_.pose.position.y = tracker_pose.pos[0];
  tracker->pose_msg_.pose.position.z = tracker_pose.pos[2];

 tracker->pose_msg_.pose.orientation.x = tracker_pose.quat[1]*-1;
  tracker->pose_msg_.pose.orientation.y = tracker_pose.quat[0];
  tracker->pose_msg_.pose.orientation.z = tracker_pose.quat[2];
  tracker->pose_msg_.pose.orientation.w = tracker_pose.quat[3];

Note: I've changed it for angular and linear accel too.
Q4. I've checked my launch file it does use the crazyflie2.launch file

Q1: Great! I think that is the correct approach.
Could you add some debug output to print the transform:
https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_controller/src/controller.cpp#L169
and also use rostopic echo /crazyflie/cmd_vel to see what the output is? It looks to me that for some reason once the controller switches to "Automatic" mode the thrust suddenly becomes 0. This could be either by a wrong transform or wrong PID values.

Unfortunately I have spent about 3 hours to print the transform. Is there a simple line that you could provide me?
ROS_INFO just prints out where it is unfortuantely I've used ROS_DEBUG but it won't let me print the transform.
Main console: https://www.dropbox.com/s/lzskkkguq82d8uv/main_console_log.txt?dl=0
rostopic echo cmd_vel: https://www.dropbox.com/s/q7sdime7hpgzxqj/cmd_vel_log.txt?dl=0
Notes:

When Optitrack cannot track the crazyflie it remains in automatic mode - Should it jump to "emergency" when it isn't tracked?

Is it possible if we could perhaps Skype, I am in Australia Melbourne? - It would be great to get this system working considering how far I've gone. This project is basically overdue, so any help would be greatly appreciated!

I don't think there is a out-of-the-box way to print it. You can use the following (put it after the lookupTransform call):
ROS_INFO("Is: [%f,%f,%f], Goal: [%f,%f,%f]", transform.getOrigin().getX(), transform.getOrigin().getY(), transform.getOrigin().getZ(), m_goal.pose.position.x, m_goal.pose.position.y, m_goal.pose.position.z)
Technically we are only interested in the z-position since the motors simply seem to shut down once you enter the Automatic mode. Your cmd_vel topic output is strange - the z component constantly switches between the minimum (10000) and maximum (60000) value. That either means the units are wrong or that you get weird outlier data from your motion capture system.
The controller assumes that the Mocap is "mostly" working, i.e. it takes the latest transformation. If there are longer periods of none-tracking it simply won't work. I didn't make the attempt to automatically go into emergency mode in that case. It would be an option for the future though. In general you should get an updated pose at least about 30 times per second for reasonable performance. You can use your joystick to enter emergency mode manually (red cross on an XBOX controller).
I don't think that skype will help much here. At the end I will need to look at the data you are providing me and that is easier/more efficient using github. I am on Pacific Standard Time.

Okay So I have the current output taken from the transform: https://www.dropbox.com/s/89833prpl2dtk9p/transform_log.txt?dl=0
I have looked at the units and echo'd a direct coordinate from optitrack below:

Optitrack: https://www.dropbox.com/s/8vjbr2mjimbhqpg/optitrack_coordiantes.png?dl=0
Ros system: https://www.dropbox.com/s/u0wohlxswfo0jcb/tf_echo_transform.png?dl=0

I noticed maybe the quanterions don't match even when I have converted them from degrees to radians.
I.e Assuming my switching of axis is correct from the diagram above.
let Z_ros = Y_optitrack
Z_ros = 0.0229471mm ~ Y_vrpn = 22.9191 mm
Z_ros_ ROTATION= 0.012567 rads
Y_vrpn_ORIENTATION = -86.455 degrees  ==  -1.508924405 rads
Which is unusual ..  I think this is where the problem is.
From the Vrpn_client my current configuration is:
tracker->pose_msg_.pose.position.x = tracker_pose.pos[1]*-1;
tracker->pose_msg_.pose.position.y = tracker_pose.pos[0];
tracker->pose_msg_.pose.position.z = tracker_pose.pos[2];
tracker->pose_msg_.pose.orientation.x = tracker_pose.quat[1]*-1;
tracker->pose_msg_.pose.orientation.y = tracker_pose.quat[0];
tracker->pose_msg_.pose.orientation.z = tracker_pose.quat[2];
tracker->pose_msg_.pose.orientation.w = tracker_pose.quat[3];

For the first log: can you include the cmd_vel output as well (print it using ROS_INFO too)? So far it seems very strange on all axis. For the z-component you would expect that it should reach its goal (but it doesn't). For the x/y it seems to diverge rather than converge...
The easiest way to test your transformation is to visualize it in RVIZ. If you use the launch files I provided, there should be already RVIZ visualization support. Just don't press the take-off button on the joystick, but move the Crazyflie manually and see if RVIZ shows the movement (translation and rotation) correctly. Your code seems correct to me, but there could be other issues with the approach (such as a bug in the VRPN optitracker server).
Even if there is an issue with the rotation, the Crazyflie should still reach its goal height as the z-controller works independently of any rotation.

Okay so this is the updated log: https://www.dropbox.com/s/nh02i4ax7lful4j/transform_cmd_vel_log.txt?dl=0
I've looked at the translations they are correct but the rotations dont seem to match up which is puzzling me...

Great! What was the issue?
For x/y I would leave ki 0 (or close to 0). Try reducing kp. You can also reduce the min/max allowed angles to avoid fast movements.
You only need to change thrust if there is an issue with height stabilization. Typically the height is not very stable initially, but gets better over time after the controller adjusted the integral portion.
Try to fly higher - at least 0.5, better 0.7m. Otherwise you do get ground-effects (if you hover at 0.3m manually using the joystick you'll see what I mean).

The issue was:

Accuracy / calibration of Optitrack system - I did a full recalibration
Changed the positon of the markers so that the propelers do not interfere

Currently you have a high Kd value within the .yaml file, I was under the impression that we do not need KD
Thank you for that, will try the 0.5-0.7 and see how that goes and will tune it.

@whoenig I have modified the demo.py script to fit for stampedtransform
Edited demo.py: https://www.dropbox.com/s/4uij5n9z9k2nyp9/demo.py?dl=0
Edited demo1.py: https://www.dropbox.com/s/ze3zfytb30vfn6v/demo1.py?dl=0
Edited: hover_vrpn_waypoint.launch: https://www.dropbox.com/s/2tpb8hy99vptu4q/hover_vrpn_waypoint.launch?dl=0
let me know what you think? I will try these scripts tomorrow.

I am going to create another thread since there is a different issue

Hi @jakestmart @whoenig I was trying to hover a CF 2.0 and as mentioned above I used hover_vrpn_waypoint.lauch and made all the changes as well. I'm getting errors regarding use of demo1.py (Below are the specified errors)

Which branch is this? demo.py on the master branch doesn't even have line 53 (https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_demo/scripts/demo.py).

Hi @whoenig ! Thank you for the quick reply. I'm using the modified demo.py and demo1.py uploaded by @jakestmart . Although I got rid of some indentation errors in demo.py .
But now the CF won't remain in flight for long after the takeoff command(It hovers and then drops by itself).
I've introduced the changes in vrpn_client_ros.cpp as mentioned above and highlighted in the given file.
vrpn_client_ros.pdf
The CF works fine with cfclient and I've done recalibration twice as well.
Any help would be appreciated.

Does normal takeoff+hover work (i.e. without the use of the demo script)? Also, you should be able to rule out issues with your VRPN changes just by looking at RVIZ and checking if the shown position matches ROS standards by moving it around manually (without flying).

Hi @jakestmart understand that you edited the vrpn_client_ros.cpp , to tracker_pose.pos[1]*-1 .. etc I am not able to run that config, but more of i kept running the old one even though I have changed. I am very new to ROS, May I know what are steps taken to reconfig to this new setup?
Also does ur
tracker->twist_msg_.twist.angular.x = pitch
tracker->twist_msg_.twist.angular.y = yaw
tracker->twist_msg_.twist.angular.z = roll
Look like that?


AC2 MLP Policy pdparam

I would like to utilize the MlpPolicy with AC2:
class MlpPolicyCustom(object):
    def __init__(self, sess, ob_space, ac_space, nbatch, nsteps, reuse=False): #pylint: disable=W0613
        ob_shape = (nbatch,) + ob_space.shape
        actdim = ac_space.n
        X = tf.placeholder(tf.float32, ob_shape, name='Ob') #obs
        with tf.variable_scope("model", reuse=reuse):
            activ = tf.tanh
            h1 = activ(fc(X, 'pi_fc1', nh=64, init_scale=np.sqrt(2)))
            h2 = activ(fc(h1, 'pi_fc2', nh=64, init_scale=np.sqrt(2)))
            pi = fc(h2, 'pi', actdim, init_scale=0.01)
            h1 = activ(fc(X, 'vf_fc1', nh=64, init_scale=np.sqrt(2)))
            h2 = activ(fc(h1, 'vf_fc2', nh=64, init_scale=np.sqrt(2)))
            vf = fc(h2, 'vf', 1)[:,0]
            logstd = tf.get_variable(name="logstd", shape=[1, actdim],
                initializer=tf.zeros_initializer())

        pdparam = tf.concat([pi, pi * 0.0 + logstd], axis=1)

        self.pdtype = make_pdtype(ac_space)
        self.pd = self.pdtype.pdfromflat(pdparam)

        a0 = self.pd.sample()
        neglogp0 = self.pd.neglogp(a0)
        self.initial_state = None

        def step(ob, *_args, **_kwargs):
            a, v, neglogp = sess.run([a0, vf, neglogp0], {X:ob})
            print("a:", a)
            return a, v, self.initial_state, neglogp

        def value(ob, *_args, **_kwargs):
            return sess.run(vf, {X:ob})

        self.X = X
        self.pi = pi
        self.vf = vf
        self.step = step
        self.value = value

However the following line concatenates the policy tensor along axis=1, changing my ac_space shape from shape=(2,10) to shape=(2,20):
pdparam = tf.concat([pi, pi * 0.0 + logstd], axis=1)

What is the purpose of concatenating the policy along this axis with logstd?

The MlpPolicyCustom code that you are providing seems to work specifically with the continuous action spaces (gym.spaces.Box), in which gaussian distribution is used to generate stochastic policy (i.e. mlp network outputs means and logs of standard deviations of a gaussian distribution, and action selection is performed via sampling from this distribution; note also that in the current implementation logstd is not actually being output by neural network, rather, is being set externally). In the latest version of master branch we have updated the policy distribution API to build proper output layer for policy network given different types of action spaces, see e.g. here https://github.com/openai/baselines/blob/9cf95a00542dc87b413e765d8c0fdcf0b1684cdc/baselines/ppo2/policies.py#L135 and here https://github.com/openai/baselines/blob/9cf95a00542dc87b413e765d8c0fdcf0b1684cdc/baselines/common/distributions.py#L86

pzhokhov thank you for your response. I should have provided more information though:
The action space I am working with is gym.spaces.Discrete.  I subclass my own custom environment with the following:
class CustomEnvWrapper(CustomEnv):
    def __init__(self):
        self.action_space = gym.spaces.Discrete(10)
        self.observation_space = gym.spaces.Box(low=0, high=1000, shape=(23,))
        super(CustomEnvWrapper, self).__init__()

I understand how Actor Critic (AC2) is performing gradient ascent to maximize the performance function (pi). In my case this is a discrete probability distribution over the discrete action space.
However I don't see the purpose of the logstd.  We are already performing softmax with logits in calculating pgloss within a2c.py:
neglogpac = tf.nn.sparse_softmax_cross_entropy_with_logits(logits=train_model.pi, labels=A)
pg_loss = tf.reduce_mean(ADV * neglogpac)


Potential memory leak in PEM_read_bio_X509?

Dear Team,
We are using version 1.1.1j in 64bit on Windows platform and our MemoryTool (Microfocus DevPartner Studio) reported this stack.

CRYPTO_malloc           mem.c             222
CRYPTO_realloc          mem.c             246
ASN1_STRING_set         asn1_lib.c        295
asn1_ex_c2i             tasn_dec.c        906
asn1_d2i_ex_primitive   tasn_dec.c        780
asn1_item_embed_d2i     tasn_dec.c        220
asn1_template_noexp_d2i tasn_dec.c        643
asn1_template_ex_d2i    tasn_dec.c        518
asn1_item_embed_d2i     tasn_dec.c        382
asn1_template_noexp_d2i tasn_dec.c        643
asn1_template_ex_d2i    tasn_dec.c        518
asn1_item_embed_d2i     tasn_dec.c        382
asn1_template_noexp_d2i tasn_dec.c        643
asn1_template_ex_d2i    tasn_dec.c        518
asn1_item_embed_d2i     tasn_dec.c        382
ASN1_item_ex_d2i        tasn_dec.c        124
ASN1_item_d2i           tasn_dec.c        114
d2i_X509                x_x509.c          109
PEM_ASN1_read_bio       pem_oth.c          31
PEM_read_bio_X509       pem_x509.c         18

We're going to need a lot more information to have a hope of diagnosing this one.
What configuration options did you use when building and installing OpenSSL?
Do you have a minimal reproducer you could share?

Obvious question: do you actually free the X509 object returned by PEM_read_bio_X509() using X509_free()? Also keep in mind that X509 objects are ref counted, i.e. if you up the ref count using X509_up_ref(), then you will need to call X509_free() multiple times (once for each ref).

I build the debug versions based on this config:
perl Configure debug-VC-WIN64A no-asm --prefix=c:\data\temp\openssl_output
X509_free() is called finally. I do not call X509_up_ref() in my source.
I try to build a minimal sample where Numega also shows the leak.

I ran into the same issue and I think it is the cached public key that is not properly cleaned up in OpenSSL 1.1.1 - x_pubkey.c - L36
I have not tested with OpenSSL 3.x, but the implementation has changed a lot there and there is code to clean up the key: OpenSSL 3.x - x_pubkey.c - L92

The version 1.1.1 is not supported anymore. Closing. If this is still an issue with currently supported releases, please open a new issue.


A Raft of Fixes To Private Dependencies

Turn the dependency verifier loose on the entire compiler pipeline, not just the typechecker
Fixup the getter for the active dependency source. It was mistakenly set to read the source stack the old way when I refactored this in #31960
Make LookupInModuleRequest a dependency sink
Commit a tricky regression test that verifies we always take a dependency on the underlying type of a typealias.
Perform the unioning step during request replay.

Resolves rdar://64008262

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test

@swift-ci test Windows

Just to see what happens here
@swift-ci test compiler performance

@swift-ci test Windows

@swift-ci test compiler performance

@swift-ci test Windows

(Oops, let's cancel the perf test. I meant to push a different stack of commits before that).

Compilation-performance test failed

⛵


How do I check if my project is already using opanblas

I didn't notice a significant speed-up in my project after following the documentation, so I wanted to make sure that my armadillo was using opanblas for matrix operations

That is really a question for the armadillo people - if there is a command/function in armadillo that shows the configured dependencies. What is your hardware and operating system ? (On Linux, you could probably run ldd on the libarmadillo.so to see what dependencies it has)

That is really a question for the armadillo people - if there is a command/function in armadillo that shows the configured dependencies. What is your hardware and operating system ? (On Linux, you could probably run ldd on the libarmadillo.so to see what dependencies it has)
My operating system is windows 7 and my compiler is Mingw

My operating system is windows 7 and my compiler is Mingw

I would like to know if Armadillo has included Openblas on its own in the windows environment.

It is described in armadillo faq, not here.

As far as I could find out, the binary distribution of Armadillo contains a copy of the OpenBLAS dll - actually the MXE/gcc compiled binaries that I provide with OpenBLAS releases - that is referenced at least by the VS solution file for the example1.cpp that comes with Armadillo. I guess a trivial test would be to remove (rename or zip) this dll and see if your code still compiles and runs. Please direct any followup questions at the Armadillo developers, unless you have a plain C, non-Armadillo code that demonstrates poor performance with OpenBLAS. (There are several reasons why e.g. a simple hand-coded loop may be faster than going through libraries like Armadillo and OpenBLAS - overhead from initializations and thread setup, variables allocated on the heap or the stack, and lastly not all  BLAS kernels in OpenBLAS are equally well optimized on all generations of Intel/AMD cpus)


Recommended changes resulting from automated audit

We performed an automated audit of your Cake addin and found that it does not follow all the best practices.
We encourage you to make the following modifications:

[x] You are currently referencing Cake.Core 0.22.2. Please upgrade to 0.28.0
[x] The Cake.Core reference should be private. Specifically, your addin's .csproj should have a line similar to this: <PackageReference Include="Cake.Core" Version="0.28.0" PrivateAssets="All" />
[x] Your addin should target netstandard2.0. Please note that there is no need to multi-target, netstandard2.0 is sufficient.

Apologies if this is already being worked on, or if there are existing open issues, this issue was created based on what is currently published for this package on NuGet.org and in the project on github.

New version has been published.


Remove "And download our free Tigers Xtra app on Apple and Android!" from body

Fixed & covered by tests.


Increase test coverage

Pull Request Test Coverage Report for Build 272

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.5%) to 86.754%

Totals

Change from base Build 271:
2.5%

Covered Lines:
2659

Relevant Lines:
3065

💛  - Coveralls

Discovered bug for editevent when edited event clashes.

Discovered bug for editevent when edited event clashes.

Fixed bug. Now editEvent works properly.


Throw an exception when Reindex() produces just enough documents for …

…a single bulk but leaves no slots to call MoveNext() which would free up an awaiting task. fixes #2771

Only needed to be backported to master


Add analytics support to platform-app

The platform-app will need analytics support before release. Some thoughts:

It should be easy to toggle analytics on/off and to switch the provider.
There should be a common mechanism for page analytics (eg. HOC for page components?).
There should be a common mechanism for event analytics (eg. HOF for event handlers?).

There are currently helpers used in the genetics-app, which could be moved to ot-ui for reuse in platform-app:

useAnalytics
withPageAnalytics
reportAnalyticsEvent

Ticket closed as basic installation of Google Analytics completed and merged into alpha in #1092


described_module

Would it make sense to add described_module as an alias for described_class for when we are testing modules?

Seems an odd choice to me, if described_class is supposed to be part of the internals, why is it exposed?  I have personally worked on code-bases where class/module names are long and described_class is a godsent alternative to the politics of a global name-change campaign :smile: If anyone else finds themselves in need of this feature, then an easy implementation is  simply to have
def described_module
  described_class
end

in the configuration section of your spec_helper.rb.

@JonRowe Hello, I would like to open this issue, eventually to prepare PR for this.
I think there is a room for described_module to be in rspec-core. Ruby supports module_function. And I use it for small functions. In fact, it's similar to Elixir in my case. Better it's to show on some code. Here is one of my recent example.
module Statistics
  module_function def mean(data)
    values.sum / BigDecimal(values.size)
  end

  module_function def variance(values)
    mean = self.mean(values)

    sum = data.inject(0) { |acc, i| acc + (i - mean)**2 }
    sum / BigDecimal(data.size - 1)
  end

  module_function def standard_deviation(values)
    Math.sqrt(variance(values))
  end
end

I really would like to use something like
RSpec.describe Statistics do
  describe '.mean' do
    subject { described_module.mean([1, 2, 3]) }

    it 'returns a correct result' do
      expect(subject).to eq(BigDecimal('2'))
    end
  end
end

:wave: I'm hesitant to add this because we'd rather people didn't use described_class or constants in describe <n>, the reasoning being its an anti-pattern in your tests. Having the module / class in the describe means the code must be loaded before the spec is loaded, where as delaying the need for the module to be loaded allows much easier testing in isolation.
We'd also much rather you use subject(:mean) { Statistics.mean([1,2,3]) } (and thus expect(mean) for example) as its explicit about what is going on and not some nameless thing.
You could always add let(:statistics) { Statistics } if you really wanted to avoid changing the constant everywhere if you needed to change the name, but thats adding code just in case you want to rename (when editors make it easy to rename...) it's also easy to do yourself if you really must.

We'd also much rather you use subject(:mean) { Statistics.mean([1,2,3]) } (and thus expect(mean) for example) as its explicit about what is going on and not some nameless thing.

@JonRowe This is completely off-topic, so please feel free to redirect me elsewhere. Does the RSpec team officially recommend using subject to store the result of a method call on the object under test? I always assumed subject is meant to be the object under test. If this was already discussed elsewhere I'd be happy to read about it.

@mfilej The RSpec team recommend subject(:something_appropriate) is used to highlight the er... subject... of the context (or contexts). This is usually an object, but of course in Ruby, everything is an object, and if the object under test is returned from a method thats totally valid.

because of course in Ruby, everything is an object

Of course, that's why I said the object under test, i.e. the unit of code that is being tested (usually) by sending messages to it.
While the result of a method call is technically also a ruby object, in my opinion that is not what is being tested—it is just a value that helps us verify that the object under test (that received the message that produced the value) is behaving correctly.

@mfilej apply testing style that you consider the right one:
# without `subject`

expect(Statistics.mean([1,2,3])).to eq(2)

# or with a helper method

def mean(*args)
  Statistic.mean(*args)
end

it { expect(mean(1, 2, 3)).to eq(2) }

# or a named subject

subject(:mean) { Statistics.mean(1, 2, 3) }
it { expect(mean).to eq(2) }

It depends on how you structure the examples, if you reuse the same subject, or different examples/groups make expectations on different subjects.

The point of subject(:name) { ... } is to draw attention to the fact the result under test is extracted to what is essentially a let. This is one of the reasons we recommend always naming it. I would never really expect someone to do a_subject_name.some_method.

@JonRowe wrote:

👋 I'm hesitant to add this because we'd rather people didn't use described_class or constants in describe <n>, the reasoning being its an anti-pattern in your tests.

If I understand correctly, you mean that:
# constant form (bad anti-pattern)
RSpec.describe MyGem::MyClass do
# string form (good)
RSpec.describe 'MyGem::MyClass' do

If so, I'd like to voice my disagreement. I personally like the first (constant) form much better.

Having the module / class in the describe means the code must be loaded before the spec is loaded, where as delaying the need for the module to be loaded allows much easier testing in isolation.

I've not had issues with this and believe that it is not a concern in the vast majority of cases.
Reasons I believe this is a common experience include:
rspec-rails generators create some specs with string versions, and others as constant versions. The most used ones (i.e. model_spec, controller_spec, helper_spec) all use the constant form.
rspec-core's own test suite has more than 60 examples of the first (constant) form and I could only find 4 examples of the "string" format ('RSpec::Core::Set', 'RSpec::Core::Profiler', "::RSpec::Core::ExampleGroup", "Bisect").
I didn't go through all the documentation, but ExampleGroup has only examples of the first (constant) form.
A bit tangential, but I'll mention that rubocop-rspec has a cop that enforces, within a describe MyClass group, that either MyClass or described_class is always used. It's default is to enforce the use of described_class.
I hope that helps you reconsider your view on the constant form in describe and add described_module without hesitation. Let me know if I should open a new issue.

I hope that helps you reconsider your view on the constant form in describe and add described_module without hesitation. Let me know if I should open a new issue.

It does not.

Sorry that was a bit terse, pre coffee 😂 , allow me to elaborate.

If I understand correctly, you mean that:
# constant form (bad anti-pattern)
RSpec.describe MyGem::MyClass do
# string form (good)
RSpec.describe 'MyGem::MyClass' do

If so, I'd like to voice my disagreement. I personally like the first (constant) form much better.

You understand correctly, I respectfully register your differing personal opinion but that doesn't change my opinion.

Having the module / class in the describe means the code must be loaded before the spec is loaded, where as delaying the need for the module to be loaded allows much easier testing in isolation.

I've not had issues with this and believe that it is not a concern in the vast majority of cases.

Using the constant means its impossible to delay booting rails for example, until you see if you actually need to boot rails. We came to this opinion when working on PORO style Rails apps, if you follow the Rails way it's less of a problem because you are always writing integration level tests and need to have booted Rails anyway.

rspec-rails generators create some specs with string versions, and others as constant versions. The most used ones (i.e. model_spec, controller_spec, helper_spec) all use the constant form.

The generators are a bit neglected and so they haven't been updated, most of the RSpec team in recent years have either not used rspec-rails in their day job, or don't use generators.

rspec-core's own test suite has more than 60 examples of the first (constant) form and I could only find 4 examples of the "string" format ('RSpec::Core::Set', 'RSpec::Core::Profiler', "::RSpec::Core::ExampleGroup", "Bisect").

You'll note those are some of the more modern code, since forming this opinion we haven't gone back and stringified all of the older modules because of the churn that would cause, as we don't have any expensive code to load its not something we have an issue with.

A bit tangential, but I'll mention that rubocop-rspec has a cop that enforces, within a describe MyClass group, that either MyClass or described_class is always used. It's default is to enforce the use of described_class.

A lot of rubocops opinions differ from ours, we have to configure it to meet our own test suite needs. No advice was sought from us for their defaults.

Thank you for the (second 😅) reply. It might help me and others understand if there was a real-life example (gem or app) where using strings makes a positive difference we could refer to.

I've collected some arguments pro and contra here https://github.com/rubocop-hq/rspec-style-guide/issues/104
The feedback is controversial, so unless we have some brilliant new idea we should probably not touch anything related to described_class.

Consider a spec suite for a Rails app containing various specs:
# spec/models/user_spec.rb
require "rails_helper"
RSpec.describe User, type: :model do
end

# spec/service/service_spec.rb
RSpec.describe Service, type: :service do
end

With constants, like this, running rspec --tag type:service requires booting Rails, as it requires having knowledge of User which is not a trivially requirable on its own, due to the nature of Rails.
The alternative is something like this:
# spec/models/user_spec.rb
RSpec.describe "User", type: :model do
  before(:all) do
    require "rails_helper"
  end
end

# spec/service/service_spec.rb
RSpec.describe "Service", type: :service do
  before(:all) do
    require "lib/service/service.rb"
  end
end

Now when running rspec --tag type:service only the service code is loaded, and no Rails need be unnecessarily loaded and booted.


Mutation-safe version of each

I noticed when iterating over a Backbone.collection with each and destroying a model, it skips one, for instance
  foos.add [
    {x: '1'}
    {x: '2'}
    {x: '3'}
  ]

  foos.each (m) -> # or _(foos.models).each
    m.destroy()

Only the first and third get destroyed. Should a version of each be made that will still provide every element, or should I get the length and make a regular for loop and decrement the iterator after destroying?

This isn't really an Underscore question, but no -- we shouldn't be providing a "mutation-safe" version of each. Instead, clone the array before you iterate it for mutation:
_.each(_.clone(collection.models), function(model){ model.destroy(); });


Integrate the extension into installation script and CI

This PR will make installing the JupyterLab extension for highlighting Lean 4 code in cells easier, usability issues of highlighting are also fixed.

OK, now we have sensible highlighting even for https://github.com/pygments/pygments/blob/master/tests/examplefiles/lean4/Test.lean , and it no longer freezes the browser.
The remaining issue is that it seems to make other language kernels also highlight the code as Lean 4.

With Michał Krassowski's help from https://discourse.jupyter.org/t/how-to-enable-codemirror-extension-only-for-the-target-kernel-language/30188 , now the extension will only apply to Lean 4, not Python/Rust etc. per my test.


Is there any way to add global schema in RAML file

Hi,
I have generated RAML from spring annotation.
But I now I want to add some common files in "schema" portion.
Please check below file.

If you check above snapshot I can use "httpStatusSchema" is a global variable so that i can use anywhere in my RAML.
Is there any feasibility to add gobal variable.

Don't mind Actually we want to add "schemas" in RAML file ?

This should be quite easy to add to the generated raml - in theory we could be able to "autowire" schemas to responsebody or requestbody objects by name
Currently, the plugin should already be moving schemas to the global section, if this is not working then there is a bug.


Multiple CRD & CRs for 1 controller

I want to create a microservice operator using single controller (I would like to group each apps in different files as files get huge & confusing. also, hard to create nested specs in type.go file).  I don't want to create different controllers for each services as they need to be coordinated by single controller.
I have created multiple CRDs & CRs using commands:
operator-sdk add api --api-version=app.example.com/v1alpha1 --kind=App1
operator-sdk add api --api-version=app.example.com/v1alpha1 --kind=App2
Then I wanted to mange then using single controller, but I have issue with the following:
instance := &appv1alpha1.App1{}
instance := &appv1alpha1.App2{}
App1 works well, but App2 search fails here that it cannot find it (it seems like it is searching with App1 CR name)
r.client.Get(context.TODO(), types.NamespacedName{Name: app2.Name, Namespace: app2.Namespace}, app2resourcedef)
I tried with 2 clients, but it still doesn't work.
r.client1.Get(context.TODO(), types.NamespacedName{Name: app1.Name, Namespace: app1.Namespace}, app1resourcedef)
r.client2.Get(context.TODO(), types.NamespacedName{Name: app2.Name, Namespace: app2.Namespace}, app2resourcedef)
Is it possible to have multiple CRDs & CRs & types to be managed by a single controller?

I think this is explicitly against the design goals for the controller-runtime.
Could you explain further what your trying to do and I could help come up with an alternative implementation?

ok, I wanted to know if it was possible or designed this way. I will figure out other way then. thanks!

@mossuchida,
I'd like to share that you can use/call the type/instance A in controller B if required. See here for example we doing it. I hope that it can be helpful for you.

@camilamacedo86 I am also looking for an example of how to create an operator for microservice oriented architecture. Do you have any refs? For example, there is a system that contains like 10 microservices (most of them are loosely coupled, but there is some tightly coupled or dependencies like service A depend on the database, service B on cache, etc...), what would be the way to go? I must create CRD and controllers for each service or?  Do you have any example or documentation that I can check? Everything I found so far si basic examples... like Memcache operator. Thanks!

Hi @nmarcetic,
I believe that the comment https://github.com/operator-framework/operator-sdk/issues/2151#issuecomment-549574954 provides the info that you are looking for with example. Also, see that to manage dependency between operators you can use the Dependency Resolution from OLM. However, if you still requiring a help could you please raise a new issue?

Thank you @camilamacedo86
Yes, referenced comment provides the answer I was looking for. I still think we miss more complex, let's say real-life examples :) and that doc is more focused on theoretical concepts, then practical. So I will open a new issue and try to explain what I am looking for. Thanks!


Introduce ClusterDomainClaim type for DomainMappings

ClusterDomainClaim allows cluster-wide reservations of a particular domain name, to prevent collisions in the shared ingress. The owner of a ClusterDomainClaim owns the domain name of the same name.
Pulled out of https://github.com/knative/serving/pull/9952, discussion in https://github.com/knative/serving/pull/9952#discussion_r513172655.
/assign @ZhiminXiang @mattmoor

/lgtm
/approve
/hold in case @mattmoor has comments :)

I was assuming that'd stay in serving like https://github.com/knative/serving/blob/master/config/core/300-resources/serverlessservice.yaml?

.. having said that, looks like all the other networking crd yamls live in networking. I'll move the domainclaim CRD yaml here and separately PR moving serverlessservice.yaml too for consistency?

SGTM

pushed & spun out https://github.com/knative/networking/pull/256 too.

/unhold

🎉


Setup background task and Add tests for peer discovery

Implement constructor of PropagationNetwork
Setup template for background network task
Modifications in field member of PropagationNetwork
Add tests for the correctness of bootstrapping and peer discovery
Changes in comments

Changed the type for message queue from tokio::sync::mpsc to tokio::sync::broadcast

I forgot to add a timer for the tests. I'll inform you after I fix the tests.


Bing is returning archived versions of Dapr Docs

Steps to recreate

Search bing for "dapr vscode extension"
See v1.2 result as first option

Doesn't appear to be an issue with Google
Recommended steps
Add a robots.txt to the root of the site, with:
User-agent: *
Allow: /$
Disallow: /

This will allow searches to "Dapr v1.2" but nothing else within the site

closing - resolved


Next.js redirects in config broken in rc15

In 3.0.0rc15 redirects in next config such as :
    redirects: () => [{ source: '/settings', destination: '/settings/general', permanent: false }],

No longer seem to work they are working in rc14, my open-next config:
default: {
    override: {
      wrapper: 'aws-lambda-streaming',
    },
  },

From the lambda logs it looks like its being invoked

But the browser just hangs and says the connection is lost for safari and in chrome it takes 20s which is some timeout.

Could you create a minimum repro ?
rc14 is the one with broken redirect for me, and rc15 does work for all the e2e tests with redirect
https://github.com/sst/open-next/blob/v3-rc/examples/app-router/next.config.js

Okay reproduction here https://github.com/cmanou/ion-open-next-reproduction its currently deployed if you go here https://d786ln7hnzo0y.cloudfront.net/settings in safari it just does this
 in chrome it waits for the function timeout and then redirects after 20 seconds

Link to the discord threads discussing this https://discord.com/channels/983865673656705025/1230482660913184800
TLDR; This is an issue with lambda itself and depending on the region and the account, you might not experience this issue at all. Lambda is also probably rolling out the fix

Fixed in 3.0.3
Be aware that there is another issue with streaming that cannot be fixed by us but only by aws. See https://discord.com/channels/983865673656705025/1249368592558985247


Can't zoom with scopes in Modern Warfare Mod

Hi, i have an issue. Idk if I'm configuring bad or what, but when I aim with a scope in Modern Warfare mod, it doesn't zoom. How I can fix it?
Pd: sorry for my bad english :P

Hi, could you explain how this issue is related to Better HUD?

Forget it, I installed both mods and now it works correctly.  I honestly don't know what caused the failure, maybe they didn't download correctly


translateY(100%) breaks entire page on some browsers, use translate(0,100%) instead

I was working on a page and once I got to the testing phase I noticed that all pages using Pickadate were entirely broken. Content could not be scrolled and date picker window opened randomly by itself when tapping around the screen.
After a while I noticed that the plugin does not hide itself properly when it's inactive. Instead of using "display: none" the plugin uses "position: fixed" and "transform: translateY(100%);" to push the content away. TranslateY(y) is a 3D transform and has very poor backwards compatibility. Thus if the browser doesn't support 3D transforms the picker container will not be pushed away properly and will instead cover the entire screen with a transparent element that has a z-index of 10000.
Translate(x, y) on the other hand is a 2D transform and has great backwards compatibility (down to IE9). Why use the translateY when you can just as easily have much better support by using regular translate?
There are also many ways to use "display: none;" and still have the element animated when displaying it. The current implemenation should be changed.

In my case, the picker__holder is showing in bottom of the bootstrap modal. Clicking that area would invoke the picker! Is there an option to disable the animation?


question about align_depth.py

It looks like in your https://github.com/maturk/dn-splatter/blob/main/dn_splatter/scripts/align_depth.py script you might have experimented with a few different monodepth-to-sfm alignment methods... and perhaps settled on a method / code derived from MonoSDF (or MiDaS?) ( https://github.com/autonomousvision/sdfstudio/pull/76/files#diff-dbb421d9d67076bcdfbcd7136b436e0eb4b6801fee775609c2298bd6788dff69R44 https://github.com/nerfstudio-project/nerfstudio/blob/d9b022b25f53f879a34dd522c5ea5b0fe9cf04f7/nerfstudio/utils/math.py#L325  ... )
Your paper briefly mentions it in Section 4.1, but was wondering if you might comment on e.g. any experimental validation that you did?
cc @maturk mebbe
Really cool paper! ☃

Hi @pwais and thanks for your interest :) So I tested the following methods for monodepth-to-sfm alignment:
1.) solve for a per frame shift and scale using gradient descent as described in the paper DepthRegGS
2.) solve for a per frame shift and scale using the closed form solution. This closed form solution is the same that is used in earlier MonoSDF work and also originates from the MiDAS paper.
Regarding the performance of the two methods, I found that the results from the gradient descent method, although in general worked well and I am able to reproduce results similar to the DepthRegGS paper, could result in some annoying outliers when compared to the direct closed-form solutions. So in the end, the closed-form method was chosen because naturally there is no randomness in those solutions.
I also have some legacy code in the scripts to support data from sdfstudio (which do not come with colmap database files, but instead has per frame SfM point files) which could be extended later to support any input dataset, not just COLMAP processed ones.
Hope this helps a bit.

cool thank you!


Update Functions to GA libraries

Test failures are all due to Spanner.
@amanda-tarafa is on vacation, and I'm a SME for both language and API, so I'll self-merge.


Deploy Process after Webpack RFC

https://github.com/newhavenio/newhavenio.github.io/pull/50#discussion_r170363976
Right now GH pages auto deploys off of a commit to master. This works with our assets because we don't have an asset build system, we just serve directly. If we have an asset build system (that #50 would provide), we need to explicitly commit the built assets.
This issue serves an a point of RFC discussion for how to do that. Please comment below.

I see two options both of which means decoupling master from GitHub pages. First have a master and a gh-pages branch. master is the source and gh-pages is the final build (release)
Then we have a build script that knows how to package the release and then deploy it. For example if using gulp you could use gulp-webpack and gulp-gh-pages. Alternatively, you could directly use webpack with the gh-pages-webpack plugin.
Once complete then it is up to someone to run the build/deploy command which pushes to gh-pages. Or if we still want the master trigger a deploy we would setup a travis-ci integration that watches master and will build then run the deploy command.

yeah, I think we want to do travis-ci to trigger the deploy. Maybe that means we serve off of a gh-pages branch instead of master, and have master auto deploy to gh-pages when it "passes"
(of course, there aren't really tests for this, because it's not really an application - if that needs to change, we should add tests :) )
see https://docs.travis-ci.com/user/build-stages/
and https://pauldambra.github.io/using-travis-to-build-jekyll.html
for some details. Looks like we need a key to do the actual push to gh-pages, and to have a separate branch, and to set up travis correctly.
cc @jnimety @NerdsvilleCEO @bsutt123

I'm all about making a better build and deploy process, but I wont be able to take this on for at least a couple weeks until I finish some pressing stuff that I have to take care of within the next 2 weeks to a month. Someone else might have to pick up the webpack PR from where it is and incorporate the other parts of the build process.
So I understand that gulp and webpack do different tasks, but do we really need both for our static jekyll page with a smidge of ES6? It feels like adding gulp in as well would be overkill unless it truly does something that webpack can't. I think it looks like Travis is the best route, but I'm not set on anything.

@bsutt123 @treznick I think the travisci stuff can go off another branch anyhow and we can base it off if this branch... Merge that into this the webpack branch then the webpack branch into master. Thoughts? I don't mind taking this on, unless someone else wants to

Also I'm against the gulp route personally because that is client side, and the deploy is fairly straightforward

So I understand that gulp and webpack do different tasks, but do we really need both for our static jekyll page

You don't have to. There are webpack plugins to deploy to gh-pages. The question is what is more familiar to the widest audience. Some developers know grunt others know gulp and some know only webpack. Heck for that mater we could use Makefiles! It all comes down to a collective choice.
Gulp offers more flexibility and feature sets to do more and more. With webpack it is a very specific task and eventually as things grow you might need more.
I would say we use the tool(s) that whoever is going to need to maintain the Travis-CI build environment knows best.

Resolved in #50


Heads up for canvas

Shaders in Tizen leaks memory and after awhile renders wrong.
Maybe not an issue but if you planning to implement something similar to Pixi.js canvas solution that uses webgl and then fallbacks to standard canvas. Then it could be good to know!

Sure! I'm planning to working on it.
For now I'm working only on finish webos build process and keymap/focus on renderer.
If you want to try have this issue here: #24
Any news I'll update there.


Develop

This PR introduces a number of updates:

Update jinja2
Refactor package name and namespace to candig.
Miscellaneous update on the dashboard,
Update on the README.

Codecov Report

Merging #141 into master will not change coverage.
The diff coverage is 96%.

@@           Coverage Diff           @@
##           master     #141   +/-   ##
=======================================
  Coverage   82.31%   82.31%
=======================================
  Files          37       37
  Lines       17367    17367
  Branches     1649     1649
=======================================
  Hits        14296    14296
  Misses       2434     2434
  Partials      637      637

Impacted Files
Coverage Δ

candig/server/gff3.py
76.05% <ø> (ø)

candig/server/datamodel/obo_parser.py
33.49% <ø> (ø)

candig/server/sqlite_backend.py
100% <ø> (ø)

candig/server/response_builder.py
100% <ø> (ø)

candig/server/DP.py
59.37% <ø> (ø)

candig/server/NCIT.py
0% <ø> (ø)

candig/server/repo/models.py
99.82% <ø> (ø)

candig/server/__init__.py
66.66% <ø> (ø)

candig/server/exceptions.py
98.88% <ø> (ø)

candig/server/configtest.py
0% <ø> (ø)

... and 27 more

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 6646b91...ae90348. Read the comment docs.


Login button disabled when form fields are autofilled

If you're using a password manager (say, one built into your browser), the username and password fields will be pre-filled, but the login button is still disabled.

My password on identi.ca seems to be too short, but is valid. I can't login unless I hack the HTML.

This should be fixed in #1191. Filed a separate issue for the bug @mattl reports.


Wrong documentation

Hello MS team,
Looks like your documentation is outdated. I see that there is option right now to edit Wiki when it's published as a wiki in exactly this same way as Provisioned wiki. So section https://docs.microsoft.com/en-us/azure/devops/project/wiki/provisioned-vs-published-wiki?view=azure-devops#supported-features-and-operational-differences is no longer valid.
Below screenshot from my Wiki in DevOps. Best Matt!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 59cb387d-5f46-0743-efbb-c393c4e5bd85
Version Independent ID: cb6912c2-e640-f992-0a1f-5cbbe88d87dc
Content: Differences between provisioned and published wiki - Azure DevOps
Content Source: docs/project/wiki/provisioned-vs-published-wiki.md
Product: devops
Technology: devops-collab
GitHub Login: @chcomley
Microsoft Alias: chcomley

Hi @mlomat, Thanks for the heads up on this. I've created a user story to address the update. Thanks again!


IMGAnalysis doesn't build with OpenCV 4.0

IplImage has been deprecated from OpenCV 4.0, resulting in failure to compile IMGAnalysis.

hi @qsniyg, currently compressonator IMGAnalysis is using OpenCV 2.49 and the submodule is provided here  .  You can try 'git clone --recurse-submodules https://github.com/GPUOpen-Tools/Compressonator.git' to get the opencv dependency or for already cloned repo, you can try 'git submodule update --init --recursive' . Meanwhile please stay tuned for any furture update on the OpenCV dependency. Thanks.


Linked page not available

The link https://github.com/tomsilver/policies_logic_programs/blob/master/generalization_grid_games is not available

Fixed by install generalization_grid_games from here https://github.com/tomsilver/generalization_grid_games

Whoops, thanks @TommasoBendinelli , the link in the readme is now fixed.


frontend: Added exit class to the cancel button in invite_user.html

Previously, in the invite users modal, the click event of Cancel
(button) triggered the submit-invitation event. (Naturally, if the form
is empty, this throws the validators and doesn’t exit the modal)
Fixed the abnormal action by including the ‘exit’ class to the cancel
button in invite_user.html, line 36.

Automated message from Dropbox CLA bot
@jeremyphilemon, it looks like you've already signed the Dropbox CLA. Thanks!

Looks great, thanks for catching this @jeremyphilemon!  Do you want to set GIT_AUTHOR_NAME to your name rather than your username?  You'll look nicer when credited in the release notes that way :)

@timabbott Thankss! And sure, how do I go about doing that? :D

@jeremyphilemon you can look at git global configuration here.

@lonerz Thank you for the link! I've changed the author name :)

Merged, thanks @jeremyphilemon!


Near Me Widget - Won't Clear Results

When I execute the near me widget and then try to click out, it wont clear the... point location I plotted on the map, the buffer, and the filtered subset of points within the buffer from the search layer.
Here is the link to the app... http://citygov.maps.arcgis.com/apps/webappviewer/index.html?id=a13af1796a0b4755bfd5d9233b104162
Settings...

@ldafner  We are making an enhancement that when you close the NearMe Widget or the District Lookup widget then the buffer and point will clear.
Does that satisfy the customers needs ? or was this just an issue you noticed in testing.
(Side note. this isn't the correct repo for this request. Just send me a note to me directly. )

@LindsayThomas sorry about that, good to know for next time!
Yes, that is exactly what the customer is looking for.
thanks so much!
LD

@ldafner It will be in the September AGOL release... Glad to hear, that will work for the customer


Bugfix/fail publish code coverage results empty code coverage

Task name: PublishCodeCoverageResults@2
Description: The publishing of the code coverage results now only get executed when there are summary files found.
Documentation changes required: N
Added unit tests: N
Attached related issue: Y #19270
Checklist:

[X] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

@microsoft-github-policy-service agree

Thank you for creating this. Getting this merged in for me would help a lot

Just waiting for someone to review it 😉

much needed. waiting to be released.

Now that we have approvals what is needed to get the tests ran to merge this in?

@vinayakmsft Is this now obsolete due to #19568?

Closing this due to #19568


tdef / tinfl / crc32 might be an overhead for the consumer

there could be a build switch for de/inflate / crc32 functionality.
there could be different functions to surround de/inflate. the linker could then remove the overhead.

deflate and inflate only take about 50kB


Support nonProxyHosts parameter in settings.xml

Allow to support nonProxyHosts parameter when proxy is configured in settings.xml. This is needed that for some URL the proxy shall be used and for some not.
If you interested I can look into and submit a PR.

PR are always welcome - I'm still trying to resolve the aggregate goal issue so I might not get to this very soon.

Ok, will try to create a PR in the next 1-2 weeks (currently travelling therefore in limited bandwidth).

I have a implementation available. I hope to submit a PR in the next days after testing,

Thanks for the PR to close this issue!


Update start_your_nodes.md

Adding recommendations according to the Jira ticket (https://jira.iohk.io/browse/CAD-1941) - The original audit ticket: QSP-4 [Node] Lack of auto-restart feature.

will add a new one with additional edits


Automatic Dropdown support for single Atom types does not work

Any dropdown being chosen which is an Atom only type (e.g. Report_Unmatched) results in an incorrect import being added.
The import causes ambiguous import errors (as then both the module and type are imported).
Can be worked around by custom dropdowns but this should be fixed.

@Frizi is that you area?

I'm not sure what's the expected and observed result here. For me, selecting Report Unmatched from a dropdown doesn't result in any errors. I've checked that union has no override, and the default static tag value is used.

The generated code looks like this:
from Standard.Table.Data import Report_Unmatched
...
operator6 = operator8.union [operator8] keep_unmatched_columns=Report_Unmatched.Report_Unmatched

Is this incorrect?

The additional import is creating a clash with Report_Unmatched included in from Standard.Table import all.

The type Standard.Table.Data.Report_Unmatched.Report_Unmatched is exported by Standard.Table.
The added import brings in the module Standard.Table.Data.Report_Unmatched causing am abiguous import.

We should just put the type in as the chosen option (i.e. just Report_Unmatched here not Report_Unmatched.Report_Unmatched) and detect that this is already imported.
The issue with Nothing.Nothing bug is exactly the same as this case.


URL Encoding

This does not work as expected (why have it in the first place, it's extremely ugly and not user friendly???).
The following URL returns a 404 NOT FOUND:
index.php?r=module%26method%3Dpayment%26module%3DAuthorizenet%26action%3Dedit
This returns the correct page:
index.php?r=module&method=payment&module=Authorizenet&action=edit
Where do I need to edit to switch off URL encoding?

How did you generate such URL?

Html::a('Edit', ['/module&method=' . $method . '&module=' . $info->code . '&action=edit'], ['class' => 'btn btn-primary'])
We all know that Yii2 encodes all URLs - I have never seen any other application do this!!

Did you evere read a docs?
This one in particular:
https://github.com/yiisoft/yii2/blob/master/docs/guide/runtime-routing.md

Did you not ever learn manners?
I makes no difference, the structure of the encoded URL is exactly the same and returns a 404 NOT FOUND

Did you not ever learn manners?

Same to you.

I makes no difference, the structure of the encoded URL is exactly the same and returns a 404 NOT FOUND

So you do not read the docs.
In order to create a URL from different parameters you should specify them as array keys.
So instead of:
Html::a('Edit', [
    '/module&method=' . $method . '&module=' . $info->code . '&action=edit'
], ['class' => 'btn btn-primary'])

It should be:
Html::a('Edit', [
    '/module',
    'method'=> $method,
    'module' => $info->code,
    'action'=>'edit'
], ['class' => 'btn btn-primary'])


[Linux] Fix "all files" filter in the native file dialog.

https://github.com/godotengine/godot/issues/92754
*.* only allow selecting files/folders with . in the name, replace it with *.

Thanks!


Easy access to filter functionality for the outline pane

Adding sorting and text-based filter for the outline pane of spyder will be very useful.
Suppose you are dealing with a single class that has tens or hundreds of methods, them searching for methods by matching Name and sorting them alphabetically will be very handy.

Hi @BahaaEiz sorry for the late response and thank you for your feedback! Maybe the Symbol finder functionality could be useful for you? You can access it from the File menu (File > Symbol finder) or via the shortcut Ctrl + Alt+ P:

Let us know if that help/covers the feature that you had in mind!

Hi Daniel
Thank you very much for your reply. Definitely the symbol finder is a
helpful tool. But I think for code restructuring purposes, it will be
helpful  to have the ability of sorting the methods and variables in the
outline panel (which seem to me a tree QT structure)  as it allow seeing
the names constantly while carrying out the necessary code modification
(not only to search for names). The outline panel is a great panel that
makes the spyder environment more user friendly and competitive compared
even to common editors like VS code (which has also a feature like the
symbol finder).
I think enhancing outline panel with feature (sorting or maybe even adding
notes, flags or “to do” mark and filter them) to keep track of code
production will make spyder more powerful and friendly.
On Wed, Jun 14, 2023 at 5:00 PM Daniel Althviz Moré <
@.***> wrote:

Hi @BahaaEiz https://github.com/BahaaEiz sorry for the late response
and thank you for your feedback! Maybe the Symbol finder functionality
could be useful for you? You can access it from the File menu (File >
Symbol finder) or via the shortcut Ctrl + Alt+ P:
[image: symbol_finder]
https://user-images.githubusercontent.com/16781833/245958250-0e743566-87e2-4a02-8a3f-8b3f7ecf5ec3.gif
Let us know if that help/covers the feature that you had in mind!
—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/20990#issuecomment-1592140692,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHYLQWMKGKCYF2JNNX2MYUDXLJGBBANCNFSM6AAAAAAYYZ4J3U
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Bug]: Annotations Become Visible After Closing the Annotation Editor

Attach (recommended) or Link to PDF file
test-1.pdf
Web browser and its version
Firefox 133.0
Operating system and its version
Window 11
PDF.js version
v4.8.69
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem

Open test-1.pdf in Mozilla Firefox that supports annotations (e.g., a PDF file).
Activate the annotation editor by clicking highlight on the toolbar.
Click on the "Show All" button
Close the annotation editor by clicking on the highlight

What is the expected behavior?
The annotations should remain hidden after closing the editor. But the annotations become visible while the "Show All" button is clicked
What went wrong?
https://github.com/user-attachments/assets/41cb3837-770d-43e7-87bb-51444881fbe6
Link to a viewer
No response
Additional context
No response
### Tasks

"I am interested in fixing this issue myself and would like guidance if needed."

"I am interested in fixing this issue myself and would like guidance if needed."

Please try to fix it.
Clicking on show all will lead to execute this function:
https://github.com/mozilla/pdf.js/blob/c198e0b446a77bf3653c1f163c0dc60a56b862d8/src/display/editor/tools.js#L1750
When some existing highlights are edited we just redraw the page without those annotations and then we create some new Highlight objects thanks:
https://github.com/mozilla/pdf.js/blob/c198e0b446a77bf3653c1f163c0dc60a56b862d8/src/display/editor/highlight.js#L860
When the edit mode is enabled/disabled we call:
https://github.com/mozilla/pdf.js/blob/c198e0b446a77bf3653c1f163c0dc60a56b862d8/src/display/editor/annotation_editor_layer.js#L229
and
https://github.com/mozilla/pdf.js/blob/c198e0b446a77bf3653c1f163c0dc60a56b862d8/src/display/editor/annotation_editor_layer.js#L268

I am new to open source contributions this is my first issue therefore it would be great if you could provide some more instructions to solve this issue.


documentation - TextRenderingMode description missing

The docs for TextRenderingMode is severely lacking. The 8 values are unintuitive from the alias names, at least to people who are not experts on PDF internals. There is this paragraph:
1.3.1 Details
The description and specification of these parameters are available in the PDF
specification [1]. Therefore they are not repeated here.

That references a bad link: http://www.adobe.com/devnet/acrobat/pdfs/pdf_reference_1-7.pdf That link does not go to a PDF. It’s redirected to a page about APIs and SDKs (a dead-end). So then I searched for the PDF spec. The web is so broken these days, it’s /really/ a bad idea to refer people to links that are not archive.org links. I kept hitting access restricted Cloudflare sites in an effort to track down the PDF spec. I finally was able to dig this link out of the archives that mirrored an access-restricted US gov website for the library of congress:
https://web.archive.org/web/20240126004457/https://opensource.adobe.com/dc-acrobat-sdk-docs/standards/pdfstandards/pdf/PDF32000_2008.pdf
That download was 22 megs!   It took a huge chunk off my internet allowance. And it was useless. The spec has nothing on TextRenderingMode, FillStroke, etc.
The gov website also tries to sell the spec:
ISO 32000-1:2008. Document management -- Portable document format -- Part 1: PDF 1.7. Available for purchase from ISO

So then I was left searching around the enshitified web for these keywords, where about ⅓ of the web is now blocked to those of use who are in Cloudlfare’s excluded demographics. This page was reachable but only readable after running some 3rd party javascript:
https://developer.mescius.com/document-solutions/dot-net-pdf-api//docs/online/DS.Documents.Pdf~GrapeCity.Documents.Pdf.TextRenderingMode.html
and in the end, those descriptions are useless. It says:
“FillStroke	Fill, then stroke text.”
What does that mean?  This page is equally minimal in its description:
https://pdfbox.apache.org/docs/2.0.1/javadocs/org/apache/pdfbox/pdmodel/graphics/state/RenderingMode.html
It’s worth noting as well that pdfa.org is an access-restricted Cloudflare site, which is also unreachable via archive.org. The pdfa.org website actually proactively blocks archive.org. This is what archive.org says when it tries to reach pdfa.org:
Sorry
The capture failed because Save Page Now does not have access rights for https://pdfa.org/resource/pdf-specification-archive/ (HTTP status=403).

Please document these options and also indicate what the default values are.

While I quite agree that the documentation is lacking details I don't have the time currently to update that or to hunt down better links for the PDF specs. I would be quite grateful if you would invest some time and make a pull request that addresses the most problematic issues.
The rendering modes are described in the spec of pdf 1.7 on page 402.

You had posted this to the wrong repository I moved it here.
Adobe has moved the pdf 1.7 reference since Heiko wrote that text I think the current URL is
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/pdfreference1.7old.pdf
or
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf
for the ISO version


Add autoComplete prop to TextInput

Fixes #326

i feel like im missing something trivial with this ... not seeing why the build is failing on text input after this change -- could use another pair of eyes

@lewisf #324 has been merged, you will have to rebase on master (and fix (tiny) conflicts).

Could you rebase instead of merge? I see too much diff now... :/

@lewisf Do you need a hand to rebase?

Sorry I've had a busy week trying to prepare for a launch ... I'll clean this up in a bit.

@MoOx apologies for the long delay -- just cleaned up the commits.


Get multiple product tickers in one call?

Hi there, is there some way to get multiple product tickers with one call? I only see the "getProductTicker" function unless I'm missing something.
Thanks

@hugeprestigellc You can use ticker channel for that:
const { WebsocketClient } = require('coinbase-pro');
const channels = ['ticker'];
const product_ids = ['BTC-USD', 'ETH-USD', 'ETH-USDC', 'LINK-ETH'];
const ws_url = 'wss://ws-feed.pro.coinbase.com';
const websocket = new WebsocketClient(product_ids, ws_url, null, { channels });
websocket.on('message', message => {
  if (message.type === 'ticker') {
    // new ticker
    console.log(message);
  }
});


bpftrace: fix regressions with v0.20.4

Description of changes
bpftrace v0.20.4 stopped extracting kheaders to /tmp because of security issues (which was the right things to do), but some things broke a bit so fix and add a test.
This replaces #319033
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 319836 run on x86_64-linux 1

2 packages built:

bpftrace (linuxKernel.packages.linux_4_19.bpftrace ,linuxKernel.packages.linux_4_19_hardened.bpftrace ,linuxKernel.packages.linux_5_10.bpftrace ,linuxKernel.packages.linux_5_10_hardened.bpftrace ,linuxKernel.packages.linux_5_15.bpftrace ,linuxKernel.packages.linux_5_15_hardened.bpftrace ,linuxKernel.packages.linux_5_4.bpftrace ,linuxKernel.packages.linux_5_4_hardened.bpftrace ,linuxKernel.packages.linux_6_1.bpftrace ,linuxKernel.packages.linux_6_1_hardened.bpftrace ,linuxKernel.packages.linux_6_6.bpftrace ,linuxKernel.packages.linux_6_6_hardened.bpftrace ,linuxKernel.packages.linux_6_8.bpftrace ,linuxKernel.packages.linux_6_8_hardened.bpftrace ,linuxKernel.packages.linux_6_9.bpftrace ,linuxKernel.packages.linux_6_9_hardened.bpftrace ,linuxKernel.packages.linux_hardened.bpftrace ,linuxKernel.packages.linux_latest_libre.bpftrace ,linuxKernel.packages.linux_libre.bpftrace ,linuxKernel.packages.linux_lqx.bpftrace ,linuxKernel.packages.linux_xanmod.bpftrace ,linuxKernel.packages.linux_xanmod_latest.bpftrace ,linuxKernel.packages.linux_xanmod_stable.bpftrace ,linuxKernel.packages.linux_zen.bpftrace ,linuxPackages-libre.bpftrace ,linuxPackages.bpftrace ,linuxPackages_4_19_hardened.bpftrace ,linuxPackages_5_10_hardened.bpftrace ,linuxPackages_5_15_hardened.bpftrace ,linuxPackages_5_4_hardened.bpftrace ,linuxPackages_6_1_hardened.bpftrace ,linuxPackages_6_6_hardened.bpftrace ,linuxPackages_6_8_hardened.bpftrace ,linuxPackages_6_9_hardened.bpftrace ,linuxPackages_hardened.bpftrace ,linuxPackages_latest-libre.bpftrace ,linuxPackages_latest.bpftrace ,linuxPackages_lqx.bpftrace ,linuxPackages_xanmod.bpftrace ,linuxPackages_xanmod_latest.bpftrace ,linuxPackages_xanmod_stable.bpftrace ,linuxPackages_zen.bpftrace)
bpftrace.man (linuxKernel.packages.linux_4_19.bpftrace.man ,linuxKernel.packages.linux_4_19_hardened.bpftrace.man ,linuxKernel.packages.linux_5_10.bpftrace.man ,linuxKernel.packages.linux_5_10_hardened.bpftrace.man ,linuxKernel.packages.linux_5_15.bpftrace.man ,linuxKernel.packages.linux_5_15_hardened.bpftrace.man ,linuxKernel.packages.linux_5_4.bpftrace.man ,linuxKernel.packages.linux_5_4_hardened.bpftrace.man ,linuxKernel.packages.linux_6_1.bpftrace.man ,linuxKernel.packages.linux_6_1_hardened.bpftrace.man ,linuxKernel.packages.linux_6_6.bpftrace.man ,linuxKernel.packages.linux_6_6_hardened.bpftrace.man ,linuxKernel.packages.linux_6_8.bpftrace.man ,linuxKernel.packages.linux_6_8_hardened.bpftrace.man ,linuxKernel.packages.linux_6_9.bpftrace.man ,linuxKernel.packages.linux_6_9_hardened.bpftrace.man ,linuxKernel.packages.linux_hardened.bpftrace.man ,linuxKernel.packages.linux_latest_libre.bpftrace.man ,linuxKernel.packages.linux_libre.bpftrace.man ,linuxKernel.packages.linux_lqx.bpftrace.man ,linuxKernel.packages.linux_xanmod.bpftrace.man ,linuxKernel.packages.linux_xanmod_latest.bpftrace.man ,linuxKernel.packages.linux_xanmod_stable.bpftrace.man ,linuxKernel.packages.linux_zen.bpftrace.man ,linuxPackages-libre.bpftrace.man ,linuxPackages.bpftrace.man ,linuxPackages_4_19_hardened.bpftrace.man ,linuxPackages_5_10_hardened.bpftrace.man ,linuxPackages_5_15_hardened.bpftrace.man ,linuxPackages_5_4_hardened.bpftrace.man ,linuxPackages_6_1_hardened.bpftrace.man ,linuxPackages_6_6_hardened.bpftrace.man ,linuxPackages_6_8_hardened.bpftrace.man ,linuxPackages_6_9_hardened.bpftrace.man ,linuxPackages_hardened.bpftrace.man ,linuxPackages_latest-libre.bpftrace.man ,linuxPackages_latest.bpftrace.man ,linuxPackages_lqx.bpftrace.man ,linuxPackages_xanmod.bpftrace.man ,linuxPackages_xanmod_latest.bpftrace.man ,linuxPackages_xanmod_stable.bpftrace.man ,linuxPackages_zen.bpftrace.man)

I can confirm that this PR fixes the kernel headers issue. Nice work.

Thanks for the review!

Maybe clean up the patch filenames a bit.

Got something in mind? The filenames come straight out of "git format-patch" (with numbers reset to 1 as half of these are going away in the 0.21.0 upgrade follow-up) as it's the kind of names I'm used to, but if you have a preference I'm open to anything

Maybe clean up the patch filenames a bit.

Got something in mind? The filenames come straight out of "git format-patch" (with numbers reset to 1 as half of these are going away in the 0.21.0 upgrade follow-up) as it's the kind of names I'm used to, but if you have a preference I'm open to anything

It's not too important, I was just thinking of keeping the git repo tidy. If the patches were going to hang around for a while, I would remove the numbers (git format-patch -N) and even further shorten the resulting filenames. No need to change anything. Someone should merge this.

Since it hasn't been merged yet I've updated the last patch to now show the warning all the time (the quick&dirty show with -v has been replaced with a more proper "show on error" that I've sent upstream)
Also updated file names along the way so that's done, but the patch files will go away with the 0.21.1 update anyway... 3/5 are already merged there and the other two will be updated to fetchpatch.
The problem is that they ran clang format between 0.20 and 0.21 so none of the patches apply directly and I had to make it files specific to 0.20...
Anyway, if this doesn't get in I can't open the update PR, so will poke the discourse ready for merge thread tomorrow when I have a minute

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1793


Slimmer LfMerge images

We now build from a base image stored in the GitHub Container Registry.
By storing the base image in GHCR and only updating it when once of the
lfmerge dependencies changes (which almost never happens), we can avoid
re-running apt-get update all the time, which always ends up causing a
layer change and the entire 700MB layer to be different. This results in
much slimmer lfmerge images and faster download times.

This change is

All builds succeeded, but #237 build failed due to an HTTP timeout. Re-running the build in #237, then if it passes I'll merge both of these at once.


Pointer types always translated as optional variables

I noticed that pointers are always translated to TS using ?.
For example:
type FollowerEvent struct {
	Follower            *twitter.User `json:"follower"`
}

Becomes:
export interface FollowerEvent {
  follower?: any /* twitter.User */;
}

While it's true that pointers are often used to express optional values, they're also used for e.g. efficiency reasons and the value might be "guaranteed" to be set.
Is there any way to remove the ? for pointer types from the generated TS?

There is no way to do this in the current version, but I don't see why it wouldn't make sense to support this.
Maybe we can add it like omitempty in the JSON struct tag? So something like
type FollowerEvent struct {
	Follower            *twitter.User `json:"follower" tstype:"nonoptional"`
        something            Something `json:"something" tstype:"MyCustomType,nonoptional"`
}

Or should it be a separate tag?

Also I have considered at some point fleshing this entire project out more and adding directives in comments.. So you could comment
// @tygo non-optional

or something similar..

Yes, something like tstype:",nonoptional" or tstype:",required" sounds good!

That was pretty easy to implement :) Could you review #4 before I merge it?


New "Set Amount" UI dialog

The current one has a graphical glitch where the buttons aren't matched with the graphical layout in Co8. I'm guessing this is a result of the UI background overhaul?

Fixed in a491cceb87313d2280d7b704ae13dae2df6dcfdd


Lambda execution does not properly completes after upgrading from v58 to v59

After switching from v58 to v59 of the lambda extension, we noticed that a number of our lambdas started to run until timeout, completing just before the timeout (no error). Once we rollbacked to v58, the issue disappeared.
The behavior we observed is that we emitted a log at the end of the execution, which for example occurred after 1-3 minutes, and 12 minutes later, when we are about to time out at 15 minutes (e.g. at 899981.32ms), the lambda completes without error and emits the END/REPORT logs.
The two lambdas that caused issues for us where regularly scheduled to run every 1 and 3 minutes respectively, with a max concurrency of 1, and in few occasions are throttled due to the concurrency limit.
The issue was consistent once it started occurring, but we had periods of 1-2 hours were it looked resolved, until it triggered again and remained in this state for some hours. We are relatively certain the issue disappeared after a cold start, but then triggered again after the lambda processed some requests.
Using a docker based lambda based on python:3.12-alpine3.19, ddtrace==2.8.0, django==4.2.11 stack

We also noticed that we only get the first 1k logs from the lambda into DataDog, while  CloudWatch had many more.

Hi @santiagoaguiar, thanks for reporting this issue - someone from the team will take a look at it shortly. In the meantime, can you post the shortest version of the lambda function that causes this issue to help reproduction on our end?

Hey @santiagoaguiar would it be possible for you to send a Serverless flare to Datadog from the Lambda functions in question? https://docs.datadoghq.com/serverless/libraries_integrations/cli/#troubleshooting-lambda-instrumentation

Closing this as we believe we've found the issue and merged a fix.


./autogen.sh Permission denied

hello, I installed everything according to the procedure here, I also have other nodes installed on the server that have a similar post, but yours keeps telling me access is denied and I'm under the root account, I have ubuntu 20.04

chmod 775 : )


Cpp gdb launch failure on 1.30 (NullReferenceException)

VSCode Version: code_1.30.0-1544567151_amd64.deb
OS Version: Ubuntu 16.04

Steps to Reproduce:

Set up a gdb build project in vs code 1.29
Build and debug simple project. Debug startup message appears in debug console:

=thread-group-added,id="i1"
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.

etc.
2. Upgrade to 1.30
3. Try debug exactly the same executable (no rebuild required)
4. Debug console error message appears: Stopping due to fatal error: NullReferenceException: Object reference not set to an instance of an object
5. Downgrading back to 1.29 resolves the launch issue.

When launching code with --disable-extensions I receive the message Configured debug type 'cppdbg' is not supported.

I am facing exactly the same issue. Environment:

VSCode: 1.30.0 (code-1.30.0-1544567256.el7.src.rpm)
OS: CentOS 7.6.1810 (Linux x64 3.10.0-957.1.3.el7.x86_64)

https://github.com/Microsoft/vscode-cpptools/issues/2922


Document supported distributions

Please document supported OS distributions this project is targeting.
Enterprise users may be interested to know that the latest version of CentOS (version 7) does not support pdftk, a dependency of this project.

The README clearly states that pdftk is required and also provides a link to it's website.
I won't start maintaining a list of operating systems where pdftk works / does not work. For RedHat / CentOS this information is already present, along with instructions about how to build from source (did you try that?).


User can send ETH to the same address the user is sending from

Should it be possible to send ETH back to the same address as shown in the video?
This is probably allowed at a protocol level but do you want to allow that in Fuel wallets, it can result in the following negative user experience:

The user will simply burn fees for no reason
The user might do this accidentally, in this case, at least a warning would be useful

https://github.com/FuelLabs/fuel-connectors/assets/114662397/f103485a-d948-4950-a500-bbd30a6cecd5
Expected behaviour:

Block users from being able to send assets to the same address they're sending from, or
Warn users that they're about to send assets to the same address they're sending from

This is good catch and maybe a good thing to add in the wallet in the future.


Only disable a package if it isn't already disabled

Fixes https://github.com/atom/atom/issues/10358
I wasn't sure if this check was better suited for Package or PackageManager, but I think it's more within the scope of PackageManager to manage the state of the core.disabledPackages keypath. Let me know if you think I should move it though!
/cc @atom/feedback

@mnquintana FYI: checks have failed

Hmmm these look like unrelated failures – the same specs fail on https://travis-ci.org/atom/atom/jobs/101451615 (https://github.com/atom/atom/pull/10341), and that one's just a simple app menu change that should have no effect on the areas that are failing.
Looking into it more, it looks like master's also failing on those same specs (https://travis-ci.org/atom/atom/jobs/101166457), since https://github.com/atom/atom/pull/10178 was merged.
cc @kuychaco @nathansobo

Not getting local failures with either tree-view or settings-view. Kicking off an internal build for comparison.

Okay, the problem was that jQuery moved from 2.1.4 to 2.2.0 a couple days ago and there were incompatible changes. I've pinned Atom and space-pen back to 2.1.4. Hopefully we can eliminate the jQuery dependency before it becomes issue that we're staying behind.

:eyes: @atom/feedback?

Looks like a simple enough change, so :+1:

This looks good, thanks!


feature: entrypoint run waits for hostname resolution

Description of changes:

feature: entrypoint run waits for hostname resolution

Merge Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

[x] I have read the CONTRIBUTING doc
[x] I used the commit message format described in CONTRIBUTING
[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have updated any necessary documentation (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Accounts: make operator popup looks a bit strange

[ ] No way to make master operator, is it intentional ?
[ ] 'None' option look strange, please discuss with Andrew, maybe use another title
[ ] 'None' isn't preselected when no operator role is assigned
[ ] there are checkboxes which are working like radio buttons, maybe switch to radio buttons

No way to make master operator
Custom operator with all available actions will be equal to Master operator.


[HxGrid] Load more pagination loads increasingly larger page instead of additional pages

In the example of grid with load more pagination mode that is shown in the HxGrid_LoadMore_Test page in the test app when I click the load more button, the grid requests increasingly larger page instead of just loading the additional page and merging that additional data with what it has now.
HxGrid.razor.cs:

Output when clicking the "load more" button:

I would expect the grid to make requests like this:

initial load: StartIndex = 0, Count = 5
first load more: StartIndex = 5, Count = 5
n-th load more: StartIndex = N * 5, Count = 5

@hakenr That would mean that I have to keep track of the loaded data myself, most likely by storing StartIndex and Count of what I have already loaded and also by storing the data myself, no? I think that defeats the purpose of HxGrid being responsible for the management of loaded data and of the pagination modes.

From what I have observed in the HxGrid data providing code I got the feeling that the intention was to implement this feature the way I described it in this issue. It just appears to not work correctly now.

From what I have observed in the HxGrid data providing code I got the feeling that the intention was to implement this feature the way I described it in this issue. It just appears to not work correctly now.

Well, then it might relate to AB#68184 where for some reason the grid detects change in CurrentUserState and forces the grid to reload with full load:
https://github.com/havit/Havit.Blazor/blob/cfb32db1bc93c9c49223215a985d1628d8c2c597/Havit.Blazor.Components.Web.Bootstrap/Grids/HxGrid.razor.cs#L323-L344
@jirikanda

I will check it...


vcpkg doesn't fail instantly in download mode, when download actually fails

When using vcpkg in download mode and vcpkg cannot download package for some reason, it still doesn't fail.
In this case vcpkg continues as if nothing happened and goes to tne next package.
Starting package 39/181: bzip2:v142_x64-windows
Building package bzip2[core]:v142_x64-windows...
-- Loading triplet configuration from: C:\teamcity\work\861de7c9201c3f79\vcpkg_data\triplets\v142_x64-windows.cmake
-- Installing port from location: C:\teamcity\work\861de7c9201c3f79\vcpkg_data\ports\bzip2
-- Downloading https://github.com/past-due/bzip2-mirror/releases/download/v1.0.6/bzip2-1.0.6.tar.gz...
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:175 (message):
-- Downloading https://github.com/past-due/bzip2-mirror/releases/download/v1.0.6/bzip2-1.0.6.tar.gz... Failed. Status: 22;"HTTP response code said error"

      Failed to download file.
      If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment
      variables to "https://user:password@your-proxy-ip-address:port/".
      Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
  C:/teamcity/work/861de7c9201c3f79/vcpkg_data/ports/bzip2/portfile.cmake:3 (vcpkg_download_distfile)
  scripts/ports.cmake:94 (include)

Downloaded sources for package bzip2[core]:v142_x64-windows
Elapsed time for package bzip2:v142_x64-windows: 2.292 s
Starting package 40/181: zlib:v142_x64-windows
Building package zlib[core]:v142_x64-windows...

Could you provide the commands you use?
Thanks.

@JackBoosY
vcpkg.exe install %project.vcpkg.packages% %project.vcpkg.packages_x86% --overlay-ports=..\vcpkg_data\ports --overlay-triplets=..\vcpkg_data\triplets --triplet v142_x64-windows --only-downloads

where %project.vcpkg.packages% is the list of packages I'm downloading/installing.
At some point some download fails 'quietly'.

Is this issue still exist?

We haven't been able to repro this; if more information comes up, or this issue appears again, please reopen.
This issue hasn’t been updated in a year; if it is still an issue, please reopen it.


Refactor Examples

Remove numbering system
Remove proof directories
Refactored outdated comment on scalar mul example

(Some directories like bool-not and bool-or do not have examples, adding these will be a good beginner issue)

Closing as this is outdated


lzma module was not found in python:3-slim

When I try to import the module lzma:
Python 3.5.1 (default, Jan 13 2016, 18:56:49)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import lzma
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/lzma.py", line 26, in <module>
    from _lzma import *
ImportError: No module named '_lzma'

It seems that the library liblzma-dev is needed to build this module. See  setup.py script.

Oh, that is supposed to work with the standard library :disappointed:.  Looks like we forgot liblzma-dev as one of the buildDeps (oh, and xz-dev on the alpine images too).  Luckily for the slim images, it looks like liblzma5 is already installed so it shouldn't have much affect on the slim image size.

Yes, the library is installed but the development library is required in order to build the module. When I build the slim image adding liblzma-dev in the dependencies, the module is constructed.
Unfortunately I have not tried with the other images.

@fbrr @yosifkit I submitted a pull request #90 addressing this issue a couple weeks ago, any thoughts?

Indeed, with these dependencies the module works!.
I guess this closes the issue. Thank you.

I'm hitting this in alpine, would be nice to have the fix.

how does one install this thing in a pipenv-created virtual environment?


Fix AnimatedSprite infinite loop.  Reworked timing of finished signal.

Aims to fix:  https://github.com/godotengine/godot/issues/38052
It's done against 3.2, because I can't get the master working on either of my machines.
Hopefully it's sufficient.  The signal was getting called when it was not safe to do so.  In the issue the user called play for the next animation, which should be fine, but it changes the animation during mid loop, breaking the timeout values it retrieves.
The problem doesn't appear until using an FPS time of 0 on an animation.
I don't entirely understand the original intentions of the while loop counter, I'm assuming it's to move on to the next frame if the remaining time of the previous frame is less than the current frame time.  So I left it intact, and only changed the signal logic.
I am also curious (if anyone cares to volunteer an insight) about the robustness of the while (remaining), seems like it could run into a precision problem if the delta varies, and get stuck in an infinite loop if it decrements past 0.0.  Didn't have time to study it, and have never seen or had an issue with AnimatedSprites freezing the game from time to time.

These changes must be made to the master branch, so that it can be cherrypicked for 3.2.

Presently I can't work in the master branch because of the renderer.  So I will close this, and leave it up  for awhile if anyone else is interested in taking it over.


Incompatible with optgroups?

Hi,
I am trying to select an option in my select2 that is inside an optgroup.
The error in capybara I get is:
Ambiguous match, found 2 elements matching css ".select2-dropdown li.select2-results__option" with text "Käpt’n Blaubär? (m)"
I called select2 like so:
select2 'Käpt’n Blaubär? (m)', css: '.select2-container'
My select2 with dummy data looks like this:

I suspect the ambiguity is caused by the fact that optgroups also have a 'select2-results__option' class:

Boten

Käpt’n Blaubär? (m)

So there are 2 elements that contain the text 'Käpt’n Blaubär? (m)', the group 'Boten' and the item itself.
A fix would be to add the role attribute into the selection for items [role=treeitem]

Tested my PR in our project and it works. So feel free to test it yourself and merge when approved.
P.s. are there any specs? I didn't see them.

Ran into this issue today, was going to submit a pull request for this as well.


URL Spoofing Not Working

I just successfully setup DSJAS. I am hosing it on a operate computer (iMac running MacOS 10.13 using MAMP) than my vm host computer so I can't simply use the localhost IP address in the hosts file nut rather the local ip of of the web server. I am able to access the bank from my VM (Running Windows 7 Ultimate in VirtualBox) by going to the local server IP but when I try to go to the spoofed url from my browser, it just says it can't be reached. I am able to ping the spoofed domain with cmd and get responses form the local ip address. Im Wondering if I'm doing something wrong of if it's a thing of modern browsers.

here is what i suggest or rather what i did

make sure mamp is running or whatever program your using to host the bank(this has to be running for your bank to work in your browser)
put local ip in the host computer and your ipv4 in your vm
make sure to wipe the dns file on both the host computer and vm , this needs to be done after you make any changes to the host file(this is what your computer uses to associate ips with urls)  you can do this by going to command promp and typing ipconfig /flushdns

i hope this helps

Update: I've tried a few other things including: trying Firefox instead of chrome, flushing the dns, remaking the host file, changing browser settings, & restarting the VM. All to no avail. I'm not sure if this is something from using MAMP or something else but I'm only getting more confused at this point.

Sorry for the delayed response.
Just to be clear, the hosts file on the VM is the one you have modified. Is that correct?
If the browser says it cannot be reached, that usually means that it correctly looked up the IP address, but the connection failed for some other reason. Have you got the right port number? Even with the spoofed domain, if the server is not hosted on port 80, you still need to put it after the domain. (If I am misunderstanding the error message, please post a screenshot for me).

Yes, to clarify I modified the hosts file in the vm as my host is a Mac. The port in MAMP is indeed set to 80 and if I type in the up with no port, it works.

Hi. I know this issue has been left for a long time, but did you ever reach a conclusion?
A common issue is that browsers were trying to connect via HTTPS when only HTTP was available. If you are still able, try explicitly typing http:// before the spoofed domain.

Hello @mustachio128. Sorry for the long lag time in responses. I am going to close this issue now to help clear my backlog. Please consult your operating system documentation (or ask on their support forum) if you need any more help. If there is anything else I can help you with, please open a new issue.
Thanks and happy scambaiting.


Question: ViewModel transform(input:) -> SearchViewModel.Output

Could you explain more about this implementation.
func transform(input: SearchViewModel.Input) -> SearchViewModel.Output {
I could not understand well. The ViewModel is some sort of pipeline that for an input it generates one output?

Yeah exactly.
It's just a way of describing bindings between VM and VC without using Subjects.
Bear in mind, a view model with ViewModelType protocol will only work with view controllers that are able to create all inputs at the same time (usually in viewDidLoad lifecycle method).


List in embedded note is truncated

When I create list with more than 9. items, the items 10., 11., ... are displayed correctly in the note. If I embed this note with ![[...]] in another note, then the first digit of 10., 11., etc. is cut off and there is 0. 1.

新版主题应该已经解决了这个问题

I tried to update the theme but there is no new version. In the installed version the error still exists!

I have found the error. I have created a test vault like in your example. On my MacBook (Obsidian Desktop) it is displayed correctly. On my Galaxy Tab S7+ (Obsidian Mobile) the first digit is still cut off.
I used the same test vault with the same notes both times.