Keep number of steps when changing transition time

Changing the frame rate / transition time resets the number of steps to 1. When you have a different number of steps (for example, reverse playing, with -1 steps), and change the frame rate, having the number of steps change back to 1 is kind of annoying. So this small change reuses the current number of steps for playing when the transition time is changed.

Hi @wmay,
thanks! It makes sense! :+1:
I will generate a new release.

Thanks!


How to run build-from-source simulator

Hi,
I successfully built carla 0.8.2 from source. However, the official tutorial only tells us how to launch the editor, but didn't tells us how to run the simulator. Please tell me how to run it.
Thanks,
Hanxiang

Hi @marcgpuig,
for some of the Linux distros (like the one I use) the only option to get Nvidia graphic card work is to use the bumblebee solution, with which I have to explicitly add "optirun" in command line to force the Nvidia graphic card to be started. I could get the Unreal editor launched in this way with Nvidia graphic card activated, but then when I hit "play" within the editor and try to start CARLA, it won't be launched by Nvidia graphic card. Do you have any idea how I can start CARLA from command line under this circumstance? Or do you have any other way out?

Hi @yeduzhouzi.
Maybe you can try to make a package and specifically run the package using the optirun command.

Hello @hxlee309,
Please read the F.A.Q:

Once you open the project in the Unreal Editor, you can hit Play to test CARLA.

Also, take a look at the issue #22.

@marcgpuig Is there a command to issue this 'hit play' behavior in a headless / command-line-only environment (e.g. command-line argument or INI config file change)?  I've built CARLA 0.9.7 from source and it is running via the UE4Editor per nvidia-smi, but lsof shows that only port 1985 is being listened to by UE4Editor.  A client using the PythonAPI isn't able to connect to whatever is listening on 1985.  The logs and documentation indicate that port 2000 should be the port that a client connects to, but no process is listening to that port.
Thanks!


Simplify metrics library to wrap sklearn

This reverts commit b0c8a5c0564ea328fe3c45d207c64bf350c82b17 (PR #1192), which needs to be rebased before merging back in cleanly.

Can you change the title of the PR to make it more clear?


Do your illustrations fall under the same licence as the component library?

Great repo guys, I really love what you have done.
I was wanting to use some of your illustrations as was wondering if they are free to use?
Thanks for all the work and sharing with the open source community.

You should be fine to use the illustrations too. It should be the same license.


Fix ZHA bugs

this should fix 2 reported issues from .88 release:
fixes #21243 - we won't flood the network with requests if we can't determine power profiles
fixes #21245 - added manufacturer specific cluster support back in but in a more generic way

There was the reason why we don't should push changes directly to stable @balloob

@pvizeli these are additional changes and not related to the 2 fixes that were added yesterday. If anything, we would have had more issues to deal with if they weren’t included. This is easy enough to see if you look at the actual code changed instead of trying to make a point.

 Again. Gotta love that toxic attitude.
FWIW @dmulcahey all the work you've done is very much appreciated. This is the most stable my ZHA network has been in literally years. It's nice to see some of my lights remain online for more than an hour or two.
Please don't go away. Don't let toxic jerks get you down.


why3: 0.86.3 -> 0.87.0

Things done:

[ ] Tested using sandboxing (nix-build --option build-use-chroot true or nix.useChroot on NixOS)
Built on platform(s)

[x] NixOS
[x] OS X
[ ] Linux

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

More
Release notes: http://lists.gforge.inria.fr/pipermail/why3-club/2016-March/001323.html

Thanks


Add sphere mashup 9 artists by eminem, kanye west

Song Name
sphere mashup 9 artists
Artist Name
eminem, kanye west
Source
Youtube
Youtube Link
beQax8h2Ql6s0UQA
Direct File Link
No response
Song ID
739991
Start Offset [ms]
22
Extra
Created from Auto Nong.
Created for level: 70573498

reject
invalid YouTube link


Update openvino workflows

In this PR, the build_openvino_mobilenet and build_openvino_road_seg_adas workflows are updated to use WasmEdge 0.13.4. In addition, the install_openvino script is improved.

Hello, I am a code review bot on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!

@q82419 Could you please help review this PR? Thanks a lot!


event_mask argument to xproto's GrabButton is smaller than the corresponding bitmask

See #542:
xproto's GrabButton request has this field: https://github.com/psychon/x11rb/blob/a29b84d5c9d4db5dd1a08a7343764f6dc3b2c9c9/xcb-proto-1.14-1-g2b3559c/src/xproto.xml#L2743
This is a 16 bit field, but refers to an enum that has 24 bit values. Thus, the enum does not implement Into<u16> in x11rb and the API requires manual casts. It would be nice if we could do something about that.
Edit:
Looking at the protocol manual, it seems like all of the following are represented by EventMask in XCB, but are actually different in the protocol docs:

Type
Values

EVENT
{ KeyPress, KeyRelease, OwnerGrabButton, ButtonPress, ButtonRelease, EnterWindow, LeaveWindow, PointerMotion, PointerMotionHint, Button1Motion, Button2Motion, Button3Motion, Button4Motion, Button5Motion, ButtonMotion, Exposure, VisibilityChange, StructureNotify, ResizeRedirect, SubstructureNotify, SubstructureRedirect, FocusChange, PropertyChange, ColormapChange, KeymapState }

POINTEREVENT
{ ButtonPress, ButtonRelease, EnterWindow, LeaveWindow, PointerMotion, PointerMotionHint, Button1Motion, Button2Motion, Button3Motion, Button4Motion, Button5Motion, ButtonMotion, KeymapState }

DEVICEEVENT
{ KeyPress, KeyRelease, ButtonPress, ButtonRelease, PointerMotion, Button1Motion, Button2Motion, Button3Motion, Button4Motion, Button5Motion, ButtonMotion }

Are there any plans to fix this? What will it take to fix this? I can try to help.

Well....

Are there any plans to fix this?

In general: Yes. But I do not know how to (easily) fix this.

What will it take to fix this?

I'm not sure. I guess "a good idea on how to fix this". A random idea would be to go the #369 route and deviate from upstream's XML (since I doubt that this could be fixed upstream in a backwards compatible way).
Or do "something special" in the code generator. This is basically the same idea as the previous point, just implemented in a different way.
Even ignoring the "how?" (which is what I thought about in the last two points), there is also the "what?": How should the  generated code for this look like? What's the best fix that doesn't cause problems down the road. E.g. adding other event enums means that users might now expect a way to convert between these enums....
So, do sum it up: I'm not really sure

So, I'm confused. Is the reason event mask 16 bit despite it having the ability to have more values because for GrabButton, there aren't more values required? There are many places in the xml where the event mask is used with 32 bits instead. Do you think it is possible to generate separate event masks based on what's making the request? My understanding is that GrabButton requires only a subset of EventMask so maybe the enum needed for GrabButton only needs to contain those values?

According to the protocol manual ( https://www.x.org/releases/X11R7.6/doc/xproto/x11protocol.html ), the one event mask that xcb-proto / xcb has really should be three separate ones:

Type
Values

EVENT
{ KeyPress, KeyRelease, OwnerGrabButton, ButtonPress, ButtonRelease, EnterWindow, LeaveWindow, PointerMotion, PointerMotionHint, Button1Motion, Button2Motion, Button3Motion, Button4Motion, Button5Motion, ButtonMotion, Exposure, VisibilityChange, StructureNotify, ResizeRedirect, SubstructureNotify, SubstructureRedirect, FocusChange, PropertyChange, ColormapChange, KeymapState }

POINTEREVENT
{ ButtonPress, ButtonRelease, EnterWindow, LeaveWindow, PointerMotion, PointerMotionHint, Button1Motion, Button2Motion, Button3Motion, Button4Motion, Button5Motion, ButtonMotion, KeymapState }

DEVICEEVENT
{ KeyPress, KeyRelease, ButtonPress, ButtonRelease, PointerMotion, Button1Motion, Button2Motion, Button3Motion, Button4Motion, Button5Motion, ButtonMotion }

"DEVICEEVENT" only appears in the do-not-propagate-mask for CreateWindow / ChangeWindow. Its largest value seems to be <bit>13</bit>.
Searching for "pointerevents", it seems like this enum is for grab-related things (e.g. GrabPointer). Its largest values is <bit>14</bit>.
So, both of these would fit into a 16 bit number.
Thus, yeah, this really should be three different enums, I guess. libxcb just didn't need this thanks to C's implicit integer conversion.

Do you know where these enums are generated in the code? Do you think we can make a special case for EventMask and just hard code 3 different enums? Or is there a better way to do this? I don't know if there's a more general solution to deal with other places such an issue may occur.

Hopefully this is the only place where this occurs.
I guess the easiest way to fix this is to do what #369 suggests and just patch our XML.
Anyway, the code for an <enum> is generated by this function:
https://github.com/psychon/x11rb/blob/2fd40af4f2ed5eafd026c74e16ae88df396852c6/generator/src/generator/namespace/mod.rs#L645
The Rust struct that represents the <enum> is generated by this code:
https://github.com/psychon/x11rb/blob/2fd40af4f2ed5eafd026c74e16ae88df396852c6/generator/src/generator/namespace/mod.rs#L673-L711
The rest of the function seems to emit From implementations and a Debug implementation.

I opened https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/issues/22 and https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/35 for this


pull on owned archive should fail

dat-next create
dat-next pull

Should throw an error. Cannot pull archive that you own!

https://github.com/joehand/dat-next/pull/38


fix: Jaeger propagator example of usage"

Which problem is this PR solving?

Short description of the changes
-/cc @mayurkale22

@mayurkale22 thinking of adding Merge:express label to show that a PR can be merged without waiting for many reviews.

@mayurkale22 thinking of adding Merge:express label to show that a PR can be merged without waiting for many reviews. WDYT

Sure, good idea.


Feature/is 114 ca engine 2.0.0

Upgrading ca-engine to version 2.0.0

Requesting merge to wrong branch. Closing this one


Stop auto-commits to website/src/pages/docs/schema-reference.md

In #880, we added the ability to automatically generate the schema-reference.md file.  As the last step of this processing we set up in this ticket, the github pipeline does a git commit and push of the generated schema-reference.md file.
The source *.schema.json files that are used to create schema-reference.md are all controlled in git.  With the source schema.json files controlled in git, and since the creation of schema-reference.md is automated, (via make docs-generate) I don't see a reason to control the generated schema-reference.md file in git too.  I'd prefer to just run the make docs-generate every time we run the "Deploy Website" workflow.  This then would mean that we could depreciate the "JSON Schema Markdown website update" workflow.
Why is this my preference?  @abetones' git workflow looks like this:
1) make local edits
2) commit them
3) push them
4) make more edits
5) commit them
6) push them

