Datapath healing does not work when host interface goes down and up again

During a test we set the host interface administrative down then up again within a second. The traffic immediately stops on the affected node and can only be recovered by restarting the forwarder on that node.
I attached the forwarder-vpp.log and the output of the vppctl show interface command. It seems the interfaces are deleted then re-created but cannot come up properly in an endless loop.
I managed to reproduce it in kind environment too in a basic setup, but instead of changing the administrative state of the host interface I just disconnected a kind-worker for a moment then connect it again. For example:
docker network disconnect kind kind-worker2
docker network connect kind kind-worker2

The same behavior was observed on NSM v1.11.0 and on previous versions before the release.

Is there a document or presentation material that would explain how the interface and the related events are handled?
Based on our observation the changes of the admin/operational state of the host interface reflected immediately by the forwarder. So, it would be interesting to know how the detection works. Is it event driven or done by a detection mechanism?

I don't think that
docker network disconnect kind kind-worker2
docker network connect kind kind-worker2

is the same as up/down interface. I did that and I got:
before:
77: eth2@if78: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:ac:12:00:05 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global eth2
       valid_lft forever preferred_lft forever
    inet6 fc00:f853:ccd:e793::5/64 scope global nodad
       valid_lft forever preferred_lft forever
    inet6 fe80::42:acff:fe12:5/64 scope link
       valid_lft forever preferred_lft forever

after:
79: eth3@if80: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:ac:12:00:05 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global eth3
       valid_lft forever preferred_lft forever
    inet6 fc00:f853:ccd:e793::5/64 scope global nodad
       valid_lft forever preferred_lft forever
    inet6 fe80::42:acff:fe12:5/64 scope link
       valid_lft forever preferred_lft forever

This is not the same interface. It has different name and different ID.
I think this is the same as changing the NIC, but setting the same address.
I think these commands are more correct:
docker exec kind-worker ip link set eth0 down
docker exec kind-worker ip link set eth0 up

As for the problem, it looks like this is the same - https://github.com/networkservicemesh/cmd-forwarder-vpp/issues/927
We found some bugs and are now preparing fixes

That's very good news. Have you seen similar symptoms on the host interface like in case of #927?
I mean RX counters are not increasing or not printed out in vppctl show interface.

Yes, I restarted the forwarders several times and the problem is reproduced.
But in fact, I see that TX is not increasing..

Checked the setup several times and couldn't reproduce it


feat: commute deduction in view mileage

Description
copilot:summary
copilot:poem
Walkthrough
copilot:walkthrough
Clickup
app.clickup.com
Code Coverage
Please add code coverage here
UI Preview
Please add screenshots for UI changes


W-17328723-Change-Design-Center-to-MuleSoftVCS-CP

Writer's Quality Checklist
Before merging your PR, did you:

[ ] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

Hi, @tomasperezc! Please, can you look at the PR again? Thanks!


Add first and last name fields to application form

In order to provide better data to Judicial Office when we collect Candidate details we are going to ask for 'First name' and 'Last name' instead of the current 'Full name' field.
Actual

Expected
Replace 'Full name' with two fields instead titled 'First name' and 'Last name'
Note
To reduce the immediate impact of this change we will combine the data inserted into the name fields and still populate the existing fullName field.
Data Model
The following fields will be added to applications documents

firstName
lastName

In order to minimise the impact of this change we will retain the existing fullName field and auto-populate it with firstName + ' ' + lastName. With time we will prioritise displaying firstName and lastName instead of fullName

Here's how GDS suggest asking for this information:
https://design-system.service.gov.uk/patterns/names/

To test -

Please create a new candidate on Apply and apply for a vacancy. Note whether the candidate is asked to enter first/last names on the forms.
Please check submitted Applications to see if the first/last names are displayed correctly.
Log in as an existing candidate and apply for a vacancy.
Please check if entered first/last names are displayed correctly for old and new submitted Applications.
Please log into Admin and check old and new Applications - whether the first/last names are displayed where they were entered and whether it is possible to change them as required.

Tested by user testing group with positive result. I also tested with a positive result.


jQuery 3.4.1

Hello, this is my config :
<link rel="stylesheet" src="/assets/jalert/jAlert.css"/>
<script src="/assets/jalert/jAlert.min.js"></script>
<script src="/assets/jalert/jAlert-functions.min.js"></script>
 <script src="/assets/jalert/jTimeout.min.js"></script>
      <script>
          $(function () {
            $.jTimeout({
              flashTitle: true, //whether or not to flash the tab/title bar when about to timeout, or after timing out
              flashTitleSpeed: 500, //how quickly to switch between the original title, and the warning text
              flashingTitleText: '**WARNING**', //what to show in the tab/title bar when about to timeout, or after timing out
              originalTitle: document.title, //store the original title of this page

              timeoutAfter: 60, //pass this from server side to be fully-dynamic. For PHP: ini_get('session.gc_maxlifetime'); - 1440 is generally the default timeout
              heartbeat: 1, //how many seconds in between checking the expiration - warning: changing this can effect your prior countdown warning and timeout - for best results, stick with 1

              extendOnMouseMove: true, //Whether or not to extend the session when the mouse is moved
              mouseDebounce: 30, //How many seconds between extending the session when the mouse is moved (instead of extending a billion times within 5 seconds)
              onMouseMove: false, //Override the standard $.get() request that uses the extendUrl with your own function.

              extendUrl: '/index.xhtml', //URL to request in order to extend the session.
              logoutUrl: '/auto-logout.xhtml', //URL to request in order to force a logout after the timeout. This way you can end a session early based on a shorter timeout OR if the front-end timeout doesn't sync with the backend one perfectly, you don't look like an idiot.
              loginUrl: '/login.xhtml', //URL to send a customer when they want to log back in

              secondsPrior: 30, //how many seconds before timing out to run the next callback (onPriorCallback)
              onPriorCallback: false, //override the popup that shows when getting within x seconds of timing out

              onClickExtend: false, //override the click to extend button callback

              onTimeout: false, //override the timeout function if you'd like
              onSessionExtended: false //override the session extension method (triggered only after a timeout)
            }
            );
            $.jTimeout().getExpiration(); //gets the expiration date string
            $.jTimeout().getSecondsTillExpiration(); //gets the number of seconds until the session expires
          });
      </script>

jQuery 3.4.1 / Chrome  v 75.0
i get this error :
jTimeout.min.js:10 Uncaught TypeError: c.options.onPriorCallback is not a function
at countdown (jTimeout.min.js:10)
and then a series of :
jTimeout.min.js:10 Uncaught TypeError: c.options.onMouseMove is not a function
at HTMLBodyElement. (jTimeout.min.js:10)
at HTMLBodyElement.dispatch (jquery.js.xhtml?ln=primefaces&v=7.0.5:2)
at HTMLBodyElement.v.handle (jquery.js.xhtml?ln=primefaces&v=7.0.5:2)
the flashingTitleText: 'WARNING' is showed on the page title

just a question JAlert need Bootstrap?

It doesn’t need bootstrap. You probably have a bad value or typo in your options. I’ll look when I get on my computer in a couple hours.
Sent from my iPhone

On Jul 18, 2019, at 7:15 AM, afterbit01<EMAIL_ADDRESS>wrote:
just a question JAlert need Bootstrap?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I asked for Bootstrap .. because the jAlert texts (ex .. Your session will timeout in ..) appear at the bottom of the html page .. I see the countdown, etc. but not the popup that covers the entire html page

It works!...  it was a problem of CSS.. now i review my jTimeout options as suggested before.. thank you!!!.. btw.. great plugin!!! ;-)

Can you fix your original comment above? The code formatting is only working for half of it.

yes.. done!

Looks like it doesn't like you passing false for those options: "onPriorCallback" and "onMouseMove".
Just pass an empty function to see if that fixes it. Sorry I took so long to respond and didn't bother looking at my own code/documentation lol. I'm really tied up with stuff.
onMouseMove: function(){ }

or don't pass anything at all and you'll get the default functionality which might be what you're looking for...

Looks like it doesn't like you passing false for those options: "on Prior Callback" and "onMouseMove".

Yes it seems so..
I don't pass anything using the default and it works..

Ok, so the check before running those methods needs to be fixed. Thanks for reporting it. If you have time and want to contribute, please change it and submit a pull request :) Otherwise, I'll update it as soon as I am able.


added a new color for text highlight, same hue, desaturated

fixes #164

Side note: Have you kept an eye out on WCAG Contrast guidelines?

nice feedback y'all!

turns out i piggy backed on the 25% blue, no need to chat about var naming (bullet dodged)
regarding contrast! glad you brought it up, it was an aspect of my PR i was unhappy with but willing to deal with later. you kicked me into solving it now! so i've played with alt color choices and created a new gif of the results. this time, highlight matches the ux of a real highlighter (25% color overlaying a box) and therefore is more gentle to the dom and leans heavier onto the page to have proper contrast. result, our brand color at 25%, works great as a highlight overlay (underlay? lol, you know what i mean). i feel like the new reverse contrast ratio works, aka the 25% blue i think is plenty legible across various highlighting scenarios that folks will "see it" highlight. new thoughts!?

So, it’s probably fine for selection and I’m just being uber-pedantic, but both link color and heading color are technically not WCAG compliant.

cool test, thanks for doing that! so the valid concern is that folks that need high visual contrast wont be able to see what they highlighted? curious if we can lean on a high-contrast media query yet for that? we could make stronger highlight styles for that context? fun design challenge though, since highlights typically decrease contrast / muddle text on bg for the value of calling out the whole word/sentence. i'll think about it more!
used visbug to do a quick pass of text contrast on our site and looks like there's more room for improvement in terms of contrast. so i opened up this ticket (#196) to track the task, maybe this text highlight concern should move to that ticket?

Yeah good call on separate issue. Thanks.
I’ll merge this :)


"gftools qa -pr https://github.com/" doesn't download metadata files. (download_fonts_in_pr)

This means the TravisCI bot is blind for all metadata checks concerned with DESCRIPTION.en_us.html, METADATA.pb, OFL.txt.
This lead to googlefonts/fontbakery#2675
Deeper investigation is in my comment: https://github.com/googlefonts/fontbakery/issues/2675#issuecomment-546159444

Fixed in #158


Conflict between Polymer (webcomponents.js) and Highchart (highcharts.js)

In IE, if I use Polymer and Highcharts together, it does not display things properly. Detailed descriptions are already posted on stackoverflow:
http://stackoverflow.com/questions/28205698/conflict-between-google-polymer-and-highcharts-library
The live demo is available on jsfildde:
http://jsfiddle.net/epavak4y/2/
The example codes used on jsfiddle is copy of highchart demo. (Noticed that Issue only occurs on IE. Tested with IE11)

