Usage guide with react

How to use dc-tableview in React.JS?
I have tried to import dc namespace so that dc-tableview can access it and define dc.tableview, but dc is not accessible inside dc-tableview.
import * as dc from 'dc';
import 'dc-tableview';

@karenpommeroy Hi Could you please take a look into this issue?

Hi,
Haven't actually tested it with react nor typescript.
Have you tried including it using simple require? i.e.
require('dc-tableview.js')
Regards, Martin
wt., 16 kwi 2019 o 08:46 Kiran Mathew Mohan<EMAIL_ADDRESS>napisał(a):

@karenpommeroy https://github.com/karenpommeroy Hi Could you please
take a look into this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/karenpommeroy/dc-tableview/issues/7#issuecomment-483532842,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFrwNC7UDhM2w4SsWHlAYOG96Vp85w_ks5vhXHRgaJpZM4co9Hl
.

@karenpommeroy That's the thing, there's no require() in React, its all import, require() is only for node.js. I am thinking require() and import has some effect on loading things to global scope. I am not sure about it.

Ahh sorry I don't know why I assumed it's server side (maybe cause I'm
doing backend project myself currently).
I think you can use require if you disable tslint warnings.
Other solution I can think of now is to include as script in your html file.
Regards
wt., 16 kwi 2019 o 18:27 Kiran Mathew Mohan<EMAIL_ADDRESS>napisał(a):

@karenpommeroy https://github.com/karenpommeroy That's the thing,
there's no require() in React, its all import, require() is only for
node.js. I am thinking require() and import has some effect on loading
things to global scope. I am not sure about it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/karenpommeroy/dc-tableview/issues/7#issuecomment-483734308,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFrwMJaTKQJUSMGPDa-9_TN91Gj5wDZks5vhfnrgaJpZM4co9Hl
.

Haha no issues. Even I am a backend dev, testing my feet in frontend dev. I wasn't aware that you could disable it like that, I will check it out. Thanks. Oh yes that should do importing script directly,  that thought never crossed my mind.

@karenpommeroy I haven't found anyway to use require() in React.JS yet. And also importing script directly into main html file isn't working out and importing script to .js file shows unable to reach Datatable.net error or something.
Could you please help me out, you might have more idea on how to use this in React.JS to work.

Sorry, I don't have any experience with React yet.
I have seen similar issues raised against D3 since it has modules which change other modules. Apparently some bundlers won't let you modify modules once they are loaded.
I don't recall seeing the solution but I'm sure one is out there. 😺

@gordonwoodhull Oh alright.

I don't want to add the extra dependency, since dc.js doesn't currently depend on DataTables.js.
For your own use I'm sure you could just paste the class from this library into dc.js 2.*. That's probably easier than figuring out how the bundlers work.

Okay @gordonwoodhull

You should be able to assign global.dc = dc to expose dc to dc-tableview.

@dahlbyk where would I do that? And it doesn't work for me. Is this for React?
And could you please point me to an example, so I could be sure this approach works.

@privateOmega  , you got the solution ?, i am also working on this.

@satra2806 Sorry, I don't remember what I had done or why I had closed this issue.


Avoid mutation of os.environ

This PR is a code-fix of a test to use mock.patch to cupy.cuda.compiler.* instead of mutation of os.environ.

Kicking off the CI to expedite...
Jenkins, test this please

Jenkins CI test (for commit c1721fdb412db1fafca9468544f9d30e5d5d70d5, target branch master) failed with status FAILURE.

Failed tests are irrelevant and should be fixed by #3750. Rerun to confirm...
Jenkins, test this please

Jenkins CI test (for commit c1721fdb412db1fafca9468544f9d30e5d5d70d5, target branch master) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit c1721fdb412db1fafca9468544f9d30e5d5d70d5, target branch master) succeeded!

Thanks @asi1024 and @leofang!
We talked that it is better to provide an internal method to change cache dir because mocking with function name string is fragile.

Thanks! @kmaehashi Could you elaborate on the mocking? 😅 What could go wrong with it?


feat(migrations)!: Add initial migration

all migrations have been removed to replace them with one initial migration
Refs: CPLP-1909

@ntruchsess before merging we should talk to @evegufy


updating expected json.

Missed these weren't updated in the last PR I merged.

This change is

@acs-bot test this please

appears there are more issues. I'll revert the offending pr and abandon this one


Frames are being dropped due to low threshold.

Looking to improve the data points we get after processing thresholds.
Looks like some frames are lost due to threshold being small.
Also, trying to see if we can improve on accuracy. Not sure if this is a issue. Would be good to benchmark the outcome.

@vardanagarwal - Let me know your thoughts on how we can proceed. I do see an accuracy issue as well.
Looking at 2 use cases.

Still video
Video with predetermined movement

I have tried changing the
thresh = cv2.erode(thresh, None, iterations=20)
thresh = cv2.dilate(thresh, None, iterations=20)
thresh = cv2.medianBlur(thresh, 3)

As I increase the iterations, I do see that I get a lot more data points. The accuracy seem to be looked at.

I guess we can create some videos and manually annotate them first. This would make the benchmarking process much easier. Then we can find some metrics like MIOU with different processing operations to find the best one.
For the thresholding portion, the first thing I will do is to separate the thresholds for the left and right eye as if the lighting is on one side then it highly impacts it. The next thing we can do to automate the thresholds is to use some type of calibration function which would check various thresholds and find the most suitable one.

Any ideas on how to collaborate better? I am in PST.

I am sorry I don't know the full form of PST. I have added a video in the folder eye_tracker. Along with that, you can find its annotations having points for the center of the eyeballs.
Regarding collaboration, do you have any ideas with which we can move forward.

My bad. PST stands for Pacific Standard Time. I will look at the sample video you have added.

The video looks great but looks like it has too many variations.

Okay, that will work.

@vardanagarwal - Please take a look at this - https://github.com/ctippur/Proctoring-AI/tree/master/eye_tracking. If it is ok, I can create a PR.

Yeah it is okay.

PR - https://github.com/vardanagarwal/Proctoring-AI/pull/26
Feel free to merge. I have added some rough benchmarking that we can try and validate.

@vardanagarwal Thanks for merging.
Here is what I did so far.

Changed to read from file

cap = cv2.VideoCapture("eye_tracking/center_left_center.mp4")

Rotate the image after reading

frame_count=0
frame_max_count=int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
right_x=[]
right_y=[]
left_x=[]
left_y=[]
while(frame_count < 10):
    ret, img = cap.read()

    if ret is False:
        img=cv2.rotate(img, cv2.ROTATE_90_CLOCKWISE)

Changed contouring to return cx and cy

Observation:
Interestingly, process_thresh seem to be processing be frames that what I have input. I am controlling the frames to restrict to just 10. I seem to be getting 20 cx's
S