But with the auto-commit to website/src/pages/docs/schema-reference.md, he’s having troubles in step 6) because he has merge conflicts.  He could just wait a couple of minutes (for the github pipeline to finish its update), then do a git fetch and git sync after each commit.  However, it feels to me like this shouldn't be needed...  So, at the risk of circular reasoning, I'd prefer to just remove the git commit and push that's done automatically by the github pipeline in the "JSON Schema Markdown website update" workflow.

To test that the file has been removed from git:
rm -rf appscope3
git clone git@github.com:criblio/appscope.git appscope3
cd appscope3
ls -al website/src/pages/docs/schema-reference.md

returned this for the ls -al command:
ubuntu@ip-10-8-107-159:~/jrc/appscope3$ ls -al website/src/pages/docs/schema-reference.md
ls: cannot access 'website/src/pages/docs/schema-reference.md': No such file or directory

This confirms that the schema-reference.md is no longer controlled in git.
To make sure that the website schema still works, I looked at https://appscope.dev/docs/schema-reference/#eventhttpresp
after @seanvaleo published a new tag web-1.1.0-update2.  This tells me that the website is still fully functional, despite the fact that schema-reference.md is no longer in git.  This also implies that the make docs-generate is successfully doing its job, because the schema-reference endpoint has changes that went in after schema-reference.md has stopped being under direct control.  (Specifically, the changes from #1021)


Setting StepTabsContainer background via attribute.

Good day. There is a nice attribute ms_bottomNavigationBackground in StepperLayout to change bottom navigation background. But I couldn't find similar attribute for StepTabs. Instead we need to  define a style for ms_tabsContainerStyle with android:background in it and assign it to ms_stepperLayoutTheme. It would be nice to be able to have a simple attribute instead of defing numerous styles just for that. Thank you!

Hi @arslancharyev31 ,
I have mixed feelings about this TBH. The idea of introducing ms_stepperLayoutTheme was to actually limit the number of StepperLayout's custom attributes (which is already at 19).
The way I see it If I wanted to e.g. change the default background I would also add some elevation to the view and modify it further (so modify android:background and android:elevation on Lollipop). We could introduce custom attributes for each of the views inside of the Stepper layout (which is a few), but I feel like it would be harder to find the right attribute.
PS.
ms_bottomNavigationBackground was actually introduced before ms_stepperLayoutTheme and if I were to do it again I would probably skip ms_bottomNavigationBackground.

Definitely writing attribute for every single view would be not a good practice. But for major views like bottom bar and step tabs it shouldn't be a big deal, imho. Thanks anyway!


Fixes Issue #633. Tightens the regular expression for the logFormatType=cri causing log clipping

Fixes Issue #633. Tightens the regular expression for the logFormatType=cri  to prevent time field from absorbing arbitrary portions of the log line.
To see this in action simply use this example text:
2016-02-17T00:04:05.931087621Z stdout F this part of the log entry gets clipped stderr F foobar
And the broken regex here:
 ^(?<time>.+) (?<stream>stdout|stderr)( (?<logtag>.))? (?<log>.*)$
You'll see that the regular expression will match the last reference to "stdout" or "stderr" causing anything between the extra stdout/stderr to be clipped and not included in the log line.
When changed to the suggested regex:
^(?<time>[^\s]+) (?<stream>stdout|stderr)( (?<logtag>.))? (?<log>.*)$
Extra log values are not clipped and the second entry contains the full log property
Proposed changes
This regular expression change tightens the match down to just a single word item preventing it from matching across white space to other words.
Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] I have read the CLA
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Thank you!

Thank you! Would be great to get a release with this.


Geofence notification - add script call + URI call in addition to mail/web

Hi Anton,
first and foremost: thanks for the great new feature "geofencing". This is highly appreciated!
What I was thinking of: in order to keep the notification stuff generic, one could add the option to call an external resource. This could be:

a URI which receives the relevant information via POST request
a script call on the local server (this would be the most generic version and would enable nearly any kind of integration)

The crucial part would be to transmit the data in a generic fashion so the external script could utilize them.
Cheers
Thomas

It would be possible to have something similar to data forwarding that we have, but for now I guess email is pretty generic way.

Unfortunately with mail it's not really possible to trigger something external with just this hook :|

@Abyss777, what do you think? How hard would it be to add another option to forward event to a URL (something similar to forward.enable and forward.url).

It is in my nearest plans. Only question, what we will forward? event object (as json for example) or preformated message?
Forwarding to script is insecure, we have to sonsider it.

I'd suggest sending a serialized object instead of a preformatted message. The former is much more easy to handle. Preformatted messages would lead to parsing this message which is simply not neccessary.
Cheers
Thomas

Parsing form parameters should be even easier than JSON.

We can even POST only event id. Details can be retrieved via API.
Actually other side will request position after receiving event in most cases to get whole information.
Or we can POST two objects: event and position, as we do for web-client.

Just event id
Only event via parameters (not json)
Event and position (if need)

What is better?

I guess JSON would be easier to implement, so we can go with that option.

My two cents: From a scaling perspective (assuming a huge install of Traccar) it would probably be better to send as much information as possible with the request so the server doesn't have to handle additional API requests because some information in the notification was missing.
Cheers
Thomas

I agree that it would be better to send all information straight away.

OK, I see your points.

Just for my understanding. How would one configure this? From my understanding, this should be configurable on a per user basis, because user A might want his notifications to go to ServerY and user B might want his notifications to go to ServerZ.
Am I missing something?

No, It is unconditional forwarding all events to other server (service). It can't be configured per user.
It is helpful for situation when traccar is a part of some bigger system.
Can you give an example when different users of one traccar server want to send RAW objects to other servers? They have to implement his own web-server, parsers and other things.
It will be useful to send preformated messages configured per user, for example to some push service. I thought about it, but It have to be very configurable because of zoo of services.
For example some push services use GET, some POST, some get auth token via request, some via header and so on.
It hard to do without template framework. It is in plans.

Ah... I remember traccar having a fleet tracking background, right? From that perspective there is, indeed, little sense to implement it that way.
My background, on the other hand, is that I self-host most of my software and sometimes give accounts in my instance to others. In that scenario, others might want to push their messages to another server than mine whereas I want to push the messages to my server. Just think of how it would have to be, if traccar was a SaaS somebody is offering to others rather than an internal application for a company.
And you are right. The other side, of course, has to implement / adapt to the message traccar is pushing. I don't think that traccar should offer "presets" or so to push to Service X oder Service Y. It should only commit to "traccar sends geofence notifications in this or that way. deal with it, adapt to it.".
Cheers
Thomas

Thanks for feedback. We can definitely consider per-user option in future, but I think for now there are some other higher priority items in the backlog.

Yeah... that's fine, I just meant it as a "nice to have"-feature for the future :)


Tooltip goes behind container

https://user-images.githubusercontent.com/19897088/109094767-98747480-772b-11eb-9961-de154360ba0e.mp4
I assume this has something to do with the layer changes done. There should be a way to control where it is rendered, or Tooltips should always be rendered on top of everything.

https://github.com/yusdacra/iced/commit/c91d59e3c958ae13ba73976405101475fc7883c2 tried messing around with layers here. Added an on_top boolean to Primitive::Clip to make it so that layer is rendered on top of other layers which don't have on_top == true. Even after doing so the tooltip still gets rendered like in the video. I made sure that the tooltip layer is above everything, yet it gets rendered under it.

Definitely a slip-up on my side.
I think we could create a Tooltip variant in Primitive and have a dedicated overlay layer or something similar. I'll play with the idea.

Fixed by #1692.


HV-994 Validation of parameter on stateless bean

https://hibernate.atlassian.net/browse/HV-994
It seems the @WithAnnotation used with ValidationExtension#processAnnotatedType does not check constraint defined on interfaces. If remove it, everything works as expected.

@DavideD Where are we with that? Martin mentions "implicit bean archives" in his answer to your question in the Weld forum. Is the archive at hand such implicit archive, though? Would it help to add beans.xml? I am wondering whether we are on the right track with this one.

I've created a test case but I could not find a solution. It seems related
to weld but I haven't received any answer from their forum.
I've tried different configurations but if you want to test something, it's
easy to change the deployment in the test and see if it works
On 28 Sep 2015 14:41, "Gunnar Morling"<EMAIL_ADDRESS>wrote:

@DavideD https://github.com/DavideD Where are we with that? Martin
mentions "implicit bean archives" in his answer to your question in the
Weld forum. Is the archive at hand such implicit archive, though? Would it
help to add beans.xml? I am wondering whether we are on the right track
with this one.
—
Reply to this email directly or view it on GitHub
https://github.com/hibernate/hibernate-validator/pull/430#issuecomment-143731867
.

Closing for now. Seems to need further investigation.


License Required for SharePoint Admin?

The bubble that shows on this link that " Global admins, SharePoint admins, and site admins all need to be assigned a SharePoint license." may need some clarification. Is this truly still a requirement? If so is it a technological requirement? A license compliance requirement? I have not had issue recently with SharePoint Online administration with using a global admin or SharePoint administrator account that didn't have a license. If it is a licensing compliance issue where it may work but you're not in compliance, then that's a serious concern since in such a case it appears to not be enforced and it is also a rare requirement that an admin needs to be licensed. But if it just has technical issues, then that might be acceptable to still do what you can do without a license. If it is only a technological issue, maybe a statement that "...admins all need to be assigned a SharePoint license. If you don't, you may have issues with administration." Thanks for your time.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7461c2ef-3439-2c86-4dde-8992b62bf9a7
Version Independent ID: faa4e3aa-8ec4-f1f1-d4bd-4058999545f3
Content: About the SharePoint admin role in Microsoft 365 - SharePoint in Microsoft 365
Content Source: SharePoint/SharePointOnline/sharepoint-admin-role.md
Service: sharepoint-online
GitHub Login: @kaarins
Microsoft Alias: kaarins

@jreinhardtproarch Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

It's a license compliance/terms of service requirement. While any user can access SharePoint/OneDrive without a license (the service doesn't perform license enforcement), including users holding admin roles, if they use the service they must be licensed.

