NOT EXISTS as part of a WHERE clause does not filter matched pattern

Hi,
Maybe its an issue with my query, with the binding or something else. I've created a query that follows a nested SPARQL query transpiled to Cypher. Below you see two cypher statements and the difference is in the WHERE clause.
Query that works as expected:
SELECT * FROM ag_catalog.cypher('spcustom', $$
MATCH (class)-[{iri:'http://www.w3.org/2000/01/rdf-schema#subClassOf'}]->({iri:'http://xmlns.com/foaf/0.1/Document'})
MATCH (document)-[{iri:'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'}]->(class)
MATCH (document)-[{iri:'http://purl.org/dc/terms/issued'}]->(yr)
MATCH (document)-[{iri:'http://purl.org/dc/elements/1.1/creator'}]->(author)
MATCH (author)-[{iri:'http://xmlns.com/foaf/0.1/name'}]->(name)
OPTIONAL MATCH (class2)-[{iri:'http://www.w3.org/2000/01/rdf-schema#subClassOf'}]->({iri:'http://xmlns.com/foaf/0.1/Document'}), (document2)-[{iri:'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'}]->(class2), (document2)-[{iri:'http://purl.org/dc/terms/issued'}]->(yr2), (document2)-[{iri:'http://purl.org/dc/elements/1.1/creator'}]->(author2)
WHERE coalesce(yr2.iri, yr2.bnid, yr2.value) < coalesce(yr.iri, yr.bnid, yr.value)
  AND coalesce(author.iri, author.bnid, author.value) = coalesce(author2.iri, author2.bnid, author2.value)
RETURN coalesce(yr.iri, yr.bnid, yr.value), coalesce(name.iri, name.bnid, name.value), coalesce(document.iri, document.bnid, document.value), coalesce(author2.iri, author2.bnid, author2.value) $$)
AS (yr ag_catalog.agtype, name ag_catalog.agtype, document ag_catalog.agtype, author2 ag_catalog.agtype);

Gives the following output as expected:
   yr   |        name        |                                document                                 |                author2
--------+--------------------+-------------------------------------------------------------------------+----------------------------------------
 "1952" | "Paul Erdoes"      | "http://localhost/publications/inprocs/Proceeding1/1952/Inproceeding6"  | "http://localhost/persons/Paul_Erdoes"
 "1953" | "Matro Newell"     | "http://localhost/publications/inprocs/Proceeding1/1953/Inproceeding12" |
 "1952" | "Dirthe Kiewiet"   | "http://localhost/publications/inprocs/Proceeding1/1952/Inproceeding24" |
 "1950" | "Editta Servoss"   | "http://localhost/publications/inprocs/Proceeding1/1950/Inproceeding1"  |
 "1950" | "Paul Erdoes"      | "http://localhost/publications/inprocs/Proceeding1/1950/Inproceeding1"  |
 "1952" | "Gualtiero Hemken" | "http://localhost/publications/inprocs/Proceeding1/1952/Inproceeding6"  |
 "1950" | "Bhoomika Secord"  | "http://localhost/publications/inprocs/Proceeding1/1950/Inproceeding1"  |
(7 rows)

Query that works not as expected, added AND NOT EXISTS ((author2)) to the WHERE clause to filter the first row of the matched pattern as shown in the output above:
SELECT * FROM ag_catalog.cypher('spcustom', $$
MATCH (class)-[{iri:'http://www.w3.org/2000/01/rdf-schema#subClassOf'}]->({iri:'http://xmlns.com/foaf/0.1/Document'})
MATCH (document)-[{iri:'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'}]->(class)
MATCH (document)-[{iri:'http://purl.org/dc/terms/issued'}]->(yr)
MATCH (document)-[{iri:'http://purl.org/dc/elements/1.1/creator'}]->(author)
MATCH (author)-[{iri:'http://xmlns.com/foaf/0.1/name'}]->(name)
OPTIONAL MATCH (class2)-[{iri:'http://www.w3.org/2000/01/rdf-schema#subClassOf'}]->({iri:'http://xmlns.com/foaf/0.1/Document'}), (document2)-[{iri:'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'}]->(class2), (document2)-[{iri:'http://purl.org/dc/terms/issued'}]->(yr2), (document2)-[{iri:'http://purl.org/dc/elements/1.1/creator'}]->(author2)
WHERE coalesce(yr2.iri, yr2.bnid, yr2.value) < coalesce(yr.iri, yr.bnid, yr.value)
  AND coalesce(author.iri, author.bnid, author.value) = coalesce(author2.iri, author2.bnid, author2.value)
  AND NOT EXISTS ((author2))
RETURN coalesce(yr.iri, yr.bnid, yr.value), coalesce(name.iri, name.bnid, name.value), coalesce(document.iri, document.bnid, document.value), coalesce(author2.iri, author2.bnid, author2.value) $$)
AS (yr ag_catalog.agtype, name ag_catalog.agtype, document ag_catalog.agtype, author2 ag_catalog.agtype);

Gives the following output not as expected, where just the attribute author2 has no value but the tuple still exists:
   yr   |        name        |                                document                                 | author2
--------+--------------------+-------------------------------------------------------------------------+---------
 "1953" | "Matro Newell"     | "http://localhost/publications/inprocs/Proceeding1/1953/Inproceeding12" |
 "1952" | "Dirthe Kiewiet"   | "http://localhost/publications/inprocs/Proceeding1/1952/Inproceeding24" |
 "1950" | "Editta Servoss"   | "http://localhost/publications/inprocs/Proceeding1/1950/Inproceeding1"  |
 "1950" | "Paul Erdoes"      | "http://localhost/publications/inprocs/Proceeding1/1950/Inproceeding1"  |
 "1952" | "Paul Erdoes"      | "http://localhost/publications/inprocs/Proceeding1/1952/Inproceeding6"  |
 "1952" | "Gualtiero Hemken" | "http://localhost/publications/inprocs/Proceeding1/1952/Inproceeding6"  |
 "1950" | "Bhoomika Secord"  | "http://localhost/publications/inprocs/Proceeding1/1950/Inproceeding1"  |
(7 rows)

It is not neccessary to display the author2, I just returned that to illustrate the issue.  This tuple should not exist:
 "1952" | "Paul Erdoes"      | "http://localhost/publications/inprocs/Proceeding1/1952/Inproceeding6"  |

I'm on PG12 in this case.
Can someone help me out here?

@raederan Are you using the PG12 branch or the PG12 release? Which version? Can you try this against the master branch which is PostgreSQL version 15 and is the most current?

@jrgemignani Thanks for your reaction!
I'm using PG12 branch (12.14) in an own Docker Image. I have tested the queries on the latestet age docker image on PG15 (15.4) and it leads to the same behavior. I have also counter-tested it on neo4j and it also produces the same results. Therefore, it is most likely due to the logic of my query.
I would still be very grateful for any ideas on how to filter correctly here inside the cypher statement. Is there a possibility to use subqueries, where cypher inside of another cypher?
Otherwise this issue can be closed due to the cross-tests.

@jrgemignani
This query belongs to a very specific SPARQL to Cypher transpilation for my current research. I only made the output for author2 to demonstrate my problem. I have created a query with 2 nested cypher statements as a workaround, which works for now.
I'm closing this topic, thanks again for your response! :)


Clicks in nested context menus don't close the menu correctly

When clicking an item in a sub-menu, the whole menu tree should close.
https://streamable.com/3lv90

The underlying issue here is that the logic for closing all menus checks for the item that opened this menu for whether it has the action item: https://github.com/ppy/osu-framework/blob/5af7b335fbc0d8657cd41a7ea422fd5435ab8c66/osu.Framework/Graphics/UserInterface/Menu.cs#L526-L530
I already have a fix for this which is to check if the triggering item is null to allow closing top parent menu, the problem is that it is way hard to test this behaviour as TestSceneNestedMenus tests depend on the menu being top-level, and there is no way to change that as TopLevelMenu is read-only, is it fine making it non-read-only for the sake of testing it?

Other way to test this cleanly would be refactoring the entire test and create an abstract test scene that provides enough tools for testing the menu, may be time-consuming though.


Rename package back to tendermint/tendermint and use replace to point…

… to the current repo
for file in `find . \( ! -regex '.*/\..*' \) -type f -name "*.go"`
do
  sed -i '' "s/cometbft\/cometbft\//tendermint\/tendermint\//g" $file
done

gofmt -l -s -w .

PR checklist

[ ] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments

Is it not possible to just revert the commits that introduced the change initially? i.e. by doing a git revert from the v0.34.x branch of the commits associated with the following PRs and in the following order:

#192
#156
#108

(Not sure if there are any other relevant PRs?)


style: sentence per line

A lot of VCS backed writing guidelines state: One sentence per line.
A proper editor configuration can make any line-length easy enough on the eyes. But for being able to read a VCS history to a prose text, this style makes most sense.
Is there any way this could be supported?

Seems like this might fit in with #51 as a typography rule.

Is there a way to achieve this with markdownlint today? This issue is a bit dated.

I think that’s what this custom rule does: https://github.com/JoshuaKGoldberg/sentences-per-line

There's also https://sembr.org/ these days, which formalizes what i'm asking for…!

I think that’s what this custom rule does: https://github.com/JoshuaKGoldberg/sentences-per-line

I see this issue from 2017 is still open (😀), so I would like to ask a question.
I see a custom rule has been provided above that allows one to achieve the desired behavior.
But it is still unclear to me how this can be integrated into a pre-commit config.
I have tried to provide the --rule argument in the pre-commit config or to provide "rules" or "customRules" property in the .markdownlint.json, but this seems to have no effect: my sentences are still formatted densely in each paragraph. Could you tell me what am I missing? Is there also a list of all options that .markdownlint.json accepts? I haven't been able to find an exhaustive list.
To provide more details, this is the last config of the .markdownlint.json that I have tried:
{
  "default": true,
  "first-heading-h1": false,
  "hr-style": false,
  "line-length": false,
  "no-duplicate-heading": false,
  "no-inline-html": {
    "allowed_elements": ["br", "sup", "sub", "img", "script"]
  },
  "ol-prefix": false,
  "rules": [
    "https://github.com/JoshuaKGoldberg/sentences-per-line/blob/master/index.js"
  ]
}

Thanks!

It looks like you mean to use .markdownlint-cli2.jsonc. Here's an example of how that is structured: https://github.com/DavidAnson/markdownlint-cli2/blob/main/test/markdownlint-cli2-jsonc-example/.markdownlint-cli2.jsonc

Although there is already  https://github.com/JoshuaKGoldberg/sentences-per-line will there be a chance that this will get integrated into markdown-lint directly (mainly because we're using just the docker image from markdownlint-cli, and it is hard to integrate it without building an own docker-image)?
If yes, and if I have the okay from @JoshuaKGoldberg may I start integrating it into markdown-lint as an optional rule? I do see this requirement more and more often, and I think it would allow a lot of people to use that rule easier more.
I would also make the rule a little bit more configurable, eg. list-of-line-seperators, ignored-words, to make it easier and more flexible to be used, also for other languages, etc.

Yes, please do! I'd love to not have to maintain sentences-per-line. Moving it into core has been on my todo list for ages but I just haven't had the time. 😄

