remove a double run sentence clearNeedNetworkLedger ();

if (consensus)
{
  clearNeedNetworkLedger ();//_first run_--------------------------------

    // FIXME: If this rewinds the ledger sequence, or has the same sequence, we
    // should update the status on any stored transactions in the invalidated
    // ledgers.
    switchLastClosedLedger (consensus);//double run in this function ------------------------------
}
return true;

void NetworkOPsImp::switchLastClosedLedger (
std::shared_ptr const& newLCL)
{
clearNeedNetworkLedger ();//double run -----------------------------------

Current coverage is 65.44% (diff: 100%)

Merging #1931 into develop will decrease coverage by 0.01%

@@            develop      #1931   diff @@
==========================================
  Files           698        698
  Lines         49745      49744     -1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits          32562      32556     -6
- Misses        17183      17188     +5
  Partials          0          0

Powered by Codecov. Last update 4d7b1a3...a29b104

Thanks for your contribution! I would prefer a rewording of the commit message: Remove redundant call to clearNeedNetworkLedger but we can do that during merge.

👍

Merged as 7ff243ade9c4f869d591473c0f3f58756b9b2aaa. Thank you for your contribution.


Css basics demo

add demo start and demo end versions for css basics
css-basics/demo-start
📄 Rendered Exercise
🔎 Review
Review via 🔗 CodeSandbox or locally by running this command in your Terminal:
npx ghcd@latest neuefische/web-exercises/tree/css-basics-demo/sessions/css-basics/demo-start -i

✨ Copyable Markdown for Curriculum
Use this demo on
[🔗 **CodeSandbox**](https://codesandbox.io/s/github/neuefische/web-exercises/tree/main/sessions/css-basics/demo-start?file=/README.md)
or locally by running this command in your Terminal:

```
npx ghcd@latest neuefische/web-exercises/tree/main/sessions/css-basics/demo-start -i
```

css-basics/demo-end
📄 Rendered Exercise
🔎 Review
Review via 🔗 CodeSandbox or locally by running this command in your Terminal:
npx ghcd@latest neuefische/web-exercises/tree/css-basics-demo/sessions/css-basics/demo-end -i

✨ Copyable Markdown for Curriculum
You can check out the final version of this demo on
[🔗 **CodeSandbox**](https://codesandbox.io/s/github/neuefische/web-exercises/tree/main/sessions/css-basics/demo-end?file=/README.md)
or locally by running this command in your Terminal:

```
npx ghcd@latest neuefische/web-exercises/tree/main/sessions/css-basics/demo-end -i
```

hey @F-Kirchhoff I updated the branch to conform to our new templates and edited the PR-text using our new tooling.


Cannot load module 'TensorFlow' as 'Tensorflow' in xcode 11.1

Hi everyone
I follow the lead of https://github.com/tensorflow/swift/blob/master/Installation.md try to install swift for tensorflow.
I switch to swift for tensorflow toolchain and change to legacy build system, but it still doesn't work for me.
Can anyone offer some help? Thank you very much

Please try import TensorFlow instead of import Tensorflow.

Please try import TensorFlow instead of import Tensorflow.

Ohhh~  Who silly of me! Thank you !


Alignment of Richie files with a metadata standard, Dublin Core or others

Dublin Core alignement
Use
As a catalog of educational and courses ressources should follow metadata standard.
It should follow the convention for already existing descriptors and have more descriptors available, if needed. See Dublin core standard, https://www.dublincore.org/
Alternative
See http://www.lom-fr.fr/index.html, for a metadata initiative with less traction. May be it is good enough to base our alignment with Dublin Core

@robertgerinlajoie @2018D Interesting but can you elaborate on how this would translate concretely in Richie? What modifications would be required?

Pasting here for reference some standards that were pointed to us for interconnection with french libraries:

http://www.openarchives.org/OAI/openarchivesprotocol.html
https://opds.io

Not sure how all these standards compare / collaborate...


Inaccurate mouse position on wayland

My WM is Sway which uses wayland, so I'm not sure if this an issue from your project or one of your dependencies, but I thought I'd let you know. Great stuff so far!
I also haven't looked much past your dependencies in regards to how you implement things, and I might not be aware of limitations you want in your project, but if you wanted, you could use rayon for faster iteration across your code.

Wayland support isn't perfect, but I got it to work.


Migration & MySql Query addCheck() and dropCheck()

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues
#19817, #19819

hi, @bobonov, would have time to apply the suggestions, to finish the PR,
Thks.

Hi, add line in changelog,
Thks,

@bobonov
Thanks for the PR. Would you please work on the comments, notably change log entries, so that the PR can be merged?

I think we need to enable MySQL tests for this feature:
https://github.com/yiisoft/yii2/blob/f2ea9be24225987b2acf2d6fdd2789e0a32b7fb0/tests/framework/db/mysql/CommandTest.php#L20

done.

This PR needs to be updated, since for Yii2 to correctly support addCheck() and dropCheck() in MySQL, loadTableChecks() must be implemented for MySQL 8.0.16 or higher, so it is in progress.

The PR title and changelog need to be updated too, since it does more than add/drop check

Please if you can take a look, all the tests work,
Thks.
@rob006 @bizley @darkdef

@rob006 @darkdef @rhertogh can you review this PR? Would like to see it merged before end of this week, if we can make that happen!

Thanks everyone and especially @bobonov and @terabytesoftw  for your work on the PR


Added the Windows Parameters "-nographics -batchmode" to the valheim-server script

First of all: Great work!
I added the Windows Parameters "-nographics -batchmode" from the Steam Dedicated Server Package to the valheim-server script.
This leads to 10% less CPU usage and less desync lag on my server.

Thank you, LGTM.

I updated my container to latest version but I don't see a change in CPU load at all. Neither in idle nor with players connected. Any idea?

I can confirm a drop of 20%ish . Before 4cpu at 120%, after updating I'm running below 100% .
Great work!

I imagine the nographics switch only applies to systems that actually have a GPU. Since my NAS doesn't have a GPU that switch might not have an effect for me.

I've noticed a massive CPU-usage drop and a pretty hefty RAM-usage drop too since this was introduced. Docker used to show around 45% CPU usage and 2,5GB RAM usage, it's now down to 15% CPU/1,8GB RAM. I'm hosting on a Synology DS218+
Great work!

@lerb that sounds more like you're experiencing the effects of server v0.145.6 which had this in the changelog:
Dedicated server CPU usage fix (Framerate limiter)

Was released like two days ago or so and had that extreme CPU usage drop effect you're describing.

@lerb that sounds more like you're experiencing the effects of server v0.145.6 which had this in the changelog:
Dedicated server CPU usage fix (Framerate limiter)

Was released like two days ago or so and had that extreme CPU usage drop effect you're describing.
See https://store.steampowered.com/news/app/892970/old_view/3059603718045184990 for more details.

Oh, I see! Silly me, thank you for the clarification.


MnM 3E Official macro fixes

The attribute descriptor wasn't being passed on to attack macros in repeating sections outside of basic Powers.
Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Yew 0.18 support

I can't use css-in-rust in Yew that version is 0.18

I have generate a PR https://github.com/lukidoescode/css-in-rust/pull/37
Waiting for approval ...
You can use the branch to start.

you can make it manually
use yew::html::Classes;
use css_in_rust::Style;

pub fn parser(style: Style) -> Classes {
    Classes::from(style.to_string())
}

to use
let style = match Style::create(...){...};
html!{
    <Element class=parser(style.clone()) ></Element>
}


feat: additional imports in main

What this PR does / why we need it

add an additional imports module hook in main

Jira ID
[XX-XX]

Notes for your reviewers

I knew I saw this before lmao


make NLS support configurable via a feature flag

NLS is not necessary for Materialize, and breaks the build on FreeBSD. Leave it in as a feature flag for people who need it.

Man, nothing is ever easy. Blocked on https://github.com/alexcrichton/cc-rs/issues/529.


Adds additional exercises 3 - 5 to cover a range of Java topics

Adds additional exercises 3 - 5 to cover a range of Java topics

@kimdiep All looks good to me - I like the increasing complexity. Just the one comment on exercise 004

All looks good to me now @kimdiep


Strongholdify - Increased peasant spawnrate

Hi! found some coding but can't figure out what to change to increase peasant spawnrate even higher than in the vanilla game. I am not good at programming at all so any help which could help me achieve that is more than welcomed!
39 9E ? ? ? ? 74 0E 39 1D
`   }
},
            new DefaultHeader("o_shfy_peasantspawnrate", false)
            // fixes peasant spawnrate
            {
                new BinaryEdit("o_shfy_peasantspawnrate")
                {
                    new BinSkip(8),
                    new BinBytes(0x83, 0xFB, 0x00, 0x90, 0x90, 0x90),
                    new BinSkip(8),
                    new BinBytes(0x83, 0xFB, 0x00, 0x90, 0x90, 0x90)
                }
            },

            new DefaultHeader("o_shfy_resourcequantity", false)
            // fixes resource quantity
            {

`

Somehow this one I somehow missed:
As explained in https://github.com/Sh0wdown/UnofficialCrusaderPatch/pull/505, this change does not change the spawn rate, but only changes the behavior to match the one of the Single Player modes (like castle builder), so this edit cannot be changed for more different spawnrates. However, iirc, there was a timer somewhere near this so this could do the trick...

I checked Sh0wdown's ida comments today which mention a function that is responsible for spawning peasants. It allowed me to find the memory sections for spawn rates.
For skirmish v1.41 first address is at 006B8EC8. Every entry is 4 bytes long and defines the spawn/despawn rate for a a popularity segment. First entry FFFFFFF8 = -8 is the speed for 0 popularity and last entry 0x28 = 40 for 100 popularity.

@GRhin changing the first entry to -40 will despawn peasants just as fast as they come with 100 popularity. Therefore making -24 taxes useless.

I checked Sh0wdown's ida comments today which mention a function that is responsible for spawning peasants. It allowed me to find the memory sections for spawn rates.
For skirmish v1.41 first address is at 006B8EC8. Every entry is 4 bytes long and defines the spawn/despawn rate for a a popularity segment. First entry FFFFFFF8 = -8 is the speed for 0 popularity and last entry 0x28 = 40 for 100 popularity.

@GRhin changing the first entry to -40 will despawn peasants just as fast as they come with 100 popularity. Therefore making -24 taxes useless.


Upload smaller test data

We need smaller test data as the chr_array jobs time out in Travis-CI (see here).

We can either reduce chr22 (51Mb) to a region (ex. 1Mb) or use the mithocondrial (MT) DNA (16K). A smaller region would also mean less SVs. Is there an indication from Travis CI on what extent we should reduce the test set?
W.r.t. memory usage in chr_array, most of the memory is taken up by loading the Numpy arrays. I will check if I can reduce the memory usage.

After merging your changes to the chr_array including some modifications, the Travis build still times out and a local run terminates on my laptop (>15G memory use). Could you prepare reduced data files?

After merging your changes in chr_array (incl. some fixes) the Travis build still fails:
/var/spool/gridengine/execd/8ec75217bbab/job_scripts/7: 22: /var/spool/gridengine/execd/8ec75217bbab/job_scripts/7: source: not found

Traceback (most recent call last):

  File "chr_array.py", line 346, in <module>

    main()

  File "chr_array.py", line 340, in main

    cmd_name=cmd_name

  File "chr_array.py", line 142, in create_hdf5

    chr_array = np.zeros(shape=(chrlen, n_channels), dtype=np.float32)

MemoryError: Unable to allocate array with shape (51304566, 46) and data type float32

Nevertheless, jobs submitted to HPC/DAS completed successfully within 5 min. Could you try to reduce the data files?


Update whitepaper

Changes
Update the CDEvents Whitepaper, copying it from https://cd.foundation/user-stories-and-whitepapers/
Fixes #127
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[X] Has the primer doc been updated if a design decision is involved
[X] Have the JSON schemas been updated if the specification changed
[X] Has spec version and event versions been updated according to the versioning policy
[X] Meets the CDEvents contributor standards

@afrittoli , do we need to update https://github.com/cdevents/cdevents.dev/blob/main/content/en/docs/CDEvents_Whitepaper.pdf explicitly as well, or will that be replaced next time we publish the spec to the website?


Custom control "loading" indicator

Very, very minor UX thing.
When switching to the Custom Controls pane, the app takes a few seconds to fetch them off the server, but gives no indication of it happening at all. As such, it looks like the list is going to remain empty, but then suddenly gets populated. I'm not sure if it remains empty in case none are set on the server.
An improvement would be to just add an indicator there (even a fake, unclickable item in the list saying "loading" would be fine), possibly with an indicator for an empty list if no custom controls are available.
Even better, caching the custom controls in the background upon app load would be even better. It could be done at startup after everything else is done as it's a minor thing, or even just when the user switches to the temperature tab, as it's between the main one and the custom controls. Even if it's not done by the time the user actually gets to the custom controls tab, it would have a headstart.

100% agreed! Thanks for opening the ticket with your proposal!


feat(fetcher): implement vaksinasi.id db fetcher

Fetches vaksinasi.id's DB and store it in wbw-vaccination-database.json
Closes #803
Description
The issue didn't give a lot of information, but I assume the goal is to have all the data from the API, as the endgoal is to write it all to wbw-vaccination-database. So this will fetch for the /regions endpoint of the vaksinasi.id API first, then iterate over the provinces and fetch its vaccination locations from the /locations/:region endpoint, dump all of the Promise'd JSON response into the promisedLocations array and then use Promise.all to await all of the promises in the locations array. Lastly, stringify locations and write it into wbw-vaccination-database.json
Just a quick question. I wrote the mockups for the responses in the vaksinid-${endpoint} format, but as I think this project uses the wbw prefix a lot, should I rename them to use the wbw prefix or not?
Also this is my first time contributing to big projects. Forgive me for my n00b mistakes.
Current Tasks

[x] Typings (should I?)
[x] Main code
[x] Tests

Mm, should I put mark this as "Ready for Review" or not?

Could you please try doing the same thing here in your local machine and share your results in screenshots? Thanks! :pray:

At first attempt yes (I lost the screenshot of it though), it happened when using with the spinner (the spinner is just so broken, pls fix), but for some reasons currently I don't when using your test implementation.

Could you please try doing the same thing here in your local machine and share your results in screenshots? Thanks! :pray:

Umm, seems negative.


Relay 4

https://github.com/relay-tools/relay-compiler-language-typescript/pull/106

I just tried it, and despise of following instructions https://github.com/relay-tools/relay-compiler-language-typescript, it does not work.


Competition dump doesn't include leaderboard's submission_rule

(Running our own instance, which is a few commits behind.)
Dumping a competition doesn't seem to include the leaderboard's submission_rule.
This seems to be intended (for now), see https://github.com/codalab/codabench/blob/6ff1c4532679c59b1fdb20168ee728b9a7f42ae0/src/apps/competitions/tasks.py#L82-L91

Nice catch

I merge this with #1481


Deploy test

Solves #369
Includes not only _updateversion.py but also the cython headers files *.pxd:

Corrections in MANIFEST.in (old MANIFEST.txt)
Added _updateversion.py in setup file

Hello @lasofivec! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file setup.py:

Line 389:15: E251 unexpected spaces around keyword / parameter equals
Line 389:17: E251 unexpected spaces around keyword / parameter equals

Codecov Report

Merging #370 into devel will not change coverage by %.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##            devel     #370   +/-   ##
=======================================
  Coverage   38.58%   38.58%
=======================================
  Files          88       88
  Lines       25162    25162
=======================================
  Hits         9709     9709
  Misses      15453    15453

Impacted Files
Coverage Δ

tofu/version.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

I have, you can try with pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple tofu==1.4.3b3

I have tried this on my machines as well and it's working. I feel like we have encounter this issue before with numpy incompatibilities.
Could you try to uninstall and reinstall numpy in your environment ?

I used python 3.6 in this environment, could it have something to do with it ? (instead of 3.7 ?)
But pip should automatically compile with the proper python no ?
Is it because of the pxd files that pip now wants 3.7 ?
Are they compulsory or can they be removed to keep pip install flexible ?

I'm trying with fresh empty environment for 3.6 and one for 3.7, will tell you in a few minutes

No, the python version has nothing to do with it.

I think it's just a "dirty" installation.

Hum,. looks like you are right, when I create a fresh empty environment with just python, and then install tofu with pip using the line you provided, ut works out of box (all dependencies handles and no bug) both for python 3.6 and 3.7   :-)
Great job ! 👍
Do you feel we should investigate further this issue or we can close it ?

I think we can close it. It's a numpy/conda issue that we have encountered in the past.
Could you merge the branch ? :)

I'll let you choose whether you want to delete the branch
Great !


Custom action modules

Proposed changes:
Rasa allows module path-based custom natural language generators, interpreters, brokers and stores, but there is currently no easy way to extend it with native (non-SDK) actions. This is a limitation for some use cases, for example if one wants to implement a LoopAction.
This PR makes it possible to load custom actions by specifying module paths in the endpoints. The current implementation piggybacks on the action_endpoint object that's passed to action name resolution methods.
Status (please check what you already did):

[ ] added some tests for the functionality
[x] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

Thanks for submitting a pull request 🚀 @samsucik will take a look at it as soon as possible ✨

Hey @pheel. Can you explain in a bit more detail 1) these use cases (e.g. implementing a LoopAction) and 2) what is limiting for them in our current approach of requiring all user actions to use the sdk?

