Issue/issue 299

Issue 299 Part I (PdfMiner)
This PR is part I of #299 -> Heap out of memory in Pdminer extraction & dumppdf extraction.
Changes:

Use of xml-stream to read xml pdfminer output file
Pdfs will be extracted using slots of 500 pages
Allow node objects to be up to 4Gb in memory using --max-old-space-size=4096 (Temporally fix)

Improvements:

Better feedback running huge documents (Logs will be displayed every 500 pages)
Faster extraction time using PdfMnier + Xml-Stream

TODO:

Fix  'dumppdf.py' Heap out of memory

xml2js vs xml-stream
17 min VS 9 min

Nice :-)

The description of this PR has a typo PdfMnier.
How was the value of 500 determined/optimized (the batch size for PDF parsing)?
Once you have done this effort, to split it in smaller batches, I would think that taking e.g. 100 pages per batch (instead of 500) would further reduce the risk for out-of-memory ?
Maybe making it a config parameter can resolve my question (then a user can further reduce it, if 500 or 100 is still too large for certain Use Cases?)

Nice :-)

The description of this PR has a typo PdfMnier.
How was the value of 500 determined/optimized (the batch size for PDF parsing)?
Once you have done this effort, to split it in smaller batches, I would think that taking e.g. 100 pages per batch (instead of 500) would further reduce the risk for out-of-memory ?
Maybe making it a config parameter can resolve my question (then a user can further reduce it, if 500 or 100 is still too large for certain Use Cases?)

Hi @peter-vandenabeele-axa and thanks for your feedback !! 👍
I used 500 pages because after a lot of tests with some pdfs is the bigger number of pages supported with no 'out of memory' and no '--max-old-space-size' committed here
Our goal is allow Parsr to run properly with huge Pdfs (2K pages or more) and avoid '--max-old-space-size' usage.
But anyway adding 'batch max pages'  in configuration file has a lot of sense!

I used 500 pages because after a lot of tests with some pdfs is the bigger number of pages supported with no 'out of memory' and no '--max-old-space-size' committed here
Our goal is allow Parsr to run properly with huge Pdfs (2K pages or more) and avoid '--max-old-space-size' usage.
But anyway adding 'batch max pages' in configuration file has a lot of sense!

Yes, I would suggest so. I am a bit afraid that other users or use cases will pop up where the "complexity per page" will be larger, so it will get OOM at smaller amount of pages.
I vaguely remember this in real life when a physical printer would drop a PDF print job at a very small number of pages (10 or so), e.g. when the PDF was full of large, detailed images that consumed a lot of MB's per image.


Broken Link

Hi there. This project is amazing!
Just wanted to mention that one of the links in the README does not work
http://zmicron.itkd.ru/
Thanks

Fixed.


add pkgconf package

Currently still a draft, turns out it's installable on Windows too so I'll need to add Windows support to the pacakge.

I see passing Windows CIs!


V2.6 is displayed as V2.5

Homeassistent shows V2.5 in the Integration-Info panel, but V2.6 is installed.
I'm quite sure that V2.6 is active, as the Battery% next to the Device name is the SOC of the Main Battery...

Thanks for reporting. That indeed is an error in the release.


Couldn't trigger keyboard typing via Earlgrey2

I'm trying to add UI auto test case via Google's Earlgrey2, but it seems a lot like that we couldn't trigger that keyboard.
What it supposed should be show as follows:

And the following step is type the first element in the bar (And it should be Heyday in this case).
I modified the code base slightly to make it clickable.
struct DemoListItem: View {

    init(_ image: Image? = nil, _ text: String, _ rightImage: Image? = nil, _ ident: String = "0") {
        ...
        self.ident = ident
    }

    ...
    private let ident: String

    var body: some View {
        HStack {
            ...
            Text(text).accessibility(identifier: self.ident)

And the HomeScreen.kt:
struct HomeScreen: View {
    var body: some View {
                    ...
                    NavigationLink(destination: EditScreen(appearance: .default)) {
                        DemoListItem(.type, "Type in a regular text field", nil, "txtReg")
                    }
                    NavigationLink(destination: EditScreen(appearance: .dark)) {
                        DemoListItem(.type, "Type in a dark text field", nil, "txtDark")
                    }
                }

And eventually the DemoUITests.swift:
import XCTest

class DemoUITests: XCTestCase {
    func testExample() throws {
        let app = XCUIApplication()
        app.launch()

        EarlGrey.selectElement(with: grey_accessibilityID("txtDark"))
            .perform(grey_tap())

        EarlGrey.selectElement(with: grey_keyWindow()).perform(grey_typeText("hey"))

        sleep(10)
    }
}

Well, it looks like:

As the gif show as above, we miss the candidates and the bar atop the keyboard.
Just wondering if anything that I had missed in the case?

Recently I found that we could use another mock app to test the keyboard by Earlgrey2, as in https://github.com/google/EarlGrey/issues/1625

@danielsaidi , this project is really awesome, let me know if I could help to improve it(Like by adding Unit test cases and UI test cases.)

Hi @liweijian - nice that is sorted itself out! I have worked on some other issues and published a new version yesterday and was going to look at this today :)
Also really happy to hear that you like the library and would like to help. I’d like all the help I can get, eg more tests, looking at issues,  ideas for better readme content etc etc :)


Add technology badges to projects page using bootstrap badges

Add technology badges to projects page using bootstrap badges. See below for an example.
{% if projects.tech %}

Technologies

  {% for tech in projects.tech %}
  {{ tech }}
  {% endfor %}
{% endif %}

Added in #33


A Logging Platform

Mainly:

Ingest from sources as fast and much as possible
Clustered
Saves and dont lose data
Save to multiple locations
Retrieval via API and a minimal frontend

Should also be able to ingest efficiently, see https://www.reddit.com/r/golang/comments/18myioy/best_approach_to_ingest_a_large_5gb_json_file/

Complete with aws style, generic style live tailing (aws seems to use a wss endpoint)


sendPhoto doesn't possible with node-rest-client?

As can I see, at this moment multipart file uploads doesn't supported in node-rest-client (https://github.com/aacerox/node-rest-client/issues/73). Does there any other way to sendPhoto from bot? :confused:

Fixed in 0.3.0. Refer to examples folder.


added Fibonacci number generator procedures

This file contains 3 procedures for generating Fibonacci numbers.

the first one is recursive,
the second one is iterative-recursive (tail-call),
the last is iterative using a while loop.

Thanks @M-CS-ME for the addition!
Could you add some tests in test/math.jl?
It is something we want to ask in the guideline for contribution, but unfortunately, we haven't written things yet.

As we don't have answer from @M-CS-ME at the moment, this PR becomes low priority.
Documentation and tests are required. Will make it draft for now.

@M-CS-ME Hello. How is your progress of this PR? Sorry for the ping.

This is almost two months old. I think we should close the PR (the branch is still alive anyway, and we can always resurrect the PR).
What do you think @uncomfyhalomacro @Panquesito7 ?


Delete index buffer

Currently, this index buffer is not deleted either on app destroy or context loss.
We should probably have a Tangram::teardown to deallocate statically instantiated resources like this shared index buffer.

Seems to work. This is probably a reasonable way to handle the shared buffer; the only other approach I could think of is to create a static object representing the shared buffer whose destructor calls gl delete, but I don't think that's strictly better.
If you're done with this I'll merge it!

Yep, will do a quick rebase on this.


Update CodeGenerationService.java for improve prompt

Update CodeGenerationService.java for improve prompt

Thank you for the merge request. I was busy with an other project and just now was able to test your prompt. It is an improvement. I have adapted it to work with Java.


Let's just assume it's not,


Add model attribute to TLMOptions

Include new model attribute for TLMOptions. this parameter is a string value that's not required, and defaults to "gpt-3.5-turbo-16k" , with another option to set it to "gpt-4"
import NotRequired, TypedDict from typing_extensions, becauseNotRequired was introduced in python 3.11

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Luke Mainwaring seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[core] Add a comment to explain useEnhancedEffect

See https://github.com/mui/mui-toolpad/pull/2671#discussion_r1328078673
also, consider renaming this hook to something more descriptive. e.g. I've seen other libraries use useIsomorphicLayoutEffect.

It's being redefined in some of the docs examples, e.g. https://github.com/mui/material-ui/blob/135d00a4091b3d9ff867ec8488a5a64aa5d33d21/docs/data/joy/customization/theme-colors/RemoveActiveTokens.js#L26. Perhaps this should also import the @mui/utils one? (The usage here seems a bit funky as well)

@Janpot @mui/utils is private today, we can't use it in the demos: https://www.notion.so/mui-org/mui-utils-purpose-9a9fc9da3a004864b6c4e1f4d1f24f95.

also, consider renaming this hook to something more descriptive. e.g. I've seen other libraries use useIsomorphicLayoutEffect.

This makes sense to me though not easy to change. To keep in sync with https://github.com/mui/material-ui/blob/89635d1dd83b9533e5853a287df014f10f07f90f/.eslintrc.js#L123.


Add cmd management to http.py

About this pull request
This is needed because previously utils.manage_commands functions were used in auto_register and auto_delete and those functions created an aiohttp session for each function, which to quote aiohttp's docs "making a session for every request is a very bad idea."
This creates functions in http.SlashCommandRequest that use discord's session to make requests.
Changes
Adds add_slash_command, remove_slash_command, get_all_commands and command_request to SlashCommandRequest
Changes register_all_commands and delete_unused_commands to use the new functions.

[x] I checked this pull request runs on Python 3.6.X.
[ ] This fixes something in Issues.

Issue:

[ ] This adds something new.
[ ] There is/are breaking change(s).
[x] (If required) Document string is updated/added.
[ ] This changes anything except python code. (README, docs, etc.)

Leaving this as a external comment since it requires a lot of changes.
We already have discord client object. So we just can get bot's id as self._discord.user.id and remove all bot_id param.

Leaving this as a external comment since it requires a lot of changes.
We already have discord client object. So we just can get bot's id as self._discord.user.id and remove all bot_id param.

I did notice that, but i thought that because all the other functions in SlashCommandRequest took bot_id as a parameter i assumed that i should for these functions.
I've:

Remove bot_id parameter from all functions in SlashCommandRequest
Updated all places where http functions were called
Removed bot_id from SlashMessage as it was only used for http functions

I did notice that, but i thought that because all the other functions in SlashCommandRequest took bot_id as a parameter i assumed that i should for these functions.
I've:

Remove bot_id parameter from all functions in SlashCommandRequest
Updated all places where http functions were called
Removed bot_id from SlashMessage as it was only used for http functions

I did notice that, but i thought that because all the other functions in SlashCommandRequest took bot_id as a parameter i assumed that i should for these functions.

Oh, I thought I fixed that, but seems like I completely forgotten about it. Apology for that.
Anyways looks fine now. Merging this pull request, thank you for contributing!

I did notice that, but i thought that because all the other functions in SlashCommandRequest took bot_id as a parameter i assumed that i should for these functions.

Oh, I thought I fixed that, but seems like I completely forgotten about it. Apology for that.
Anyways looks fine now. Merging this pull request, thank you for contributing!


Consider adding rootvalue in options

Now, we have to use like this:
var processed = pixrem.process(css, '20px', {browsers: 'ie >= 9'});

What about something like:
var processed = pixrem.process(css, {rootValue: '20px', browsers: 'ie >= 9'});

Is it more consistent ? Does it provide better integration with other modules ?

:+1: how else are we supposed to configure it with, say, cssnext? We need this in options!

:+1: Yes, we need this option in cssnext!

Fixed in<EMAIL_ADDRESS>


Fields validation performed even on disabled functionality (and related fields...)

Expected Behaviour
Default values should be used for all options. Field validation on disabled option should NOT be performed.
Actual behaviour
When you try to save the system ask for all fields to be fulfilled even if those fields are not used because the function switch is OFF.
Reproduce steps

Try on a new site to save cart settings. Without touching tip related options.
The system will ask for tip percentage (TIP is OFF!)

Version
v.3.0.4-beta.24.2

Possible solution:
To dynamically enable fields validation based on main functionality switch.
i.e. Tip OFF validation of field_tip_percentage OFF
Tip ON validation of field_tip_percentage ON
And so on...
Tmp solution:
Make sure all fields have default values

Fixed


Feature Request: Option to list Followed Games

Hello Bastimeyer....fantastic work on the app so far mate! Just wanted to request a feature....in addition to the followed channels list, how about a way to list the games we're following? That would be awesome, since I often have to refer to the Twitch website in order to see which of my followed games are being played. Furthermore, Twitch is now acting up, and not show all my followed games, only ones that have a minimum of around 20 viewers. Not sure why it;s doing this, but its very annoying. If we could have this option built into Livestreamer-GUI that would be wonderful!
Anyway thanks and keep up the good work :)

Hi, thanks!
This was already requested in #31... See my answer to this https://github.com/bastimeyer/livestreamer-twitch-gui/issues/31#issuecomment-66801786
I'll have a look into this when I'm done with channel pages, vods and stream/vod download.

Thanks for the reply Sebastian. OK sounds good my friend :)
Just out of curiosity, what are "vods" and "stream/vod download"?