I created a draft pull request - where I just played around yesterday and covered many topics. I even added a naive "optional" proposal. I marked the PR as a draft because I don't have much experience with JavaScript/Typescript, and some changes might be controversial (the text for the documentation needs improvement). But I am curious to hear what you think about it. what I should not do, or do instead :)
looking forward to some feedback


AutoHotKey Help on F1 does not work for anything containing "#" symbol

Like #NoEnv

Also doesn't work for _ symbol like LV_Modify

Okay I will have a look


Add flutter tests

The basics are in and all new features would have tests.

The basics are in and all new features would have tests.


Fix removeComments config example's description.

I found this in my jp translation(#220) work and it seems that the description about removeComment is wrong. If tsconfig has no  removeComments setting, TypeScript emits original comments.

Perfect- thanks!


Fix resizing pinned groups when resizing their parent

Fixes #4134
Problem:
If a group has position pinned to its parent, resizing the parent won't update the group.

Fix:
The bug is caused by the dimensions of the group component being forced (https://github.com/concrete-utopia/utopia/blob/564fee9f7e89b60209607898fdb5b5b75c422b04/editor/src/core/es-modules/package-manager/group-component.tsx#L126-L132), so instead of doing expensive calculations there this PR fixes it by mirroring the resize to the groups which are children of the interaction targets, similarly to what we do for fragments.
Instead of adding the special logic to the resize function directly, I included it as part of the retargeting + flattening logic, so we can reuse it transparently.

For reviewers: this commit 0db27be (#4135) is the relevant one.


Fix bug in drm_preview overlays

was trying to access the fd via the non-existent planes member. Instead use the fd(plane) accessor
Fixes https://github.com/raspberrypi/picamera2/issues/244
Using a DRM preview seemed to be broken, the frame buffer object having no planes member. After digging about a bit in https://github.com/tomba/kmsxx/ I noticed in particular https://github.com/tomba/kmsxx/blob/2236a8ccacdfed5ff5f6873ed6618eccf570193d/kms%2B%2B/inc/kms%2B%2B/framebuffer.h#L29 this suggest that the correct way to access an fd for the desired framebuffer plane is to use fd(plane) rather than planes[plane].fd. I have confirmed this fixed the issue for me and the example https://github.com/raspberrypi/picamera2/blob/main/examples/overlay_drm.py now works as intended.
Signed-off-by: Tim Kelsey<EMAIL_ADDRESS>

Hi, thanks for submitting this. Indeed there seems to have been a pykms change that I didn't notice.
The first change (line 76) seems good but I'm getting an error with the change at line 128. As far as I can tell, the original code is still correct there. Could you maybe double-check that?
Could you also maybe just check that your signed-off-by is in the commit message as well as the PR description, I wasn't quite sure whether it was.
Thanks!

I've committed a version of this that just makes the first change but not the second (https://github.com/raspberrypi/picamera2/pull/249). I believe that's enough to resolve the issue, but if not, please re-open it or send another PR.
Thanks for your help in letting us know about the problem!

Humm, my GH notifications were not setup properly so I missed this. Sorry for not responding, glad the fix was useful :+1:


Can't change ip in pre-release

In the portable version from the releases the changes on the ip adress wont be saved.
After leaving the editing mode it switches back to the default value.
After cloning and compling it myself it worked fine, there might be something wrong with the release.

Resolved with PR #3


Performance issues with traits

I'm using FactoryBot to test a small ruby gem and when I started using traits I noticed a pretty significant uptick in test runtime. I put together a script to show the performance impact even a few traits can have on factories.
I've been investigating a bit and have found what's likely the biggest culprit (using a detect when we probably want a hash lookup). I'll send over a PR to improve that. However, it looks like even after fixing that there are more inefficiencies when using traits that get worse the more traits you have or the more traits you use on a given build or create call.
Also I wanted to call out that while I found this testing a small ruby gem my company's main application test suite has 500+ usages of traits (across ~100 different factories). One of our core models has over 25 traits on it.
Steps to reproduce
Running the reproduction script will show benchmark results of various scenarios.
Expected behavior
Traits would have negligible performance overhead.
Actual behavior
Using a single trait on a factory with one trait defined more than doubles the runtime of build. As you define more traits and/or use more of the defined traits performance gets worse.
Raw results:
Test one (n=10000): not setting anything
       user     system      total        real
Has  0 traits  0.630000   0.000000   0.630000 (  0.637583)
Has  1 trait   0.630000   0.000000   0.630000 (  0.631442)
Has  2 traits  0.710000   0.010000   0.720000 (  0.734025)
Has  3 traits  0.620000   0.010000   0.630000 (  0.622784)
Has 50 traits  0.610000   0.000000   0.610000 (  0.624279)

Test two (n=10000): passing attributes without using traits
       user     system      total        real
Has  0 traits  1.070000   0.010000   1.080000 (  1.079745)
Has  1 trait   1.090000   0.010000   1.100000 (  1.106030)
Has  2 traits  1.120000   0.000000   1.120000 (  1.126111)
Has  3 traits  1.220000   0.030000   1.250000 (  1.253315)
Has 50 traits  1.140000   0.000000   1.140000 (  1.152264)

Test three (n=10000): passing attributes and using traits
       user     system      total        real
Has  0 traits, using 0  1.160000   0.020000   1.180000 (  1.190228)
Has  1 trait,  using 1   2.600000   0.020000   2.620000 (  2.636136)
Has  2 traits, using 1   2.610000   0.010000   2.620000 (  2.634467)
Has  3 traits, using 1   2.730000   0.020000   2.750000 (  2.766916)
Has 50 traits, using 1   7.680000   0.040000   7.720000 (  7.758933)

Test three (n=10000): using traits without passing attributes
       user     system      total        real
Has  0 traits, using 0  0.550000   0.000000   0.550000 (  0.546372)
Has  1 trait,  using 1   1.810000   0.010000   1.820000 (  1.824369)
Has  2 traits, using 1   1.890000   0.000000   1.890000 (  1.901523)
Has  3 traits, using 1   1.960000   0.010000   1.970000 (  1.964625)
Has 50 traits, using 1   6.940000   0.010000   6.950000 (  6.965011)

Test five (n=10000): using different amounts of traits on factory with a 3 traits without passing attributes
       user     system      total        real
Has 3 traits, using 1  1.890000   0.000000   1.890000 (  1.899632)
Has 3 traits, using 2  2.310000   0.010000   2.320000 (  2.318839)
Has 3 traits, using 3  2.690000   0.000000   2.690000 (  2.699934)

Test six (n=10000): using different amounts of traits on factory with 50 traits without passing attributes
       user     system      total        real
Has 50 traits, using 1  6.720000   0.010000   6.730000 (  6.735540)
Has 50 traits, using 2  8.920000   0.020000   8.940000 (  8.958390)
Has 50 traits, using 3 10.700000   0.010000  10.710000 ( 10.725242)
Has 50 traits, using 4 13.410000   0.010000  13.420000 ( 13.439983)

System configuration
factory_bot version: 5.1.0
rails version:  n/a
ruby version:  2.4.3

Thanks for making such a huge improvement to the performance of traits. I played around with your benchmarks a bit and I think a see another potential culprit:
When you build a factory with traits (e.g. FactoryBot.build(:factory_with_fifty_traits, :ny, :co, :ca)) the runner adds traits to the factories by cloning the factory. Cloning the factory clones the definition, which wipes out the cached traits.
Deleting FactoryBot::Definition#initialize_copy improves the performance, but it breaks some tests.

@composerinteralia - sounds good, I’ll close this out. Thanks again for the quick review on that PR 🙂

@entcheva @fridaland ^ I think this issue is also related to the traits restructuring we chatted today.


pdfium-cli info: performance question

pdfium-cli info takes about 1.3-1.4 seconds to run on a 20 page pdf on my M2 Mac. This is when I call pdfium-cli from a spawned child-process in Node-js. If I run the command directly at the command line it takes about 0.9 sec.
The same document takes 0.3-0-4 seconds to parse with pdfjs. (https://github.com/mozilla/pdf.js) Pdfjs is Mozillas pure javascript library, it should probably be slower than pdfium-cli. Is this a WebAssembly thing, or could it be some problem with pdfium-cli? The pdfium-cli version I'm running is built from source (3ecdc9e) without any build flags.
Here is the pdfium-cli command (no timing difference between text and json):
pdfium-cli info ./test.pdf --output-type json
Here is roughly the code I'm running for pdfjs:
  const loadingTask = pdfjsLib.getDocument({
    data: fileBuffer.buffer,
  });

  const doc = await loadingTask.promise;
  const numPages = doc.numPages;

  for (let pageNum = 1; pageNum <= numPages; pageNum++) {
    const page = await doc.getPage(pageNum);
    const viewport = page.getViewport({ scale: 1.0 });

    const { width, height } = viewport;
    const pageData = { pageNum, width, height };

    console.log(pageData);
  }

Comparing the WebAssembly version to JS is not a fair comparison indeed because the WebAssembly runtime that we use also can't be compared to the WebAssembly runtime that you have in your browser. The runtime that we use (Wazero) is fairly new and the compiler is not optimized yet. They are working hard on a new compiler backend: https://github.com/tetratelabs/wazero/issues/1496
This should bring speed improvements when released.
The pdfium-cli was mainly built for ourself to do quick PDF operations locally, not really for direct integration in applications (we use go-pdfium for that directly), that's why speed was never an issue for us, using WebAssembly mainly meant very easy distribution which was more important for us.
If you want better speeds now, you should use the CGO build.

Update.
It was a WebAssembly issue, indeed.
I built pdfium-cli with -tags pdfium_cli_use_cgo to get rid of webAssembly.
The time for command line execution is now down to 0.2 sec
The time for a Node child process is now down 50% to 0.6-0.7 sec.
Closing this.


error during training my custom dataset on centriapetalNet/tensors must be long

Thanks for your error report and we appreciate it a lot.
Checklist

I have searched related issues but cannot get the expected help. yes
I have read the FAQ documentation but cannot get the expected help. yes
The bug has not been fixed in the latest version. yes

Describe the bug
A clear and concise description of what the bug is.
I got such an error massage

Reproduction

What command or script did you run?
I run the following command in a cluster.

python tools/train.py configs/const/centripetalnet_hourglass104_mstest_16x6_210e_coco.py --work-dir Con_train_results/centripetalnet

Did you make any modifications on the code or config? Did you understand what you have modified?
yes , as i used to do , changing the config according to my new dataset and its classes , adding fp16 =dynamic
What dataset did you use?
my own custom dataset in COCO format

Environment

Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.
here is my environment , i upgrade the mmdet to be 2.23

You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch [e.g., pip, conda, source]
pip using sh file
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

Error traceback
If applicable, paste the error trackback here.
labled above in yellow
index error : tensors used as indices must be long, byte or bool tensors

Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

There seems to be no problem with the original configuration file, maybe you can check the dataset format.

The data format is correct ,as i used it with different model like yolov3 and SSD model.
I am not sure if the problem would be from the fp16.
I Try the model without fp16, and got the following error massage
RuntimeError: CUDA error: an illegal memory access was encountered
when i use the fp16 either this fp16 = dict(loss_scale=512.) or this fp16 = dict(loss_scale='dynamic')
I got the previous error of
IndexError: tensors used as indices must be long, byte or bool tensors
any idea? shall i do some changes in the config or the running config or iteration?


update azure pipelines deprecated vm image to latest

Fixes #1251 (Azure Pipelines "vs2017-win2016" vm image retires next month)
Adding a PR because the deadline for this change is fast approaching.

[X] : This PR has a corresponding issue open in the Repository.
[ ] : Approach is signed off on the issue.

Windows-2016 environment removal postponed until April 1st, 2022, see https://github.com/actions/virtual-environments/issues/5238
However, this should be merged to avoid errors during the "bownout" periods.

Windows-2016 environment removal postponed until June 30 for Azure DevOps, see https://github.com/actions/virtual-environments/issues/5403
@v-anvashist . @v-hmusukula I'm available to chat about this, so we can get this merged. Let me know if you need anything!


DatePicker doesn't work proper on iPad (iOS)

On initial page loading I'm getting an error thrown by _flatprickr about the undefined object calendarContainer.classList in Safari on iPad. I guess, that the fallback case of flatpickr on iOS isn't considered in the DatePicker implementation.
Some other errors occur by using the DatePicker after this. I think they are caused by the initial state of the DatePicker.
https://github.com/carbon-design-system/carbon-components-react/blob/9097a6afbfc29571aa0e20723e550cfb1487f656/src/components/DatePicker/DatePicker.js#L324

Hi @IOIO72! 👋 Thanks so much for taking the time to report this. To help us debug here, what version of Safari are you trying to run this on? classList should be available in modern versions that we have listed in our browser support.
Going to close this for now, feel free to re-open though if what I stated before isn't the case!


News320: pr review fixup

I missed this previously

Thanks @stickies-v , Im applying the change to the translations as well now


Making-of記事リンクは亡くなったそうです

記事を読みたいので、修正できれば助かります。
The links to the Making-Of articles are dead, it seems.
I'd love to read the article if it still exists, so if you can fix the link that would be great.
Thanks!

Thank you for reminding me! I just fixed the link:
https://baku89.com/making-of/ffff?lang=en


Not enough contrast for StreamField group labels on dark background

Issue Summary
In the current StreamField implementation, StreamField blocks can be groupped in the "Add block" menu, with a label for each block. That label is very hard to see, and very far from WCAG2.1 color compliance:

The label also doesn’t seem to be well aligned with the items in the group 😐
Kudos to @nmorduch for spotting this 😉and suggestion to line up the label with the leftmost block type button.
Steps to Reproduce
https://docs.wagtail.io/en/stable/topics/streamfield.html#basic-block-types
Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: no

Technical details

Wagtail version: 2.5.1 or 2.6.0rc1

I’m not sure whether this will still be relevant after #4942, but still feels worth tracking / fixing in the meantime.

PR https://github.com/wagtail/wagtail/pull/5462

Fixed 🌈


Improvements delete directory method.

These changes affect DeleteDirectory when called recursively with force flag set.
Changes ensure that:

GetListing method is called only once - all data regarding files / directories are downloaded in single big chunk instead of making separate small requests. Thus improves bandwidth usage and response time.
Files and directories are deleted in right order, based on depth of directional hierarchy and type.

I merged this manually in this commit.
Because I could not test with multiple servers (WasGetListingRecursive()) I added a boolean fastMode. I don't want to break the DeleteDirectory method.


How can I get Certificates ?

I can't understand where can I get the “SSL Certificate", “SSL Key” and “CA Certificate”.
I am not using b2d. I am using ubuntu

Are you using TLS?
On Tue, Jun 9, 2015 at 4:10 PM, mboussaa<EMAIL_ADDRESS>wrote:

I can't understand where can I get the “SSL Certificate", “SSL Key” and
“CA Certificate”.
I am not using b2d. I am using ubuntu
—
Reply to this email directly or view it on GitHub
https://github.com/shipyard/shipyard/issues/560.

I have no idea about what is TLS. Sorry I am beginner

Then you probably aren't using it :)  If you aren't using TLS you can just
leave the fields blank or leave off the parameters in the CLI.
On Tue, Jun 9, 2015 at 4:19 PM, mboussaa<EMAIL_ADDRESS>wrote:

I have no idea about what is TLS. Sorry I am beginner
—
Reply to this email directly or view it on GitHub
https://github.com/shipyard/shipyard/issues/560#issuecomment-110493311.

I tried like that but the ADD button didn't work

I can't tell you where the certificates are, because I'm using boot2docker, but I can corroborate that the web controller add button doesn't respond when http is used.  Tried last night.

I finally followed another tutorial and it worked. I suggest to enhance the given tutorial in Shipyard website using this link https://www.digitalocean.com/community/tutorials/how-to-deploy-wordpress-with-shipyard-on-ubuntu-14-04

There is also http://shipyard-project.com/docs/quickstart/#toc_6 -- please
let us know how we can improve the docs for this?  In v3 we use Docker
Machine for creation of the engine so we know where the certs are.
On Thu, Jun 11, 2015 at 12:25 PM, mboussaa<EMAIL_ADDRESS>wrote:

I finally followed another tutorial and it worked. I suggest to enhance
the given tutorial in Shipyard website using this link
https://www.digitalocean.com/community/tutorials/how-to-deploy-wordpress-with-shipyard-on-ubuntu-14-04
—
Reply to this email directly or view it on GitHub
https://github.com/shipyard/shipyard/issues/560#issuecomment-111193037.

Is v2 development finished now?

You mean v3?  We are getting very close -- fixing a few bugs and docs.
On Thu, Jun 11, 2015 at 1:26 PM, russ<EMAIL_ADDRESS>wrote:

Is v2 development finished now?
—
Reply to this email directly or view it on GitHub
https://github.com/shipyard/shipyard/issues/560#issuecomment-111213681.

No, I mean the current version - are you done with it and focusing only on v3 now? (Looking forward to v3).

and how can I upgrade from v2 to v3

@ehazlett : you should add this to the tuto
The Droplet that we've just deployed Shipyard on is also a Docker host, so we'll be able to manage it with Shipyard. Before we can do that; however, we'll need to add the server to Shipyard as an engine.
By default, Docker is configured to listen on Unix socket /var/run/docker.sock, but that socket can't be accessed from our Shipyard instance. We'll need to configure Docker to also listen to requests on a port. To do this, edit the Docker configuration file using your favorite text editor. (Here, we use nano.)
nano /etc/default/docker
At the end, add this line:
DOCKER_OPTS="-H tcp://your_server_ip:4243 -H unix:///var/run/docker.sock"
This will ensure that Docker accepts connections on port 4243, but only from your server itself. Now restart Docker to load the new configuration:
service docker restart
This will also restart your Shipyard containers. Since we ran the containers with --restart=always they should come back up automatically. You can verify this by running:
docker ps
If for some reason the Shipyard containers didn't restart, you can restart them manually by running docker start shipyard-rethinkdb shipyard.
Now that your Docker host is properly configured, we can add it to Shipyard as an engine. Access your Shipyard GUI and go to the Engines tab. Click on the + Add button.

Ya!
I believe every one will try this "localy", so the Docker engine where shipyard is running should be added by default.
I have some trouble to add my host (an Amazon docker-machine):
/usr/bin/docker -d --tlsverify --tlscacert=/etc/docker/ca.pem --tlskey=/etc/docker/server-key.pem --tlscert=/etc/docker/server.pem

I copy the content of these .pem files but always get "connection refused". Any idea? thanks

Are you specifying the right port and "https" in the URL?
On Fri, Jun 26, 2015 at 12:35 PM, Thomas Decaux<EMAIL_ADDRESS>wrote:

Ya!
I believe every one will try this "localy", so the Docker engine where
shipyard is running should be added by default.
I have some trouble to add my host (an Amazon docker-machine):
/usr/bin/docker -d --tlsverify --tlscacert=/etc/docker/ca.pem --tlskey=/etc/docker/server-key.pem --tlscert=/etc/docker/server.pem
I copy the content of these .pem files but always get "connection
refused". Any idea? thanks
—
Reply to this email directly or view it on GitHub
https://github.com/shipyard/shipyard/issues/560#issuecomment-115748236.

Yep I think:
![]
(http://b3.ms/RNgqnVpZ9Bwz)

You can check the new deploy guide for v3 -- it gives an example on using TLS with Shipyard.  http://shipyard-project.com/docs/deploy/


LX568: VkAttachmentDescription format validation

A request to add check for setting VkAttachmentDescription::format to VK_FORMAT_UNDEFINED.  The interesting commit is "layers: LX578, Add CreateRenderPass format check", the rest are supporting changes.

LGTM :+1:

Cherry-picked and pushed to Master.


Unable to install using NEVIRALLER

 OS : Arch Linux x86_64
 Kernel : 6.7.2-arch1-1
I have followed your install instructions to get this up and running but ran into some issues with the installer.
I was missing 2 dependencies which installed fine via your installer so all requirements are met as shown below.

I then moved onto the Update an Install command, this updated neovim but hangs after cloning the repo.

I've re-download the installer, provided the correct permission and tried this process again but it just gets stuck after the repository cloned successfully message.
I also found that after Neovim nightly installed i can no longer run nvim, i'm getting a permission denied error.
Any suggestions on what i can check ?

I will try to reproduce your situation on a virtual machine and then notify you

you're right! i have the same problem
while i will fix this problem you can manually install NEVIRAIDE with neovim-nightly.

create file with name update_nvim.sh.
put this into file:

#!/bin/bash

# Colors definitions
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
BOLD=$(tput bold)
NORMAL=$(tput sgr0)

# Check if necessary applications are installed
if ! [ -x "$(command -v wget)" ]; then
	printf "\n${RED}wget not found in path. Please install it to continue!${NC}\n"
	exit
fi

if ! [ -x "$(command -v curl)" ]; then
	printf "\n${RED}curl not found in path. Please install it to continue!${NC}\n"
	exit
fi

if ! [ -x "$(command -v xmllint)" ]; then
	printf "\n${RED}xmllint not found in path. Please install it to continue!${NC}\n"
	exit
fi

if ! [ -x "$(command -v datediff)" ]; then
	printf "\n${RED}dateutils not found in path. Please install it to continue!${NC}\n"
	exit
fi

# Get newest Neovim Nightly info
wget https://github.com/neovim/neovim/releases/tag/nightly -q -O - >/tmp/nvim28dce75c-4317-4006-a103-8069d573e2b2
RESPONSE=$(wget https://github.com/neovim/neovim/releases/tag/nightly --save-headers -O - 2>&1)

if [[ "$RESPONSE" =~ 404\ Not\ Found ]]; then
	printf "${RED}Couldn't fetch newest Neovim Nighly info. Aborting...${NC}\n"
	exit
fi

# Variables
SHOW_PROMPT=0
CURR_NVIM_VER=$(nvim --version | head -n 1)
NEW_NVIM_VER=$(xmllint --html --xpath "//pre//code/node()" /tmp/nvim28dce75c-4317-4006-a103-8069d573e2b2 2>/dev/null | grep NVIM)
CURR_DATETIME_ISO=$(date --iso-8601=ns)
NEW_NVIM_VER_RELEASE_DATETIME_ISO=$(xmllint --html --xpath "string(//relative-time/@datetime)" /tmp/nvim28dce75c-4317-4006-a103-8069d573e2b2 2>/dev/null)
LAST_RELEASE_DATETIME_DIFF=$(datediff ${NEW_NVIM_VER_RELEASE_DATETIME_ISO} ${CURR_DATETIME_ISO} -f "%H hours %M minutes ago")

# Check if Neovim Nightly exists in repo
if [[ "$NEW_NVIM_VER" == "" ]]; then
	printf "\n${RED}Couldn't fetch latest Neovim Nightly version from github repo! Check if it exists. Aborting...${NC}\n"
	exit
fi

# Check if the current neovim version is the latest
if [[ "$CURR_NVIM_VER" == "$NEW_NVIM_VER" ]]; then
	printf "\n${RED}No new version of ${BOLD}Neovim Nightly${NORMAL}${RED} found!\n${NC}Last release: ${LAST_RELEASE_DATETIME_DIFF}\nAborting...\n"
	exit
fi

# If a newer version of Neovim Nightly found show prompt
if [[ CURR_NVIM_VER != NEW_NVIM_VER ]]; then
	printf "\n${GREEN}New ${BOLD}Neovim Nightly${NORMAL}${GREEN} version found!${NC}\n${CURR_NVIM_VER} -> ${BOLD}${NEW_NVIM_VER}${NORMAL}\nReleased: ${LAST_RELEASE_DATETIME_DIFF}\n\n"
	SHOW_PROMPT=1
fi

# Update function
update_neovim() {
	printf "${RED}Updating Neovim Nightly...${NC}\n"
	HTTPS_URL="https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage"
	CURL_CMD="curl -L -w http_code=%{http_code}"
	CURL_OUTPUT=$(${CURL_CMD} ${HTTPS_URL} -o /tmp/nvim)
	HTTP_CODE=$(echo "${CURL_OUTPUT}" | sed -e 's/.*\http_code=//')
	ERROR_MESSAGE=$(echo "${CURL_OUTPUT}" | sed -e 's/http_code.*//')

	if [[ ${HTTP_CODE} == 200 ]]; then
		chmod +x /tmp/nvim
		sudo cp /tmp/nvim /usr/local/bin
		sudo mv /tmp/nvim /usr/bin
		printf "${GREEN}Neovim Nightly has been updated successfully!${NC}\n"
	else
		printf "${RED}Neovim Nightly has NOT been updated! ERROR: ${ERROR_MESSAGE}${NC}\n"
	fi
}

rm /tmp/nvim28dce75c-4317-4006-a103-8069d573e2b2

while [ $SHOW_PROMPT -gt 0 ]; do
	read -p "Do you wish to update neovim? [yes/no] " yn
	case $yn in
	[Yy]*)
		update_neovim
		break
		;;
	[Nn]*) exit ;;
	*) echo "Please answer yes or no." ;;
	esac
done

Put update_nvim.sh to your PATH (this, perhaps, /home/username/bin) to call this script everywhere.
Run update_nvim.sh in your terminal.
Clone repo NEVIRAIDE git clone https://github.com/RAprogramm/NEVIRAIDE
rename NEVIRAIDE to nvim (mv NEVIRAIDE nvim)
put nvim to /home/username/.config/

i will try to fix problem with installer. Thank you

Thanks for taking the time to respond and help me get this working.
I followed the steps provided and had no issues until i opened nvim and im facing this error :

Few things i've tried :

clearing the .cache/nvim folder
removing the nvim folder from config and cloning it again and following the steps to rename and move.
Ive checked the .local/share/nvim folder and neviraide_ui does not exist (Should this have been created as part of a plugin install on first start ?)

Thanks for taking the time to respond and help me get this working.
I followed the steps provided and had no issues until i opened nvim and im facing this error :

Few things i've tried :

clearing the .cache/nvim folder
removing the nvim folder from config and cloning it again and following the steps to rename and move.
Ive checked the .local/share/nvim folder and neviraide_ui does not exist (Should this have been created as part of a plugin install on first start ?)

This error indicates that there is no cache file 'defaults'.  this and similar files are generated to make the user interface load faster.  In theory, this should go away after downloading the plugins.
Try to Lazy install in neovim.
I will fix it to. Thank you

Thanks for taking the time to respond and help me get this working. I followed the steps provided and had no issues until i opened nvim and im facing this error :

Few things i've tried :
* clearing the .cache/nvim folder

* removing the nvim folder from config and cloning it again and following the steps to rename and move.

* Ive checked the .local/share/nvim folder and neviraide_ui does not exist (Should this have been created as part of a plugin install on first start ?)

i fix it.
now you can try clone NEVIRAIDE and run it.

First time enter nvim you will see installation core dependencies and ui plugin.
After it finished - close nvim.
Second time enter nvim you will see installation all another plugins.

now i will fixing installer

That fixed it for me, thanks for your support. Going to go explore what Neviraide has to offer now.

That fixed it for me, thanks for your support. Going to go explore what Neviraide has to offer now.

thanks for your attention.
BTW, i see wrong icons in your dashboard.
NEVIRAIDE using nonicons, so you can install it by yay -S nonicons-git and then put this symbol_map U+f101-U+f25c nonicons into your kitty.conf


Add topic "wireshark feature"

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Looks good @ronin1432, thanks for contributing to freeCodeCamp! Be sure to complete that checklist in the PR template in the future, thanks!


xSQLServerEndpointPermission: What permissions are needed, logon local right required?

Details of the scenario you tried and the problem that is occurring:
I'm trying to permission an endpoint created with the resource and trying to understand what permissions are needed to make this happen.  If for PsDscRunAsCredential I use a domain account with local admin and sa rights this works.  If I use a service account which has those same rights, but is not allowed to logon locally to the server, I receive the following error:

Logon failure: the user has not been granted the requested logon type at this computer

If I grant NT AUTHORITY\SYSTEM sa rights and do not provide a value for PsDscRunAsCredential, this works as well.  What permissions are needed to run this?  Is there a way to provide a sql login for this resource?
The DSC configuration that is using the resource (as detailed as possible):
xSQLServerEndpointPermission AddSqlServiceAccountEndpointPermissions {
            DependsOn    = '[xSQLServerEndpoint]' + $Node.NodeName
            Ensure       = 'Present'
            Name         = 'Hadr_endpoint'
            NodeName     = $Node.NodeName
            InstanceName = $Node.SqlInstanceName
            Principal    = $Node.InstallerServiceAccount.Username
            Permission   = 'CONNECT'
        }

Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
Windows/SQL Server 2016
What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:
How do I find out exactly what module being used?
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
<IP_ADDRESS>

The service account needs to have permission in the Database Engine, on the endpoint, to be able to set permission. What permission does the service account have in the Database Engine?

Thanks for your reply and apologize for the delay.  I have provided sa rights in order to test, but the issue is not with permissions and is with how the run as credential functionality works.  The account provided requires the log on locally right and that's an issue with service accounts that purposefully have it blocked.  Looks like the way around is to grant that account the right it needs or grant the machine accounts, Domain \ ComputerName$, access for all nodes.  I have chosen the latter and that is working well.


Huge dependency

I swapped from react-document-meta to react-helmet, but while doing that I noticed there appears to be something wrong with the dependencies as when I used react-document-meta my uglified production bundle size was 195 kB while after switching to react-helmet the bundle size dropped down to 65 kB. This change is the only change I made between bundles, so there are certainly some dependency issues that should be resolved. I didn't investigate what causes the issue.

@Merri Thanks for reporting this. I have an idea what is causing this.
May I ask, what other reasons made you switch?

Title and meta tags were unnecessarily updated after first page render (which match exactly what comes from the server).
It is not possible to get the meta information (with rewind) and then also use the render methods, because once rewind is used the render methods do nothing. Opposite is also impossible: rendering consumes rewind so you get nothing if you call rewind again.
Helmet's syntax makes more sense / is easier to reason about as you don't need to think about custom object formats.

A feature that is missing from Helmet is that you can't easily access the rendered values, you have to use .toComponent() and then loop though elements to find the values you need. To me it seems that the most sensible place to return status codes is via meta http-equiv tags, because you only know if a page is a 404 page after React Router has done it's routing - unless you duplicate all route information before server side render, which I have not wanted to do yet; or in general spend the time thinking how this should go with React Router 4.
Another thing I don't like with Helmet is that it doesn't re-use matching existing meta tags, or check if one of the tags to remove is exactly the same that is going to be added. This means it makes unnecessary DOM manipulation on each route change.


[Docs] Update E2E Pocket Servicer documentation

Objective
Enable anyone to easily (follow instructions and copy-paste commands) to deploy a Pocket Network Servicer on Akash Network.
Deliverable
Update awesome-akash/tree/master/pokt-network on the basis on this WIP Notion document to reflect everything that's needed to run a Pocket Network Servicer on Akash Network, including but not limited to things like:

TLS
Staking commands
Tracking Rewards
Etc...

Related PRs

#426
#427

Yup!


Transaction Model

We should probably have a model for Sql Transactions ,plus isolation levels

set isolation level
run multiple statements in one transaction
Rollback feature

Good day!
Please tell me when the completion of the "run multiple statements in one transaction" task is planned?
I have not found a way to disable the auto commit of a transaction so that the ZConnectionPool.transaction method rolls back several statements.
As I understand it, some kind of option is needed to disable autocommit in the ZConnectionPoll.make method so that the  ZIO.unless(autocommitMode)(connection.rollback.ignoreLogged) line worked
There is no way to disable autocommit in the external Postgresql database properties
For example, the transaction will not roll back here and the first expression will remain committed:
transaction {
    for {
       _ <- SqlFragment(...).execute
       _ <- SqlFragment(...).execute.zipRight(ZIO.fail(new RuntimeException("SOME PROBLEM"))
    } yield()
}


Add :overwrite option to gzip

Another suggestion :)
Useful for deployment to S3 together with gzip content-encoding.

Sounds like a good idea. Thanks!

I was looking for details about the gzip extension in the documentation and couldn't find much. I was particularly interested in the overwrite option and the only way I found out about it was doing a search for "gzip" in the issues and came across this PR.
It would be great to add documentation for this feature as it's not clear to me how to specify it. I tried the following, but neither worked:
configure :build do
  activate :gzip, :overwrite
end

configure :build do
  activate :gzip do |gzip|
    gzip.overwrite
  end
end

How can I specify the overwrite option? Thanks!

activate :gzip, overwrite: true

I tried that too, and it did not work. I got the following error:
/Users/moncef/.rvm/gems/ruby-2.2.3@middleman/gems/middleman-core-3.4.0/lib/middleman-core/configuration.rb:157:in `define_setting': Setting overwrite doesn't exist (RuntimeError)

Is this only in 4.0?

Ah, yea it's only in v4, was not backported to v3. Explains why it's not in the docs yet too.
I would personally just monkeypatch this in the meantime... like this would overwrite stuff:
class Middleman::Extensions::Gzip
  def gzip_file(path)
    input_file = File.open(path, 'rb').read
    output_filename = path + '.gz'
    input_file_time = File.mtime(path)
    File.open(output_filename, 'wb') do |f|
      gz = Zlib::GzipWriter.new(f, Zlib::BEST_COMPRESSION)
      gz.mtime = input_file_time.to_i
      gz.write input_file
      gz.close
    end
    File.utime(File.atime(output_filename), input_file_time, output_filename)
    old_size = File.size(path)
    new_size = File.size(output_filename)
    [output_filename, old_size, new_size]
  end
end


Support to backup and recover the specific graphs via vineyardctl

What do these changes do?

🤖 Generated by Copilot at b435676
This pull request enhances the vineyard integration for GraphScope on Kubernetes. It enables backup and recovery of vineyard deployments using the Session class, and simplifies the code in the Graph class by removing a redundant import.
Related issue number
Fixes parts of #2539
Wait vineyard to release a new version.

Codecov Report

Merging #2771 (d3ac247) into main (191949b) will decrease coverage by 7.03%.
The diff coverage is 7.81%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #2771      +/-   ##
==========================================
- Coverage   73.22%   66.19%   -7.03%
==========================================
  Files          99       99
  Lines       10472    10596     +124
==========================================
- Hits         7668     7014     -654
- Misses       2804     3582     +778

Impacted Files
Coverage Δ

...on/graphscope/tests/kubernetes/test_demo_script.py
0.00% <0.00%> (-79.39%)
:arrow_down:

python/graphscope/client/session.py
67.32% <16.39%> (-8.77%)
:arrow_down:

... and 12 files with indirect coverage changes

Continue to review full report in Codecov by Sentry.

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

@dashanji Could you please try to rebase against the latest master? Thanks!

@dashanji Could you please try to rebase against the latest master? Thanks!

Okay.


collation: complement a missing data

Signed-off-by: jwxiong<EMAIL_ADDRESS>
What problem does this PR solve?
https://github.com/tikv/tikv/blob/d64bc075790e75e1bbe90301aa242a46fe160f06/components/tidb_query_datatype/src/codec/collation/collator/utf8mb4_unicode_ci.rs#L97-L102
it shows UNICODE_CI_TABLE should have 0x10000 numbers but in fact there only 0xFFFF numbers. https://github.com/tikv/tikv/blob/d64bc075790e75e1bbe90301aa242a46fe160f06/components/tidb_query_datatype/src/codec/collation/collator/utf8mb4_unicode_ci.rs#L114
Test

No code

Release note

no

@andylokandy PTAL

from https://www.unicode.org/Public/UCA/4.0.0/allkeys-4.0.0.txt you can see 0x10000 is in different charset. Is it possible that we should compare
r >= 0xFFFF https://github.com/tikv/tikv/blob/d64bc075790e75e1bbe90301aa242a46fe160f06/components/tidb_query_datatype/src/codec/collation/collator/utf8mb4_unicode_ci.rs#L98

Is it possible that we should compare r >= 0xFFFF

No, rune 0xFFFF in MySQL has weight FBC1FFFF  withutf8mb4_unicode_ci collation, and for all unicode codepoint greater than 0xFFFF they have weight 0xFFFD, so we have to compare r >= 0xFFFF
mysql> select hex(weight_string(_utf8mb4 0xefbfbf collate utf8mb4_unicode_ci));
+------------------------------------------------------------------+
| hex(weight_string(_utf8mb4 0xefbfbf collate utf8mb4_unicode_ci)) |
+------------------------------------------------------------------+
| FBC1FFFF                                                         |
+------------------------------------------------------------------+

/cc @wangggong

/cc @bb7133

LGTM

LGTM

/merge

/merge

Should we cherry pick this PR?

Should we cherry pick this PR?

No, it is a patch for https://github.com/tikv/tikv/pull/8420


Usage i.c.m. vpn

I am having trouble getting the cluster to work with our vpn ON. When I turn the vpn off all works fine, but I need the vpn to access a private regis try which is behind this vpn connection.
The process is stucka at: Waiting for Kubernetes cluster to be ready. This can take a few minutes...
We added <IP_ADDRESS>/16 to NOT use vpn, but probably I need to add some more routes to get it working.
Ping, ssh and traceroute seem to return sane output:
$ traceroute <IP_ADDRESS>
traceroute to <IP_ADDRESS> (<IP_ADDRESS>), 64 hops max, 52 byte packets
 1  <IP_ADDRESS> (<IP_ADDRESS>)  0.430 ms  0.326 ms  0.371 ms
$ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=64 time=0.255 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.345 ms
^C
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.255/0.300/0.345/0.045 ms
$ ssh <IP_ADDRESS>
The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ED25519 key fingerprint is SHA256:/AJqX7ZOEvwGB8nsrDqxF8myOmstKVczRMUq26IJ6sA.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (ED25519) to the list of known hosts.
<EMAIL_ADDRESS>password:

curl-ing the api-server fails:
$ curl http://<IP_ADDRESS>:8080
curl: (7) Failed to connect to <IP_ADDRESS> port 8080: Connection refused

When I run the 'up' command without vpn all works fine, but the nodes are not able to reach the private registry when I connect the vpn.
I realize this is not an issue with the project, but I'd really appreciate some help/hints with this.

@cobrowserAlex I use openvpn client to connect to Google Cloud, I will play with it when I'm back from my business trip.

Thanks @rimusz

@rimusz any progress? I have run some tests with kmachine which uses a virtualbox VM and nat networking and there all seems to work out of the box. Is coreos-osx using bridged networking perhaps?
I'd really like to use kube-solo/kube-cluster if possible...

@cobrowserAlex I have tried to connect to the VM on Google Cloud from kube-solo, of course I did add the route to it inside kube-solo and kube-solo cannot see VM on Google Cloud.
And yes coreos-vm/kube-solo/kube-cluster all use bridged networking as this is how corectl/xhyve works

Thanks, so it doesn't work for you either? "kube-solo and kube-solo cannot see VM on Google Cloud"
To help in getting to the bottom of this: where would I add the route?

Need to play with it more, but not sure if xhyve allows that, will consult with @AntonioMeireles about it

@AntonioMeireles ping

@cobrowserAlex afaict going along this - https://github.com/mist64/xhyve/issues/84#issuecomment-210699393 should get you there...
please confirm and thanks for your patience!

Thanks @AntonioMeireles I wil give it a try!


Fails to cancel workflow that's stuck after base_evaluate error

useful link: https://www.flightcontrol.dev/blog/temporal-error-handling-in-practice
One more idea is to use an ApplicationError style decorator to handle the retryable/non-retryable errors.


Timed out while waiting for a YubiKey to be inserted

Environment

OS:NixOS
age-plugin-yubikey version: 0.5.0 (also latest from source)

What were you trying to do
I ran the binary without arguments in order to set up a new yubikey.
What happened
I received the following error:
⏳ Please insert the YubiKey you want to set up.

Error: Timed out while waiting for a YubiKey to be inserted.

ykman can see the yubikey without problems
PIV is enabled
$ ykman info
Device type: YubiKey 5C
Serial number: ---
Firmware version: 5.7.1
Form factor: Keychain (USB-C)
Enabled USB interfaces: OTP, FIDO, CCID

Applications
Yubico OTP  	Enabled
FIDO U2F    	Enabled
FIDO2       	Enabled
OATH        	Enabled
PIV         	Enabled
OpenPGP     	Enabled
YubiHSM Auth	Enabled

cc #156

I'm also hitting this issue, it's caused by an update to ccid it seems: https://github.com/NixOS/nixpkgs/issues/349249
This PR fixes it for me: https://github.com/NixOS/nixpkgs/pull/350153

Amazing, thanks @c0deaddict!


The long awaited AFK feature!

This pull request implements a feature, where users can mark themselves as AFK with a message to send, when they are tagged.
This should close #15
Below are some examples on usage.

A follow-up action is triggered, only when the AFK user reacts to the embed shown in the last picture.

When the user sends a message in chat while AFK (i.e. the 3rd picture), could we send that message in DMs instead of the channel they send the message in? Thinking that might clutter the channel a little bit if the feature is used enough.

Sure thing! However the message is automatically removed after 15 seconds. Should I go ahead and send it in a DM anyways?

Yeah, go ahead and keep it in DMs. Alex agrees: https://bit.ly/2JmlMvb

So in this case, would it be all the messages that we are sending to DMs? Or just the ones in img 2 and 3? In the most recent commit, this is the case

That works perfectly! Also, does the bot delete the initial !afk command message, or does it stay in the channel after DMing the sender that they're AFK?

Horace should delete all commands regardless of what command it is, so as long as it uses the same command handling as others it will.

It does indeed delete the command afterwards!

Then I will go ahead and mark this as approved! LMK when you're ready to merge.


Label elements

Add label text to line, arrow and rectangle. Center by default but have some other option for moving it around

Covered in #47

State change to add new label
Geometry changes, find mid and put label
Editing changes - Double click and show text editor in middle

Depends on #37


add rootdn search for users and service accounts

Affects: <api-version-number>.

 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.Christine Shen 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.

 All committers have signed the CLA.


v4: switch to Hugo

So, apart from Hugo being multiple times faster as we already know, I also switched to using Hugo to handle the docs assets (CSS/JS) like we do on main. Which means, it will be equally simple to work on the v4-dev branch as main. 😃
TODO:

[x] fix getting started snippets (also search for site.)

[x] replace the remaining Liquid code

[x] fix jQuery being bundled in the docs JS; not sure how to handle this without hardcoding the files we want to include, since we are using Resources.match - EDIT: worked around it, not sure if there's a better solution

[x] make sure we use docsref when possible like in main

[x] Fix migration sidebar link

[x] Read browserslist, fonts, CSS variables etc

[x] Deduplicate js-minify scripts

[x] Fix duplicate trailing slashes in URLs; also run a full site link checker

[x] Fix ToC CSS - EDIT: added a patch but it seems there are more cases that we need to fix, with nested lists:
Screenshot

Before
After

EDIT2: it was due to going from an h2 to h4; switched to h3 and now it's fine

[x] go through the layout code one more time; fix discrepancies like social logo, classes etc

[ ] Figure out why some classes are missing:

card-img is missing here https://deploy-preview-32077--twbs-bootstrap.netlify.app/docs/4.5/components/card/#horizontal this seems to affect main too
card-img-top becomes card-img here https://deploy-preview-32077--twbs-bootstrap.netlify.app/docs/4.5/components/card/#card-columns
 class="mr-3" is missing here: https://deploy-preview-32077--twbs-bootstrap.netlify.app/docs/4.5/components/media-object/#nesting

[ ] see if we are going to go with the homepage patch or if I should drop it

[ ] see if this bothers us a lot; I can't remove the newline there (although, we apply margin, so we could probably remove that if it bothers us a lot)
Screenshot

Before
After

[ ] Update team members

[x] test all the stuff multiple times

Preview: https://deploy-preview-32077--twbs-bootstrap.netlify.app/

looking good. 👍  Do you plan to minify the HTML?
The build could either user 'hugo --minify' or could add the following to the hugo config.
minify:
  minifyOutput: true

https://gohugo.io/getting-started/configuration/#configure-minify

Do you plan to minify the HTML?

Nope, because we want the output to be easily readable which is why we don't do this in main :)

I was going to mention this in my comment, but using this is a great option worth trying:
minify:
  minifyOutput: true
  tdewolff:
    html:
      keepWhitespace: true

it means that hugo serve is always equal to the final compiled output and means its easily both reduced in file size and readable in 'view-source'.

Yeah, I know, but I'd rather keep the potential points of failure to a minimum, you know, keep it simple.
We did use HTML minification in v3.3 and it was a PITA when we need to go back to the old docs to change something manually. We might reconsider in the future, but the gains are generally small from HTML minification so they don't justify this.
PS. I do always minify the HTML in most of my projects, but this is not a common project.

All right, I tested this as good as I could. I found a few mistakes in the layouts and in the callouts and fixed those. I compared some of the generated HTML files and the diff is:
line: 20861(+) 38442(-) files: normal=0, non-versioned=0, modified=117, added=1, deleted=8, conflicted=0

Most changes are due to the sidebar not including the inactive group items anymore.

Looking good. couple of minor quick things I noticed:

The code syntax highlighting is not quite as good imo:
https://getbootstrap.com/docs/4.5/getting-started/javascript/#sanitizer
https://deploy-preview-32077--twbs-bootstrap.netlify.app/docs/4.5/getting-started/javascript/
Maybe just need to add blue color: #006ee0 to class .nx ?

Looks like an unnecessary extra line break at bottom of the browser list here:
https://deploy-preview-32077--twbs-bootstrap.netlify.app/docs/4.5/getting-started/browsers-devices/#supported-browsers

* The code syntax highlighting is not quite as good imo:
  https://getbootstrap.com/docs/4.5/getting-started/javascript/#sanitizer
  https://deploy-preview-32077--twbs-bootstrap.netlify.app/docs/4.5/getting-started/javascript/
  Maybe just need to add blue color: `#006ee0` to class `.nx` ?

Yup, I noticed that also but this affects our main branch too, and I have it in my local TODO. I still need to regenerate the chroma styles in case we are missing more classes; it's been a while since I generated the styles and may be outdated.

* Looks like an unnecessary extra line break at bottom of the browser list here:
  https://deploy-preview-32077--twbs-bootstrap.netlify.app/docs/4.5/getting-started/browsers-devices/#supported-browsers

I noticed that also but it's the same thing on main too.
I considered both of these things lower priority but I'll try to address them for main and then here too. I also noticed a few other things while I was working on this branch, so it's a good chance to revisit some things :)

@XhmikosR  Just checked the missing classes:

for horizontal card, I think it's on purpose since .card-img adds uselesss border-radius to the right corners, and changes nothing to the card itself…
card in columns looks good, not sure if ou fixed anything but the correct markup is applied
same for nested media objects: I can see margins where needed.

I spent a few minutes going around, everything looks fine! Didn't notice anything.

@ffoodd it seems that the previous markup was wrong and this branch has the fixed snippet markup :)
That being said, I wonder if we shouldn't use example and duplicate the snippets so that they do include something that's needed without us showing it in the preview?

I don't think so, since if we do not use it there's some reason. We already had a few issues about snippets and examples not corresponding, and this is indeed very confusing for users.

@XhmikosR Still reviewing this but wer're missing jQuery in our examples: https://github.com/twbs/bootstrap/commit/3da46e35500c323693fcef949ff1af709fc0c4fe?w=1#diff-bbabe5324b4522d5f784e4c6608ccf9cbb6c4cacc0cdbd68c57474d5533cdc49R264
Cannot seek in detail right now, but apart from line-breaks this is the only thing I noticed. Great job!

@XhmikosR Still reviewing this but we're missing jQuery in our examples: 3da46e3?w=1#diff-bbabe5324b4522d5f784e4c6608ccf9cbb6c4cacc0cdbd68c57474d5533cdc49R264
Cannot seek in detail right now, but apart from line-breaks this is the only thing I noticed. Great job!

Oops, fixed.
We really need to use partials, but this PR is mostly based on the template code we use on main, so we'll get it fixed at some point there.

New diff: https://github.com/twbs/bootstrap/commit/4661cd922ae3fc2b97014b4c8caacae728f9e735?w=1

Update the gh-pages comparison branch: https://github.com/twbs/bootstrap/commit/a0b8dd8d138ead44fd0350211265889b19dea1c7?w=1

Thanks @ffoodd for the review, it's been really helpful catching some of the issues :)
So, basically this leaves us:

See if we are going to go with the homepage changes /CC @mdo
I need to make a final rebase to clean up the patches
About the team members, we can tackle it in another PR; I just noted here whatever I noticed while comparing each of the pages


update server.met

Hello
The web interface miss option to add server.met url. For ecxample: http://update.adunanza.net/servers.met
Thx

Yes, the Web UI does not support that feature. You can request it in the official aMule repository but the project is not under active development.
You will find a file called amule.conf in the config folder.
    volumes:
      - <fill_amule_configuration_path>:/home/amule/.aMule

Stop aMule container, edit the file and start the container again. The configuration will be maintained between restarts.

Hello
What i must edit?

server.met is a binary file. You can not edit it with a text editor. The file will be created by aMule or you can download it from here =>http://shortypower.org/


Delete text mining data

We want to remove data that is no longer used

I export will be the same.


Added slide parent property to support using an existing slide track.

closes #212
Added code to keep track of whether the _.$slideTrack was originally the parent of the slides (existed previously) or was created during the slick buildout process. Allows one to use ul as a .slick-track and li as a .slick-slide

Hey I think the feature is legit. Anyway to reduce the number of new options to one? Thanks

There is only one new option, but there are three new things that need to be kept track of internally. I can reduce it to two by checking if _.$slideParent === _.$slideTrack each time it is referenced, but I chose to keep an extra boolean slideTrackIsParent as it more accurately captures the original state of the slider in the event that _.$slideTrack changes somehow.

It's a minor thing, but reducing the number of keys relating to a single feature would help readability, so it'd be cool if that were possible. Thanks

It's been removed

Hmm, I'm still seeing three additional options. Apologies for the difficulty, but do you think you could factor to just use one?
Thanks

There is now one additional option and one internal property. The internal property tracks the distinction between $slider, $slideTrack and which one is really the parent of the slides before and after slide creation, so that elements can be properly returned to their initial position after using unslick. I don't have the time to attempt any sort of refactor that would remove this property because it is fundamental to the entire change, and I do not plan to start over from scratch.

Cool, I'll try to test this later, and then hopefully merge it in. Thanks.

FYI this is not pending author response anymore, and I've updated it with master

Any progress on this feature?
Best regards!

any updates regarding this?

I would also be interested in this feature being added.


Release/extension/1.16.x

Checklist

[ ] JIRA - <link>
[ ] Proper tests implemented
[ ] Screenshots added.

Proposed solution
Split message signing and midnight banner display into 2 separate feature flags
Testing

Load lace, ensure midnight banner not present in extended view, popup, or settings sidebar
Ensure message signing from menu dropdown still working

Allure Report
allure-report-publisher generated test report!

processReports: ✅ test report for c46047ad

passed
failed
skipped
flaky
total
result

Total
32
0
4
0
36
✅


Improve the !enum command with better response

The !enum command should return the specific numeric representation of an Enum if the name is already given and vice versa.
Also a little bit of code shortening, very tiny optimizations.

Went with an implementation closer to what SteamDB's bot has. Thanks regardless!


Impement t_test

WITH pop1 AS (
SELECT STDDEV(Los) st1, Avg(Los) x1, Count() n1
FROM Prepare Gndr vs LOS  output
WHERE Gdr_Cd = 'M'
),
pop2 AS (
SELECT STDDEV(Los) st2, Avg(Los) x2, Count() n2
FROM Prepare Gndr vs LOS  output
WHERE Gdr_Cd = 'F'
)
SELECT
(x1 - x2) / Sqrt((st1 * st1 / N1) + (st2 * st2/ N2)) AS t,
n1+n2-2 AS df
FROM pop1 CROSS JOIN pop2

#13
Added. All test pass


How to set time in linear form for time dependent problem?

Hi, I have a question regarding usage.
I'm trying to construct a DomainLFIntegrator with a time dependent function coefficient. How can I set the time that the function coefficient will be evaluated at? Since the Coefficient Q is a private member, I can't access it to call SetTime() directly, so I'm not sure how to do this.
Thanks,
Tucker

Hi @tuckerbabcock,
For time-dependent problems, I would recommend storing the (time-dependent) linear and/or bilinear forms and their time-dependent coefficients in the same object - typically a user-defined class derived from TimeDependentOperator. Then inside the Mult (or ImplicitMult) method of the user class one can propagate the time from the TimeDependentOperator to the time-dependent coefficient before assembly.
If this does not fit your needs, can you explain what your use case is?

See e.g. HyperelasticOperator in Example 10.

Thanks for taking the time to reply. Just to confirm I understand correctly, this would look something like this:
void FE_Evolution::Mult(const Vector &x, Vector &y) const { 	inflow->SetTime(t); 	b.Assemble(); 	// y = M^{-1} (K x + b) 	K.Mult(x, z); 	z += b; 	M_solver.Mult(z, y); }
Where inflow is the time dependent function coefficient, and b is the linear form. This is a fairly simple modification to example 9 where I've added time varying boundary conditions.


Add B5

This is the netkan from #7128 extracted and committed to a branch. (It stand for "Block 5", the latest skin for the Falcon 9.)
Fixes #7128.
ckan compat add 1.6

#rebuild

@xXBuildersXx, if SpaceXLaunchVehicles is a dependency as you say on the forum thread, we should list it as such. It will still be possible for users to install your mod if they add KSP 1.4 as a compatible version:
https://github.com/KSP-CKAN/CKAN/wiki/User-guide#choosing-compatible-game-versions


Add language: Ruby

Please see CONTRIBUTING.md for details on how to create a good PR for this project.
If you are going to work on this, please add a comment to avoid duplication of work.

Hi @andrewhoyer, I'd like to work on this.

Hey @anupdsouza, it's all yours!


Please coordinate PyPI and crates.io releases if possible

I’m almost at the point of introducing a python-cramjam package to Fedora Linux. I’m currently updating my proposed package from 2.8.0 to 2.8.1.
I am able to use bundled or vendored dependencies when I need to under our packaging guidelines, but it’s preferred to build against system copies. I have already introduced a rust-libcramjam package, and I can build a python-cramjam-2.8.0 package using it (in lieu of the copy included in the GitHub archive or PyPI sdist).
With 2.8.1, though, the included libcramjam is updated to 0.2.0, which hasn’t yet been released on crates.io. I can temporarily switch to using the bundled libcramjam again, but it would make life easier if the version used by the Python extension were reliably available on crates.io. (Rust library crates that are published on crates.io are required to be packaged from crates.io sources, so I can’t just package a snapshot from GitHub as rust-libcrmjam.)
What do you think? Does this sound reasonable?

wow, that's great, thanks for you work here! I'm blissfully unaware of things like this but more than happy to adjust to make it better.
For the time being, I've published the v0.2.0 of libcramjam to crates.io as it was at the v2.8.1 release of python cramjam. Then removing the relative path dependency to libcramjam in #131 which ought to make sure python's cramjam isn't released without libcramjam already on crates.io first.

wow, that's great, thanks for you work here! I'm blissfully unaware of things like this but more than happy to adjust to make it better.

❤

For the time being, I've published the v0.2.0 of libcramjam to crates.io as it was at the v2.8.1 release of python cramjam.

Wonderful! Thank you.

Then removing the relative path dependency to libcramjam in #131 which ought to make sure python's cramjam isn't released without libcramjam already on crates.io first.

That is even better than I had thought to ask for, and will save me a (small) downstream patch in future releases.


docs: No need to install the virtcontainers pause package

The pause binary is now part of cc-runtime-bin.
Fixes #290
Signed-off-by: Samuel Ortiz<EMAIL_ADDRESS>

@iphutch please review.

lgtm

Coverage remained the same at 51.991% when pulling 818f4e535d84bbff60d1e91daaa757a57b3d615a on topic/documentation into 50f95f49389bc1c898c541db32e06633d77423ee on master.

lgtm


Add the standard tests to rqt_py_console.

That way we know it conforms to our standards.

Pulls: https://github.com/ros-visualization/rqt_py_console/pull/19
Gist: https://gist.githubusercontent.com/clalancette/1cb87c7d829bd52ba5c2d15d269f6fcf/raw/76ea1270b102d03f11ebf221cee9a8e71722892c/ros2.repos
BUILD args:  --packages-above-and-dependencies rqt_py_console
TEST args:  --packages-above rqt_py_console
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15009

Linux
Linux-aarch64
Linux-rhel
Windows


[5.3] Use ... operator in stead of func_get_args()

Use the (cleaner) ... operator for the variadic functions in stead of using func_get_args(). Usable in PHP 5.6 and above. See http://php.net/manual/en/functions.arguments.php#functions.variable-arg-list.

Please only send your commit, and to 5.4.


WIFI UART vitamin

For the scribbler variant.  I ordered one, so will model this when it arrives.

Ended up modelling the ESP8266-01 variant - in the vitamins catalogue ready to be added into the scribbler machine


Add GitHub Action to combine Dependabot PRs

This is kinda awesome. Is there some existing reference / article / blog post describing this approach to things?


How to measure the diameter of a circle?//怎么测量圆直径？

In the RGB stream, using OpenCV's HoughCircles to find a circle, I want to measure the diameter of the circle.
//RGB流中使用opencv的HoughCircles 找到一个圆，我想测量这个圆的直径多少

[Realsense Customer Engineering Team Comment]
Hi @laolaolulu,
See #2382 as a reference. You can align first, and then measure the distance between the center and the point on the circle you find.

[Realsense Customer Engineering Team Comment]
You can also refer to rs-measure app to implement.
https://github.com/IntelRealSense/librealsense/tree/master/examples/measure

I can't calculate the actual size using align = rs. align (rs. stream. color); using align = rs. align (rs. stream. depth) can calculate the size, but getting_color_frame () can't use opencv operation in the image;
//我使用align = rs.align( rs.stream.color)无法计算出实际尺寸；使用align = rs.align(rs.stream.depth)能计算尺寸但是get_color_frame()获取的图片中无法使用opencv操作；
vdist1 = aligned_depth_frame.get_distance(300,450)
vdist2 = aligned_depth_frame.get_distance(500,450)
cv2.circle(img, (300,450), 2, (0, 100, 100), 3)
cv2.circle(img, (500,450), 2, (0, 100, 100), 3)
intr = aligned_depth_frame.profile.as_video_stream_profile().intrinsics
dep1 = rs.rs2_deproject_pixel_to_point(intr,[300,450], vdist1)
dep2 = rs.rs2_deproject_pixel_to_point(intr,[500,450], vdist2)
c = np.abs(dep1[0] - dep2[0])
print(c)

[Realsense Customer Engineering Team Comment]
Hi @laolaolulu,
What do you mean you can't operate the color data from "get_color_frame()"? Did you correctly convert to cv::Mat?
You can use opencv to find the circle pixels in the color image before color is aligned to depth. Then, use the deproject pixel to point function to find the 3D point.

[Realsense Customer Engineering Team Comment]
HI @laolaolulu,
any update?

[Realsense Customer Engineering Team Comment]
Hi @laolaolulu,
Will close this if no further question.


Feature request: illuminate, overlap between a.m./p.m. and numbers in time row

when I increase the text size on the homepage, it is hard to read the timeline because the numbers overlap with a.m. and p.m. One solution is to use A for a.m. and P for p.m.. Thank you for considering fixes.

I think forcing it to always use 24hour format would look better. Do you agree?

Good idea.  makes that line more simple.  either approach seems fine to me

how about using 2 rather than 2:00.  Some people might prefer that so they do not have to figure out that 15 is 3p.  And would make for a simple line without overlap.  I am fine with the 24 hour format and agree that would be the most simple visually (although not mentally for some).
;


a query with  range of values, over escaped expression is generated.L

A query with  range of values, over escaped expression is generated.
example:
k = "release_date"
v = "['2000-01-01T00:00:00Z', '2010-01-01T00:00:00Z'}"
q = cs.and_({k: v})

a output of current implementation is below.
(and release_date:[\'2000-01-01T00:00:00Z\', \'2010-01-01T00:00:00Z\'})

But, this is invalid format.  A correct format is this.
(and release_date:['2000-01-01T00:00:00Z', '2010-01-01T00:00:00Z'})

@podhmo Thanks for your help!


Workaround for built_redux build problem

Also added codecov report
Not clear how the build_runner is generating files, so bypassed for now. Should prob be resolved when known how.

Pull Request Test Coverage Report for Build 40

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.7%) to 63.651%

Totals

Change from base Build 39:
0.7%

Covered Lines:
1625

Relevant Lines:
2553

💛  - Coveralls

Cool, thanks for the PR! One Q: Is CodeCov necessary? Definitely happy to have a coverage reports, but didn't want to confuse folks with 2 badges that show the same info

I added codecov only for the opportunity to evaluate the different analysis (not having integrated codecov myself in the past)
It looks like codecov scans the directories for lcov.info files by default, so no need to massage multiple lcov.infos into one as required for coveralls. The different reporting styles, looks like codecov does slightly better. Not sure which supports more advance features, like branch coverage, complexity, etc..
But in the end it is entirely up to you. Either way I'm happy to make the change.. ur call .. just let me know, thnx 👍

Nice, thanks again for helping out :) Glad to see there's a new version of flutter_built_redux!
If CodeCov is simpler to maintain, let's go that route. Less to think about when adding new projects :)

Yep, no prob :)
This fixes #69.
The remaining issue is how to run the build_runner for built_redux in a dart 2.0 world. It's no longer regenerating the *.g.dart files, whereas the mvu project is.

AFAIK: this should be ok to commit. Looks like the build_runner thing should prob be a separate issue.

Hey @mmcc007 -- sorry was on vacation and came back to a bunch of work. My bad on dropping the ball here. Is this one good to go?

no prob at all... should be good to go 👍

Excellent, thanks again :)