Hi Trevor, obviously we can accept the statement in this article if it is true. However, the reason you give I question. Administering the service is not using the service. The administrator does not benefit from using the service by administering it. This question has significance concerning partners who may only administer a SharePoint Online environment for a customer without actually using it themselves because they are paid only to administer it for those who use it. I would ask for further review by someone else if it wouldn't be too inconvenient. Thank you for your response.

Administering the service is not using the service.

Technically correct. I should restate: accessing the service. As an admin, you do this in a variety of ways be it the web UI, PowerShell, etc.
Partners should contact Microsoft Partner support with any licensing questions.


Simplest way to add subsegment to a NodeJS Lambda.

Hi!
Shouldn't this work?
export const handler = async () => {
    const segment = AWSXRay.getSegment();
    const subSegment = segment.addNewSubsegment('ExternalCall');
    // do stuff...
    subSegment.close();
}

When debugging, I'm getting this: Ignoring flush on subsegment 846f3500400178a9. Associated segment is marked as not sampled.
And, most importantly, nothing gets registered or displayed on XRay.

Hey, @willarmiros! Thanks for your comment.
Unfortunately, even when raising the sampling rate by several orders of magnitude it still didn't work.
This is what has worked for me, with default sampling rate settings.
export const traceWithXRay: <T>(name: string, asyncCall: Promise<T>) => Promise<T> = async (name, asyncCall) => {
  const traceData = AWSXRay.utils.processTraceData(process.env._X_AMZN_TRACE_ID!);
  const subSegment = new AWSXRay.Segment(name, traceData.root, traceData.parent);
  subSegment.start_time = new Date().getTime() / 1000;
  const ret = await asyncCall;
  subSegment.close();
  return ret;
};

I wonder if this has anything to do with the workarounds due to Lambda segment immutability.

Is the Lambda node the root node of your service? If so, Lambda does not respect centralized sampling rules and sticks with the default rate I mentioned above. Glad to see you have the workaround though!

Nope. Trace starts on AppSync.

Hey @andrestone!
Thanks for giving us more information. I found something similar to your original example on the public docs here and tried to reproduce it myself.
Using just the Lambda (without AppSync) I got the subsegments to appear with the following steps:

I created a Lambda function for Node.js 14.x and enabled tracing with X-Ray
I created a simple Node.js program locally using npm init, ran npm install aws-xray-sdk, and wrote an index.js file like this:

var AWSXRay = require('aws-xray-sdk');

exports.handler = async (event) => {
    const segment = AWSXRay.getSegment();
    const subSegment = segment.addNewSubsegment('subseg');
    subSegment.close();

    return "Handler complete.";
};

I zipped all those files together (including node_modules) and uploaded the zip file to my lambda function
I made sure that Deploy was grayed out, and ran Test with the default configuration
Finally, I went to X-Ray and saw that the subsegment I created was indeed there:

I only have the default sampling rate that @willarmiros mentioned above:
$ aws xray get-sampling-rules | tee
{
    "SamplingRuleRecords": [
        {
            "SamplingRule": {
                "RuleName": "Default",
                "RuleARN": "arn:aws:xray:us-west-2:330374072857:sampling-rule/Default",
                "ResourceARN": "*",
                "Priority": 10000,
                "FixedRate": 0.05,
                "ReservoirSize": 1,
                "ServiceName": "*",
                "ServiceType": "*",
                "Host": "*",
                "HTTPMethod": "*",
                "URLPath": "*",
                "Version": 1,
                "Attributes": {}
            },
            "CreatedAt": "1969-12-31T16:00:00-08:00",
            "ModifiedAt": "1969-12-31T16:00:00-08:00"
        }
    ]
}

Let me know if these steps work for you? If they don't, it would be awesome if you could help me describe your architecture! For example, does Lambda get invoked by polling DyanmoDB or perhaps it's acting as a resolver for AppSync?

I have the same issue, in short, I have a lambda, that call other lambda, the second lambda is always had sample with 0, and give me the same message, Ignoring flush on subsegment 846f3500400178a9. Associated segment is marked as not sampled.

Hi @MostafaaRamadan - thanks for raising this, have you tried enabling active tracing on your first lambda? That is necessary for now to get your use case to work