@pheel Why can't you implement a LoopAction in the SDK?

@pheel Why can't you implement a LoopAction in the SDK?

@TyDunn @wochinge I guess the current lack of a base class in the SDK, and the deprecation warnings for FormAction there threw me off... Would a base class for LoopAction be a welcome PR for the SDK, then?

@pheel I think this could make sense 👍🏻 To be honest, I'm super curious about your use case 😄  What are you trying to accomplish?

@wochinge This is to develop form-like flows with integrated condition verification (on potentially unfeaturized) slots. Essentially the idea outlined in https://github.com/RasaHQ/rasa/issues/6178.

what do you mean by integrated? You can already implement conditions for slot mappings using the FormValidationAction


Add ability to delete a device from HA

A user shold be able to remove a device from Home Assistant without any back editing of the registry.

Okay, adding this here ... scratching my head on it ... sort of working
Listed below is the __init__.py file. I added in the async_remove_config_entry_device and logging to debug. This code is to delete a device. Either an existing device that is present, or a missing device removed from the user's installation.
What I cannot figure out is the result Device / service not found. When doing the action, the device deletes sucessfully in the device registery, but responds with the error.
I beleive the code that calls the async_remove_config_entry_device is the HA's device_registry.py , line 134 ... I cannot figure out that the error message gets popped. I am wodering if there is a callback that I am missing.
You can simulate the removing of a sensor by ...

Going into the Kidde app, select the location anme, then click on a device's Show Device Settings and renaming it and hitting the back arrow.
Then go into HA and reload the main integration by selecting the three dots and selecting reload.
The sensor will now be a new device in HA, and you can delete the old device.
What i do is then go back and rename it back to the original name, reload in HA, then delete the missing device.
You can turn on debugging to see more details.

Here are the three dialog boxes that are presented when you delete.

In the HA device page under Device info

Popup when selecting DELETE

and the resulting response after selecting DELETE.

"""The Kidde HomeSafe integration."""

from __future__ import annotations

import logging

from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant
from homeassistant.helpers.device_registry import DeviceEntry
from kidde_homesafe import KiddeClient

from .const import DOMAIN
from .coordinator import KiddeCoordinator

PLATFORMS: list[Platform] = [
    Platform.SWITCH,
    Platform.BUTTON,
    Platform.SENSOR,
    Platform.BINARY_SENSOR,
]

logger = logging.getLogger(__name__)

async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
    """Set up Kidde HomeSafe from a config entry."""

    hass.data.setdefault(DOMAIN, {})
    client = KiddeClient(entry.data["cookies"])
    hass.data[DOMAIN][entry.entry_id] = coordinator = KiddeCoordinator(
        hass, client, update_interval=entry.data["update_interval"]
    )
    await coordinator.async_refresh()

    await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

    return True

async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
    """Unload a config entry."""
    if unload_ok := await hass.config_entries.async_unload_platforms(entry, PLATFORMS):
        hass.data[DOMAIN].pop(entry.entry_id)

    return unload_ok

async def async_remove_config_entry_device(
    hass: HomeAssistant, entry: ConfigEntry, device: DeviceEntry
) -> bool:
    """Remove a Kidde device associated with a config entry."""

    for identifier in device.identifiers:
        if logger.isEnabledFor(logging.DEBUG):
            logger.debug(
                "Removing Device: [%s]",
                identifier,
            )
            logger.debug(
                "Entry ID: [%s]",
                entry.entry_id,
            )
            logger.debug(
                "Device ID: [%s]",
                device.id,
            )
            logger.debug(
                "Identifier in Devices: [%r]",
                identifier[1] in hass.data[DOMAIN][entry.entry_id].data.devices,
            )

        if (
            identifier[0] == DOMAIN
            and identifier[1] in hass.data[DOMAIN][entry.entry_id].data.devices
        ):
            return False

    return True


