[Question] Anybody interested in a analog RGB light stripe implementation for Arduino + Aurora?

Hi, yesterday I got myself an Arduino and decided to convert an old decoration LED stripe as a ambi-light for my PC.
Please note that there are two kind of RGB LED stripes. The digital (that support different colors for different areas) and the analog one that has only one global color.
This implementation is for the second one (analogue). Powered by an Arduino and its serial port connection.
I already have implemented the code running in the Arduino, and the integration with Aurora , and its working very nicely so far. Works even better than my Clevo implementation that requires Admin privileges.  I even implemented color transitions and fading to be computed on the Arduino, for perfect smooth transitions.
I implemented it on an older version of Aurora, but there should be no issues upgrading it to the latest version. I could do that when I find a free moment.
So I would just like to know if anybody would be interested in this, or if it would be even something worth to integrate into the main Aurora app.
Greetings.

I will look into this once I get the H-bridges or mosfets connected and working with the Arduino. Do you think you can make something like this but for the Raspberry Pi so it can run alongside digital LEDs? If I had the time I would try doing this myself.

Hi @andyman1222. I don't have a Raspberry Pi nor digital LEDs to implement and test it. If I'm not wrong there is a RPi implementation here that should be working already: https://github.com/antonpup/Aurora/tree/pi-lighting
If @antonpup decides to merge the pi implementation to main then it should be able to work together with the digital RPi and the analog RGB using Arduino.

Here goes the Arduino sketch: https://github.com/rkkoszewski/ArduinoRGBLedDriver
And my implementation in an older version of Aurora:  https://github.com/rkkoszewski/Aurora/tree/dev

Would this work with V0.6.0b? I am very interested in this.

@rkkoszewski Umm... the RPi implementation doesn't need to be merged with main. I just wanted to have it on a separate branch so it's easier for people to download and install. My RPi implementation is a script addon, so it will work regardless.
There are two ways to go about your implementation: 1. Merge your Ardino device as part of Aurora and give users options to define the device (ip or whatever you use to connect). 2. You could convert your implementation into a script and PR it to the RPi branch.
But I don't have an arduino not analog lights to test with. So... up to you.

Nice!! Thats good news!!
So I finally managed to upgrade the Arduino light script to work woth the lateat Aurora implementation (the latea dev beta version). I'll commit it tomorrow if I won't forget it. The only bad thing is that my commits for mixed all into my local dev branch, so my Mirage ambient light test implementation and other minor stuff.
I really like  that the latest version is showing the latency of the device, in the Arduino implementation I've never seen it going over 0ms. But my clevo implemwntation loves to spike to sometimes over 50ms. So I'm wondering how Aurora is handling the calls to the different devices? Is parallel or one after one? Is it blocking or non blocking? In other words, if one device has high latency, does it affect the other devices?
If yes I could optimize my Clevo implementation to make it asynchronous as I did in my C++ implementation. I just want to know if this is even needed or if Aurora already handles it asynchronously?
Greetings.

I cannot get Aurora to recognise the arduino with the version you have made. Is there anything I am missing? I have changed all the COM4 instances to COM5, but can't get any response, despite aurora saying 0ms delay.

Hi, its probably because I updated the Arduino sketch to support custom configuration commands from Aurora, and some IDs have changed. Tomorrow I'll push both my latest update to Aurora and the new Sketch.
Now it is possible to set the com port from within Aurora, and also custom white points (R,G,B), wnable gamma correction, enable smooth transitions, and some more stuff which will be automatically configured on the Arduino on connect.

Cool. I'll test it as soon as I can.

Hi, so I finally updated my Aurora build and the Arduino Sketch. Took a bit longer than expected (health stuff). Here are the links to the repos:
https://github.com/rkkoszewski/Aurora
https://github.com/rkkoszewski/ArduinoRGBLedDriver
You can set the COM port and sevarl setting from withing Aurora. Only max-brightness is still not working. Let me know if it Works for you.

I have just a single color led strip connected with my arduino.
I loaded your sketch and activated your Aurora version but the leds are only white, after activating the serial Arduino in settings. From what should it use the color?

I'm using the "PeriphericDevice" as color source, the same as the Clevo Touchpad.
I've set the "Preferred Mouse" to "Clevo - Touchpad" and use that one. I haven't tested other configurations, but I guess that any Peripheric Device color is the same.

Ah ok thanks. It works. <3
Goodjob @rkkoszewski .

This works! But my strip is common cathode, so all the colours are inverted. What's the best way to swap this?

Hello I have a RGB strip same as https://www.adafruit.com/product/1138 I use it as Ambilight with https://gitlab.com/UnCanard14/Ambient And I was interested by Pi Backlighting but my strip is not compatible with https://github.com/rkkoszewski/ArduinoRGBLedDriver and I ask you if somebody can do something for me ? =)

@UnCanard14 I have same if not exact strip. I use it with a Raspberry Pi. A device script for it can be found on this branch: https://github.com/antonpup/Aurora/tree/pi-lighting

@antonpup Thank you very much for your answer, I will look at it

Hi @simon-wh It will be great if you can merge the part of the code of @rkkoszewski in the v0.7.0 about the arduino in the layer Devices & Wrappers =). Cordially
https://github.com/rkkoszewski/Aurora/releases/tag/AnalogRGB.1.0

Hello everyone. Very cool and interesting this idea of integration with arduino. I have a question, is there any way to integrate with Digital RGB Led Strip? Like the ws2811 / ws2812b? Thank you.

I don't remember the code I wrote for this project. But I actually ported ws2811 Arduino scripts to regular analogue RGB strips. There are plenty very easy to use libraries that allows to control the colours very easily. Though my script only supports one region, so you won't be able to take advantage of the full sectorial features that the ws strips have. I may look into it once I'm done writing my master thesis.

Oh! Cool! I am looking for various ways to integrate with Arduino and Digital RGB Strip. I even found some links with this idea, like this:
https://github.com/antonpup/Aurora/issues/846
I'm really excited about all this. In raspberry pi is very cool synced effects. Thank you for your support.

hey @rkkoszewski
I'm exploring the possibility to sync Aurora effects to a wireless adruino LED setup
I'm considering the esp32,  do you think this can be done (just asking before I go source for the parts)
cheers

Hi @duythvn.
I made a ESP8266 ESP-01S version for myself way back in time. I can see if I can find it somewhere. It was TCP based, which made it very crappy (FPS wise). I'm reverse engineering the DreamScreen protocol which uses UDP and promises 60fps updates for LED lights. Once I've reverse engineered the protocol I can implement a similar o a compatible protocol for the device.
P.D: sorry for kind of abandoning on the project. I've finally finished my master's degree, and now I'm looking for work, there is always something to be busy with. :D

@rkkoszewski  thanks for sharing your  insights.  I know we all have other responsibilities to take care of :)
good luck with the job hunt and hope to hear from you if you have any chances with that cool reverse engineering project


WIP make globs case-insensitive by default

Still needs

setting to be actually hooked up to glob.ts where appropriate
I don't like the setting name or description
unit test fixes

Is this still in progress?


Update README.md

Thinking of adding a note to the top.. it'll also include https://github.com/pcqpcq/open-source-android-apps


Graphql mesh latest version upgrade

I have upgraded graphql mesh to latest versions:
"@graphql-mesh/config": "^6.1.0",
"@graphql-mesh/graphql": "^0.29.12",
"@graphql-mesh/openapi": "^0.31.2",
"@graphql-mesh/runtime": "0.42.2",
"@graphql-mesh/soap": "0.12.12"
After upgrade "const { findAndParseConfig} = require('@graphql-mesh/config');" is not available to load the .meshrc.yaml file.
It is throwing error findAndParseConfig if not defined.

Now Soap request object is having issue :
URI is missing in soap request object

It seems @graphql-mesh/cli is not on your dependencies list.
Try adding it (yarn add @graphql-mesh/cli).
If error still occurs - could you provide some more info, starting with the error message?

Thanks @gilgardosh , You are right.
Apparently it is moved to cli package from config in new versions.

@gilgardosh ,
While calling soap "getMeshSource" its undefined in latest version as It has SaopHandler.
Is there any way to get meshsourse directly

Hi @DevMesh18 ,
I'm not sure I follow what you want to achieve here.

Could you make sure your Mesh dependencies are updated to latest?
Can you create a minimal reproduction of this issue? You can use StackBlitz or CodeSandbox for that

Hello,
I am using a soap here in resolver:
`const moment = require('moment');
const { ApolloServer, gql, withFilter }  = require('apollo-server-express');
const services = require('./../services/services');
const resolvers = {
Mutation: {
testEvent: (root, args, {MySoap}) => {
console.log(MySoap) // it is undefined
}
}
};
module.exports = { resolvers };`
and my mesharc.yaml file is:
`sources:

name: MySoap
handler:
soap:
wsdl: http://localhost:8088/mockOutputEventServicePortBinding?WSDL
basicAuth:
username: ${MIRIS_SOAP_USERNAME}
password: ${MIRIS_SOAP_PASSWORD}

additionalResolvers:

./resolvers/resolvers.js`.

Added code on page.
Thanks
Sent from App for Gmail
Monday, 12 September 2022, 11:36 +0530 from @.***  @.***>:

Hi  @DevMesh18 ,
I'm not sure I follow what you want to achieve here.

Could you make sure your Mesh dependencies are updated to latest?
Can you create a minimal reproduction of this issue? You can use  StackBlitz or  CodeSandbox for that
—
Reply to this email directly,  view it on GitHub , or  unsubscribe .
You are receiving this because you were mentioned. Message ID:  <OpenSourceHelpCommunity/Questions/issues/109/1243260507 @ github . com>

From those partial code it's hard to figure out what's the cause.
Please set up a basic reproduction as I mentioned so we could find what causes this issue.

Added code on git. Please let me know it is accessible or not.

refer above file where MySaop is undefined.

I am sorry, but this reproduction is still partial and doesn't reproduce the error.
You can have a look at the examples on Mesh repo to see how things are configured there. Here is an example with additional resolvers, you can see that when configed well, context does contains the sources SDL.
I suggest you try yourself:

As mentioned, upgrade all Mesh depepdencies to latest. Also remove the redundant ones.
Add DEBUG=1 before the execute command (e.g DEGUG=1 yarn start). It'll add dev data to the console

For me to further help, set up an actual reproduction that examples the error.

Its added on. Use command from server directory to run:

node index.js