vod

Video on demand (past broadcasts and highlights of a channel)...

stream/vod download

Saving streams or VODs to the filesystem instead of passing it to the videoplayer (or do both at the same time).


Testing: disable maintainerd as a whole

disable maintainerd as a whole

The maintainers of this repo require that all pull request submitters agree and adhere to the following:

[x] I have read and agree to the contribution guidelines.
(required)
[x] All related documentation has been updated to reflect the changes made. (required)
[x] My commit messages are cleaned up and ready to merge. (required)

It seems there is no way to stop the semver check except

fix maintainerd (depends on @divmain)
stop the maintainerd bot (also needs @divmain)

Hope that the message You must select a semantic version will go away in future PRs once this is merged.

Oops, it should be meant to push to master directly.


Interpretation of the MK/platelet component

For component that picks out platelet/MK related genes, which subset of cells are being picked out? Not a processing batch/pool issue, when investigating the raw data for mean expression of these genes picked out, no apparent difference is found in disease status, even when "gated out" most highly weighted cells for this component.

One thought—it might help to look at the actual raw data (in X.raw in the AnnData object) rather than the batch corrected data. If this signal differs by processing batch like the authors suggested, then this might explain why you don't see an obvious trend in your plots. Pf2 could still be picking up this signal because batch correction is never perfect.


MAXO:0035102	water deprivation test

MAXO:0035102	water deprivation test
The water deprivation test, also known as the indirect water deprivation test should potentially be able to distinguish the various forms of DI. Deprivation of water intake should allow patients with primary polydipsia to concentrate their urine while those with central or nephrogenic DI continue to excrete dilute urine. Administration of desmopressin (Deamino-8-D-arginine vasopressin), the synthetic analogue of AVP, after water deprivation should help with differentiating patients with central DI from those with nephrogenic DI as the former should be able to concentrate the urine once the deficient action of AVP is replaced with desmopressin, while the latter should not show a significant response due to end-organ resistance to the action of AVP or its analogues. PMID:30779536

added via template


Getters and setters for SvgPath fillerColor and linerColor

I noticed that fillerColor and linerColor are not accessible and added getters and setters as I needed it for my own project. My usecase involves creating patterns with different colors using an svg as a template for a pattern and found oksvg to be really useful with these added functions.
I did not see any contribution guidelines but thought these functions might be useful for others. Let me know if there is anything I need to change and if you would like me to add tests for these.

Sure, why not. If you find it useful someone else may also.
In general I'm not a huge fan of getters and setters, because I think they can bloat the code somewhat. I tend to just expose the variables with capitalization, and let the user beware.
Thanks for your help.


Adding a About Us Page

We can have a page about us where contributors can add their details and name with a small image.
If this sounds good, please assign this to me.

My bad this issue is already present.


⚠ Bofrost.es has degraded performance

In b27e60c, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1617 ms

Resolved: Bofrost.es performance has improved in a71d1dc after 13 minutes.


Improvement in Home Page 4, 5, 6

Fixes #177
The following issues are resolved

The bold test needs to be pointer type and must redirect to the home page.
The moving cards under INITIATIVES sections need to be pointer type while hovering
The CSS of JOIN US button is not matching with the rest of the buttons.

Screenshots:
1.

Nice work Shreya!

@smaranjitghose Thankyou so much ☺


support to config CRD resource dynamicly

Issue Description
some CRD resource must have to config its related resouce dynamicly before running, like resouceID that is automatically generated or some metadata.
for example:
i install openebs and choose CStor as my storage engine. after set up OpenEBS , i also need to Create cStor storage pools and cStor storage classes. after that ,the new cluster has persist storage ability .
install steps:
https://docs.openebs.io/docs/next/ugcstor-csi.html#creating-cstor-storage-pools
Type: feature request
Describe what feature you want
Additional context
Add any other context or screenshots about the feature request here.

openebs team will fix it https://github.com/openebs/cstor-operators/issues/374.close this one.


Cleanup ElevationProvider interface

The ElevationProvider interface carries methods which only make sense for certain implementations. We should move all methods except for getEle(double, double) into a fitting abstract baseclass for file/tile based providers.

Based on @easbar draft in https://github.com/graphhopper/graphhopper/pull/2373#issuecomment-887282112
public interface ElevationProvider {

    double getEle(double lat, double lon);

    default double getEle(ReaderNode node) {
         return getEle(node.getLat(), node.getLon());
    }

    boolean isInterpolating();
}

Yes. We might need void release() as well. Maybe canInterpolate instead of isInterpolating? And regarding the other setters I wonder why they even should be setters, they could just be constructor parameters. Anyway the most important part is cleaning up the interface.

I'd rather replace release() with extending the AutoCloseable interface.

Ok, but maybe this is something for another issue, because we do not do this for our other resources (DataAccess etc.) yet either.


github-cloud.s3.amazonaws.com timeout when installing snippets plugin

Description of the problem or steps to reproduce
I don't know if it's a temporary Github server issue, but I got this timeout error after trying to install the snippets plugin:
Get https://github-cloud.s3.amazonaws.com/releases/69469787/bcb19d0a-8c0c-11e6-8483-245d56be5d71.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20170228%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170228T182017Z&X-Amz-Expires=300&X-Amz-Signature=7ed5204a32ee939c36d836bc16085e2b25f6e6dd2efe08b93ef4a813d78bbe54&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B filename%3Dsnippets_0.1.2.zip&response-content-type=application%2Foctet-stream: dial tcp <IP_ADDRESS>:443: i/o timeout
I was able to install it on my office's machine few hours ago.
Version: 1.1.4
Commit hash: 5dc8fe4
OS: OSX Sierra
Terminal: Default

I'm also unable to download builds from github-cloud.s3.amazonaws.com.
It appears the servers are down: https://www.theregister.co.uk/2017/02/28/aws_is_awol_as_s3_goes_haywire/
Not a Micro issue.

Thanks for replying. I was suspecting it ;)

Amazon AWS Technicians right now:


Provide option to upload videos/screenshots as Artifacts

Hello! This is rad, I'm excited to try it out! One thing I've played with in my own usage of Cypress + Actions is uploading the generated videos/screenshots as Artifacts, using actions/upload-artifact.
# Run the e2e tests (cypress run)
- run: npm run test:e2e
- uses: actions/upload-artifact@v1
  with:
    name: cypress-videos
    path: cypress/videos

This works great as-is, but when a step fails it doesn't move on to the next step, which would be uploading those videos. Workflows can leverage continue-on-error, but it gets weird pretty quickly (you need to capture the exit code to ensure a failed test run causes a failed Actions run).
This action looks like it would have more control over when/how the step exits, so it could make for a great addition!

yeah, I am not sure how to implement this - because screenshots could be generated on failure or normal run, and same for video. If anyone has a good idea how to do this (aside from using Cypress Dashboard with record: true parameter), I would be very interested

I've learned some new tricks since opening this - apparently, you can use if: always() to instruct a step to always run, regardless of whether or not the steps before it pass:
- uses: cypress-io/github-action
- uses: actions/upload-artifact@v1
  if: always()
  with:
    name: cypress-videos
    path: cypress/videos

So, I think that because actions/upload-artifact uses some special Actions magic, it might be better left to that two-step solution. However, I think it'd be a great addition to the docs for this repo; I've already been helped by being able to download the video recordings of a build in CI.

nice, you probably want to also upload cypress/screenshots as well - since they will have images generated by failed tests. I will add your suggestion as an example to the README

Thanks @bahmutov!