Observation#2:
if I remove ```cv2.createTrackbar('threshold', 'image', 75, 255, nothing)
```countouring ``` returns None.

@vardanagarwal let me know if we can go on a call or webex (I can set it up)

Yeah sure! We can do that. I'll explain the code to you as well of how it working at the moment.

@vardanagarwal I have tried to reach out to you on LinkedIn. Hope I reached the right person.

please upload the requirements file for this project, and noted in readme file " what python version in used "

I am unable to get this project to run perfectly. Can anybody give me the steps to run ?


Provide an option to output without hash fields

This may be a good idea if the translators observes the changes on its own, just use the tool as an assistant, and outputs a clean result file to avoid rejection of the intent project.
In addition, I think you can provide more credit in the result, clearly promote the project, and a translators fileds.

That sounds reasonable.
I think credit should probably be managed in a separate file, since those names don't need to be translated and having to modify all translation files for this would be ugly.

I guess this is actually maybe an interesting idea. As then you may be able to add a "Translated into  by  <user>" line to the add-on.
Thinking about the details, however, I guess you may better have it in this format, as you need to translate it itself:
"aboutTranslation": {
    "message": "This add-on has been translated into $LANGUAGE$ by $AUTHOR$.",
    "description": "Tells the user which link they clicked.",
    "placeholders": {
      "language" : {
        "content" : "English (US)",
      },
      "author" : {
        "content" : "@rugk",
      }
    }
  }

And seeing this, I don't think wet can (or should) add anything automatically. The language needs to be auto-filled, but the translator has/have to enter their name anyway.

I guess I could add WET_Generator to the file, but that feels a bit like the 90s era where html editors like frontpage would write their generator tag into the source. I'll consider it.

I would rather write up a recommended things to do, so that extension authors can choose the naming of the message key themselves.

👍

since it's always shown for the active language, there is no need to split this

Maybe not, but it seems to be considered a quite good practise anyway. At least, MDN Docs has examples for it.
Anyway, I agree, this thing here should be up to the extension authors.


Implement LinkedListWrapper.contains

@faulkdf @DawsonWhi it looks like you are currently working on this in the faulkdf-dawsonwhi branch
https://github.com/TheEvergreenStateCollege/upper-division-cs/tree/faulkdf-dawsonwhi

Please commit and push and create a pull request when you get a chance.

we resolved a previous conflict on the faulkdf-dawsonwhi branch and got rid of that branch, and made a new branch dawsonwhi-faulkdf to work on this problem. working on making a pull request now


Saral App global Cache clear functionality

Saral App global Cache clear functionality:

/brand/default API response is currently cached as a global cache in offlineMode. When the user clears the All User Cache, this default branding should be fetched from the backend API for the first time.

working on to clear branding cache from user cache

this pr is merge with v1-develop .
Now when we have one school stored in cache and we do clear


Add makeshift namespace to bundle_install

This is a very generic name, and since the somewhat deprecated definitions method is used rather than custom resources it cannot be overridden with a different provider.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Endpoints interpolation messed up

This is just a simple interpolation issue. It's not that big of a deal but figured I'd report it anyway. Just need a couple of spaces :)

^ That is a screenshot under Endpoints => API Endpoints in the GraphCool app

Duplicate of https://github.com/graphcool/graphcool/issues/522


Add search history to main search box

[X] New feature (non-breaking change which adds functionality)

Proposed changes
Adds a history of search terms to the main search dialog. This history entries are shown if the search field is empty:

A search term is only added to the history if one of its results is selected
The terms are listed with most-recent at the top
If an older term is reused, it is brought to the top of the list, rather than being duplicated
Hovering over any entry reviews a remove button

Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[x] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage decreased (-0.04%) to 67.363% when pulling a9b12e517262dad26e1bd4bafa2d4e72c9c01dee on search-history into 3e0f080ea7511bbf242a079d3f504e266c6d04e1 on dev.


Discussion Online Expanding the Number of Distributed Training Workers

Tensorflow distributed training adds a new feature:
When we use the distributed tensorflow training task, if the number of workers is too small to start, but not very good convergence. . Especially when used in conjunction with k8s, then tensorflow should support the online expansion of the current number of workers training tasks.
My idea is: Use python interface, notify the ps server, the new worker task_index and worker addr. such as:
We pre-start the cluster as follows:
On ps0.example.com:
$ Python trainer.py
     --ps_hosts = ps0.example.com: 2222, ps1.example.com: 2222
     --worker_hosts = worker0.example.com: 2222, worker1.example.com: 2222
     --job_name = ps --task_index = 0
On ps1.example.com:
$ Python trainer.py
     --ps_hosts = ps0.example.com: 2222, ps1.example.com: 2222
     --worker_hosts = worker0.example.com: 2222, worker1.example.com: 2222
     --job_name = ps --task_index = 1
On worker0.example.com:
$ Python trainer.py
     --ps_hosts = ps0.example.com: 2222, ps1.example.com: 2222
     --worker_hosts = worker0.example.com: 2222, worker1.example.com: 2222
     --job_name = worker --task_index = 0
On worker1.example.com:
$ Python trainer.py
     --ps_hosts = ps0.example.com: 2222, ps1.example.com: 2222
     --worker_hosts = worker0.example.com: 2222, worker1.example.com: 2222
     --job_name = worker --task_index = 1
We started the original two ps server ,,, two workers. .
Now let's add a third worker
Import tensorflow as tf
Def main (_):
    With tf.Session ('grpc: //ps0.example.com:2222') as sess:
        Sess.add_onlineworker (2, 'worker2.example.com: 2222')
With tf.Session ('grpc: //ps1.example.com:2222') as sess:
        Sess.add_onlineworker (2, 'worker2.example.com: 2222')
If name == "main":
    Tf.app.run ()
Just run this python script, and then start worker2.
Worker2 startup script:
$ Python trainer.py
     --ps_hosts = ps0.example.com: 2222, ps1.example.com: 2222
    --worker_hosts = worker0.example.com: 2222, worker1.example.com: 2222,
     --worker2.example.com:2222 --job_name = worker --task_index = 2
At this point you should be able to see the worker2 has started training.
If ps0 or ps1 restart, it should be added worker2:
$ Python trainer.py
     --ps_hosts = ps0.example.com: 2222, ps1.example.com: 2222
    --worker_hosts = worker0.example.com: 2222, worker1.example.com: 2222,
     --worker2.example.com:2222 --job_name = ps --task_index = 0
The design idea is as follows:

Increase the number of workers online, only need to notify all of the ps server can be.
Through the use of the python session interface, you can connect a different ps server, and then send an increase in worker instructions can be given to them.

I've done this at https://github.com/ipdcode/tensorflow.
Welcome to the official google and we discuss to see if there is a need to increase this feature.

@mrry, could you comment on this proposal and see if we want to accept the PR.

I was interested in your idea.
I tried to build  source code of "ipdcode/tensorflow", but I could not build it.
Virtual Status AddOnlineWorker(CallOptions* call_options,...
It does not seem to be possible to build because there is no implementation of this function.
I wonder if any corrections are not enough...

We've discussed this problem within the team, and think we've come up with a design that meets our internal requirements. The basic idea is that we'd move tf.train.ClusterSpec from being an argument of tf.train.Server to being a configuration option when you create a tf.Session. This would let you build clusters on an ad hoc basis, and would remove limitations like requiring all PS tasks to know the identities of all workers at startup time.
@saeta is going to be working on this, so I've assigned the issue to him. He is currently figuring out the details, and should have more to share soon.

Thank you for sharing information.
I would like to be able to efficiently allocate online streaming data to Tensorflow machine nodes.
I would like to dynamically perform real-time processing in response to changes in streaming for models that want to predict and learn simultaneously, such as LSTM or DQN.
I understand that the current Tensorflow needs to pre-allocate machines in advance.
I expect to implement such online distributed processing.

Hi @dancing80s . Currently TensorFlow assumes a cluster is a fixed size and shape. I'm working on a change that does the following:

Worker nodes can boot up without needing to know the whole cluster shape.
A cluster shape (i.e. list of nodes) is tied to a session (instead of being process-wide).
A client can specify the cluster shape at session creation time.

So what this would look like is a tensorflow worker binary can be launched on all nodes in the cluster (e.g. grpc_tensorflow_server.cc, just with no required command-line arguments). Then, a client (e.g. python script) can come along and decide to use a subset of the nodes, and create a session referencing that subset, run its computation on it, and simultaneously, another client can be running its own computation on a separate subset in a different session.
One thing to note: my work will not make it possible to change the cluster shape within a session. You'll have to manage that client side by creating new sessions under the hood, and copying data (e.g. training parameters) across.
Hope that helps!

Oh, if you need online inference (i.e. predict), I highly recommend you check out TensorFlow Serving. The team that's put this together has solved a number of non-intuitive challenges you might encounter when running inference in an online environment. Their systems absolutely support updating the models while serving requests, and have tooling to do so.

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Update 2023-11-20-unlocking-the-secrets-to-ingestion.md

Adding missing colon from secrets to ingestion blog
Updated bio to most recent position :D
Description
Fixes small error in blog
Issues Resolved
N/A
Check List

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

No! Thank you 😉


Scout does not recognize non-Scout installed gems

Is it possible to make it so that scout can recognize external gems, or have gems installed? I'm trying to use a framework called Gumby, which makes use of modular-scale and sassy-math. I'm sure that most people would want to be able to import or link to their own gems. I've never developed with any of the tools, AIR, Rails, Compass, etc, but if it's merely a matter of editing a line in a config file to have Scout's local version of compass recognize them, I'm be good to go.

Scout-App 2 no longer relies on Ruby, Java, or Adobe Air. As such no gems will be recognized or used by Scout-App.

Scout-App.io

Closing this issue as "will not fix".


Some issues with examples

Hi Ushakov,
I like your WebApiToolkit. I found a few minor issues on the project home page (https://github.com/Wissance/WebApiToolkit):

In the Requirements section, "labrary" is misspelled.
In the GroupController example, the class constructor name is incorrect.
It'll be better if you can shown how the GroupEntity class implements IModelIdentifiable.

I also have the following comments on WebApiToolkit:

Base Controller: I personally think that passing the Manager object into the base controller via a constructor is easier to understand.
i.e., public GroupController(GroupManager manager) : base(manager) { }

Order of type parameters is inconsistent between base controller and base manager.
BasicReadController<GroupDto, GroupEntity, int>
ModelManager<GroupEntity, GroupDto, int>

Joncheng

@jonchengkuo , thank you for useful project review. I'll correct documentation asap and also i'll make example project without WebApiToolkit and with it. And also i will clarify order of base classes template paramters.  Thank you.

@jonchengkuo , I've prepared a full example how to use (whole solution) you could check it here: https://github.com/Wissance/WeatherControl

Readme updated using examples from link above

Examples were updated and show full Controller && Manager clases, for reasonable notes created to issues: #6 , #7


How to design Bracing(Morison Element) in Rhino!

Hello, I'm doing my BSc thesis in hydrodynamic diffraction of a cylinder shape objects. I'm stuck in a problem on designing bracing elements (Morison Element, identical to spider web in bottom).Can you please help me on how I can model Morison Element in rhino and join that with the main cylinder body?

Regarding issues with other software like Rhino, I suggest you find the user manual or directly ask the customer service department of that company.

Dear Prof. Liu,
Thank you very much for your reply. For a novice user like myself, your HAMS software appears to be very intuitive and practical. Nevertheless, I have the following questions:
I am attempting to calculate the hydrodynamic added mass coefficients for a hybrid structure (consisting of pressure panels and Morison elements) of a semisubmersible type floating offshore wind turbine (FOWT) platform. According to my knowledge, HAMS converts slender structures into diffraction elements (pressure panels). Please inform me if my understanding is incorrect.
Is it possible for HAMS to convert slender elements (such as the bracings of a semi-submersible) to Morison elements?
Is there a smart/user-friendly way to convert a Rhino model (having both large diameter and small diameter pipes) to the Wamit (*.gdf) format? If a Rhino model is 'save as' gdf model, it does not produce results comparable to 'marin semi low.gdf'. Is there any advise from you?

are you take care of the Normal direction when you construct the semi-submersible in rhino?


Allow a user to remove their own role from a project

Summary
The following PR allows a user to remove their own role from a project. That is unless they are the last admin (ref. https://github.com/stacklok/minder/pull/3715)
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 52.466%. remained the same
when pulling 2879f6fe906ed4fad4ab99bbc48bd8ab5f831216 on allow-self-removal
into cae4b26277cd9cfa178177b504544218987e9b2a on main.


[VR] Problems with steam vr 1.13.9 (mirror display related ?)

with the new steamvr update VR in stride no longer works and you get this error
[Game]: Error: Unexpected exception. SharpDX.SharpDXException: HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: The parameter is incorrect.
at SharpDX.Result.CheckError()
at SharpDX.Direct3D11.Device.CreateShaderResourceView(Resource resourceRef, Nullable`1 descRef, ShaderResourceView sRViewOut)
at SharpDX.Direct3D11.ShaderResourceView..ctor(Device device, Resource resource, ShaderResourceViewDescription description)
at Stride.Graphics.Texture.GetShaderResourceView(ViewType viewType, Int32 arrayOrDepthSlice, Int32 mipIndex)
at Stride.Graphics.Texture.InitializeFromImpl(DataBox[] dataBoxes)
at Stride.Graphics.Texture.InitializeFrom(Texture parentTexture, TextureDescription description, TextureViewDescription viewDescription, DataBox[] textureDatas)
at Stride.Graphics.Texture.InitializeFrom(TextureDescription description, DataBox[] textureDatas)
at Stride.Graphics.Texture.InitializeFromImpl(Texture2D texture, Boolean isSrgb)
at Stride.Graphics.Texture.InitializeFromImpl(ShaderResourceView srv)
at Stride.VirtualReality.OpenVR.GetMirrorTexture(GraphicsDevice device, Int32 eyeIndex)
at Stride.VirtualReality.OpenVRHmd.Enable(GraphicsDevice device, GraphicsDeviceManager graphicsDeviceManager, Boolean requireMirror, Int32 mirrorWidth, Int32 mirrorHeight)
at Stride.VirtualReality.VRDeviceSystem.OnEnabledChanged(Object sender, EventArgs eventArgs)
at Stride.Games.GameSystemBase.OnEnabledChanged(EventArgs e)
at Stride.Games.GameSystemBase.set_Enabled(Boolean value)
at Stride.Rendering.Compositing.ForwardRenderer.InitializeCore()
at Stride.Rendering.RendererCoreBase.Initialize(RenderContext context)
at Stride.Rendering.RendererCoreBase.EnsureContext(RenderContext context)
at Stride.Rendering.Compositing.SceneRendererBase.Collect(RenderContext context)
at Stride.Rendering.Compositing.SceneRendererCollection.CollectCore(RenderContext context)
at Stride.Rendering.Compositing.SceneRendererBase.Collect(RenderContext context)
at Stride.Rendering.Compositing.SceneCameraRenderer.CollectInner(RenderContext renderContext)
at Stride.Rendering.Compositing.SceneCameraRenderer.CollectCore(RenderContext context)
at Stride.Rendering.Compositing.SceneRendererBase.Collect(RenderContext context)
at Stride.Rendering.Compositing.GraphicsCompositor.DrawCore(RenderDrawContext context)
at Stride.Rendering.RendererBase.Draw(RenderDrawContext context)
at Stride.Engine.SceneSystem.Draw(GameTime gameTime)
at Stride.Games.GameSystemCollection.Draw(GameTime gameTime)
at Stride.Games.GameBase.Draw(GameTime gameTime)
at Stride.Games.GameBase.RawTick(TimeSpan elapsedTimePerUpdate, Int32 updateCount, Single drawInterpolationFactor, Boolean drawFrame)
at Stride.Games.GameBase.RawTickProducer()
SharpDX.SharpDXException: HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: The parameter is incorrect.
at SharpDX.Result.CheckError()
at SharpDX.Direct3D11.Device.CreateShaderResourceView(Resource resourceRef, Nullable`1 descRef, ShaderResourceView sRViewOut)
at SharpDX.Direct3D11.ShaderResourceView..ctor(Device device, Resource resource, ShaderResourceViewDescription description)
at Stride.Graphics.Texture.GetShaderResourceView(ViewType viewType, Int32 arrayOrDepthSlice, Int32 mipIndex)
at Stride.Graphics.Texture.InitializeFromImpl(DataBox[] dataBoxes)
at Stride.Graphics.Texture.InitializeFrom(Texture parentTexture, TextureDescription description, TextureViewDescription viewDescription, DataBox[] textureDatas)
at Stride.Graphics.Texture.InitializeFrom(TextureDescription description, DataBox[] textureDatas)
at Stride.Graphics.Texture.InitializeFromImpl(Texture2D texture, Boolean isSrgb)
at Stride.Graphics.Texture.InitializeFromImpl(ShaderResourceView srv)
at Stride.VirtualReality.OpenVR.GetMirrorTexture(GraphicsDevice device, Int32 eyeIndex)
at Stride.VirtualReality.OpenVRHmd.Enable(GraphicsDevice device, GraphicsDeviceManager graphicsDeviceManager, Boolean requireMirror, Int32 mirrorWidth, Int32 mirrorHeight)
at Stride.VirtualReality.VRDeviceSystem.OnEnabledChanged(Object sender, EventArgs eventArgs)
at Stride.Games.GameSystemBase.OnEnabledChanged(EventArgs e)
at Stride.Games.GameSystemBase.set_Enabled(Boolean value)
at Stride.Rendering.Compositing.ForwardRenderer.InitializeCore()
at Stride.Rendering.RendererCoreBase.Initialize(RenderContext context)
at Stride.Rendering.RendererCoreBase.EnsureContext(RenderContext context)
at Stride.Rendering.Compositing.SceneRendererBase.Collect(RenderContext context)
at Stride.Rendering.Compositing.SceneRendererCollection.CollectCore(RenderContext context)
at Stride.Rendering.Compositing.SceneRendererBase.Collect(RenderContext context)
at Stride.Rendering.Compositing.SceneCameraRenderer.CollectInner(RenderContext renderContext)
at Stride.Rendering.Compositing.SceneCameraRenderer.CollectCore(RenderContext context)
at Stride.Rendering.Compositing.SceneRendererBase.Collect(RenderContext context)
at Stride.Rendering.Compositing.GraphicsCompositor.DrawCore(RenderDrawContext context)
at Stride.Rendering.RendererBase.Draw(RenderDrawContext context)
at Stride.Engine.SceneSystem.Draw(GameTime gameTime)
at Stride.Games.GameSystemCollection.Draw(GameTime gameTime)
at Stride.Games.GameBase.Draw(GameTime gameTime)
at Stride.Games.GameBase.RawTick(TimeSpan elapsedTimePerUpdate, Int32 updateCount, Single drawInterpolationFactor, Boolean drawFrame)
at Stride.Games.GameBase.RawTickProducer()

@Faolan-Rad I'm curious if you would have issues on my fork, which I've been trying to keep up to date with SteamVR: https://github.com/phr00t/FocusEngine (this won't help any with the Stride bug, though, since this crash is happening in DirectX, where I use Vulkan for VR).

okay thank you that worked.

Still, it shouldn't crash or at least have a more explicit exception, reopening this.

Yes, that is the option and it was only a suggestion (that may have helped Faolan-Rad). I can't help you further, though, since I maintain my own fork (https://github.com/phr00t/FocusEngine) that handles this area very differently (and likely doesn't have this problem).


fix reader-platform policy to allow viewing of analytics

Datahub polic urn:li:dataHubPolicy:7 "All Users - Base Platform Privileges" already grants VIEW_ANALYTICS by default. However, we changed this on our instance and observed that the READER role did not in fact have the VIEW_ANALYTICS permission, different to what the policy description says.
This PR fixes that.
Let me know if this makes sense to you, or if I misunderstood the policies. Thanks!

I'm not sure it makes sense to give all "reader" roles the privilege to view analytics. analytics are more targeted towards admins as it currently stands. I'd prefer to avoid continuing with this change!
Will close for now, please reopen if there is urgency around this request.

I‘m confused then, because the description of this (existing) policy says that „readers can view analytics“. I thought I was just fixing something that was already meant to be there.


This tutorial is useful and needs to be updated to use the latest polymerfire components

This tutorial no longer works as expected for primarily two reasons:

The bower scripts don't work in the CDE.
The firebase sections are based on firebase 2.x.x

Updating this course to match note-app firebase techniques would make it easier for JS beginners to understand how to get this done
@robdodson is it too much effort to update this codelab?

@githarkirat We should probably just remove this code lab and replace it with this one: https://codelabs.developers.google.com/codelabs/polymer-firebase-pwa/index.html?index=..%2F..%2Findex#0

@robdodson well... from a learning perspective... the PWA codelab is a bit more complicated... it goes into pretty advanced concepts like service workers etc. and the overall idea of how exactly does polymer work with firebase gets lost somewhere in the details.
If someone could update the steps on GitHub, I'll be happy to write and edit the instructional steps... I think I should be able to figure out the steps involved based on the diffs...

@githarkirat I see. At the moment I don't know if anyone has available bandwidth to update the code lab so it might make sense to remove it from the code lab site temporarily (so it doesn't confuse people) and then add it back once someone has a spare cycle to update it

@robdodson ... or we could ask the slack community to volunteer to update it by forking it? just an option... would carry a lot of weight if you proposed it


Enhance CGI support

Required Tasks
The following tasks

[ ] Set the remote user and auth type if set on the request URI or via HTTP basic auth

Optional Tasks

[ ] Allow setting environment variables for specific scripts run to inherit. Disallows overriding CGI or protocol metavariables.
[ ] Allow mapping a path as a script alias.
[ ] Allow mapping a path to a file system location.

Links

See https://git-scm.com/docs/git-http-backend for an example CGI script that should work after these changes.
See https://www.rfc-editor.org/rfc/rfc3875.html#section-4.1.1 for details on the AUTH_TYPE  meta variable.

See https://www.rfc-editor.org/rfc/rfc3875.html#section-4.1.11 for details on the REMOTE_USER meta variable.

Example Basic Auth without Password:
$ curl -vvv<EMAIL_ADDRESS>*   Trying <IP_ADDRESS>:80...
* Connected to github.com (<IP_ADDRESS>) port 80
* Server auth using Basic with user 'misalcedo'
> GET / HTTP/1.1
> Host: github.com
> Authorization: Basic bWlzYWxjZWRvOg==
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Content-Length: 0
< Location: https://github.com/
<
* Connection #0 to host github.com left intact
$ echo 'bWlzYWxjZWRvOg==' | base64 -d
misalcedo:%

Example Basic Auth with Password:
$ curl -vvv<EMAIL_ADDRESS>*   Trying <IP_ADDRESS>:80...
* Connected to github.com (<IP_ADDRESS>) port 80
* Server auth using Basic with user 'misalcedo'
> GET / HTTP/1.1
> Host: github.com
> Authorization: Basic bWlzYWxjZWRvOnBhc3Nzd29yZA==
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Content-Length: 0
< Location: https://github.com/
<
* Connection #0 to host github.com left intact
$ echo 'bWlzYWxjZWRvOnBhc3Nzd29yZA==' | base64 -d
misalcedo:passsword%


'role-name' is in skip_list, but is not being skipped

Issue Type

Bug report

Molecule and Ansible details
$ ansible --version && molecule --version
ansible [core 2.11.5]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/Users/jgeerling/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /opt/homebrew/lib/python3.9/site-packages/ansible
  ansible collection location = /Users/jgeerling/.ansible/collections:/usr/share/ansible/collections
  executable location = /opt/homebrew/bin/ansible
  python version = 3.9.5 (default, May  3 2021, 19:12:05) [Clang 12.0.5 (clang-1<IP_ADDRESS>)]
  jinja version = 3.0.1
  libyaml = True
molecule 3.5.1 using python 3.9
    ansible:2.11.5
    delegated:3.5.1 from molecule

Molecule installation method (one of):

pip

Ansible installation method (one of):

pip

Detail any linters or test runners used:
N/A
Desired Behavior
I have the following .ansible-lint file set up:
skip_list:
  - 'yaml'
  - 'role-name'

When I run molecule test on any of my roles named with dashes (which are grandfathered in on Galaxy) like geerlingguy.aws-inspector (role here: https://github.com/geerlingguy/ansible-role-aws-inspector), I get the error:
ansible_compat.errors.InvalidPrerequisiteError: Computed fully qualified role name of geerlingguy.aws-inspector does not follow current galaxy requirements.
Please edit meta/main.yml and assure we can correctly determine full role name:

galaxy_info:
role_name: my_name  # if absent directory name hosting role is used instead
namespace: my_galaxy_namespace  # if absent, author is used instead

Namespace: https://galaxy.ansible.com/docs/contributing/namespaces.html#galaxy-namespace-limitations
Role: https://galaxy.ansible.com/docs/contributing/creating_role.html#role-names

As an alternative, you can add 'role-name' to either skip_list or warn_list.

skip_list should work as documented, and it has until today. It seems like something in the ability to skip the role-name check has changed and now all my roles like the one linked above are failing to run in Molecule :(
Actual Behaviour
See above—if I run molecule test inside the repo for geerlingguy.aws-inspector (or any other role I have with a dash in the name), I get a fail immediately with the same error message.

This seems to be an issue with the compatibility layer that was extracted from the Ansible Lint (this is why you are seeing the misleading Ansible Lint error). When Molecule tries to install the role under test, it encounters the "non-conforming" name and bails out instead of ignoring it.
I will move this issue to the ansible-compat repo since the actual bug will need to be solved there: the prepare_invironment function will need to chill a bit and allow installing more roles than it currently does.


Why not dispatchEvent?

Just curious, why have a method called send instead of the EventTarget's standard dispatchEvent method? I mean, granted, I could just do this in my code after the fact, just curious of the code design choice.

Never mind. I see the signature of the method is different now.

I tried to keep things simple rather than trying to emulate the DOM behavior closely:
https://github.com/bendrucker/dom-event-target#caveats
For the way most people write DOM code, the ability to emit events directly for testing is pretty convenient, especially in node. dispatchEvent means using all the constructors plus reconstructing the event name using the constructor name and the event type. And I'm not even sure that works universally.
I'd totally take a PR for a proper dispatchEvent method with plenty of tests.


Added .travis.yml

Added a travis file to test everything in the test directory and pack everything in the src directory.
It will need some tweaking to actually auto deploy new versions of packages, but as a first pass this will at least work for testing PRs.
You will need to do a bit of setup on the Travis CI side of things (by simply checking a few boxes) after authorising Travis

You can see it working on my fork here: https://travis-ci.org/JoeStead/Botwin


Feature Request: Copy TVHM State To NVHM

Most people blitz through NVHM so they can play TVHM. It would be nice to be able to update the NVHM state with the progress from TVHM.

Hello - this one's actually already in there: https://github.com/apocalyptech/bl3-cli-saveedit/blob/master/README-saves.md#copy-nvhm-state-to-tvhm
Cheers!

Hi @apocalyptech, this feature request is the reverse of that. TVHM > NVHM, not NVHM > TVHM.

Oh, so it is, sorry about that.  :)  Sure, I can get that added in in a bit, though I'm heading out for the weekend at the moment.

Thanks, I was out and about on holiday as well. Cheers for reopening this.

Heh, well I did implement this awhile ago but hadn't actually gotten around to testing it properly, and then sort of forgot that it was still sitting there.  I just pushed out an update with support for today's patch (Vault Card 3) which does not include the TVHM-copying functionality, since I still haven't tested it.  I'll try and get that worked out before next week, though, and push out a new version which has that enabled.  Cheers!

That's awesome! Cheers.

Okay, well, two years is a pretty decent time to finish up implementing a pretty minor feature, yeah?  Right?
Anyway, was dusting this thing off thanks to yesterdays cosmetics patch, and noticed that this thing was still in a mostly-implemented but not-at-all tested state.  Apologies again!  I did get some actual testing in today, and it looks like it should be in good shape, so this is finally committed to the github.  It'll be included in the forthcoming 1.17.0 release, which I'm hoping to get out this afternoon yet.
Cheers!


Support for Yocto / Intel Edison

Add Yocto Linux image/ Intel Edison support for forever-service please!

Working on an Edison project using forever-service. There are faaaaar fewer headaches actually just installing debian on them :)


Avoiding duplicate issue creation upon issue updating

this branch will avoid creating duplicate issue in the target repository

this pull request will not handle duplicate comments of comment addition. so I am closing it!


Fix some QuintIR serialization issues

These have turned up thanks to @konnov's report in
https://github.com/informalsystems/quint/issues/927

[x] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[x] Documentation added for any new functionality
[x] Entries added to ./unreleased/ for any new functionality

Codecov Report

Merging #2588 (937dc88) into main (a4f1694) will decrease coverage by 0.09%.
The diff coverage is 50.00%.

:exclamation: Current head 937dc88 differs from pull request most recent head 17210b0. Consider uploading reports for the commit 17210b0 to get more accurate results

@@            Coverage Diff             @@
##             main    #2588      +/-   ##
==========================================
- Coverage   78.49%   78.41%   -0.09%
==========================================
  Files         445      445
  Lines       15631    15653      +22
  Branches     2538     2563      +25
==========================================
+ Hits        12270    12274       +4
- Misses       3361     3379      +18

Impacted Files
Coverage Δ

...ain/scala/at/forsyte/apalache/io/quint/Quint.scala
86.60% <25.00%> (ø)

...n/scala/at/forsyte/apalache/io/quint/QuintIR.scala
81.03% <54.16%> (-18.97%)
:arrow_down:

... and 3 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Snowflake Quickstart Guide: Add common grants troubleshooting tip

What are you changing in this pull request and why?
During a recent on-site workshop with a large audience, I was stuck for 20 minutes because we all skipped granting access to the datasets when setting up dbt Cloud via Snowflake Partner Connect. (This is easy to do and has happened to me more than once.)
We discovered the right set of grant commands that would allow us to fix the issue, and so this PR is to shareback within the quickstart guide to help anybody else in the future who may have this problem.
I would appreciate review of the format and would appreciate any further commits to this PR to improve appearances on the QS guide.
Checklist

[x] I have reviewed the Content style guide so my content adheres to these guidelines.
[x] The topic I'm writing about is for specific dbt version(s) and I have versioned it according to the version a whole page and/or version a block of content guidelines.
[x] I have added checklist item(s) to this list for anything anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."
[x] The content in this PR requires a dbt release note, so I added one to the release notes page.

🚀 Deployment available! Here are the direct links to the updated files:

https://docs-getdbt-com-git-add-snowflake-qs-troubleshooting-dbt-labs.vercel.app/guides/snowflake-qs

Looks pretty good

hey @boxysean , thanks for opening this up and i'll take a look at this for you!

hey @boxysean , thanks for opening this up and looks good to me. made some small tweaks to this and really appreciate you opening this up!


[QUESTION] MQTT Power Status during Night

Describe the bug
Before i'll used pylips my smarthome ping'ed the ethernet interface of my TV's (65PUS8102 & 55PUS9104).
If they where offline/online this was a trigger todo certain things (switching lights, ...).
Sadly the philips tv has woke up in the night on ~04:00 AM everyday made this useless as a trigger.
After activating alexa on the tv, the "deep standby" was deactivated and the power state worked reliable.
After some time i switched to pylips with mqtt for power state (3sec intervall), which also works good (alexa is activated).
So my question is, does the power state also works when alexa is deactivated?
So DONT send "on" state @ ~04:00 AM when the TV is doing its magic (channel scanning!?)?
I want to deactivate alexa because i think, since i have activated it, the tv is more unstable (because of long runtime).
Also i have some audio dropout's on my HDMI ARC connected audio system. After reboot -> everything is in good shape.
To Reproduce
Steps to reproduce the behavior:

deactivate alexa on the tv
setup pylips with mqtt to your smarthome
set an trigger in your smarthome to switch on ligths or do some logging when tv goes on

Expected behavior
I'll hope that this works, so i can deactivate alexa and use deep standby again.
Also i would throw les energy without alexa.
Hope anyone of you is using this in such way and can give me some hints 👍
thx

My Smarthome has the answer :-)
2020.08.24 04:00:20 1: act_on_PCs_SZ: event: power: on
2020.08.24 04:00:43 1: act_on_PCs_SZ: event: power: off

Sadly pylips is reporting an short on period during the night.
Is there any workaround?
Thanks

The power state relies on whatever the TV's API is returning. Any custom logic that you might want to introduce should be handled on your client, not in Pylips itself since it's just a wrapper around the API.

Yeah, I have implemented a workaround in my smarthome or just do not trigger on power event.
Sad that philips has such bugs (or even needs reboots at night to keep things srable)
But sure it's not pylips related 😉


SpliceAI plugin - select input file

Add option to select one of the SpliceAI input files. Depends on https://github.com/Ensembl/VEP_plugins/pull/440
release/105
ENSVAR-4366
Sandbox: http://ves-hx2-76.ebi.ac.uk:7040/Tools/VEP

Hi, @dglemos  could you please add someone in variation team who could approve this please?


Consider splitting history Router prop into historyOptions and historyProvider (or something)

It looks as though there have been a few closed issues pertaining to the state object in the browser's querystring. Looking through these issues, I saw that there's a bit of documentation on the subject in the docs folder (and a lot of broken links in the closed issues). It looks as though it's necessary to install a dependency that's already used by the library in order to opt out of the query key.
Originally, I was going to suggest a quick and dirty solution - add a  queryKey prop, to easily opt out of this behavior. However, looking further, I think there's a better solution.
Since the library depends upon a specific implementation, let us pass the function directly, and the configuration in a separate property. This allows us to avoid having to explicitly declare the dependency if we only need to use the default createHashHistory strategy.
An example might look like this:
import React from 'react';
import ReactDOM from 'react-dom';
import { Router, Route } from 'react-router';
import { App } from './components/app.js!jsx';

ReactDOM.render((
	<Router historyOptions={{ queryKey: false }}>
		<Route path="/" component={App} >
			<Route path="/child" component={Child} />
		</Route>
	</Router>
), document.getElementById('app'));

If we wanted to change the strategy, we could do something like this:
<Router historyProvider={createBrowserHistory} historyOptions={{ queryKey: false }}>

I don't know about the names - I'm sure they could be improved - perhaps "historyStrategy" and "historyConfig" or something, no idea. (I'm terrible at naming things.) However, I think the concept is sound, and could work well with a minimal change to the codebase - looks like only the Router element would need to be changed.
What do you guys think? Any thoughts?

I think I'd like to enforce a more strict separation of history from the router codebase, rather than include historyOptions as a <Router> prop. When I try to introduce convenience props like these, I just end up with bugs (see #2025). :/


todo: rename fileinfo.FileInfo -> fileinfo.Info;  fileinfo.MimeType.Sup -> Known

Describe the bug
do this after merging textbuf branch
How to reproduce
asdf
Example code
No response
Relevant output
No response
Platform
macOS

leaving FileInfo as-is -- widely used in various contexts so probably clearer to leave it.  Sup is archaic however (was "supported")


[CI] Replace EVENT_NUMBER key by eventNumber in certification/TEST_TC…

…_SMOKECO_2_X.yaml
Problem
There are a typos in the different Test_TC_SMOKECO_2_*.yaml tests where the EVENT_NUMBER key should be eventNumber.

I noticed this, but the fix causes chip-tool to not compile. I added a new method in matter_yamltests to implement the test project, which is probably not a very good change and needs to be improved. #28704

The codegen tests have been removed, which should solve the problem of compilation failures. However, there are still some issues with using the eventNumber parameter in TC-SMOKECO:

Because TH currently only accepts the endpoint parameter, setting EVENT_NUMBER manually may fail. Even if it works, it can be troublesome for testing, which requires finding the value manually first, and then needing to modify the value after each test.
EVENT_NUMBER +1 in each readEvent step, if any test item is skipped due to PICS, it will also cause failure.

So I need a new method to get the latest event automatically, my logic for the change in #28704 is to add the last_event_number variable to the python runner to record the latest event number of the readEvent, and at the beginning of each yaml, add a readEvent with no response to let the last_event_number have a value, and in the subsequent readEvent step, if the isLastEventNumber parameter is true, the eventNumber parameter is set to last_event_number.

Hi, may we close this PR since https://github.com/project-chip/connectedhomeip/pull/28704 has merged, and TC - SMOKECO changed their method in looking for eventNumber. Merge this PR will cause conflict to these TCs' change. Thank you in advance.

Closing since https://github.com/project-chip/connectedhomeip/pull/28704 has merged.


How to use HttpClient usage for API calls?

Thanks for creating this awesome template. I really like the usage for axios instance for API calls.
While the client will work normally for API calls that doesn't need token. How can I use setAuthorization to add authorization header to axios instance for API calls that require authorization in the header?

Hi, thanks for your words! You should likely call setAuthorization in two places:

In the login action after receiving the token from the server and before calling dispatch(loginSuccess(user))

Supposing that you are saving the token on the store (let's assume inside the user slice) you should call setAuthorization in the persistor callback to set the token when the app rehydrates the store (you can use store.getState().user.token to retrieve it)

Let me know if you have further questions

Thanks for clearing that up.


[Bug]: App Dev Command Gets Stuck After Auth

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Creating an empty file at ../../Library/Caches/shopify-cli-nodejs/shopify.cli.log...
Sync-getting the size of file file at ../../Library/Caches/shopify-cli-nodejs/shopify.cli.log...
Running command app dev
Reading the content of file at<EMAIL_ADDRESS>Reading the content of file at shopify.app.toml...
Reading the content of file at package.json...
Reading the content of file at package.json...
Obtaining the dependency manager in directory /Users/curio/IdeaProjects/shopify-fulfiller-php...
Reading the content of file at web/shopify.web.toml...
Reading the content of file at web/frontend/shopify.web.toml...
Reading the content of file at package.json...
⠋ Installing any necessary dependencies

Running system process:
  · Command: yarn install
  · Working directory: /Users/curio/IdeaProjects/shopify-fulfiller-php

Running system process:
  · Command: yarn install
  · Working directory: /Users/curio/IdeaProjects/shopify-fulfiller-php/web/frontend
✔ Dependencies installed
Reading the content of file at package.json...
Ensuring that the user is authenticated with the Partners API with the following scopes:
[]

Secure store is available
Reading session from the secure store...
Validating existing session against the scopes:
[
  "openid",
  "https://api.shopify.com/auth/shop.admin.graphql",
  "https://api.shopify.com/auth/shop.admin.themes",
  "https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
  "https://api.shopify.com/auth/shop.storefront-renderer.devtools",
  "https://api.shopify.com/auth/partners.app.cli.access"
]
For applications:
{
  "partnersApi": {
    "scopes": []
  }
}

Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
The identity token is invalid: SyntaxError: Unexpected end of JSON input
Reading the content of file at<EMAIL_ADDRESS>
The validation of the token for application/identity completed with the following results:
- It's expired: true
- It's been revoked: true
- It's invalid in identity: true

Initiating the full authentication flow...
Authorizing through Identity's website...

To run this command, log in to Shopify Partners.
👉 Press any key to open the login page on your browser
Reading the content of file at<EMAIL_ADDRESS>Reading the content of file at<EMAIL_ADDRESS>Reading the content of file at<EMAIL_ADDRESS>Authorization code received. Exchanging it for a CLI token...
CLI token received. Exchanging it for application tokens...
✔ Logged in.
Secure store is available
Updating session in the secure store with new content...

Reproduction steps

run shopify app dev
press key to auth with browser
complete auth in browser
... wait ...

Operating System
MacOS Monterey
Shopify CLI version (check your project's package.json if you're not sure)
3.18
Shell
zsh
Node version (run node -v if you're not sure)
v16
What language and version are you using in your application?
Node 16, PHP 8.1

@amcaplan, I never saw a prompt from the keychain. Given that info though, I went into my keychain looking for the password stored there and it would lock up if I tried to view or delete it. After searching online, I saw a recommendation to reboot. After a reboot, everything started working normally 🤷


Inserting code under cursor omits the linebreaks

The whole code is concatenated on one line for me. How to fix this?

Hmm, does this happen with all commands?
Could you share your .vimrc, I'm wondering if it may be something in there that differs from mine that is required.

So I nailed it down a bit. Seems like the COC plugin is responsible. Namely this line of the configuration
" Use tab for trigger completion with characters ahead and navigate.
" NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by
" other plugin before putting this into your config.
inoremap <silent><expr> <C-j>
      \ coc#pum#visible() ? coc#pum#next(1):
      \ CheckBackspace() ? "\<Tab>" :
      \ coc#refresh()

function! CheckBackspace() abort
  let col = col('.') - 1
  return !col || getline('.')[col - 1]  =~# '\s'
endfunction

I guess the backspace checking gets in the way somehow. If I turn of the inoremap above, it works.

I think I have a solution. Of just overriding the CheckBackspace function temporarily inside the chatgpt-vim plugin functions, like:
function! GPT()
  " Override function from COCvim plugin temp
  function! CheckBackspace() abort
    return
  endfunction

  " function code here

  " Restore the original function name
  delfunction! CheckBackspace
endfunction

Could you try replacing the chatgpt.vim file with this:
if $OPENAI_API_TOKEN != ''
  let g:openaiToken = $OPENAI_API_TOKEN
else
  let g:openaiToken = system("cat ~/.config/openai.token")
endif

function! GPT()
  " Override function from COCvim plugin temp
  function! CheckBackspace() abort
    return
  endfunction
  let prompt = input("Enter chatgpt prompt: ")
  if g:openaiToken isnot v:null
    let output = system("echo '" . prompt . "' | openai complete - -t " . g:openaiToken)
    echo "\n" . output
    if confirm("Write output at cursor position? (Y/n)", "&Yes\n&No") == 1
      call feedkeys("i")
      call feedkeys(output)
    endif
  else
    let output = system("chatgpt '" . prompt . "'")
    echo "\n" . output
    if confirm("Write output at cursor position? (Y/n)", "&Yes\n&No") == 1
      call feedkeys("i")
      call feedkeys(output)
    endif
  endif
  " Restore the original function name
  delfunction! CheckBackspace
endfunction

function! GPTRun()
  " Override function from COCvim plugin temp
  function! CheckBackspace() abort
    return
  endfunction
  if confirm("Run and Ask gpt-3 about this " . &filetype . " file (Y/n)", "&Yes\n&No") == 1
    let runWith = input("Run with: ")
    let currentFile = @%
    let output = system("(echo 'Fix " . runWith . " warnings in this " . &filetype . " code '; cat " . currentFile . "; " . runWith . " " . currentFile . ";) | openai complete - -t " . g:openaiToken)
    echo "\n" . output
    if confirm("Write output at cursor position? (Y/n)", "&Yes\n&No") == 1
      call feedkeys("i")
      call feedkeys(output)
    endif
  endif
  " Restore the original function name
  delfunction! CheckBackspace
endfunction

function! GPTFile()
  " Override function from COCvim plugin temp
  function! CheckBackspace() abort
    return
  endfunction
  if confirm("Ask gpt-3 about this " . &filetype . " file (Y/n)", "&Yes\n&No") == 1
    let prompt = input("Ask: ")
    let currentFile = @%
    let output = system("(echo '" . prompt . "'; cat " . currentFile . ";) | openai complete - -t " . g:openaiToken)
    echo "\n" . output
    if confirm("Write output at cursor position? (Y/n)", "&Yes\n&No") == 1
      call feedkeys("i")
      call feedkeys(output)
    endif
  endif
  " Restore the original function name
  delfunction! CheckBackspace
endfunction

command! Gpt call GPT()
command! GptRun call GPTRun()
command! GptFile call GPTFile()

map gpt :Gpt<cr>
map gpr :GptRun<cr>
map gpf :GptFile<cr>

Let me know if this works (to save me the trouble of setting up coc myself to test)
If it works I'll push it to the repo

I've added a branch with the fix CheckBackspaceOverrideForCOC
But still remains untested.

I just tried it. It only inserts the first line unfortunately

So I just realized this morning that configuratoin in the original cocrc.vim
inoremap <silent><expr> <TAB>
      \ coc#pum#visible() ? coc#pum#next(1) :
      \ CheckBackspace() ? "\<Tab>" :
      \ coc#refresh()
inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"

" Make <CR> to accept selected completion item or notify coc.nvim to format
" <C-g>u breaks current undo, please make your own choice
inoremap <silent><expr> <CR> coc#pum#visible() ? coc#pum#confirm()
                              \: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"

function! CheckBackspace() abort
  let col = col('.') - 1
  return !col || getline('.')[col - 1]  =~# '\s'
endfunction

does not have this issue. The only thing I have changed is to map  and  instead of  and . Any idea why that could be?

Ah well, I will ask in on the COC channel. This has more to do with my configuration. Resetting the function in your code, is not the solution and you should not have to do that in the first place. I could remap the function back to  in your plugin myself, but I am still hoping that there is a better way.


Add instructions to start the editor for custom servers

Complements https://github.com/mui/mui-toolpad/pull/2800 with instructions in a popover on the application header, to start the standalone editor.

I just noticed that in the screenshot the copy icon seems a bit off-center vertically.

🤔  It's not meant to be centered, it's meant to be in the corner

I just noticed that in the screenshot the copy icon seems a bit off-center vertically.

🤔 It's not meant to be centered, it's meant to be in the corner

Ok, I personally think it would look better centered but if it's intentional feel free to keep it!

Ok, I personally think it would look better centered but if it's intentional feel free to keep it!

My main hesitation against that would be, what would it look like then for a code viewer that has multiple lines?

Ok, I personally think it would look better centered but if it's intentional feel free to keep it!

My main hesitation against that would be, what would it look like then for a code viewer that has multiple lines?

Got it, yeah even in the MUI docs it's always in the corner https://mui.com/material-ui/react-autocomplete/, I didn't think of that scenario. For a single line command maybe centering still looks better aesthetically, but anyway not a big deal, I think we can have it in the corner for consistency.


Package ( does not exist.

When trying to load parenscript @ 101b09ed5bec095a72068ef36afc080620b5ff42:
CL-USER> (asdf:operate 'asdf:load-op 'parenscript)
; compiling file "/home/burton/common-lisp/lib/Parenscript/src/package.lisp" (written 29 JAN 2015 09:42:45 AM):
; compiling (IN-PACKAGE #:CL)
; compiling (PUSHNEW :PARENSCRIPT ...)
; compiling (UNLESS (EDITOR-HINTS.NAMED-READTABLES:FIND-READTABLE :PARENSCRIPT) ...)
; compiling (EDITOR-HINTS.NAMED-READTABLES:IN-READTABLE :PARENSCRIPT)
; compiling |(DEFPACKAGE|
; compiling #:PARENSCRIPT
;
; caught ERROR:
;   READ error during COMPILE-FILE:
;
;     Package ( does not exist.
;
;       Line: 14, Column: 7, File-Position: 343
;
;       Stream: #<SB-SYS:FD-STREAM
;                 for "file /home/burton/common-lisp/lib/Parenscript/src/package.lisp"
;                 {10133948B3}>
; compilation aborted after 0:00:00.027
;
; compilation unit aborted
;   caught 3 fatal ERROR conditions
;   caught 1 ERROR condition
; Evaluation aborted on #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {10031F4823}>.
The |(DEFPACKAGE| looks very suspect but I can't seem to figure out what is wrong.

May I know what Lisp implementation you are using?

A relatively recent SBCL.

1.2.6? 1.2.7? 1.2.8? 1.2.9?

It was around 1.2.6 (built from git sources).  I've upgraded to 1.2.9 and still get the same error:
CL-USER> (require 'parenscript)
; compiling file "/home/burton/common-lisp/lib/Parenscript/src/package.lisp" (written 25 MAR 2015 09:01:43 AM):
; compiling (IN-PACKAGE #:CL)
; compiling (PUSHNEW :PARENSCRIPT ...)
; compiling (UNLESS (EDITOR-HINTS.NAMED-READTABLES:FIND-READTABLE :PARENSCRIPT) ...)
; compiling (EDITOR-HINTS.NAMED-READTABLES:IN-READTABLE :PARENSCRIPT)
; compiling |(DEFPACKAGE|
; compiling #:PARENSCRIPT
;
; caught ERROR:
;   READ error during COMPILE-FILE:
;
;     Package ( does not exist.
;
;       Line: 14, Column: 7, File-Position: 343
;
;       Stream: #<SB-SYS:FD-STREAM
;                 for "file /home/burton/common-lisp/lib/Parenscript/src/package.lisp"
;                 {10064A3733}>
; compilation aborted after 0:00:00.004
ASDF could not load parenscript because
COMPILE-FILE-ERROR while
compiling #<CL-SOURCE-FILE "parenscript" "src" "package">.

Same thing here with SBCL-1.2.9.
I've managed to compile the package by commenting out all references to the read-namedtables package. Then, the first time I (require :parescript) I get:
...
; compiling file "/usr/share/common-lisp/source/parenscript/src/package.lisp" (written 07 APR 2015 10:44:45 PM):
; compiling (IN-PACKAGE #:CL)
; compiling (PUSHNEW :PARENSCRIPT ...)
; compiling (UNLESS (EDITOR-HINTS.NAMED-READTABLES:FIND-READTABLE :PARENSCRIPT) ...)ASDF could not load parenscript because
The value #
is not of type
(OR FUNCTION SYMBOL)..
debugger invoked on a TYPE-ERROR in thread
#<THREAD "main thread" RUNNING {1002D364A3}>:
The value #
is not of type
(OR FUNCTION SYMBOL).
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY                        ] Retry
compiling #<CL-SOURCE-FILE "parenscript" "src" "package">.
1: [ACCEPT                       ] Continue, treating
compiling #<CL-SOURCE-FILE "parenscript" "src" "package">
as having been successful.
2:                                 Retry ASDF operation.
3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
configuration.
4: [ABORT                        ] Exit debugger, returning to top level.
(SET-MACRO-CHARACTER #( # NIL #<NAMED-READTABLE :PARENSCRIPT {1005BEB5A3}>) [tl,external]
0]
Then I hit 0 (RETRY) and the package compiles.

I've managed to (require) it. I've used:

sbcl-1.2.11
Latest named-readtables code pulled from https://github.com/melisgl/named-readtables
parenscript-2.5 downloadable from https://common-lisp.net/project/parenscript/

Right; it seems to be a problem in Named-Readtables caused by an inconsistency introduced by SBCL 1.1.18. It's been fixed by http://sourceforge.net/p/sbcl/sbcl/ci/c29b4b7e891df2cad98d136976a62ffcf7c184a3 and https://github.com/melisgl/named-readtables/commit/d72ad1e716987e473fd25993fa5c2614bb4913fa . I understand that you should be able to compile the repository version of Parenscript (no need to downgrade to 2.5) with the repository version of Named-Readtables and any SBCL upward from 1.1.18.


Run flutter update-packages --force-upgrade

Fixes https://github.com/flutter/flutter/issues/102868.

@christopherfujino was saying that he is working on resolving the dependency problems. I am closing this in favor of his work.


Check whether within() is being called

In my testing gs.within() never calls the callback function.  This PR causes the test to fail on my system.

sorry for the extremely belated reply! is this still relevant? @hogpilot?
i'm not seeing any errors with local tests so i'm thinking its safe to close out.


Set SDK base URL

Question
Hey @samchon, thank you for this great library.
We are just integrating it into our project and are wondering if there is a more ergonomic way to set up the baseUrl for the sdk client. We would like to set it up once and then change it depending on the environment.
maybe similar to the way axios does it?
// Set config defaults when creating the instance
const instance = axios.create({
  baseURL: 'https://api.example.com'
});

Cheers David

Sounds good to me

Okay, so I misunderstood your response.
This would still mean I have to add a connection to every request I have to make.
For sure we could abstract away the logic of setting up the connection like you showed above, but the argument has to get passed for every request.
My wish would be to something like this:
import api from '@myOrg/my-api';

export const instance = api.create({
  connection: import.meta.env.VITE_BACKEND_URL
});

and every request has the connection already set up

No plan to make the connection type to be such OOP styled.
My plan is to make IConnection to be a common interface for every SDK.


ICMP implementation differs from specification (RFC 792)

While testing the ICMP Destination Unreachable message i found out that the data
part of the message, which is supposed to contain (according to RFC 792) the IP Header (20 bytes) and the first 64 bits of the original data datagram, in reality contained the IP Header (20 bytes) + 64 bytes of the original  data datagram.
We should find out weather this is generally the case.

icmp_dest_unreachable.zip

RFC 792 was updated by RFC 4884. This introduces multi-part messages and length fields for Destination Unreachable (type = 3), Time Exceeded (type = 11), Parameter Problem (type = 12)
The ICMP Extension Structure may be appended to messages of the
following types:
- ICMPv4 Destination Unreachable
- ICMPv4 Time Exceeded
- ICMPv4 Parameter Problem
The ICMP Extension Structure must not be appended to any of the other ICMP messages
RFC1812 <IP_ADDRESS> extends the "original datagram" field to contain as many octets as possible without causing the ICMP message to exceed the minimum IPv4 reassembly buffer size (i.e., 576 octets)

Closed in favor of #174.


Uninstall is not deleting the Gauge folder

Uninstall is not deleting the Gauge folder from Program files. Two files are left behind

backup_properties_file
set_timestamp

Version
gauge-0.8.0.nightly-2017-02-14-windows.x86_64

this is expected, given we backup the gauge.properties when doing a re-install. This should not be the case when uninstalling and installing everytime.


[4.6 Tracking] Implement HTML App Menu

Addresses the following accessibility issues:
#1802, #1803, #1804
Work to be completed:

[X] Disable native menu for Windows
[x] Implement menu widget
[x] Implement app menu component (File, Debug, Edit, etc.) that hooks into and uses menu widget
[x] A11y
[x] Wire up menu functionality / state
[x] Theming / styling
[x] Polish
[x] Tests

Addressed in #1893


WIP: :seedling: bump github.com/kcp-dev/apimachinery

/assign @stevekuznetsov

LGTM, will tag after update

Don't think we need this anymore?
/close


NumberInput requires two presses of "-" if non-empty

A funny edge case, but reported by a client and you can see how it would be annoying if you were frequently editing values. Can replicate in Toolbox, but does not appear to effect raw Blueprint component.

Enter a value into a number input
Tab out, then tab back in again - existing value should be selected via default
Type "-" as if you wish to enter a negative number - input clears, but is now empty instead of containing "-".
Type "-" again - works OK and you can continue to enter your negative number.
Typing a number (instead of "-") works as you would wish, clearing the existing content and replacing it with the just-typed number.

This just significantly raises the priority of fixing #730 , in my mind.
The need to allow entry of numbers that aren't fully numbers on every keystroke is really the genesis of the entire design of having a seperate "commit" phase and an internal vs. external value.


Parse wallet sigchain links

Parse wallet sigchain links.
Add libkb.User.StellarWalletAddress() -> *keybase1.StellarAccountID.
On top of https://github.com/keybase/client/pull/11044
When links that were stubbed get unstubbed, what happens? This must be happening for v2 track links. I want to make sure no paths can sneak past my modifications to verifySubchain.
What should I do in terms of tests? github.com/keybase/keybase-test-vectors/go?

Switched to posting and requiring v2 wallet links. PTAL the last commit.


Commands (rerun/reboot, request logs, radio tuning, detumble tuning, battery threshold, etc...)

[x] soft/hard reboot
[x] request logs

Splitting this into two separate issues
software updates related commands (done)
and configuration (need more software support)


features checksum

Hello I tried to implement the checksum.
In ordet to do the validity for the checksum I added in the FeaturesQuery.features three fields that are taken from the odata API,
these fileds are:

Checksum (the data might not be present as far as I know as discussd in `#40)

        for product_odata in odata_list_value:
            map_id_checksum[product_odata["Id"]] = {
                "Checksum": product_odata.get("Checksum", []), #here if present takes it otherwise empty list
                ...
            }

ContentLength (I do a check if contentLenght is the same as the size in the features.propertie.services.download.size but it might be redundant)

                if (
                    feature.get("properties")
                    .get("services")
                    .get("download")
                    .get("size")
                    == product_odata["ContentLength"]
                ):
                    feature["ContentLength"] = product_odata["ContentLength"]
                else:
                    print(
                        f"Warning: content length of {feature.get('id')} does not match the ContentLength in odata"
                    )

odata (the whole odata not sure if it could be useful to someone)

Then on the download part I left a few TODO since I am not sure of the logic to implement in these cases. It can be discussed.
First question:
        valid_checksum = validity_check(tmp, feature)
        if valid_checksum == Validity.VALID or valid_checksum == Validity.IGNORE:
            shutil.move(tmp, result_path)
        else:
            # TODO here to implement the logic what if the checksum is invalid?
            os.remove(tmp)

after the validity check, which can be otputed in 4 different state:
class Validity(Enum):
    VALID = 1 # the file is not corrupted
    INVALID = 2 # the file is corrupted
    IGNORE = 3 # verification is ignored for lack of metadata
    CONTINUE = 4 # it's a partial file (so far it's handled as a corrupted one)

what I have done so far is if the file is valid or metadata is not present we move the temp in the result otherwise we delete the dowloaded stuff (the problem here is there is no feedback of what is not downloaded),
As I seggested on a previous pull request it could be usefull to integrate a sort of retries attemp in the logic of download_feature() as mentioned in #72 so we can handle corrupted files and partial ones as discussed in #69. So far I tried to stick just on the checksum and integrity of the file.

@pjonsson Hi how do you run the test in local with pytest? So that I can impement the mock for the Odata so there is less test failures

I have no idea, but .github/workflows/pytest.yml  uses pytest --cov=cdsetool --cov-report xml. I'm guessing you can omit the cov-parameters if you are not interested in coverage information.

Hello @pjonsson, @pedep  I guess I was able to solve all the problems on this feature, maybe it's better to check wheter I did not change any logic in 96


The link to install beta8 on installing-on-windows.rst is dead

Right now it links here: http://go.microsoft.com/fwlink/?LinkId=690242
But that gives a 404.

Looks like it is working now.


Index out of bounds panic in main.rs:153:21

Running dnspeep on a Fedora 33 machine with both IPv4 and IPv6 connectivity I can sometimes see queries but then sooner or later I get:
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', src/main.rs:153:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The backtrace doesn't seem to be very useful; it appears to be failing where it says it's failing, in the line:
    let question = &dns_packet.questions[0];

This seems to be the result of the authoritative DNS server I'm running on this machine answering a query by telling the sender to go away (I think):
In  IP [RANDOM-IP].30279 > [MYIP].domain: 5140+ [1au] ANY? . (33)
Out IP [MYIP].domain > [RANDOM-IP].30279: 5140-| [0q] 0/0/1 (23)

Wireshark confirms that the relevant DNS reply packet has no questions, no answer RRs, no authority RRs, and one additional RR of type OPT.
(This has already been useful, I had no idea people were spraying my authoritative nameserver with these queries.)

Thanks for reporting! I made a PR to fix this in #6 -- can you test if it works?
I'd also love a pcap file (only if there's no private data in it of course) so I can eventually add some tests for this case.