Feature/cldn 770

Displays all columns and metrics in the data set explore window.

Looks good to me, too. We should definitely try to get this merged upstream.


A very basic documentation and/or a few simple examples

Would love to use this for my first API project, but having no documentation is not really encouraging for beginners.
I could find no projects that make use of this as well.
Please try to provide the bare minimum. Thanks.

@sgmihai The nim-presto library is used in nimbus and nwaku projects.
You can find some usage examples in the nwaku codebase: https://github.com/status-im/nwaku/tree/master/waku/v2/node/rest

Wow.... awesome... why bother with documentation.  This is the kind of libs that kills languages.


v1.10.0

Update to v1.10.0
Spacepackets updates to v0.4.2
Replaced more setters and getters with properties
API changes, TCP ComIF takes list of space packet IDs now to allow multiple APIDs
Service 1 and Service 17 PUS TM components moved to spacepackets, extension for tmtccmd are now named Service1TMExtended and Service17TMExtended

Codecov Report

Merging #42 (b510631) into main (45a62b5) will increase coverage by 0.84%.
The diff coverage is 66.46%.

:exclamation: Current head b510631 differs from pull request most recent head 2e29897. Consider uploading reports for the commit 2e29897 to get more accurate results

@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
+ Coverage   44.78%   45.63%   +0.84%
==========================================
  Files          58       54       -4
  Lines        4030     3936      -94
==========================================
- Hits         1805     1796       -9
+ Misses       2225     2140      -85

Flag
Coverage Δ

unittests
45.63% <66.46%> (+0.84%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/tmtccmd/com_if/tcpip_udp_com_if.py
29.85% <0.00%> (ø)

src/tmtccmd/config/args.py
15.10% <0.00%> (ø)

src/tmtccmd/config/definitions.py
100.00% <ø> (ø)

src/tmtccmd/tm/service_3_housekeeping.py
27.47% <7.69%> (ø)

src/tmtccmd/config/com_if.py
25.21% <15.38%> (-1.34%)
:arrow_down:

src/tmtccmd/tc/packer.py
48.38% <20.00%> (ø)

src/tmtccmd/tc/service_5_event.py
21.87% <25.00%> (ø)

src/tmtccmd/pus/service_1_verification.py
44.04% <34.61%> (ø)

src/tmtccmd/com_if/tcpip_tcp_com_if.py
32.03% <50.00%> (ø)

src/tmtccmd/tm/handler.py
53.57% <50.00%> (ø)

... and 14 more

Continue to review full report at Codecov.

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


Boost extraction

Issue for tracking the changes that would be needed to remove the transitive dependency on Boost currently required of projects using HELICS.

[x] Replace program_options in common/argParser.h with an alternative for parsing arguments (ex: https://github.com/CLIUtils/CLI11)
[x] Replace Boost asio with the upstream asio library (https://think-async.com/Asio/) -- removes dependency on Boost system without using any undocumented defines. common/AsioServiceManagerFwd.hpp should then be possible to remove
[x] Remove use of filesystem from application_api/FederateInfo.cpp, and common/argParser.h to break the transitive dependency. Also used in apps/helicsApp.cpp, apps/helicsConfigMain.cpp, apps/Player.cpp, apps/Recorder.cpp, and apps/Tracer.cpp -- removal would allow people compiling HELICS that don't care about the tests to skip the build step for Boost
[x] Extra: check for Boost headers included by public API headers -- removing would make so user projects don't need to find any parts of Boost (ValueConverter_impl.hpp uses boost::iostreams; this isn't part of the public API and involves serialization using cereal, which is C++ only and won't work with other languages. If a user chooses to use it for serialization, they need to include their own copy of boost includes)

PR #662 replaces boost::program_options with CLI11 and removes use of boost::filesystem from the application api.

PR #664 removes the dependency on the Boost Filesystem library.

@nightlark  can this be closed?  or is there any more steps to complete

Yes, it looks like this is done!


TestIngressConformance/visibility/split is flakey

https://testgrid.k8s.io/r/knative-own-testgrid/net-contour#continuous&exclude-non-failed-tests=10

Should be resolved with https://github.com/knative/networking/pull/605


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #709 (29b2174) into main (3b9d824) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #709   +/-   ##
=======================================
  Coverage   95.69%   95.69%
=======================================
  Files           1        1
  Lines         395      395
  Branches       53       53
=======================================
  Hits          378      378
  Misses         17       17


⚠ gorzdrav.org has degraded performance

In 359a596, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 1253 ms

Resolved: gorzdrav.org performance has improved in f17dfcc.


Read the docs fixes

\alpha latex rather than unicode
use python version 3.6
install viabel
CI for 3.6 and 3.7 -- drop 3.5 since it is end-of-life

Codecov Report

Merging #18 into master will decrease coverage by 0.50%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #18      +/-   ##
==========================================
- Coverage   94.05%   93.54%   -0.51%
==========================================
  Files           6       11       +5
  Lines         353      496     +143
==========================================
+ Hits          332      464     +132
- Misses         21       32      +11

Impacted Files
Coverage Δ

viabel/tests/test_convenience.py
100.00% <0.00%> (ø)

viabel/optimization.py
94.64% <0.00%> (ø)

viabel/objectives.py
100.00% <0.00%> (ø)

viabel/convenience.py
70.83% <0.00%> (ø)

viabel/tests/test_objectives.py
95.65% <0.00%> (ø)

Continue to review full report at Codecov.

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


[Bug] Segmentation fault when properties exceed ~100kb

Hi everyone, i'm running an event driven app and i use apache pulsar as backbone. I use message's properties to exchange metadata between the services.
I noted that, when the properties exceed ~100kb the client gives Segmentation fault (core dumped) (sometimes corrupted double-linked list instead)

I haven't done a proper test on the size, so take the size as a guideline

I was able to simulate the behaviour in a notebook:
import pulsar
import sys
import json

# need to serialize to json nested object because client accepts properties only
# of type (self: _pulsar.MessageBuilder, arg0: str, arg1: str)
nested_dict = json.dumps({
    "foo": "bar"
})

big_dict = {
    f"key{i}": nested_dict for i in range(3000)
}

print(sys.getsizeof(big_dict))  # 103856

client = pulsar.Client('pulsar://localhost:6650')
producer = client.create_producer('test-topic')

producer.send(content="test-message".encode(), properties=big_dict)  # segfault

Unfortunately i don't have details in the stacktrace:
In [4]: producer.send(content="test-message".encode(), properties=big_dict)
Segmentation fault (core dumped)

Pulsar client version is 3.5.0.

Ok, thanks! I also think it has to do with the core c++ implementation. But as a python user I wasn't sure.

Yeah, it's related to the C++ core. And it's a known issue. It might be easy to fix. I will take some time for it when I'm free.

I just double checked the issue and it looks like a bug with protobuf:
#1  0x0000ffffb1a58d2c in pulsar::proto::KeyValue::_InternalSerialize(unsigned char*, google::protobuf::io::EpsCopyOutputStream*) const () from /usr/local/lib/python3.10/dist-packages/pulsar_client.libs/libpulsar-8dc83e12.so
#2  0x0000ffffb1cc50e0 in google::protobuf::internal::WireFormatLite::InternalWriteMessage(int, google::protobuf::MessageLite const&, int, unsigned char*, google::protobuf::io::EpsCopyOutputStream*) ()
   from /usr/local/lib/python3.10/dist-packages/pulsar_client.libs/libpulsar-8dc83e12.so
#3  0x0000ffffb1a5b718 in pulsar::proto::MessageMetadata::_InternalSerialize(unsigned char*, google::protobuf::io::EpsCopyOutputStream*) const () from /usr/local/lib/python3.10/dist-packages/pulsar_client.libs/libpulsar-8dc83e12.so
#4  0x0000ffffb1c96478 in google::protobuf::SerializeToArrayImpl(google::protobuf::MessageLite const&, unsigned char*, int) () from /usr/local/lib/python3.10/dist-packages/pulsar_client.libs/libpulsar-8dc83e12.so
#5  0x0000ffffb1c94e98 in google::protobuf::MessageLite::SerializePartialToArray(void*, int) const () from /usr/local/lib/python3.10/dist-packages/pulsar_client.libs/libpulsar-8dc83e12.so
#6  0x0000ffffb1c94d50 in google::protobuf::MessageLite::SerializeToArray(void*, int) const () from /usr/local/lib/python3.10/dist-packages/pulsar_client.libs/libpulsar-8dc83e12.so
#7  0x0000ffffb1920704 in pulsar::Commands::newSend(pulsar::SharedBuffer&, pulsar::proto::BaseCommand&, pulsar::Commands::ChecksumType, pulsar::SendArguments const&) ()
   from /usr/local/lib/python3.10/dist-packages/pulsar_client.libs/libpulsar-8dc83e12.so

I tried the python client on macOS and it does not have this error but encountered the same issue for Ubuntu.
However, I tried the C++ client 3.5.1 on Ubuntu and this error does not happen:
#include <pulsar/Client.h>
using namespace pulsar;

int main() {
    const std::string topic = "test-topic";
    Client client("pulsar://host.docker.internal:6650");
    Producer producer;
    client.createProducer(topic, producer);

    MessageBuilder::StringMap properties;
    for (int i = 0; i < 3000; i++) {
        properties["key" + std::to_string(i)] = "{\"foo\": \"bar\"}";
    }
    auto msg = MessageBuilder().setProperties(properties).setContent("test-message").build();
    producer.send(msg);

    client.close();
}

Increasing the i in loop does not fail with segfault as well. (if the properties are too big,  ResultMessageTooLarge will be returned)
It might be an issue from the Python client side. So let me move it to pulsar-client-python first.


[tensorflow-cc:x64-windows] build failure

Host Environment

Windows 10
Compiler: Microsoft (R) C/C++ Optimizing Compiler Version 19.22.27905

To Reproduce
Steps to reproduce the behavior:
Run .\vcpkg.exe install tensorflow-cc:x64-windows
Failure logs
-- Acquiring MSYS Packages...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: C:/.../vcpkg/downloads/tools/msys2/msys64/usr/bin/bash.exe --noprofile --norc -c "pacman -Sy --noconfirm --needed unzip patch diffutils git"
    Working Directory: C:/.../vcpkg/downloads/tools/msys2
    Error code: 1
    See logs for more information:
      C:\...\vcpkg\buildtrees\tensorflow-cc\msys-pacman-x64-windows-out.log
      C:\...\vcpkg\buildtrees\tensorflow-cc\msys-pacman-x64-windows-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_acquire_msys.cmake:106 (vcpkg_execute_required_process)
  ports/tensorflow-cc/portfile.cmake:46 (vcpkg_acquire_msys)
  scripts/ports.cmake:91 (include)
Error: Building package tensorflow-cc:x64-windows failed with: BUILD_FAILED

msys-pacman-x64-windows-out.log:
:: Synchronizing package databases...

msys-pacman-x64-windows-err.log:
error: failed to update mingw32 (unable to lock database)
error: failed to update mingw64 (unable to lock database)
error: failed to update msys (unable to lock database)
error: failed to synchronize all databases

Additional context
I have tried deleting the buildtrees\tensorflow-cc folder and tensorflow-tensorflow-v1.14.0.tar.gz and installing again.

@AHUMANTHATISHUMAN,  tensorflow is still a work in progress, use issue https://github.com/microsoft/vcpkg/issues/7853 to track status.


Update Visual Studio version

@NextTurn : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Bumping major versions, and fixing tags for tests

Addresses #234

SonarQube analysis reported 10 issues

 2 minor
 8 info

Watch the comments in this conversation to review them.
9 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 com.coveros:selenified: URI: http://localhost:1070/next_page.html?submit_button=Submit | Method: GET | Attack: GET | URI: http://localhost:1070/next_page.html | Method: GET | Attack: GET | URI: http://localhost:1070/ | Method: GET | Attack: GET | Confidence: 2 | Description: The Content-Type header was either missing or empty. |
 com.coveros:selenified: URI: http://localhost:1070/ | Method: GET | Param: X-Content-Type-Options | Attack: GET | URI: http://localhost:1070/next_page.html | Method: GET | Param: X-Content-Type-Options | Attack: GET | URI: http://localhost:1070/next_page.html?submit_button=Submit | Method: GET | Param: X-Content-Type-Options | Attack: GET | Confidence: 2 | Description: The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing. |
 com.coveros:selenified: Filename: selenium-opera-driver-3.141.59.jar | Highest CVSS Score: 10.0 | Amount of CVSS: 15 | References: CVE-2008-3079 (10.0) CVE-2008-4293 (10.0) CVE-2008-1761 (9.3) CVE-2008-1764 (9.3) CVE-2008-4695 (9.3) CVE-2008-4794 (9.3) CVE-2008-5679 (9.3) CVE-2015-8960 (8.1) CVE-2010-5227 (6.9) CVE-2008-3172 (6.8) CVE-2009-0915 (6.8) CVE-2019-19788 (5.5) CVE-2003-1561 (4.3) CVE-2008-4696 (4.3) CVE-2008-4795 (4.3)
 com.coveros:selenified: Filename: okhttp-3.11.0.jar | Highest CVSS Score: 5.9 | Amount of CVSS: 1 | References: CVE-2018-20200 (5.9)
 com.coveros:selenified: Filename: htmlunit-core-js-2.36.0.jar | Highest CVSS Score: 4.4 | Amount of CVSS: 1 | References: CVE-2010-3359 (4.4)
 com.coveros:selenified: Filename: neko-htmlunit-2.36.0.jar | Highest CVSS Score: 4.4 | Amount of CVSS: 1 | References: CVE-2010-3359 (4.4)
 com.coveros:selenified: Filename: commons-compress-1.18.jar | Highest CVSS Score: 7.5 | Amount of CVSS: 1 | References: CVE-2019-12402 (7.5)
 com.coveros:selenified: Filename: selenium-server-3.141.59.jar: jquery-3.1.1.min.js | Highest CVSS Score: 6.1 | Amount of CVSS: 1 | References: CVE-2019-11358 (6.1)
 com.coveros:selenified: Filename: jetty-repacked-9.4.12.v20180830.jar (shaded: org.eclipse.jetty:jetty-server:9.4.12.v20180830) | Highest CVSS Score: 6.1 | Amount of CVSS: 2 | References: CVE-2019-10241 (6.1) CVE-2019-10247 (5.3)


Missing step in README.md: npm install openzwave-shared

Version
2.0.4
Build/Run method

[ ] Docker
[ ] PKG
[x] Manually built (git clone - npm install - npm run build )

Zwave2Mqtt version: 2.0.4
Openzwave Version: latest (1.6+)
Describe the bug
Building from scratch to run on an old 32 bit system plus want to try out openzwave v1.6.
Running npm start produces an error about not finding module openzwave-shared.
To fix the problem, I also had to run
$ npm install openzwave-shared
This was not mentioned in the README.md
Recommend adding this step in README.md
To Reproduce
Steps to reproduce the behavior:
Followed steps to make and make install openzwave and it installed its various files
in /usr/local/xxxxx (no lib64 here)
Ran MinOZW /dev/ttyACM0 which ran successfully.
Next (using node v10.16.3 npm v6.9.0):

$ npm install
$ npm run build
$ npm start
Get the following error:

><EMAIL_ADDRESS>start /home/tommy/zwave2mqtt/Zwave2Mqtt
> node bin/www

  z2m:Store settings.json not found +0ms
  z2m:Store scenes.json not found +6ms
  z2m:Store nodes.json not found +1ms
{ Error: Cannot find module '/home/tommy/zwave2mqtt/Zwave2Mqtt/node_modules/openzwave-shared/lib/../build/Release/openzwave_shared.node'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/tommy/zwave2mqtt/Zwave2Mqtt/node_modules/openzwave-shared/lib/openzwave-shared.js:27:19)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/tommy/zwave2mqtt/Zwave2Mqtt/lib/ZwaveClient.js:6:15)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32) code: 'MODULE_NOT_FOUND' }