Plasma2D interpolation failing

Affect tofu 1.4.1:
Minimum working example:
multi = tf.imas2tofu(shot=54719, ids=['wall', 'pulse_schedule', 'soft_x_rays', 'equilibrium'])
sxr = multi.to_Data('sxr')
cam = sxr.lCam[0]
cam.set_dsino([2.4, 0.])
pts = cam.dsino['pts']
plasma = multi.to_Plasma2D()

plasma.interp_pts2profile(pts=pts, quant='equilibrium.rhotn')

After Jorge's investigations it seems the error may come from:

Wrong assert (not...)
tall not defined
wrong default value (None instead of 'nearest')

To be verified

Fixed, in devel, by PR #210


react how to use ,ie11 is not working?

Sorry, I don't use React. You'll have to ask in a support forum.

Sorry, I don't use React. You'll have to ask in a support forum.


Add equivalent of ISupportInitialize

Currently, the Name property needs to be set before the control is added to the visual tree, as styles can apply to a named control. The way we currently do this is by adding each control to the tree of objects created by OmniXAML after its properties have been set.
There are a few problems with this:

It means OmniXAML's behavior differs from System.Xaml.
It means that when bindings are set up, inherited DataContext values are always initially null, meaning type converters get fired with a null value where they don't in normal XAML, and generally causing irritating problems.