This still panics, but now slightly later:
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', src/main.rs:157:25
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I think this is happening because dnspeep is seeing an answer (with no questions) for a query that it didn't see, and so is trying to insert the answer into the id map. I suspect that perhaps the code should look for the 'this is a response' flag and skip adding those to the map, whether or not they've got a question in them. Looking at the documentation for dns-parse, it looks like this is the 'query' bool in the header, so dns_packet.header.query in your code.
I think this raises another issue, which is that the current code appears to assume that queries are never repeated with identical IDs. If they are, I believe the second time around dnspeep will think that it has an answer.
Also, the new PR appears to sometimes put quotes around the query (type) in the output, eg printing "MX" instead of just MX.

Can you share a pcap file of some DNS queries that cause the problem? It'll be easiest for me to reproduce and fix the issue with a pcap file. You can get one with
sudo tcpdump -i any port 53 -c 100 -w dns_packets.pcap

You can email it to<EMAIL_ADDRESS>if you don't want to post it to github.

@siebenmann Can you try #6 again? I refactored all of the query tracking logic and I think it makes a lot more sense now (and will be a lot less buggy). I rebased it on master and force pushed so you might have to delete your local branch.
I also added a feature to replay pcap files and tested it by replaying the pcap file you sent me (dnspeep -f dns_packets.pcap) and it doesn't crash anymore on that pcap file.