Expected behavior
Additional context
Solution:

$ npm install
$ npm install openzwave-shared
$ npm run build
$ npm start

It is not mentioned because it is part of packege.json so it should be installed when you run npm install with all others dependencies. I think that it has give an error on npm install and this is because you got that problem. Next time keep an eye on the npm install output log and at the end type npm outdated to check if there are dependencies not installed


This package is not working anymore

This package is not working anymore.
Up until a month ago it worked like a charm, now for some reason it stopped working
/usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /usr/lib/libs3.so.2)

I suspect the problem is not in the package. Ubuntu updated their packages, and your OS upgraded to Ubuntu's original versions.
As I am not Ubuntu employee and I am not able to immediately support all Ubuntu upgrades, I suggest to downgrade the package and lock the version, so it won't get upgraded automatically.
You may see available package versions here (use "Published in" filter to choose Ubuntu version): https://launchpad.net/~xapienz/+archive/ubuntu/curl34, or you can use apt-cache policy libcurl4 to see available versions.
After that, do:
sudo apt-get install curl=<version> libcurl4=<version>
sudo apt-mark hold curl libcurl4

Where <version> is currently 7.58.0-2ubuntu3.8ppa2 for Bionic, and other value for other versions.
Meanwhile, I will work on updating the packages in my ppa soon.

Thanks a lot! it worked like a charm! Will love to hear on when you update the packages

On a fresh install I get
E: Version '7.58.0-2ubuntu3.8ppa2' for 'libcurl4' was not found
How can I download this version?

How can I download this version?

The reason why it's not found is either PPA is not added, or another Ubuntu version is used.
So you may try all steps:
# add ppa:
sudo add-apt-repository ppa:xapienz/curl34
sudo apt-get update

# check available versions and find correct version:
sudo apt-cache policy curl4

# install the packages:
sudo apt-get install curl=<version> libcurl4=<version>

You're genius! Thank you so much <3

Great that it worked!

Btw, I updated the packages for Bionic and Focal

GREAT! I saw! Thanks a lot