System.Xaml supports ISupportInitialize which would work around this problem by allowing styling to be applied only after all properties have been set (including Name!) but still allowing the object to be added to the tree immediately after creation.
We can't use ISupportInitialize as it's not available to PCLs so we'd need to find another mechanism. My first idea would be to add BeginInit and EndInit methods to XamlType which could be overridden to call the appropriate Perspex method in PerspexXamlType.

I'll go for it as soon as I have some time.

This was about to be solved. Holding it by now until more urgent issues are fixed.

It's done, but it's still not very usable from a API point of view. Stay tuned.

Feature added! Just look for the ILoader.Load(Stream, Settings). The Settings class has a ILifecycleListener that you can use to look for events for a given instance.

Fantastic! Hopefully I will have chance to try it this week.

I have done a quite big refactor in the last few days/weeks. I hope there aren't too many conflicts with Perspex/OmniXAML :)


Telegram not working over Proxy

Expected Behavior
It should connect with the Telegram
Actual Behavior
I get this error when I execute the sh by setting the environment Proxy variable using:
/usr/bin/env HTTPS_PROXY="xxxx"
Output when issue occurred

[2016-08-29 01:31:44] [       cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 768, in
main()
File "pokecli.py", line 119, in main
bot = start_bot(bot,config)
File "pokecli.py", line 87, in start_bot
initialize_task(bot,config)
File "pokecli.py", line 78, in initialize_task
tree = TreeConfigBuilder(bot, config.raw_tasks).build()
File "/Users/Jose/PokemonGo-Bot/pokemongo_bot/tree_config_builder.py", line 79, in build
instance = worker(self.bot, task_config)
File "/Users/Jose/PokemonGo-Bot/pokemongo_bot/base_task.py", line 23, in init
self.initialize()
File "/Users/Jose/PokemonGo-Bot/pokemongo_bot/cell_workers/telegram_task.py", line 33, in initialize
self.update_id = self.tbot.getUpdates()[0].update_id
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/telegram/bot.py", line 121, in decorator
result = func(self, *args, **kwargs)
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/telegram/bot.py", line 1220, in getUpdates
result = request.post(url, data, timeout=urlopen_timeout)
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/telegram/utils/request.py", line 235, in post
**urlopen_kwargs)
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/telegram/utils/request.py", line 160, in _request_wrapper
resp = _get_con_pool().request(*args, **kwargs)
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/telegram/utils/request.py", line 46, in _get_con_pool
_init_con_pool()
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/telegram/utils/request.py", line 64, in _init_con_pool
mgr = urllib3.proxy_from_url(proxy_url, **kwargs)
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/urllib3/poolmanager.py", line 367, in proxy_from_url
return ProxyManager(proxy_url=url, **kw)
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/urllib3/poolmanager.py", line 318, in init
raise ProxySchemeUnknown(proxy.scheme)
urllib3.exceptions.ProxySchemeUnknown: Not supported proxy scheme None
[2016-08-29 01:31:44] [sentry.errors] [ERROR] Sentry responded with an error: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
return opener.open(url, data, timeout)
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 494, in open
response = self._open(req, data)
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 512, in _open
'_open', req)
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 466, in _call_chain
result = func(*args)
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/raven/utils/http.py", line 46, in https_open
return self.do_open(ValidHTTPSConnection, req)
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 1284, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1057, in request
self._send_request(method, url, body, headers)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1097, in _send_request
self.endheaders(body)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 895, in _send_output
msg += message_body
File "/Users/Jose/PokemonGo-Bot/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte
[2016-08-29 01:31:44] [sentry.errors.uncaught] [ERROR] [u'ProxySchemeUnknown: Not supported proxy scheme None', u'  File "pokecli.py", line 768, in ', u'  File "pokecli.py", line 119, in main', u'  File "pokecli.py", line 87, in start_bot', u'  File "pokecli.py", line 78, in initialize_task', u'  File "pokemongo_bot/tree_config_builder.py", line 79, in build', u'  File "pokemongo_bot/base_task.py", line 23, in init', u'  File "pokemongo_bot/cell_workers/telegram_task.py", line 33, in initialize', u'  File "telegram/bot.py", line 121, in decorator', u'  File "telegram/bot.py", line 1220, in getUpdates', u'  File "telegram/utils/request.py", line 235, in post', u'  File "telegram/utils/request.py", line 160, in _request_wrapper', u'  File "telegram/utils/request.py", line 46, in _get_con_pool', u'  File "telegram/utils/request.py", line 64, in _init_con_pool', u'  File "urllib3/poolmanager.py", line 367, in proxy_from_url', u'  File "urllib3/poolmanager.py", line 318, in init']