It looks good to me. I left dnspeep running for a fair while without any panics, and all of the output looked correct (and well formatted).


Panic Caused Following SQL Transaction Rollback

I was creating two token pools programmatically and seemed to have caused a SQL transaction rollback that caused a panic / crash. I was only able to get the following logs:
{"@timestamp":"2022-11-04T18:19:16.993Z","breq":"_LpGVpJt","level":"debug","message":"\u003c== POST http://firefly-erc1155:3000/api/v1/activatepool [204] (127.76ms)","pid":"1","proto":"fftokens"}
{"@timestamp":"2022-11-04T18:19:16.993Z","level":"debug","message":"fftokens updating operation default:d3a4c134-2614-4ace-9aab-4e758dd21bfa status=Succeeded","ns":"default","pid":"1"}
{"@timestamp":"2022-11-04T18:19:16.993Z","level":"debug","message":"Submitting operation update id=d3a4c134-2614-4ace-9aab-4e758dd21bfa status=Succeeded blockchainTX= worker=opu_003","ns":"default","pid":"1"}
{"@timestamp":"2022-11-04T18:19:16.993Z","dbtx":"sZW9aNhb","level":"debug","message":"SQL-\u003e begin","ns":"default","pid":"1","role":"aggregator"}
{"@timestamp":"2022-11-04T18:19:16.994Z","dbtx":"sZW9aNhb","level":"debug","message":"SQL\u003c- begin","ns":"default","pid":"1","role":"aggregator"}
{"@timestamp":"2022-11-04T18:19:16.994Z","dbtx":"sZW9aNhb","level":"debug","message":"SQL-\u003e commit","ns":"default","pid":"1","role":"aggregator"}
{"@timestamp":"2022-11-04T18:19:16.994Z","dbtx":"sZW9aNhb","level":"debug","message":"SQL\u003c- commit","ns":"default","pid":"1","role":"aggregator"}
{"@timestamp":"2022-11-04T18:19:16.999Z","breq":"XpTkerjB","level":"debug","message":"\u003c== POST http://firefly-erc1155:3000/api/v1/createpool [202] (33.84ms)","pid":"1","proto":"fftokens"}
{"@timestamp":"2022-11-04T18:19:17.035Z","level":"info","message":"Received operation update: status=Pending request=default:e67f31db-bc13-4630-9160-901d10604d37 tx=0xf276c932635b2957fcf6b9c066da6e29a0940213d77f57afc06b206b61110a8c message=","pid":"1","proto":"ethereum","role":"event-loop"}
{"@timestamp":"2022-11-04T18:19:17.035Z","level":"debug","message":"ethereum updating operation default:e67f31db-bc13-4630-9160-901d10604d37 status=Pending","ns":"default","pid":"1"}
{"@timestamp":"2022-11-04T18:19:17.035Z","level":"debug","message":"Submitting operation update id=e67f31db-bc13-4630-9160-901d10604d37 status=Pending blockchainTX=0xf276c932635b2957fcf6b9c066da6e29a0940213d77f57afc06b206b61110a8c worker=opu_003","ns":"default","pid":"1"}
{"@timestamp":"2022-11-04T18:19:17.036Z","level":"debug","message":"Received receipt event ","pid":"1","proto":"fftokens","role":"event-loop"}
{"@timestamp":"2022-11-04T18:19:17.036Z","level":"info","message":"Received operation update: status=Pending request=default:e67f31db-bc13-4630-9160-901d10604d37 message=","pid":"1","proto":"fftokens","role":"event-loop"}
{"@timestamp":"2022-11-04T18:19:17.036Z","level":"debug","message":"fftokens updating operation default:e67f31db-bc13-4630-9160-901d10604d37 status=Pending","ns":"default","pid":"1"}
{"@timestamp":"2022-11-04T18:19:17.036Z","level":"debug","message":"Submitting operation update id=e67f31db-bc13-4630-9160-901d10604d37 status=Pending blockchainTX=0xf276c932635b2957fcf6b9c066da6e29a0940213d77f57afc06b206b61110a8c worker=opu_003","ns":"default","pid":"1"}
{"@timestamp":"2022-11-04T18:19:17.043Z","dbtx":"Et74dU4o","level":"debug","message":"SQL-\u003e begin","ns":"default","opupdater":"opu_003","pid":"1"}
{"@timestamp":"2022-11-04T18:19:17.044Z","dbtx":"Et74dU4o","level":"debug","message":"SQL\u003c- begin","ns":"default","opupdater":"opu_003","pid":"1"}
{"@timestamp":"2022-11-04T18:19:17.044Z","dbtx":"Et74dU4o","level":"debug","message":"SQL-\u003e query transactions","ns":"default","opupdater":"opu_003","pid":"1"}
{"@timestamp":"2022-11-04T18:19:17.046Z","dbtx":"Et74dU4o","level":"debug","message":"SQL\u003c- query transactions","ns":"default","opupdater":"opu_003","pid":"1"}
{"@timestamp":"2022-11-04T18:19:17.046Z","dbtx":"Et74dU4o","level":"debug","message":"Transaction '9475c06d-4c69-4097-b1d7-5550e98df40d' not found","ns":"default","opupdater":"opu_003","pid":"1"}
{"@timestamp":"2022-11-04T18:19:17.046Z","dbtx":"Et74dU4o","level":"debug","message":"SQL-\u003e update operations","ns":"default","opupdater":"opu_003","pid":"1"}
{"@timestamp":"2022-11-04T18:19:17.048Z","dbtx":"Et74dU4o","level":"debug","message":"SQL\u003c- update operations affected=1","ns":"default","opupdater":"opu_003","pid":"1"}
{"@timestamp":"2022-11-04T18:19:17.048Z","dbtx":"Et74dU4o","level":"debug","message":"Operation update 'default:e67f31db-bc13-4630-9160-901d10604d37' from 'ethereum' ignored, as it does not match operation source 'fftokens'","ns":"default","opupdater":"opu_003","pid":"1"}
{"@timestamp":"2022-11-04T18:19:17.048Z","dbtx":"Et74dU4o","level":"warning","message":"SQL! transaction rollback","ns":"default","opupdater":"opu_003","pid":"1"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa2fa5b]

goroutine 127 [running]:
github.com/hyperledger/firefly/internal/operations.(*operationUpdater).doUpdate(0xc000126280, {0x1044018, 0xc00095b710}, 0xc000561830, {0xc000773500, 0x3, 0x0}, {0xc000ae0220, 0x3, 0x4})
	/firefly/internal/operations/operation_updater.go:265 +0x55b
github.com/hyperledger/firefly/internal/operations.(*operationUpdater).doBatchUpdate(0xc000126280, {0x1044018, 0xc00095b710}, {0xc000ae01c0, 0x3, 0x0})
	/firefly/internal/operations/operation_updater.go:228 +0x476
github.com/hyperledger/firefly/internal/operations.(*operationUpdater).doBatchUpdateWithRetry.func1.1({0x1044018, 0xc00095b710})
	/firefly/internal/operations/operation_updater.go:180 +0x3c
github.com/hyperledger/firefly/internal/database/sqlcommon.(*SQLCommon).RunAsGroup(0xc000148460, {0x1044018, 0xc00055a030}, 0xc00095b5f0)
	/firefly/internal/database/sqlcommon/sqlcommon.go:159 +0x109
github.com/hyperledger/firefly/internal/operations.(*operationUpdater).doBatchUpdateWithRetry.func1(0x45244f)
	/firefly/internal/operations/operation_updater.go:179 +0xdc