@xapienz Hey, this package is broken again :(( Every how often will it break?
That's the only package that's allowed to be installed: 7.58.0-2ubuntu3.12ppa2
But curl34 doesn't seem to have this version... That's frustrating - our whole servers can't run without it... What can we do to secure future changes? How can we make it work with curl34?
Thanks

@xapienz Hey, this package is broken again :(( Every how often will it break?
That's the only package that's allowed to be installed: 7.58.0-2ubuntu3.12ppa2
But curl34 doesn't seem to have this version... That's frustrating - our whole servers can't run without it... What can we do to secure future changes? How can we make it work with curl34?
Thanks

@lonormaly
Ubuntu released new version of curl, and I didn't update the packages yet.
You can downgrade curl to 7.58.0-2ubuntu3.12ppa2, and it will work again.

What can we do to secure future changes?

You can use apt-mark hold <package name> to prevent the package from from automatic upgrades.

Thanks for the rapid reply :)

how can we downgrade to 7.58.0-2ubuntu3.12ppa2?
The problem with hold is that every time we install the lib is when we run a new server with fresh / latest build of Bionic (latest updates of libs). If there’s a way to force installation of this version it can help tremendously.

Thanks

how can we downgrade to 7.58.0-2ubuntu3.12ppa2?

It can be done by using the command sudo apt-get install <package>=<version>.
So I guess it can be like sudo apt install curl=7.58.0-2ubuntu3.12ppa2 libcurl4=7.58.0-2ubuntu3.12ppa2 libcurl3-gnutls=7.58.0-2ubuntu3.12ppa2 libcurl4-openssl-dev=7.58.0-2ubuntu3.12ppa2, depending on the packages which you use.

Hello,
I implemented another approach to prevent undesirable autoupdates, if having curl3+4 solution is more important than updates from upstream ubuntu.
Here it is: https://github.com/xapienz/curl-debian-scripts/commit/e8e54c67e61439289455d25c2d928c492e41737d
You may install the package curl34 (sudo apt install curl34), and it will force ppa version of libcurl4.
In case if Ubuntu update arrives, libcurl4 will not be updated by sudo apt upgrade (however, sudo apt dist-upgrade will suggest to uninstall curl34 and upgrade libcurl4).
So installing curl34 will lock packages to ppa.
Let me know if this works for you.
Also, I updated the ppa to last versions.


Can we not copy the body_ when we call Request::body()?

Request::body() is defined as follows:
std::string body() const {
  return body_;
}

Is there is a reason for not defining it as follows:
const std::string& body() const {
  return body_;
}

If not, then can we add the above to the Request class?

The original author of pistache was a big fan of using xvalue references and move semantics.  I suspect that in his use case the body was copied, moved, then mutated and destroyed.  Most of the code in pistache lacked "const ref" getters.
However, I have no problem adding such a method (well, approving it, you author the PR and I'll rubber stamp it).

@hbarthwal I have written a refactoring proposal #692 that can solve this problem by making body as a public member.


Remove image path

Fixes

Driver image is no longer present within Images in config, so we need to find it from the workflow group

Proposed Changes

remove the image_path call
replace with grabbing the image path from [workflow]

Driver image is no longer present within Images in config, so we need to find it from the workflow group

You can still add an [images] section into the AIP-specific config with any arbitrary images, and image_path will recognise it

[images] section into the AIP-specific config

💯 ! For this usage I just want to make sure I'm targeting the latest driver image for now, but good to remember for custom tool images


Remote Registry should be enabled

[Enter feedback here]
Hi,
I would improve the article by inserting in the prerequisite section that the "Remote Registry" service in services.msc has to be enabled.
Because of this missing information I have spent four hours on troubleshooting today because I got and error that the "The network path was not found".
BR

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

ID: 2aa81041-3a2a-961a-05d5-4a845cc74ae2
Version Independent ID: fadf165a-5c81-0102-e096-7f527483313b
Content: Migrate a file server by using Storage Migration Service
Content Source: WindowsServerDocs/storage/storage-migration-service/migrate-data.md
Product: windows-server
Technology: storage
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

Hey @TonitoDux,
Thanks again for contacting Microsoft. We value your feedback.
On this page, if you go to the TOC on the left, we have a "Known issues" category.
Scrolling through this, you'll come across "Error 53" (The network path was not found) which does state to enable the service you have mentioned:

At this stage, Storage Migration Service orchestrator is attempting remote registry reads to determine source machine configuration, but is being rejected by the source server saying the registry path does not exist. This can be caused by:

The Remote Registry service isn't running on the source computer.
Firewall does not allow remote registry connections to the source server from the Orchestrator.
The source migration account does not have remote registry permissions to connect to the source computer.
The source migration account does not have read permissions within the registry of the source computer, under "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" or under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer"

Hopefully this addresses your concern. We will now be closing this thread. Thank you and have a most pleasant day.
#please-close


Country constructor is not public

How is it supposed to create my own Country (as described in README, to set custom list of countries, load country flag by iso, etc), if all constructors of Country class are package-access ?!
We need to open them and make convenient to use. We need Country.Builder() with setters and default value. Say, i need to show picker for provinces - i'd like to use CountryPicker, but with my own custom list of "countries" (provinces) without flags - just with names and some province codes. I'm not able to do that atm.

You cannot make your own country.  that somehow does not make much sense to create your own country. If you want to show a custom list of countries then you can simply fetch all the countries with getAllCountries() and then simply filter out the ones you want to display

I dont agree. I've described the use case above. First - your constructors are not convenient, it requires all 5 params, but how could we get flag while constructing the Country object?
Second - can't reuse your CountryPicker for, say, list of provinces. Not universal at all. And the reason is just non-public constructors...

Fetch countries and then filter also is O(logN) complexity, rather than having O(1) complexity by setting predefined list of countries.


play device audio over livekit

At the moment, audio is exclusively sourced from the device's microphone. However, we need to incorporate additional features that allow any audio being played on a mobile device to be channeled through Livekit. This means that if I'm playing music on my Android device, it should also be heard on the other end.

Implemented in v2.10.0 by #528.


Remove unused column posts.author_id

This is reported by @ryota-sasabe.
Awesome thanks!

:shipit:


Lifecycle hooks

onCreate hook gives access to popper's dataObject. This could be used for example to access the popper element id to add a dataset attribute to the popper reference element, such that testing tooling can easily identify a visible popper element associated to an initiating popper reference element/input.
onUpdate hook also gives dataObject and is called when the popper is updated. This callback is not called on the initialization/creation of the popper, but only on subsequent updates.
dataObect is defined here https://popper.js.org/docs/v1/#dataObject

@kmccullough can you give me a little background on this change? Update the description so I can have it as part of the changelog and readme

@tylerturdenpants Not to rush you, just not sure if you were notified that I updated the description.

This seems to be redundant now after migrating from Popper.js to Floating UI. I don't think we need these hooks are needed now. However @kmccullough I am ready to discuss the missing functionality for testing.

Indeed I was able to meet my need (e2e testing with multiple popovers); by adding a did-insert on the AttachPopover and accessing the id attribute of the element, I was able to add a dataset attribute to the trigger button of qaPopId, such that e2e test can correctly interact with associated popovers.


VOCDetection Dataset md5 has changed, no longer will load correctly

🐛 Bug
To Reproduce
Steps to reproduce the behavior:
>>>from torchvision.datasets import VOCDetection
>>>ds = VOCDetection(".")
RuntimeError: File not found or corrupted.

Can be fixed by correcting the md5sum:
from torchvision.datasets import VOCDetection
from torchvision.datasets.voc import DATASET_YEAR_DICT
DATASET_YEAR_DICT['2012']['md5'] = "af08689459fe018b209e8d8fb5d4eb2e"
ds = VOCDetection(".", download=True)

Expected behavior
Dataset should download and load without error.
Environment
PyTorch version: 1.6.0
Is debug build: False
CUDA used to build PyTorch: None
OS: Mac OSX 10.15.5 (x86_64)
GCC version: Could not collect
Clang version: 11.0.3 (clang-1<IP_ADDRESS>)
CMake version: Could not collect
Python version: 3.8 (64-bit runtime)
Is CUDA available: False
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
Versions of relevant libraries:
[conda] torch                     1.6.0                    pypi_0    pypi
[conda] torchvision               0.7.0                    pypi_0    pypi
Additional context

Hi,
Thanks for opening this issue (and sending a PR)!
I tried to download the VOCDetection dataset now but I couldn't get it to download (it was timing out), so I couldn't verify that the hash has changed yet.
Also, I wonder what happens with users that have downloaded the old tar file, will changing the md5 suddently break for them?

Presumably, this change would render the old dataset "corrupt." I believe @vfdev-5 reached out to the organizers to see why the change was made.
Ideally I think the best coarse of action would be to restore the old tar in the repo, or perhaps self host the dataset. I think allowing datasets to change could set a bad precedent as people depend on them for reproducible benchmarks (even though it appears to be a small modification of one image in this case.)

Also, I wonder what happens with users that have downloaded the old tar file, will changing the md5 suddently break for them?

@fmassa in my case I have unarchived dataset before data corruption (but no tar file) and I still could create an instance of VOCSegmentation dataset.
import torchvision

from torchvision.datasets import VOCSegmentation
from torchvision.datasets.voc import DATASET_YEAR_DICT

train_ds = VOCSegmentation("/home/data0/")
print(len(train_ds))
print(DATASET_YEAR_DICT["2012"])
> 1464
> {'url': 'http://host.robots.ox.ac.uk/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar', 'filename': 'VOCtrainval_11-May-2012.tar', 'md5': '6cd6e144f989b92b3379bac3b3de84fd', 'base_dir': 'VOCdevkit/VOC2012'}


Better: Add capabilities_supported for contents in API and webhooks. RD-23140

We are adding capabilities_supported for all contents to the API and webhooks so we reflect the info here

If I remember correctly, adding a field in the response payload doesn't change the postman file, so lgtm after Cyril's suggestions.

If I remember correctly, adding a field in the response payload doesn't change the postman file, so lgtm after Cyril's suggestions.

Now there is a test checking that the postman file is up to date, so it would fail the build if an update is needed


Support for patterns in project and group names

...for configuring projects matching names like devops/.*-haproxy.*-config.

Proposal in https://github.com/egnyte/gitlabform/pull/138


predefined images do not work

Using the url of predefined images doesnt work.
for example

from the docs i use this example

the above code will result in no OG image being generated.
if i use  this example to render the template using an image inside a normal template

i get the following error.

also  as a final note,  i also noted that this og image rendered doesn't like webp usage and breaks whenever i try use it.
here is a test repo https://github.com/jpengelbrecht/nuxt-seo-route-rules-issue/blob/main/app.vue

the above code will result in no OG image being generated.

it shouldn't generate an OG Image, it should just add the meta tags pointing to this file? It just acts as a shorthand for avoiding to manually define all of the tags

@harlan-zw so the odd thing is.

works on playground

however it doesn't  work on generate.  it gives this error

then  using this way

shows this in the generator

Can you share a reproducgtion so I can see what's going on?
For the second issue, this is a known issue for predefined images, see https://github.com/nuxt-modules/og-image/issues/129. You should use a third-party tool to preview the og image if you want to verify it (Nuxt DevTools also has issues).

@harlan-zw  here you go https://github.com/jpengelbrecht/nuxt-seo-route-rules-issue/blob/main/app.vue

Thanks, sorry missed it the first time :laughing:
I've pushed up a fix for the prerendering issue in 3.0.0-rc.27

no stress dude!  you have been fixing these patches like a mad man,  really appreciate the effort you put in man


pcm: 201710 -> 201902

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pcm/versions.
meta.description for pcm is: '"Processor counter monitor"'.
meta.homepage for pcm is: '"https://www.intel.com/software/pcm"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
directory tree listing: https://gist.github.com/738326a2cffd8ede1f288356ed9d0855
du listing: https://gist.github.com/8f256922b9bddd05cab36afb72cc3f6b

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
pcm

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1pxzqmj231dn5rs7x6b881rqfbc6rsz9-pcm-201902 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A pcm https://github.com/r-ryantm/nixpkgs/archive/99020a4ee283120abbe4154c1ba44c381e2bd615.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1pxzqmj231dn5rs7x6b881rqfbc6rsz9-pcm-201902
ls -la /nix/store/1pxzqmj231dn5rs7x6b881rqfbc6rsz9-pcm-201902/bin

cc @roosemberth for testing.

tested pcm.x => Okay. Unfortunatelly I don't know the rest of the binaries so I can't provide further feedback.


Test Mask R-CNN on Cityscapes test with 1 GPU

Hello, when I learn the docs_zh-CN, and reimpliment the example in 1_exist_data_model.md,  I was stumped by a problem.
First, because I can only use one GPU, I successfully run the following command Test Mask R-CNN on COCO test-dev with 1Gpu
python tools/test.py  \
configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco.py  \
checkpoints/mask_rcnn_r50_fpn_1x_coco_20200205-d4b0c5d6.pth \
--format-only \
--options "jsonfile_prefix=./mask_rcnn_test-dev_results"

However, when I run bellowing command to Test Mask R-CNN on COCO test-dev with 1Gpu
python tools/test.py \
configs/cityscapes/mask_rcnn_r50_fpn_1x_cityscapes.py\
checkpoints/mask_rcnn_r50_fpn_1x_cityscapes_20201211_133733-d2858245.pth \
--format-only \
--options "txtfile_prefix=./mask_rcnn_cityscapes_test_results"

Then failed.
Describe the issue
(liuhaommlab) cv428@428:/home/data/liuhao/code/mmdetection-master$ python tools/test.py configs/cityscapes/mask_rcnn_r50_fpn_1x_cityscapes.py checkpoints/mask_rcnn_r50_fpn_1x_cityscapes_20201211_133733-d2858245.pth --format-only --options "txtfile_prefix=./mask_rcnn_cityscapes_test_results"
tools/test.py:116: UserWarning: --options is deprecated in favor of --eval-options
  warnings.warn('--options is deprecated in favor of --eval-options')
loading annotations into memory...
Done (t=0.26s)
creating index...
index created!
/home/data/liuhao/code/mmdetection-master/mmdet/core/anchor/builder.py:17: UserWarning: ``build_anchor_generator`` would be deprecated soon, please use ``build_prior_generator``
  '``build_anchor_generator`` would be deprecated soon, please use '
Use load_from_local loader
[                                                  ] 0/1525, elapsed: 0s, ETA:/home/data/liuhao/code/mmdetection-master/mmdet/core/anchor/anchor_generator.py:324: UserWarning: ``grid_anchors`` would be deprecated soon. Please use ``grid_priors``
  warnings.warn('``grid_anchors`` would be deprecated soon. '
/home/data/liuhao/code/mmdetection-master/mmdet/core/anchor/anchor_generator.py:361: UserWarning: ``single_level_grid_anchors`` would be deprecated soon. Please use ``single_level_grid_priors``
  '``single_level_grid_anchors`` would be deprecated soon. '
[                                                  ] 8/1525, 3.7 task/s, elapsed: 2s, ETA:   405sTraceback (most recent call last):
  File "tools/test.py", line 252, in <module>
    main()
  File "tools/test.py", line 218, in main
    args.show_score_thr)
  File "/home/data/liuhao/code/mmdetection-master/mmdet/apis/test.py", line 28, in single_gpu_test
    result = model(return_loss=False, rescale=True, **data)
  File "/home/cv428/anaconda3/envs/liuhaommlab/lib/python3.6/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/cv428/anaconda3/envs/liuhaommlab/lib/python3.6/site-packages/mmcv/parallel/data_parallel.py", line 42, in forward
    return super().forward(*inputs, **kwargs)
  File "/home/cv428/anaconda3/envs/liuhaommlab/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 159, in forward
    return self.module(*inputs[0], **kwargs[0])
  File "/home/cv428/anaconda3/envs/liuhaommlab/lib/python3.6/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/cv428/anaconda3/envs/liuhaommlab/lib/python3.6/site-packages/mmcv/runner/fp16_utils.py", line 98, in new_func
    return old_func(*args, **kwargs)
  File "/home/data/liuhao/code/mmdetection-master/mmdet/models/detectors/base.py", line 174, in forward
    return self.forward_test(img, img_metas, **kwargs)
  File "/home/data/liuhao/code/mmdetection-master/mmdet/models/detectors/base.py", line 147, in forward_test
    return self.simple_test(imgs[0], img_metas[0], **kwargs)
  File "/home/data/liuhao/code/mmdetection-master/mmdet/models/detectors/two_stage.py", line 184, in simple_test
    x, proposal_list, img_metas, rescale=rescale)
  File "/home/data/liuhao/code/mmdetection-master/mmdet/models/roi_heads/standard_roi_head.py", line 266, in simple_test
    x, img_metas, det_bboxes, det_labels, rescale=rescale)
  File "/home/data/liuhao/code/mmdetection-master/mmdet/models/roi_heads/test_mixins.py", line 277, in simple_test_mask
    rescale)
  File "/home/data/liuhao/code/mmdetection-master/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py", line 298, in get_seg_masks
    skip_empty=device.type == 'cpu')
  File "/home/data/liuhao/code/mmdetection-master/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py", line 407, in _do_paste_mask
    masks.to(dtype=torch.float32), grid, align_corners=False)
  File "/home/cv428/anaconda3/envs/liuhaommlab/lib/python3.6/site-packages/torch/nn/functional.py", line 3391, in grid_sample
    return torch.grid_sampler(input, grid, mode_enum, padding_mode_enum, align_corners)