Other Information
OS: Mac OS X 10.10

Branch: Dev

Git Commit: 007f02a35726947b7378aada3fb0cf8d0b462b36

Python Version: Python 2.7.10

You wrong use proxy. Right: /usr/bin/env HTTPS_PROXY="http://xxxx" or /usr/bin/env HTTPS_PROXY="https://xxxx"

@askovpen I know that, and I'm using it like that.

whats problem?

It's fixed now.


Update butterknife

I stumbled across this sample, it seems quite helpful, but the code's rotted a bit. I've made some updates, starting with the build tools and the butterknife version.

🙏 much appreciated.


More Information Required

I find this article to be lacking detail. I have attempted to implement this and the EXE and DLL event log keep producing would be blocked entries in audit mode and blocked entries in enforced mode. Is this the expected behaviour?

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

ID: 07fdf27b-1ead-1b6e-c793-a2ad259a4f6a
Version Independent ID: 8da1f371-73d4-c79f-a97b-80170e7860af
Content: Deploy Managed Installer for Windows Defender Device Guard (Windows 10)
Content Source: windows/security/threat-protection/device-guard/deploy-managed-installer-for-device-guard.md
Service: unspecified
GitHub Login: @mdsakibMSFT
Microsoft Alias: justinha

Can the documentation from here: https://cloudblogs.microsoft.com/enterprisemobility/2016/06/20/configmgr-as-a-managed-installer-with-win10/
be linked/included/referenced somehow. It is a missing piece of important information in getting this to work