github.com/hyperledger/firefly-common/pkg/retry.(*Retry).Do(0xc000194d80, {0x1044018, 0xc00055a030}, {0xee919c, 0x10}, 0xc00099be68)
	/go/pkg/mod/github.com/hyperledger/firefly-common@v1.1.1/pkg/retry/retry.go:56 +0xe4
github.com/hyperledger/firefly/internal/operations.(*operationUpdater).doBatchUpdateWithRetry(0xc00099bf88, {0x1044018, 0xc00055a030}, {0xc000ae01c0, 0xc00033b0c9, 0x1})
	/firefly/internal/operations/operation_updater.go:178 +0x9b
github.com/hyperledger/firefly/internal/operations.(*operationUpdater).updaterLoop(0xc000126280, 0x1c)
	/firefly/internal/operations/operation_updater.go:167 +0x37c
created by github.com/hyperledger/firefly/internal/operations.(*operationUpdater).start
	/firefly/internal/operations/operation_updater.go:134 +0x186

This was using a fork of the ERC1155 connector (based on v1.1.x), and a Postgres database backend. Good news is, once the FireFly node recovered it had still replayed the receipts and events from creating the pool such that it seems to have been made it successfully. So while this wasn't a show stopper, would be good to determine how the invalid memory reference occurred and prevent the panic in the first place.

