feat: add observability of host

Because it is on a different network (the host network), so traefik can’t route through it
Sent from mobile phone

From: Sergey Peshkov<EMAIL_ADDRESS>Sent: Sunday, March 1, 2020 10:38:14 PM
To: AEGEE/oms-docker<EMAIL_ADDRESS>Cc: linuxbandit<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [AEGEE/oms-docker] feat: add observability of host (#108)
@serge1peshcoff commented on this pull request.

In oms-monitor-agents/docker/docker-compose.ymlhttps://github.com/AEGEE/oms-docker/pull/108#discussion_r386143159:

@@ -32,20 +32,42 @@ services:
command: '--path.rootfs=/host'
network_mode: "host"
pid: "host"

labels:

why not exporting it through traefik?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/AEGEE/oms-docker/pull/108?email_source=notifications&email_token=AA4GIWBXWA572GIZ4ODZJALRFLIUNA5CNFSM4K6XC6BKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCXPEO5I#pullrequestreview-366888821, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA4GIWG2MZVDFZZRB44XRJLRFLIUNANCNFSM4K6XC6BA.

To* it
Sent from mobile phone

From: Fabrizio Bellicano<EMAIL_ADDRESS>Sent: Monday, March 2, 2020 6:13:47 AM
To: AEGEE/oms-docker<EMAIL_ADDRESS>AEGEE/oms-docker<EMAIL_ADDRESS>Cc: Author<EMAIL_ADDRESS>Subject: Re: [AEGEE/oms-docker] feat: add observability of host (#108)
Because it is on a different network (the host network), so traefik can’t route through it
Sent from mobile phone

From: Sergey Peshkov<EMAIL_ADDRESS>Sent: Sunday, March 1, 2020 10:38:14 PM
To: AEGEE/oms-docker<EMAIL_ADDRESS>Cc: linuxbandit<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [AEGEE/oms-docker] feat: add observability of host (#108)
@serge1peshcoff commented on this pull request.

In oms-monitor-agents/docker/docker-compose.ymlhttps://github.com/AEGEE/oms-docker/pull/108#discussion_r386143159:

@@ -32,20 +32,42 @@ services:
command: '--path.rootfs=/host'
network_mode: "host"
pid: "host"

labels:

why not exporting it through traefik?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/AEGEE/oms-docker/pull/108?email_source=notifications&email_token=AA4GIWBXWA572GIZ4ODZJALRFLIUNA5CNFSM4K6XC6BKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCXPEO5I#pullrequestreview-366888821, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA4GIWG2MZVDFZZRB44XRJLRFLIUNANCNFSM4K6XC6BA.

@linuxbandit I'd rather let it be exposeable through traefik, but not on port 80, that'll give us benefits of using all of the traefik features (like putting basic auth in front of them)

I just said it's not possible :D they are on different subnetworks, so the routing won't work - however the metrics exposed by node-exporter are accessible through traefik.aegee.eu/ext-metrics/node-exporter, see  https://github.com/AEGEE/oms-docker/pull/108/files#diff-83d8c11b4a134b341c45587f720583d9R53

line 53 in case it's not shown properly (it is highlighted but the page opens slightly below)


propose to add a new folder called ref_apps

Purpose:

provides more examples and not add unnecessary codes to webui.
easily add/remove, seperate ref apps case by case
as temporary store, upstream to Intel's genAI example repo in future.

@carsonwang , propose to add a new folder for rec apps

@xuechendi could we call them "demo" rather than ref_apps ?

Already added llm-on-ray/application, but I think it's better to names applications and move current one into a subdir.


Version incompatible.

Both my friend and I have version 0.1.1, but when they try to join me it tells them I have version 0.1.0 and disconnects them.

This is my manual screw up. The Thunderstore version 0.1.1 thinks internally it's version 0.1.0. Once I finish working on the release automation this issue won't be possible anymore. Interestingly BepInEx is configured to require only minor version parity anyway...
Version 0.1.2 is releasing Soon™ and will incidentally resolve this problem.

Should be solved in released v0.1.2 :)


Installation issues

Hi Brenden,
Thanks for your great work! When I was trying to install the package, I always encountered the error message shown in the Figure. Could you  provide some suggestions on how to solve it?

Thanks,
Jiayi

It looks like you are not issuing the pip install -e ./dso command from the correct directory. ./dso should point to the directory containing setup.py. Perhaps you did not cd into the repository root (default would be ./deep-symbolic-optimization if you just cloned).


Issue #68 - Habit Tracker

To add a habit tracker on the website I have added a required section under the "our services" section. When the section is clicked the habit tracker interface will open on which I am working right now under gsoc'23. Kindly check and suggest the required corrections.

Merge Conflicts
Issue Number missing

Hey @Suchitra-Sahoo mention your issue number...Also, the changes are not visible to me, sync your branch git pull origin main

Hey @Suchitra-Sahoo mention your issue number...Also, the changes are not visible to me, sync your branch git pull origin main

Ok let me check once


Bugs in production cannot be replicated in development

Describe the bug
Sidenav renders in front of content in mobile view when accessing the production site. Additionally, other UI components overflow the borders of the screen.
To Reproduce
Steps to reproduce the behavior:

Go to https://community-portal-staging.makerfoundation.com/en/learn/ from a mobile device or viewer.

Refresh or swipe down to refresh the page.

See the bug.

Go to http://localhost:8000/en/learn/ from a mobile device or viewer.

Refresh or swipe down to refresh the page.

Don't see the bug.

Expected behavior
Sidenav should not be visible and UI components should not overflow the view screen.
Screenshots
on production, at the staging site

on r2d, at localhost:8000

Desktop (please complete the following information):

OS: MacOS
Browser: Chrome (inspector)

Smartphone (please complete the following information):

Device: iPhone5, Galaxy note 9
OS: iOS, Android
Browser: Crome, Brave

Additional context
Some bugs that exist in production cannot be replicated in development. This makes it difficult to submit the appropriate bugfix. This may be a side effect of production being 17 commits ahead of r2d.

@MaximumCrash this bug first appeared after @twblack88 merged #414 into r2d, then r2d into production. This is the sx for the Sidenav <Box/>:
{{
        flexGrow: 0,
        position: "relative",
        maxHeight: "1012px",
        height: "calc(100vh)",
        pt: "54px",
        pl: 3,
        pr: 2,
        pb: "90px",
        width: "307px",
        overflow: 'auto',
        borderRight: "1px solid",
        borderColor: "muted"
      }}

I'm sorry if it broke it y'all! But this gives us an opportunity to find out why prod is 17 commits ahead of r2d or if that even matters. 🙇

For the sake of this issue's history, this issue is about the sidenav showing up in production but not showing up in the dev server. This is because production builds are static, there's no server rendering for handling the sidenav's re-rendering. During static builds the sticky will override the styles since emotion is a little played back.
TLDR: Server side rendering renders twice, once on the server one on the client side. If the client is behind the server it will update based on what's provided by the server (iirc). On client side, there's only 1 render provider, so there's nothing to handle corrections.

Fixed by #427


Zimm zone contrib first map post

Added a portfolio post about my highschool.

@annaposlednik good catch, thanks. I have made the edits if you want to approve.


test_input_formats failing on pypy3

Introduced in #1356.
2021-04-04T00:25:09.6159906Z         out = runner.invoke(cli, ["-n", "--find-links", dists_path, path])
2021-04-04T00:25:09.6160556Z >       assert out.exit_code == 0, out.stderr
2021-04-04T00:25:09.6161090Z E       AssertionError:
2021-04-04T00:25:09.6161502Z E       assert 1 == 0
2021-04-04T00:25:09.6163174Z E        +  where 1 = <Result BackendUnavailable('Traceback (most recent call last):\n  File "/home/runner/work/pip-tools/pip-tools/.tox/pip... importlib._bootstrap>", line 962, in _find_and_load_unlocked\nModuleNotFoundError: No module named \'flit_core\'\n',)>.exit_code

...

2021-04-04T00:25:10.3688000Z >       assert out.exit_code == 0, out.stderr
2021-04-04T00:25:10.3688554Z E       AssertionError:
2021-04-04T00:25:10.3689037Z E       assert 1 == 0
2021-04-04T00:25:10.3690850Z E        +  where 1 = <Result BackendUnavailable('Traceback (most recent call last):\n  File "/home/runner/work/pip-tools/pip-tools/.tox/pip...zen importlib._bootstrap>", line 962, in _find_and_load_unlocked\nModuleNotFoundError: No module named \'poetry\'\n',)>.exit_code

See logs for details.
/cc: @orsinium

No module named 'poetry'\n',)

Looks like the trailing quote and line feed get into the name during parsing?
@atugushev why don't we run pypy jobs on PRs? They are not that heavy and being executed in parallel with the other jobs, the overall workflow completion would be barely noticeable.
Besides, I noticed that there's no caching set up in GHA, fixing this should make things even faster.

Oh, and if we ever get that "auto-merge" feature on, there will be even fewer reasons to care about the CI completion time. cc @jezdez

@webknjaz
We moved pypy to the cron workflow because they were too slow. However, there were pypy2 jobs also at that time, but now there are only two jobs. It would be great to improve speed and move these jobs to PRs test workflow.

Looks like the trailing quote and line feed get into the name during parsing?

It was just a bad repr (or a bug in pytest). Full traceback here:
Traceback (most recent call last):
  File "/Users/albert/Projects/pip-tools/tests/test_cli_compile.py", line 1773, in test_input_formats
    out = runner.invoke(cli, ["-n", "--find-links", dists_path, path], catch_exceptions=False)
  File "/Users/albert/Projects/pip-tools/.venv/site-packages/click/testing.py", line 329, in invoke
    cli.main(args=args or (), prog_name=prog_name, **extra)
  File "/Users/albert/Projects/pip-tools/.venv/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/Users/albert/Projects/pip-tools/.venv/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/albert/Projects/pip-tools/.venv/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/Users/albert/Projects/pip-tools/.venv/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/albert/Projects/pip-tools/piptools/scripts/compile.py", line 363, in cli
    dist = meta.load(os.path.dirname(os.path.abspath(src_file)))
  File "/Users/albert/Projects/pip-tools/.venv/site-packages/pep517/meta.py", line 71, in load
    path = Path(build_as_zip(builder))
  File "/Users/albert/Projects/pip-tools/.venv/site-packages/pep517/meta.py", line 58, in build_as_zip
    builder(dest=out_dir)
  File "/Users/albert/.pyenv/versions/pypy3.6-7.3.3/lib_pypy/_functools.py", line 80, in __call__
    return self._func(*(self._args + fargs), **fkeywords)
  File "/Users/albert/Projects/pip-tools/.venv/site-packages/pep517/meta.py", line 53, in build
    _prep_meta(hooks, env, dest)
  File "/Users/albert/Projects/pip-tools/.venv/site-packages/pep517/meta.py", line 28, in _prep_meta
    reqs = hooks.get_requires_for_build_wheel({})
  File "/Users/albert/Projects/pip-tools/.venv/site-packages/pep517/wrappers.py", line 169, in get_requires_for_build_wheel
    'config_settings': config_settings
  File "/Users/albert/Projects/pip-tools/.venv/site-packages/pep517/wrappers.py", line 275, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pep517.wrappers.BackendUnavailable: Traceback (most recent call last):
  File "/Users/albert/Projects/pip-tools/.venv/site-packages/pep517/in_process/_in_process.py", line 86, in _build_backend
    obj = import_module(mod_path)
  File "/Users/albert/.pyenv/versions/pypy3.6-7.3.3/lib-python/3/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1003, in _gcd_import
  File "<frozen importlib._bootstrap>", line 980, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1003, in _gcd_import
  File "<frozen importlib._bootstrap>", line 980, in _find_and_load
  File "<frozen importlib._bootstrap>", line 962, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'flit_core'

Interesting. Looks like build-system.requires wasn't installed by pip.

I was able to reproduce locally on Linux with (pypy3.6-7.3.3, pypy3.7-7.3.2, pypy3.7-7.3.3), though the problem did not occur when I additionally created a requirements.in file with the content: ., and pip-compiled against that.
So here's a pytest-less reproduction procedure:
% mkdir -p workdir && cd workdir
% mkdir -p sample_lib && print -l "'example module'" "__version__ = '1.2.3'" >sample_lib/__init__.py
% eval "$(pyenv init - zsh)"
% pyenv install pypy3.6-7.3.3
% pyenv shell pypy3.6-7.3.3
% python -m venv venv
% . ./venv/bin/activate
% pip install -e PATH/TO/PIP-TOOLS
% $EDITOR pyproject.toml  # paste content from the flit test case
% pip-compile -f PATH/TO/PIP-TOOLS/tests/test_data/packages -f PATH/TO/PIP-TOOLS/tests/test_data/minimal_wheels pyproject.toml

It's not strictly necessary to specify the find-links or create the sample lib just to observe this, as the error is raised before any of those others would be anyway, I think.
It does look like flit-core gets installed, somewhere.
Notably, this succeeds:
% pip install -f PATH/TO/PIP-TOOLS/tests/test_data/packages -f PATH/TO/PIP-TOOLS/tests/test_data/minimal_wheels .

Perhaps even more notably, the pip-compile command succeeds if I don't explicitly create a venv, but rather just use pyenv's default activated venv for a pypy version. I also see though that pip --version reveals that the pyenv shim points to /usr/lib/python3.9/site-packages/pip. So I try:
$ python -m pip install -U pip

Now the shim points to pypy's pip, but the command succeeds again, anyway.

Cross reference https://github.com/pypa/pep517/issues/116

Fixed by #1629


Can not sender mail, receive mail ok

get below NOQUEUE reject when send mail:
2017-07-06T08:44:10.316748+00:00 mail postfix/smtps/smtpd[598]: connect from unknown[<IP_ADDRESS>]
2017-07-06T08:44:10.355264+00:00 mail postfix/smtps/smtpd[598]: Anonymous TLS connection established from unknown[<IP_ADDRESS>]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
2017-07-06T08:44:10.355375+00:00 mail postfix/smtps/smtpd[598]: NOQUEUE: reject: CONNECT from unknown[<IP_ADDRESS>]: 554 5.7.1 <unknown[<IP_ADDRESS>]>: Client host rejected: Access denied; proto=SMTP
2017-07-06T08:44:10.396255+00:00 mail postfix/smtps/smtpd[598]: disconnect from unknown[<IP_ADDRESS>]
rainloop login and receive mail is ok, can help me ?

Hi, can you check your postfix bdd is running ? Because i already has this and it's mariadb who don't work and i solve with this : https://dba.stackexchange.com/questions/155914/mariadb-docker-error-cant-init-tc-log#157072


feat: add chores routing to my chores and complete and delete button

title, still working complete button

All good


Two way audio local network only

May be this is a trivial question. I have isolated HA from internet and running completely local. But I found that the two way audio from door bell does not function without https. What's the best way to have two way audio for a HA system that runs completely local?

HTTPS can also be on local sites.
https://stackoverflow.com/questions/52759992/how-to-access-camera-and-microphone-in-chrome-without-https


NETOBSERV-1693 Prompt for copying files on exit

Description
Ask for copy on exit
INFO[0034] Ctrl-C pressed, exiting program.
kubernetes-admin
Copy the capture output locally ?y
Copying collector output files...

Cleaning up... namespace "netobserv-cli" deleted

INFO[0004] Ctrl-C pressed, exiting program.
kubernetes-admin
Copy the capture output locally ?n
copy skipped

Cleaning up... namespace "netobserv-cli" deleted

The total capture size will be displayed in https://github.com/netobserv/network-observability-cli/pull/59
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.

[X] Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
[ ] Does this PR require product documentation?

[ ] If so, make sure the JIRA epic is labelled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.

[ ] Does this PR require a product release notes entry?

[ ] If so, fill in "Release Note Text" in the JIRA.

[ ] Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.

[ ] If so, make sure it is described in the JIRA ticket.

QE requirements (check 1 from the list):

[X] Standard QE validation, with pre-merge tests unless stated otherwise.
[ ] Regression tests only (e.g. refactoring with no user-facing change).
[ ] No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

/lgtm

@jpinsonneau CLI can only be tested with a downstream build so you can go ahead and merge it and I can verify it with a downstream build

sure @Amoghrd, thanks for letting me know.


Configured Stories: trigger step from previous-action entity value

Configured Stories can trigger steps by entity values.
For now, only entity values from last action are taken into account.
It could be useful to trigger steps when entity value is in context, yet from prevous action.
(Feature request from Charles Cypres.)

This is not easy to implement because then you need to have a way to reset the context (if you want)

Hi @vsct-jburet, maybe a property could be introduced to enable/disable this feature (or the context reset when story starts)?
Either a global property at startup, or a property configurable for each Configured Story in Tock Studio?


Monthly Seasonality: How to incorporate ?

Hi,
My time series data has weekly as well as monthly seasonality i.e. sales tends to be higher on weekends and again same is applied for month end also. However my time series doesn't have yearly seasonality. How do i incorporate these changes ? Please explain.

We'd like to add a method for adding arbitrary seasonalities, something like:
m.add_seasonality(period=30.4, components=5, name='monthly')

You can see right here where we can easily generate the corresponding X matrix for a specified period and number of components: https://github.com/facebookincubator/prophet/blob/master/R/R/prophet.R#L387
It shouldn't be too much effort to add this functionality.

I feel compelled to write an endorsement for this enhancement, which would make forecast immensely more valuable for sales forecasting. I could definitely convince my company to use prophet in much of our sales analytics if this feature were added. Do you need any help with developing it given your other priorities?

I would definitely accept a PR for this :-)

@bletham When to release a new version？

@fanlu I don't have a good timeline for the next version atm.

Along the same note, I would like to see hourly seasonality, It's the strongest in my data compared to day of week or month

I took a horrible stab at trying to add it but unfortunately I don't know what I'm doing for python plotting. If someone who actually knows what they're doing, I think my PR for hourly is really close. https://github.com/facebookincubator/prophet/pull/235

This is now pushed to the v0.2 branch. https://github.com/facebookincubator/prophet/commit/8be35c2f34a41b653e3966bb6a5391aefc6554f8 and https://github.com/facebookincubator/prophet/commit/707c88527593bd65f02e99e03704bf84545495d1 add a method/function add_seasonality for adding a custom seasonality. See the example here for using monthly seasonality:
https://github.com/facebookincubator/prophet/blob/v0.2/notebooks/seasonality_and_holiday_effects.ipynb
Install the v0.2 branch from github and try it out!
In R you can use
devtools::install_github('facebookincubator/prophet', subdir='R', ref='v0.2')

@bletham How to use python version?

Download the v0.2 zip here: https://github.com/facebookincubator/prophet/archive/v0.2.zip
Then in the python directory, run
python setup.py install

use v0.2 zip
/Users/lonica/anaconda3/envs/py2/lib/python2.7/site-packages/fbprophet-0.1.1-py2.7.egg/fbprophet/forecaster.py in add_seasonality(self=<fbprophet.forecaster.Prophet object>, name='monthly', period=30.5, fourier_order=5)
355         name: string name of the seasonality component.
356         period: float number of days in one period.
357         fourier_order: int number of Fourier components to use.
358         """
359         if self.holidays is not None:
--> 360             if name in set(holidays['holiday']):
name = 'monthly'
361                 raise ValueError(
362                     'Name "{}" already used for holiday'.format(name))
363         self.seasonalities[name] = (period, fourier_order)
364
NameError: global name 'holidays' is not defined

Thanks, this was a bug, fixed in https://github.com/facebookincubator/prophet/commit/b07d34515528e87b14cd3d43c4806883876cce03.

I am a bit curious. Will the monthly seasonality be handled by the yearly seasonality?

I'd expect that most monthly seasonality would be picked up by the yearly seasonality. However, the seasonality model is essentially a low-pass filter, which means if the monthly variation is high-frequency enough the built-in yearly wouldn't be able to fit it. This new method would allow you to customize things to make it work, in the case of a strong monthly-repeating cycle, by adding a specific monthly seasonality.

@bletham  That makes sense, as yearly seasonality (at least in the current implementation) models very smooth change over the year. Thanks!

Guys,
I am not able to install v0.2 in python. After installing as @bletham  suggested I am getting error (FileNotFoundError: [Errno 2] No such file or directory: '/home/vaibhavkaushal/anaconda3/pkgs/prophet-0.2/python/fbprophet/stan_models/linear_growth.pkl') upon importing fbprophet in python.
Am i doing anything wrong ? I guess not, then how do i incoporate it ? Also when this update going live officially ?

It looks like the model files weren't built during install (or, weren't installed to the right place). There weren't any errors/warning during install? I'm not that familiar with Anaconda and don't know if there are any special considerations for installing from source. Does anyone else know?
This will be pushed to pip as part of the v0.2 update that will be coming as soon as we wrap up a few other features. I am expecting around 5 weeks.

No, there is no error during install. It was a clean install. It only throws error once you try to import it.  5 weeks is a long time, i think i should figure out a way to wirk it up! Can anyone help ?

So, I was able to fix this by copying the expected files into the Path the interpreter expected to find them.  A little hack-y, but it looks like it worked!

This is now available in CRAN and pypi. Documentation is here:
https://facebookincubator.github.io/prophet/docs/seasonality_and_holiday_effects.html
If you have any issues with it feel free to post here or open a new issue.


Python 2/3 compatiblity fix on dns decoder

This commit introduces a compatibility fix in the dns packet decoder. This prevents the output from being spammed by failures to decode DNS requests (and presumably responses). The fix is tested under Python 3.9.2 on Debian 11, but steps were taken to retain Python 2 compatibility as well.
The original problems stems from how Python 2 and 3 handle bytes objects differently - Python 2 seems to just handle them as str objects, whereas under python 3 they are bytes. This obviously leads to issues where conversion happen - in this case bytes to int and str. Whereas under Python 2, ord($OBJ) is required to convert a byte to int, under Python 3 it is sufficient to just use the byte as int. Similarly, sliced bytestring under Python 2 is already a str object, whereas in Python 3 it requires .decode()ing first (in Python 2 you can decode a str object, but it yields a unicode object, which might not be desirable).

I have also now tested the changes under Python 3.10 on Ubuntu 22.04 LTS.

Can you check whether this bug still exists in the current development branch (halosaur)?  I think it's probably fixed.

I ran a more proper test, and it appears the issue is indeed resolved in halosaur.

Awesome; thanks for checking!


Not able to run benchmark (getting 0 FPS)

Hi
I am trying to run the jetson benchmarks, but when I execute it, I am getting 0 FPS, and seems not even a single model is running
`
Please close all other applications and Press Enter to continue...
Setting Jetson nano in max performance mode
gpu frequency is set from 921600000 Hz --> to 921600000 Hz
Running all benchmarks.. This will take at least 2 hours...
------------Executing inception_v4------------
Error in Build, Please check the log in: ./models_nano
We recommend to run benchmarking in headless mode
Model Name: inception_v4
FPS:0.00

------------Executing vgg19_N2------------
Error in Build, Please check the log in: ./models_nano
We recommend to run benchmarking in headless mode
Model Name: vgg19_N2
FPS:0.00

------------Executing super_resolution_bsd500------------
Error in Build, Please check the log in: ./models_nano
We recommend to run benchmarking in headless mode
Model Name: super_resolution_bsd500
FPS:0.00

------------Executing unet-segmentation------------
Error in Build, Please check the log in: ./models_nano
We recommend to run benchmarking in headless mode
Model Name: unet-segmentation
FPS:0.00

------------Executing pose_estimation------------
Error in Build, Please check the log in: ./models_nano
We recommend to run benchmarking in headless mode
Model Name: pose_estimation
FPS:0.00

------------Executing yolov3-tiny-416------------
Error in Build, Please check the log in: ./models_nano
We recommend to run benchmarking in headless mode
Model Name: yolov3-tiny-416
FPS:0.00

------------Executing ResNet50_224x224------------
Error in Build, Please check the log in: ./models_nano
We recommend to run benchmarking in headless mode
Model Name: ResNet50_224x224
FPS:0.00

------------Executing ssd-mobilenet-v1------------
Error in Build, Please check the log in: ./models_nano
We recommend to run benchmarking in headless mode
Model Name: ssd-mobilenet-v1
FPS:0.00

            Model Name  FPS

0             inception_v4  0.0
1                 vgg19_N2  0.0
2  super_resolution_bsd500  0.0
3        unet-segmentation  0.0
4          pose_estimation  0.0
5          yolov3-tiny-416  0.0
6         ResNet50_224x224  0.0
7         ssd-mobilenet-v1  0.0
`
Can anyone guide what is the problem here?

inception_v4_b1_ws1024_gpu.txt
Logs attached

You need to provide absolute path to models directory as mentioned in readme.

@jasvinderkhurana could you solve this problem ? I'm getting the same issue and i'm providing the absolute path .

@jasvinderkhurana did you solve this problem ? I'm getting the same issue and i'm providing the absolute path .

same proble file not found in models directory
Error opening engine file: models/ResNet50_224x224_b4_ws2048_gpu.engine
no file *.engine found ???

@mohammadhaqqi  I have found the answer for this problem here, and for me the second step has worked , so I only decreased the workspace size in this file as mentioned in previous link.

@jasvinderkhurana @mohammadhaqqi  I was having the same issue, even when running headless. Turns out I left off the "fp" in "fp16" in the call. Here is what I used to get it work:
sudo python3 benchmark.py --all --csv_file_path <path-to>/benchmark_csv/tx2-nano-benchmarks.csv \                             --model_dir /home/nvidia/Desktop/jetson_benchmarks/models \                             --jetson_devkit nano \                             --gpu_freq 921600000 --power_mode 0 --precision fp16

Can you put the model on NVIDIA website or Google Drive？I can't download them from dropbox.

@yueyihua you can get individual download links from here https://github.com/NVIDIA-AI-IOT/jetson_benchmarks/blob/master/benchmark_csv/xavier-benchmarks.csv

@rickymedrano I see all of the links are from dropbox.
ModelName	FrameWork	Devices	BatchSizeGPU	BatchSizeDLA	WS_GPU	WS_DLA	input	output	URL
inception_v4	caffe	3	4	1	2048	2048	NA	prob	https://www.dropbox.com/s/b7masj8xdoycv2w/inception_v4.prototxt
vgg19_N2	caffe	1	4	0	2048	0	NA	prob	https://www.dropbox.com/s/t4qq079g5q4jibx/vgg19_N2.prototxt
super_resolution_bsd500	onnx	1	4	0	2048	2048	NA	NA	https://www.dropbox.com/s/hdhxndo23cm9i5y/super_resolution_bsd500.zip
unet-segmentation	tensorrt	1	2	0	2048	None	input_1,1,512,512	conv2d_19/Sigmoid	https://www.dropbox.com/s/85lttamnbjeig0e/unet-segmentation.uff
pose_estimation	caffe	1	4	0	2048	None	NA	Mconv7_stage2_L2	https://www.dropbox.com/s/hwa5i14v67u57ij/pose_estimation.prototxt
yolov3-tiny-416	onnx	1	16	0	2048	2048	NA	NA	https://www.dropbox.com/s/ck9e40b57rd5o14/yolov3-tiny-416.zip
ResNet50_224x224	caffe	3	16	4	2048	2048	NA	prob	https://www.dropbox.com/s/9ohk387v0ki56wx/ResNet50_224x224.prototxt
ssd-mobilenet-v1	onnx	3	16	2	2048	2048	NA	NA	https://www.dropbox.com/s/gx5zayt76vszhpo/ssd-mobilenet-v1.zip

@yueyihua What's the issue? I clicked on the links and they work.

Sorry, In China, Dropbox is not accessible!
---Original---
From: "Ricky<EMAIL_ADDRESS>Date: Sat, Mar 6, 2021 00:51 AM
To<EMAIL_ADDRESS>Cc: "yueyihua"<david.yue<EMAIL_ADDRESS>Subject: Re: [NVIDIA-AI-IOT/jetson_benchmarks] Not able to run benchmark (getting 0 FPS) (#11)
@yueyihua What's the issue? I clicked on the links and they work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Let me figure out other options.

Add $PWD before models in the command line like that :
sudo python3 benchmark.py --all --csv_file_path benchmark_csv/xavier-benchmarks.csv --model_dir $PWD/models --jetson_devkit xavier --gpu_freq<PHONE_NUMBER> --dla_freq<PHONE_NUMBER> --power_mode 0
It worked in my case


TypeError raised on IE11

Thanks for the good npm package! 👍
But, this logger throws TypeError when I use this on IE11.
TypeError: Unable to get property 'split' of undefined or null reference

I investigate my issue and found this document finally.
https://docs.microsoft.com/en-us/scripting/javascript/reference/stack-property-error-javascript#remarks

The stack property is set to undefined when the error is constructed, and gets the trace information when the error is raised.

I think this code is the
cause of my problem.
Thanks.

Hi @hirakiuc,
Thanks for reporting this one. Will fix it asap.
Regards,
Justin

fdc6d23fd0107484129dca1bb25daa8ebd092265

Thanks, @justinkames .
But, this code uses String.prototype.includes which is not supported by IE.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes#Browser_compatibility
So, I use the vuejs-logger 1.3.4 with the String.prototype.includes polyfill, it works! 👍


ERROR READING ARRAY CONTROL RECORD FOR RECH. CONC. COMP. 01 : ULSTRD

In GitLab by @arielthomas1 on Feb 10, 2023, 13:14
I am using the RechargeHighestActive module to assign recharge to my model surface. The concentration is 0. It is a continental shelf cross-section, and I initialize the model domain fully saturated with saline water. It crashes at the first stress period.
Any advice on what might be causing such an error?
chengsi_mod_0.list

In GitLab by @JoerivanEngelen on Feb 10, 2023, 16:33
Sorry to hear that you are getting a crash upon reading.
Unfortunately, I cannot immediately infer from the listfile what's going wrong.
Could you also share the relevant parts of the script here?

In GitLab by @arielthomas1 on Feb 10, 2023, 17:09
I believe the issue might be how I assigned the index in the boundary condition array. I assigned a value of -1 at the surface cells in the iBOUND array. Incompatible with the RCH module??

In GitLab by @JoerivanEngelen on Mar 22, 2023, 15:08
Issue was fixed over the mail, it turned this caused the issue:
m["rch"] = imod.wq.RechargeHighestActive(rate=rch_arr,
                                            concentration=False)

where this would have been good:
    m["rch"] = imod.wq.RechargeHighestActive(rate=rch_arr,
                                            concentration=0.0)

input validation for WQ, like present in the mf6 module, would have prevented this issue from happening.


Launching Steam games on Linux doesn't work (at least without a DE)

We register a desktop file containing xdg-open steam://rungameid/<number> %u, but it turns out that when we do xdg-open discord-<number>:// it actually runs xdg-open steam://rungameid/<number> discord-<number>:// (so it appends the original "url") and then complains about the second argument (since there's only supposed to be one argument to xdg-open).
Not sure how to handle this (is there a way to prevent that argument from getting appended?). Looking at the xdg-open source, for me (no DE, maybe that's the problem) the final line that executes the command is "$command_exec" "$@" where $command_exec turns out to be xdg-open steam://rungameid/<number> (from the .desktop file), and $@ is discord-<number>://.

Really the %u there is the problem, but when I tried excluding it nothing worked. Perhaps a bug in xdg-open? I guess a workaround would be to write out a shell file that ignores the parameter and just runs xdg-open steam://rungameid/<number>. 🤔

In addition to that it doesn't seem to like the digits in the URL. There are two checks, one for file:// and another for URL which looks like echo "$1" | egrep -q '^[[:alpha:]+\.\-]+:', and this latter check suceeds for something:// if something contains digits. This results in xdg-open not even trying to open it as a URL for me.

Although that doesn't really matter, since Discord itself doesn't use xdg-open to open the URL, does it?

Yeah, it does

Perhaps there's a way to add something like discord://run/<id> similar to how Steam does it, and then it'll invoke the correct thing?

I got around this by adding ; \: to the end of the Exec line in the .desktop file. Until Discord_RegisterSteamGame is fixed you can at least register it manually with something like this:
const char* LAUNCH_CMD = "xdg-open steam://rungameid/<gameid> ; \\:";
Discord_Initialize(APPLICATION_ID, &handlers, 0, STEAM_APPID);
Discord_Register(APPLICATION_ID, LAUNCH_CMD);


Pr 918 followups

This is some followups to #918 (/cc @johnceh) and some other general improvements to the error generator that I noticed could be made while reviewing that PR.
For whoever reviews this: it'll probably be easier to go commit-by-commit since it's kind of a grab bag of improvements.

All looks good to me  :)


[Ripple] touchRipple have memory leak

When I use the MuiListItem as the navigation link, and then switch multiple times, when the ripple is turned on, it will cause the memory of the activity monitor to soar, and will not fall back, there is a memory leak problem

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
memory leak

when the ripple is turned on,  and click MuiListItem
Expected Behavior 🤔
The memory is normal and can be recycled

Steps to Reproduce 🕹

Steps:
1.use the MuiListItem as the navigation link
2.ripple is turned on
3.click MuiListItem
4.View activity monitor
Context 🔦

Your Environment 🌎

`npx @material-ui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @material-ui/envinfo` goes here.

System:
    OS: macOS High Sierra 10.13.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 2.21 GB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 12.1.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
  Managers:
    Cargo: 1.46.0 - /usr/local/bin/cargo
    Gradle: 6.2.1 - /usr/local/bin/gradle
    Homebrew: 3.0.4 - /usr/local/bin/brew
    Maven: 3.6.3 - /usr/local/bin/mvn
    pip3: 20.3 - /usr/local/bin/pip3
    RubyGems: <IP_ADDRESS> - /usr/bin/gem
  Utilities:
    Make: 3.81 - /usr/bin/make
    GCC: 4.2.1 - /usr/bin/gcc
    Git: 2.17.2 - /usr/bin/git
    Clang: 1<IP_ADDRESS> - /usr/bin/clang
    Subversion: 1.10.0 - /usr/bin/svn
  Servers:
    Apache: 2.4.33 - /usr/sbin/apachectl
    Nginx: 1.17.6 - /usr/local/bin/nginx
  IDEs:
    Emacs: 22.1.1 - /usr/bin/emacs
    Nano: 2.0.6 - /usr/bin/nano
    Sublime Text: Build 3207
    Vim: 8.0 - /usr/bin/vim
    Xcode: /undefined - /usr/bin/xcodebuild
  Languages:
    Bash: 3.2.57 - /bin/bash
    Java: 12.0.1 - /usr/bin/javac
    Perl: 5.18.2 - /usr/bin/perl
    PHP: 7.1.33 - /usr/bin/php
    Python: 2.7.16 - /usr/bin/python
    Python3: 3.9.0 - /usr/local/bin/python3
    Ruby: 2.3.7 - /usr/bin/ruby
    Rust: 1.47.0 - /usr/local/bin/rustc
  Databases:
    MongoDB: 4.2.3 - /usr/local/bin/mongo
    SQLite: 3.19.3 - /usr/bin/sqlite3
  Browsers:
    Chrome Canary: 92.0.4510.0
    Firefox: 84.0.1
    Safari: 13.1.2
  Monorepos:
    Yarn Workspaces: 1.22.4
    Lerna: 3.4.3

It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

Closing due to lack of activity.


ActionSheet on Android exceeds height of screen on long list of items

react-native, react and native-base version

react-native: 0.52.2
react: 16.2.0
native-base:  2.3.7

Expected behaviour
When using ActionSheet in Android with a long list of items, the list should be scrollable and bounds of the modal should remain confined within the root container.
Actual behaviour
The modal height exceeds the height of the container enough that the top of the title is clipped by the top of the content container.
Steps to reproduce (code snippet or screenshot)
<Button transparent onPress={() => ActionSheet.show(
	{
	   options: collections.map(collection => { return collection.title; }), // Has 12+ entries
	   cancelButtonIndex: 0,
	   title: 'Select Collection'
	},
	buttonIndex => {
		this.changeCollection(collections[buttonIndex]);
	}
)}>
</Button>

Screenshot of emulator/device

It may appear that the status bar is covering the top, but in reality the container is trimmed to the bottom of the spacebar, otherwise the top of the 'S' and 'C' would be visible under the status bar that has an alpha value on the color.
Is the bug present in both ios and android or in any one of them?
Android only, ios uses the built in ios actionsheet.
Any other additional info which would help us debug the issue quicker.
I already found a solution.  Adding maxHeight: '100%' to the TouchableOpacity view will give the expected behavior.  I will open a pull request to fix the issue.

Fixed with 2.3.9


Update app factory docs for Flask's CLI

see https://github.com/pallets/flask/pull/1536

So would best practice be to create a runner/instantiation script? (For using the development server)

Yeah. Also I'm not sure why "multiple instances" is mentioned as usecase, since we already use locks in Flask to ensure that one app object can be used with more than one server in one process.

I create a FlaskGroup and add an entry point for it, then use that entry point instead of flask to call any commands.
my_app/app.py
from flask import Flask
from flask.cli import FlaskGroup

def create_app(info=None):
    app = Flask('my_app')
    ...
    return app

cli = FlaskGroup(create_app=create_app)

setup.py
setup(
    ...,
    entry_points={
        'console_scripts': [
            'my_app=my_app:cli.main',
        ],
    },
)

@davidism how do you make use of the kwarg "info"?

I don't, but it has to be there to make Click happy.  I think it can be used to pass data around within Click.

I think the factory function should be coded in a way that it is straightforward to call directly. I do not like the idea of adding the ScriptInfo argument, just because the Click integration code requires it.
I honestly haven't found a way to use an app factory with Click that matches what you can do with Flask-Script. This is how I typically code my app factory functions:
def create_app(config_name=None):
    if config_name is None:
        config_name = os.environ.get('FLASK_CONFIG', 'development')
    app = Flask(__name__)
    ...
    return app

With this structure, Flask-Script can be given the app factory and it will call it without arguments, which runs the development configuration unless the FLASK_CONFIG environment variable is set to some other configuration. In unit tests, you just call create_app('testing') and you get a test ready app. In my opinion this is very handy. Depending on the application, I can add additional arguments to create_app, as long as all the arguments have defaults for when Flask-Scripts invokes it.
The closest I have achieved with Click requires the use of a wsgi.py file in which create_app() is called explicitly. Obviously Flask never sees the factory function, it gets the app created in wsgi.py, but at least I can write my app factory function with the arguments that I need/want.

I hadn't considered optional arguments even though @mbr pointed that out repeatedly. On that basis we might actually include a basic way to use factories.
On 19 September 2016 03:24:52 CEST, Miguel Grinberg<EMAIL_ADDRESS>wrote:

I think the factory function should be coded in a way that it is
straightforward to call directly. I do not like the idea of adding the
ScriptInfo argument, just because the Click integration code requires
it.
I honestly haven't found a way to use an app factory with Click that
matches what you can do with Flask-Script. This is how I typically code
my app factory functions:
def create_app(config_name=None):
   if config_name is None:
       config_name = os.environ.get('FLASK_CONFIG', 'development')
   app = Flask(__name__)
   ...
   return app

With this structure, Flask-Script can be given the app factory and it
will call it without arguments, which runs the development
configuration unless the FLASK_CONFIG environment variable is set to
some other configuration. In unit tests, you just call
create_app('testing') and you get a test ready app. In my opinion
this is very handy. Depending on the application, I can add additional
arguments to create_app, as long as all the arguments have defaults
for when Flask-Scripts invokes it.
The closest I have achieved with Click requires the use of a wsgi.py
file in which create_app() is called explicitly. Obviously Flask
never sees the factory function, it gets the app created in wsgi.py,
but at least I can write my app factory function with the arguments
that I need/want.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/pallets/flask/issues/2027#issuecomment-247897066

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

@davidism what kind of package structure do you use to add commands to the cli? (using the method you outlined above) i.e. do you import the cli object from my_app/app.py into a separate module and add commands using @cli?

Cross posting from the .env discussion:
One option for making this play nicer with the factory pattern is to allow making a call in the FLASK_APP var. Gunicorn and uWSGI allow this. gunicorn bwportal.app:create_app(where='dev')

I definitely would like to be able to do the same with the flask cli:
gunicorn -c "python:config.gunicorn" --reload "myapp.app:create_app()"

After reading this thread and mixing @davidism and @miguelgrinberg ideas, I have been using the following structure which allows to:

write an app factory function without the ScriptInfo argument,
load the correct app config via FLASK_CONFIG,
write as many CLI commands as needed,
and run in debug mode with app --debug run.

That way, I don't have to ever set FLASK_APP or FLASK_DEBUG.
app/__init__.py:
def create_app(config_name=None):
    if not config_name:
        config_name = os.environ.get('FLASK_CONFIG', 'development')
    app = Flask(__name__)
    # …
    return app

app/commands.py:
def create_cli_app(info):
    return create_app()

@click.group(cls=FlaskGroup, create_app=create_cli_app)
@click.option('--debug', is_flag=True, default=False)
def cli(debug):
    if debug:
        os.environ['FLASK_DEBUG'] = '1'

@cli.command()
def initdb():
    """Initialize the database."""
    db.create_all()

# …

if __name__ == '__main__':
    cli()

setup.py:
setup(
    # …
    entry_points={
        'console_scripts': [
            'app=app.commands:cli',
        ],
    },
)


Why do we need ApiParam.allowMultiple?

Let we have a resource:
@Api
@Path("/whatever")
public class Resource {

  @POST
  @Path("/test")
  public void test(@HeaderParam("input") @ApiParam(allowMultiple = true) String input) {
  }
}

Does it make sense to send input as a collection if JAX-RS has to treat it as a scalar to pass it into the method?

it's for back-compatibility support only.

Does it make sense to declare it as deprecated?

What is the correct JSON for the mentioned resource? Do we still has to report that parameter as array?

It should be a string array


Input field show error

Show an error to the right side of the input field when the input field contains incorrect data.

I will offer nothing valuable in this comment, I am here to hope you can give me advice.
I want to learn C++ apart from the syntax and standard functions - something I can really use to create meaningful code and contribute to open-source + get a valuable skill. The road is long, I know. This is why I figured the best way to learn is by trying to fix GitHub issues, but I got stuck on a little problem:
This issue provides no context for me, with the knowledge I have I cannot understand how the application works with all its files. Do you reckon there is a method I can fix code without knowing how the application works, or do I have to really dive into 1 repository, try to understand all of its functionality and only then try and fix the issues.
Also, should I build the application of every repository that has an issue to find the issue, or can I figure out a way to fix it just by looking at the code?
Thank you.

My description of this issue is really short, possible too short to mark it as "good first issue".
My idea for "good first issue" is for someone unfamiliar with the code base can pick this up easily because the issue is localised to one or very few files. For this issue only ttauri/widgets/text_field_widget.hpp needs to be modified. This is separate from the coding experience one should have to work on this issue.
Also on github an "issue" does not have to be a bug. For this issue new code needs to be written which adds a feature to the text_field_widget.
Very likely you will need to be able to build the application to be able to try and test the changes you have made. Most developers would pick one or just a few open source projects to work on, because it is a lot of work to familiarise yourself to the code base and to set your development environment to build a project.


Add latest tag in publishToNpm

Is your feature request related to a problem? Please describe
Coming from https://github.com/opensearch-project/opensearch-js/issues/521, looks like we need to npm-dist-tag as part of publishToNpm.
Describe the solution you'd like
Mark the newly released JS component as latest in npm as part of publishing.
Describe alternatives you've considered
No response
Additional context
No response

Latest is the default behavior AFAIK @dblock. I believe we need an option to "NOT" tag recent release as latest?
https://www.npmjs.com/package/@opensearch-project/opensearch?activeTab=versions
Looks like 1.2.0 was released few weeks ago where was 2.2.1 being latest was released a month ago?

@gaiksaya Looks like you can use this command to tag another version as latest
npm dist-tag add <pkg name>@<version> latest

Wondering if it might be a good time to introduce something like https://stackoverflow.com/questions/68230173/publishing-a-previous-major-version-to-npm-with-no-tag-and-avoiding-latest
We have been doing this for our docker images where v1 represents latest of v1.x series and v2 represents latests version of 2.x series

I think this command right here is where we need to make sure this is actually the latest, and if not, then override the false addition of "latest" by using --tag [something_other_than+latest] as per https://docs.npmjs.com/adding-dist-tags-to-packages

Thanks for bringing this into notice. I missed it.

Publishing a package sets the latest tag to the published version unless the --tag option is used. For example, npm publish --tag=beta.
By default, npm install  (without any @ or @ specifier) installs the latest tag.

https://docs.npmjs.com/cli/v9/commands/npm-dist-tag#description
Looks like @dblock already opened the bug report. Will work on it soon.
Thanks!


mi rubiks cube

Add support for mi rubik's cube. I'm not sure if this will be useful, but it's a cool joke if someone spins my dice =). It is activated if you repeat 4 identical turns

I need logs with debug:true on miot platform for this device

[D][miot.automation:009]:   Product ID: 04E1
[D][miot.automation:010]:   Frame Control:
[D][miot.automation:011]:     is_encrypted      : NO
[D][miot.automation:012]:     mac_include       : YES
[D][miot.automation:013]:     capability_include: YES
[D][miot.automation:014]:     object_include    : YES
[D][miot.automation:014]:     object_include    : YES
[D][miot.automation:015]:     mesh              : NO
[D][miot.automation:015]:     mesh              : NO
[D][miot.automation:016]:     registered        : NO
[D][miot.automation:017]:     solicited         : NO
[D][miot.automation:018]:     auth_mode         : 0
[D][miot.automation:019]:     version           : 3
[D][miot.automation:020]:   Frame Counter: 115
[D][miot.automation:023]:   MAC address: c4:38:be:4d:0a:a2
[D][miot.automation:026]:   Capability:
[D][miot.automation:027]:     connectable : YES
[D][miot.automation:028]:     centralable : NO
[D][miot.automation:029]:     encryptable : YES
[D][miot.automation:030]:     bond_ability: 1
[D][miot.automation:031]:     io          : NO
[D][miot.automation:032]:     reserved    : 0
[D][miot.automation:046]:   Object:
[D][miot.automation:047]:     ID  : 1001
[D][miot.automation:048]:     data: 00.00.00 (3)

00:43:05][D][miot.automation:009]:   Product ID: 04E1
[00:43:05][D][miot.automation:010]:   Frame Control:
[00:43:05][D][miot.automation:011]:     is_encrypted      : NO
[00:43:05][D][miot.automation:012]:     mac_include       : YES
[00:43:05][D][miot.automation:013]:     capability_include: YES
[00:43:05][D][miot.automation:014]:     object_include    : YES
[00:43:05][D][miot.automation:015]:     mesh              : NO
[00:43:05][D][miot.automation:016]:     registered        : NO
[00:43:05][D][miot.automation:017]:     solicited         : NO
[00:43:05][D][miot.automation:018]:     auth_mode         : 0
[00:43:05][D][miot.automation:019]:     version           : 3
[00:43:05][D][miot.automation:020]:   Frame Counter: 214
[00:43:05][D][miot.automation:023]:   MAC address: c4:38:be:4d:0a:a2
[00:43:05][D][miot.automation:026]:   Capability:
[00:43:05][D][miot.automation:027]:     connectable : YES
[00:43:05][D][miot.automation:028]:     centralable : NO
[00:43:05][D][miot.automation:029]:     encryptable : YES
[00:43:05][D][miot.automation:030]:     bond_ability: 1
[00:43:05][D][miot.automation:031]:     io          : NO
[00:43:05][D][miot.automation:032]:     reserved    : 0
[00:43:05][D][miot.automation:046]:   Object:
[00:43:05][D][miot.automation:047]:     ID  : 1001
[00:43:05][D][miot.automation:048]:     data: 01.00.00 (3)
[00:43:06][D][miot.automation:009]:   Product ID: 04E1
[00:43:06][D][miot.automation:010]:   Frame Control:
[00:43:06][D][miot.automation:011]:     is_encrypted      : NO
[00:43:06][D][miot.automation:012]:     mac_include       : YES
[00:43:06][D][miot.automation:013]:     capability_include: YES
[00:43:06][D][miot.automation:014]:     object_include    : YES
[00:43:06][D][miot.automation:015]:     mesh              : NO
[00:43:06][D][miot.automation:016]:     registered        : NO
[00:43:06][D][miot.automation:017]:     solicited         : NO
[00:43:06][D][miot.automation:018]:     auth_mode         : 0
[00:43:06][D][miot.automation:019]:     version           : 3
[00:43:06][D][miot.automation:020]:   Frame Counter: 214
[00:43:06][D][miot.automation:023]:   MAC address: c4:38:be:4d:0a:a2
[00:43:06][D][miot.automation:026]:   Capability:
[00:43:06][D][miot.automation:027]:     connectable : YES
[00:43:06][D][miot.automation:028]:     centralable : NO
[00:43:06][D][miot.automation:029]:     encryptable : YES
[00:43:06][D][miot.automation:030]:     bond_ability: 1
[00:43:06][D][miot.automation:031]:     io          : NO
[00:43:06][D][miot.automation:032]:     reserved    : 0
[00:43:06][D][miot.automation:046]:   Object:
[00:43:06][D][miot.automation:047]:     ID  : 1001
[00:43:06][D][miot.automation:048]:     data: 01.00.00 (3)

The message “twisted clockwise” is your automation. You could publish any message to mqtt:
        topic: some/topic
        payload: "Something happened!"```

I thought that a virtual button would appear to which I can assign automation. Now I understand that this is already the job of mqttting. Show how to add a topic in an example of a full config please

to be precise, I did not expect that I should register the topic myself.  I thought that messages from the topic
esphome/button(or switch, sensor/xmmfo1jqd/clockwise/ for example will appear automatically by default as on other plugins.  they didn’t appear for me

its work
  - platform: miot_xmmfo1jqd     mac_address: "c4:38:be:4d:0a:a2"     bindkey: "0caff62c544cde6b46a12477ffffffff"                   battery_level:       name: "XMMFO1JQD Battery Level"     on_twist:       - button: "clockwise"         then:           - logger.log: twisted clockwise           - mqtt.publish:               topic: esphome/binary_sensor/xmmfo1jqp/state               payload: "0"       - button: "counterclockwise"         then:           - logger.log: twisted counterclockwise           - mqtt.publish:               topic: esphome/binary_sensor/xmmfo1jqp/state               payload: "1"

It is one of solution, others is to publish to template sensor for example.


C11 fixes the valid reprs of _Bool

C11 6.2.5p2: "An object declared as type _Bool is large enough to store the values 0 and 1".

C11 <IP_ADDRESS>p5: "For any integer type, the object representation where all the bits are zero shall be a representation of the value zero in that type.". This fixes the false bit-pattern to 0x0.

C11 <IP_ADDRESS>p1: "When any scalar value is converted to _Bool, the result is 0 if the value compares equal to 0; otherwise, the result is 1". Converting any C integer to _Bool creates an integer that contains either 0 or 1 - this fixes the false bit-pattern to 0x0 and the true bit-pattern to 0x1.

C11 7.18p3: "true which expands to the integer constant 1, false which expands to the integer constant 0" - this is not so relevant since these expand to "integer constant"s (and not _Bools), so an integer to _Bool conversion needs to kick in to initialize a _Bool.

C11 Footnote 122: "While the number of bits in a _Bool object is at least CHAR_BIT, the width (number of sign and value bits) of a _Bool may be just 1 bit".

All in all, a _Bool can can contain two valid values, 0 and 1, all other representations appear to be trap representations but I cannot find any clear statement in the standard stating precisely this.
--
cc @mjbshaw

Is _Bool an "integer type" in this sense?

Yes, _Bool is an unsigned integer type, C11 6.2.5p6: "The type _Bool and the unsigned integer types that correspond to the standard signed integer types are the standard unsigned integer types".

This would be a quite important thing to settle though. If there are other ways to construct a _Bool object that don't perform a "conversion from a scalar type" (e.g., using memset) then it may be misleading to say true is 0x1 -- maybe on some implementation it's just the conventional/canonical representation but any non-zero value is considered valid and equivalent to true.

Yes, true is an integer constant expression, so that technically allows the compiler to transform a comparison of _Bool with true into pretty much anything. For example, _Bool == true could be transformed into _Bool != false (!= 0), which means that a _Bool containing any value that isn't 0 is actually true. This leaves me wondering about how many trap representations _Bool has, if any. Also, the "padding bits" parts of the integer representations leaves me wondering whether the canonical representation for true could be something different than 0x1 on some platforms.

I am not sure what the implications of that are, particularly for the validity of bool. Since bool == _Bool,bool is C FFI safe, and it is ok to construct a _Bool by transmuting a 3_u8, then that kind of implies that transmuting a 3_u8 into a bool has to create a valid bool.

it is ok to construct a _Bool by transmuting a 3_u8

It's implementation-defined whether or not that's okay in C. It might be UB. The only thing that's really guaranteed in C is that all-bits-zero == 0. There can be other representations that also equal 0 (or 1) due to the padding bits.

It's implementation-defined whether or not that's okay in C.

The issue is that iff the C implementation defines that it is ok to do that for _Bool (like GCC does), then Rust needs to define that it is ok to do so for bool as well.

The issue is that iff the C implementation defines that it is ok to do that for _Bool (like GCC does)

GCC does not say it's okay to store 0x03 in a _Bool. It's UB for GCC (try compiling with -fsanitize=undefined). It's UB for all implementations Rust cares about, as they all require _Bool to be the bit patterns 0x00 or 0x01, and nothing else is permitted.
(apologies for bringing up a bit of a red herring in my comment above).

@mjbshaw Do you have a source for that ? Note that just because -fsanitize=bool complains about this does not mean that it is undefined behavior (e.g. -fsanitize can also complain about unsigned integer overflow, which is defined behavior).
The source of -fsanitize=bool in compiler-rt (https://github.com/llvm-mirror/compiler-rt/blob/master/lib/ubsan/ubsan_handlers.cc#L429) does not have many comments. AFAICT the -fsanitize=bool check is correct for C++'s bool, which can only contain true and false values like the check tests, but C's _Bool does not have that restriction because of padding bits. AFAIK in LLVM both bool and _Bool are always truncated to an i1, discarding all padding bits, so their value does not really matter.

@gnzlbg The simplest source/proof I can offer is that clang/gcc/icc/etc. will optimize based on the assumption that _Bool is 0x00 or 0x01 (and nothing else). For example, compile the simple program:
unsigned int foo(unsigned int x, _Bool b) {
    return x - (unsigned int)b;
}

If b has any value other than 0x00 or 0x01, the results will be incorrect.

Then that has to mean that all other representations beyond 0x0 and 0x1 are trap representations on these implementations.

Closing because while the representation of false (0x0) is guaranteed by the C standard, the representation of true is not. When specifying the validity of bool we can mention the false / 0x0 part.

FWIW, the important bit for bool's validity is that the actual number of valid representations of bool is implementation-defined, and not just true and false (it's only true and false on all platforms that Rust currently supports, it would be great if those platforms would document that).

Then that has to mean that all other representations beyond 0x0 and 0x1 are trap representations on these implementations.

Note that this means they have to be trap representations for all compilers on those platforms, or else linking object files created by different compilers could cause unexpected UB.


[OS X] Spammy static link phase (ranlib)

Admittedly a minor issue, but a bit annoying from a 'zero-warning' perspective:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../osx64_clang/bin/libbgfxDebug.a(glcontext_egl.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../osx64_clang/bin/libbgfxDebug.a(glcontext_glx.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../osx64_clang/bin/libbgfxDebug.a(glcontext_ppapi.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../osx64_clang/bin/libbgfxDebug.a(glcontext_wgl.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../osx64_clang/bin/libbgfxDebug.a(ovr.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../osx64_clang/bin/libbgfxDebug.a(glcontext_eagl.o) has no symbols

I'm assuming this is caused by #ifdef's removing everything in this files. Is this a simple fix as excluding compilation of those files for the OS X platform? Is there the potential for this to break anything if I did that and submitted a PR?

Yeah that's useless warning that exist only on OSX. Good fix would be to pipe output of ranlib and if it has ".o) has no symbols" to not display that line...

So, PR to genie for that?

Yeah, this is code where you should be looking: https://github.com/bkaradzic/genie/blob/master/src/actions/make/make_cpp.lua#L389
Try first hacking makefiles first until you get desired results...

So I can easily filter out those lines with sed like so: | sed -e '/.o) has no symbols$/d'
However, where do I put the line? Placing it in LINKCMD in the make file doesn't work, since make appends all the object files to the end of that command string. Thoughts?

Here? https://github.com/bkaradzic/genie/blob/master/src/actions/make/make_cpp.lua#L101

Right, was going about it all the wrong way. Thanks for pointing me in the right direction, that PR fixes it on my box.


Do Not Merge-Just Trying To Find Out error with travis.

I just ran npm test here:
SyntaxError: Unexpected token } in JSON at position 456
    at JSON.parse (<anonymous>)
    at /home/gw/workspace/BangleApps/bin/sanitycheck.js:42:20
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (/home/gw/workspace/BangleApps/bin/sanitycheck.js:31:6)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
    at internal/main/run_main_module.js:17:47
===============================================
LINE 12
===============================================
.part.jpg"}],
  "sto
===============================================
[
  'in JSON at position 456',
  '456',
  index: 32,
  input: 'SyntaxError: Unexpected token } in JSON at position 456',
  groups: undefined
]
ERROR: widbatpc/metadata.json not valid JSON

Last line is the important bit. You should have:
 "screenshots": [{"url":"widbatpc.full.jpg"},{"url":"widbatpc.part.jpg"}],

Sorry - just realised I merged this by accident. Can't believe I did that!
Hope it's not too big of a problem?

ok, That's fine! Thanks for helping me with the error. I will be submitting another pull request with more screenshots later.


LIB-250-add-docker-container-environment-in-quality-test-stage

Add docker container environment in Quality Test stage which is part of the parallel run in Pre-Integration Test stage

The guide in Jenkins documentation for Docker using Jenkinsfile declarative pipeline requires to install this plugin

The other direction would be to use  Jenkins X .
Jenkins X is built for cloud native environment and it is designed and built for Kubernetes to use create CI/CD
and
the current development on Jenkins pipeline will be dropping the idea of Docker container on different stages and opting for in built plugins such as Node for frontend project and maven for java projects.
This is to reduce the scripting complexity within Jenkinsfile which is not the case if I am still insistent on building docker container within the stage as the script get more complex and too much time consumed.


Bad link in readme

The link for the free notebook in
https://github.com/felafax/felafax/blob/main/README.md
goes to https://colab.research.google.com/github/felarof99/felafax/blob/main/.archive/Llama3_1_8b_on_Free_Colab_TPU.ipynb which leads to
https://github.com/felarof99/llama3-fresh/blob/main/.archive/Llama3_1_8b_on_Free_Colab_TPU.ipynb
which doesn't exist.

Thank you for reporting the issue, I've fixed the broken link.


Delete re-uploaded image after saving the new one.

Fixes #3817.

#3821 is a similar fix, but for documents.

Merged in 37be77143d95f5a1572342eb76c50a3dfb821420


Add GitHub Actions to periodically build and test against repos.master

rosbag2_bag_v2 can break from upstream changes to rosbag2. A GitHub workflow can be used to run linters and tests with a chron script to quickly verify that rosbag2_bag_v2 is working.
Changes Requested

[ ] run linters
[ ] run build and test
[ ] update README.md with build badges

PR for linting: https://github.com/ros2/rosbag2_bag_v2/pull/12


robosense laser mapping failed

@TixiaoShan disturbed, the following two pictures were built with lego-loam, I tried to increase the imu data, but the result is the same as pure laser. (imu uses the data inside the gps module, the output frequency is 20hz) I don't know why when my car goes straight, it will go to the left, which will eventually lead to the failure of the entire map. The laser is robosense-16 and the laser output frequency is 10hz.

rosbag file:https://drive.google.com/file/d/1EwOSRwVtH1zGf58eZT6i2IZjZC43NY0c/view?usp=sharing
parameter：
Laser beam: 16 beams
Wavelength: 905nm
Laser class: class1
Accuracy: ±2cm(typical)
Range: 20cm to 150m(20% object reflectivity)
Data rate: 320，000pts/s
Field of view (vertical): +15.0° to -15.0° (30°)
Angular resolution(vertical): 2.0º
Field of view (horizontal): 360º
Angular resolution (horizontal/azimuth): 0.09º to 0.36º (5-20Hz)
RPM: 300rpm to 1200rpm(5Hz to 20Hz)
Input voltage: 9-32VDC
Power consumption: 9w(typical)
Sensor protection: IP67
Operation temperature: -10°C to +60°C
Dimension: H:82.7mm*φ:109mm
Weight: 0.84Kg(without cabling)
Data type: spatial coordinates/intensity

Hi,
since I am planning to use the Robosense LIDAR too, I have taken a look to your rosbag.
On my machine and using the latest version on master, I get better results than yours:

And this is the odometry

Anyway, the results are not fully deterministic. Running again with the same executable and the same rosbag, I get these values:

Your rosbag contains /ns1/rslidar_points  and  /ns2/rslidar_points.
Using n1, I get the same results that you get, using n2 I get the better results that I have shown you.

Hi, we develop a tool that can convert Robosense point cloud to Velodyne format seamlessly, without modify the origin algorithm (you may only need to change the parameters like LiDAR beams, vertical resolution, etc.), we have tested it on LEGO-LOAM, LOAM and LIO-SAM.
You are welcomed to try this
rs_to_velodyne

@facontidavide @improve100 could you share the bag file please?


parameterize ClientAuthentication apiVersion

Inspired by upstream PR https://github.com/terraform-aws-modules/terraform-aws-eks/pull/1550
Spurred by replacement of authenticator in https://celtra.atlassian.net/browse/MAB-26448

Actually, I will close this PR in favor of creating a new branch, celtra-production with a defined purpose, and branch protection rules.
Then I will switch MAB to use it.


Configurable npm prefix option for local npm path

Closes #35

There is now one warning on defp npm_bin(npm_path, args \\ []) do. Can you please remove the default arguments? Then we are good to go :)

Thanks @josevalim and @jonatanklosko for tips and suggestions. Have updated code accordingly.

@revati I think the docs changes are missing. Then it should be good! :)

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Added AES decryption to #sign

Added a passphrase input to #sign which allows you to enter an AES-256
encrypted key into the private key input if you chose, which will be
decrypted using the passphrase.

BIP38 support seems logical, but AES-256 is not a standard anywhere.
NACK

Just to clarify the reasoning for this was because the new address page has the option to AES encrypt your private key already, however there is no where available to decrypt this without using third party software.
As long as AES-256 encryption is offered on the new address page the way it currently is, I personally see a purpose for this.
Perhaps an alternative would be to replace the AES encryption altogether. Personally I just added this in for my own ease of use.

In that case, the trigger should not be just the value of the password box.
Ideally there should be a checkbox that onclicks to show() the entry input, unchecking hide() it as well as sets the val('') and empties it.
The form should decide whether to attempt decryption by the checkbox, not the value of the password
You should also give the input the same restrictions (if any) as the encryption input. A lot of users remember their passwords based on the requirements given to them.

Firstly, yes there are multiple ways of deciding whether to use encryption but I wanted to make it as simple as possible. I would argue is quicker and easier for the user to either type or not type a password.
One solution I thought of but did not implement, however could easily be done, is to hide the password box and show it if the input of the private key box apears to be encrypted. This would be even more simple and obvious to the user.
With respect to the restrictions, there are none and so there is nothing to display that would be helpful in this case.

Hi,
Please can you tell me how to extract a WIF or private key from an AES-256 Encrypted WIF key ?
Thank you.


ENH: #3335 Pivot table support for setting name of margins column.

closes #3335.
Adds margin_column parameter to pivot_table so that user can set it to
something other than 'All'.
Raises ValueError exception if there is a conflict between the value of
margin_column and one of the other values appearing in the indices of
the pivot table.
take into account notes from closed pull request: #10296

pls also add a whatsnew note (API changes)

done

you have to do message {0}".format('blah') so 2.6 doesn't complain

.format() change made, waiting on Travis.

Travis tests green ;)

thanks!


[104] change date format

Solves: #104
Changes:

Make all dates in downloads follow 'YYYY-MM-DD' pattern

Verification:

WARNING
This task must not be verified using the DOWNLOAD FULL DATASET as the data for this download is prepared by the external service.

Screenshots:
Was:

Is:

@stanislaw-zakrzewski For some reason I dont see the dates in right format. I did pull down the latest code

@stanislaw-zakrzewski For some reason I dont see the dates in right format. I did pull down the latest code

@shaileshmahajanBCH thank you for checking this, and sorry for the late reply. I think excel might be changing the format of the date displayed in the cell automatically, we had similar issues in the past with excel interpreting rows in its own way, and we cannot enforce a format as it is a csv file.
Please check it in the text editor, and let me know how the date looks.

@stanislaw-zakrzewski Thanks for checking. Feel free to merge in.


Georeferanced ploygon masks as output

I am following the custom inference document to apply the pretrained Solar Farm model on Sentinal 2 Imagery. The model inference works as expected, however, I am losing information when I convert the georeferenced jp2 image I get from Sentinal to a tif file and then to a numpy array. I want to export the output masks as a raster or shape file. What would be the easiest way to achieve this?

https://rasterio.readthedocs.io/en/stable/api/rasterio.features.html#rasterio.features.shapes can extract connected shapes from an array and returns shapely polygons that can be converted to geojson or a shapefile.

To add on to that, unfortunately we don't have an easy way to do it, you would need to reference the original JP2 or GeoTIFF to transform the pixel values detected from the numpy array back to georeferenced coordinates. But the numpy/JP2 should match up so it should be possible to do this transformation.


Running unit tests as part of load test

Below is mentioned as second line of this article.
"Load tests execute web performance or unit tests to simulate many users accessing a server at the same time."
I tried to find a tutorial on how to run unit tests as part of load tests (visual studio 2017). It would be of great help if you can provide/add an article on how to run unit tests as part of load test.
Reason I ask is, all the article I could found says "add unit tests to web performance project and in 'test mix' select the unit test". But I couldn't find unit test added in test mix.

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

ID: d0780169-4b7b-97ce-5ccd-9f962472a2c8
Version Independent ID: f0c68169-baeb-cba0-ccf0-a149fa96bb67
Content: Create a web performance and load test project in Visual Studio - Visual Studio
Content Source: docs/test/quickstart-create-a-load-test-project.md
Product: visual-studio-dev15
GitHub Login: @gewarren
Microsoft Alias: gewarren

This is a complete mystery, Must have something to do with the version of ms test used by the test project, but I can't seem to figure it out.

@tdaniely Thanks for providing a solution!
Since load testing is deprecated, we are not planning to update this documentation at this time.

VS 2019 is not supporting load test, seeing this issue when running web/load test
"The Augument type 'System.MarshakbyRefObject' cannot be converted into parameter type 'Microsoft.vISUALStudio.TestTools.Common.FileCopyService.'
Any help is greatly appreciated..

"The Augument type 'System.MarshalbyRefObject' cannot be converted into parameter type 'Microsoft.vISUALStudio.TestTools.Common.FileCopyService.'

@msbyuva Since this issue is closed, and to make sure that your problem is logged in the right place, please use the Report a Problem tool. When you do this, your report becomes part of the work items that are tracked on Visual Studio Developer Community. There, you can engage directly with the engineering team while they address and fix the problem.


Mixed corner radius values for rounded rectangles (roundedRect)

What kind of change does this PR introduce?
Allows option to specify mixed corner radius values for RoundedRect.
Usage
// where r: number | [topRight: number, bottomRight: number, bottomLeft: number, topLeft: number]

// all corners have a radius of 10
doc.roundedRect(x, y, w, h, 10)

// top left and bottom left corners have a radius of 10, top right and bottom right corners have no radius
doc.roundedRect(x, y, w, h, [0, 0, 10, 10])

// this is the same as doc.roundedRect(x, y, w, h, [10, 5, 0, 0])
doc.roundedRect(x, y, w, h, [10, 5])

Checklist:

[ ] Unit Tests
[ ] Documentation
[x] Update CHANGELOG.md
[x] Ready to be merged

Just FYI, all jest snapshots break on my machine but are unrelated to this change (I think).

Just FYI, all jest snapshots break on my machine but are unrelated to this change (I think).

Snapshot testing is depreacted.
Can you add a unit test for this change?

Why  the order is topRight, bottomRight, bottomLeft, topLeft ?
I would suggest /* top-left | top-right | bottom-right | bottom-left */ same as CSS border radius
Any other example of API that defines custom radius?
@liborm85 @devongovett

Why the order is topRight, bottomRight, bottomLeft, topLeft ?
I would suggest /* top-left | top-right | bottom-right | bottom-left */ same as CSS border radius

Memory is a bit hazy but I think I did it this way because I was following how the existing code ie. it draws clockwise starting with the top right corner radius first.
Happy to change it to follow the css way. There are no other examples of setting corner-radius in the API afaik


Display photos of you (i.e. photos you’re tagged in).

Looks like they recently added this functionality to their api. Would love to see it here. Cheers

Hi. I've been patient about this, and tried a few things myself to get it to work. It's still #1 on our wishlist though, so I'd love some suggestions if you have time.
Btw, we're getting great mileage out of the plugin in general. It might not look like much, but I'm particularly proud of my Google Sites integration. Sites tries to resist all customization, so we have Instafeed running on a separate domain. Sites only allows iframes from secure sites, so we run the page through a free shared ssl scrubber and then insert it into our Google page: http://ahs.ausdk12.org (We're also using it on our sister site here: http://albanyhighca.org/).
So rad. Thanks for such a simple and elegant tool.

Closing this one as stale. It's not supported by IG's API anyway.


latest.yml hash doesn't match setup

Hi, I was trying to check the hash that LoRMasterTracker-Setup-0.13.11.exe and it doesn't seem to match latest.yml.
I found a similar issue on https://github.com/sindresorhus/caprine/issues/1554, where it seems that Electron builder takes the binary of the sha512 and converts it to base64. I don't really know how to check if the hash matches that or not, maybe you might know how.

Ok I reviewed some content and this might be intentional, closing this.


EPIC - Migrate kie-tools GH actions to Apache Jenkins

[x] #606
[x] #607
[x] #608
[x] #609
[x] #610
[ ] #611
[ ] #612
[ ] #613
[ ] #614
[ ] #615
[ ] #616
[ ] #617
[ ] #618
[ ] #619
[ ] #620
[ ] #621
[ ] build and tests on multiple OS (macOS, Windows)

As discussed today,

https://github.com/apache/incubator-kie-issues/issues/611; and
https://github.com/apache/incubator-kie-issues/issues/613

are not necessary.


Documentation request: production grade TLS assets

Currently, the documentation specifies regarding TLS assets generate command:

This is not recommended for production, but is fine for development or testing purposes.

Would it be possible to improve the documentation and explain what needs to be done for production.
I'm in the case where my company can generate certificates for me if I provide them with the hostnames.
This is what I've gathered and understand so far:
@mumoshu has shared some codes:
https://github.com/kubernetes-incubator/kube-aws/blob/master/core/controlplane/config/encrypted_assets.go#L281-L292, and for admin https://github.com/kubernetes-incubator/kube-aws/blob/master/core/controlplane/config/encrypted_assets.go#L304-L312 ?
Worker
For worker, I understand we can use TLS bootstrapping, which I have yet to try.
API
For API certificate, my company can generate it based on the API DNS we set in cluster.yaml
Is that correct?
ETCD
Same as for the API, we use the etcd DNS with a wildcard in front to accomodate for etcd0,etcd1,etcd2?
ADMIN
@mumoshu mentioned

regarding admin certs configuration, probably you'd be interested in common names(point to your apiserver hostname) and org(=system:masters to provide admins full privileges) and ExtKeyUsage(you do ClientAuth to authenticate admins)
https://github.com/kubernetes-incubator/kube-aws/blob/b6e2e88a9c7ba4db3429c414669074151f17d954/tlsutil/x509.go#L126

This is where I'm confused. So same as API one, point to API server hostname?

org =system:masters . is that a special value for K8S?

What is ExtKeyUsage?  What is required here?
CA
Now, do I need to have the CA file in the certificate folder? Probably not the key
if we could come up with improved documentation, for generating your own certs, it could help prevent beginners going into prod with the auto generated assets, because they forgot or it's too hard (I know it's their responsibility but kube-aws has lowered barrier to entry, so there is that)
Thanks

https://kubernetes-incubator.github.io/kube-aws/getting-started/step-2-render.html#certificates-and-keys helps. I think etcd and admin are missing


Two PMIR RelatedPerson StructureDefinitions

Luke
There are currently two PMIR RelatedPerson StructureDefinitions in https://github.com/IHE/fhir/tree/master/StructureDefinition.  You can remove the out-of-date file.
thx

I only see one for Patient being linked to the RelatedPerson (structuredefinition-IHE.PMIR.Patient.RelatedPerson.xml) and then the RelatedPerson (structuredefinition-IHE.PMIR.RelatedPerson.xml) itself.

I only see one for Patient being linked to the RelatedPerson (structuredefinition-IHE.PMIR.Patient.RelatedPerson.xml) and then the RelatedPerson (structuredefinition-IHE.PMIR.RelatedPerson.xml) itself.

I didn't look closely enough at the difference between the two files.  I'm closing the issue.

I didn't look closely enough at the difference between the two files.  I'm closing the issue.


Introductory tutorial: @threlte/gltf

Each package should have a solid introductory tutorial, analogous to @threlte/core's Your First Scene.
@threlte/gltf should be relatively simple to cover in one turorial. The tutorial should have a coherent narrative: the learner should be using the package for usecases that clarify the benefits of package, and learning about aspects of @threlte/gltf as they do so.
If you consider contributing this, please discuss your plan here before submitting a PR.

I'm interested in contributing to this issue. Where would be a good place to start? I'm assuming the base of apps/docs/src/content/reference/gltf/getting-started.mdx would be a good place?

Great to hear @szammyboi! Other good resources are our CONTRIBUTING.md and our Writing Documentation page, in case you didn't spot them yet.


UserWarning: torchaudio C++ extension is not available

🐛 Describe the bug
Having just started learning Torchaudio, I got this error. I fixed the first part but even after some deep internet surfing, I can't find a fix. I use Windows 10.
https://pytorch.org/audio/stable/backend.html
Versions
version 1

Hi @problemSolvingProgramming
I cannot tell what you are referring by "the first part" or what you mean by "version 1".
That warning is issued when the installation of torchaudio does not have the extension module.
This happens, for example, when trying to use the source cloned via git, without building the extension module.
This is an expected behavior for older versions of torchaudio on Windows, but the rest of the features should work fine.


Vanish

I have a problem with the vanish command. Each time I teleport to someone in vanish mode, I am visible for a short time. What happens: Ouh, there is an admin. Stop glitching guys.
Hope it can be fixed. :)

There was a "fix" for that at one time, but it was buggy so it was rolled back. It would cause you to get stuck in the ground when you tried to teleport to someone with vanish enabled.
I wonder if you could make it so that the /tp command will teleport you to one unit behind the player in the opposite direction to where the player is looking when you're in vanish mode? It's kind of a cheap way of doing it, but at least you shouldn't be visible to the player you're teleporting to. The only problems I can think of with this is that it would be possible to get stuck in a wall or some other object if they have their back up against it when you teleport to them, and you would still be visible to other players for a short period of time.

Ye I had the same idea but I thought that it can be fixed. Anyway, thats a good idea and in case you stuck in a wall you can just teleport twice. Another way maybe is to teleport under the player and then to the player. Am I visible then?

That teleport under is, I think, how it was done before, which is why you would get stuck in the ground when you teleported to someone.

@cartman-2000 yes, i could calculate the new position based on the direction you are facing, but if you are teleported from that direction you will still see him flingin...

Can you get the facing direction of the target player? If so you could use that instead. Although others around them could still see you.

How does this work now?


Wiki Release notes not up to date ;-)

.

Thanks for the report.  Fortunately someone beat me to it.


VPC CNI custom networking - add support for ENIConfig CRD

Is your request related to a new offering from AWS?
No.
Is your request related to a problem? Please describe.
Create ENIConfig CRD as an option when specified so that worker nodes can use secondary CIDR block IP range for pods.
Mode details: https://docs.aws.amazon.com/eks/latest/userguide/cni-custom-network.html
Describe the solution you'd like.
Add support in this TF module to create ENIConfig CRDs after control plane is provisioned but before the manage node group is deployed so that I don't have to manually recycle worker nodes.
Describe alternatives you've considered.
Using at the moment:

Spin up EKS control plane & managed node group.
Run a separate Terraform plan to create CNI custom networking ENIConfig CRDs. (inconvenient), snippet as an example:

data "aws_availability_zones" "available" {}

data "aws_eks_cluster" "this" {
  name = local.eks_cluster_name
}

# Subnets for EKS Pods
data "aws_subnets" "ekspods" {
  for_each = toset(local.azs)

  filter {
    name   = "vpc-id"
    values = [data.aws_eks_cluster.this.vpc_config[0].vpc_id]
  }

  filter {
    name   = "tag:Name"
    values = ["*eks-pods*"]
  }

  filter {
    name   = "availability-zone"
    values = [each.value]
  }
}

# Security group used by EKS worker nodes (primary ENI).
# Assign it for secondary ENI too as it has all required permissions.
data "aws_security_group" "node" {
  filter {
    name   = "vpc-id"
    values = [data.aws_eks_cluster.this.vpc_config[0].vpc_id]
  }

  filter {
    name   = "tag:Name"
    values = ["${var.project}-${var.environment}-${var.component}-node*"]
  }
}

locals {
  eks_cluster_name = some_value_here
  azs              = slice(data.aws_availability_zones.available.names, 0, 3)
}

################################################################################
# VPC-CNI Custom Networking ENIConfig
################################################################################

resource "kubernetes_manifest" "eni_config" {
  for_each = { for key, value in data.aws_subnets.ekspods : key => value.ids[0] }

  manifest = {
    apiVersion = "crd.k8s.amazonaws.com/v1alpha1"
    kind       = "ENIConfig"

    metadata = {
      name = each.key
    }

    spec = {
      securityGroups = [
        data.aws_security_group.node.id,
      ]
      subnet = each.value
    }
  }
}

# The default AWS provider in the default region
provider "aws" {
  region = var.region
}

data "aws_eks_cluster_auth" "this" {
  name = local.eks_cluster_name
}

provider "kubernetes" {
  host                   = data.aws_eks_cluster.this.endpoint
  cluster_ca_certificate = base64decode(data.aws_eks_cluster.this.certificate_authority[0].data)
  token                  = data.aws_eks_cluster_auth.this.token
}

terraform {
  required_version = ">= 1.0.0"

  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = ">= 4.54"
    }
    kubernetes = {
      source  = "hashicorp/kubernetes"
      version = ">= 2.18"
    }
  }
}

Refresh (terminate) worker nodes to pick up new config

Additional context
AWS VPC CNI custom networking - https://docs.aws.amazon.com/eks/latest/userguide/cni-custom-network.html

please see the example here which demonstrates how to use this module to create a cluster with custom networking enabled https://github.com/aws-ia/terraform-aws-eks-blueprints/tree/main/examples/vpc-cni-custom-networking
We have no plans at this time to add kubernetes resources to this module (outside of the aws-auth configmap which is currently a requirement)


[Bug Report]: /.azuredevops/platformPipelines/platform.updateReadMe.yml (Line: 78, Col: 9): Unexpected value 'name'

Describe the bug
This section is not recognized in Azure DevOps. Does it require an extension/plugin?
To reproduce
Run the pipeline in ADO.
Code snippet
- name: 'Update module outline'
        shell: pwsh
        run: |
          # Load used functions
          . (Join-Path '$(System.DefaultWorkingDirectory)' '$(relativeScriptPath_SetModuleOverviewTable)')
          $functionInput = @{
            MarkdownFilePath = Join-Path '$(System.DefaultWorkingDirectory)' 'docs' 'wiki' 'The library - Module overview.md'
            ModuleFolderPath = Join-Path '$(System.DefaultWorkingDirectory)' 'modules'
          }
          Write-Verbose "Invoke task with" -Verbose
          Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose
          Set-ModuleOverviewTable @functionInput -Verbose

Relevant log output
No response

I suspect this is a copy/paste issue from a git workflow :-)

Hey @akata72, thanks for raising this.
It appears it's a mess I introduced with PR #1641. Will fix it asap. Thank you.


"Scale nodes" e2e test fails (e2e flake)

Scale nodes e2e test fails with the following error
• Failure [0.437 seconds]
Scale nodes
/data/vsts-agent/_work/3/s/gopath/src/github.com/Azure/ARO-RP/test/e2e/scalenodes.go:22
 node count should match the cluster resource and nodes should be ready [It]
 /data/vsts-agent/_work/3/s/gopath/src/github.com/Azure/ARO-RP/test/e2e/scalenodes.go:25
 Expected
 <int32>: 5
 to be equivalent to
 <int>: 6

The build log link.

Dupicate https://github.com/Azure/ARO-RP/issues/952


get following error when intilializing

notification error no such type: checkin_proto.AndroidCheckinRequest

Solved... It is my webpack issue, the proto file is missing after build.


generalized bot settings working with FixedPoint

1 fix to cast ape output to FixedPoint, rest is creating main() and generalizing the settings

bugfix: cast to FixedPoint in apeworx_integrations.py when updating user wallets
added --alchemy command line parameter, default is false
added --fork_url command line parameter, to override the default. I use --fork_url="http://localhost:8547" on my desktop to point to my local Goerli node.
added --fork_port command line parameter, to override the default. I use -fork_port=8549 on my desktop to give Anvil its own port that doesn't clash with my local nodes.
import ape's logging instance and set logging level ERROR
save all experiment variables to experiment_config (avoids having to pass them around, kind of like... global 😬)
use an address file to load and save deployed contract addresses ( I use this locally even outside of docker )
set_up_devnet_addresses() reads deployed contract addresses
set_up_ape() creates deployer, provider, load existing addresses (goerli or devnet) or deploy otherwise. also saves hyperdrive market config from deployed instance afterward.
do_policy() executes each agent's policy
create_elfpy_market() creates elfpy object from deployed smart contract
main() runs very simple loop now:

experiment_config = do_set_up(args, inputs)
while True:
    if new_block:
        create_elfpy_market(onchain_data)
        for policy in agent_policies:
            do_policy(policy, elfpy_market, experiment_config)

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.25 :warning:

Comparison is base (9b7c228) 85.97% compared to head (24443dd) 85.73%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #484      +/-   ##
==========================================
- Coverage   85.97%   85.73%   -0.25%
==========================================
  Files          32       32
  Lines        2673     2670       -3
==========================================
- Hits         2298     2289       -9
- Misses        375      381       +6

Flag
Coverage Δ

unittests
85.73% <100.00%> (-0.25%)
:arrow_down:

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

Impacted Files
Coverage Δ

elfpy/agents/agent.py
93.67% <100.00%> (ø)

... and 3 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix conda install command on cluster

#1167

#1176  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @carolineechen and the rest of your teammates on  Graphite


Open text files

When the right key or l is pressed when hovering over a text file, a preview of it should open in the right grid section. If the file is in the Current list, the list is placed in the left grid section.

#7 adds ability to open files.


support subdomain for each user

each user may set a unique subdomain to get a unique address for user profile page.
https://xxx.quill.im

setup subdomain
new design for user profile page

maybe later