Having trouble loading the st_aggrid.agGrid component in DEV mode

I'm trying to work on the JS code of the component. First, i run npm run start from the frontend dir , then set env variable to switch streamlit-aggrid into dev mode, and then streamlit run on my app
I do get a warning (UserWarning: WARNING: ST_AGGRID is in development mode.) as expected.
However, when i go to the webpage, it hangs with
"(The app is attempting to load the component from http://localhost:3001/, and hasn't received its "streamlit:componentReady" message.)"
Is there anything else i need to do be able to run in dev mode?
Btw i can successfully compile the app with npm run build but it's a pain to develop by compiling every time to see the impact of code changes

Set and environment variable AGGRID_RELEASE=False.
Or add it to an .env file at project root. Internally I'm using python-decouple to define the mode.

Set and environment variable AGGRID_RELEASE=False.
Or add it to an .env file at project root. Internally I'm using python-decouple to define the mode.

I did, and streamlit app is looking for the react app running on localhost:3001, but the component is not loading.


Annoying getting all the "Please wait while tags are built" dialogs

When ever you've got the tags building there's a lot of actions that will trigger a "Please wait while tags are built" dialog box, specifically right clicking is annoying.
It'd be great if things that aren't specifically requiring the complete ctags file could not complain so loudly.

This is controlled by "display_rebuilding_message" setting.