It's technically possible for tx to be nil here:
https://github.com/hyperledger/firefly/blob/9ffba93f85153128288274b91a58abd44f8e9a86/internal/operations/operation_updater.go#L218-L221
and therefore for candidate to be nil here:
https://github.com/hyperledger/firefly/blob/9ffba93f85153128288274b91a58abd44f8e9a86/internal/operations/operation_updater.go#L265
I really don't think it should be possible to have an operation exist and a transaction not exist, but...?


after update, providers disappeared from dashboard

in dashboard, the providers tab is empty. inside apps, databases seems to have no name but present.
I get VM124 dashboard-56ebc63….js:9060 Uncaught (in promise) TypeError: Cannot read property 'id' of undefined and VM124 dashboard-56ebc63….js:4274 Uncaught (in promise) TypeError: Cannot read property 'name' of undefined errors
Version: v20160814.0

it seems the actual providers exist and working but not shown

Can you post the output of flynn provider? I think this may be #3198.

c1a34fcf-af18-4732-a6c3-0287a0a898da  mysql     http://mariadb-api.discoverd/databases
3c2cf900-0df9-4435-834b-0d1d0cfe4db4  redis     http://redis-api.discoverd/clusters
b7165b71-cd87-4f24-b195-fc0737b0ca7f  postgres  http://postgres-api.discoverd/databases