Fix library with current version of fmtlib (#66)

I appreciate the effort, but please do not re-indent the entire library!

I'm sorry, I have no idea how that snuck in there. Stupid autoformatter :(
I've reset the indentaion back.

any news ?

I think I got them all? I don't see the difference in github, but grep -c '^    ' loguru.{cpp,hpp} shows that there's no space indents.


[meshery] Add support for cilium adapter

Description
Add support for meshery-cilium adapter in bash script
This PR fixes #5229
Notes for Reviewers
This PR can be merged, once rest of the changes for cilum adapter are merged.
Signed-off-by: Hussaina Begum Nandyala<EMAIL_ADDRESS>Signed commits

[ ] Yes, I signed my commits.

Codecov Report

Merging #5238 (3c32445) into master (1ab609a) will decrease coverage by 7.77%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5238      +/-   ##
==========================================
- Coverage   30.93%   23.15%   -7.78%
==========================================
  Files          63       63
  Lines        5441     5441
==========================================
- Hits         1683     1260     -423
- Misses       3339     3907     +568
+ Partials      419      274     -145

Flag
Coverage Δ

gointegrationtests
?

unittests
23.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/system/update.go
1.05% <0.00%> (-58.95%)
:arrow_down:

mesheryctl/internal/cli/root/system/status.go
1.14% <0.00%> (-55.18%)
:arrow_down:

mesheryctl/internal/cli/root/system/start.go
1.91% <0.00%> (-54.55%)
:arrow_down:

mesheryctl/internal/cli/root/system/restart.go
1.92% <0.00%> (-48.08%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
2.15% <0.00%> (-44.61%)
:arrow_down:

mesheryctl/internal/cli/root/system/logs.go
3.26% <0.00%> (-36.96%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.03% <0.00%> (-23.03%)
:arrow_down:

mesheryctl/internal/cli/root/system/dashboard.go
1.70% <0.00%> (-9.41%)
:arrow_down:

mesheryctl/pkg/utils/healthcheck.go
8.82% <0.00%> (-4.42%)
:arrow_down:

Continue to review full report at Codecov.

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


add chain overview for indexers

@yash251 @Web3Slimchance , this is great stuff.
On Starknet, I wonder if it's a good idea to add it to the table, given we'll soon have a better Firehose implementation maintained by the Streaming Fast team (sponsored by the Starknet Foundation itself).
It may be confusing for Indexers to see it on that page, and I fear many will start getting ready only to see it being deprecated in ~4 weeks (the latest estimate for the new implementation shared by the SF team).
cc @azf20

Also, do we need the page to go live with the "Additional Info" column, if it's currently completely empty?

I think the page should be a top-level page under the INDEXING category.

There isn't a lot of indexer turnover, And existing Indexers are not likely to look deep in the docs to find information about supporting additional networks. (I am afraid that our current indexers won't find it if we put it under "Operating Graph Node).

With a rework of the docs on the horizon, I would opt for discoverability over keeping things tidy.

Open to suggestions for what the name of the page should be.


Use fork repo for daily updates in Java

Description
The PR is to update the version to docs fork repo daily branch.
Keyvault testing:
From unified pipeline to fork repo:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1217760&view=logs&j=b1e79959-24d8-5aa9-2799-72d40c3e051b&t=77783793-89a5-5b26-f964-83f7ae88ef10
https://github.com/azure-sdk/azure-docs-sdk-java/blob/daily/2021-11-29/metadata/preview/azure-security-keyvault-administration.json#L4
From azure-sdk fork to main daily branch:
As we have unified pipeline and ci build run to override the changes. I have screenshot the changes in main repo.
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1217885&view=results

https://github.com/Azure/azure-docs-sdk-java/commit/a60c4e7be01cd46c7b37cbbed104a5869920e6dd
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

These changes and the runs look correct. I think we can eliminate some redundant complexity and this should be good to go 👍

File another tests:
unified -> azure-sdk/daily
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1217760&view=logs&j=b1e79959-24d8-5aa9-2799-72d40c3e051b&t=77783793-89a5-5b26-f964-83f7ae88ef10
https://github.com/azure-sdk/azure-docs-sdk-java/blob/daily/2021-11-30/metadata/preview/azure-security-keyvault-administration.json
azure-sdk/daily -> Azure/daily
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1218467&view=logs&j=dc056dfc-c0cf-5958-c8c4-8da4f91a3739&t=bfb6cede-7671-5504-0a11-79b13ef63703

Hard-coded the daily branch
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1223236&view=logs&j=dc056dfc-c0cf-5958-c8c4-8da4f91a3739&t=98c76ae6-047b-5869-f98c-bcf6099a854a


Error building on mac 10.14.6

I get a large error message and fail when trying to build on mac 10.14.6
It appears to by trying to link against linux *.a libraries instead of the mac *.dylib
I have attached the run output here:
output.txt

Workaround is to use pkg_config with SODIUM_USE_PKG_CONFIG=1 or point libsodium at my library, but would prefer the normal build to work

It appears to by trying to link against linux *.a libraries instead of the mac *.dylib

I think .a files are static libs even in Mac. There should be an issue somewhere else.

From output.txt:

ld: warning: ignoring file ../../src/libsodium/.libs/libsodium.a, file was built for archive which is not the architecture being linked (x86_64): ../../src/libsodium/.libs/libsodium.a

https://github.com/sodiumoxide/sodiumoxide/blob/70bd89401c351f3853985be02033570a29e0766c/libsodium-sys/build.rs#L164
@jedisct1 should we check for target x86_64-apple-darwin and set vars from https://github.com/jedisct1/libsodium/blob/master/dist-build/osx.sh ?

That shouldn't be necessary. That script is just here to build redistributable precompiled libraries that work on old versions of macOS.
In all other cases, on macOS like on other Unixish platforms ./configure --prefix=... && make check && make install should be enough.

Closing since this issue has been inactive for quite a while and it seems the question has been answered, please reach out if this issue needs to be reopened!


Change title to "Loanbook App"

Pull Request Test Coverage Report for Build 109

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.811%

Totals

Change from base Build 98:
0.0%

Covered Lines:
1433

Relevant Lines:
1544

💛  - Coveralls


Single click mode should respect baseURL

Before
If baseURL was set to some value (ie /filebrowser) AND single click was on links to files/folders were wrong
After
Links to are correct

Thanks, there may be other bugs related to base url change, so this will take a few more changes as well
I'll add this to v0.2.11 and  double check it still works for things like:

Search
share
browsing
API
state related operations


How to implement a single use button for sending emails with Swiftmailer

I am using Symfony 2.8 and Swiftmailer 2.3 to send messages. In my Web application, there is a button used by the users to send emails (for sending requests). But I have noticed that sometimes the users clicked several times on the button during the loading of the page and it sends consequently the emails twice or more. That is why I would like to know 2 things:

Is there a way to do a "single use button" or equivalent to avoid sending emails twice or more by clicking twice or more during the loading of the page? If I must send 4 emails by clicking on the button, I do not want to allow users to send 8 emails (4 original emails + 1 copy of each emails) or 12 emails (4 original emails + 2 copies of each emails) for example.

If I use a "single use button" or equivalent, I would like to be sure that the emails were well sent by Swiftmailers in order not to block the sending of emails if they were not sent. It would be a problem if a user interrupts for example the loading of the page which could cancel the sending of emails and if he cannot send these emails anymore...

What is the best and most appropriate way to do that?

Hi, github issues are used to report issues or feature requests. Please use a forum for your question or https://stackoverflow.com/ . BTW swiftmailer is a backend and has nothing to do with buttons. Best.


New package: SumTypes v0.1.0

Registering package: SumTypes
Repository: https://github.com/MasonProtter/SumTypes.jl
Created by: @MasonProtter
Version: v0.1.0
Commit: 813c212823acf0ac64dc45d071bdc23ac322aece
Reviewed by: @MasonProtter
Reference: https://github.com/MasonProtter/SumTypes.jl/commit/813c212823acf0ac64dc45d071bdc23ac322aece#commitcomment-46200495

Can we close this and let https://github.com/JuliaRegistries/General/pull/28439 supersede it?

Can we close this and let https://github.com/JuliaRegistries/General/pull/28439 supersede it?


Initial request to lux sensor returns 0s

It appears as though the data from the sensor is actually returning a 0 on the first request after the device has started.

Might have to register the device addresses in the configuration after all, so it can load the I2C bus and devices upon startup.


Should the IChannel interface be replaced by a tuple?

The channels library contains the IChannel<...> interface that combines readable and writable channels.
public interface IChannel<T> : IChannel<T, T> { }
public interface IChannel<TInput, TOutput> : IWritableChannel<TInput>, IReadableChannel<TOutput> { }

Are these really a good idea?
I'd rather return a tuple (be it a struct, class or interface) that contains the two unidirectional channels. Something like:
public struct Channel<TInput, TOutput>
{
    public IReadableChannel<TOutput> Output { get; }
    public IWritableChannel<TInput> Input { get; }
}

This properly isolates the two endpoints of a channel so you can hand each side of the communication only the channel they need.

An IChannel doesn't contain two different channels though. It is an IWritableChannel and an IReadableChannel and they aren't necessarily contained in two distinct objects.
Take a simple buffer/queue as an example. It's both IWritableChannel and IReadableChannel as you can read from it and write to it, but at the end it's just a single data store.
You can still logically hand off only a single "side" by sending an IChannel as IWritableChannel or IReadableChannel.

I previously experimented with changing the design similar to what's proposed, with something like:
public abstract class Channel<T> : Channel<T, T> { }

public abstract class Channel<TInput, TOutput>
{
    public abstract ReadableChannel<TOutput> Out { get; }
    public abstract WritableChannel<TInput> In { get; }
}

I refactored the library accordingly.  IMO, it made the programming model quite awkward to consume (in part due to the reasons @i3arnon outlines), it made it more difficult to implement custom channels, and it made certain things more expensive (e.g. more objects to construct).  Using abstract base classes had the benefit of being slightly more future proof, but there was enough of a degradation to usage that it really didn't seem worthwhile (there also weren't any obvious perf gains from switching from interface dispatch to virtual dispatch), and I abandoned the effort.


Schemas defined by allOf are not treated as Objects

Proposed fix for #147
I've added the simplest possible code the check whether a given Schema is composed of one or more different schemas by allOf. Also added a test case to expose the failure.

Any as a default type solves the issue hence closing.


Offensive terminology refactor

This repo is mirrored from our internal sources, with the internal headers copied from NET_RDM. So we should make these changes there, not here.


Update animated_tray.dart

change nullability to fix tray builder null check exception that happens when trying to wrap tray builder with any widget


Copy scalastyle-config.xml from circe/circe

See
https://github.com/circe/circe-jackson/pull/10
https://github.com/circe/circe-spray/pull/1

Thanks @n4to4. This looks fine to merge.
I'm curious whether it would work to have 1 copy of the Scalastyle XML and reference it across the projects? (See http://www.scalastyle.org/sbt.html - "scalastyleConfigUrl")
I haven't seen many teams actually doing this across their repos before, but it might be nicer to have one place to change the config instead of several.
On the other hand, I doubt this is particularly frequently changing config.
Any thoughts @travisbrown ?

Maybe by using git submodule? (I haven't tried it though)
Or it might be useful to have an sbt template repository.

I think the best route if we decide that maintaining separate builds is too much work would be something like Scodec's scodec-build. So far I'm not quite convinced it's worth the trouble, even with things like Scalastyle config (which very rarely changes).

I just tried out GitHub's new-ish in-browser conflict resolver thing—once this is green I'll merge.


Stories for SectionName

Component in question:

SectionName

Description of issue:
Not sure if this needs to be a component for what I have in mind—could probably be represented just as stories.
Should show Breadcrumbs updating according to the SectionName that it's in.

Closed via #312.


No detection of closed connection with ser2net

Version of the AMSHAN
The version is  2022.4.0

Configuration
LGF E360 -> Homebrew adapter from hanporten.se -> Raspberry-pi with GPIO -> ser2net -> wifi -> Homeassistant OS in virtual machine -> Amshan v 2022.4.0
Describe the bug
After restart of the Rasperry pi it does not seem like the plugin detects that the connection is closed and does not start again (or the timeout is very long). A reload of the plugin fixes the issue.

I'm having a similar issue.
I have a MA304H3E by Kaifa.
I connect to it like this:
MA304H3E -> TTL to MBUS adapter (1) -> ESP32 GPIO -> streamserver (2) -> wifi -> HA with AMSHAM
It some times times out and a reload of the plugin fixes the issue.
I've tried to make some logic in node-red to detect when it happens but the reload integration part in HA through either node-red or directly to the api is really bad and doesn't work at all for me.
So what I have now is just a push notification to my phone, but it sucks getting woken up in the middle of the night because the connection has times out.
Would it be possible to implement some timeout watcher in AMSHAM?
If no messages has been received in X amount of time (10..20 seconds) AMSHAM tries to reconnect?
(1) https://s.click.aliexpress.com/e/_DBeSVDz
(2) https://github.com/oxan/esphome-stream-server

I tried solving it the same way but my experience is similar. I am using a timer to detect the problem but I have not found a good way to automatically reload.


Bug in set_hostname.yml

fatal: [<IP_ADDRESS> -> localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"hostname": "bigip.localhost.localdomain",
"partition": "Common",
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"server": "<IP_ADDRESS>",
"server_port": 443,
"state": "present",
"user": "admin",
"validate_certs": false
}
},
"msg": "404 Unexpected Error: Not Found for uri: https://<IP_ADDRESS>:443/mgmt/tm/cm/device/\nText: u'{"code":404,"message":"01020036:3: The requested Re-Key (system device) was not found.","errorStack":[],"apiError":3}'"
}

Changed the hostname via the platform tab under system and now bigip_hostname module is working as expected.


Better name resolution for CNAME records

Feature request
I am using special domain for a all services of my company (mycompany.dev). Sometimes I want to assign custom DNS, apart from the names that are provided by headscale.
For example I have a namespaces like api for all nodes, which provided a internal api of my company. I want to add these nodes, so that they can be solved with api.mycompany.dev.
When I add them as A record the problem is not occured, but when I want add them as a CNAME record the problem is appear. As default providers like cloudflare resolve CNAME records as:
dig A api.mycompany.dev
;api.mycompany.dev.		IN	CNAME api1.api.mycompany.dev
;api.mycompany.dev.		IN	A           <IP_ADDRESS>

but headscale resolve these CNAME record only for CNAME queries and can not resolve any IP for A queries:
dig A api.mycompany.dev
;api.mycompany.dev.		IN	A <empty>

I think, headscale should resolve A queries in a similar way as a cloudflare, thanks.

Where did you add the CNAME record? Did you add it via the dns guide?
If so see that currently CNAME records are not supported: https://github.com/juanfont/headscale/blob/main/docs/dns-records.md#limitations, which is a limitation on the Tailscale side...

@christian-heusel  I added CNAME records for the third-party DNS server provider, cloudflare


Update Docs

Codecov Report

Merging #267 (d4376b3) into master (56679f4) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #267   +/-   ##
=========================================
  Coverage     70.58%   70.58%
  Complexity      811      811
=========================================
  Files           111      111
  Lines          2733     2733
  Branches        367      367
=========================================
  Hits           1929     1929
  Misses          694      694
  Partials        110      110

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Don't wait for hooks in kubectl cert-manager x install integration test (part 2)

Integration tests are failing with a timeout error due to newly released Helm chart.
The integration test is performed against a fake kubernetes api-server, and the test only checks if the resources are created correctly.
The resources are not used to really deploy cert-manager in the tests, that is why we have to disable the post-install checks.
The newly-added post-install Helm hook in the v1.5 release was not yet disabled in the test; this causes a timeout error.
This PR disables the post-install Helm hook for the integration test.
Also included: use local chart instead of published chart in the integration test -> this should prevent this problem in the future
part 1: #4342
NONE

/kind bug

/lgtm


generators regenerate the whole project

I'm trying to generate a crud-module (on windows) and yo generator tries to re generate the whole project

@amoshaviv @c-rodrigo  but the issue wasnt fixed for me while using
sudo npm update -g generator-meanjs
I am on a Ubuntu 14.04 machine, and the generator-meanjs version I am using is 0.4.1 (I think this is the latest one)
the meanjs I have installed from yo generator is 0.4.1 (latest mean.js) and my yo version is 1.4.8
But still when trying to create a module inside my meanjs directory, it's generating the entire project ?

@rahil051 this one is quite an old discussion.
Just a clarification, the generator for the latest version (v0.4) doesn't support sub-generators like the older one. We are working on getting those on-board but their not there yet.


id2index_filenames

Author
hello，Can you provide the following four files: uid2index: uid2index_${seed}.tsv, categ2index: categ2index.tsv, sentiment2index: sentiment2index.tsv, nid2index: nid2index.tsv? I seem to be unable to find these files.
Thanks！

Hi, these files are automatically created when you preprocess the data. For a more recent version of the code, you can use the NewsRecLib library.

Hi，are you implying that I need to preprocess the dataset myself? If so, could you provide me with the data processing format for files such as sentiment2index.tsv and nid2index.tsv?

Hi, these files are automatically created when you preprocess the data. For a more recent version of the code, you can use the NewsRecLib library.

Are you implying that I need to preprocess the dataset myself? If so, could you provide me with the data processing format for files such as sentiment2index.tsv and nid2index.tsv?

@dxxxmmm Which dataset are you using?
If you're using one of the two datasets supported (i.e., MIND or Adressa), when you run the training piepeline for one of the models included in this repository, firstly the dataset is automatically processed (creating the files that you're asking about), then the selected model is trained.