Can you add an implementation with an example on the fastify server?

Prerequisites

[X] I have written a descriptive issue title
[X] I have searched existing issues to ensure the issue has not already been raised

Issue
The problem is that I do not quite understand how to pass busboy to the pipe, based on examples from the busboy library

We use our busboy fork in @fatsify/multipart. Plrease refer to that plugin to figure out how it is used ;).


Update/Add [latex and friends: miktex]

Related to #613, this might be closed because of the same reason, but I am opening an issue to see if there is any interest out there.
Tool information

Tool name: Miktex
Tool license: here
Add or update? Add
Desired version: 2.9
Approximate size: around 880MB
If this is an add request:

Brief description of tool: TeX/LaTeX
URL for tool's homepage: https://miktex.org

Area for Triage:
Packages
Virtual environments affected

[ ] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[x] Windows Server 2016 R2
[x] Windows Server 2019

Can this tool be installed during the build?
It can but it would take too long in my opinion.
Tool installation time in runtime
Long
Are you willing to submit a PR?
With some guidance and if I get the priority at work to do that, sure.

ℹ Downloading a zip package with miktex portable unpacking it and adapting the PATH variable takes around 1 minute in the cloud.

Hi @FrancescElies, thanks for the suggestion but considering the size of the package and cost/benefit of having it baked into the image, we won't add it at this time