This is indeed #3198, there is a workaround here: https://github.com/flynn/flynn/issues/3198#issuecomment-235968699

@jvatic the url in that workaround should not matter, right?
when this bug is fixed, how can I revert this?

Correct, the URL is irrelevant.
This should revert the workaround:
flynn -a controller pg psql
=> DELETE FROM providers where name = 'mongodb';
DELETE 1
=> \q
flynn -a mongodb delete --yes

We'll have a fix for using mongodb soon.

See here if you need to use mongodb: https://github.com/flynn/flynn/issues/3198#issuecomment-240152451


:bug: fix(bal-step-item): hidden bal-step-item is rendered

Current Behavior
A bal-step-item with the hidden attribute is rendered and included in the step numbering:

<bal-steps value="tab-c">
    <bal-step-item value="step-a" label="Done" done>Content of Step A</bal-step-item>
    <bal-step-item value="step-b" label="Failed" failed>Content of Step B</bal-step-item>
    <bal-step-item value="step-c" label="Active">Content of Step C</bal-step-item>
    <bal-step-item value="step-d" label="Default">Content of Step D</bal-step-item>
    <bal-step-item value="step-e" label="Disabled" disabled>Content of Step E</bal-step-item>
    <bal-step-item value="step-f" label="Hidden" hidden>Step F should be hidden</bal-step-item>
</bal-steps>

Expected Behavior
bal-step-item with hidden attribute is not rendered and not taken into account for numbering of steps.
Steps to Reproduce

Create bal-steps container
Add several bal-step-item elements
Add the hidden attribute to one of the bal-step-item elements.

Version
15.0.2
Browsers
Chrome
Device
No response
Code Reproduction URL
https://codesandbox.io/p/sandbox/bug-bal-steps-ds-15-0-2-skpzx8?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clqf2177t0006356ixjfh6fd3%2522%252C%2522sizes%2522%253A%255B70%252C30%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clqf2177t0002356ip5j29igf%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clqf2177t0003356ip7uophm2%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clqf2177t0005356imr1t4iwy%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clqf2177t0002356ip5j29igf%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clqf2177t0001356igmcejm7e%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fsrc%252Fmain.ts%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%252C%2522id%2522%253A%2522clqf2177t0002356ip5j29igf%2522%252C%2522activeTabId%2522%253A%2522clqf2177t0001356igmcejm7e%2522%257D%252C%2522clqf2177t0005356imr1t4iwy%2522%253A%257B%2522id%2522%253A%2522clqf2177t0005356imr1t4iwy%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clqf2177t0004356iyispruvz%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A0%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522activeTabId%2522%253A%2522clqf2177t0004356iyispruvz%2522%257D%252C%2522clqf2177t0003356ip7uophm2%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522clqf2177t0003356ip7uophm2%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Atrue%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D
Additional Information
No response
Code of Conduct

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

/cib


Loose Base and Shoulder Joints Causing Vibration in Robotic Arm – Possible Solutions?

Hi, @TheRobotStudio thanks a lot for your excellent work!
After assembling my robotic arm, I noticed that the Base Rotation Joint and Shoulder Joint of followe arm are a bit loose.
Even after tightening all the screws, there’s still some play in these joints. This causes the entire arm to vibrate during teleoperation.
Could this issue possibly be caused by insufficient precision in the 3D-printed links?
Or Has anyone else encountered this issue? How did you solve it?
P.S. I am using the FeeTechSTS3215 7.4V version motors
Thanks a lot!

Some people have reported problems with the 12v version but I have not encountered it myself yet so I'm not clear on the causes.
Where is the looseness? Where the structure screws to the servo horns or how the servos attach to the arm itself?

@TheRobotStudio you are correct that the looseness in my video is actually the normal thing.
It turns out that the vibration is not due to any loose connection but due to the motor configuration.
I changed the minimum start force of rotation base motor and shoulder motor to 5N (16N by default) and reduced the P_coefficient to 8 (16 by default), then the vibration is almost gone.

Great!


Add missing parameter "count" to storage/device

Pull Request (PR) description
This add the count parameter for storage devices
This Pull Request (PR) fixes the following issues
Fixes #73

tested, works. please review and/or merge


Should graphviz module be in requirements.txt?

Alex Casas reports that he needed to install it to run any of our examples.
It seems ok to me if it's not a requirement, if it's only needed for the examples, but presumably there's also code that generates the graphviz somewhere in the library?

I see no reason not to add it for now at least - it's possible it will be refactored out at some point in the future.
Note, however, that the graphviz module also depends on having an installation of graphviz outside of python.

Checking into this, we don't actually use requirements.txt, we use setup.py. GraphViz is already in the requirements, so what we need is to document the requirement for installing graphviz outside of python.


Image sources disappear after .setContents()

Describe the bug
editor.setContents() removes the src values from img tags which causes the image to disappear. Rolling back to version 2.41.3 temporarily solves the problem.
To Reproduce
Steps to reproduce the behavior:

Create a suneditor instance
Call .setContents() with a string that contains an <img> tag with src attribute
Call .getContents() and notice the missing src attribute from the <img> tag

Expected behavior
.setContents() should not remove the src and the image should still be displayed
Screenshots
v2.41.3

v2.42.0

Desktop (please complete the following information):

OS: Ubuntu 20
Browser: Google Chrome
Version: 93.0.4577.82

Additional context
If this isn't a bug, please advise how to prevent the images to disappear on the current version. Thanks!

This issue is not reproduce.
Can you provide me an image tag string the error occur?


Serialize Deltas and BrokenUses

What I would like to have:
Store Deltas and BrokenUses on disk (in the project), such that they can be reused later.
Why I need it:
My project relies on Maracas for computing API deltas and detecting broken uses on clients depending on these APIs. I analyze many cases, which means that I may encounter different clients that depend on the same API library, and where the Delta can be reused. Of course, Delta can be reused if it was stored previously. It saves some computational work.
Besides, having serialization (and storing) for broken uses is also handy in order to help generating a broken uses dataset.
How is it supposed to work?
When Delta is computed, store it in a format that can be reused later. Make this delta distinguishable by name.
Similar for Broken Uses.

Hi @KarinaMankevic, thanks for the issue!
This feature would make a lot of sense indeed. At first glance, it seems a bit tricky to implement as deltas and broken uses directly reference the library's and clients' ASTs, so the ASTs would probably have to be serialized too—in which case serialization/deserialization would likely take at least as much time as just re-computing the whole thing. There's probably some ways to address this issue, we'll look into it and get back to you asap.

Okay, I gave it a try and I'm encountering the issues listed above. Due to the way breaking changes and broken uses are implemented, they cannot be easily serialized without serializing the ASTs with them (or without re-computing the ASTs every time). So basically, serialization does not provide any benefit and re-computing deltas is the way to go. Of course, you can still store deltas in your own HashMap or whatever data structure to reuse them later with other clients without having to serialize them to disk!
On a side note, it would still be useful to serialize deltas and broken uses as JSON files (not the complete deltas that can be used to analyze clients, but a degraded version that would just list all breaking changes, their location, the impacted clients, etc.). This shouldn't be too hard to implement, so let's see.

I agree with your proposal to implement serializing deltas and broken uses to JSON files. For the project I am working on especially broken uses would be useful to have as one of the results of my analysis!


blobserver/s3: EOF errors when writing files

With s3 as the primary blobserver for Camlistore, I'm getting EOF errors when writing files, by uploading them through the web UI.
Uploading them with camput seems to work fine however. So I thought at first that something was wrong with how the web UI uploads files, but...

... it can be reproduced without the web UI:
https://camlistore-review.googlesource.com/5766

I think I've found the problem and a fix. CL later today.

https://camlistore-review.googlesource.com/5776

b9aec12f31bbd263979ac4157824675f3438c237


Add a CONTRIBUTING.md file

The issue queue is a huge mess right now (largely my fault due to not doing my job... :sweat_smile:), and it isn't getting better and requires a lot of manual involvement.
Adding a CONTRIBUTING.md does the following:

Shows a notice at the top of new issues requesting the submitter read the guidelines before submitting an issue. Hopefully some will actually do that and instead go to Gitter or Google Groups.
Gives us a place to write down community standards, etc.

Everyone in support of this idea? If so, what all should we put in it?

Agree, I did one PR and I didn't know what is the proper way, I would personally try to avoid having combined and minified files in the main repo, it makes things confusing for me.

Fixed in 8b520aac635c53dcbc3dd286ad03d54929ed9271.


400 Bad Request HttpDelete

Describe the bug
I am getting a 400 bad request when using the HttpDelete.  Works when I use HttpGet.  I doubt this is a bug, but I have no idea what I am doing incorrectly.  This should be easy.
To Reproduce
Steps to reproduce the behavior:

Using this version of ASP.NET Core 2.1
Mac OS 10.12.6
Using Kestrel
Run this code '....'
[HttpDelete("{id}")]      public async Task<IActionResult> Delete(int id)      {          var request = new Delete.Command {Id = id};          await _mediator.Send(request);          return NoContent();      }
With these arguments '....'
DELETE https://localhost:5001/subscription/api/v1.0/participant/3
Accept: /
Cache-Control: no-cache
See error
400 Bad Request

Expected behavior
A clear and concise description of what you expected to happen.
Not get a bad request
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Include the output of dotnet --info

Could you include Debug logs for the application? Perhaps an MVC filter is executing that's returning the 400.

You are correct, it was the global AutoValidateAntiforgeryTokenAttribute filter. I added the IgnoreAnitforgeyToken to the api controller.  Thank you!