Thank you for your response. I encountered an error today while running the latest code during the validation part of the 5th epoch. The error is as follows: IndexError: index<PHONE_NUMBER> is out of bounds for dimension 0 with size 36. Is this an issue with data reading?

@dxxxmmm Which dataset are you using?
If you're using one of the two datasets supported (i.e., MIND or Adressa), when you run the training piepeline for one of the models included in this repository, firstly the dataset is automatically processed (creating the files that you're asking about), then the selected model is trained.

Thank you for your response.The dataset I am using is MIND. I encountered an error today while running the latest code during the validation part of the 5th epoch. The error is as follows: IndexError: index<PHONE_NUMBER> is out of bounds for dimension 0 with size 36. Is this an issue with data reading?

@dxxxmmm Which dataset are you using?
If you're using one of the two datasets supported (i.e., MIND or Adressa), when you run the training piepeline for one of the models included in this repository, firstly the dataset is automatically processed (creating the files that you're asking about), then the selected model is trained.

Thank you for your response.The dataset I am using is MIND. I encountered an error today while running the latest code during the validation part of the 5th epoch. The error is as follows: IndexError: index<PHONE_NUMBER> is out of bounds for dimension 0 with size 36. Is this an issue with data reading?

This shouldn't be an issue with the data reading, I have recently re-run all models on MIND and everything ran smoothly. Which model are you training?

@dxxxmmm Which dataset are you using?
If you're using one of the two datasets supported (i.e., MIND or Adressa), when you run the training piepeline for one of the models included in this repository, firstly the dataset is automatically processed (creating the files that you're asking about), then the selected model is trained.

Thank you for your response.The dataset I am using is MIND. I encountered an error today while running the latest code during the validation part of the 5th epoch. The error is as follows: IndexError: index<PHONE_NUMBER> is out of bounds for dimension 0 with size 36. Is this an issue with data reading?

This shouldn't be an issue with the data reading, I have recently re-run all models on MIND and everything ran smoothly. Which model are you training?

Hello,I have tried two models, one is manner and the other is miner. In the training process of these models encountered the same issue, which is an IndexError.The key point is that I haven't modified the code at all.If you can run all models on MIND and everything ran smoothly,I will try re-downloading newsreclib code.

@dxxxmmm Which dataset are you using?
If you're using one of the two datasets supported (i.e., MIND or Adressa), when you run the training piepeline for one of the models included in this repository, firstly the dataset is automatically processed (creating the files that you're asking about), then the selected model is trained.

Thank you for your response.The dataset I am using is MIND. I encountered an error today while running the latest code during the validation part of the 5th epoch. The error is as follows: IndexError: index<PHONE_NUMBER> is out of bounds for dimension 0 with size 36. Is this an issue with data reading?

This shouldn't be an issue with the data reading, I have recently re-run all models on MIND and everything ran smoothly. Which model are you training?
Author
Hello,I have tried two models, one is manner and the other is miner. In the training process of these models encountered the same issue, which is an IndexError.The key point is that I haven't modified the code at all.If you can run all models on MIND and everything ran smoothly,I will try re-downloading newsreclib code.
Thanks!

@dxxxmmm Which dataset are you using?
If you're using one of the two datasets supported (i.e., MIND or Adressa), when you run the training piepeline for one of the models included in this repository, firstly the dataset is automatically processed (creating the files that you're asking about), then the selected model is trained.

Thank you for your response.The dataset I am using is MIND. I encountered an error today while running the latest code during the validation part of the 5th epoch. The error is as follows: IndexError: index<PHONE_NUMBER> is out of bounds for dimension 0 with size 36. Is this an issue with data reading?

This shouldn't be an issue with the data reading, I have recently re-run all models on MIND and everything ran smoothly. Which model are you training?
Hello,
I am using a model called manner, and I encountered a KeyError: 0 error while running an experiment --manner_a_module_categ_mindsmall_plm_supconloss_bertsent.yaml. To address this issue, I changed the line transformed_labels = [self.index2label[label] for label in labels] to transformed_labels = [self.index2label[label + 1] for label in labels]. Additionally, there is a prompt indicating "Metric name is None!" How should I specify the Metric name? Is the IndexError: index<PHONE_NUMBER> is out of bounds for dimension 0 with size 36 due to the Metric name not being set?

The IndexError most likely has nothing to do with the missing Metric.
Regarding the Metric, it depends what metric you would like to calculate. Currently, only the loss is computed for the A-Module of MANNeR during training.

The IndexError most likely has nothing to do with the missing Metric name. Regarding the Metric, it depends what metric you would like to calculate. Currently, only the loss is computed for the A-Module of MANNeR during training.

1.How should I specify the Metric name? It seems I couldn't find the specified method.
2.I have meet a error when I run a experiment = manner_a_module_categ_mindsmall_plm_supconloss_bertsent.Can you tell me why?
track：
File "/home/duanxuemei/Pycode/newsreclib/newsreclib/models/fair_rec/manner_a_module.py", line 273, in on_test_epoch_end transformed_labels = [self.index2label[label] for label in labels] File "/home/duanxuemei/Pycode/newsreclib/newsreclib/models/fair_rec/manner_a_module.py", line 273, in  transformed_labels = [self.index2label[label] for label in labels] KeyError: 0

The IndexError most likely has nothing to do with the missing Metric name. Regarding the Metric, it depends what metric you would like to calculate. Currently, only the loss is computed for the A-Module of MANNeR during training.

Which metric do you want to use? It's a bit more involved, you'd probably to add the metric both in the implementation of the A-Module and the corresponding yaml configuration file.

1.How should I specify the Metric name? It seems I couldn't find the specified method. 2.I have meet a error when I run a experiment = manner_a_module_categ_mindsmall_plm_supconloss_bertsent.Can you tell me why? track： File "/home/duanxuemei/Pycode/newsreclib/newsreclib/models/fair_rec/manner_a_module.py", line 273, in on_test_epoch_end transformed_labels = [self.index2label[label] for label in labels] File "/home/duanxuemei/Pycode/newsreclib/newsreclib/models/fair_rec/manner_a_module.py", line 273, in transformed_labels = [self.index2label[label] for label in labels] KeyError: 0

It might be because of the number of labels you have in your dataset. Have you checked that the config file reflects the number of category labels you have in the dataset that you're using?


Improve docs and Readme for easier start with Comet

[ ] Add changeset (if necessary)

Also the changed structure in the menu represents a more natural path.

@thomasdax98 feedback addressed with de52c1f25f71d08ea52013717c6efbe8bded4384

@johnnyomair fixed with 5a96270da2ae9a722265e62753acac6738ad57ae. We should put how we want titles somewhere


Do not add workflow initiator (GITHUB_ACTOR) as an approver

Hi there, thanks for creating this GH Action - it's come in handy for some workflows over at @leaselock :)
We have a use case in which we want to allow a team of users to approve a step. However, if the user who initiates the workflow is also part of the team, we don't want to allow the initiator to self-approve.
This workflow initiator is exposed as a default environment variable GITHUB_ACTOR, so we added a small change to filter that user out.
I figured I'd share this PR as it might be useful for other users too. Perhaps we can toggle this behavior based on an input flag allow_workflow_initiator_as_approver: true|false?

Thanks for your PR! I really like this, and agree this is a great feature to add. This should definitely be behind a configuration setting, like you mention. allow_workflow_initiator_as_approver is a little verbose, but I can't think of anything more accurate and shorter right now. Could you add that into the code, and have it default to true so that we don't break current users that rely on this behavior already?
Thanks again!

@trstringer Updated! I've tested the input flag in a private repo and it works as expected.


UnboundLocalError when combining allow_dash and dir_okay

import click

@click.command()
@click.argument('filename', type=click.Path(dir_okay=False, allow_dash=True))
def foo(filename):
    pass

if __name__ == '__main__':
    foo()

When this script is invoked with the argument '-' I see the following error:
  File "boo.py", line 10, in <module>
    foo()
  File "/home/david/projects/structureshrink/foo/lib/python3.5/site-packages/click-6.4-py3.5.egg/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/home/david/projects/structureshrink/foo/lib/python3.5/site-packages/click-6.4-py3.5.egg/click/core.py", line 695, in main
    with self.make_context(prog_name, args, **extra) as ctx:
  File "/home/david/projects/structureshrink/foo/lib/python3.5/site-packages/click-6.4-py3.5.egg/click/core.py", line 620, in make_context
    self.parse_args(ctx, args)
  File "/home/david/projects/structureshrink/foo/lib/python3.5/site-packages/click-6.4-py3.5.egg/click/core.py", line 874, in parse_args
    value, args = param.handle_parse_result(ctx, opts, args)
  File "/home/david/projects/structureshrink/foo/lib/python3.5/site-packages/click-6.4-py3.5.egg/click/core.py", line 1390, in handle_parse_result
    value = self.full_process_value(ctx, value)
  File "/home/david/projects/structureshrink/foo/lib/python3.5/site-packages/click-6.4-py3.5.egg/click/core.py", line 1359, in full_process_value
    value = self.process_value(ctx, value)
  File "/home/david/projects/structureshrink/foo/lib/python3.5/site-packages/click-6.4-py3.5.egg/click/core.py", line 1349, in process_value
    return self.type_cast_value(ctx, value)
  File "/home/david/projects/structureshrink/foo/lib/python3.5/site-packages/click-6.4-py3.5.egg/click/core.py", line 1338, in type_cast_value
    return _convert(value, (self.nargs != 1) + bool(self.multiple))
  File "/home/david/projects/structureshrink/foo/lib/python3.5/site-packages/click-6.4-py3.5.egg/click/core.py", line 1336, in _convert
    return self.type(value, self, ctx)
  File "/home/david/projects/structureshrink/foo/lib/python3.5/site-packages/click-6.4-py3.5.egg/click/types.py", line 38, in __call__
    return self.convert(value, param, ctx)
  File "/home/david/projects/structureshrink/foo/lib/python3.5/site-packages/click-6.4-py3.5.egg/click/types.py", line 426, in convert
    if not self.dir_okay and stat.S_ISDIR(st.st_mode):