@alepauly Whould the fact that it takes 25 minutes to install a miktex install on a windows instance prompt you to reconsider by any chance (trying my luck :)) ?
    - name: Install System dependencies and LaTeX
      shell: bash
      run: |
        set -x
        echo "Downloading MiKTeX CLI installer"
        # We download from a specific miror already # TODO: Should store this setup package somewhere ourselves
        curl -L -O https://ctan.math.illinois.edu/systems/win32/miktex/setup/windows-x64/miktexsetup-4.1-x64.zip
        unzip miktexsetup-4.1-x64.zip

        echo "Setting up the local package directory via download"
        ./miktexsetup_standalone --verbose \
            --local-package-repository=C:/MiKTeX-Repo \
            --remote-package-repository="https://ctan.math.illinois.edu/systems/win32/miktex/tm/packages/" \
            --package-set=complete \
            download

        echo "Installing from the local package directory previously set up"
        ./miktexsetup_standalone --verbose \
            --local-package-repository=C:/MiKTeX-Repo \
            --package-set=complete \
            --shared=yes \
            install

        echo "Adding MiKTeX bin folder to PATH and to GITHUB_PATH"
        echo "C:/Program Files/MiKTeX/miktex/bin/x64/" >> $GITHUB_PATH
        export PATH="/c/Program Files/MiKTeX/miktex/bin/x64/:$PATH"

        echo "Configuring MiKTeX to install missing packages on the fly"
        initexmf --admin --verbose --set-config-value='[MPM]AutoInstall=1'

        echo "Configure default mirror for packages"
        mpm --admin --set-repository="https://ctan.math.illinois.edu/systems/win32/miktex/tm/packages/"
        # Avoid annoying warning: "xelatex: major issue: So far, you have not checked for updates as a MiKTeX user."
        mpm --find-updates
        mpm --admin --find-updates

example run: https://github.com/jmarrec/EnergyPlus/runs/2876590566?check_suite_focus=true

@jmarrec downloading miktex from azure artifacts or similar instead of Cpan I bet would speed up things.

This is probably true than CTAN is slower than paid services.
But note that it would require me hosting a separate instance of a ctan repo, or go through a complicated process of setting up some kind of archive of all the tar.lzma package archive I might need (then figure out the commands needed to actually make use of that, which I am attempting now and is definitely not trivial). In both case I also would need to have an azure artifact, or S3, or similar account, which I do not have.
I do not know to which extent you're familiar with how miktex and packages install on windows (and the miktexsetup_standalone, initexmf, mpm utilities, and the very confusing --admin flags for these given than GHA runs elevated), but it's definitely not easy/straightforward (to me at least), and it's been a major pain point of my CI setup. Your comment above about unpacking a miktex portable zip taking 1 minute is, IMHO, seriously downplaying the complexity, and the required time (both in actually making in work, then in github action runtime... what takes 25 minutes to run on windows will take about 2 min on Ubuntu via apt-get). Perhaps I missed an obvious solution, and if you have an example workflow that works and performs much better than this, I'm definitely all ears!
Anyways, I'm just mentioning the serious runtime penalty to see if this could be reconsidered for inclusion on the runners (which would solve all of my problems). That being said, if the answer is still that it won't be included, then that's fine and I'm on my own figuring it out :)

For context: I do want to build the PDF on windows. Because I want to ensure that it works. it's also one step in a complicated C++ workflow and I wish to keep my Linux, Mac and Ubuntus workflows separate because merging them in a matrix makes them way too complicated.
Also note that I was using the chocolatey miktex package previously, but it would always fail on Github Actions (and not locally) because the CTAN mirror it would pick by default would fail, hence why I've already gone the miktexsetup_standalone route to begin with so I could configure things with a more reliable CTAN mirror.

My knowledge on how to install miktex and it’s packages is limited and hopefully I will keep it that way if I can avoid it. I would like to keep my head free from that kind of Baggage.
I am in a similar situation. Complex build process and at the end a PDF needs to be produced.
I avoid having miktex to install packages on the fly. In order to do that I downloaded miktex portable once and installed if I remember correctly the packages I need from the ui. Once downloaded locally I compressed the whole portable directory again with my dependencies and uploaded the whole thing to azure artifacs (luckily I don’t have to pay it myself, this is what we use at work).
Summary: avoid network operations on third party stuff like the plague.
If you are in an open source project, I’m not sure what to propose. In a closed source thing maybe pay some money to azure devops, s3 might help.
I can hear your pain struggling to install stuff on windows. Chocolatey, well … it helps in some cases but I also had a bunch of other problems with it, I use locally but not in ci.
I hope that helps. At the moment I am afraid I cannot send you a snippet of what we do, I would have to check if that would be ok.


Move fuzz corpus elsewhere?

The internal/fuzz/wire/corpus directory contains the start of a fuzzing corpus for the wire format. My experience with fuzzing is that the corpus can really grow in size over time as the fuzzer explores more branch cases. Do we want these in our repo, or should this live elsewhere?

\cc @neild

This contains only the seed corpus (a starting point to help get the fuzzer bootstrapped) and interesting test cases discovered by fuzzing. The full working corpus is managed by OSS-Fuzz:
https://google.github.io/oss-fuzz/advanced-topics/corpora/
I think it's fine to keep a minimal corpus here as a test case for the fuzz function.

Ah. Got it. A non-growing corpus is acceptable. Closing.


No available node version satisfies 'node9'

I got an error when trying to run carlo-nativefier:

I'm sorry but pkg does not support node9. These are the supported node versions:
https://github.com/zeit/pkg-fetch/blob/master/patches/patches.json

Thanks