RuntimeError: CUDA out of memory. Tried to allocate 416.00 MiB (GPU 0; 9.78 GiB total capacity; 1.10 GiB already allocated; 43.56 MiB free; 1.28 GiB reserved in total by PyTorch)

Reproduction

What command or script did you run?

A placeholder for the command.

What config dir you run?

python tools/test.py configs/cityscapes/mask_rcnn_r50_fpn_1x_cityscapes.py checkpoints/mask_rcnn_r50_fpn_1x_cityscapes_20201211_133733-d2858245.pth --format-only --options "txtfile_prefix=./mask_rcnn_cityscapes_test_results"

Did you make any modifications on the code or config? Did you understand what you have modified?
first, in tools/test.py, I added "os.environ['CUDA_VISIBLE_DEVICES'] = '1' "
In 'mmdetection-master/configs/base/datasets/cityscapes_instance.py'
I try to modify the test_pipeline img_scale=(2048, 1024) to (256,128)
But it gives the same error.

What dataset did you use?
cityscapes

Environment
(liuhaommlab) cv428@428:/home/data/liuhao/code/mmdetection-master$ python mmdet/utils/collect_env.py
fatal: not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
sys.platform: linux
Python: 3.6.13 | packaged by conda-forge | (default, Sep 23 2021, 07:56:31) [GCC 9.4.0]
CUDA available: True
GPU 0,1,2: GeForce RTX 3080
CUDA_HOME: /usr/local/cuda-11.0
NVCC: Build cuda_11.0_bu.TC445_37.28845127_0
GCC: gcc (Ubuntu 7.5.0-6ubuntu2) 7.5.0
PyTorch: 1.7.1+cu110
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v1.6.0 (Git Hash 5ef631a030a6f73131c77892041042805a06064f)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 11.0
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80
CuDNN 8.0.5
Magma 2.5.2
Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

TorchVision: 0.8.2+cu110
OpenCV: 4.5.1
MMCV: 1.3.16
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 11.0
MMDetection: 2.17.0+
(base) cv428@428:~$ nvidia-smi
Wed Nov 10 19:37:27 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.91.03    Driver Version: 460.91.03    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce RTX 3080    Off  | 00000000:04:00.0 Off |                  N/A |
| 69%   60C    P2   288W / 370W |   7307MiB / 10018MiB |     86%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  GeForce RTX 3080    Off  | 00000000:09:00.0 Off |                  N/A |
|  0%   24C    P8    23W / 370W |      8MiB / 10018MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   2  GeForce RTX 3080    Off  | 00000000:82:00.0 Off |                  N/A |
| 66%   54C    P2   177W / 340W |   6663MiB / 10018MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1459      G   /usr/lib/xorg/Xorg                  4MiB |
|    0   N/A  N/A   2997726      C   python                           7299MiB |
|    1   N/A  N/A      1459      G   /usr/lib/xorg/Xorg                  4MiB |
|    2   N/A  N/A      1459      G   /usr/lib/xorg/Xorg                  4MiB |
|    2   N/A  N/A   2031107      C   python                           6655MiB |
+-----------------------------------------------------------------------------+

I don't know where to modify the code to make  it run successfully...
Looking forward to your answer！

Maybe the code is right but your Memory of GPU is too small.

Can you show me how to download checkpoints folder.?
Thank you so much.

go to mmdetection/docs/model_zoo.md；you can select the backbone what you want ,;

Can you show me how to download checkpoints folder.?
Thank you so much.
go to mmdetection/docs/model_zoo.md；you can select the backbone what you want ,;


Don't split up Jobs when not clustering

Currently, there are multiple ScanFilesJobs and AnalyzeCommitJobs queued at once, so that multiple server nodes may work them in parallel. However, if there is only one server node, you actually lose time, since the job engine only looks for new jobs every 100ms by default. So, in the worst case, we lose 100ms per job.

introduce a new boolean config param coderadar.jobs.clustered
if the new config param is set to true, queue jobs as before
if the new config param is set to false (default), instead of a ScanFilesJob queue a new ScanAllFilesJob and instead of AnalyzeCommitJob queue a new AnalyzeAllCommitsJob
implement execution for these jobs to do all work at once instead of split up between jobs