I am running Python 3.5.1 and using click version 6.4.

Thanks, I've fixed this. Do you need a bugfix release?

It would be useful but isn't super high priority. Up to you.

And thanks for fixing it :-)

Nice, PyPI returned a 500 while uploading. We're now on 6.6 instead of 6.5.


rx5808  dual diversity nano board

https://oshpark.com/shared_projects/Y2Zlih1f        I have this board version , of the rx 5808 dual diversity receiver using the nano . I have contacted osh park , sheaivy ,patrick , pfriedel and the closet i got was a red board that had some things in common with my version but not the same build at all . I have the purple rx 5808 nano board version that I had to purchase 3 of , and Ive been putting a couple hours a day for 2 weks now into finding the correct build info , no luck . Can you guys find the correct build docs. for the osh park nano board and send me a link please . Im rather new to github and rc forum  but someone else should be able to find this easier than me . Youd think osh park having sold me the boards from their shared projects would be able to connect me with a thousand other people but not yet .

https://cloud.githubusercontent.com/assets/20030826/17267545/e27ed14c-55c0-11e6-8873-4f28722bef9e.jpg
https://cloud.githubusercontent.com/assets/20030826/17267565/47f9c554-55c1-11e6-8ba1-0337250ea5ec.jpg

This what i have so far ,dont know where this is really supposed to go but its something

Looks like you are well on your way! Keep it up. From what I have heard in the forums it is an pretty much the same as all the other throughhole builds.

closing this issue as it is a duplicate of issue #77
https://github.com/sheaivey/rx5808-pro-diversity/issues/77


Remove pthread.h in newlib please.

Because there is no pthreads implementation in idf, please remove this file in newlib.

also remove the "sched.h" file.

Lua-RTOS-ESP32 uses pthread.h in thread implementation, possible some other projects too, why ask for removal just because you don't need it?

@loboris because we implement a standalone pthread.

@jolivepetrus if we remove pthread.h here, can you add it on your side? Will this cause any issues?

In our side we use our own pthread.h. I think that there is not problem if you remove pthread.h from newlib.

The question would be if anyone else is impacted by that distinction.
@BernardXiong
Just because you're using things that way, doesn't lead to it going the way you're asking for.  If you're implementing a standalone pthread instead of working with the one provided- WHY?
If it's not capable, would it NOT be better to hand-fix your problem and ask for the gap there to be fixed by the IDF team?
I'm...leery...of making arbitrary requests.  I've got a partial implementation of lwBT built and in the process of debugging to see how well Classic works at least until we get a UART HCI passthrough mode for the BT made available in the IDF.  I don't ask for them to rip the current incomplete Bluedroid out because there's a conflict with namespace in the Bluedroid for SDP.

@madscientist42
I don't know what's your meaning.
The pthread.h file in idf is from newlib. Mostly, there is no this pthread.h file in toolchains, for example in code sourcery g++ lite. Anyway, I can modify our implementation to make a stand pthread.h file with newlib.

Closing this as "wontfix" because we now have a minimal pthread implementation, hence pthread.h is actually needed.


Add umd modules

Fixes #4

That looks awesome @SteveVanOpstal
Thanks. I'll try to deploy a new version tomorrow morning
BTW, I added you as a collaborator :shipit:


Legate rikke has vanished

Legate rikke has disappeared from whiterun imperial camp

like this except she is meant to be there. this happened twice (changed saves since i thought i was hostile to imperials after accidentally hitting them in the battle of fort greymoor but was just wearing a whiterun curiass in prep for Whiteruns liberation of Vignars tyranny)
anyway both times she disappeared it might be an issue with the fort greymoor battle.
and no she isn't at solitude

additionally there is no map marker

update: she was behind the tent for some reason, both her and cipus

I will take a look. I don't think that Bethesda put the markers for the Whiterun camps in the right place (since it's never a thing in Vanilla). Not sure why Cipius is there though.

Not sure why Cipius is there though.
he is meant to be in the camp since he is the whiterun general he just isnt going into the camp

This should be fixed now. Forced her to marker on load so she doesn't appear behind the tent https://github.com/schofida/CWORR/releases/tag/v1.0.15a


TypeError: Mamba.init() got an unexpected keyword argument 'bimamba_type'

my envs:
causal-conv1d       1.1.1
mamba-ssm           1.2.0.post1
but I installed it inside Windows，i do not know why

I'm guessing you're trying to install vim: https://github.com/hustvl/Vim. You shouldn't install it here.
Or just replace this:
cp -rf "mamba-1p1p1/mamba_ssm" "/envs/mamba/lib/python3.10/site-packages/"

mamba-1p1p1 in vim modifies some settings (add new args) so you should replace it with the file in site-packages


unit tests

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@cdf63fe). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop       #4   +/-   ##
==========================================
  Coverage           ?   91.66%
==========================================
  Files              ?        1
  Lines              ?       12
  Branches           ?        0
==========================================
  Hits               ?       11
  Misses             ?        1
  Partials           ?        0

Continue to review full report at Codecov.

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


403 error on demo

It seems like all forms on the demo app generate a 403 error (CSRF Token).
See the login page or the ticket creation form
There may be some bug with the SECRET_KEY ?

I updated the demo to run on the latest release but still get the CSRF error. I don't think there's a problem with the secret key, or at least I haven't changed anything recently so I'd expect it to still work.

Could it be some settings to update for CSRF ? CSRF_USE_SESSIONS or CSRF_COOKIE_HTTPONLY

@Benbb96 it seems to be working now. I could login as the demo user without any CSRF errors. It wasn't using HTTPS the other day for some reason, but the updated configuration seems good now. I'll close this but feel free to open if for some reason it isn't totally resolved.

Ok, I think that's because the link in the readme redirected me to the HTTP page, and I confirm it is still not working. But in HTTPS, yes it might has always been working!


Change method not working for addForeignKey

Phinx 0.3.3. Postgres 9.0.15
On rollback throwing error:
$this->table('table_name')
->addColumn('id', 'integer', array('null' => true, 'default' => null, 'comment' => 'identifier'))
->addForeignKey('id', 'table_referenced', 'id', array('delete'=>'SET_NULL', 'update' => 'CASCADE'))
->update();
Got error:
[PDOException]
SQLSTATE[42703]: Undefined column: 7 ERROR:  column "referenced_table_schem
a" does not exist
LINE 3:                       WHERE REFERENCED_TABLE_SCHEMA = DATABA...
On Rollback also tried only having addForeignKey method.But still got the same error.

I wasn't able to replicate this. I need to see how you originally created the table as well. Did you disable the automatic primary key column?
I was able to create two migrations

One created the two tables
2nd migration created an FK between the two

I could then rollback successfully. Closing this for now.

Can it not be done in one migration? If not, why not?


Add Dockerfile for developing ROFL

I noticed I needed ENV RUSTFLAGS="-C target-feature=+aes,+ssse3" in the Dockerfile otherwise deoxysii failed to build, unless I specified it manually when building.


Refactor backend

This marks the end of backend refactoring. A lot of stuff was done:

Introducing MVC architecture
Remodeled and refactored the database
Fix hardcoded stuff
Introduced Service layer
Fix the errors that were caused by refactoring (when importing data and when calling from frontend)

 Root Card: Refactor the Backend Code

 Root Card: Refactor the Backend Code

 (2) Child Card: break database.py into defined resources

 (2) Child Card: break database.py into defined resources

 (5) Child Card: split controller into three controllers

 (5) Child Card: redesign the architecture of database

 (5) Child Card: redesign the architecture of database

 (5) Child Card: add service layer and Models to handle between controller and database layer


⚠ Turnos 24x7 has degraded performance

In 0313937, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 835 ms

Resolved: Turnos 24x7 performance has improved in d3f995d.


Adding Ledger to an existing SQL Database?

The documentation covers CREATE DATABASE and CREATE TABLE for adding LEDGER functionality to new databases and tables but what about existing databases?  ALTER DATABASE doesn't appear to have a LEDGER option or am I just missing it?  I have 300 on separate elastic pools.
Thanks in advance.

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

ID: 33c6a2ec-9c26-e04c-7522-43dffd4acc7b
Version Independent ID: 90fea5af-c8c0-d25c-b4ca-2a8fc002e237
Content: Database ledger - Azure SQL Database
Content Source: articles/azure-sql/database/ledger-database-ledger.md
Service: sql-database
Sub-service: security
GitHub Login: @JasonMAnderson
Microsoft Alias: janders

@langstonj Thank you for the feedback. We are actively investigating and will get back to you soon.

@langstonj Thanks for your patience, I think this feature is available as part of database creation only as I was trying to search for the same and could not find details related to adding it post creation. However I have reached out to internal team and checking with them on the same.

@langstonj Thanks for your patience. We have received the response from the team. As per then, , an existing database can have tables created in them that are ledger-enabled (Database ledger does not need to be enabled).  To do this, the LEDGER = ON argument needs to be specified in the CREATE TABLE TSQL.
For more details, please refer to below articles:
Create and use updatable ledger tables - Azure SQL Database | Microsoft Docs
Create and use append-only ledger tables - Azure SQL Database | Microsoft Docs
However, be notified that currently this feature is available in West Central US region.

Thank you for the update.
The documentation for CREATE TABLE seems to be in the same place as CREATE DATABASE.
Looking at the ALTER TABLE documentation, SYSTEM_VERSIONING = ON is present but no LEDGER = ON option is available.  Might be a case of finding how to "bend" the new offering to meet our needs.
I realize that this only available in the West Central US at this time (I would be deploying in South Central/North Central).
John C Langston  |   SQL Database Administrator  |  eLynx Technologies, LLC  |  2431 E. 61st, Suite 700  |  Tulsa, OK  74136  |  www.elynxtech.com
From: AnuragSharma-MSFT @.>
Sent: Tuesday, July 13, 2021 11:34 AM
To: MicrosoftDocs/azure-docs @.>
Cc: John Langston @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Adding Ledger to an existing SQL Database? (#78045)
Warning: This email was sent from a source external to eLynx Technologies. Please use caution when opening attachments or clicking links.
@langstonjhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flangstonj&data=04|01|john.langston%40elynxtech.com|387ee634aee4451a715608d9461c099f|891867d4a39248edac164bd398b62ec9|0|0|637617908508107433|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=F5ShCMFZ9a2peEJ1GajtVG7wnCVahr1cjXl4kunhCKs%3D&reserved=0 Thanks for your patience. We have received the response from the team. As per then, , an existing database can have tables created in them that are ledger-enabled (Database ledger does not need to be enabled). To do this, the LEDGER = ON argument needs to be specified in the CREATE TABLE TSQL.
For more details, please refer to below articles:
Create and use updatable ledger tables - Azure SQL Database | Microsoft Docshttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fledger-how-to-updatable-ledger-tables&data=04|01|john.langston%40elynxtech.com|387ee634aee4451a715608d9461c099f|891867d4a39248edac164bd398b62ec9|0|0|637617908508107433|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Ydz%2FKhMkYGqL9n%2BHvEoNHsQq8g%2F74nYq8kvwTDQYSxI%3D&reserved=0
Create and use append-only ledger tables - Azure SQL Database | Microsoft Docshttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fledger-how-to-append-only-ledger-tables&data=04|01|john.langston%40elynxtech.com|387ee634aee4451a715608d9461c099f|891867d4a39248edac164bd398b62ec9|0|0|637617908508117425|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=zhjAI%2ByWpO4o%2BqaqIJDlZRPFSB5Hk7mlPEOF0JU3wrg%3D&reserved=0
However, be notified that currently this feature is available in West Central US region.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F78045%23issuecomment-879234273&data=04|01|john.langston%40elynxtech.com|387ee634aee4451a715608d9461c099f|891867d4a39248edac164bd398b62ec9|0|0|637617908508117425|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=FmW6RrrRfogrV%2B%2FK%2FF8LOMhME%2B4FRx84rgYm1fJPN0Y%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKQHJATWGWEMBNEPAY7EHJDTXRTH7ANCNFSM4774VXOA&data=04|01|john.langston%40elynxtech.com|387ee634aee4451a715608d9461c099f|891867d4a39248edac164bd398b62ec9|0|0|637617908508127420|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=a7OZsYkgfBIOon54xy4OgWoxhIgpHw5WWeh8nR%2BhHfY%3D&reserved=0.

@langstonj Yes currently this is available only in West Central IS region and will be supported in West Europe and Brazil South very soon.
We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

Found the answer:
Limitations for Azure SQL Database ledger - Azure SQL Database | Microsoft Docshttps://docs.microsoft.com/en-us/azure/azure-sql/database/ledger-limits
"Converting existing tables to ledger tables          Existing tables in a database that aren't ledger-enabled can't be converted to ledger tables."
John C Langston  |   SQL Database Administrator  |  eLynx Technologies, LLC  |  2431 E. 61st, Suite 700  |  Tulsa, OK  74136  |  www.elynxtech.com
From: AnuragSharma-MSFT @.>
Sent: Wednesday, July 14, 2021 12:00 AM
To: MicrosoftDocs/azure-docs @.>
Cc: John Langston @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Adding Ledger to an existing SQL Database? (#78045)
Warning: This email was sent from a source external to eLynx Technologies. Please use caution when opening attachments or clicking links.
@langstonjhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flangstonj&data=04|01|john.langston%40elynxtech.com|2508d0f59ad44bbd960008d946843eb2|891867d4a39248edac164bd398b62ec9|0|0|637618356084871493|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=AS%2F30CSZIBsgZpcq5B8jTTMp4tsTD1Sx1PmQccB0Z7s%3D&reserved=0 Yes currently this is available only in West Central IS region and will be supported in West Europe and Brazil South very soon.
We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F78045%23issuecomment-879587740&data=04|01|john.langston%40elynxtech.com|2508d0f59ad44bbd960008d946843eb2|891867d4a39248edac164bd398b62ec9|0|0|637618356084871493|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=rhKm9f19soNhthMqZsR02U8Z7uyr63Dw%2Bpq4HlomvDY%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKQHJAU4DYYORGWOSTQ22QLTXUKVJANCNFSM4774VXOA&data=04|01|john.langston%40elynxtech.com|2508d0f59ad44bbd960008d946843eb2|891867d4a39248edac164bd398b62ec9|0|0|637618356084881484|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=DbY3Kk2QK5ld1mgekr8QWSWZ3re2Rh9O7bz6HRr8k%2Fk%3D&reserved=0.


Can you add sync tabs on google drive

I love this exention, but is there any way to add sync across multiple devices for the compressed tabs?
eg, https://github.com/cnwangjie/better-onetab . This extension has sync across multiple devices

Oh I wasn't aware of Better OneTab. Why do you prefer this one over that one?
I am thinking about adding some sort of syncing mechanism, trying to think up how 🙂

Better OneTab is bloated, and not that easy to use. OneTab is very minimalist yet functional, so is the extension you have written. I think minimalist is the way to especially when chrome consumes so much memory..
Syncing over some server might involve privacy issue. May be syncing it with Google Drive?

https://stackoverflow.com/questions/19867390/accessing-google-docs-from-a-chrome-extension
https://developers.google.com/drive/api/v3/about-sdk#create_and_open_files_directly_from_the_drive_ui

@greduan hello, how do u think that syncing by gist api, everyone has his own token, but, has one problem, everyone can get the secret gist even they had the personal token.


Created Comments in Scripts

Create Comments in Scripts hope this will help , Reach me out if you want to edit or change anything
👉 Checklist

Please make sure to check off the following before submitting:

[x] I have reviewed my submission thoroughly.
[x] I have tested my code (if submission is related to coding) and run the game before pushing (to make sure the project compile).
[] I have run the JUnit tests (if submission is related to coding).
[x] I have read the Code of Conduct and Contribution Guidelines.

✍ Description of the Pull Request

Please concisely describe the changes you have made.

Add comments to the code.

🔗 Issue link

Issue reference number and link goes here e.g. 'Fixes/Closes #<issue_number>'.

[x] This Pull Request fixes the issue : 'Closes #32'
[ ] This Pull Request does not fix an issue.

Thanks for taking the time to fill out this Pull Request! ❤ Thanks for contributing to this project 🦖

This PR is now linked to the #87 to resolve the conflicts.


You can’t open the application "Maccy" because it may be damaged or incomplete.

I didn't find anything related when I searched issues, kinda surprised to encounter this.
Does anyone know what's up? I googled and the solution suggests going to /var/folders, delete the folders in there except the one named "zz" and reboot; except I can't delete any of the folders so I'm seeking help here.
I'm on MacOS 10.15.6 (19G2021).

Odd. I used homebrew and it installed fine. Previously I used the app zip file.


Add a new tailoredDeprecationMessage property to the tasks.schema.json file

Description: If the task is deprecated and this message exists in the task.json file, it will be added to the common deprecation warning.

/azp run


[Geek Camp] Add opentelementry thirtparty dependency

What type of PR is this：

[ ] bug
[x] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #4009
Problem Summary(Required) ：

Let me know after this PR is merged, I will update the docker image used by CI, and soon there will be a Jenkins automated task to check and update it every day.


Simplify STAC's get_assets if/else

Ideally this PR hoped to simplify the branching for get_assets. This is a hard problem because there are two sets of include/excludes: one for the filenames and another for the file types. It's hard to accurately do two sets of include/excludes. Which takes preference? When do you use AND, when do you use OR?
I'm not currently using STAC. I would guess that this topic will come up again, at which point coming back to this PR could be a good idea.


Documentation tracker - v0.12.1

No documentation issues in this milestone.

Not sure why, but this has happened before: https://github.com/api3dao/airnode/issues/1701

I closed the duplicate #1849 since it wasn't populating documentation tasks whereas this one is

Closing as the next release will be minor (0.13.0)


Forking dissenter

I have a site-specific purpose for dissenter that I want to create a fork of dissenter's browser extension for. What do I need to do to set up a backend for it?

Good question. With the project dead now, I suspect the only way you will get an answer if to set up a virtual machine so you have limited traffic going in and out of it. Then using packet capturing software (such as WireShark) set up on that virtual machine, you visit a locally made, or remotely made web site. One that is limited to basically "Hello world" on it.
This way you can see what sort of communication is transaction between the extension, and the Dissenter remote server.  At least you will be able to make a database base don that. Due to actions taken by some web sites to, I suspect the Dissenter server is creating custom URLs. One site I read about had been making custom URLs for each visitor to try to stop Dissenter. I am not sure how they got around that.


feat: port Data.List.NodupEquivFin

Good news: #lint is happy and everything compiles; Bad news: I only remembered just now that we are not supposed to remove/rewrite theorems with nthLe in their statements, but make them deprecated. I'm guessing conjuring up the deprecated versions of the statements in the file (and fixing the current misaligns) should be easy enough for now (can't do it now, bed time!).
Sorry for contributing to the wrong version! But hey, at least we have the replacements for the deprecated theorems already for the eventual refactor :)

Thanks :tada:
bors merge


Add ALLOW_EXTRA to problem schema (both shell_manager and web-api)

Allows custom fields in problem.json. This does not impact the
validation of the public platform, but does allow flexibility for other
metadata to be recorded.
The voluptuous documentation on this parameter is: https://github.com/alecthomas/voluptuous#extra-dictionary-keys
An example error this MR mitigates is the following, as observed during the use of shell_manager package:
14:50:34 shell_manager.util CRITICAL: Error validating problem object at '/challenges/ReverseEngineering/Cocoon/problem.json'!
14:50:34 shell_manager.util CRITICAL: extra keys not allowed @ data['creation_date']

In this case the problem.json included an internally relevant additional field creation_date.

This is incomplete. The problem schema is independently validated by the web api when problems are loaded:
https://github.com/picoCTF/picoCTF/blob/master/picoCTF-web/api/problem.py#L26-L65

This has been tested locally against the standard vagrant configuration using a challenge with extra metadata fields in the problem.json file.


Read and Write with buffer(stream) instead of whole

Right now the read and write operations does not support stream or chunking which might cause memory issues

done


Static binary

Fixes https://github.com/channable/vaultenv/issues/43 (Well not for 0.7.1, but from now on)
I managed to get a static binary build working for vaultenv! Huge thanks is in order to @nh2 for the static-haskell-nix project.
Approach:

Import the default build script from static-haskell-nix and adjust
it for our use case.
Rename vaultenv to vautlenv-real to work around the fact that nixpkgs
also contains vaultenv. This was causing conflicts. (There is
probably a better way to do this, but I didn't figure that out yet.
If someone reading this knows how we can work around this, we'd
appreciate any tips.
Tweak the documentation.

Possible downsides:

This might break when we add new deps or upgrade to a new stackage snapshot. As vaultenv is updated infrequently, I think this is fine.

Moved the static binary to a subdir and added a default.nix which sets up a development environment for vaultenv.

* Rename vaultenv to vautlenv-real to work around the fact that nixpkgs
  also contains vaultenv. This was causing conflicts. (There is
  probably a better way to do this, but I didn't figure that out yet.
  If someone reading this knows how we can work around this, we'd
  appreciate any tips.

Please file me a bug in static-haskell-nix and describe what went wrong there, then I can look into it in the future.

@rightfold could you have another look?

Please file me a bug in static-haskell-nix and describe what went wrong there, then I can look into it in the future.

Will do! Thanks for offering help :)


#delphi, #pascal

Could you please add delphi and pascal tags? Without them, your GitHub repository not listing in search, for instance: https://github.com/topics/delphi?o=desc&s=updated

Thanks. I'll do that now. 👍😁

Just got to figure out how 🤪

Just got to figure out how 🤪

https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics


Enhanced table for new elastic version (8.12) series

Hello Team,
When we can expect the enhanced table feature/package release available for the new elastic version (8.12.1)? Is there any tentative plan for the release?
Thanks
Siva

Well, it is already available here:
https://github.com/fbaligand/kibana-enhanced-table/releases/tag/v1.14.0

Ha! thanks for your quick response!


htlcswitch: interceptor expiry check

Adds a basic protection to make sure that we aren't letting the interceptor handle htlcs that are too close to the channel force-close broadcast height.

I think its worth thinking about the full solution for the expiry handling that we want for the interceptor here. Specifically, the case where the interceptor holds on to a htlc for too long (risking force close), similar to hold invoices.

Not having the full solution is probably asking for trouble indeed. Especially in combination with https://github.com/lightningnetwork/lnd/pull/6165, force-closes will already happen when the interceptor is only down for too long.

I think it would make sense to make the delta configurable through the interceptor api or add a force_release_height field to intercepted hltcs so that calling code knows when they'll just be dropped to prevent a force close. I would lean towards the latter, since I imagine most people will just use the sane default we set?

If we have auto-release, then force_release_height sounds like a useful addition.

@joostjager, remember to re-request review from reviewers when ready

@joostjager, remember to re-request review from reviewers when ready

@bhandras: review reminder
@joostjager, remember to re-request review from reviewers when ready

Rebased this PR after the merge of #6232.
I know that ideally we'd like to have more functionality for expiry watching, but this PR is the minimum required for short-hold interception applications to allow them to not worry about expiration.

Fyi the inteceptor tests have a data race (also in this PR), ptal https://github.com/lightningnetwork/lnd/pull/6353

Fyi the inteceptor tests have a data race (also in this PR), ptal #6353

I think I didn't add more of those in this PR. Didn't rebase, but hope for a clean auto-merge after #6353 is merged.

@roasbeef: review reminder

@roasbeef: review reminder

This should be good to land after a rebase to clear up the conflicts.


Introduce Board Resource

As is the title.
Before this PR, I wrote cache and api request code in subcommands.
But, after this PR, I can move these codes into the resource package.

Works for me.


Is there a possibility to add labels to contacts as well as WhatsApp Business?

I noticed that there was a merge about event support for labels
But I would like to know if it is possible to add a label to a contact using Baileys

I would also like to know, is there any example of how this can be done?

Same question here, I would like to know if I could get a list of chats filtered by labels, or maybe include the label prop on the event where you get the history of chats

https://github.com/WhiskeySockets/Baileys/pull/69


Add oneoff/heatmap.py and add to oneoff_utils

(Do all my commit messages get squashed or should I rebase them? is this an option when accepting a pull request?)
Add the ability to generate policy heatmap data for a set of positions.
This is very useful for a project I'm working on and may be of general interest to the team.
I'll add some notes in a couple of places about why I did things.

We can either squash and merge, rebase & merge, or create a merge commit.  If there's a lot of little changes i'm likely to prefer to squash.  If you have a preference we can certainly do that.

/ok-to-test

I always prefer squash and merge :)

ok LGTM, LMK if you want to make any further changes or if this is ok2merge


Dirt Blocks That Change According to Biomes

When we destroy a block at above the dirt block under it doesn't change. I will make it change according to biome. Ex:Snowy biomes dirts blocks change to snowy blocks, normal grassy biomes dirt blocks change to grass blocks.

Issuelar en az 700 character ile anlatilmali. Tekrar duzenleyiniz.

Pardon, karakter sayisini yanlis saymisim. Icerik olark uygundur.


Course Enrolment Journey: Create a basic User Interface.

Would love to help here @praveenscience  - let me know what we are planning to do over here.


Clarification on loading local docker images

Hello, I am just looking for a better understanding on how the lab instantiation process works.
I have loaded an image of cRPD by downloading the tar and performing a docker load -i crpd.tgz, and the image shows accordingly with docker images, yet when I try to launch my images with containerlab, it appears to try to pull the image from a remote repository rather than look for the image locally.
`--> docker images
REPOSITORY   TAG         IMAGE ID       CREATED      SIZE
crpd         20.2R1.10   f9b634369718   9 days ago   374MB
crpd         latest      f9b634369718   9 days ago   374MB

`--> sudo containerlab deploy -t crpd.clab.yml
INFO[0000] Parsing & checking topology file: crpd.clab.yml
INFO[0000] Pulling docker.io/library/crpd:20.2R1.10 Docker image
Error: Error response from daemon: pull access denied for crpd, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

`--> cat crpd.clab.yml
# topology documentation: http://containerlab.srlinux.dev/lab-examples/srl-crpd/
name: crpd
topology:
  nodes:
    crpd1:
      kind: crpd
      image: crpd:20.2R1.10
    crpd2:
      kind: crpd
      image: crpd:20.2R1.10
  links:
    - endpoints: ["crpd1:eth1", "crpd2:eth1"]

Is there a mechanism to have the containerlab software look for the image locally before trying to pull? I would like to avoid having to log into Juniper's container repository

This is supposed to work as you described.
Will take a look.

@cremsburg as @steiler says, containerlab uses the local images if they are available, and pulls only if needed
Which version are you running?
containerlab version will show it

@cremsburg it works here
❯ docker images | grep crpd
crpd                                20.2R1.10       41d6ae0a8fcb   12 months ago   234MB

❯ bat crpd.yml
───────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: crpd.yml
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ name: crpd
   2   │ topology:
   3   │   nodes:
   4   │     crpd1:
   5   │       kind: crpd
   6   │       # image: registry.srlinux.dev/pub/crpd:20.2R1.10
   7   │       image: crpd:20.2R1.10
   8   │     crpd2:
   9   │       kind: crpd
  10   │       # image: registry.srlinux.dev/pub/crpd:20.2R1.10
  11   │       image: crpd:20.2R1.10
  12   │
  13   │   links:
  14   │     - endpoints: ["crpd1:eth1", "crpd2:eth1"]
───────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

❯ ./clab.sh dep -t crpd.yml --reconfigure
INFO[0000] Parsing & checking topology file: crpd.yml
INFO[0000] Removing /root/testclab/clab-crpd directory...
INFO[0000] Creating lab directory: /root/testclab/clab-crpd
INFO[0000] Creating docker network: Name='clab', IPv4Subnet='<IP_ADDRESS>/24', IPv6Subnet='2001:172:20:20::/64', MTU='1450'
INFO[0000] Creating container: crpd1
INFO[0000] Creating container: crpd2
INFO[0001] Creating virtual wire: crpd1:eth1 <--> crpd2:eth1
INFO[0001] Writing /etc/hosts file
INFO[0001] 🎉 New containerlab version 0.14.4 is available! Release notes: https://containerlab.srlinux.dev/rn/0.14.4
Run 'containerlab version upgrade' to upgrade or go check other installation options at https://containerlab.srlinux.dev/install/
+---+-----------------+--------------+----------------+------+-------+---------+----------------+----------------------+
| # |      Name       | Container ID |     Image      | Kind | Group |  State  |  IPv4 Address  |     IPv6 Address     |
+---+-----------------+--------------+----------------+------+-------+---------+----------------+----------------------+
| 1 | clab-crpd-crpd1 | f65ef18ffd15 | crpd:20.2R1.10 | crpd |       | running | <IP_ADDRESS>/24 | 2001:172:20:20::2/64 |
| 2 | clab-crpd-crpd2 | 69fed90b2216 | crpd:20.2R1.10 | crpd |       | running | <IP_ADDRESS>/24 | 2001:172:20:20::3/64 |
+---+-----------------+--------------+----------------+------+-------+---------+----------------+----------------------+

so it is weird, why you don't see the same

Here is some information regarding my setup, I believe the problem may be on my side as I took a different approach to installing docker this time around. Instead of doing a standard Docker install, I cloned a rancher node that had it installed through their bash script.
OS: Ubuntu 20.04 LTS
Containerlab: latest, installed via bash -c "$(curl -sL https://get-clab.srlinux.dev)"
Docker: 20.10.7, build f0df350; installed via Rancher script curl https://releases.rancher.com/install-docker/20.10.sh | sh
I will rebuild my environment to validate

Confirmed, issue was with my Docker install.
This may have been due to the Rancher Docker install script, or it may be due tot he fact that I used the 20.10 script on a 20.04 install of Ubuntu.
Would be great to know more about the problem, but I doubt many others will use my install method. Feel free to close this issue, and thanks for chiming in :D

thanks for confirming!


Consistent bold formatting of hyperlinks

When wrapping a hyperlink in bold tags the link text is not bold, eg:

@noccor
Opened a PR with a fix in https://github.com/appsignal/design-system/pull/316
Will be fixed, soon!