https://codesandbox.io/p/github/DevMesh18/test-soap/csb-jztll0/draft/cranky-diffie?file=%2Fserver%2Fresolver.js&selection=%5B%7B%22endColumn%22%3A5%2C%22endLineNumber%22%3A10%2C%22startColumn%22%3A5%2C%22startLineNumber%22%3A10%7D%5D&workspace=%257B%2522activeFileId%2522%253A%2522cl81edi2k0006lni29u867z9s%2522%252C%2522openFiles%2522%253A%255B%2522%252FREADME.md%2522%252C%2522%252Fserver%252F.meshrc.yaml%2522%255D%252C%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522gitSidebarPanel%2522%253A%2522COMMIT%2522%252C%2522sidekickItems%2522%253A%255B%257B%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A9000%252C%2522url%2522%253A%2522jztll0-9000.preview.csb.app%2522%252C%2522key%2522%253A%2522cl81elfaa01ay356hm9rt82s1%2522%252C%2522isMinimized%2522%253Afalse%257D%252C%257B%2522type%2522%253A%2522TERMINAL%2522%252C%2522shellId%2522%253A%2522cl81eezt5000nlni2eavrfsal%2522%252C%2522key%2522%253A%2522cl81eeyzd00ob356hge75cpj9%2522%252C%2522isMinimized%2522%253Afalse%257D%252C%257B%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522npm%2520install%2522%252C%2522key%2522%253A%2522cl81ee7u10092356h4iu6lj72%2522%252C%2522isMinimized%2522%253Atrue%257D%255D%257D


|request|'s REQUEST object should include a rqid

SIM-PROTOCOL.md documents a rqid field, but the rqid is actually implemented in server/roombattle.js instead of in the sim, so its not really part of the protocol. The logic should be moved into sim so that clients/middleware doesn't need to track it and so that it could be used in the simulator logic (eg. https://github.com/Zarel/Pokemon-Showdown/pull/5418#issuecomment-480553928)

It was previously in sim, which is why it was documented in SIM-PROTOCOL. It was moved to roombattle because sim has no use for it and I wanted it to be cleaner. How useful is it for simulator logic?

What would be the benefit of including an rqid? As of #5418 it looks like choices are still stateless, which is how I'd prefer them to be, too.

@Slayer95 suggested it, maybe he can chime in. Otherwise I'll remove it from the SIM-PROTOCOL doc and close this out

I simply said to use the rqid feature, not to put it in the sim request object :|
FWIW, @Zarel 's suggestion there to send |error| and |request| should automatically update the rqid as I said.

I think the argument for rqid in the REQUEST object is to obviate the need for clients to count requests in order to be able to undo. But since TCP is lossless and in order I guess we don't need to worry about the client not being able to have the same count as the simulator.

Clients do get rqid, though. It's not so much about packet loss/ordering as about being able to display a "too late to undo" rather than a "can't undo" message, if undo is received after your opponent makes a move.
I'm just saying the sim itself doesn't need rqid. It's purely for whoever makes a client-server system around the sim, hence why it's implemented in room-battle.

Clients do get rqid, though.

RandomPlayerAI is a client and does not get a rqid.

Remote clients do get rqid. RandomPlayerAI is synchronous and doesn't need to worry about race conditions. It also doesn't use undo at all.


Error: No results to report

Hi ,
While running below command I got error like "Error: No results to report"

memory_analyzer run process_id

so i ran below command

memory_analyzer run --debug process_id

I got below error
gdb.error: Error occurred in Python command  : No symbol table is loaded use the "file" command
so i have done few changes and kept few prints and i found PID value is printed as 0
and i replace the file_command to file then it ran it shown below error
No such file or directory
then i hard coded the PID insted 0, then i ran again and got it is not executable file
If possible can you resolve it,
Thanks in advance

The docs might not be clear enough, process_id is supposed to be replaced with the numeric PID of the process you want to analyze.
If you've done that, can you give the verbatim output of ps showing your process, ls -l /proc/$pid/exe, and the exact commands you're running and what they're outputting?  Also what your distro is and what version of gdb it comes with.


[BUG] Problem with tiktok QR and cookie conflict with douyin url links

Describe the bug that occurs
when I open the example.py file I can't capture the QR because it seems to be the douyin QR and not the tiktok QR, so my tiktok app won't process the douyin QR. So nowhere does it say if this QR works for both tiktok and douyin or only for douyin.
On the other hand, when I set the cookies manually, I don't know where to put the tiktok link I want to download so it seems to use a douyin url by default and my cookies are for tiktok, so I get a problem reading .json.
Bug Reproduction Steps to reproduce this behaviour:
[   💻   ]:Windows平台
[   🗻   ]:获取最新版本号中!
[   🚩   ]:目前 14200 版本已是最新
[  配置  ]:配置验证成功!
[  配置  ]:读取本地配置完成!
[  提示  ]:异常，链接错误,无法提取用户ID.
[2023-08-20 20:08:34,095] - Log.py] - ERROR: [  提示  ]:异常，链接错误,无法提取用户ID.，Traceback (most recent call last):
  File "D:\- GITHUB repo\TikTokDownload-main\Util\Profile.py", line 450, in get_Profile
    self.sec_user_id = await self.get_all_sec_user_id(inputs=self.config['uid'])
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\- GITHUB repo\TikTokDownload-main\Util\Profile.py", line 164, in get_all_sec_user_id
    raise ValueError("链接错误,无法提取用户ID.")
ValueError: 链接错误,无法提取用户ID.

[  提示  ]：按任意键退出程序!

Screenshot If applicable, add a screenshot to help explain your issue.
Desktop (please fill in the following information):

OS: [e.g. windows 11 64bit] - vpn proxy: [ off] - Project version: [ <IP_ADDRESS>] - py version: [3.11.4]

Attachment
How do I download videos from a tiktok profile, how ?

only for douyin,now


avoid repeat loading of the workflow resource in RetireSubjectWorker

Follow up to #2785 - we really only want to know if the workflow exists we don’t need the whole resource to do this in the RetireSubjectWorker.
I am going to look at our workers and how they use the workflow resource as we could be serializing more data over the wire and from the db than we currently need / use.
However littering the code with Workflow.select(:id, :project_id, ..).find(id) is not ideal and will probably mean we miss it in the future. It may be easier to just slice the task object to it's own model and accept_nested_attributes from the workflow to deal with this. That way we can safely use the workflow resource and ensure we pre/eager_load the tasks association for the serializers.
This may also be a time to think about how to better store these json task definitions and if they should be in the db at all, should we instead slice them out to a media resource in aws instead? Something to think about, in the meantime this PR is a start on avoiding lots of db fetches we don't use.
Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

@marten any thoughts on the comments about slicing tasks to it's own model / remote storage location?

I can see slicing it out to a table. I assume you're thinking WorkflowTask(workflow_id: int, key: string, config: jsonb) and Workflow has_many :workflow_tasks?

Storing it in S3 is less preferable to me than getting the CDN to be able to cache the API response.

The model would look like that yes, thanks for the comments.


More advanced JS engine support (eg, V8)

The Rhino JS engine is quite limited and seems to be far from modern JS. For example, it doesn't support regex (in my use case - I need to fetch a login email and parse it to get a login link).
Would it be possible to add support for a better JS engine?
For example, there's this open source project https://github.com/caoccao/Javet/ which seems to be an integration of V8 in Java 💭

Hey @smikheiev maestro does support an experimental graal js engine. Can you check if this support fulfills your requirements?
Doc: https://maestro.mobile.dev/advanced/javascript/graaljs-support

hey @amanjeetsingh150! sorry, I missed that GraalJS supports the latest ECMAScript 🙈 I tried it briefly and it seems to work fine and fulfill our requirements. thanks! 👍🏻


Don't use value_with_units/value_with_units.unit

Let's not use expressions like
value/value.unit

in the code.  There's just too much potential for these being in different units and getting converted to arbitrary units.  Let's just define kT somewhere convenient and use that throughout:
value/kT

Also, for things like log probabilities and log weights, let's use unitless floats (in units of kT).

Completed in #263


Clean up Buildkite scripts a little

What is the plan for the bug in Project class in sbt_dependency_tree.py?

What is the plan for the bug in Project class in sbt_dependency_tree.py?

Going to stare at it for a bit.


ISPN-14673 HSTRLEN RESP command

fixes https://issues.redhat.com/browse/ISPN-14673
HSTRLEN resp command implementation

Thanks, @rigazilla!


DBZ-6856: Added overview tab & update to connector detail page.

Screenshots:
Overview

Edit connector config

Note:

The "Incremental screenshot" tab is present in these screenshots for representation purposes only and will not appear in actual UI for now(I will add it later when complete functionality is there ).

The task section is left as "coming soon" as we need supporting APIs (which will be available after Debezium Connect REST Extension implementation is complete. I will update this tasks section along with other things like connector live status and ability to perform actions(pause, delete...) on this page after it)

@indraraj Overall looks good, my only suggestion would be for the overview page to make the left grid equally divided to fit the viewport, unless we are using the empty space for something else.

Leaving it as it is for the moment, will revisit it once we bring the task and connector actionable button update


Security Issues - Security Audit

Describe the bug
A couple of days ago I was making a platform security audit as part of GCI contest
I found a couple of issues (they may not be a real threat at all, I am not a security expert)
I put all my research in Google Docs
Note: you can work on one/couple of issue from doc if you don't want to work on whole problem, but don't use fixes directive
Are you working on this issue? (Yes/No)
No

still valid

@tachyons can it be re-opened?


Update deployment to Galaxy 22.05

The SDR project could benefit from upcoming Galaxy releases; in particular 22.09 is expected to introduce ROCrate functionality. To be able to adopt 22.09, the SDR should be updated to 22.05 to minimise the difficulty of transitioning later.
22.05 has introduced more modern hosting techniques (gunicorn, celery) and is beneficial in its own right.

This has now been achieved and has been deployed in both development and production


Fix GetDisposeMethod to match consensus

PR #180 reached consensus in the July, 2023 TC39 plenary, but there was a typo in the GetDisposeMethod AO that results a normative change that was not intentional nor part of the consensus. It has long been the intent that we should throw early when @@asyncDispose or @@dispose is not found on a resource, but #180 inadvertently lost this requirement. This PR intends to align the proposal text with the actual consensus.
Fixes #208

@bakkot do you imagine this requires consensus, or is it fair to say this is a bugfix intended to match with the existing consensus?

I think it's fine to call it a bugfix.
If you're presenting anyway you might call it out, but I don't think you need to call for consensus.


train my own dataset

hi,i'm sorry to disturb you again,
my server environment is:
python 3.6 + pytorch1.5 + torchvision0.6 + ubuntu16.04
how should i train my own dataset?
wish your reply,thx

The code release in this repo is meant for reproducing the results of research papers.
We help users who have trouble using the code to reproduce results in the paper, but in general we do not provide suggestions on other issues such as how to apply the method to a new task or dataset.

hi,i'm sorry to disturb you again, my server environment is: python 3.6 + pytorch1.5 + torchvision0.6 + ubuntu16.04 how should i train my own dataset? wish your reply,thx

Hi,
did you try to apply it on custom dataset?


NO-JIRA: Enable the ibm-cloud-managed cluster profile on network.operator CRD

By removing the annotation from types_network.go we can rely on the generators to add the cluster profiles.
This commit doesn't introduce any functional changes as CNO was already annotating that CRD with the ibm-cloud-managed cluster profile:
https://github.com/openshift/cluster-network-operator/blob/019fa77b2afb6186320ebe15604f7d26d76bcfab/manifests/0000_70_network_01_networks.crd.yaml#L7
https://github.com/openshift/cluster-network-operator/blob/019fa77b2afb6186320ebe15604f7d26d76bcfab/hack/update-codegen.sh#L63

/lgtm

/label acknowledge-critical-fixes-only


Consignment conceal procedure

Companion to https://github.com/rgb-org/rgb-core/pull/22

Here are my comments after reviewing the solution.
I have tested the updated version of RGB Node via the CLI, and the solution (for locally accepting the transfer so asset change allocations get recorded) seems to work as intended.
However, from an end user's stand point it does not seem to be very practical. For me to be able to accept the consignment locally (saved to the xxxx.revealed.rgb file), I had to resource to the rgb command line tool to read the contents of the consignment file and retrieve the blinding factor associated with the asset change outpoint, since that is required when issuing the fungible accept CLI command.
It would be better if that information (the asset change outpoint blinding factor) was directly returned by the fungible transfer CLI command, similarly how the receiver's outpoint blinding factor is returned by the fungible blind CLI command.

However, from an end user's stand point it does not seem to be very practical. For me to be able to accept the consignment locally (saved to the xxxx.revealed.rgb file), I had to resource to the rgb command line tool to read the contents of the consignment file and retrieve the blinding factor associated with the asset change outpoint, since that is required when issuing the fungible accept CLI command.

My understanding is end-users will not use the CLI, at least in its current form to do these operations. It will be handled by wallets. And they can store and retrieve relevant information programmatically.
So I think making the CLI extra efficient will not result in many benefits as it's not intended to be used by end-users anyway.
I do think we also need to update the demo doc so devs can run through this process.

My understanding is end-users will not use the CLI, at least in its current form to do these operations. It will be handled by wallets. And they can store and retrieve relevant information programmatically.

@rajarshimaitra, when I say "end user", I mean any one who is in possession of the library/program and intends to use it. I understand that most likely it will be software developers, like myself, who will do it, but that does not mean that we should make their lives harder if we can avoid it.

So I think making the CLI extra efficient will not result in many benefits as it's not intended to be used by end-users anyway.

@rajarshimaitra, I would not classify exposing a simple piece of information as "making the CLI extra efficient." The effort for doing it is certainly small.

when I say "end user", I mean any one who is in possession of the library/program and intends to use it. I understand that most likely it will be software developers

Well, then I misunderstood that part. Yes, it does make sense to have the blinding factors returned for easier dev flows.
ACK.

@claudiosdc, yeah, cli is purly debugging tool not intended to be used outside of those working on RGB development (even for wallet devs). But I do agree that the current design with two consignments is suboptimal. I just had to do something as less intrusive as possible to have the current version fixed and get v0.4 published before doing something more optimized for v0.5.
My current plan addressing the issue is:

Instead of doing two consignment, introduce a special Disclosure type (at the stash mod) which will not be shared outside and intendet only to persists local changes to stash externally to the stash itself. Rationale:

Consignment will grow large, exporting most of stash asset data and then merging it back without any good reason
It's a bad practice to import external large binary file (consignment) back into the stash w/o validation, which will produce even more unnecessary load (disclosure validation can be much simplier)
Disclosures were planned anyway for exposing/proving facts about the stash for those who already know the history but only had some data concealed (like issuer may conceal some of the information in case of non-RGB20 assets or smart contracts and be able to reveal it later with disclosures - for instance you can build a lottery smart contract based on that)