The job framework is dropped (see #204), so this is no longer needed. If a job framework is added again, the issue can be opened again.


[Installing] failed when installing via CocoaPod

[ ] Wrong the guide line in the Podfile: pod 'Logging', :git => 'https://github.com/lengocduy/swift-log.git', :branch => 'master'
[ ] When we specify a specific branch master. The error comes Specs satisfying the Logging (from https://github.com/lengocduy/swift-log.git`, branch master)` dependency were found, but they required a higher minimum deployment target.

The problem is The developer declare the target less than supported of framework.
in the Podfile> platform :ios, '9.0'. Item 2 should be resolve.

The problem is The developer declare the target less than supported of framework.
in the Podfile> platform :ios, '9.0'. Item 2 should be resolve.

Thanks for your quick feedback

Update README to use default master branch.
in Podfile: pod 'Logging', :git => 'https://github.com/lengocduy/swift-log.git'


yaxisoffset issue

if

my value was between range of 31.4 - 32.5 so i give yaxisoffset as low value maxvalue as high value but it returns wrong value when i give offset value

Hi @priyadharshinib18
You need to manually adjust the value displayed in the pointerLabelComponent.
Here's an example-
pointerConfig={{
  pointerLabelComponent: (items)=>{
    return(
      <Text>{items[0].value + 31.4}</Text>  // Added the offset, 31.4
    )
  }
}}


Feature [future]: Incremental Update with Backward/Forward (B/F) algorithm

Based on Incremental Update of Datalog Materialisation:
The Backward/Forward Algorithm - currently implemented in closed source solution RDFox - need to check for opensource implementations.

THIS IS JUST A NOTE TO SELF
Here is a rough implementation that I came up with trying to read the paper (bar some missing awaits etc.)
E - the explicit facts
E^- - the facts to be deleted
E^+ - the facts to be inserted

// DR1
const newDeletions = new Store().import(quadStreamDelete)
const allDeletions = new Store()
this.mediatorRdfUpdateQuads.mediate({  quadStreamDelete: wrap(A) }).execute()

// DR2 (overdeletion)
while (true) {
   N = newDeletions \ allDeletions

    if (N.size === 0) {
      break;
   }

   allDeletions.import(N)
   newDeletions = new Store()
   const changes = // Inferences over newDeletions \/ data store such that at least one fact from newDeletions is in the premise
}

// TODO: Finish DR2

The key feature we need for this is (and a lot of the other things we want to implement) a feature that (efficiently) ensures at least one supporting rule comes from a particular source. This actually comes back to being a join question; where we want a join that ensures at least one pattern join comes from a particular source.


Kit's final project

Nice work and thanks for a great semester! More feedback to follow via email.


Python3 and an additional example.

Hi There,
I just added an additional example, and made the c module compile for python 3. I testes the additional example both on python 2.7 and python 3.5.
Please review and let me know if I need to change anything :wink:

Hello,
Haven't done a thorough review of the code myself yet, but at the outset it looks good! Before I can accept this there's some (not so) fun legal stuff to get out of the way first.
I don't see that you've signed the Google CLA yet, you can do that here: https://cla.developers.google.com/about/google-individual. It's pretty short as far as legal stuff goes, so hopefully that doesn't put you off too much :smile:
Once you've done that let me know, I'll confirm, and we can move forward with merging this in.

Hi There,
I have filled in the CLA now, just check on your side :wink:

Cool, it's worth pointing out that this compiles with a lot of warnings under python3 for me and the tests will need some changes. I wouldn't call this "complete python3 support" but it's a definite step in the right direction:
$ python3 --version
Python 3.4.3
$ python3 setup.py test
running test
running egg_info
creating fanotify.egg-info
writing dependency_links to fanotify.egg-info/dependency_links.txt
writing fanotify.egg-info/PKG-INFO
writing top-level names to fanotify.egg-info/top_level.txt
writing manifest file 'fanotify.egg-info/SOURCES.txt'
reading manifest file 'fanotify.egg-info/SOURCES.txt'
writing manifest file 'fanotify.egg-info/SOURCES.txt'
running build_ext
building 'fanotify' extension
creating build
creating build/temp.linux-x86_64-3.4
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c fanotify.c -o build/temp.linux-x86_64-3.4/fanotify.o
fanotify.c:107:3: warning: missing braces around initializer [-Wmissing-braces]
   PyObject_HEAD_INIT(NULL)
   ^
fanotify.c:107:3: warning: (near initialization for ‘fanotify_EventMetadataType.ob_base.ob_base’) [-Wmissing-braces]
fanotify.c:109:3: warning: initialization makes integer from pointer without a cast [enabled by default]
   "fanotify.EventMetadata",           /* tp_name */
   ^
fanotify.c:109:3: warning: (near initialization for ‘fanotify_EventMetadataType.tp_basicsize’) [enabled by default]
fanotify.c:112:3: warning: initialization from incompatible pointer type [enabled by default]
   (destructor)EventMetadata_dealloc,  /* tp_dealloc */
   ^
fanotify.c:112:3: warning: (near initialization for ‘fanotify_EventMetadataType.tp_print’) [enabled by default]
fanotify.c:127:3: warning: initialization makes pointer from integer without a cast [enabled by default]
   Py_TPFLAGS_DEFAULT,                 /* tp_flags */
   ^
fanotify.c:127:3: warning: (near initialization for ‘fanotify_EventMetadataType.tp_doc’) [enabled by default]
fanotify.c:128:3: warning: initialization from incompatible pointer type [enabled by default]
   EventMetadata_init_doc,             /* tp_doc */
   ^
fanotify.c:128:3: warning: (near initialization for ‘fanotify_EventMetadataType.tp_traverse’) [enabled by default]
fanotify.c:136:3: warning: initialization from incompatible pointer type [enabled by default]
   EventMetadata_members,              /* tp_members */
   ^
fanotify.c:136:3: warning: (near initialization for ‘fanotify_EventMetadataType.tp_getset’) [enabled by default]
fanotify.c:143:3: warning: initialization from incompatible pointer type [enabled by default]
   (initproc)EventMetadata_init,       /* tp_init */
   ^
fanotify.c:143:3: warning: (near initialization for ‘fanotify_EventMetadataType.tp_alloc’) [enabled by default]
fanotify.c: In function ‘fanotify_Init’:
fanotify.c:183:3: warning: implicit declaration of function ‘PyInt_FromLong’ [-Wimplicit-function-declaration]
   return PyInt_FromLong(fd);
   ^
fanotify.c:183:3: warning: return makes pointer from integer without a cast [enabled by default]
fanotify.c: In function ‘initfanotify’:
fanotify.c:374:5: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
     return;
     ^
fanotify.c:376:3: warning: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration]
   module = Py_InitModule3("fanotify", fanotify_methods, fanotify_doc);
   ^
fanotify.c:376:10: warning: assignment makes pointer from integer without a cast [enabled by default]
   module = Py_InitModule3("fanotify", fanotify_methods, fanotify_doc);
          ^
fanotify.c:383:5: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
     return;
     ^
creating build/lib.linux-x86_64-3.4
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.4/fanotify.o -o build/lib.linux-x86_64-3.4/fanotify.cpython-34m.so
copying build/lib.linux-x86_64-3.4/fanotify.cpython-34m.so ->
Failure: ImportError (No module named 'StringIO') ... ERROR

======================================================================
ERROR: Failure: ImportError (No module named 'StringIO')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/loader.py", line 411, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib/python3.4/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/usr/lib/python3.4/imp.py", line 171, in load_source
    module = methods.load()
  File "<frozen importlib._bootstrap>", line 1220, in load
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/usr/local/google/home/gerow/external_repos/python-fanotify/fanotify_test.py", line 16, in <module>
    import StringIO
ImportError: No module named 'StringIO'

----------------------------------------------------------------------
Ran 1 test in 0.003s

FAILED (errors=1)

This is mostly fine as-is, I'll make specific comments to the code in-line.

Added comments inline, mostly style stuff. For reference, the things I'm mentioning are from the google style guide for python https://google.github.io/styleguide/pyguide.html and C++ (which we also use for C to the extent that we can) https://google.github.io/styleguide/cppguide.html.

@gerow I have been struggling with porting, but I am getting there slowly, as of now 4 test pass :smile: I will clean up the fnotify.c nicely once all tests pass, and let you know when it all works. I am just going to bed now - so will probably look at it further tomorrow.

@gerow I managed to get the test to pass for python3 :smile: Please have a look now, and let me know of any additional changes.

Cool! Sorry, been super busy lately. I'll probably get a chance to look at this some time tomorrow.

@gerow no problem :smiley: gets like that sometimes. I will be available for changes over the next two weeks to make necessary changes :wink: also if all goes well I can then also write my program that I want to use this for :wink:

Awesome, looks good!
There's just a few style things (and some warnings) to clean up, but I can take care of those and merge this in.

@gerow  cool ! Great to hear :smile:


How to run it for OpenAI response streaming

This is how my setup works. I use a streaming response from FastAPI:
I have this function in my action provider for updating an existing message
const updateLastMessage = (message) => {
    setState((prev) => {
      return { ...prev, messages: [...prev.messages.slice(0, -1), { ...prev.messages.at(-1), message }]};
    });
  };

I then use this inside the action:
    let done, value;
    let messageBuffer = "";
    let decoder = new TextDecoder("utf-8");
    addMessageToState(createChatBotMessage("streaming...")) //You need a dummy message to update
    while (!done) {
      ({ done, value } = await reader.read());
      messageBuffer += decoder.decode(value);
      updateLastMessage(messageBuffer)
    }

Bear in mind that you can also manipulate the delay on createChatBotMessage - it's default is 750ms - if you don't want any loading animation at all you can set this to a negative value (delay:-750). As far as I know this is safe to do.

@OliverThomas2000  this was very helpful. Thank you!


Feat bump eslint and @typescript-eslint

Pull Request Checklist
🚨 Please review the guidelines for contributing to this repository.

[x] Appropriate label or labels have been added
[x] ✅ Tests for the changes have been added (for type:fix / type:feat)
[x] 📝 Docs have been reviewed, added or updated if needed (for type:fix / type:feat)
[ ] 🏁 Issue number has been linked if this PR closes one

Description
Please describe your pull request.
Breaking Change?

[x] 💥 Yes
[ ] No

❤ Thank you for contributing!

Codecov Report

Merging #41 (e0aecdc) into master (6711ffa) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #41   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           21        21
  Lines           41        47    +6
=========================================
+ Hits            41        47    +6

Impacted Files
Coverage Δ

src/errors/rules.ts
100.00% <100.00%> (ø)

src/imports/rules.ts
100.00% <100.00%> (ø)

src/jest/rules.ts
100.00% <100.00%> (ø)

src/react/rules.ts
100.00% <100.00%> (ø)

src/style/deprecated.ts
100.00% <100.00%> (ø)

src/style/rules.ts
100.00% <100.00%> (ø)

src/typescript/overrides.ts
100.00% <100.00%> (ø)

src/typescript/rules.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Optimize whole project

Optimized whole project...

Hey @divyansh355, could you mention the changes you have done so that i can review it.

Hey @divyansh355, could you mention the changes you have done like it's a bug fix or refactoring or feature so that i can review it.

▫ Used useEffect() in HomeScreen.jsx
▫ Improved error handling in dbConnect.js with some good console messages, and good chaining using await, try, catch, throw.
▫ I removed the condition while exporting the modal in urlSchema.js
▫ Write good comments in urlRoutes.js
▫ Add a length parameter in utils.js. so, a user can increase it without any hardcore value
▫ Refractor urlController.js

Hey

Hey @divyansh355, could you mention the changes you have done like it's a bug fix or refactoring or feature so that i can review it.

▫ Used useEffect() in HomeScreen.jsx ▫ Improved error handling in dbConnect.js with some good console messages, and good chaining using await, try, catch, throw. ▫ I removed the condition while exporting the modal in urlSchema.js ▫ Write good comments in urlRoutes.js ▫ Add a length parameter in utils.js. so, a user can increase it without any hardcore value ▫ Refractor urlController.js

Hey @divyansh355, we are currently changing the dbConnect() method (as connection pooling), so apart from that changes i will review it.

We have migrated the code from react to nextjs so i am closing this PR now.


BVH broadphase creates objects with updated AABB to avoid extra checks

Description
When set_static is called on a newly added object, the forced collision check in BVH set_pairable was using an empty AABB, which caused unnecessary collision checks at the origin, then a call to move was checking again at the right position.
These changes ensure broadphase objects are added to the BVH tree with proper AABB so collision checks are correctly done right away.
Octree & Basic broadphase types are not affected by these changes.
I'm not doing the same changes in the 2D physics interface because there's no use for them in the 2D broadphase at the moment.

Test Scenario
Test project:
physics_tests.zip
Scene:
res://tests/performance/test_perf_broadphase.tscn
This test adds 125000 non-overlapping objects in physics at once, moves them all then removes them all. It logs timings for the different operations and physics ticks for the following frames.

Test Results
I'm getting almost 30% improvement on adding objects in this test scenario, which makes the dynamic BVH slightly better than Octree when it comes to adding objects.
Detailed results (release_debug):

BVH - Previous version
* Creating objects...
  Create Time: 2319.604 ms
  Physics Tick: 2324.632 ms (total = 2324.632 ms)
  Physics Tick: 12.727 ms (total = 2337.359 ms)
  Physics Tick: 1.553 ms (total = 2338.912 ms)
  Physics Tick: 1.879 ms (total = 2340.791 ms)
  Physics Tick: 1.469 ms (total = 2342.260 ms)
* Adding objects...
  Add Time: 1752.401 ms
  Physics Tick: 1803.262 ms (total = 1803.262 ms)
  Physics Tick: 281.146 ms (total = 2084.408 ms)
  Physics Tick: 209.415 ms (total = 2293.823 ms)
  Physics Tick: 212.772 ms (total = 2506.595 ms)
  Physics Tick: 211.445 ms (total = 2718.040 ms)
* Moving objects...
  Move Time: 188.680 ms
  Physics Tick: 304.528 ms (total = 304.528 ms)
  Physics Tick: 774.700 ms (total = 1079.228 ms)
  Physics Tick: 2.476 ms (total = 1081.704 ms)
  Physics Tick: 1.803 ms (total = 1083.507 ms)
  Physics Tick: 1.735 ms (total = 1085.242 ms)
* Removing objects...
  Remove Time: 371.098 ms
  Physics Tick: 392.731 ms (total = 392.731 ms)
  Physics Tick: 3.450 ms (total = 396.181 ms)
  Physics Tick: 1.797 ms (total = 397.978 ms)
  Physics Tick: 2.015 ms (total = 399.993 ms)
  Physics Tick: 1.297 ms (total = 401.290 ms)
* Done

BVH - This PR
* Creating objects...
  Create Time: 2325.229 ms
  Physics Tick: 2328.636 ms (total = 2328.636 ms)
  Physics Tick: 12.296 ms (total = 2340.932 ms)
  Physics Tick: 1.775 ms (total = 2342.707 ms)
  Physics Tick: 1.569 ms (total = 2344.276 ms)
  Physics Tick: 2.075 ms (total = 2346.351 ms)
* Adding objects...
  Add Time: 1235.450 ms
  Physics Tick: 1286.196 ms (total = 1286.196 ms)
  Physics Tick: 282.293 ms (total = 1568.489 ms)
  Physics Tick: 211.901 ms (total = 1780.390 ms)
  Physics Tick: 212.310 ms (total = 1992.700 ms)
  Physics Tick: 216.016 ms (total = 2208.716 ms)
* Moving objects...
  Move Time: 190.718 ms
  Physics Tick: 306.591 ms (total = 306.591 ms)
  Physics Tick: 616.173 ms (total = 922.764 ms)
  Physics Tick: 2.454 ms (total = 925.218 ms)
  Physics Tick: 1.759 ms (total = 926.977 ms)
  Physics Tick: 1.373 ms (total = 928.350 ms)
* Removing objects...
  Remove Time: 368.543 ms
  Physics Tick: 390.314 ms (total = 390.314 ms)
  Physics Tick: 1.936 ms (total = 392.250 ms)
  Physics Tick: 3.294 ms (total = 395.544 ms)
  Physics Tick: 1.561 ms (total = 397.105 ms)
  Physics Tick: 1.795 ms (total = 398.900 ms)
* Done.

Octree
* Creating objects...
  Create Time: 2271.760 ms
  Physics Tick: 2277.866 ms (total = 2277.866 ms)
  Physics Tick: 12.711 ms (total = 2290.577 ms)
  Physics Tick: 2.808 ms (total = 2293.385 ms)
  Physics Tick: 1.337 ms (total = 2294.722 ms)
  Physics Tick: 1.816 ms (total = 2296.538 ms)
* Adding objects...
  Add Time: 1389.967 ms
  Physics Tick: 1441.042 ms (total = 1441.042 ms)
  Physics Tick: 443.207 ms (total = 1884.249 ms)
  Physics Tick: 296.553 ms (total = 2180.802 ms)
  Physics Tick: 293.483 ms (total = 2474.285 ms)
  Physics Tick: 305.871 ms (total = 2780.156 ms)
* Moving objects...
  Move Time: 194.261 ms
  Physics Tick: 614.988 ms (total = 614.988 ms)
  Physics Tick: 291.280 ms (total = 906.268 ms)
  Physics Tick: 3.030 ms (total = 909.298 ms)
  Physics Tick: 2.032 ms (total = 911.330 ms)
  Physics Tick: 2.002 ms (total = 913.332 ms)
* Removing objects...
  Remove Time: 525.276 ms
  Physics Tick: 546.061 ms (total = 546.061 ms)
  Physics Tick: 2.721 ms (total = 548.782 ms)
  Physics Tick: 2.039 ms (total = 550.821 ms)
  Physics Tick: 1.447 ms (total = 552.268 ms)
  Physics Tick: 1.107 ms (total = 553.375 ms)
* Done.

Yup this definitely makes sense. The old way of setting them to a zeroed AABB then setting the AABB in a second step is going to needlessly do extra processing. :+1:

Yup this definitely makes sense. The old way of setting them to a zeroed AABB then setting the AABB in a second step is going to needlessly do extra processing. :+1:

Thanks!

Thanks!


move to a separate file

I'd like to become a contributor in this project also and as usual, my understanding of what it does and how starts from a few pull requests refactoring minor things. As such this PR does two things only:

moves SpringRetryConfig to a separate class.
removes RetryContext from SpringRetryConfig, as it is indeed not needed, how the comment said.

Can you explain why this "moves SpringRetryConfig to a separate class?"

it's a public class residing in another public class, with package private methods. To me, it is a lot easier to read code. Making it an inner class does not provide any benefit at all, and in contrast defeats the purpose of an inner class.
imo, moving it to a separate file, makes the holder (SpringRetryConfigBuilder) a lot easier to reason about.


How to get content from rich-text component

Hello i m new to ionic and i dont think this is the proper place to ask this but i want to know if i can use rich-text component with ngModel or better still how can i get content from rich text.

Hi Hillary,
The control does need a formControl item as opposed to an ngModel, but it's
super easy wiring that up it's almost not a concern.
This is the home.ts as found on the github site.
export class HomePage {
item: FormControl;
yourActualNormalString = '';
constructor(public navCtrl: NavController, private formBuilder: FormBuilder,
private domSanitizer: DomSanitizer) {
}
ionViewWillLoad() {
this.item = this.formBuilder.control(this.yourActualNormalString);
this.item.valueChanges.subscribe((change: string) => this.
yourActualNormalString = change);
}
get trustedHtml() {
const html = this.domSanitizer.bypassSecurityTrustHtml(this.item.value);
return html
}
}
If you look at the ionViewWillLoad method above you can see the second line
is listening for changes on the formControl.  When a change occurs it'll
write that change back to your original variable (in this case called
'yourActualNormalString').
Hopefully that resolves it for you.
Thanks,
Judgewest2000
On 9 July 2018 at 16:39, Hillary Sylvester H<EMAIL_ADDRESS>wrote:

Hello i m new to ionic and i dont think this is the proper place to ask
this but i want to know if i can use rich-text component with ngModel or
better still how can i get content from rich text.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/judgewest2000/Ionic3RichText/issues/6, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AILj9g_OEOLfXKM1cbEByNnFfjpueReDks5uE3kygaJpZM4VH7_T
.


telegram.me

telegram logo in font-awesome. For domain telegram.me and t.me.

You got it! https://github.com/neatnik/omg.lol/commit/ba579b3a93fc082d530efc1d1bad23bc4987c2f5


tailscale: support Grants field to ACL

Support https://tailscale.com/kb/1324/acl-grants.

@twitchyliquid64 Use tailslace.com/tailcfg directly. PTAL.

@twitchyliquid64 @creachadair gentle ping

@twitchyliquid64 @creachadair sorry, gentle ping again

Hey, quick question: are you doing this to get grants support in Terraform, or do you have a different use case for this client?
Longer term we'd like to avoid having to maintain a copy of the policy schema here, especially for beta features (like grants) that we might still want to make some backwards incompatible changes to. The alternative we discussed is supporting passing policy as a hujson blob to the API without re-serializing it. If your end goal is to use this in Terraform, would that be a viable alternative?

We have removed usage of local schema in the Terraform provider in https://github.com/tailscale/terraform-provider-tailscale/pull/332, and you should be able to use the Grants field starting with v0.14.0 of the provider. If you are using this library directly, you can now pass the ACL as a HuJSON string to the SetACL method.


Onion Error Handling

Still working on #272
I'm looking for some pointers on finishing off the last section, on knowing exactly when to break/update in regards to the update error payload

@Roasbeef Just updated the PR addressing your comments

Thanks for getting this started @johng!
Due to some external time constraints and dependancies, I decided to take this over and add the remaining implementation details required to address the original issue: https://git.io/vdCym


redis-commander occasionally refreshes my session (express-session)

OS: Mac OS
After every 2 or 3 requests, redis uses a different session and provides me a new key. This only occurs when I use redis-commander. If I use a different management application, like medis, the I never get that problem. Does redis-commander have some method that refreshes the redis client? I don't see why this should be happening. Does anyone else ever get this problem? It's difficult to replicate this because the session refreshes I get are very inconsistent. Sometimes it persists, sometimes it doesn't.

I've also encountered this problem.
It seems redis-commander's session ID overwrites my project's session ID stored in Cookie.
For a workaround, changing your session ID name from "connect.sid" or accessing redis-commander from other browsers.

This problem should be fixed in current version.
If you think its not feel free to reopen issue with updated informations based on latest version.