Here are the response from Highcharts Support team:
For some reason IE is not able to calculate the bounding box of text elements in this case. The problem arises on this line: https://github.com/highslide-software/highcharts.com/blob/master/js/parts/SvgRenderer.js#L616 .
An error is thrown on element.getBBox(), and the message is "Invalid calling object". You can debug this by adding a console.log(e.message) inside the catch statement.
Why this happens is another case. The element is an SVG text element, and other browsers have no problem with it. You could take this back to the Polymer developers so they can take it further.
For the records, I have tried rendering Highcharts to hidden or disconnected nodes, but that too works well, so it is not the reason why the elements don't have a bounding box: http://jsfiddle.net/highcharts/721to3sj/

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


phonegap push plugin for IOS :  [{"error":"InvalidApnsCredential"}] : Please help

Uploaded APNs Authentication Key .
My Token look like : dlrAl1Sm5HM:APA91bHcdwRsPTX67ucNi5qLldSyylOxeFn9JUWJMHEhmUvO4QHdGaXxWcvve4bnlXHVBqRw-Z0I9MlBVE5LP1Bs1tch5aMu......................dspf8de-PStjW
PUSH :
PushNotification.init({
        android: {
            senderID: "82....46911",
            sound: "true",
            vibrate: "true",
            forceShow: "true"
        },
        browser: {
            pushServiceURL: 'https://fcm.googleapis.com/fcm/send'
        },
        ios: {
            senderID: "82....46911",
            gcmSandbox: "true",
            alert: "true",
            badge: "true",
            sound: "true"
        },
        windows: {}
    });

Which plugin version are you using?
I think "Invalid credentials" message is pretty clear, you didn't upload your push certificates correctly to FCM/GCM

uploaded both development and production certificate on FCM.
My problem is , when i changed NOTIFICATION TO DATA on below file it successfully runs.
OUTPUT : {"multicast_id":7286737411636881331,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1504871655462284%a69a7507f9fd7ecd"}]}
 'here is a message. message',
	    'title'         => 'This is a title. title',
	    'subtitle'      => 'This is a subtitle. subtitle',
	    'tickerText'    => 'Ticker text here...Ticker text here...Ticker text here',
	    'vibrate'   => 1,
	    'sound'     => 1
	);

	$fields = array
	(
	    'registration_ids'  => $registrationIds,
	    'data'      => $msg
	);

	$headers = array
	(
	    'Authorization: key=' . API_ACCESS_KEY,
	    'Content-Type: application/json'
	);

	$ch = curl_init();
	curl_setopt( $ch,CURLOPT_URL, 'https://fcm.googleapis.com/fcm/send' );
	curl_setopt( $ch,CURLOPT_POST, true );
	curl_setopt( $ch,CURLOPT_HTTPHEADER, $headers );
	curl_setopt( $ch,CURLOPT_RETURNTRANSFER, true );
	curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER, false );
	curl_setopt( $ch,CURLOPT_POSTFIELDS, json_encode( $fields ) );
	$result = curl_exec($ch );
	curl_close( $ch );

	echo $result;

?>
ON NOTIFICATION :
{"multicast_id":6683234922071643775,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"InvalidApnsCredential"}]}

@spdeepak92 send this payload for an example to an iOS device running FCM:
{
    "registration_ids": ["my device id"],
    "notification": {
        "title": "My Title",
    	"body": "My message"
    },
    "priority": "high"
}

@macdonst  Thanks for your reply. It solved.
But my main problem is that i didn't turned on PUSH NOTIFICATION in my XCODE and it works only when simulating my device through XCODE, not on phonegap app though
Thanks anyway


Hope make --frame_margin have more parameter

Hope make --frame_margin have more parameter.
EX:
Original is equal length on both sides. But I want to left is short frame, right is long frame.
Could you add this?

You can already specify the start and end margins separately.
auto-editor example.mp4 --frame-margin 4,3


Charge Lite

The problem
Installed the new Charge Lite today together with my old Easee Home. Had to install both as master because the Light did not work as slave. Can not recive any data from from the Lite. Is it a change in the API for this and will this be solved in future relises.
In the cloud all chargers are there.
Regards Mats
Version of Easee integration having the issue?
Latest
Version of Home Assistant Core having the issue?
Latest
Anything in the logs that might be useful for us?
No response
Additional information
No response

Have you added the new charger to the Easee phone app? It will not be visible in the integration unless you do that.

Yes it is added to the app and working there.

Not sure what happend, had in in the app but when i checked now it was gone.
Added the second charger now and it is working and finding 2 chargers.
Thanks for support