If it is still desirable to have cli fixed in v0.4 it can be done, since underlying API does not require secret to be presented (it's a vector which van be 0-elements), so it should be just couple of lines PR.

@claudiosdc, yeah, cli is purly debugging tool not intended to be used outside of those working on RGB development (even for wallet devs). But I do agree that the current design with two consignments is suboptimal. I just had to do something as less intrusive as possible to have the current version fixed and get v0.4 published before doing something more optimized for v0.5.
My current plan addressing the issue is:

Instead of doing two consignment, introduce a special Disclosure type (at the stash mod) which will not be shared outside and intendet only to persists local changes to stash externally to the stash itself. Rationale:

Consignment will grow large, exporting most of stash asset data and then merging it back without any good reason
It's a bad practice to import external large binary file (consignment) back into the stash w/o validation, which will produce even more unnecessary load (disclosure validation can be much simplier)
Disclosures were planned anyway for exposing/proving facts about the stash for those who already know the history but only had some data concealed (like issuer may conceal some of the information in case of non-RGB20 assets or smart contracts and be able to reveal it later with disclosures - for instance you can build a lottery smart contract based on that)

I see your point.

If it is still desirable to have cli fixed in v0.4 it can be done, since underlying API does not require secret to be presented (it's a vector which van be 0-elements), so it should be just couple of lines PR.

Well, I would feel better if we did not need to dig up the asset change outpoint blinding factor from the revealed consignment to accept it locally.

Here you are: https://github.com/rgb-org/rgb-node/pull/147


Fixing Code of Conduct broken link in Contributing Documentation.

Signed-off-by: soniasingla<EMAIL_ADDRESS>CC : @bwplotka @povilasv :heart_eyes_cat:

Where is the link broken? It works for me navigating GitHub on master

it doesn't work in the web https://thanos.io/contributing/


Remove particular segment

I am trying to delete particular data from its index but at that time segmented progress bar not reload or reset , it shows previous index data. please let me know remove data from particular index and move to next.
I had used all functionalities of skip, pause and previous. all these functionalities works awesome.
I want to use this like Instagram stories.
I had trying method for delete is give as below
func delete() {
let currentSegment = segments[currentAnimationIndex]
currentSegment.topSegmentView.frame.size.width = currentSegment.bottomSegmentView.frame.width
let newIndex = max(currentAnimationIndex - 1, 0)
if newIndex < self.segments.count {
self.delegate?.segmentedProgressBarChangedIndex(index: newIndex)
self.animate(animationIndex: newIndex)
} else {
self.delegate?.segmentedProgressBarFinished()
}
}
If any changes let me know

Sadly I don't have any time to help you here. Sorry!

Thanks for the reply

Hi @Ruchitdifferenz, Have you managed to do so?

Hi @Ruchitdifferenz i'm also work like instagram multiple story if you have any more improvement please help me.
i have also the demo but is not work properly. here is main problem Live video streaming and UIpageviewcontroller is hung.


Kernel 5.0.0 updates to code and documentation

Added fix from @Herrie82 for kernel version 5.0.0 and above
(slightly modified for memory usage and speed)
README.md updated to reflect latest changes. Added link to rcraid-dkms from @thopiekar.

Added fix from @Herrie82 for kernel version 5.0.0 and above
(slightly modified for memory usage and speed)
README.md updated to reflect latest changes. Added link to rcraid-dkms from @thopiekar.


Weird Javascript parsing error on non-existing line

When I try to create andTrigger with workflow that doesn't exists I get error from Javascript library, but the failing line (170) doesn't exists in workflow.js
Caused by: https://github.com/collectivemedia/audience-modeling-etl/blob/a242e3145d233e7096d43ee97af8c1d7328c0b57/src/main/cycle/workflow.js#L94

It's caused by null passed into offset trigger

Figured this one out: #676 and #675


Auto Reconnect

Changed the code so that it keeps a redis connection open and attempts to reconnect up to CRONLOCK_RECONNECT_ATTEMPTS times before throwing an error in the event the connection has been lost.
This change attempts to fix the issue with redis going away between initial connect and later commands. For instance it was possible to set the redis key to CRONLOCK_RELEASE, run the command, and then fail to set the redis key to CRONLOCK_GRACE resulting in that cron been blocked for the duration of CRONLOCK_RELEASE.

Wow, thanks!


Generate man page for new releases

Generates a man page when running a dist build using the --help-man functionality in Kingpin, and makes it so it gets uploaded to GitHub when we do a release.

Coverage remained the same at 92.507% when pulling 29ac2cd9d03203c42d49356ea5295304acde92e5 on cs/release-man-page into c50df6a5c3a2c2a84e821ad0a7eb5d1ea79d25b9 on master.


Salesforce - break apart across multiple days

Part 1 Modules = 1.5 hours
Part 2 Modules = 12 hours
I would recommend that Salesforce be spread across and done in the afternoon of each day:
Day 1 Active Listening - Intro to Salesforce + SFModule 1-7 (~3.5 hrs)
Day 2: Handling Rejection - SF Modules 8-10 (~3.75 hrs)
Day 3 Questionable Empathy  - SF Modules 11-13 (~4 hrs)
Day 4 Work Day + Course Feedback- SF Modules 14-17 (~3.75 hrs)

Issue addressed

Addressed in latest PR


bot not follow me..

pls help me

They are not finished

Is finished, LOL, is for OGAR servers

i think he is talking about agario bots but the updates you just posted does that work on agario

But this is for Ogar, @davidmann4 Close


three.js webots.min.js loading information

The new webots.min.js may take long time to load models. Especially for textures.
Some information about loading time (the lady bug, or a progress bar, or both?) would be welcome.
Could the texture loading be asynchronous as before?

Could the texture loading be asynchronous as before?

Not sure to understand what do you mean.
The texture loading is already asynchronous in webots.min.js.
But probably the render function is called only after the scene is fully loaded.

You're right, we are already close to the optimal: the render function is called once after the x3d load, and once after each texture load. The result is a bit weird but it's difficult to do better.

The result after #508 is more comprehensive. The GUI is not blocked during the texture load. I think we can safely close this issue.


[#2424] improvement(spark-connector): make all Spark SQL keywords uppercase for consistency

What changes were proposed in this pull request?
Make all Spark SQL keywords used in spark connector integration test uppercase
Why are the changes needed?
Fix: #2424
Does this PR introduce any user-facing change?
No
How was this patch tested?
./gradlew build -PskipTests

LGTM, let's wait CI to finish.

@ichuniq merged to main, welcome to join the Gravitino community, and hope to enjoy the journey!


Offline Maps?

Is it possible to store offline maps?
Someone on the web suggested OsmSharp, but I don't know much about it.
https://github.com/OsmSharp
Someone else said that neither Google nor Apple allow offline map storage. Is anyone familiar with this issue?

I'm interested in this too.

That is not possible and requires ALOT of work.

Well, I navigated my various map pages, zooming in and out while online. Then I went offline and the maps were still there.  They were still there, which makes me think they're in some persistent cache somewhere.
I wonder how long the maps will stay on the device. This was an Android. Haven't tried iPhone yet.


Updated Agent models and prefabs for the Crawler and Walker

@wandrzej Just add example game for the crawler agent v1 and v2, you can run them and see how they perform differently. click to see video
I can try to look into the issue and fix them if you want me to take over from here?

OK, I will take over and the discussion is switched to Slack!


Error with older version of attrs

I get the following error:
(python_env) ➜  software python -c "import autohoot"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/mnt/home/mfishman/software/AutoHOOT/autohoot/__init__.py", line 15, in <module>
    from . import autodiff
  File "/mnt/home/mfishman/software/AutoHOOT/autohoot/autodiff.py", line 20, in <module>
    from autohoot.utils import find_topo_sort, sum_node_list, inner_product, find_topo_sort_p
  File "/mnt/home/mfishman/software/AutoHOOT/autohoot/utils.py", line 236, in <module>
    @attr.s(eq=False)
TypeError: attrs() got an unexpected keyword argument 'eq'

with attrs-19.1.0. Upgrading to attrs-21.2.0 fixes this. Maybe the version should be specified in requirements.txt?

Thanks for letting us know! This should have been fixed now.


Can not show all suggestions for socket, and go to definition will go to the wrong line.

Environment data

VS Code version: 1.33.0
Extension version (available under the Extensions sidebar): 2019.3.6352
OS and version: 10.14.2
Python version (& distribution if applicable, e.g. Anaconda):  CPython 3.6.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions: N/A

using language server.
Expected behaviour
Display all avliable suggestions for socket, and go to the right source code.
Actual behaviour
Suggestion:

There are all suggestions for package socket.
Go to definition:

I have no idea these behaviors are related or not, they just happened together. If not, I can divide them into two issues.
Steps to reproduce:
example code:
import socket

socket.socket

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
N/A

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
go to definition:
[Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /Users/me/.asdf/installs/python/3.6.6/lib/python3.6/socket.py

@MisLink, thanks for letting us know about this.  I've been able to verify the problem you've reported and that it is not a problem when using Jedi.  So this appears to be an upstream problem.  I'll file an issue upstream.

https://github.com/Microsoft/python-language-server/issues/840

Same as https://github.com/microsoft/vscode-python/issues/5132

Seems to have been fixed.


Create Activity Page

PTI 004
Components

TKTK
are we showing only 1 challenge at a time?
x activities displays these attributes
name
description
duration
block for timer and all its functions to go in not the timer work its self

https://aiaio.invisionapp.com/share/424VSP4YP#/screens/115398777


[hooks] Support script hooks

Follow up to https://github.com/jreleaser/jreleaser/issues/820
Allow arbitrary scripts to be defined. Follow similar guidelines as https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

🎉 This issue has been resolved in v1.6.0 (Release Notes)


Add Json integer, remove specialization.

Extracted from #4732, which in turns is extracted from #4683 to reduce PR size for quicker review.

Integer is used to read pointer value

I previously read your JSON implementation at #3930.

Ah, that was almost a thousand tickets ago. ;-)

Merging as no additional logic change to original code base.

@hcho3 Thanks for the review.


Fixes #2835 Process Accept header MIME types in case-insensitive way

Use mime.ParseMediaType to parse the media types in Accept header in manifest request. Ignore the failed ones.
Signed-off-by: Yu Wang<EMAIL_ADDRESS>

@manishtomar can you take a look? Thanks!

/cc @sajayantony @sivagms

@caervs @manishtomar can you help to merge? Thanks!


Update eventing-kafka nightly (#2839)

Signed-off-by: Knative Automation<EMAIL_ADDRESS>Signed-off-by: Knative Automation<EMAIL_ADDRESS>

OCF Webhook is merging this PR


create token with same id and assign to policy issue

repro steps

navigate to settings > tokens
create a token named test
create another token named test and assign it to a policy
watch the token creation fail but the policy assignment succeed

video in slack
what it should be

policy assignment should not happen if the token could not be created

moved to #3535

After writing up additional notes in #3535 re-instating this as a useful win as low-hanging fruit.


Add proper documentation (readme) for projects

Greeting, I will be honoured to document the codes and project to get a better understanding on the respective projects. I am currently in first year CSE branch.

I am willing to forage the resources around the internet to provide proper documentation for the projects. This might include but are not limited to, any mathematical insights, any logical loopholes and edge cases that might get overlooked.
I am currently in my second semester pursuing CSE.


Route Element for / is not shown inside Layout

Version
6.0.0-alpha.3
Steps to reproduce
<Routes>
  <Route path="/" element={<Layout />}>
    <Route path="/" element={<Home />} />
    <Route path="about" element={<About />} />
  </Route>
</Routes>

Upon visiting / <Home /> is never shown
Expected Behavior
<Routes>
  <Route path="/dashboard" element={<Layout />}>
    <Route path="/" element={<Home />} />
    <Route path="about" element={<About />} />
  </Route>
</Routes>

Where is in this example, upon visiting /dashboard <Home /> is shown correctly

Routes only matches one Route underneath it. You should put both your Home and Dashboard components under one Route if you want both displayed.

ok. So I was misunderstood completely. I'll try explaining one more time, before creating a test case.

Nested routes may use path="/" to indicate they should render at the path of the parent component.

In the second example, the Home element will be correctly displayed for '/dashboard' path (the expected behavior).
But, if the parent element has "/" path, the home element will not be shown (that's the bug).
Changing "/" to anything else, will make the Home element display correctly again.

@timdorr do you see the issue?

Sorry, you didn't have triple backtick code blocks, so I couldn't see that it was nested.
You're looking to have a common layout? I would either move the Layout component out of the render tree, as you don't need it to be part of the routing. Otherwise, I would either use a wildcard route for the Layout route, or use a Navigate to send the root URL to the "default" route.

The issue has been fixed in 6.0.0-alpha.4


Need support for PHP frameworks

flightplan uses git-ls-files. Which means it ignores files and folder in .gitignore...but in framework like laravel, symphony...there are vendor files...which are ignored in git. But in production if server doesn't have composer setup or support we need to  upload vendor folder.
So, if flightplan can make optional config to upload or not vendor folder. It would be great. And lot of more  developer base could use this.

:+1:

+1 (y)

:+1:

(y)

This is already possible. Flightplan doesn't use git ls-files, it's only used in the example. You can pass whatever you want to transfer():
// In a typical node.js project, node_modules is in .gitignore and "git ls-files" won't list it.
var files = local.exec('git ls-files');
// If the node_modules folder should be transferred as well, you can do this:
var files = local.exec('git ls-files;find node_modules -type f');
// Transfer some compiled assets as well:
var files = local.exec('git ls-files;find node_modules -type f;find assets -type f');

That's not all, please make sure to check out this: https://github.com/pstadler/flightplan#files-argument


Failed to run sudo apt update

Windows build number: Microsoft Windows [Version 10.0.15063]

chao@DESKTOP-NG9U46H:~$ sudo apt update
[sudo] password for chao:
0% [Working]http: ../sysdeps/posix/getaddrinfo.c:2603: getaddrinfo: Assertion `IN6_IS_ADDR_V4MAPPED (sin6->sin6_addr.s6_addr32)' failed.
Reading package lists... Done
E: Method http has died unexpectedly!
E: Sub-process http received signal 6.

#1519


Test classes are in same namespace as Type under Test

Its a good practice to place the tests for a type in the exact same namespace as the type's namespace.

how to find out whether a type is a class under test?
Search for properties as:

ObjectUnderTest
SubjectUnderTest
Sut

Search for fields as:

objectUnderTest
_objectUnderTest
m_objectUnderTest
s_objectUnderTest
subjectUnderTest
_subjectUnderTest
m_subjectUnderTest
s_subjectUnderTest
sut
_sut
m_sut
s_sut

We should also inspect the test methods if they have local variables that are named

objectUnderTest
subjectUnderTest
sut

We need to have a deeper analysis if there are type hierarchies. If a base test class expects a type but a inherited test class uses a different one which is located in a different namespace, then we should validate for the namespace of the interited type.

We need to consider partial classes as well.
For the moment we get an:
AD0001 Analyzer 'MiKoSolutions.Analyzers.Rules.Maintainability.MiKo_3100_TestClassesAreInSameNamespaceAsTypeUnderTestAnalyzer' threw an exception of type 'System.ArgumentException' with message 'Syntax node is not within syntax tree'.


createDatabase parameters do not follow specfication

The reference manual indicates that the users argument should be an array of:
username: string
passwd: string (Default: empty)
active: boolean (Default: true)
extra: Object (optional)

See https://docs.arangodb.com/3.3/HTTP/Database/DatabaseManagement.html#create-database
The current implementation only allows for an array of strings.

Yupp, that seems to be a bug in the type signature. Thanks for spotting this.


PM2

➤ Lancelot Prigent commented:
https://keymetrics.io/2015/03/26/pm2-clustering-made-easy/

➤ Lancelot Prigent commented:
https://gist.github.com/Unitech/4c8ea564aa8bf0a389c5


Update build instructions (possible Nix build motivation?)

Cloned the repo and tried to run stack build :misc-examples as instructed in the README. Greeted with:
    Configuring z3-4.1.0...
    Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.0.2: Missing dependency on a foreign
    library:
    * Missing (or bad) header file: z3.h
    * Missing C library: z3
    This problem can usually be solved by installing the system package that
    provides this library (you may need the "-dev" version). If the library is
    already installed but in a non-standard location then you can use the flags
    --extra-include-dirs= and --extra-lib-dirs= to specify where it is.
    If the header file does exist, it may contain errors that are caught by the C
    compiler at the preprocessing stage. In this case you can re-run configure
    with the verbosity flag -v3 to see the error messages.

which doesn't surprise me given the SMT example. It'd be fair to say this is a non-issue, but perhaps we can entertain the possible of a Nix-build? cc @jwiegley

Hi @adelbertc, I do use Nix to build concat, there's nothing special needed.  Once it's in Hackage, we can get it hooked into haskellPackages.

@jwiegley Hm I was more thinking about writing the Nix expr to be able to completely build the examples and stuff, since currently it expects Z3 to be installed.

What I have in my config.nix is:
  concat-classes   = dontCheck (dontHaddock (pkg ~/oss/concat/classes {}));
  concat-examples  = dontCheck (dontHaddock (pkg ~/oss/concat/examples {}));
  concat-plugin    = dontCheck (dontHaddock (pkg ~/oss/concat/plugin {}));

Where the individual default.nix files are just generated using cabal2nix.


Adds basic utilities for Born lensing

This PR adds a few utility functions that enable lensing through a given simualtion
A demo notebook is available here

@dlanzieri  can you take a quick look at this?

hum, no this is what it's supposed to look like, you are looking at the convergence map for a source plane going further and further away. At first the source plane is just in front of us, so we only see something very blurry, but as it moves further and further away you start to see more stuff on small scale because you are looking at structures further away from us


[improve][rest] Refactor Rest produce part

Motivation
The original rest producer does not support sending messages to the whole partitions, it only sends to the current broker owning partitions. But the PIP-64 suggests sending in round-robin mode.
And in order to increase the convenience of other features, replace using the producer to send messages. It will redirect to the first partition and then create a producer to send messages.
Then the original used mock to test the whole produce logic and exists some issues like : lookup issue, redirect issue.
In this patch, I add Rest Client to help test.
Modification

Using producer to send messages when not specify the partition.
Add Rest client to help test.

Documentation

[x] doc-not-needed
(Please explain why)

Closed as stale and conflict. Feel free to rebase and resubmit the patch.


Mod: fix importing bugs

Fixed small bugs when I do importing under Python 3.7.7 env
Here is the previous output from Python command line:
>>> from DeepPurpose import models
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/ari/miniconda2/envs/DeepPurpose/DeepPurpose/models.py", line 532
    if target_encoding == 'AAC' or target_encoding == 'PseudoAAC' or
                                                                    ^
SyntaxError: invalid syntax

  File "/Users/ari/miniconda2/envs/DeepPurpose/DeepPurpose/models.py", line 597
    pearsonr(y_label, y_pred)[1], concordance_index(y_label, y_pred), y_pred

IndentationError: unexpected indent

It is resulted from that the line joining fails due to the lack of ''(explicit) or 'bracket'(implicit)
The problem are fixed by adding a pair of square brackets, see more at Implicit line joining.

Hi Jiarui,
I fixed it. Thanks
Tianfan
On Thu, Apr 30, 2020 at 11:32 PM Lu Jiarui<EMAIL_ADDRESS>wrote:

Fixed small bugs when I do importing under Python 3.7.7 env
Here is the previous output from Python command line:

from DeepPurpose import models
Traceback (most recent call last):
File "", line 1, in
File "/Users/ari/miniconda2/envs/DeepPurpose/DeepPurpose/models.py", line 532
if target_encoding == 'AAC' or target_encoding == 'PseudoAAC' or
^SyntaxError: invalid syntax

File "/Users/ari/miniconda2/envs/DeepPurpose/DeepPurpose/models.py", line 597
pearsonr(y_label, y_pred)[1], concordance_index(y_label, y_pred), y_pred
IndentationError: unexpected indent
It is resulted from that the line joining fails due to the lack of
''(explicit) or 'bracket'(implicit)
The problem are fixed by adding a pair of square brackets, see more at Implicit
line joining
https://docs.python.org/2/reference/lexical_analysis.html#implicit-line-joining
.
You can view, comment on, or merge this pull request online at:
https://github.com/kexinhuang12345/DeepPurpose/pull/10
Commit Summary

Mod: fix importing bugs

File Changes

M DeepPurpose/models.py
https://github.com/kexinhuang12345/DeepPurpose/pull/10/files#diff-91d4f31f1e86d6599c0afd2eda1c01aa
(8)

Patch Links:

https://github.com/kexinhuang12345/DeepPurpose/pull/10.patch
https://github.com/kexinhuang12345/DeepPurpose/pull/10.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kexinhuang12345/DeepPurpose/pull/10, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGZ72TMZ4CRJPMFZH4S6S3RPI7GHANCNFSM4MW2P42A
.

--
Tianfan Fu
PhD candidate
futianfan.github.io
Sunlab, http://sunlab.org/
College of Computing
Georgia Institute of Technology
266 Ferst Dr NW, Atlanta, GA 30332

Hi Jiarui,
Thanks for trying out DeepPurpose! We will release a document about how to contribute to DeepPurpose very soon with the detailed branching instruction (after we add some new features with potentially some big changes to the master). Meanwhile, let us know if you spot any problem or talk to us about your user experience!
Close this pull request for now. Thanks, Tianfan for fixing it.
Kexin


Enables On Demand all for the AutoAwq Kernel

On Demand for mixtral awk kernel

uses 3612 MiB during prefill/decoding


The direction of the graph's edges seems not right

Hi guys, I found a wrong place in the example notebook code, the direction of the edges seems put wrong place in the for loops line, can  anyone check and fix it? (File path: docs/source/example_notebooks/dowhy_causal_discovery_example.ipynb)

Thanks for spotting this @lx2m17. Would you like to correct this and issue a pull request?

Hey, I checked out this bug and figured out it is not an actual issue.
When I run the make_graph function from the image above for the given adjacency matrix, the causal graph is:
graph_dot = make_graph(model.adjacency_matrix_, labels=labels)

And here's the result when running make_dot from causallearn with the same adjacency matrix:
from causallearn.search.FCMBased.lingam.utils import make_dot
make_dot(model.adjacency_matrix_, labels=labels)

Both of them are the same i.e the edges are in the correct direction.

Side note: I found the use of variable confusing at this one part since its used for both Lingam and CausalModel so I've renamed one of it and created a PR.


Replace np.complex (deprecated) with complex

np.complex was deprecated in numpy 1.20.0 and causes an error. It can be replaced with the builtin complex type of python. Since np.complex was only an alias for the builtin complex, this shouldn't change any behaviour.

Thanks for the PR!


Logging

For maximum logging extensibility and effectiveness, here's what we could do:

Every message is bundled with all the context we can think of as extras, including a unique code for this log message (e.g. "action": "start_job")
All logs have a simple associated message, that's "good enough" for the job, without being too much
All loggers defined directly as logging.getLogger("cabbage")
And we should document how one could implement a log filter, and plug it on cabbage to:

Change the log level if they want
Change the associated message if they want, including using template variables (loaded from extras)
Delete a specific message
Implement a specific handler so that these logs are actually not sent to normal logging but, say, written to a file (and then disable bubbling)
...

This way, cabbage logs may be adapted to anyone's need.

I prefer logging.getLogger(__name__) instead of logging.getLogger("cabbage")

What wasn't done in #17 will be done in #10


Sending wrong active parameter in signatureHelp

Just built the project and trying it out with coc.nvim,  for this simple code:
package main

func foo(a, b int) int {
	return 42
}

func main() {
	foo(
}

On foo(, I get wrong signatureHelp highlight, it highlights the last parameter foo(a int, *b int*), then when I insert the first integer, foo(4, , signatureHelp information returns the first parameter as active. I've checked the server communication.

It also seems that for standard packages signatureHelp isn't working at all.

@oblitum

It also seems that for standard packages signatureHelp isn't working at all.

Do you mean built-in functions(append, println...)?

I meant from standard packages, like fmt. They're responding now, but see below.

On foo(, I get wrong signatureHelp highlight, it highlights the last parameter foo(a int, *b int*), then when I insert the first integer, foo(4, , signatureHelp information returns the first parameter as active. I've checked the server communication.

@oblitum
I have fixed this bug.

It's still not working for me, same behavior. Standard package's completion is responding but I get the same fuzzy behavior regarding signatureHelp highlight.

In late protocol you can have labelOffsetSupport too, but it won't make any difference since you would have to support clients that ignore it too. In any case, that's just additional information, the signatureHelp's current parameter bug could be present in whatever case if indexing is not done correctly.

Relevant log for the original example code.
On opening parentheses (foo():
[Trace - 4:12:54 PM] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "version": 5,
        "uri": "file:///home/francisco/Projects/samples/go/sample.go"
    },
    "contentChanges": [
        {
            "range": {
                "start": {
                    "line": 7,
                    "character": 4
                },
                "end": {
                    "line": 7,
                    "character": 4
                }
            },
            "rangeLength": 0,
            "text": "("
        }
    ]
}

[Trace - 4:12:54 PM] Sending request 'textDocument/signatureHelp - (2)'.
Params: {
    "textDocument": {
        "uri": "file:///home/francisco/Projects/samples/go/sample.go"
    },
    "position": {
        "line": 7,
        "character": 5
    }
}

[Trace - 4:12:54 PM] Received response 'textDocument/signatureHelp - (2)' in 68ms.
Result: {
    "signatures": [
        {
            "label": "foo(a int, b int)",
            "parameters": [
                {
                    "label": "a int"
                },
                {
                    "label": "b int"
                }
            ]
        }
    ],
    "activeSignature": 0,
    "activeParameter": 1
}

On first comma (foo(1,):
[Trace - 4:12:57 PM] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "version": 7,
        "uri": "file:///home/francisco/Projects/samples/go/sample.go"
    },
    "contentChanges": [
        {
            "range": {
                "start": {
                    "line": 7,
                    "character": 6
                },
                "end": {
                    "line": 7,
                    "character": 6
                }
            },
            "rangeLength": 0,
            "text": ","
        }
    ]
}

[Trace - 4:12:57 PM] Sending request 'textDocument/signatureHelp - (4)'.
Params: {
    "textDocument": {
        "uri": "file:///home/francisco/Projects/samples/go/sample.go"
    },
    "position": {
        "line": 7,
        "character": 7
    }
}

[Trace - 4:12:57 PM] Received response 'textDocument/signatureHelp - (4)' in 34ms.
Result: {
    "signatures": [
        {
            "label": "foo(a int, b int)",
            "parameters": [
                {
                    "label": "a int"
                },
                {
                    "label": "b int"
                }
            ]
        }
    ],
    "activeSignature": 0,
    "activeParameter": 0
}

@oblitum
I'm sorry. I can't reproduce the above problem in vscode. Can you reproduce it in vscode?

Sorry but I don't use vscode. Though, I think this is a bingo issue, since it's the one that's clearly sending wrong activeParameter, maybe it's getting lost the way messages are sent from client. I'm currently using coc.nvim, bingo is the only server that reproduces this behavior.

Notice the above output isn't full, I get interleaved diagnostics reports, I've cut it because the message is too noisy and would probably not be relevant.

@oblitum
I have fixed this bug, please try the latest version bingo

@saibing thanks, it's working now.


Improve error when parsing invalid decimal values

This example:
import strawberry

from typing import List

from decimal import Decimal

def get_age(root) -> int:
    return root # this will be 123

@strawberry.type
class User:
    age: int = strawberry.field(resolver=get_age)

def get_users(name: Decimal):
  return [123]

@strawberry.type
class Query:
   users: List[User] = strawberry.field(get_users)

schema = strawberry.Schema(Query)

print(
  schema.execute_sync('{ users(name: "test") { age } }')
)

throws this error:
[<class 'decimal.ConversionSyntax'>]
Traceback (most recent call last):
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/graphql/validation/rules/values_of_correct_type.py", line 139, in is_valid_value_node
    parse_result = type_.parse_literal(node)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/graphql/type/definition.py", line 416, in parse_literal
    return self.parse_value(value_from_ast_untyped(node, variables))
decimal.InvalidOperation: [<class 'decimal.ConversionSyntax'>]
ExecutionResult(data=None, errors=[GraphQLError('Expected value of type \'Decimal!\', found "test"; [<class \'decimal.ConversionSyntax\'>]', locations=[SourceLocation(line=1, column=15)])], extensions=None)

which can definitely be made more user friendly

Hey, i have checked and this seems to be an error at the level of graphql-core parsing the generated AST.
If an error is raised at the level of GraphQL core, maybe listening to the error my help

What about
❯ python test.py
Expected value of type 'Decimal!', found "test"; [<class 'decimal.ConversionSyntax'>]

GraphQL request:1:15
1 | { users(name: "test") { age } }
  |               ^
Traceback (most recent call last):
  File "/home/ivan/code/_Github/strawberry/.venv/lib/python3.8/site-packages/graphql/validation/rules/values_of_correct_type.py", line 139, in is_valid_value_node
    parse_result = type_.parse_literal(node)
  File "/home/ivan/code/_Github/strawberry/.venv/lib/python3.8/site-packages/graphql/type/definition.py", line 416, in parse_literal
    return self.parse_value(value_from_ast_untyped(node, variables))
decimal.InvalidOperation: [<class 'decimal.ConversionSyntax'>]
Stack (most recent call last):
  File "test.py", line 28, in <module>
    schema.execute_sync('{ users(name: "test") { age } }')

@scratchmex thanks for you improvement in #1152 , it's great!
For this issue I was thinking more that we would do something similar to what we did with datetime parsing: https://github.com/strawberry-graphql/strawberry/pull/1040

@scratchmex thanks for you improvement in #1152 , it's great!
For this issue I was thinking more that we would do something similar to what we did with datetime parsing: #1040

I didn't know there was an API to handle those. I will give it a check and maybe I make a PR. Thanks!

Fixed in https://github.com/strawberry-graphql/strawberry/pull/1507


Symlinking Spark Library crashes Spark

I'm trying to put my Spark Library.splib under version control within my dotfiles repository. In order to do this, I'm replacing the Spark Library by a symlink:
cd "$HOME/Library/Application Support/Spark"
mv "Spark Library.splib" "$HOME/.dotfiles/spark/Spark Library.splib"
ln -s "$HOME/.dotfiles/spark/Spark Library.splib" "Spark Library.splib"

After that, starting Spark does not work:

Could you have a look into that? Thanks!

Also, symlinking only one of the contained files, e.g.
cd "$HOME/Library/Application Support/Spark/Spark Library.splib"
mv "SparkActions" "$HOME/.dotfiles/spark/Spark Library.splib/SparkActions"
ln -s "$HOME/.dotfiles/spark/Spark Library.splib/SparkActions" "SparkActions"

is enough to cause the crash

Symlink on a contained file is not and will not be supported, but symlink to the library is fixed by 7e3f43b8463739291b432afada04c7b53f842047


Naming of function get_dt() in integrator.h

Motivation / Current Behaviour
The function get_dt() in integrator.h returns m_next_dt instead of m_dt.
Enhancement description
A better naming of the function would be get_next_dt().
Additional context
No response
Checklist

[X] Attached labels, especially loc:: or model:: labels.
[X] Linked to project

The issue description is obsolete, OdeIntegrator no longer holds a dt. It was moved to Simulation in #574, if I'm not mistaken.
Could you check whether the current naming/documentation of Simulation::get_dt is sufficient? Please update or close this issue accordingly.


Incorrect IOS Bundle Settings

When uploading an app onto App Store Connect, these settings are required to be set / and or set incorrectly.
Asset validation failed (90056)
This bundle Payload/Runner.app/Frameworks/opencv_dart.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion. Please find more information about CFBundleVersion at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion (ID: ff401e75-3aff-4382-ab24-e18b2c283802)

Asset validation failed (90049)
This bundle is invalid. The bundle at path Payload/Runner.app/Frameworks/opencv_dart.framework has an invalid CFBundleIdentifier 'dev.rainyl.opencv_dart' There are invalid characters(characters that are not dots, hyphen and alphanumerics) that have been replaced with their code point 'dev.rainyl.opencv\u005fdart' CFBundleIdentifier must be present, must contain only alphanumerics, dots, hyphens and must not end with a dot. [see the Core Foundation Keys at https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-102070-TPXREF105] (ID: b2b76866-1315-4569-b9d4-d6fce468bfea)

Asset validation failed (90057)
The bundle 'Payload/Runner.app/Frameworks/opencv_dart.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring (ID: b13fd070-2a7f-46e8-8f4e-98c0331c3f99)

The .plist just needs the following added

The BundleIdentifier also needs to use a - instead of \u005F.

seems that versions are necessary in cmakelists.txt, will be corrected later.

@FromDarkHell Finished, could you please test it and tell me whether it works?
opencv_dart:
  git:
    url: https://github.com/rainyl/opencv_dart.git

This looks like it worked for me afaik 👍


Conflict Between Bootstrap and Wordpress

I found out this problem a couple of months ago when I started using a Wordpress plugin that depends on Bootstrap.
The problem is that whenever I use Bootstrap elements in Wordpress, I get every element showing on a separate line, like this screenshot:
prntscr.com/j02ys6
After extensive research in this point, I found out that that there is a conflict between Wordpress and Bootstrap.
Wordpress simplifies the text editing process by introducing invisible line breaks < /br> after each line. When Using Bootstrap elements (e..g buttons) with Wordpress, a line break < /br> gets introduced after each button code, leading them to appear one button per line, like the screenshot.
Wordpress has a function to stop adding the line breaks and paragraph tags, remove_filter( 'the_content', 'wpautop' );but when used, it solves the problem with Bootstrap, but corrupts all text in the Wordpress posts that is inserted without proper html markup. So it is not a viable solution.
I posted 2 posts on Stack Exchange to try to find a solution, but no one came up with a solution:
post 1: https://stackoverflow.com/questions/48115844/how-to-show-bootstrap-buttons-inline-instead-of-one-per-line-in-wordpress-specif
Post 2: https://stackoverflow.com/questions/49621836/how-to-create-a-shortcode-edit-a-function-to-solve-the-conflict-between-bootstra
Given that both Bootstrap and Wordpress are 2 major and key players in the web development world today, I am just wondering if there is any solution? I believe that I am not the first person to use Bootstrap in Wordpress?
Any solution is much appreciated. I have been stuck for months.
Thanks in Advance.

It doesn't seems an Bootstrap issue, you should ask on WordPress, because I don't think we can handle that use case
/CC @mdo


To do some “detective” work to learn who in the region (Or in Science via the Science PL Community) is uploading data to OBIS, and what resources are they using e.g. Slack, Teams channel? More here

I turned this into an issue by mistake! Should just be listed as a Task within
https://github.com/dfo-mar-odis/shinySpatialApp/issues/64


[GHSA-35jh-r3h4-6jhm] Command Injection in lodash

Updates

Affected products

Comments
'lodash.template' and 'lodash-template' were modularized versions of the Lodash template function, published to NPM by third parties. They contain the vulnerable code. 'lodash.template' has relatively high usage (>1000 dependents) and is not marked as deprecated. Since neither of these packages appear to be maintained any longer, I have left the 'patched version' field blank. The fix is to switch to the officially maintained lodash packages instead.

Hi @ebickle, thank you for your patience and for bringing lodash.template and lodash-template to our attention. Because lodash.template has a large number of dependents and weekly downloads, I'm going to show this contribution to my colleagues and consult with them about whether there is a way we can verify that lodash.template and lodash-template are affected by CVE-2021-23337.

@shelbyc That's a great idea. I've created a repo that reproduces the security vulnerability over at https://github.com/ebickle/CVE-2021-23337-template
It's based on the original HackerOne report sample code at https://hackerone.com/reports/904672 but uses the latest version of lodash.template instead of an (older) affected version of lodash.  The reproduction instructions are in the hackerone report, but the short version is to do an npm install on the repo, then node index.js and then fire the following request at the server: [https:](http://<IP_ADDRESS>:8000/?name=Test${JSON.stringify(process.env)}). If you see environment variables, it's vulnerable.

@shelbyc That's a great idea. I put together a very rough and quick example at https://github.com/ebickle/CVE-2021-23337-template
The package.json has the latest version of both lodash and lodash.template.
After an npm install run node fixed.js, which runs regular lodash. Navigating to http://localhost:8080/?name=) will show the error Error: Invalid 'variable' option passed into '_.template' indicating that the fix for the CVE is in place.
Shut down that node process then run node vulnerable.js and navigate to the same URL. The error SyntaxError: Unexpected token ')' will be shown, indicating that the variable was incorrectly processed as code (resulting in the syntax error).
I haven't checked whether there are any other "modularized lodash" packages (lodash.blah) with CVEs that are missing in the GHSA, but it's likely that any CVE affecting versions <= 4.5.0 could be missing in the DB. Third-parties working to modularize popular libraries was a trend in NPM a few years back.

Hi @ebickle, thanks again for your contribution and engaging in conversation about GHSA-35jh-r3h4-6jhm! I took time with a colleague to explore the code of lodash, lodash.template, and lodash-template and I consider it likely that lodash.template and lodash-template are affected by GHSA-35jh-r3h4-6jhm and users should be encouraged to seek out a patched version of lodash.


[repository] Provide a namespace for maven artifacts

Currently the Repository Service Specification defines an osgi.content Namespace.
But a repository sometimes do not only contains "self-contained" artifacts, instead it might

mirror an existing artifact
publish the artifact also to other sources

Such common source (either consumed or produced to) is maven-central  or maven repositories in general.
It would therefore be useful to carry this information along with the resource so it is possible to track back the original and/or alternative source, to make this generic across tool sets I'd like to propose a "MavenArtifactNameSpace" to be specified/defined at the repository specification for example similar to this (while one maybe even want to include classifier and type as well for completeness):
public class MavenArtifactNamespace {

    /**
     * Namespace name for maven artifact capabilities and requirements.
     */
    public static final String MAVEN_ARTIFACT_NAMESPACE = "apache.maven.artifact";

    /**
     * The capability attribute identifying the group id.
     */
    public static final String CAPABILITY_GROUP_ATTRIBUTE = "artifactGroup";

    /**
     * The capability attribute identifying the {@code Version} of the artifact.
     */
    public static final String CAPABILITY_VERSION_ATTRIBUTE = "artifactVersion";
}

A resource the might look like this:
<resource>
    <capability namespace="osgi.identity">
      <attribute name="license" value="https://www.eclipse.org/legal/epl-2.0, https://www.apache.org/licenses/LICENSE-2.0"/>
      <attribute name="copyright" value="Copyright (c) 2008-2022 Mort Bay Consulting Pty Ltd and others."/>
      <attribute name="osgi.identity" value="org.eclipse.jetty.logging"/>
      <attribute name="documentation" value="https://www.eclipse.org/jetty/"/>
      <attribute name="description" value="Jetty module for Jetty :: Slf4j Implementation"/>
      <attribute name="type" value="osgi.bundle"/>
      <attribute name="version" value="10.0.16.SNAPSHOT" type="Version"/>
    </capability>
    <-- maybe other capability ... ->
    <capability namespace="apache.maven.artifact">
      <attribute name="apache.maven.artifact" value="jetty-slf4j-impl"/>
      <attribute name="artifactVersion" value="10.0.16"/>
      <attribute name="artifactGroup" value="org.eclipse.jetty"/>
    </capability>
    <-- maybe requirements ... ->
</resource>

Technically of your one could also  require things from the namespace, this is how Tycho 5 will work when it comes to computing the maven build-graph.
Also I choose in the example namespace="apache.maven.artifact" while it might be more appropriate to use namespace="osgi.maven.artifact" in the context of the repository spec.

I do not think it is a capability of a resource, is it?
It sounds more like an extra identifier in the osgi.content? I actually would probably reuse the url in the osgi.content namespace since it sounds like an alternative way to fetch it. And I think there is already a maven URL scheme defined. By registering a URL handler, it could work out of the box! And there is no reason why you could not select on it, you can even use wildcards on the maven URL in the filter. It would not be restrictive because you can always add multiple osgi.content capabilities.
I am always leery to keep adding capabilities. When you get too many, people will  add a new one for each slightly different use case. It is satisfying for the author because he can shape it like a god but it becomes quickly messy for users that are not in the details. By reusing existing ones you might not get the perfect shape but you leverage existing work. Point in case, the use of the existing Maven URL handler.
Another possibility is to add it to the identity. We have an osgi.identity, it would be easier to add a maven.identity? this content could be a GAV.
If you still want to go this route, please make the GAV a single string? It really does not have any advantage to make it 5 attributes since we can easily filter on the parts of the string. And a GAV is much  more readable.

I do not think it is a capability of a resource, is it?

It depends on the context, e.g. if I map a maven model to resources then an artifact provides a given GAV(C(T)) and my project requires a certain dependency, so a resource provides this.

If you still want to go this route, please make the GAV a single string?

This always requires special parsing and convention and documentation, e.g. what are the parts, what is the separator can I leave out a part, what if a part is empty and so on...

And a GAV is much more readable.

I usually don't read XML files but use a computer program and then like if things are clearly separated without any uncertainties.

still an issue


Layout Issue: “Welcome to Portal” Requires Scrolling to Reveal Login Section and Incorrect Language Picker Placement

Layout Issue: "Welcome to Portal" Requires Scrolling to Reveal Login Section and Incorrect Language Picker Placement
Overview
This website's starting page initially displays only the message "Welcome to Portal!" with no obvious indicators that a login section is present. Additionally, the language picker is currently positioned at the bottom, which may not align with user expectations for accessibility.
Problem Description

Welcome to Portal Screen:

On initial load, only the text "Welcome to Portal!" is visible, centered on the page.
Users may not realize that there is additional content (the login form) below, as there are no prompts or indicators suggesting that scrolling is required.

Login Section Below the Fold:

The login form, which includes the SRN input field and the login button, appears only after the user scrolls down the page. This layout can lead to confusion, as some users might expect to see the login form immediately upon landing on the page.

Language Picker Placement:

The language picker is currently positioned at the bottom of the page, making it less accessible. It's a common design practice to place language options in the top-right corner of the screen, ensuring visibility and ease of use.

Expected Behavior

The login form should either be visible on the same screen without the need for scrolling, or there should be a clear visual cue prompting users to scroll down to access the login form.
The language picker should be positioned in the top-right corner of the page, adhering to standard design conventions for better accessibility.

How to Reproduce:

Visit the website’s landing page.
Observe that only the "Welcome to Portal!" text is visible initially.
Scroll down to reveal the login form.
Notice that the language picker is positioned at the bottom of the page instead of the top right.

Proposed Solution:

Option 1: Adjust the layout so that the "Welcome to Portal" message and the login form are visible together on the same screen, avoiding the need for scrolling.
Option 2: Add a clear visual indicator (such as an arrow or "scroll down" message) prompting users to scroll to see the login form.
Option 3: Move the language picker to the top-right corner of the screen for better visibility and ease of access.

https://github.com/user-attachments/assets/8a8abead-efe0-4065-a462-a09ba069704f

Hello @Kaustuv05 this is a great find. Ideally only the "Welcome to Portal" page should be visible and nothing else. Can you rectify this bug and submit a PR?


Use outputVar instead of hard coding this.output in JS codegen

When generating the JS Thrift clients, it hard-codes this.output in a few places; however, if gen_node_ is true, our variable should be output instead. We set a variable, outputVar, up on line 1968/1970 of the file, but don't use it everywhere. In NodeJS environment, this can lead to the wrong flush being called, which can lead to issues; for example, with the header transport protocol, the headers can either go missing or be sent incorrectly.

I believe this is a trivial change not requiring a ticket.

[ ] Did you create an Apache Jira ticket?  (Request account here, not required for trivial changes)
[ ] ~If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?~
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] ~If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.~

CI is failing for this, but I'm incredibly unsure why or what's going wrong here. I'd greatly appreciate any assistance that folks could provide on this!

Please:

Create a JIRA ticket to describe the issue (with what's the current generated code and what should be the correct code)
Resolve the merge conflicts (java failing should be fixed on latest master version)
Create an unit test under lib/nodejs/test/ (or maybe lib/js/test/?) to verify this fix


fix more memory leak

According to https://github.com/webui-dev/go-webui/pull/32#issuecomment-2149668997 freeing cStruct().element should be safe.
Encode and Decode functions allocate buffers that are never freed.

Thanks again @thechampagne


Fix FieldSpec to let ObjectMapper handle any order of fields

This commit is mainly for the situation where setDefaultNullValue()
is called before setDataType() or setTimeGranularitySpec(), and set
wrong type of default null value or throw null pointer exception.
(Fix for Issue #123)
The changes are following:

Use flags to mark the already set fields to handle different
order of setter function.
Use the convention "_fieldName" for class members to avoid style
warning.
Update unit tests to test different order of fields.

[Current coverage][cc-pull] is 43.66%

No coverage report found for master at 391e46b.

Powered by Codecov. Last updated by [391e46b...15d090a][cc-compare]
[cc-base-branch]: https://codecov.io/gh/linkedin/pinot/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/linkedin/pinot/compare/391e46b14eb4d3922484ab04f9e6c77b0dfdc484...15d090a1dde68f7327afc5fa4aa84da09ac79c40
[cc-pull]: https://codecov.io/gh/linkedin/pinot/pull/221?src=pr

LGTM.

LGTM


Correct issue when message value is 0

Issue #11846

Removed unnecessary if statement
logOutput not converted to string before .trim() call.

Not yet tested locally.
Closes #11846

@babattles this being a significant change, please test locally and confirm.

closing as stale


Doubleclick on timeline is not working

Hi,
Doubleclick on timeline is not triggering the method.
<timeline ref="refTimeline" :items="tlItems" :groups="groups" :options="options"                       @doubleClick="addtoTimeline">
the addtoTimeline method is not invoked when double clicked. It was working on previous releases.
Could you fix it.
Thank you,
Kind regards.

Hi @erhansaydam, as you can see in this example the bound event must be double-click https://github.com/alexcode/vue2vis/blob/master/examples/src/App.vue#L67
I've been looking for it for a little...

Hi @alexcode, thank you very much, I have tested and no problem at all.


Controller is dispose after state is finished

I am trying to set up a countdown timer but it keeps throwing an error. Controller is already disposed here's my code
CustomTimer(
    controller: controller,
    begin: Duration(seconds: 30),
    end: Duration(seconds: 0),
    onChangeState: (s) {
      if(s == CustomTimerState.finished) {
        print("We completed finished");
        // Prevent calling setState during a widget build
        showTimer.value = false;
        controller.reset();
      }
    },
    builder: (remaining) {
      return Text("${remaining.minutes}:${remaining.seconds}", style: TextStyle(
        fontFamily: "Montserrat",
        fontWeight: FontWeight.w600,
        color: primaryColor,
        fontSize: 14,
      ));
    },
  ),

When I call start it throws the following error
A CustomTimerController was used after being disposed.

Hello! Please provide all the information necessary to replicate the error.

When I call start it throws the following error
A CustomTimerController was used after being disposed.

Where are you calling controller.start?
Are you calling controller.dispose() when you remove the widget from the tree?

So what I was doing was using it in a pageview but once I navigated back to the previous page and then went back. It gave the error. I fixed it though but extending the mixin AutomaticKeepAliveMixin to prevent the controller from being disposed during multiple page changes

The package has been updated to fix this issue, it should no longer be necessary to extend the mixin.


Created a folder called site within SSTS: pushing to dev branch

Creates a centralized place to write code for the website that allows anybody to quickly find the code for the site and to contribute to the site. This contributes to issue #27 and #26

I goofed and will resubmit a new pull request


Skip past points at the same time in derivative call within a merged series

The derivative() call would panic if it received two points at the same
time because it tried to divide by zero. The derivative call now skips
past these points. To avoid skipping past these points, use GROUP BY *
so that each series is kept separated into their own series.
The difference() call has also been modified to skip past these points.
Even though difference doesn't divide by the time, difference is
supposed to perform the same as derivative, but without dividing by the
time.
Fixes #7110.

Can you add a test for this?

Added some tests, found an error, and now I think it works correctly (and it has a test to confirm that).


JUnitReporter 1.2.0 parse_xml_for fails if the Minitest::Result source_location is not a file

Some of the tests in my application are dynamically generated at runtime. The tests pass successfully but when the reporter is run, I get errors like:

/home/awaltman/.rvm/rubies/ruby-2.4.3/lib/ruby/2.4.0/pathname.rb:520:in `relative_path_from': different prefix: "" and "/home/awaltman/app" (ArgumentError)
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/minitest-reporters-1.2.0/lib/minitest/reporters/junit_reporter.rb:75:in `parse_xml_for'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/minitest-reporters-1.2.0/lib/minitest/reporters/junit_reporter.rb:47:in `block (2 levels) in report'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/builder-3.2.3/lib/builder/xmlbase.rb:175:in `_nested_structures'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/builder-3.2.3/lib/builder/xmlbase.rb:68:in `tag!'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/builder-3.2.3/lib/builder/xmlbase.rb:93:in `method_missing'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/minitest-reporters-1.2.0/lib/minitest/reporters/junit_reporter.rb:46:in `block in report'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/minitest-reporters-1.2.0/lib/minitest/reporters/junit_reporter.rb:43:in `each'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/minitest-reporters-1.2.0/lib/minitest/reporters/junit_reporter.rb:43:in `report'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/minitest-reporters-1.2.0/lib/minitest/minitest_reporter_plugin.rb:26:in `each'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/minitest-reporters-1.2.0/lib/minitest/minitest_reporter_plugin.rb:26:in `report'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/minitest-5.11.3/lib/minitest.rb:808:in `each'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/minitest-5.11.3/lib/minitest.rb:808:in `report'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/minitest-5.11.3/lib/minitest.rb:141:in `run'
       from /home/awaltman/.rvm/gems/ruby-2.4.3/gems/minitest-5.11.3/lib/minitest.rb:63:in `block in autorun'

I think is because source_location is returning ["(eval)", 2].
An ugly workaround I've found is to replace:
relative_path = file_path.relative_path_from(base_path)
with:
relative_path = file_path.exist? ? file_path.relative_path_from(base_path) : file_path
in minitest-reporters-1.2.0/lib/minitest/reporters/junit_reporter.rb, but then the report xml files contain filepath="(eval)" which is not ideal.
This appears to be introduced by commit https://github.com/kern/minitest-reporters/commit/12e4b183e5bb506fe823a9915b9dabe1e276bdb3

I think the right way to solve this problem is to try to fix #get_source_location ( https://github.com/kern/minitest-reporters/blob/master/lib/minitest/reporters/junit_reporter.rb#L56-L62) to return file (if it is possible).  And if this is impossible: I'd suggest to skip filepath and lineno attrs.
Can you provide a test which reproduces the problem?

Sure! Here is a test that reproduces the problem:
require 'test_helper'

class Eval
  class Test < ActiveSupport::TestCase
    def test_true
      assert true
    end

    [
      ["bool1", "true", "true"],
      ["bool2", "false", "false"]
    ].each do |a|
      (type, expectation1, expectation2) = a
      eval(%{
       def test_eval_#{type}_#{expectation1}
         assert_equal(#{expectation1}, #{expectation2})
       end
      })
    end
  end
end

Note that the test can randomly run without reporting the error -- I think it depends on the order the tests are run because one test method in this example does have a source location in the file.

Hello, for information I had the same problem with 1.2.0 and it was solved after update to 1.3.0 .
I generate my report with single_file option.

@awaltman could you please check with 1.3.0 and reopen if it is still reproducible

@os97673 I just tried with 1.3.0 and it is still an issue. I also tried using the single_file option to the JUnitReporter and saw the same problem. Could you please reopen this issue?

No problem.  I'm just surprised you didn't have ability to reopen the issue :(

I have the same issue on 1.3.0. So, I confirm the bug.

This is also an issue for me. I don't have any dynamic tests, it just always fails in 2.5.1.

@kbrandwijk please provide a test to reproduce the problem

test_helper.rb
require 'minitest/reporters'

Minitest::Reporters.use! [Minitest::Reporters::JUnitReporter.new]

test/demo.rb
require 'test_helper'

class DemoTest < ActiveSupport::TestCase
  test "demo" do

    assert true
  end
end

output (anonymyzed):
Emptying /Users/*****/Development/github/*****/*****/test/reports
Writing XML reports to /Users/*****/Development/github/*****/*****/test/reports
Traceback (most recent call last):
	14: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/minitest-5.11.3/lib/minitest.rb:63:in `block in autorun'
	13: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/minitest-5.11.3/lib/minitest.rb:141:in `run'
	12: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/minitest-5.11.3/lib/minitest.rb:808:in `report'
	11: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/minitest-5.11.3/lib/minitest.rb:808:in `each'
	10: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/minitest-reporters-1.3.1/lib/minitest/minitest_reporter_plugin.rb:26:in `report'
	 9: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/minitest-reporters-1.3.1/lib/minitest/minitest_reporter_plugin.rb:26:in `each'
	 8: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/minitest-reporters-1.3.1/lib/minitest/reporters/junit_reporter.rb:44:in `report'
	 7: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/minitest-reporters-1.3.1/lib/minitest/reporters/junit_reporter.rb:44:in `each'
	 6: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/minitest-reporters-1.3.1/lib/minitest/reporters/junit_reporter.rb:47:in `block in report'
	 5: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/builder-3.2.3/lib/builder/xmlbase.rb:93:in `method_missing'
	 4: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/builder-3.2.3/lib/builder/xmlbase.rb:68:in `tag!'
	 3: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/builder-3.2.3/lib/builder/xmlbase.rb:175:in `_nested_structures'
	 2: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/minitest-reporters-1.3.1/lib/minitest/reporters/junit_reporter.rb:48:in `block (2 levels) in report'
	 1: from /Users/*****/.rvm/gems/ruby-2.5.1/gems/minitest-reporters-1.3.1/lib/minitest/reporters/junit_reporter.rb:69:in `parse_xml_for'
/Users/*****/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/pathname.rb:522:in `relative_path_from': different prefix: "" and "/Users/*****/Development/github/*****/*****" (ArgumentError)

will release 1.3.2.beta2 soon, please test


Unable to connect to Aurora MySql using .net core application deployed on Aws Ecs

I have an application in .net core 3.1 and I am using MySql with that. To connect to MySql I am using Pomelo.EntityFrameworkCore.MySql nuget.
My .net core application is deployed as a docker container on AWS ECS and I am using Aurora MySql RDS to store data. I have granted "Publicly accessible" access to the Aurora MySql and I can connect to the db using MySql workbench and also with my .net core application using localhost. But when I deploy the application and try to perform any db action then it starts giving throwing exception:

An exception has been raised that is likely due to a transient failure. Consider enabling transient error resiliency by adding 'EnableRetryOnFailure()' to the 'UseMySql' call.

Then I have added retry pattern like this:
 services.AddDbContextPool<DataContext>(options =>
      options.UseMySql(Configuration.GetConnectionString("DefaultConnection"), builder =>
      {
          builder.EnableRetryOnFailure(5, TimeSpan.FromSeconds(5), null);
      }
  );

and my connection string is something like this:
"DefaultConnection": "Server=db-cluster-1-instance-1.cqb2fsjwx78p.us-east-2.rds.amazonaws.com;Database=dbName;User ID=admin;Password=password;port=3306"
After adding retry pattern. I am getting this error:

"Maximum number of retries (5) exceeded while executing database operations with 'MySqlRetryingExecutionStrategy'. See inner exception for the most recent failure."

So I suspect, it's something else. What am I doing wrong here? Or it might be something wrong in aws

We are also seeing same error, can we know fix for this?


Using components in modules

What problem does this feature solve?
I'm trying to find a way to read props from every .vue component in the project and write the result to a JSON file.
It should happen server side so I've tried creating a custom nuxt command and a module. The problem with these is I can't actually import a component, it's just a syntax error because components are not just JS. Even after a nuxt build when the components are reduced to being just JS in the .nuxt folder I still couldn't figure out how to read the props from that mess. I spent a few days on google, reading other modules, nuxt documentation and source code but couldn't find a way to extract details about components.
What does work is a plugin in server only mode. I can read and write files, import components, read the props. Basically everything I wanted. But now the issue is that it's a plugin and that's not what plugins are for. This script should only run once during build but a plugin will run on every page load.
So I'd like to see a generally good way of messing with components from a command line script.

This feature request is available on Nuxt community (#c9773)

Could you please explain the goal of this feature? What exactly are you trying to accomplish?

The final goal is a page editor that is aware of all components and their props in my nuxt project. The page editor project doesn't use nuxt. The current solution simply relies on me remembering every single component and how to use it.

I believe nuxt-i18n does something similar, see their extractComponentOptions method: https://github.com/nuxt-community/nuxt-i18n/blob/master/src/helpers/components.js

I managed to run my script as a jest test using the vue-jest transform. Looking at what that does it's quite similar to that i18n component helper. But using these is hacky.
I'm guessing I should use webpack with vue-loader or @nuxt/webpack directly but can't figure it out.

So I tried using the transformer part of vue-jest directly and it's actually not that hard to get working. I can now read props from some components but not all. When a component has a depndency on another component it all falls apart because only the current component is transformed. Turns out this is way more difficult than I thought.


Create rbac.yaml in acn repo to use in automation

Reason for Change:

Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests

Notes:

What is the use case here? We already have this and this.

What is the use case here? We already have this and this.

This is a little different to those and used in the mdnc scenario to validate rc can talk to the customer cluter, was going to use it in our runner automation.  My initial thought was since this is suppose to get applied on the worker nodes where CNS lives, then it would be a good fit for it here since it will make it easier to update.
But after chatting with Matt Long, I'll leave it where it currently is with the runner code and close this P.R.
Also, sorry for the late response, didn't see this comment.

found another place to have this yaml for our automation


Recursion fixes

[x] Filename name in the column is now actually there
[x] Filename column is only printed if input is a folder
[ ] Fix links
[ ] :: should not match as a IPv6

Do you want to fix the jwt issue? You can probably add a letter for now but make a test which fails, and then skip it so we can fix it in the future?

Do you want to fix the jwt issue? You can probably add a letter for now but make a test which fails, and then skip it so we can fix it in the future?

That's a good idea yeah. Will do that :)
You also mentioned that there aren't quotes on every example given in the help menu. On line 83, email should be in quotes right?

Line 83 of what?

yes it should :)

I'm going to merge this because I want much smaller PRs. You should make one PR per fix, for example:

Fix links

this is incredibly hard and will delay your entire PR

add quotes to example in what.py, line 83

This is incredibly easy and can be merged quite quickly
Please stick to the Agile Method and make many smaller PRs :D


tests: arch: x86: move tests to new ztest API

Move tests to new API for following directories:
tests/arch/x86/ (except: info/ )
test/arch/common/
Signed-off-by: Enjia Mai<EMAIL_ADDRESS>

Waiting for the fix to run test_dump_ptables in both user and non-user modes.

Got it fixed, thank for the example! The result is as the same as the old one, thanks.

a commit per test would also be nicer.

a commit per test would also be nicer.

ok, got it, spilt them now.