Synology docker edition without network

Please help me
I can't link the network to get media information with emby installed using groupware docker.
Device: synology 1621+
docker version: 20.10.3-1239
emby version: <IP_ADDRESS>

By the way, the emby in the Synology package version is networkable for media information.

Here are my parameters

Hi, I would suggest posting this in the Synology section of the community as there are more users there who can help you:
https://emby.media/community/index.php?/forum/153-synology/
Thanks.


Fix BrowseQueue isNotEmpty bug

Current Behavior
During a refactor a null check was turned in an not-empty (instead of empty) check.
Expected Behavior
A test + empty check
Environment Information
7.9 +

https://github.com/frankframework/frankframework/pull/7180/files#diff-0d49602b930a3209a80b3aff16b5fa4d00bf07b012b27578543cc7ca63ff1b6bR56-R58


[Firstboot] Retry Failed Git Clone

Cloning into 'picobrew_pico'...
fatal: unable to access 'https://github.com/chiefwigms/picobrew_pico.git/': Could not resolve host: github.com
/boot/firstboot.sh: line 63: cd: /picobrew_pico: No such file or directory
fatal: not a git repository (or any of the parent directories): .git
Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

For some reason during the initial boot with the raspberrypi image I've had 2 times in a row a failed git clone due to not able to resolve the host of github.com. Should we wait and retry this or is there something messed up with the DNS router on the image at the time git runs (maybe race condition caused by faster hardware if the image works on a rPi Zero W and not on a larger rPi 4)?

After initial boot these git commands are successful. Another option would be to add this into the rc-local.service we setup that does a git pull. This way if the directory doesn't exist it will be attempted later anyways upon a restart?

Attempt to fix this pushed in https://github.com/chiefwigms/picobrew_pico/pull/32 bringing back initial git clone as part of every boot sequence in the rc.local task

Every bootup sequence will attempt yet again to git clone instead of just the first time the device is booted with our image. If it errors out the first boot sequence simply wait for the forced restart to try again.
Only if upon that second reboot sequence this is still an issue please feel free to reopen with additional details from the syslog and firstboot.log files.


JSON text must be an object or array

hi, @ekfchan, @palakpsheth .
I'm trying to use FragileSiteRepair for the bionano data, but failed when running the following command：
perl /home/nyang/working/lchen/software/BNG-FragileSiteRepair/scoreStitchPositionsBED_v5.pl --bed /home/nyang/working/lchen/software/BNG-FragileSiteRepair/test/EXP_REFINEFINAL1_fragileSiteRepaired_stitchPositions.bed --xmap /home/nyang/working/lchen/software/BNG-FragileSiteRepair/test/alignref_final/EXP_REFINEFINAL1_fragileSiteRepaired_merged.xmap --qcmap /home/nyang/working/lchen/software/BNG-FragileSiteRepair/test/alignref_final/EXP_REFINEFINAL1_fragileSiteRepaired_merged_q.cmap --rcmap /home/nyang/working/lchen/software/BNG-FragileSiteRepair/test/alignref_final/EXP_REFINEFINAL1_fragileSiteRepaired_merged_r.cmap --alignmolxmap /home/nyang/working/lchen/software/BNG-FragileSiteRepair/test/alignmol/EXP_REFINEFINAL1_fragileSiteRepaired_merged_alignmol.xmap --alignmolrcmap /home/nyang/working/lchen/software/BNG-FragileSiteRepair/test/alignmol/EXP_REFINEFINAL1_fragileSiteRepaired_merged_alignmol_r.cmap --n 64 --output /home/nyang/working/lchen/software/BNG-FragileSiteRepair/test/scoreBED_new/ --fasta /home/nyang/working/lchen/software/bionano/data/hybrid_scaffold/Corn.Falcon.Arrow.Pilon.fasta --key /home/nyang/working/lchen/software/BNG-FragileSiteRepair/test/Corn.Falcon.Arrow.Pilon_GCTCTTC_key.txt
and here is the error messages:
Running on host: 183

Start time : 2017-06-21 08:57:42

8 stitch positions identified in /home/nyang/working/lchen/software/BNG-FragileSiteRepair/test/EXP_REFINEFINAL1_fragileSiteRepaired_stitchPositions.bed
Read in 176 alignments from /home/nyang/working/lchen/software/BNG-FragileSiteRepair/test/alignref_final/EXP_REFINEFINAL1_fragileSiteRepaired_merged.xmap
Read in 281232 molecule alignments from /home/nyang/working/lchen/software/BNG-FragileSiteRepair/test/alignmol/EXP_REFINEFINAL1_fragileSiteRepaired_merged_alignmol.xmap
Spent time reading input files : 9 seconds

Maximum CPU cores to use: 64

Thread 1 terminated abnormally: JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at /home/nyang/working/lchen/software/BNG-FragileSiteRepair/scoreStitchPositionsBED_v5.pl line 368.
Thread 2 terminated abnormally: JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at /home/nyang/working/lchen/software/BNG-FragileSiteRepair/scoreStitchPositionsBED_v5.pl line 368.
Thread 3 terminated abnormally: JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at /home/nyang/working/lchen/software/BNG-FragileSiteRepair/scoreStitchPositionsBED_v5.pl line 368.
Thread 4 terminated abnormally: JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at /home/nyang/working/lchen/software/BNG-FragileSiteRepair/scoreStitchPositionsBED_v5.pl line 368.
Thread 5 terminated abnormally: JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at /home/nyang/working/lchen/software/BNG-FragileSiteRepair/scoreStitchPositionsBED_v5.pl line 368.
Thread 6 terminated abnormally: JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at /home/nyang/working/lchen/software/BNG-FragileSiteRepair/scoreStitchPositionsBED_v5.pl line 368.
Thread 7 terminated abnormally: JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at /home/nyang/working/lchen/software/BNG-FragileSiteRepair/scoreStitchPositionsBED_v5.pl line 368.
Thread 8 terminated abnormally: JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at /home/nyang/working/lchen/software/BNG-FragileSiteRepair/scoreStitchPositionsBED_v5.pl line 368.

the code is:
my %bedEntry = %{decode_json($bedIn[$bedEntryCount])};
it seems like the formate of $bedIn[$bedEntryCount] is wrong(here is a string,not array or object?)?  I have check the value of $bedIn[$bedEntryCount], is a json format.
I have tried to debug it, but failed, hope can get some suggestions, and thanks in advance.

Hi @conniecl,
cc:   @AndyPang04215,  @bionanogenomics, @palakpsheth
Unfortunately, I am no longer maintaining this piece of software. Bionano has taken the software under their wings. Hopefully they will be able to work with you.
Please note I will be deleting this repository in the next few days.
All the best.


Format install instructions

The install instructions aren't easily copy-and-pasteable and $ are usually omitted anyways.

Thanks! That's helpful.


Authenticate with Vault using Kubernetes service accounts

Instead of using the initial root token. See: https://www.vaultproject.io/docs/auth/kubernetes/
This will require changing keystore-vault to renew the token periodically: https://www.vaultproject.io/api-docs/auth/token#renew-a-token

Actually, we still need Vault for session keys.


Wizard does not accept IPv6 DNS server addresses

Wizard does not accept IPv6 DNS server addresses.

According to #79 the wizard won't do any IPv6?

duplicate https://github.com/opnsense/core/issues/79


In the DebateController add to the resource '/debates/{userId}?tag=' the GET verb to Get list of all the debate topics corresponding to tags

e4eee2d5fa00ea86742639ed79f798a6917477d1


Update visualization.md

Traceback (most recent call last):
File "", line 1, in
from keras.utils import plot_model
ImportError: cannot import name plot_model

I can attest that it does work. Check out utils/__init__.py.


Spill test improvement and some cleanup

Add to cover spill injection on hash table build stage.
Replace spill() with testingRunArbitration() for spill injection
Remove the deprecated spill query config

Thanks LGTM


Push dialog selects all project repositories  by deafult, regardless Pycharm git settings

I'm using the plugin in PyCharm. While this plugin is active, the push dialog selects all repositories, no matters if pycharm settings chooses to work only with the repository applies to the selected files.
'execute branch operations on all roots' is not selected, still the push selects all roots.
If I disable the plugin, all is fine. Resolved the issue together with PYCharm support.
thanks

Duplicate of #182.


Country field: to autocomplete or to be a dropdown

Instead of Country full name and to make it clear the country names in English, I suggest we show the available choices as a dropdown

Work completed:
we decided to use the farm and location components, and it done at https://github.com/threefoldtech/tfgrid-sdk-ts/pull/1915
Investigation and Solution:
waiting for #1877 to avoid conflicts on nodes and farms pages

Work completed:
Applied for node finder
Investigation and Solution:
will add those fields to farm finder page

Work Completed:
we decided that the current logic will not scale as wanted, we drafted the old pr and now we are enhancing the filters, almost done.
Investigation and solution:

will apply the new filters to the dedicated machine page
add query route to the filter component

verified on devnet
version : 7b55dd4
countries are now drop down menu
verified scenarios, you can not insert an unknown or unrecognized name.
Screencast from 24 ينا, 2024 EET 07:34:51 ص.webm


Date Picker value not getting updated in backend table when in a table

im trying to get a datepicker column in demo70
datepicker.txt
but the value in the date picker is not getting updated in the table mt_table..
any idea why ??

i am not sure if this solves the problem, because it is a complex use case (aggregation + path etc) but you did not set the table to bind_edit, maybe this is one step closer to the solution?

oh sorry, i tried but it still not working..

solved by using displayFormat and valueFormat, to comply with abap dats format..
)->date_picker( value = {CREATE_DATE}  displayFormat = 'dd/MM/yyyy' valueFormat = 'yyyyMMdd' ).

Ah good to know! thank you for the information.


Read endpoint url from proper file

Fix #187

          15 Warnings

:warning:
src/Lib.hs#L253 - Found Reduce duplication
let finalRepositoryMapEntries
      = if _noIgnore noIgnoreFlag then repositoryMapEntries else
          repositoryMapEntries `filterRomeFileEntriesByPlatforms`
            ignoreMapEntries
let repositoryMap = toRepositoryMap finalRepositoryMapEntries
let reverseRepositoryMap
      = toInvertedRepositoryMap finalRepositoryMapEntries
let finalIgnoreNames
      = if _noIgnore noIgnoreFlag then [] else ignoreFrameworks

Why Not
Combine with src/Lib.hs:356:5

:warning:
src/Lib.hs#L272 - Found Reduce duplication
let filteredCurrentMapEntries
      = currentMapEntries `filterRomeFileEntriesByPlatforms`
          ignoreMapEntries
let currentFrameworks
      = concatMap (snd . romeFileEntryToTuple) filteredCurrentMapEntries
let currentFrameworkVersions
      = map (flip FrameworkVersion currentVersion) currentFrameworks
let currentInvertedMap
      = toInvertedRepositoryMap filteredCurrentMapEntries

Why Not
Combine with src/Lib.hs:392:15

:warning:
src/Lib.hs#L292 - Found Redundant bracket
if _noSkipCurrent noSkipCurrentFlag then
  (currentFrameworkVersions `filterOutFrameworksAndVersionsIfNotIn`
     finalIgnoreNames)
  else []

Why Not
if _noSkipCurrent noSkipCurrentFlag then
  currentFrameworkVersions `filterOutFrameworksAndVersionsIfNotIn`
    finalIgnoreNames
  else []

:warning:
src/Lib.hs#L916 - Found Reduce duplication
dwarfUUIDs <- dwarfUUIDsFrom (frameworkDirectory </> fwn)
maybeUUIDsArchives <- liftIO $
                        forM dwarfUUIDs $
                          \ dwarfUUID ->
                            runMaybeT $
                              do dwarfArchive <- exceptToMaybeT $
                                                   createZipArchive (bcSymbolMapPath dwarfUUID)
                                                     verbose
                                 return (dwarfUUID, dwarfArchive)
unless skipLocalCache $
  forM_ maybeUUIDsArchives $
    mapM $
      \ (dwarfUUID, dwarfArchive) ->
        maybe (return ()) liftIO $
          runReaderT <$>
            (saveBcsymbolmapToLocalCache <$> mlCacheDir <*> Just dwarfUUID <*>
               Just dwarfArchive
               <*> Just reverseRomeMap
               <*> Just fVersion
               <*> Just platform)
            <*> Just (cachePrefix, s, verbose)

Why Not
Combine with src/Lib.hs:1124:7

:warning:
src/Lib.hs#L951 - Found Reduce duplication
frameworkNameWithFrameworkExtension = appendFrameworkExtensionTo f
platformBuildDirectory
  = carthageArtifactsBuildDirectoryForPlatform platform f
frameworkDirectory
  = platformBuildDirectory </> frameworkNameWithFrameworkExtension
dSYMNameWithDSYMExtension
  = frameworkNameWithFrameworkExtension <> ".dSYM"
dSYMdirectory
  = platformBuildDirectory </> dSYMNameWithDSYMExtension
bcSymbolMapPath d
  = platformBuildDirectory </> bcsymbolmapNameFrom d

Why Not
Combine with src/Lib.hs:1031:3

:warning:
src/Lib.hs#L951 - Found Reduce duplication
frameworkNameWithFrameworkExtension = appendFrameworkExtensionTo f
platformBuildDirectory
  = carthageArtifactsBuildDirectoryForPlatform platform f
frameworkDirectory
  = platformBuildDirectory </> frameworkNameWithFrameworkExtension
dSYMNameWithDSYMExtension
  = frameworkNameWithFrameworkExtension <> ".dSYM"
dSYMdirectory
  = platformBuildDirectory </> dSYMNameWithDSYMExtension
bcSymbolMapPath d
  = platformBuildDirectory </> bcsymbolmapNameFrom d

Why Not
Combine with src/Lib.hs:1159:3

:warning:
src/Lib.hs#L1217 - Found Reduce duplication
saveBinaryToLocalCache lCacheDir versionFileBinary
  (prefix </> versionFileRemotePath)
  versionFileName
  verbose
liftIO $ saveBinaryToFile versionFileBinary versionFileLocalPath
sayFunc $
  "Copied " <> versionFileName <> " to: " <> versionFileLocalPath

Why Not
Combine with src/Lib.hs:1731:17

:warning:
src/Lib.hs#L1232 - Found Reduce duplication
versionFileName
  = versionFileNameForProjectName $ fst projectNameAndVersion
versionFileLocalPath = carthageBuildDirectory </> versionFileName
versionFileRemotePath = remoteVersionFilePath projectNameAndVersion

Why Not
Combine with src/Lib.hs:1746:3

:warning:
src/Lib.hs#L1333 - Found Reduce duplication
saveBinaryToLocalCache lCacheDir frameworkBinary
  (prefix </> remoteFrameworkUploadPath)
  fwn
  verbose
deleteFrameworkDirectory fVersion platform verbose
unzipBinary frameworkBinary fwn frameworkZipName verbose <*
  ifExists frameworkExecutablePath
    (makeExecutable frameworkExecutablePath)

Why Not
Combine with src/Lib.hs:1546:17

:warning:
src/Lib.hs#L1365 - Found Reduce duplication
let symbolmapLoggingName
      = fwn <> "." <> bcsymbolmapNameFrom dwarfUUID
let bcsymbolmapZipName d = bcsymbolmapArchiveName d version
let localBcsymbolmapPathFrom d
      = platformBuildDirectory </> bcsymbolmapNameFrom d

Why Not
Combine with src/Lib.hs:1577:21

:warning:
src/Lib.hs#L1375 - Found Reduce duplication
saveBinaryToLocalCache lCacheDir symbolmapBinary
  (prefix </> remoteBcSymbolmapUploadPathFromDwarf dwarfUUID)
  fwn
  verbose
deleteFile (localBcsymbolmapPathFrom dwarfUUID) verbose
unzipBinary symbolmapBinary symbolmapLoggingName
  (bcsymbolmapZipName dwarfUUID)
  verbose

Why Not
Combine with src/Lib.hs:1587:21

:warning:
src/Lib.hs#L1410 - Found Reduce duplication
saveBinaryToLocalCache lCacheDir dSYMBinary
  (prefix </> remotedSYMUploadPath)
  dSYMName
  verbose
deleteDSYMDirectory fVersion platform verbose
unzipBinary dSYMBinary dSYMName dSYMZipName verbose

Why Not
Combine with src/Lib.hs:1621:17

:warning:
src/Lib.hs#L1421 - Found Reduce duplication
frameworkZipName = frameworkArchiveName f version
remoteFrameworkUploadPath
  = remoteFrameworkPath platform reverseRomeMap f version
remoteBcSymbolmapUploadPathFromDwarf dwarfUUID
  = remoteBcsymbolmapPath dwarfUUID platform reverseRomeMap f version
dSYMZipName = dSYMArchiveName f version
remotedSYMUploadPath
  = remoteDsymPath platform reverseRomeMap f version
platformBuildDirectory
  = carthageArtifactsBuildDirectoryForPlatform platform f
dSYMName = fwn <> ".dSYM"
frameworkExecutablePath
  = frameworkBuildBundleForPlatform platform f </> fwn

Why Not
Combine with src/Lib.hs:1632:3

:warning:
src/Lib.hs#L1463 - Found Use lambda-case
\ e ->
  case e of
      ErrorGettingDwarfUUIDs -> sayFunc $
                                  "Error: Cannot retrieve symbolmaps ids for " <> fwn
      (FailedDwarfUUIDs dwardUUIDsAndErrors) -> mapM_ (sayFunc . snd)
                                                  dwardUUIDsAndErrors

Why Not
\case
    ErrorGettingDwarfUUIDs -> sayFunc $
                                "Error: Cannot retrieve symbolmaps ids for " <> fwn
    (FailedDwarfUUIDs dwardUUIDsAndErrors) -> mapM_ (sayFunc . snd)
                                                dwardUUIDsAndErrors

:warning:
src/Lib.hs#L1675 - Found Use lambda-case
\ e ->
  case e of
      ErrorGettingDwarfUUIDs -> sayFunc $
                                  "Error: Cannot retrieve symbolmaps ids for " <> fwn
      (FailedDwarfUUIDs dwardUUIDsAndErrors) -> mapM_ (sayFunc . snd)
                                                  dwardUUIDsAndErrors

Why Not
\case
    ErrorGettingDwarfUUIDs -> sayFunc $
                                "Error: Cannot retrieve symbolmaps ids for " <> fwn
    (FailedDwarfUUIDs dwardUUIDsAndErrors) -> mapM_ (sayFunc . snd)
                                                dwardUUIDsAndErrors

  Generated by :no_entry_sign: Danger


[TASK] Add Bridge Hubble SideMenuBar

Implement the SideMenuBar for Hubble Bridge, similar to Hubble Bridge.
Example (from Hubble Stats)

@monaiuu maybe you can add more context and design for this
Mentioned here!

Yes let me get that to you today. Will share figma files for responsive breakpoints for Hubble Bridge & wrap/unwrap UI.

Handoff
Please reference to below for the responsive views for Hubble Bridge. It should behave similarly in the wrap/unwrap UI. I think it might be helpful to add the top nav and side nav responsiveness into storybook for consistency across dapps. (Adding device variants -> tablet & mobile)
Hubble Bridge: Figma Link
Design System: Figma Link
Screenshots


Audit logs not showing

After bot online when I set audit channel it says successfully set audit channel but then it not showing any logs in audit channel! Help me how to fix it ?

Fixed :)

Fixed :)


Pleasant Password Server

What is the vendor's name?
Pleasant
What is the vendor's pricing site?
https://pleasantsolutions.com/passwordserver/purchase?users=5&tier=A
What is the base pricing? Use the lowest tier that looks sane for a small business customer, not free or personal tiers.
$406 for 5 employee "enterprise" license.
What is the minimum pricing for SSO support?
$755, for a 5 employee Enterprise+SSO license.
Does this pricing info come from a quote or other non-public source?
No
Are there any caveats we should list in the footnotes?

Given this is now unmaintained, there is now a fork that we're hoping to keep maintained via community participation.  If this is still the case with this vendor, would you please submit a fresh issue with current pricing details to that repository?

Actual link: https://github.com/stopthessotax/sso-wall-of-shame


Include md output: cli, search commands

Related to #3754

Update the documentation to include the md output for all the commands under the service:

cli documentation location
search documentation location

You can reference the commands planner plan and planner bucket. They are already contain the Markdown reponse in their documentation.
For more information what guidelines to follow, be sure to check out the epic issue #3754

Can I work on this task?

Sure, thank you @Saurabh7019!


Chromium based browsers dont open up and screen starts to flicker

Hi,
I have installed xrdp on Kali WSL on Windows 11, the issue I am facing with xRDP is that whenever I open any chromium based browser i.e chrome, chromium, brave, etc the browser GUI doesnt show up, the tab shows in the tab bar but it doesn't maximize.
To add fuel to fire, the laptop screen starts to flicker a lot.
I dont know what relevant information do you want from me. Let me know if I can provide any other information regarding environment. I have faced this issue on Windows 10 and Windows 11 WSL.

Hi @njmulsqb
Can you tell us what the output of xrdp -v is?
Also, can you try running the session but selecting an Xvnc session type instead. You will need to install the tigervnc-standalone-server package to do this if it isn't installed already.

The output of xrdp -v is as follows:
└─$ xrdp -v
xrdp 0.9.19
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2020 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --enable-ipv6
      --enable-jpeg
      --enable-fuse
      --enable-rfxcodec
      --enable-opus
      --enable-painter
      --enable-vsock
      --build=x86_64-linux-gnu
      --prefix=/usr
      --includedir=${prefix}/include
      --mandir=${prefix}/share/man
      --infodir=${prefix}/share/info
      --sysconfdir=/etc
      --localstatedir=/var
      --disable-silent-rules
      --libdir=${prefix}/lib/x86_64-linux-gnu
      --libexecdir=${prefix}/lib/x86_64-linux-gnu
      --disable-maintainer-mode
      --disable-dependency-tracking
      --with-socketdir=/run/xrdp/sockdir
      build_alias=x86_64-linux-gnu
      CFLAGS=-g -O2 -ffile-prefix-map=/build/xrdp-Zpw7E1/xrdp-0.9.19=. -fstack-protector-strong -Wformat -Werror=format-security
      LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed
      CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2
      PKG_CONFIG_PATH=/build/xrdp-Zpw7E1/xrdp-0.9.19/pkgconfig

  Compiled with OpenSSL 3.0.7 1 Nov 2022

I configured tigervnc and connected via it but this is just showing black screen

Also when screen starts to flicker, it doesnt only flickers the rdp session but it flickers the screen of host machine as well.

Are you logged in to the same account on the console and on the xrdp session?
That won't work properly - see https://github.com/neutrinolabs/xrdp/wiki/Tips-and-FAQ#why-cant-i-log-the-same-user-on-on-the-graphical-console-and-over-xrdp-at-the-same-time

Referring to my previous comment, can you make sure both the xrdp session and the console (i.e. the host machine) are logged out?
Then log in on just the xrdp session and see what happens.

Yes I verified that.
The issue still exists

It looks like there may be (or may have been) some issues running chrome in this way.
https://askubuntu.com/questions/1048723/google-chrome-can-not-start-under-vnc-ubuntu-18-04
Try the following:-

Make sure console is logged out
Using ps -ef and kill make sure any background copies of the browser are removed.
Try running the browser from the command line with the --disable-gpu switch.

@njmulsqb - did you have a try at the above link?

Thanks.


Support multiple spaces after tag name

According to the parser at https://aydenh.ca/hbml/,

HBML
HTML

b { "foo" }
foo

b  { "foo" }

foo

I'd expect the two inputs to be equivalent.

I'll check this against the latest version, the parser on the site is out of date.

as per current commit, this isn't an issue and works as expected


calico-csi 3.24.5 exec /usr/local/bin/csi-driver: exec format error

Calico CSI Error while updating to 3.24.5
exec /usr/local/bin/csi-driver: exec format error
The error occurs on one node
OS - Ubuntu 22.04.1 LTS (5.15.0-60-generic)
Containerd 1.6.16
Other servers have the same operating system version.

When I manually revert version 3.24.3 - everything works.

Hello. I've deleted image from node
crictl --runtime-endpoint unix:///run/containerd/containerd.sock rmi docker.io/calico/csi:v3.24.5
Image was downloaded again..
And csi driver was started!
Thanks a lot, have a nice day.


Create a ball which the pet can play with.

Add a ball to the room which has physics interactions with the pet. For simplicity, restrict the ball to a 2d axis since the pet sprite is 2d.

Acceptance Criteria:

The ball does not have faulty physics interactions with the room
The ball should stop due to friction after a duration.
The ball should have a fitting texture applied to it.


Clear in integrated console does not remove scroll bar

VSCode Version: 1.14.2
OS Version: Linux Mint 18.1 64bit

Steps to Reproduce:

Open integrated console
Enter commands until scroll bar appears on right hand side
Run clear command in terminal to clear

Reproduces without extensions: Yes
Issue:
When using the integrated console and you use the clear command the console scroll bar does not go away and is like it was before running the clear command.

I believe this is already fixed, can you see if you can reproduce in the Insiders build?


Verify that json output is always recursively sorted

This may already be done, but verify with some tests.
Goal is to facilitate git revisioning of dashboards. Also include sorting of the json.dumps data within some of the object types.
json.dumps(d, sort_keys=True)

The dumps function is using sort_keys, but the original list is out of order. Use sort with key on each document's _id.


Remove create-react-app dependency from ESLint to use up-to-date configs

Motivation and Context

taking a dependency on create-react-app's shared ESLint config prevents us from updating any of the shared plugins (e.g. @typescript-eslint/eslint-plugin) when there is a major version update. this dependency isn't very useful either, since the config that's applied is mostly stuff we're already doing anyway.
Description

.eslintrc.cjs, updated to include:

the missing env portion from the base CRA config.
the strict-type-checked and stylistic-type-checked shared configs.

settings.json: removed unneeded ESLint settings.
package.json: removed eslintConfig option so that the .cjs file is the source of truth.
all other files: fixed violations

Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows the Contribution Guidelines and the pre-submission formatting script raises no violations
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

need to fix new violations


⚠ Bofrost.at has degraded performance

In 2f27581, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1567 ms

Resolved: Bofrost.at performance has improved in b8a82e9.


How to resume tiling terrain after stopping

Hi @BWibo,
I am tiling a slightly large area with 77 .tif files (around 70GB). However, the power in the lab was out yesterday and hence led to shutting down the tiling at the level 18.
The current terrain tiles at level 18 have 4500+ .terrain files and I am sure it has not been finished yet. So, is it possible to resume the tiling instead of starting it from scratch again? Because it has already taken more than 30 hours to get these .terrain files at level 18.
Looking forward to your reply and thanks in advance!
Oliver

According to this, ctb-tile comes with a resume option (-R). Please report if this is working for you.
Closing, as this is an issue of ctb-tile and not the Docker image maintained in this repo.

Thank you very much. I will try it and report the result when facing the same problem.


No commits link

comes up as null null
Screenshot below as example

EDIT
I should add that is WITH the new "enhancement"
with it disabled it looks normal with commits in the old spot just like it always was

Yeah, I know. As I said here, this issue is caused by the new "Latest commit design update"-feature. But it's still optional and didn't leave preview stage, so master-branch doesn't support, cause master-branch targets the actual GitHub state.
Take a look at #7, I've already prepared the script to this update, so latest-commit-design-update-branch just waits to be merged with master, and I'll do it when update will be finally released.
Until that happens, you have 2 options:

You can simply disable this optional preview
Or you can build latest-commit-design-update and use it. But I don’t see any sense in this, since the page will still look the same as if you just clicked the Disable button on the Feature preview menu.

Don’t worry, I always keep the script up to date, so the script will always keep the GitHub interface "in touch" :)

I'll leave this issue (as well as #7) open until the update to make sure that everything is ok

gotcha, didn't realize it was the same issue... I do wonder one thing, release count is 0 but I know cxbx-reloaded has several when you click releases..not a big deal, but it might throw some off thinking there is no release...could be their "Pre-release" listing throwing it off I suppose

@medievil1, yep, as you can see here:

GitHub doesn't treat pre-releases as releases, so original interface wouldn't show them either. In case you propose to display the number of tags as the number of releases: tags are more general thing, 'cause every release is a tag, but not every tag is release.


Annotate sha_SSSE3.d to please dlang/dmd#12520

Part of #8076

It's very unfortunate that our CI pipeline depends on diagnostic tools that keep breaking in expected ways. This makes it very difficult to be productive. For instance:
generated/dscanner-9364d6f15f4a610fda49a693dbc18608bfc701bb/dsc --config .dscanner.ini --styleCheck etc std -I.
--

std/internal/digest/sha_SSSE3.d(206:62)[warn]: Parameter insn32 is never used.

at
https://buildkite.com/dlang/phobos/builds/5474#b4491b19-2dc5-4462-a564-de190f4535c0
The only reasonable way forward is to only depend on diagnostics available in dmd. If checking for unused variables is really needed implement it in the compiler.

Well, the warning is correct and would've been raised by dmd as well. Remove the identifier of the unused parameter

Well, the warning is correct and would've been raised by dmd as well. Remove the identifier of the unused parameter.
EDIT: W.r.t. the unpredictable, DScanner was able to figure out that both parameters can be used depending on the version - dmd most likely won't be able to do that given how it treats version conditions

Thanks, that's good. I see now that I can run dscanner locally.
Is make style the preferred entrypoint?


fix: update gcp references

📝 Summary

PR #2162 moved the location of the GCP files. This PR adjusts sources to changes.
🔍 Description of Changes

📋 Checklist

[x] I have read the contributor guidelines.
[ ] For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
[ ] I have added tests for the changes made.
[ ] I have run the code and verified that it works as expected.

📜 Reviewers

@akshayka OR @mscolnick

I have read the CLA Document and I hereby sign the CLA


Adding New Column to Table - "no such column" error

Make sure these boxes are checked before submitting your issue - thank you!

[x ] I have checked the superset logs for python stacktraces and included it here as text if any
[x ] I have reproduced the issue with at least the latest released version of superset
[x ] I have checked the issue tracker for the same issue and I haven't found one similar

I am trying to add a column to my table that calculates the running total of another column. I followed the instructions listed on the FAQ for adding a new column to a table, but I receive the error pasted below
Superset version
0.20.4
Expected results
My table has a column that contains the cumulative sum of another column
Actual results
I receive this error:
(sqlite3.OperationalError) no such column: encounter.sum_penta1 [SQL: 'SELECT CAST((SUM(encounter.sum_penta1) - SUM(encounter.pentavalent_dose_3)) as float) / CAST(SUM(encounter.pentavalent_dose_1) as float) AS "Penta 1 to Penta 3 Dropout",\n CAST((SUM(encounter.pentavalent_dose_1) - SUM(encounter.measles_mr_dose_1)) as float) / CAST(SUM(encounter.pentavalent_dose_1) as float) AS "Penta 1 to Measles Dropout",\n SUM(encounter.pentavalent_dose_1) AS sum__pentavalent_dose_1,\n SUM(encounter.pentavalent_dose_3) AS sum__pentavalent_dose_3,\n SUM(encounter.measles_mr_dose_1) AS sum__measles_mr_dose_1\nFROM encounter\nWHERE encounter_date >= '2017-06-08 00:00:00.000000'\n AND encounter_date <= '2017-06-10 00:00:00.000000'\nORDER BY sum__pentavalent_dose_1 DESC\nLIMIT 50000\nOFFSET 0']
Steps to reproduce
run any query in a slice that contains a metric that includes my new column

sqlite3 thinks otherwise :)

I followed the steps listed in your FAQ on how to add a new column, but it is not getting added

Note that your SQL expression (let's call that a virtual column) can only reference physical columns in the table, not other Superset virtual columns


Fix CVE counts in Clusters with Most CVEs widget for updated Vuln Mgmt

Description
Final cleanup with Postgres ON for the CLUSTERS WITH MOST ORCHESTRATOR & ISTIO VULNERABILITIES widget on the VM dashboard
Checklist

[ ] Investigated and inspected CI test results

Testing Performed
Verified that CI passes with feature flags OFF, too.
Manual testing

/retest


EasyCLA System Email - Send Email When Branch Protection is Adjusted/Disabled from GH Admin

Summary
EasyCLA System Email - Send Email When Branch Protection is Adjusted/Disabled from GH Admin
Background
The stakeholders want the EasyCLA system to send an email to the Project Managers when a GitHub Organization Owner/Admin adjusts or disables the branch protection settings on a given repository.
Tasks

[ ] Identify if the EasyCLA bot can register for callbacks when GH Admins adjust the branch protection security posture
[ ] If so, update the EasyCLA callback code to handle branch protection associated events. If the changes impact the branch protection security posture, send an email to the Project Managers informing them of the changes.

User Story
As an EasyCLA Project Manager, I want the EasyCLA system to notify me when the branch protection settings are modified on my repository.
Assumptions

[] The EasyCLA GitHub bot can notify the EasyCLA system when GH admins make changes to the branch protection settings.

Acceptance Criteria
The "done" criteria when this feature or problem is resolved. Such as:

Unit Tests added and running in CI
Functional Tests updated to cover feature, if applicable
Demonstrate the set of capabilities to the product team while the code is running in the STAGING environment.

References
(Optional) Provide any code or specification references that would be helpful for the developer implementing this feature.

We are unable to trap for the appropriate events from GitHub at this time - the events are not sent.


Synchronous server nap

Synchronous servers sometimes take a nap on Mac (or on Linux without epoll). They have work to do but they're not doing it until another alarm times out. This issue has been observed in C++ but I believe that it stems from handling in core. This issue tracks the investigation and resolution of this nap problem.

I believe I am seeing this same problem with the Ruby interop server on Linux. To reproduce it, run
ruby src/ruby/bin/interop/interop_server.rb --use_tls=true --port 7070

(port number arbitrarily chosen)
Then run the following command twice:
tools/run_tests/run_interop_tests.py -l node ruby c++ python csharp php --override_server ruby=localhost:7070 --use_docker -t -j 8

All or almost all of the tests pass in the first run, and all of the tests time out in the second run. Using gdb, I can confirm that after the first run, the server has a single thread blocked on poll with grpc_completion_queue_pluck in the stack trace, and that that instance of grpc_completion_queue_pluck never returns. In addition, at the end of the first run of tests, the server always outputs the following log lines:
E1021 13:35:46.125181984   29590 handshake.c:186]            Read failed.
E1021 13:35:46.125207022   29590 server_secure_chttp2.c:155] Secure transport failed with error 2

I can now confirm that even in C++ we can sometimes trigger the behavior like Ruby where the test hangs forever rather than just napping.

Escalating to P0.


Redesigned Files UWP menu with a corner.

Describe the solution you'd like
Files UWP menu with a corner will be great. It will look good.

@seohyun1108 Can you please update your proposal with more details on what you would like to see?

Like that! (Sorry, I'm not good at drawing)
Menu with a corner.
And, I think it will be beautiful if the settings button become like it. (No "Settings" letter, only an icon)

something like this?

The requested design looks nice, but I believe that rounded corners would break out with based Windows style.

Yes! I like it!

A rounded corner design wouldn't look too good in this case unless the actually window was rounded as well.

@yaichenbaum It's not possible to round a UWP window.

@yaichenbaum It's not possible to round a UWP window.

Correct.

I think Microsoft is developing UWP round windows, so maybe later this can be happen.


Enforce Cspell en_US Check

Resolves #421

The cspell config on CI should match the config on the lint-staged commit hook.


faust: 2.0.a51 -> 2.1.0

Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

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

@FRidh Is this package OK now?

Pushed d454675ef6e6d06a933ce471c3ff69643138a1a8.

@FRidh Thanks, I missed that.


pod stuck in ContainerCreating: Node 'aks-nodepool1-40942288-vmss000007' is not online

Describe the bug
A clear and concise description of what the bug is.

application is stuck in ContainerCreating state:

Events:
  Type     Reason              Age                  From                     Message
  ----     ------              ----                 ----                     -------
  Normal   Scheduled           3m41s                default-scheduler        Successfully assigned default/statefulset-azuredisk-maya-8 to aks-nodepool1-40942288-vmss000007
  Warning  FailedMount         99s                  kubelet                  Unable to attach or mount volumes: unmounted volumes=[persistent-storage], unattached volumes=[persistent-storage kube-api-access-k2tf7]: timed out waiting for the condition
  Warning  FailedAttachVolume  89s (x9 over 3m41s)  attachdetach-controller  AttachVolume.Attach failed for volume "pvc-6b52f456-9323-403a-848a-323906be7490" : rpc error: code = Internal desc = Operation failed: GenericOperation("error in response: status code '412 Precondition Failed', content: 'RestJsonError { details: \"Node 'aks-nodepool1-40942288-vmss000007' is not online\", kind: FailedPrecondition }'")

And how can I get rid of this? node aks-nodepool1-40942288-vmss000007 is actually heathy
# k get no
NAME                                STATUS   ROLES   AGE    VERSION
aks-nodepool1-40942288-vmss000003   Ready    agent   28d    v1.22.6
aks-nodepool1-40942288-vmss000007   Ready    agent   8d     v1.22.6
aks-small-15774340-vmss000000       Ready    agent   7d4h   v1.22.6
aks-small-15774340-vmss000001       Ready    agent   7d4h   v1.22.6
aks-store-37972342-vmss000000       Ready    agent   25h    v1.22.6

also node aks-nodepool1-40942288-vmss000007 is not in storage pool

# kubectl -n mayastor get msp
NAME                                 NODE                                STATUS    CAPACITY       USED          AVAILABLE
aks-nodepool1-40942288-vmss000003    aks-nodepool1-40942288-vmss000003   Unknown   0              0             0
aks-small-15774340-vmss000000        aks-small-15774340-vmss000000       Online<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>
aks-small-15774340-vmss000000-lun0   aks-small-15774340-vmss000000       Online<PHONE_NUMBER>96<PHONE_NUMBER>0<PHONE_NUMBER>6
aks-store-37972342-vmss000000        aks-store-37972342-vmss000000       Online<PHONE_NUMBER>96<PHONE_NUMBER>0<PHONE_NUMBER>6

# kubectl get pods -n mayastor
NAME                              READY   STATUS             RESTARTS        AGE
core-agents-7c6694489-bdjg6       1/1     Running            0               19m
csi-controller-6c87d77649-28qfc   3/3     Running            0               8m26s
init-openebs-env-9ndcx            1/1     Running            0               24h
init-openebs-env-q6ggq            1/1     Running            0               24h
init-openebs-env-tbnkh            1/1     Running            0               24h
mayastor-csi-kjdcl                2/2     Running            0               8d
mayastor-csi-nm5r7                2/2     Running            0               7d4h
mayastor-csi-rm6dd                2/2     Running            0               25h
mayastor-csi-rn9wz                2/2     Running            0               8d
mayastor-csi-rs4zv                2/2     Running            0               7d4h
mayastor-etcd-0                   0/1     CrashLoopBackOff   6 (2m42s ago)   9m55s
mayastor-etcd-1                   1/1     Running            0               8d
mayastor-etcd-2                   1/1     Running            0               2d21h
mayastor-f8t2z                    1/1     Running            0               7d4h
mayastor-kdflr                    1/1     Running            0               7d4h
mayastor-zs7qw                    1/1     Running            0               25h
msp-operator-778d68bdcc-n59n4     1/1     Running            0               8d
nats-0                            2/2     Running            0               8d
nats-1                            2/2     Running            0               19m
nats-2                            2/2     Running            0               2d21h
rest-665b775f8b-zm2hw             1/1     Running            0               8d

To Reproduce
Steps to reproduce the behavior:
I followed the steps here: https://mayastor.gitbook.io/introduction/quickstart/deploy-mayastor
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
** OS info (please complete the following information):**

Distro: [e.g. NixOS]
Kernel version
MayaStor revision or container image

Additional context
Add any other context about the problem here.

Hi @andyzhangx ! I can see that one of the etcd pods are in crashloopbackoff. Can you please describe that pod and paste the events here?

Hi @andyzhangx ! I can see that one of the etcd pods are in crashloopbackoff. Can you please describe that pod and paste the events here?

@wrtabhi611 the etcd pod is crashing on node vmss000003, and the above error msg is related to node vmss000007:
# k describe po mayastor-etcd-0 -n mayastor
Name:         mayastor-etcd-0
Namespace:    mayastor
Priority:     0
Node:         aks-nodepool1-40942288-vmss000003/<IP_ADDRESS>
Start Time:   Thu, 23 Jun 2022 13:35:41 +0000
Labels:       app.kubernetes.io/instance=mayastor
              app.kubernetes.io/managed-by=Helm
              app.kubernetes.io/name=etcd
              controller-revision-hash=mayastor-etcd-f4d8c6bdb
              helm.sh/chart=etcd-6.2.3
              statefulset.kubernetes.io/pod-name=mayastor-etcd-0
Annotations:  <none>
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  StatefulSet/mayastor-etcd
Init Containers:
  volume-permissions:
    Container ID:  containerd://0f6bc7bfc8a18018892dc531ad7f7150798fc01f6b0826cccf0480b9a773bcc0
    Image:         docker.io/bitnami/bitnami-shell:10
    Image ID:      docker.io/bitnami/bitnami-shell@sha256:224cd3433fabd3a7ac0b2c3b2b7a342ca65fa0c9a74bc9d8311f622ebd00ddb3
    Port:          <none>
    Host Port:     <none>
    Command:
      /bin/bash
      -ec
      chown -R 1001:1001 /bitnami/etcd

    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Thu, 23 Jun 2022 13:35:42 +0000
      Finished:     Thu, 23 Jun 2022 13:35:42 +0000
    Ready:          True
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /bitnami/etcd from data (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gw8mn (ro)
Containers:
  etcd:
    Container ID:   containerd://0ec2e972d1fddf4b564d5fa75afdd1a212be701ff3a3e940a9561ab00563592e
    Image:          docker.io/bitnami/etcd:3.4.15-debian-10-r43
    Image ID:       docker.io/bitnami/etcd@sha256:e38d9f2facec186c09c33e28455e97156ea45d5c299d348a1b0676784c293d75
    Ports:          2379/TCP, 2380/TCP
    Host Ports:     0/TCP, 0/TCP
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error
      Exit Code:    1
      Started:      Mon, 27 Jun 2022 05:04:45 +0000
      Finished:     Mon, 27 Jun 2022 05:04:56 +0000
    Ready:          False
    Restart Count:  998
    Liveness:       exec [/opt/bitnami/scripts/etcd/healthcheck.sh] delay=60s timeout=5s period=30s #success=1 #failure=5
    Readiness:      exec [/opt/bitnami/scripts/etcd/healthcheck.sh] delay=60s timeout=5s period=10s #success=1 #failure=5
    Environment:
      BITNAMI_DEBUG:                     false
      MY_POD_IP:                          (v1:status.podIP)
      MY_POD_NAME:                       mayastor-etcd-0 (v1:metadata.name)
      ETCDCTL_API:                       3
      ETCD_ON_K8S:                       yes
      ETCD_START_FROM_SNAPSHOT:          no
      ETCD_DISASTER_RECOVERY:            no
      ETCD_NAME:                         $(MY_POD_NAME)
      ETCD_DATA_DIR:                     /bitnami/etcd/data
      ETCD_LOG_LEVEL:                    info
      ALLOW_NONE_AUTHENTICATION:         yes
      ETCD_ADVERTISE_CLIENT_URLS:        http://$(MY_POD_NAME).mayastor-etcd-headless.mayastor.svc.cluster.local:2379
      ETCD_LISTEN_CLIENT_URLS:           http://<IP_ADDRESS>:2379
      ETCD_INITIAL_ADVERTISE_PEER_URLS:  http://$(MY_POD_NAME).mayastor-etcd-headless.mayastor.svc.cluster.local:2380
      ETCD_LISTEN_PEER_URLS:             http://<IP_ADDRESS>:2380
      ETCD_INITIAL_CLUSTER_TOKEN:        etcd-cluster-k8s
      ETCD_INITIAL_CLUSTER_STATE:        new
      ETCD_INITIAL_CLUSTER:              mayastor-etcd-0=http://mayastor-etcd-0.mayastor-etcd-headless.mayastor.svc.cluster.local:2380,mayastor-etcd-1=http://mayastor-etcd-1.mayastor-etcd-headless.mayastor.svc.cluster.local:2380,mayastor-etcd-2=http://mayastor-etcd-2.mayastor-etcd-headless.mayastor.svc.cluster.local:2380
      ETCD_CLUSTER_DOMAIN:               mayastor-etcd-headless.mayastor.svc.cluster.local
    Mounts:
      /bitnami/etcd from data (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gw8mn (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  data:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  data-mayastor-etcd-0
    ReadOnly:   false
  kube-api-access-gw8mn:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason   Age                        From     Message
  ----     ------   ----                       ----     -------
  Warning  BackOff  3m14s (x23938 over 3d15h)  kubelet  Back-off restarting failed container

etcd pod logs

^[[38;5;6metcd ^[[38;5;5m05:04:45.93 ^[[0m^[[1mWelcome to the Bitnami etcd container^[[0m
^[[38;5;6metcd ^[[38;5;5m05:04:45.94 ^[[0mSubscribe to project updates by watching ^[[1mhttps://github.com/bitnami/bitnami-docker-etcd^[[0m
^[[38;5;6metcd ^[[38;5;5m05:04:45.94 ^[[0mSubmit issues and feature requests at ^[[1mhttps://github.com/bitnami/bitnami-docker-etcd/issues^[[0m
^[[38;5;6metcd ^[[38;5;5m05:04:45.94 ^[[0m
^[[38;5;6metcd ^[[38;5;5m05:04:45.94 ^[[0m^[[38;5;2mINFO ^[[0m ==> ** Starting etcd setup **
^[[38;5;6metcd ^[[38;5;5m05:04:45.95 ^[[0m^[[38;5;2mINFO ^[[0m ==> Validating settings in ETCD_* env vars..
^[[38;5;6metcd ^[[38;5;5m05:04:45.95 ^[[0m^[[38;5;3mWARN ^[[0m ==> You set the environment variable ALLOW_NONE_AUTHENTICATION=yes. For safety reasons, do not use this flag in a production environment.
^[[38;5;6metcd ^[[38;5;5m05:04:45.96 ^[[0m^[[38;5;2mINFO ^[[0m ==> Initializing etcd
^[[38;5;6metcd ^[[38;5;5m05:04:45.96 ^[[0m^[[38;5;2mINFO ^[[0m ==> Detected data from previous deployments
^[[38;5;6metcd ^[[38;5;5m05:04:56.25 ^[[0m^[[38;5;2mINFO ^[[0m ==> Member ID wasn't properly stored, the member will try to join the cluster by it's own
^[[38;5;6metcd ^[[38;5;5m05:04:56.26 ^[[0m^[[38;5;2mINFO ^[[0m ==> ** etcd setup finished! **

^[[38;5;6metcd ^[[38;5;5m05:04:56.27 ^[[0m^[[38;5;2mINFO ^[[0m ==> ** Starting etcd **
2022-06-27 05:04:56.288132 I | pkg/flags: recognized and used environment variable ETCD_ADVERTISE_CLIENT_URLS=http://mayastor-etcd-0.mayastor-etcd-headless.mayastor.svc.cluster.local:2379
2022-06-27 05:04:56.288216 I | pkg/flags: recognized and used environment variable ETCD_AUTO_TLS=false
2022-06-27 05:04:56.288226 I | pkg/flags: recognized and used environment variable ETCD_CLIENT_CERT_AUTH=false
2022-06-27 05:04:56.288235 I | pkg/flags: recognized and used environment variable ETCD_DATA_DIR=/bitnami/etcd/data
2022-06-27 05:04:56.288379 I | pkg/flags: recognized and used environment variable ETCD_INITIAL_ADVERTISE_PEER_URLS=http://mayastor-etcd-0.mayastor-etcd-headless.mayastor.svc.cluster.local:2380
2022-06-27 05:04:56.288394 I | pkg/flags: recognized and used environment variable ETCD_INITIAL_CLUSTER=mayastor-etcd-0=http://mayastor-etcd-0.mayastor-etcd-headless.mayastor.svc.cluster.local:2380,mayastor-etcd-1=http://mayastor-etcd-1.mayastor-etcd-headless.mayastor.svc.cluster.local:2380,mayastor-etcd-2=http://mayastor-etcd-2.mayastor-etcd-headless.mayastor.svc.cluster.local:2380
2022-06-27 05:04:56.288400 I | pkg/flags: recognized and used environment variable ETCD_INITIAL_CLUSTER_STATE=new
2022-06-27 05:04:56.288473 I | pkg/flags: recognized and used environment variable ETCD_INITIAL_CLUSTER_TOKEN=etcd-cluster-k8s
2022-06-27 05:04:56.288492 I | pkg/flags: recognized and used environment variable ETCD_LISTEN_CLIENT_URLS=http://<IP_ADDRESS>:2379
2022-06-27 05:04:56.288540 I | pkg/flags: recognized and used environment variable ETCD_LISTEN_PEER_URLS=http://<IP_ADDRESS>:2380
2022-06-27 05:04:56.288551 I | pkg/flags: recognized and used environment variable ETCD_LOG_LEVEL=info
2022-06-27 05:04:56.288603 I | pkg/flags: recognized and used environment variable ETCD_NAME=mayastor-etcd-0
2022-06-27 05:04:56.288614 I | pkg/flags: recognized and used environment variable ETCD_PEER_AUTO_TLS=false
2022-06-27 05:04:56.288687 W | pkg/flags: unrecognized environment variable ETCD_TRUSTED_CA_FILE=
2022-06-27 05:04:56.288702 W | pkg/flags: unrecognized environment variable ETCD_ON_K8S=yes
2022-06-27 05:04:56.288706 W | pkg/flags: unrecognized environment variable ETCD_SNAPSHOTS_DIR=/snapshots
2022-06-27 05:04:56.288711 W | pkg/flags: unrecognized environment variable ETCD_BIN_DIR=/opt/bitnami/etcd/sbin
2022-06-27 05:04:56.288768 W | pkg/flags: unrecognized environment variable ETCD_VOLUME_DIR=/bitnami/etcd
2022-06-27 05:04:56.288773 W | pkg/flags: unrecognized environment variable ETCD_ROOT_PASSWORD=
2022-06-27 05:04:56.288821 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_DOMAIN=mayastor-etcd-headless.mayastor.svc.cluster.local
2022-06-27 05:04:56.288831 W | pkg/flags: unrecognized environment variable ETCD_DISASTER_RECOVERY=no
2022-06-27 05:04:56.288837 W | pkg/flags: unrecognized environment variable ETCD_KEY_FILE=
2022-06-27 05:04:56.288842 W | pkg/flags: unrecognized environment variable ETCD_DAEMON_GROUP=etcd
2022-06-27 05:04:56.288891 W | pkg/flags: unrecognized environment variable ETCD_START_FROM_SNAPSHOT=no
2022-06-27 05:04:56.288897 W | pkg/flags: unrecognized environment variable ETCD_INIT_SNAPSHOT_FILENAME=
2022-06-27 05:04:56.288942 W | pkg/flags: unrecognized environment variable ETCD_INIT_SNAPSHOTS_DIR=/init-snapshot
2022-06-27 05:04:56.288952 W | pkg/flags: unrecognized environment variable ETCD_BASE_DIR=/opt/bitnami/etcd
2022-06-27 05:04:56.288959 W | pkg/flags: unrecognized environment variable ETCD_CERT_FILE=
2022-06-27 05:04:56.289006 W | pkg/flags: unrecognized environment variable ETCD_NEW_MEMBERS_ENV_FILE=/bitnami/etcd/data/new_member_envs
2022-06-27 05:04:56.289016 W | pkg/flags: unrecognized environment variable ETCD_DAEMON_USER=etcd
[WARNING] Deprecated '--logger=capnslog' flag is set; use '--logger=zap' flag instead
2022-06-27 05:04:56.289090 I | etcdmain: etcd Version: 3.4.15
2022-06-27 05:04:56.289137 I | etcdmain: Git SHA: aa7126864
2022-06-27 05:04:56.289141 I | etcdmain: Go Version: go1.12.17
2022-06-27 05:04:56.289145 I | etcdmain: Go OS/Arch: linux/amd64
2022-06-27 05:04:56.289198 I | etcdmain: setting maximum number of CPUs to 2, total number of available CPUs is 2
2022-06-27 05:04:56.289293 N | etcdmain: the server is already initialized as member before, starting as etcd member...
[WARNING] Deprecated '--logger=capnslog' flag is set; use '--logger=zap' flag instead
2022-06-27 05:04:56.289597 I | embed: name = mayastor-etcd-0
2022-06-27 05:04:56.289607 I | embed: data dir = /bitnami/etcd/data
2022-06-27 05:04:56.289611 I | embed: member dir = /bitnami/etcd/data/member
2022-06-27 05:04:56.289615 I | embed: heartbeat = 100ms
2022-06-27 05:04:56.289619 I | embed: election = 1000ms
2022-06-27 05:04:56.289623 I | embed: snapshot count = 100000
2022-06-27 05:04:56.289632 I | embed: advertise client URLs = http://mayastor-etcd-0.mayastor-etcd-headless.mayastor.svc.cluster.local:2379
{"level":"info","ts":1656306296.2900934,"caller":"netutil/netutil.go:112","msg":"resolved URL Host","url":"http://mayastor-etcd-0.mayastor-etcd-headless.mayastor.svc.cluster.local:2380","host":"mayastor-etcd-0.mayastor-etcd-headless.mayastor.svc.cluster.local:2380","resolved-addr":"<IP_ADDRESS>:2380"}
{"level":"info","ts":1656306296.2901475,"caller":"netutil/netutil.go:112","msg":"resolved URL Host","url":"http://mayastor-etcd-0.mayastor-etcd-headless.mayastor.svc.cluster.local:2380","host":"mayastor-etcd-0.mayastor-etcd-headless.mayastor.svc.cluster.local:2380","resolved-addr":"<IP_ADDRESS>:2380"}
2022-06-27 05:04:56.302168 C | etcdmain: member 482c4e3b4b340c15 has already been bootstrapped

@andyzhangx did you label the node vmss000007 using the below command?
kubectl label node <node_name> openebs.io/engine=mayastor

@wrtabhi611 thanks, that solve the problem.


Parasite loads within seasons

Evaluating cumulative abundance/prevalence/etc of sea lice is interesting, but I would also be curious to compare parasite loads within seasons. If we were to break up the seasons into biweekly or monthly segments, we could look at how sea lice abundance etc varies within the season. Based partly on when a fish is passing through this area, its potential exposure to lice will vary, which might be important for stocks with different migration timing.
Given that fish migrating timing is likely shifting with climate change, I would be curious to see if/how temporal parasite loading is also shifting.
This is likely too detailed an analysis for the report.

I don't think there's sufficient data within (recent) seasons to look at this with enough power


check storage alignment for entt::any

There's currently an issue with storing over-aligned types in_situ with std::any.
The practical example was glm::vec3 with intrinsics enabled. It has alignof(glm::vec3) == 16 and its copy-constructor generated with optimizations in gcc was a single movqda.
Regardless of changes to add an optional alignment requirements to the std::any storage, the in-situ check should take alignment into consideration.
i.e. something like
static constexpr bool in_situ = Len && alignof(Type) <=  alignof(storage_type) && sizeof(Type) <= sizeof(storage_type) && std::is_nothrow_move_constructible_v<Type>;

instead of just
https://github.com/skypjack/entt/blob/6d3857f33700b1ed8bd34e254bd567f86a10171a/src/entt/core/any.hpp#L31
That should be enough for power-of-two alignments. I don't know if npot alignments are a thing, but I think I'd rather throw a static assert in that case instead of supporting that.

the in-situ check should take alignment into consideration.

Wouldn't this force dynamic allocations in though? This way we get proper alignment but we cannot rely on the in-situ storage, that is instead a nice-to-have feature for optimizations.

Yes it would. But I just thought I'd primarily address correctness concerns in the issue.
When I typed "Regardless of changes to add an optional alignment requirements to the std::any storage" I meant what you said in the gitter chat. Adding an additional align non-type template parameter to basic_any would allow users to store over-aligned types in entt::any if they configure it properly. (at the expense of additional memory required to keep alignment)

I think that (but I'm open to feedback, since I'm not that used to this kind of things) the latter is probably the right thing to do. That is, to mimic std::aligned_storage rather than to try to intercept over-aligned types.
As for getting around the in-situ storage, you can already do this: using over_aligned_any = entt::basic_any<0u>. It forces dynamic allocations in all cases.

Another (uglier) option is making SBO aligned at 16. With the default size, it will work quite nicely.

Another (uglier) option is making SBO aligned at 16. With the default size, it will work quite nicely.

Yes that's what I did to hot-fix it locally. But not the best general solution.

the latter is probably the right thing to do

Both is the only reasonable answer in my opinion. The first thing (consider alignment with in_situ check) addresses correctness concerns.
The second one (let users control default alignment) allows users to trade off memory to store over-aligned types in situ as well.
Just doing the second one will still allow people to run into bugs.

Is it possible to have a small reproducible test that doesn't require to include glm?
I'd like to include it to the testsuite in order to avoid regressions in future.

Or I guess it's better to just check successive elements.
So it doesn't fail the static assert on working implementations, but does fail on broken implementations 100% of the time
#include <type_traits>
#include <cassert>

#include <entt/entt.hpp>

constexpr size_t overalignment = 64;

using any_type = entt::basic_any<overalignment>;

struct alignas(overalignment) overAligned {
    overAligned(){assert((uintptr_t)this%overalignment == 0);}
    overAligned(const overAligned& ) noexcept {assert((uintptr_t)this%overalignment == 0);}
    overAligned(overAligned&& ) noexcept {assert((uintptr_t)this%overalignment == 0);}
};

int main(int argc, char** argv) {
    any_type target[2];
    target[0] = overAligned{};
    target[1] = overAligned{};
    return 0;
}

Isn't this enough too to reproduce the error?
struct alignas(64u) over_aligned {};
entt::basic_any<alignof(over_aligned)> instance{over_aligned{}};
ASSERT_TRUE((reinterpret_cast<std::uintptr_t>(entt::any_cast<over_aligned>(&instance)) % 64u) == 0u);

Isn't this enough too to reproduce the error?

In most cases it probably is. The issue is just when there's a single allocation then it might just by chance (or with different compile flags) fall on the right alignment. So testing 2 contiguously stored objects should make it fail more reliably than just one instance.

@skypjack  as for the implementation of the alignment. Wouldn't something like
// std::min(Len,alignof(double[2])) might not be constexpr in all implementations
template<std::size_t Len, std::size_t Align = (Len<=alignof(double[2])?Len : alignof(double[2]))>
class basic_any {

be preferable to the version. Because it makes the default value more explicit and makes it clear that is is only one value
template<std::size_t Len, std::size_t... Align>
class basic_any {

Mmm... you're not wrong, though I'm scared (or tempted, it depends on the point of view) by the implementation-defined nature of the Align parameter of std::aligned_storage that may also support extended alignment and the like. I'd prefer to keep the built-in value when an user defined one isn't available.

@skypjack  that's a valid concern, maybe template<std::size_t Len, std::size_t Align = alignof(aligned_storage<Len + !Len>::type)> would be a possibility

🤔 this makes sense actually.


Enable ISIG control mode of termios after exit

How to reproduce?

Run the emulation.

$ make check

Terminate the emulation via keyboard CTRL + a + x.

Run some shell interactive program (e.g., cat).

$ cat

Try to terminate the shell interactive program (e.g., cat) via keyboard CTRL + c.
The SIGINT cannot be caught and propagate to the cat process. Example output:

$ cat
apple
apple
^C^C^C^C^C

This patch fix this issue.

Thank @ChinYikMing for contributing!


ASCII control characters/sequences in WSL Ubuntu

Environment
Windows build number: Microsoft Windows [Version 10.0.18363.535]
Windows Terminal version (if applicable): Version: 0.7.3451.0

Any other software?
Ubuntu: 18.04.3 LTS
Python: 3.6
VIT: 2.0

Steps to reproduce

Install Ubuntu 18.04.3 LTS from Microsoft Store
Install Task Warrior
Install VIT 2.0 (which is using the SI control character for formatting)

Expected behavior
The SI character would render properly instead of an empty rectangle.
Actual behavior
The attached screenshot shows how the Shift In control character is rendering in WSL Ubuntu, specifically inside of Vit  which is written in Python running in Windows Terminal. The font in use is Ubuntu Mono.
SI (0x0F, ^O) activates the G0 character set;
Source
I am not sure if this is a WSL issue, a Terminal issue, a code page issue, a font issue, or a Python issue. I am hoping someone more knowledgeable can comment on whether this is a fundamental limitation of WSL's support of control characters or if this can be resolved by changing a setting. I have tried numerous monospace fonts without any luck.

Thank you.

This sounds like a /dupe of #3487