Prevent silent failures when two "databaseChangeLog" tags are present (fixes #5963)

Impact

[x] Bug fix (non-breaking change which fixes expected existing functionality)
[ ] Enhancement/New feature (adds functionality without impacting existing logic)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Description
If someone makes a mistake and copy/pastes a databaseChangeLog block in, and makes the file have two tags, the SnakeYAML parser silently covers up the first instance with the second one, which will cause the first block of changes to be silently omitted.
This can be very problematic and cause hard-to-debug errors, which is why I have added a small FilterInputStream interceptor to check the stream as it is fed into the YAML parser, for a duplicate tag. Doing it with the FilterInputStream like this prevents the efficiency losses of opening the file twice.
I've removed the @Ignore flag from the test, which should now validate that the invalid file correctly throws a syntax error.

Things to be aware of
I did it with a InputStream interceptor to not need to fully load the changeset into memory for parsing, but just check it "on-the-fly" as it flows by. This way no additional memory limitation is imposed on Liquibase and the performance profile should be the same as before.
Things to worry about
I'm guessing it could have some breaking impact if there was a Liquibase script that was silently failing before but is now throwing the syntax error... maybe we want to disable the syntax check for already processed Liquibase changesets?
Additional Context
I previously did this change in PR #1826 but it was suggested that I change it to just disallow duplicate keys, which has clearly not worked. I am re-submitting my initial change. Yes, it is a bit less elegant, but it will catch the duplicate databaseChangeLog case and give a warning instead of silently failing. This should fix the follow-up issue #5963.

@mariochampion suggests we add this functionality behind the --strict flag and validate the formatting of the changelog, but leave the current behavior intact.

Hi @danielthegray,
Hey, I just want to check with you whether you are okay with applying Mario's suggestion of using  --strict global configuration. Please let us know if there is anything we can help you with or if you have any questions/concerns about it.
Thanks,
Daniel.

@filipelautert can we close this as a duplicate of #1826 ?

@lbadam I"m not sure as @MalloD12 partially reverted the fix on https://github.com/liquibase/liquibase/pull/5962 .

Hey @lbadam,
We should keep this one open for implementation of this duplicate tags validation using strict as discussed and suggested by @mariochampion. As @filipelautert mentioned we reverted  #1826 with #5962 because it was fixing databaseChangeLog tags issue, but it was making some functional tests fail for a case having two sql tags as shown in the below example:
changes:
    - sql:
      splitStatements: false
      runWith: sqlplus
      sql: >
       CREATE TABLE partyparrots(
           partyparrot_id NUMBER,
           first_name VARCHAR2(50) NOT NULL,
           last_name VARCHAR2(50) NOT NULL,
           PRIMARY KEY(partyparrot_id)
        );

I opened #5963 for that. I think we can close that one as it should be covered when fixing this one.
What do you think @lbadam?
Thanks,
Daniel.

@MalloD12 that makes sense. I think closing #5963 would be good to reduce duplicate issues.

Hi @danielthegray,
I hope you are doing very well. I just want to follow up with you to see if you are keen on applying strict flag changes to this PR so we can move forward with it.
Thanks,
Daniel.


[CF Page Issue] Recommended Forge version

Describe the bug
In the CF page, it says to use Forge 47.1.3, but later on in "Usage" it mentions to use the latest forge verison available.
Steps to reproduce
See https://legacy.curseforge.com/minecraft/mc-mods/sinytra-connector
Logs
No response
Additional context
No response

Yeah, that's why I think it's incorrect in the usage part? As it's suggesting to install the latest


Different chat application in one server

Hi
I have one server and in that server there are multiple projects. Is there is anyway to use the chat application without colliding different users of different projects. And all should be done only in one server start or from one IP:Port.

Sorry but I don't quite understand what you want to do, you can listen the server chat in any port and all clients can connect to that port, so in that scenario you have all in the same host.

Hi
Let me be more clear, I have one server called "abc"
In that server "abc", i have three different projects a1,b1 and c1.
I want to use chat application in all three different projects a1,b1 and c1. But i don't want a1 users to see b1 users and b1 users to see c1 and vice versa. I know it can be done by running the sever.js in three different port. But is there anyway to use that chat application using one port. Since i don't want to run three different node server.js files.

You are totally right, I think the best way to do this is letting the users to join in different room.
This is an interest feature to have, I will let this issue open in order to do this new feature ASAP.

It seem the chat room has been implemented in the live version...how can I implement it?


Use target ClassLoader in ClassWriter implementation to find classes

Proposed fix for https://github.com/cglib/cglib/issues/117 issue.
Cglib 3.2+ specifies COMPUTE_FRAMES flag during creation of the ClassWriter object to enforce recalculation of stack map frames (which is probably the right thing to do), which causes invocation of ClassWriter.getCommonSuperClass method during incoming stack frames merging. Default ClassWriter implementation uses current class-loader (i.e. classloader which was used to load ClassWriter itself) to load classes of merging types – so, if target class is unavailable in this class-loader, then the code generation fails. This problem can be observed in any configuration with multi-level class loader configuration - one example is JEE environment in which cglib itself is located on EAR application level, but is used to instrument classes in children WAR-modules (which usually have their own classloaders under EAR to allow hot reloading of classes).
In order to fix this problem, we can override the 'getCommonSuperClass' method of the ClassWriter class and load classes using the same classloader which is used to define the resulting generated class (i.e. Enhancer.getClassLoader – which is either explicitly defined or derived from super-class/interfaces). This PR includes both the proposed fix and unit tests for both Enhancer and TransformingClassLoader cases.

Yes, good call. We need to do a new release with ASM 6.1 anyways, great if you can get the comments fixed then I will happily merge it. I think that is a good way to approach this without changing default behavior.

Thank you for the comments! I've made changes according to them - except for the license header, as I don't know whether any particular header need to applied to new files in this project. Is there any other changes you think are required?


"open" paths not processed correct by convertPathData

With "convertPathData: false" the following path for a letter O is generated which is "hollow" on the inside as its supposed to be
    <path id="path806" d="m 347.119,125.147 c 0,2.115 -0.357,4.229 -1.074,6.344 -0.717,2.115 -1.754,3.969 -3.115,5.564 -1.379,1.648 -3.039,2.971 -4.982,3.965 -1.941,0.994 -4.193,1.492 -6.754,1.492 -2.971,0 -5.385,-0.959 -7.236,-2.877 -1.854,-1.918 -2.779,-4.498 -2.779,-7.742 0,-2.383 0.393,-4.605 1.182,-6.666 0.787,-2.061 1.844,-3.871 3.168,-5.43 1.344,-1.559 3.004,-2.817 4.982,-3.776 1.977,-0.959 4.121,-1.438 6.432,-1.438 3.186,0 5.68,0.973 7.479,2.917 1.799,1.944 2.697,4.493 2.697,7.647 z
	m -5.478,-1.023 c 0,-2.545 -0.453,-4.453 -1.355,-5.727 -0.904,-1.271 -2.207,-1.908 -3.908,-1.908 -1.486,0 -2.887,0.458 -4.203,1.371 -1.316,0.914 -2.447,2.402 -3.396,4.463 -0.734,1.561 -1.271,3.295 -1.611,5.203 -0.34,1.908 -0.51,3.67 -0.51,5.283 0,2.563 0.441,4.504 1.328,5.82 0.887,1.318 2.225,1.977 4.016,1.977 1.594,0 3.008,-0.502 4.242,-1.506 1.236,-1.004 2.238,-2.277 3.008,-3.818 0.77,-1.506 1.361,-3.23 1.773,-5.176 0.411,-1.943 0.616,-3.937 0.616,-5.982 z" fill="#3b84e7" transform="matrix(3.729 0 0 3.981 -585.996 -357.98)"/>

WITH the "convertPathData" NOT disabled, the following path is outputted
    <path id="path806" d="M708.47 140.274c0 8.42-1.333 16.837-4.006 25.257-2.674 8.422-6.54 15.803-11.617 22.154-5.142 6.56-11.333 11.828-18.58 15.786-7.237 3.957-15.635 5.94-25.185 5.94-11.08 0-20.082-3.818-26.985-11.455-6.913-7.636-10.363-17.908-10.363-30.823 0-9.488 1.466-18.334 4.408-26.54 2.935-8.205 6.877-15.412 11.814-21.62 5.012-6.206 11.202-11.214 18.58-15.032 7.37-3.818 15.367-5.725 23.985-5.725 11.882 0 21.182 3.873 27.89 11.613 6.71 7.74 10.06 17.888 10.06 30.446 z
 m-381.78-19.2c0-10.132-1.69-17.73-5.052-22.8-3.372-5.06-8.23-7.598-14.574-7.598-5.542 0-10.766 1.824-15.674 5.46-4.907 3.638-9.125 9.562-12.664 17.768-2.737 6.215-4.74 13.118-6.008 20.715-1.268 7.595-1.9 14.61-1.9 21.032 0 10.204 1.643 17.932 4.95 23.172 3.31 5.247 8.298 7.87 14.977 7.87 5.944 0 11.218-1.998 15.82-5.995 4.61-4 8.345-9.067 11.217-15.202 2.87-5.996 5.075-12.86 6.61-20.607 1.534-7.735 2.3-15.674 2.3-23.816z" fill="#3b84e7"/>

This show a solid O and and the centerpart that is supposed to be hollow displayed as solid to the left, see image

v0.5.0 should have fixed it. If not, please reopen.


[Bug]: control+c will close neovim

Your OneDarkPro config
  onedarkpro.setup({
    -- Your onedarkpro config here
  })
  vim.cmd("colorscheme onedark")

Error messages
No response
Describe the bug
in windows, if you click control+c, it will actually quit neovim, instead of returning to normal mode.

Reproduce the bug
control+c
it starts from this commit https://github.com/olimorris/onedarkpro.nvim/commit/55a5af203541ddf29993758e4b7d4d95cbba72ad
Final checks

[X] I have made sure this issue exists in the latest version of the plugin
[X] I have tested with the minimal.lua config file above and still get the issue
[X] I have confirmed that Treesitter is working correctly by running :checkhealth treesitter
[X] If related to semantic tokens, I have checked that my LSP server supports them
[X] I have made sure this is not a duplicate issue

I haven't actually tested on Windows so cannot say with 100% certainty, but I'd be amazed if this commit is causing Neovim to crash or exit. Have you really tested with the minimal config I provided?
I map <C-c> in my config  with no issues.
If you can provide a minimal.lua file to test with I'll see if I can recreate it.

not sure if this is related, but sometimes it shows this just for a split second

I haven't actually tested on Windows so cannot say with 100% certainty, but I'd be amazed if this commit is causing Neovim to crash or exit. Have you really tested with the minimal config I provided?
I map <C-c> in my config  with no issues.
If you can provide a minimal.lua file to test with I'll see if I can recreate it.

I have already tested it with minimal.lua, the only things I changed in it was the 'ensure_installed = "all"'

I found this bug in November, but I just put this in my packer config.
commit = "6f13896727c82c1ff56acf483d474ba7ad88f230"

I've just pushed a fix (61b4f4509a59247118ff93f1707f41d4674a5ac2) which I hope stops the a subdirectory or file [xxxxxxx] already exists. Can you let me know if that works?

the message is gone, thank you!

but weirdly, it also fixes the control+c problem, thank you!

Glad to hear and thanks for raising!


Fix commit message encoding

Properly encode % and & symbols
Add unit test for special characters

Closes https://github.com/abapGit/abapGit/issues/2448

transpiler runtime fixed 😄


[Bug] The sglang cannot reach the preset concurrency level.

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.
[X] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
[X] 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[X] 5. Please use English, otherwise it will be closed.

Describe the bug
In order to achieve maximum throughput, we had to increase the number of request connections being sent. However, while the sglang server could initially reach the expected concurrency level during the early stages of establishing the connection with the program, it would later drop to single digits.
Reproduction
To better reproduce this scenario, I have abstracted the logic into three code files: server, client, and main. The server simulates the sglang responding to requests, the client simulates a single user making requests to OpenAI, and the main is used to create users in bulk.
I replaced the sglang response with a simple fake response server, which always returns after a 1s delay to simulate the generation latency of sglang.
server.py
from fastapi import FastAPI, Request
from pydantic import BaseModel
import asyncio
import logging
from datetime import datetime
import threading
import time
import csv

app = FastAPI()

# 追踪当前活动的请求数
active_requests = 0

# 文件路径
output_file = 'active_requests_log.csv'

class CompletionRequest(BaseModel):
    model: str
    messages: list
    temperature: float

@app.middleware("http")
async def track_requests(request: Request, call_next):
    global active_requests
    active_requests += 1  # 请求进入时增加计数
    logging.info(f"Active requests: {active_requests}")

    response = await call_next(request)

    active_requests -= 1  # 请求完成后减少计数
    logging.info(f"Active requests: {active_requests}")

    return response

@app.post("/v1/chat/completions")
async def completions(request: CompletionRequest):
    await asyncio.sleep(1)  # 模拟大模型生成的延时
    return {
        "choices": [
            {"message": {"content": f"Response to {request.messages[-1]['content']}"}}
        ]
    }

def record_active_requests():
    """ 每秒记录一次活跃请求数量到文件 """
    global active_requests
    with open(output_file, mode='w', newline='') as file:
        writer = csv.writer(file)
        writer.writerow(["timestamp", "active_requests"])  # 写表头

        while True:
            # 每秒记录一次
            current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
            writer.writerow([current_time, active_requests])
            file.flush()  # 确保每秒写入数据到文件
            time.sleep(1)

# 启动一个线程来记录活跃请求数
threading.Thread(target=record_active_requests, daemon=True).start()

if __name__ == "__main__":
    import uvicorn
    logging.basicConfig(level=logging.INFO)
    uvicorn.run(app, host="<IP_ADDRESS>", port=8203)

client.py
import asyncio
from functools import wraps
import httpx
import logging
from openai import AsyncOpenAI

# 限制并发请求的装饰器
def limit_async_func_call(max_size: int):
    sem = asyncio.Semaphore(max_size)

    def final_decro(func):
        @wraps(func)
        async def wait_func(*args, **kwargs):
            async with sem:
                try:
                    return await func(*args, **kwargs)
                except Exception as e:
                    logging.error(f"Exception in {func.__name__}: {e}")

        return wait_func
    return final_decro

custom_http_client = httpx.AsyncClient(
    limits=httpx.Limits(max_connections=4096, max_keepalive_connections=1024),
    timeout=httpx.Timeout(timeout=None)
)

openai_async_client = AsyncOpenAI(
    api_key="EMPTY", base_url="http://localhost:8203/v1",  # 模拟本地 server
    http_client=custom_http_client
)

# 假设这个是你要进行并发测试的函数
@limit_async_func_call(max_size=1024)  # 限制并发为1024
async def custom_model_if_cache(prompt, system_prompt=None, history_messages=[], **kwargs):

    messages = []
    if system_prompt:
        messages.append({"role": "system", "content": system_prompt})
    messages.extend(history_messages)
    messages.append({"role": "user", "content": prompt})

    # 假设这里是要调用的外部 API
    response = await openai_async_client.chat.completions.create(
        model="gpt-3.5-turbo", messages=messages, temperature=0, **kwargs
    )

    return "hi"

main.py
import asyncio
import logging
from client import custom_model_if_cache
# 模拟 10 万个请求
TOTAL_REQUESTS = 100000

async def simulate_requests():
    tasks = []
    for i in range(TOTAL_REQUESTS):
        prompt = f"Test prompt {i}"  # 每次请求的不同参数
        task = custom_model_if_cache(prompt=prompt)  # 调用受限的异步函数
        tasks.append(task)

    # 并发执行所有请求
    results = await asyncio.gather(*tasks, return_exceptions=True)

    # 打印前10个结果以验证
    for result in results[:10]:
        print(result)

if __name__ == "__main__":
    logging.basicConfig(level=logging.INFO)
    asyncio.run(simulate_requests())

I preset the concurrency level to 1024 and used the program to track the server's response acceptance under the aforementioned requests. Based on the following statistics, we can see that on the mock server, the concurrency level while completing 100,000 tasks almost reaches the preset value of 1024.

However, when I used the same logic to request the sglang-hosted OpenAI server, I could only achieve a concurrency level of around a dozen requests, which was close to serial processing. This confused me. After ruling out issues in other parts of the system through simple logic checks, I believe the problem might lie with sglang.

Environment
Python: 3.11.8 | packaged by conda-forge | (main, Feb 16 2024, 20:53:32) [GCC 12.3.0]
CUDA available: True
GPU 0,1,2,3,4,5,6,7: NVIDIA GeForce RTX 3090
GPU 0,1,2,3,4,5,6,7 Compute Capability: 8.6
CUDA_HOME: /data/ruanjh/cuda/cuda12.2
NVCC: Cuda compilation tools, release 12.2, V12.2.140
CUDA Driver Version: 550.54.14
PyTorch: 2.4.0+cu121
sglang: 0.3.1
flashinfer: 0.1.6+cu121torch2.3
triton: 3.0.0
transformers: 4.43.3
requests: 2.32.3
tqdm: 4.66.4
numpy: 1.26.4
aiohttp: 3.9.5
fastapi: 0.111.0
hf_transfer: 0.1.6
huggingface_hub: 0.24.3
interegular: 0.3.3
packaging: 23.2
PIL: 10.3.0
psutil: 6.0.0
pydantic: 2.7.4
uvicorn: 0.30.1
uvloop: 0.19.0
zmq: 26.2.0
vllm: 0.6.0
multipart: 0.0.9
openai: 1.44.1
anthropic: Module Not Found
NVIDIA Topology:
        GPU0    GPU1    GPU2    GPU3    GPU4    GPU5    GPU6    GPU7    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      PIX     PXB     PXB     SYS     SYS     SYS     SYS     0-23,48-71      0               N/A
GPU1    PIX      X      PXB     PXB     SYS     SYS     SYS     SYS     0-23,48-71      0               N/A
GPU2    PXB     PXB      X      PXB     SYS     SYS     SYS     SYS     0-23,48-71      0               N/A
GPU3    PXB     PXB     PXB      X      SYS     SYS     SYS     SYS     0-23,48-71      0               N/A
GPU4    SYS     SYS     SYS     SYS      X      PIX     PXB     PXB     24-47,72-95     1               N/A
GPU5    SYS     SYS     SYS     SYS     PIX      X      PXB     PXB     24-47,72-95     1               N/A
GPU6    SYS     SYS     SYS     SYS     PXB     PXB      X      PXB     24-47,72-95     1               N/A
GPU7    SYS     SYS     SYS     SYS     PXB     PXB     PXB      X      24-47,72-95     1               N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

ulimit soft: 100002

By looking at the token usage, there is enough space to run a batch size that is at least 5x larger, so we should make the throughput much higher.
Then we follow this guide to tune the hyperparameters https://sglang.readthedocs.io/en/latest/hyperparameter_tuning.html#tune-your-request-submission-speed
Looking at the #queue-req, it seems you do not send enough concurrent requests. What is your workload (e.g., prompt length, output length, max_new_tokens)? I still think the problem is on your client side.
For example, if you use python3 -m sglang.bench_serving --backend sglang --num-prompt 1000, you should see #queue-req > 0. You can compare your scripts with https://github.com/sgl-project/sglang/blob/main/python/sglang/bench_serving.py

Thanks for your response！
The number of #queue-req is exactly what confuses me. According to the code I simulated and the concurrency statistics, the OpenAI server I faked using FastAPI correctly received that many requests. However, the OpenAI server hosted by sglang consistently receives only a very small number of requests (judging by the number of #queue-req).
The command I used to host server
python -m sglang.launch_server --model-path Qwen2-7B-Instruct --host <IP_ADDRESS>  --port 8203 --tp 4 --dp 2 --mem-fraction-static 0.7  --context-length 70000

I will take a look at the script you provided, but I believe this is an issue with request acceptance. Regardless of the server type, it should only affect throughput and not the number of requests in the queue (at least it shouldn't drop from around 1024 to single digits).

Can you try to disable --dp 2?

The interesting part is right here. During the initial period after the server starts, sglang can handle the 1024 concurrent requests I had set (I added up the numbers from the two DP groups' run requests and request queues, which totaled close to 1024). However, because my task needs to run for two days, this concurrency gradually drops to single digits over time. Regardless, I will now begin testing it again.

solved when I disable --dp


Fix chat channels

To Do for approval:

[X] Use Enums for the channel preference
[ ] Use a gson serializer for the messages (I already created the object in commons)
[ ] Enable users to toggle on and off chat channels with the preference api.


cant write to file in data dir, while data dir has 777 permissions recursively

Describe the problem
cant write to file in data dir, while data dir has 777 permissions recursively
running sudo setenforce 0 works
Container definition
echo $UID $GID
 1000 1000

docker run -v /home/me/dockermc/:/data -d -it -p 25565:25565 -e EULA=TRUE itzg/minecraft-server

Container logs
chmod: changing permissions of '/data': Permission denied
[init] Changing ownership of /data to 1000 ...
chown: cannot read directory '/data': Permission denied
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxrwx. 2 0 0 4096 Jan  9 17:12 /data'
/start-utils: line 155: /data/eula.txt: Permission denied
[init] ERROR: unable to write eula to /data. Please make sure attached directory is writable by uid=1000

Even if the directory is writable, the uid/gid should be set to the owner of that directory, as during bootstrap chmod is run to ensure ownership.
Apply UID and GID environment variables with the correct values should solve your issue!

i checked and my UID and GID are 1000

i checked and my UID and GID are 1000

Your command snippet doesn't show that. Please update with that. Using chmod 777 is not a viable approach. Fix the directory ownership on the host side.

updated the issue with info

I think @Stealthii meant checking those variables on the docker command. In any case, just make sure that host directory is already owned by uid 1000 and it is normally fine from there. Something is unusual on your system so there's nothing I know to fix in the image.

appending -e UID=1000 -e GID=1000 to the command worked


Add Hdr Encoder (Rebase of #2013)

I've re-based #2013 as it seemed in need of someone to re-base the changes.

Whoops, wrong repo


Any examples with csv data

Let's say I have data in a csv format, are there any examples of loading historical data for backtesting from a csv or json file. Assuming I just have some proprietary data not available on Quantopian.

I have written some code to do this which is just a copy somewhat of the load_yahoo_data but using pandas read_csv and some file.glob patterns to load a bunch of files from a folder into a Pandas.Panel object.
You will need to make sure your data is adjusting itself and the correct columns come back.
Easiest way to debug this is to use a jupyter/ipython notebook and just use the functions and write your own in the window to parse it.
I'm using CSI data and it works ok, haven't got to slicing the data into specific time windows but thats very easy in pandas. Also missing/sparse data can be problematic as well, for instance you might want to test a universe of data but not all stocks start at the beginning date.
If you are really stuck I can dig out some of the code/gist it but it really is just using the building blocks of pandas and the python file system methods

If the data fits in memory, you can convert it into a Panel`` and pass that to the new run_algorithm function. If it is too large to fit in memory, or you would like to use this a lot, you can convert it into zipline's native data format. Information on how to do that is available here: http://www.zipline.io/bundles.html

Example code:
http://www.prokopyshen.com/create-custom-zipline-data-bundle
Wondring if import csv functionality is of general helpfulness (like google and quandl import are) -- would it make sense to create a PR of latter code (debugged/hardened) to enhance standard zipline bundle imports?

x-ref https://github.com/quantopian/zipline/pull/1860

@llllllllll  regarding:

If the data fits in memory, you can convert it into a Panel`` and pass that to the new run_algorithm function.

I'm passing a pandas.DataFrame to run_algorithm() using the data argument, so I can execute trades in Zipline's handle_data() method like this:
def handle_data(self, context, data):
        order_target(symbol('LTC_BTC'), 100)

The pandas.DataFrame I'm passing contains OHLCV data, each as a column in the data frame. But, when order_target() is called, Zipline is raising the following error:
File "/home/mellertson/Documents/python_virtual_envs/zipline/local/lib/python2.7/site-packages/zipline/assets/assets.py", line 698, in _lookup_symbol_strict
    raise SymbolNotFound(symbol=symbol)
SymbolNotFound: Symbol 'LTC_BTC' was not found.

The error makes sense, as I'm not registering a bundle with Zipline. What I'm trying to figure out is, by passing a DataFrame or Panel to run_algorithm() in the data argument, is it possible to place orders with that data? What is the recommended format of a pandas.DataFrame passed as the data argument to run_algorithm()?

@llllllllll
Any working sample where we can run a script with data passed into the handle_data with data argument as panel data and then using TradingAlgorithm and  run method without using any ingest method. That way the script data can be completed independent to the environment.
like in this
https://github.com/quantopian/pyfolio/blob/master/pyfolio/examples/zipline_algo_example.ipynb
@mellertson - Where you able to get this working with order_target, just having panel data with symbol and date as the index and the columns as OHLCV as columsn.? Any sample code you can share just to get starting.

I have a similar request as that of @Spider08 , am really confused to how to access data on zipline so that to perform actions on them without using data.history() function. I was practicing on pandas before and it was easy to perform operations on it such as to find the max value in a given period we use:
import pandas_datareader.data as web
start = dt.datetime(2017, 5, 1)
end = dt.datetime(2017, 7, 30)
df = web.DataReader('AAPL', 'google', start, end)  # retrieving data from google
highest_value = df['High'].max()

Theirs extremely less guide on how to access data to perform actions other than finding EMA! ANd also i want to know how to run codes from within the IDE without having  the need to run through CLI.
I will be more than happy if anybody answers my query, Thanks.

I've just posted easier way to do it. Please, have a look: https://github.com/quantopian/zipline/issues/174#issuecomment-331836005

Closing in favor of #2060

I have written some code to do this which is just a copy somewhat of the load_yahoo_data but using pandas read_csv and some file.glob patterns to load a bunch of files from a folder into a Pandas.Panel object.
You will need to make sure your data is adjusting itself and the correct columns come back.
Easiest way to debug this is to use a jupyter/ipython notebook and just use the functions and write your own in the window to parse it.
I'm using CSI data and it works ok, haven't got to slicing the data into specific time windows but thats very easy in pandas. Also missing/sparse data can be problematic as well, for instance you might want to test a universe of data but not all stocks start at the beginning date.
If you are really stuck I can dig out some of the code/gist it but it really is just using the building blocks of pandas and the python file system methods

Will the panel method slow down the speed of back-testing?


Bug: video (but not audio) playback freezes and seeking to middle of video and then rewinding back a little

Is there an existing issue for this?

[X] I have searched the existing issues

Which Mux Elements/Packages does this apply to? Select all that apply
mux-player-react
Which browsers are you using?
Chrome, Safari, Firefox, Edge ("Edgeium"), Chrome Android, Safari on iOS
Which operating systems are you using?
Windows
Description
We've noticed an issue with video playback. It seems to affect multiple platforms (Mac/PC, Chrome, etc.). Specifically, the audio keeps playing but the image stays frozen.
Reduced test case
No response
Steps to reproduce

View any of the videos we've uploaded like https://pb.vision/video/uoitcltlpq9s
Press the "Rally #34🔥" button to skip the video to a highlight which in this case happens to be relatively late in the video (this one starts around 8:49 into this 11:37 long video).
Press the "<5" button to go back five seconds to ~8:44 (or press it a few times to go back a little further).
Sound playback continues but sound playback stops until ~8:50.
If we press "<5" button more times then this hitch seems to get more severe (see screen recording here: https://storage.googleapis.com/pbv-pro-dev/tmp/Mux_Freezing_Issue.mp4).

Oddly, if I watch a video from start to finish but occasionally go back 5-30sec (pressing the go back button a few times) then there's no issue. It seems to only specifically when we skip into the video first.
Current Behavior
Video freezes but audio keeps playing
Expected Behavior
Video and audio keep playing in sync
Errors
no console errors
What version of the package are you using?
2.7.0

Same issue on mac, tested 2.5.0, 2.6.0, 2.7.0.


[Q] Get actual play-out time of TS

Hello,
I would like to know if it possible to get the play-out time while running a Transport Stream.
I'm using python 3.8, Dektec board and TSDuck 3.31 - 2751.
The code used (short version) is :
import tsduck
TS_ASYNCREPORT = tsduck.AsyncReport(severity = tsduck.Report.Verbose, timed_log = True, sync_log = True)
TS_ASYNCREPORT.info("TSDuck version: %s" % tsduck.__version__)

TS_TSP = tsduck.TSProcessor(TS_ASYNCREPORT)
TS_TSP.input = ['file',TS_PATH, '--infinite'  ]
TS_TSP.output = ['dektec', '--device 0', [...] ]
TS_TSP.start()
TS_TSP.delete()

Is it maybe another way to start the TSP and control the TS information?
Thank you so much.

Hi @victorpinero
What do you mean by "get the play-out time while running a Transport Stream"?
Since your output is a Dektec modulator or ASI device, the hardware regulates the playout according to the parameters of the dektec plugin and the playout time is simply the real time ("wall-clock time").

Hi @lelegard
Sorry for the miss-explanation.
I want to check the actual TS time that is playing into a Dektec PCI board (e.g. 5 sec of 1 min stream -> 00:05/1:00).
I would like to know if this time can be easily taken during an infinite reproduction by using a tsp plugin, it appears on the tsp log or needs to be calculated.
What do you mean with " [...] is simply the real time ("wall-clock time"). "?
 If yes, I should calculate this time manually and it is not perfect. I thought it could be taken from any tsp plugin.
I do not know if I have explanied myself...
Thank you for your support!!
Glad to talk with you.

Yes, this is the definition of the play-out time. This is true in your case because the output is a regulated hardware.

I thought it could be taken from any tsp plugin.

tsp plugins work on transport stream stuff. Computing the difference between start and stop time is not transport stream stuff.

Nice explanation, kid like, I love it.
So, this time should be taken directly from the Dektec board.
I will find another way to get this time.
Thank you so much! I did not understood the TSDuck behaviour with the board, now I do.
Thank you sir.


RDBES: RS_SpecimensState update of codes

Please see attached spreadsheet for the 8 code updates.
RS_SpecimensState updates.xlsx

we already have ASTSA: http://vocab.ices.dk/?ref=64

@HenrikK-N RMG suggest a new CodeType SurvivalProbability and then use ASTSA instead of SpecimenState and adding the codes that are not already there.
Unknown and NotDetermined should swap descriptions.
Term Depredated might not be correct - RMG suggest Pred and also if specimen alive in description - Do you want Injured as code as well?

We will not add a new field in the data model for a new code type SurvivalProbability. Potentially ASTSA could be used if missing codes are added from the RS_SpecimensState, which are not in the ASTSA now. But that has to be discussed at the core group. At this point there is not a problem in using RS_SpecimensState and make the requests the core group have to RS_SpecimensState. If the core group later decide to use ASTSA, we can always do that. So for now I suggest to add the one new requested code and update the descriptions for the requested existing codes.

RDBES core group: ASTSA scaled to individual species, not large box catches (multiple species), Need to run the CodeType by WGBYC/discard groups for confirmation, before any changes will be made. DM will encourage RDBES core group to do this

Wrote to David Currie for update

@HenrikK-N  can we add this CodeType to the RDBES core group agenda? thanks

Remove ElectronicMonitoring for the time being.
Imagery: The use of one or more cameras to collect single-images or video: (Reference to the WGTIFD 2019 report on the long description of Imagery)

They now remember this code list has been reviewed by Bycatch people in a subgroup, and hence ASTSA code type is not accepted as an alternative, as it is viewed as more focused on preparation procedures of animals, rather than the status of the animal when found.

Please review code AliveAliveHighProbSurvival.

Implemented as described.


Update grid-styled dependency

Resolves #393

Codecov Report

Merging #394 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #394   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          62     62
  Lines         316    316
=====================================
  Hits          316    316

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 368c43e...7d64006. Read the comment docs.

Awesome, thanks!


refactor: remove event faking apis from public api

Moves the event faking APIs into cdk/private/testing in order to avoid exposing them in the public API of cdk/testing.
Resolves COMP-239.

@mmalerba @jelbourn @devversion I've reworked it so all the private APIs are in cdk/testing/private and cdk/testing/private/e2e now.

This won't work in the release output since cdk/testing/private will not be part of the release output. We could fix that by making it a tertiary entry-point (with bundles etc.), but then cdk/testing/ also needs to import it through the module name (i.e. @angular/cdk/testing/private).
Also, IIRC we chatted about this again in the Slack channel. The solution Jeremy proposed initially seems to work the best without having to create a new published entry-point that contains all private testing utilities.


fix(gRPC, engine): addition of hot wallets in circ supply calculation

Description
Addition of hot wallet addresses.
Related Issue
Circ supply is not correct.

@kehiy The reason behind this is because you are splitting the supply to the other wallets. If you add those wallets and do not minus 630k the supply from the original 4 wallets would be 630k more than it should be as you have added wallets into the quation with that balance.

I should add example -  transferring the coins from the original 4 wallets would make them public, adding the other 2 addresses would then add that amount to the supply. by minus 630k you are then making those locked again and held by the other wallets that you have included with the start balances.

another workflow is remove the 630k from the wallets they were sent from so that starting balance is - funds sent. this is another way

@Mr-HoDL58 we still remove 630K constantly even if some amount of this 630K was sent to another account. that's the wrong logic. we consider them as locked values again.


Missing include paths

Hi,
when compiling liboauth2  it cannot find <cjose/cjose.h> (my PKG_CONFIG_PATH points to the right location).
I think the AM_CPPFLAGS var in Makefile.am should also contain @CJOSE_CFLAGS@ (and @CURL_CFLAGS@).

that should be covered by https://github.com/zmartzone/liboauth2/blob/master/Makefile.am#L46 ; which file fails to compile?

Ah, it errors out when compiling cache.c:
-cache.Tpo -c src/cache.c  -fPIC -DPIC -o src/.libs/liboauth2_cache_la-cache.o
In file included from src/cache.c:30:
./include/oauth2/jose.h:25:10: fatal error: cjose/cjose.h: No such file or directory
   25 | #include <cjose/cjose.h>
      |          ^~~~~~~~~~~~~~~

So liboauth2_cache_la_CPPFLAGS needs the additional flags


Add --no-snapshot option to sstablesplit and improve the support to specify files

This PR contains some improvements for the sstablesplit command:

Add --no-snapshot option
Add the capability to specify what file(s) to split. This was broken before and it was splitting all sstables everytime. I fixed this so we can now specify 1 or more files to split.
This doesn't affect sstable2json, this command doesn't accept sstable file(s) in parameter.
The only thing that could affect dtests would have been the parameter name change (datafile -> datafiles). I verified and it is not used at all in dtest.

Addressed comments and rebased.

Can you raise more specific errors than Exception? Even if nothing in https://docs.python.org/2/library/exceptions.html is to your liking, it is best to throw NodeError so that it is clear the problem is coming from CCM.

Alright

Addressed last comments. Thanks for the review.


4 controllers but 3 connections

i have 4 joycons that im trying to connect but whenever i try to use wrangler it either connects 3 of them leaving one or connects two, one from each side (1 left, 1 right)

it took a little while but after just turning them off, then making them search for wrangler (just press one of the 2 top buttons (not the black one)) and doing that over and over i eventually managed to pair all four


Ability to provide Cassandra start-up/ env properties through Priam

Providing JVM options/ Environment properties like below on entire cluster is a pain, Having a property in Priam to get this would be helpful and easy
e.g:
JVM_OPTS="$JVM_OPTS -Dcassandra.always_listen_on_unencrypted=true"
JVM_OPTS="$JVM_OPTS -Dcassandra.ring_delay_ms=300000"
How to use:
*1. Set a property to list all dynamic properties to be used
priam.extra.env.params = priam.cass.ringdelayms=cassandra.ring_delay_ms, priam.cass.loadringstate=cassandra.load_ring_state
*2. Setting the individual properties
priam.cass.loadringstate = true
priam.cass.ringdelayms = 30000

NetflixOSS » Priam » Priam-pull-requests #19 SUCCESS
This pull request looks good

Priam-pull-requests #181 SUCCESS
This pull request looks good

NetflixOSS » Priam » Priam-pull-requests #23 SUCCESS
This pull request looks good

Priam-pull-requests #185 SUCCESS
This pull request looks good


Tensorboard callback doesn't work on fit_generator

We have this error on a sequential model with multiple inputs:
keras sequential object as no attribute validation data
We have the same error for the graph:
keras graph object as no attribute validation data
It does work on fit !!
Is it normal?
mix_model.fit_generator(trainBatchBuilder.seq_batch_generator(), 100, 5, validation_data=(X_test, Y_test),                         callbacks=[TensorBoard("path/tensorboard_logs/", 1)])
Am I missing something?

Same here with Graph model, looking at lines 1399-1428 in models.py and 501-524 in callbacks.py shows that it is not implemented. Shouldn't be too hard to implement manually though.


Few Jobs are not executing at scheduled time under load and in cluster mode

We are running multiple quartz engines in the cluster and have scheduled around 150 jobs at a particular time. Around same time there are few other ad-hoc runs are going on.
Once a while few jobs are getting missed. We checked the database and it updating the next fire time but the actual job has not trigerred. There is no said pattern in the missed job , few random jobs are getting missed.
We tried replicating this issue but unfortunately, it's not replicable. This is occurring only in production.
We are using version 2.2.3.
No error observed in logs or anywhere.
We will try to post the steps as soon as we are able to replicate this.

The issue was with the misfire instruction. Under heavy load some jobs were getting misfired and since we didn't set the correct misfire instruction it was never tried again.
After setting correct instruction, quartz retries to fire those jobs which were missed for some reason.


Datadog: package update + module refactoring

Motivation for this change
I have previously updated and changed the API of the datadog service. As per request, I have reverted that and I'm submitting it as a pull request instead. Additionally to previous work, I'm also providing an additional patch that brings back the old API without sacrificing any of the new one. Personally I think users should simply upgrade to (what I think is) a much more flexible API.
Things done
The upgrade itself is deployed on actual machines running now and works great. The backwards compatibility patch was only tested for evaluation with nixos-rebuild dry-run.

There's a small gotcha w.r.t. jmx; it's not actually an integration so something like { name = "jmx"; } would not work as it would not find a default configuration. However { name "jmx"; config = "..."; } should work just fine.

Another comment: actually JMX is used on one of our 5.13.2 boxes and it seems to Just Work™ so should be good on that front too.

Seems more rework is needed to accommodate their whole new supervisord approach… Working on that separately from this PR for now, just heads up about more changes in future.

OK, all the changes I wanted to make are done and in this PR I think. The main difference is that we now use the blessed way to run datadog, i.e. through supervisor. This means datadog itself takes care of starting stuff, we just tell it what to run and start the supervisor. I also added datadog-trace-agent which allows people to make use of application tracing on their hosts.
I have again ported the API compatibility patch on top in case we want to support that still. Please let me know what you think of the changes in general and whether we're keen on keeping the old API layer.

Hm, something might not be quite right with metrics reporting on this PR. Will investigate and fix before merging. General feedback/review appreciated regardless.

Have found out what the issue was and updated PR to include the fixes.

Just to update, been running a version of this PR (without compat patch) on multiple machines for few days and seems to work in all aspects.

Another thing which is broken with the current package of dd-agent is the "Processes Memory Usage" report.  I've found that it depends on the gohai package, which for some reason datadog decided not to include in their source-based installation process.
gohai is a binary which simply needs to be on the path, so it could be a propagatedBuildInput, if there were a nix gohai package.
I haven't tried creating one, so I don't know the difficulty level, but I thought I would share my findings.

@binaryphile w.r.t. gohai: yeah, I saw it complain about it in logs but could not determine the cause.
w.r.t. everything else; this code was written for a multiple machine NixOS deployment; we are now however in process of moving into kubernetes with containers and so this became a much lower piority: we still have NixOS boxes using it but not as many. If someone is interesting in getting these changes landed sooner than later (with any amends), please don't hesitate to pick up this work. If not, I may eventually get around to addressing any comments myself though the priority for that is much lower now.

@Fuuzetsu understandable, thanks for your reply and thanks for your work.

If anyone here wants to take a shot at doing an agent V6 upgrade and refactoring the available NixOS options, please ping me. I've started making a Nix package, however the build process for the agent is quite frankly insane and I've lost a whole bunch of soul fragments to it so far.
We have production boxes using Datadog and the current agent version (5) is starting to cause issues for us due to lacking features and whatnot.


Firmware update on devices doesn't work

Steps to Repro

Go to WEbUI
Go to devices Tab
Click check box of  any device
Click Jobs
Select Method
Select Firmeware update
Fill out the other required fields
Submit

Expected:

Job Submited successfully
If click that job, it will take you to maintenance page
Job should be complete in few seconds.
If you go back to devices page, the device firmware is not updated

Actual:

Job Submited successfully
If click that job, it will take you to maintenance page
Job is running forever and Firmaware version is not updated in the device

no repro


New parser for requirements

Diff should give a good sense of the differences.
Main one, is this parser understands heirarchy of #'s within markdown.
Nice things:

No more putting conditions in weird quote blocks.
Actually generate the correct headings (e.g. h1, h3) instead of making everything an h5.
The format of the json is consistent (e.g. every node has a children property)

Thanks again. I think besides one typo this should be merged.


Custom fonts are applied after the computation of getPageForPointOnElement leading to variable results

I want to open a page (reflow) on a given element identified by a CFI. The page is using custom fonts.
If the element is at the bottom of the display and my custom font is bigger than the default one, there is a chance that the result of getPageForPointOnElement(e, x, y) vary if I request the opening from the same spine item (font already applied) or from a different one (custom font not yet applied).

I thought that navigation actions were only actuated after the "content loaded" event (which the Readium rendering engine waits for before displaying / toggling the visibility of the iframe). Must double-check. However, I remember seeing that CSS font-face and the effective application of fonts was sometimes delayed (easy to see with some books, the text visually changes, after the iframe content is shown by Readium).

I see this happen somewhat frequently with the Accessible EPUB sample.


Model quantization

Someone can share the  details of quantizes the mobilenetv2 or resnet50?

Someone can share the details of quantizes the mobilenetv2 or resnet50?

I have the same question.


Update index.md

添加时间

Please DO NOT abuse pull requests. Do experiments in your own repo. Thanks.


Pass temporality preference environment variable though to services

Feature Request
Is your feature request related to a problem?
At this point in time, the demo cannot be easily adapted to export delta metrics instead of cumulative. Once more metrics are being added this might make the demo more difficult to use for people that want to try out different backends.
Describe the solution you'd like:
It would be great to have the OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE passed through to services on the docker-compose.yml file, so that temporality can be more easily changed, but keep cumulative as a default.
Describe alternatives you've considered.
My alternative now is to provide more setup instructions with the demo, which basically just pass through the environment variable to all the applicable services.

I can work on this issue if this is something we'd want in this repo. :slightly_smiling_face:

@puckpuck could this help with the JavaScript issue too?

Ah nevermind but this would be nice to have @pichlermarc

Alright, then I'll start working on this :slightly_smiling_face:


Write migration guide for 1.5 -> 2.0

Just got send here by @dependabot. We have been running 1.5.0.
It appears that there have been a few breaking changes since then. For example, it is now sonarLint, not sonarlint anymore. And the way rules are configured changed as well.
Looking at the usage-stats at Maven-Central, I am probably not the only one who got asked to migrate to 2.0.0 now. It would be helpful if someone can provide some sort of migration guide for the breaking changes 👍
Also, where is the old source code? Seems this repo only contains the code from 2.0.0 and its RCs.

@Zabuzard thank you for the request!
initially, this plugin was created as a part of a huge monorepo with many Gradle plugins. Unfortunately, it was becoming harder and harder to maintain this monorepo. So, I decided to extract some of the plugins to GitHub and move away from the monorepo approach.
Version 1.x of this plugin hasn't been maintained for a while and even was removed from the monorepo, as became incompatible with some new Gradle/SonarLint version, and it would take too long for me to fix it.
I'd consider writing a migration guide but can't promise you anything. If I have time to write such a guide, I'll do it. Leaving the issues open for now.
Sorry for the late response.

The example shown in the gitlab guide for 1.5.0 looks like this in 3.4.3.
1.5.0 (old)
sonarlint {
    ignoreFailures = false
    excludes {
        message 'java:S1214'
        message 'kotlin:S100'
        message 'xml:S125'
    }
    includes {
        message 'java:S4266' // Enable java:S4266 which is disabled by default
    }
    ruleParameter('java:S119', 'format', '^[A-Z][a-zA-Z0-9]*$') // Allow upper camel-case for type parameter names
}

3.4.3 (new)
sonarLint {
    ignoreFailures = false
    rules {
        enable (
            'java:S4266', // Enable java:S4266 which is disabled by default
        )
        disable (
            'java:S1214',
            'kotlin:S100',
            'xml:S125',
        )
        rule('java:S1192') {
            property('format', '^[a-z][a-zA-Z0-9]*$')
            properties = ['format': '^[a-z][a-zA-Z0-9]*$']
        }// Allow upper camel-case for type parameter names
    }
}


how should I get the content of res when .json() fail ?

I use _convert to get the content when .json() fail，but _convert is inaccessible in 2.x .
Maybe I used a wrong method, so I want to know how to get the response content in 2.x .
Looking forward to your help！
ps:
	let resData = null;
	try {
		resData = await res.json();
	} catch (err) { /*  */ }

	log('res data: ', resData);

	if (res.ok) {
		return resData;
	}

	if (resData) {
		throw {
			errInfo: `${NAME}:ERROR`,
			errmsg: resData.resultdesc,
			errno: Number(`${res.status}${resData.resultcode}`),
			info: resData,
		};
	} else {
		const text = res._convert().toString();
		throw {
			errInfo: `${NAME}:ERROR`,
			errmsg: '请求转发响应出错',
			errno: 1,
			text,
		};
	}

You need to clone() first and work on the separate response body with text().
And be careful about nodejs high water mark when you do that (search for an open issue where I discuss it).
JSON are UTF so you don’t need to convert it further (the conversion was designed to handle non-UTF HTML page, because Fetch Spec assume UTF-8)
(From my phone)

On 26 Dec 2017, at 11:34, snadn<EMAIL_ADDRESS>wrote:
I use _convert to get the content when .json() fail，but _convert is inaccessible in 2.x .
Maybe I used a wrong method, so I want to know how to get the response content in 2.x .
Looking forward to your help！
ps:
let resData = null;
try {
resData = await res.json();
} catch (err) { /*  */ }
log('res data: ', resData);
if (res.ok) {
return resData;
}
if (resData) {
throw {
errInfo: ${NAME}:ERROR,
errmsg: resData.resultdesc,
errno: Number(${res.status}${resData.resultcode}),
info: resData,
};
} else {
const text = res._convert().toString();
throw {
errInfo: ${NAME}:ERROR,
errmsg: '请求转发响应出错',
errno: 1,
text,
};
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@bitinn I think can not use clone
I used to use the clone. but when I get a large res，since the clone in the else not consumption the clone and the .json will be hold by backpressure , then a timeout will be triggered

You need to pipe the clone() body somewhere (say a stream with higher water mark), this is the cost of using stream. It’s designed so that your nodejs won’t hold more data in memory.
(From my phone)

On 26 Dec 2017, at 15:52, snadn<EMAIL_ADDRESS>wrote:
@bitinn I think can not use clone
I used to use the clone. but when I get a large res，since the clone in the else not consumption the clone and the .json will be hold by backpressure , then a timeout will be triggered
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

By the way, if you don't need to clone afterwards (for instance, the response is fine), pipe it to something like https://github.com/Floby/node-stream-blackhole

Maybe I can use .text and JSON.stringify by myself when _convert can not be used 😞
thanks!

Yeah, many users do that because they need logging anyway.
We are not doing anything special with json() there so you are not missing much. https://github.com/bitinn/node-fetch/blob/master/src/body.js#L93

Do you think it makes sense to add buffer.toString () to the .json FetchError?

Some want the whole response, some just want to know which part of the reponse is broken.
We decide to leave it to users, as Fetch Spec doesn't do any of this.


drawTxt

drawTxt(v.pressToSell, 0.5, 0.9, 0.7, 0.7, 255, 255, 255, 255, true, true)
arent you missing a function?

Updated main.lua with drawTxt function. Issue resolved, closing


Add yoga support. Fixes #67

This is the PR that fixes #67.
It can't be merged right away because I still need libui support for GtkFixed and their equivalents on Windows and Mac, as well as sizing. Once that is done, which I'm going to work on now, then I can merge this. The API shouldn't change too much. If you're interested, I've added uiFixedAppend and uiFixedMove, as well as uiSize and uiSetSize. These are what need to be added to Windows and Mac and can be found on my libui and libui-node fork.
This currently supports full yoga layout, as far as I've tested. Meaning nested Views and all styling works. One thing that doesn't work is having a container such as a box as a child. You can't really mix yoga and stretchy layout.
To test:

Clone my libui fork and checkout the alpha3.5 fork (because libui-node currently only supports alpha3.5). This has my changes.
cd libui && mkdir build && cd build && cmake .. && make
Clone my libui-node fork
Copy the header files in libui into libui-node root directory and the build/out/*.so files into the libui-node root directory also
cd libui-node && npm i
sudo npm link
Clone proton-native and checkout the yoga branch
npm link libui-node
npm i
npm run demo

Any update on this? 😇

Currently, I need to merge a component into libui that allows fixed positioning, but I need to rewrite the GTK version, and its taking some research and time to do that.

What would be the stuffs to investigate with Gtk for this to progress, I have a long experience with it, may I help?

@SkyzohKey This is the PR: https://github.com/andlabs/libui/pull/332.
These are the comments about GTK: https://github.com/andlabs/libui/pull/332#discussion_r179222384.

Update on this?

👀

Closing and rewriting in #213


[Suggestion] Execute commands on envoy start/warning.

It would be useful if CrazyEnvoy could execute commands during the warning times, or when an envoy starts/ends. This way, admins could do custom broadcasts, or warp their players to the envoy event.

Added to our tracking board.


POS update

updates "miner" & "relay" nomenclature to reflect PBS architecture
removes some now-irrelevant/defunct sections
adds mentions of the Discourse forum for searcher support & FAQs
includes updates to Protect RPC docs (from #293)

A few miner residual comments, but merged!


Added a error handler!

Just added a simple error handler, if you spot anything that you would like to change just tell me :)

Any progress on the requested changes?

No not really, I have been busy.

I don't use logging much so I don't know how to seperate the logs.
I can do that :)
Can you elaborate please?


cmd + left arrow pans map after focusing geosearch control

STR:

open this sample
prior to using the geosearch control, cmd + left arrow acts as a shortcut to redirect you to the previous website
after giving the geosearch control focus and closing it again, the same command pans the map left.

this is a bogus bug.  same is reproducible in a plain leaflet app (because you've given the map focus)


ROX-13466: Fix deletion of groups with empty properties

Description
For additional context, see ROX-13446 as well.
During startup and the initialization of the group datastore, we attempt to delete groups with empty properties.
This has been there historically for quite some time (the initial PR that introduced this + the associated ticket ROX-1698).
Now, we added validation with the move from the tuple ID key for groups (using its propreties) to a single UUID.
This leads to an issue when trying to remove groups with empty properties during startup.
Since the properties will be empty, the validation which is done within the Remove call, will fail (since the validation is checking whether auth provider ID is set etc.).
Within this PR, a separate function has been introduced at the datastore layer that will:

retrieve all groups with empty properties.
delete those groups, skipping validation and other mutability trait verification.

Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
- [ ] Evaluated and added CHANGELOG entry if required
- [ ] Determined and documented upgrade steps
- [ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into
rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed

see unit tests added running within CI and passing.

Current dependencies on/for this PR:

master

PR #3756   👈

This comment was auto-generated by Graphite.

/retest


how to run netflix photon command

hi all,
i cd into the "c:\photon" in command prompt
then i run this command but i get this error -
C:\photon>java -cp build\libs*; com.netflix.imflibrary.app.IMFTrackFileReader imf_track_file_path E:_SHARE_IMF\Meridian_IMF_UHD_23976_en_L_R_C_Lfe_Ls_Rs_Lt_Rt_MOL_OV
01 Sep 2017 13:25:47,602 [ERROR] [IMFTrackFileReader]: File C:\photon\imf_track_file_path does not exist
what am i doing wrong
many thanks,
rob

Hello,
You've just pass 2 arguments imf_track_file_path and E:_SHARE_IMF\Meridian_IMF_UHD_23976_en_L_R_C_Lfe_Ls_Rs_Lt_Rt_MOL_OV.
just try:
java -cp build\libs*; com.netflix.imflibrary.app.IMFTrackFileReader imf_track_file_path E:/Meridian_IMF_UHD_23976_en_L_R_C_Lfe_Ls_Rs_Lt_Rt_MOL_OV
Best regards,
Marc-Antoine

im doing this on windows and the working directory is -
E:_SHARE_IMF\Meridian_IMF_UHD_23976_en_L_R_C_Lfe_Ls_Rs_Lt_Rt_MOL_OV
but when i run it i get this -
C:\photon>java -cp build\libs*; com.netflix.imflibrary.app.IMFTrackFileReader imf_track_file_path E:_SHARE_IMF\Meridian_IMF_UHD_23976_en_L_R_C_Lfe_Ls_Rs_Lt_Rt_MOL_OV
01 Sep 2017 13:47:59,434 [ERROR] [IMFTrackFileReader]: File C:\photon\imf_track_file_path does not exist
so i delete the "imf_track_file_path"
and now i get this error -
C:\photon>java -cp build\libs*; com.netflix.imflibrary.app.IMFTrackFileReader E:_SHARE_IMF\Meridian_IMF_UHD_23976_en_L_R_C_Lfe_Ls_Rs_Lt_Rt_MOL_OV
01 Sep 2017 13:49:40,890 [ERROR] [IMFTrackFileReader]: Usage:
com.netflix.imflibrary.app.IMFTrackFileReader
i dont get this

Hi again,
Sorry regarding the source code, this App require 2 arguments.
The second argument is the IMP root folder.
The first one look to be the path of the selected CPL (with tracks to validate), as IMP can have many CPLs.
Can you try that ?
Marc-Antoine

i was running the wrong command -
java -cp build\libs*; com.netflix.imflibrary.app.IMPAnalyzer IMP_folder_path
so -
java -cp build\libs*; com.netflix.imflibrary.app.IMPAnalyzer E:\SHARE_IMF\Meridian_IMF_UHD_23976_en_L_R_C_Lfe_Ls_Rs_Lt_Rt_MOL_OV

Okay made sense ;-) the most use one !


@orta => when creating an order, infer edition_set_id if artwork has only one edition

Artworks that are "acquireable" may be purchased immediately using the martsy order form, rather than inquiring via the inquiry form. These works may have 0, 1 or many "edition sets."
If an artwork has any edition sets, you must provide an edition_set_id when creating an order for that artwork. Until now, we weren't providing this parameter when creating orders, which was resulting in failed POST requests for all works that have editions.

If an artwork has no edition sets, we won't include the edition_set_id when creating the order.
If an artwork has one edition set, we can safely assume that we should use the id of that edition set.
If an artwork has many edition sets, we don't currently have any UI that supports picking which set you'd like to order from, so we should direct the user to the inquiry form. There's no need to even attempt the order POST, as it will fail without the edition_set_id parameter.

@orta :green_apple:


convert TypeScript type coercions to Closure ones

Fixes #65.
But this doesn't work!  See the comment in that bug about the TypeScript compiler bug...

LGTMs for the sickle change.
Maybe we should just fix the issue on the TypeScript side?


minor:  some tags generate double slashes in paths

looks like only those that have enough to generate a 2nd page...

Whats the exact method to replicate?

Ok, here's some more information.  I'm using hugo version:
Hugo Static Site Generator v0.18.1 BuildDate: 2017-04-29T05:24:10-04:00
which is from Debian testing.
The problem in tags only appears for hugo serve (aka offline)
for two links in the flowers tag.  To recreate problem make enough
items with a tag to create a 2nd tag page then use hugo serve and
examine using checkbot.
Offiline Tags Example:
Here is output from checkbot using command:
checkbot --verbose --ignore DailyData --dontwarn 902 --dontwarn "301|902" --url http://localhost:1313/index.html

903 URL contains double slash in URL
http://localhost:1313/tags/flowers/
Flowers | Anthive
    http://localhost:1313//tags/flowers/page/2/

http://localhost:1313/tags/flowers/page/2/
Flowers | Anthive
    http://localhost:1313//tags/flowers/

And so, being curious I tried the on-line check for my current site...
Many more double slashes, but curiously not in the tags.  Hmm...
Looks like most of these are from the Optional featured image part of
projects.
Online Example:

903 URL contains double slash in URL
http://www.anthive.com/project/beans/
Beans | Anthive
    http://www.anthive.com/img//beans/thm/office_thm.jpg

http://www.anthive.com/project/clouds/
Clouds | Anthive
    http://www.anthive.com/img//clouds/100_3906_Running_Pheasant.jpg

http://www.anthive.com/project/co2/
CO2 | Anthive
    http://www.anthive.com/img//co2/co2_data_mlo.png

http://www.anthive.com/project/critters/
Critters | Anthive
    http://www.anthive.com/img//critters/100_8248_Red_Tail_BB.jpg

http://www.anthive.com/project/crocuses/
Crocuses | Anthive
    http://www.anthive.com/img//crocuses/100_6074_Crocuses.jpg

http://www.anthive.com/project/daffodils/
Daffodils | Anthive
    http://www.anthive.com/img//daffodils/100_0146_WWYellow_Ruffles.jpg

http://www.anthive.com/project/decorations/
Decorations | Anthive
    http://www.anthive.com/img//decorations/100_5448_Giggle_Thyme.jpg

http://www.anthive.com/project/edibles/
Edibles | Anthive
    http://www.anthive.com/img//edibles/100_9322_Strawberries.jpg

http://www.anthive.com/project/frogs/
Frogs | Anthive
    http://www.anthive.com/img//frogs/100_8029_Window_Peeper.jpg

http://www.anthive.com/project/from-the-roof/
From Space or Up on the Roof | Anthive
    http://www.anthive.com/img//up-high/Way_Up_2017.jpg

http://www.anthive.com/project/fungi/
Fungi | Anthive
    http://www.anthive.com/img//fungi/100_7115_Baby_Stinkhorn.jpg

http://www.anthive.com/project/house/
House | Anthive
    http://www.anthive.com/img//house/p8130009_Fireplace.jpg

http://www.anthive.com/project/irises/
Irises | Anthive
    http://www.anthive.com/img//irises/iris.jpg

http://www.anthive.com/project/killdeer/
Killdeer | Anthive
    http://www.anthive.com/img//killdeer/thm/100_7640_Killdeer_Side_thm.jpg

http://www.anthive.com/project/mixed-flowers/
Mixed Flowers | Anthive
    http://www.anthive.com/img//mixed-flowers/100_1103_Blue_World.jpg

http://www.anthive.com/project/notes/
Notes | Anthive
    http://www.anthive.com/img//banners/bookss.jpg

http://www.anthive.com/project/odds-n-ends/
Odds -n- Ends | Anthive
    http://www.anthive.com/img//oddsnends/100_7092_Ghost.jpg

http://www.anthive.com/project/redpatch/
Red Patch | Anthive
    http://www.anthive.com/img//redpatch/100_2453_Red_Patch.jpg

http://www.anthive.com/project/rogue/
Rogue and Rog-O-Matic | Anthive
    http://www.anthive.com/img//rogue/headstone.jpg

http://www.anthive.com/project/sunflowers/
Sunflowers | Anthive
    http://www.anthive.com/img//sunflowers/100_8128_Bright_Sun.jpg

http://www.anthive.com/project/tasks/
Garden Tasks | Anthive
    http://www.anthive.com/img//tasks/p5110002_Moved_Trees.jpg

http://www.anthive.com/project/taters/
Potatoes | Anthive
    http://www.anthive.com/img//taters/100_5523_Tater_Tot.jpg

http://www.anthive.com/project/tulips/
Tulips | Anthive
    http://www.anthive.com/img//tulips/100_7544_Tulips.jpg

http://www.anthive.com/project/water/
Water | Anthive
    http://www.anthive.com/img//water/montage.jpg

http://www.anthive.com/project/worms/
Worms | Anthive
    http://www.anthive.com/img//worms/100_4505_First_Bin.jpg

Does this help?

p.s. look at how nice those horizontal rules appear, with no adjustment from me...  :)

Hmm did you try removing the trailing slash in the BASE URL ?
Paste your "hugo config"

Thanks for reporting this bug @flowerbug !
This issue appears to affect all instances of the full-width header image. It should be all fixed in  	update 89e5445 . Let me know if you still have any issues after updating :)

you're welcome and thank you George, all checks out now.  :)


[WIP][website][upgrade]feat: website next build cli and publish workflow

(If this PR fixes a github issue, please add Fixes #<xyz>.)
Fixes #
(or if this PR is one task of a github issue, please add Master Issue: #<xyz> to link to the master issue.)
Master Issue #11766
Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API: (yes / no)
The schema: (yes / no / don't know)
The default values of configurations: (yes / no)
The wire protocol: (yes / no)
The rest endpoints: (yes / no)
The admin cli options: (yes / no)
Anything that affects deployment: (yes / no / don't know)

Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?

[ ] doc-required
(If you need help on updating docs, create a doc issue)

[ ] no-need-doc
(Please explain why)

[x] doc
(If this PR contains doc changes)

This looks good to me other than the one minor comment.

migrate to https://github.com/apache/pulsar-site/tree/main

migrate to https://github.com/apache/pulsar-site/tree/main


Cursor not found on server

Hi i've this error?
num of collection is a 47110.
driver mongodb is a 2.7.2
PDI: 4.4.0 Stable
/************************************* ERROR*********************/
ERROR 26-07 11:13:23,407 - Data - Unexpected error
ERROR 26-07 11:13:23,408 - Data - com.mongodb.MongoException$CursorNotFound: cursor not found on server
at com.mongodb.DBApiLayer$Result.init(DBApiLayer.java:391)
at com.mongodb.DBApiLayer$Result._advance(DBApiLayer.java:454)
at com.mongodb.DBApiLayer$Result.hasNext(DBApiLayer.java:418)
at com.mongodb.DBCursor._hasNext(DBCursor.java:503)
at com.mongodb.DBCursor.hasNext(DBCursor.java:523)
at org.pentaho.di.trans.steps.mongodbinput.MongoDbInput.processRow(MongoDbInput.java:77)
at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50)
at java.lang.Thread.run(Thread.java:662)

I think this issue might be fixed by the addition of the following.
data.cursor.addOption(QUERYOPTION_NOTIMEOUT)
Some cursor options should be controlled from the GUI.
http://dba.stackexchange.com/questions/69517/mongodb-shard-disable-cursor-timeout

Hello. We use jira.pentaho.com as our issue tracking system. Could you open an issue there regarding this behavior ? Thanks!

Actually, I think this was already reported in http://jira.pentaho.com/browse/PDI-10324


fixed pasting issue with generic ClipboardEvent in tagging mode

fixed pasting issue with generic ClipboardEvent in tagging mode, and allow pasting when the tagging function is not defined.

fixing bugs #704, #789, #848

+1 any chance of this getting merged?

bump, can someone take look at this fix?

Actually, https://github.com/angular-ui/ui-select/issues/704 is not fixed by this change.
Paste handler immediately calls ctrl.select in loop and in case tagging-label="false" ctrl.select tries to parse text from ctrl.search which is not filled in because e.preventDefault() was called in paste handler.
To fix this we could add timeout before calling ctrl.select from paste handler, and remove e.preventDefault() from it something like this:
ctrl.searchInput.on('paste', function (e) {
    var data = e.originalEvent.clipboardData.getData('text/plain');
    if (data && data.length > 0 && ctrl.taggingTokens.isActivated && ctrl.tagging.fct) {
        var items = data.split(ctrl.taggingTokens.tokens[0]); // split by first token only
        if (items && items.length > 0) {
            $timeout(function () {
                angular.forEach(items, function (item) {
                    var newItem = ctrl.tagging.fct(item);
                    if (newItem) {
                        ctrl.select(newItem, true);
                    }
                });
            });
            e.stopPropagation();
        }
    }
});


ngclient: skipping visited roles

spec says (for each role in delegation tree):

If this role has been visited before, then skip this role

ngclient does:
if (role_name, parent_role) in visited_role_names:
    logger.debug("Skipping visited current role %s", role_name)
    continue

So it only skips if role has been visited from same parent. If there is a good reason for allowing the same role multiple times in the delegation tree (against the spec), it should be documented somehow. Alternatively we should do what the spec says and make visited_role_names just a set of role names (and not a set of tuple)...
Pinging @sechkova for comment: there's probably a  reason ngclient does this (considering legacy client does not do this), happen to remember what it is?

I guess the reasons are related to this https://github.com/theupdateframework/specification/issues/177
Still, the spec seems to be clear on what the requirements are now: a role can only be in a delegation tree once by specification. So we should have at least comment explaining the reason for not doing that.

Pinging @sechkova for comment: there's probably a reason ngclient does this (considering legacy client does not do this), happen to remember what it is?

From what I remember, the only reason was a different reading of the spec. The author of https://github.com/theupdateframework/specification/issues/177 has very well described the possible interpretations.
Given that skipping "role" is simpler and there seems to be an agreement that it is a correct way of implementing it, I am not against doing the change.

Could you please assign that to me ;)

Let's do as the old client does and skip a role (node on the graph).
As discussed in theupdateframework/specification#177 this is

the literal reading of the specification
the simpler and practical solution for single-role delegations and python-tuf does not support multi-role delegations at this point.

Can I take this?


Split val ==0 but se != 0

Doesn't split, matrix non inv. rate or log odds

Hi @saalUW and @AHsu98, this is an interesting case. Currently we mark this as illegal
https://github.com/ihmeuw-msca/pyDisagg/blob/main/src/pydisagg/ihme/splitter.py#L132
Along with #53, I am curious what makes this happen. For example, if the value to be split is prevalence and is 0, it means that there are 0 cases in the population they are considering, how do they measure se?


Punkduck devel

I did a lot of changes to allow loading a material of an existent asset and create a new material. I also did some bugfixes (including small things like there is no lit_eye or to load a texture from a subdirectory of an asset). I added a way to present makehuman internal material data in node editor (more or less for debugging) which can be switched on or off. When a material is loaded, the buttons are set accordingly. The tool now works similar to makeclothes. Litspheres are handled correctly now. Tags, name, author, description also.
I added a new method to write the material, so that there is no difference between writing it from makeskin itself or from makeclothes. So I changed the interface and therefore the version number ...
Because of the interface I will create a pull request for makeclothes as well
For details see commit commands.

Looking at this, I like the changes. However, it also breaks MPFB when the "makeskin" checkbox is checked there. This is because the method assignAsNodesMaterialForObj() has changed number of parameters.
Since plugins are built automatically nightly, we should probably merge the necessary changes at the same time so MakeSkin and MPFB downloaded on the same day are compatible.
This is the bottom of the stack trace we get when trying to import in MPFB with makeskin checked in settings:
  File "/home/joepal/.config/blender/2.83/scripts/addons/MH_Community/mh_sync/import_proxy_binary.py", line 248, in gotFaceUVMappings
    self.afterMeshData()
  File "/home/joepal/.config/blender/2.83/scripts/addons/MH_Community/mh_sync/import_proxy_binary.py", line 374, in afterMeshData
    FetchServerData('getProxyMaterialInfo', self.gotProxyMaterialInfo, expectBinary=False, params={ "uuid": self.proxyInfo["uuid"] })
  File "/home/joepal/.config/blender/2.83/scripts/addons/MH_Community/mh_sync/fetch_server_data.py", line 8, in __init__
    self.executeJsonCall(expectBinaryResponse=expectBinary, params=params)
  File "/home/joepal/.config/blender/2.83/scripts/addons/MH_Community/mh_sync/sync_ops.py", line 19, in executeJsonCall
    self.callback(json_obj)
  File "/home/joepal/.config/blender/2.83/scripts/addons/MH_Community/mh_sync/fetch_server_data.py", line 14, in callback
    self.readyFunction(json_obj.data)
  File "/home/joepal/.config/blender/2.83/scripts/addons/MH_Community/mh_sync/import_proxy_binary.py", line 415, in gotProxyMaterialInfo
    createMakeSkinMaterial(matname, obj=self.obj, materialSettingsHash=data, importBlendMat=True, onlyBlendMat=self.blendMat)
  File "/home/joepal/.config/blender/2.83/scripts/addons/MH_Community/mh_sync/material.py", line 100, in createMakeSkinMaterial
    mat = mhmat.assignAsNodesMaterialForObj(obj)
TypeError: assignAsNodesMaterialForObj() missing 1 required positional argument: 'obj'

This is from a quick look at it from my side. It is also possible I'm misunderstanding something here.


fix(charts): allow "" for Values.s3.accesskey|secretkey for helm3

Allows values file to work the same as with helm2:
s3:
  # Your AWS access key. Leave it empty if you want to use IAM credentials.
  accesskey: ""
  # Your AWS secret key. Leave it empty if you want to use IAM credentials.
  secretkey: ""

Thanks @kingdonb

Thanks! ref: Masterminds/sprig#219 - there is probably a better way to handle this, but it looks like this is a sprig problem that sprig did not create, and may not be inclined to solve either. (The crazy incantation works, and it makes sense in a way.)


Console colors are lost during watching (Windows)

System: Windows 10, 64bit
I have ILogger that prints colors by default e.g. fail is red when ran like dotnet run but the colors stops working if I run it in watch mode dotnet watch run

Known issue see https://github.com/dotnet/cli/issues/1977#issuecomment-227214885
Should be fixed in the latest CLI, or one that will be built soon


Support For Asymmetric Signatures on Client Libraries

Hi,
I'm hoping to use Standard Webhooks for an internal project at Supabase. I was glancing through the repository after reading the specification and noticed that the JavaScript and Go libraries currently use symmetric verification and signing and that there doesn't seem to be an implementation for asymmetric verification and signing via ed25519 as per spec.
Can I check if this is something that's on the roadmap within the next three weeks and/or something that the committee would be open to accepting contributions on?
Let me know

Thanks for opening this ticket! Yeah, it's waiting on #34 which may require a tiny improvement before it goes into the libs.

Hey @tasn,
Wanted to check in and see where we've landed with respect to the recommended signing method for asymmetric signatures. If it'd be at all helpful I'm happy to help with the implementation of the client library bindings if it would move things along.
Lmk!

Sorry, I still haven't gotten to it. Adding a calendar block for myself for this week.


Add regex support

having regex will enable more powerful text filtering and replacement.
regex will allow a generic solution to #129

Is this now included?

read the wiki pages. yup regex is available (from v0.2.5 onwards). that's why this issue is closed.
i made a release on github, and also announced in telegram channel.
see https://github.com/aahnik/tgcf/discussions/2 and https://github.com/aahnik/tgcf/discussions/212


Main to live

Docs Build status updates of commit 9076444:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

globalization/localizability/ui-considerations.md
:white_check_mark:Succeeded
View

globalization/reference/index.md
:white_check_mark:Succeeded
View

globalization/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel