The links in the showcase do not work correctly after the page is reloaded

I'm not sure if this is happening just for me, but I've noticed it.
here are the steps presented more clearly:

Begin by selecting one of the categories.
Click on one or more items (websites) within that category.
Use the rollback to return to the previous state.
Hover your cursor over any item of your choice.
Finally, check the link associated with the selected item.

https://github.com/nuxt/nuxt.com/assets/44509661/496ae7e4-2c5e-4f12-a8a8-b0e2d4d7d7e2

I think the issue is similar to the modules, so far I believe it is because the website is statically generated.
We may move to using hash instead of query params to avoid this behavior.
Happy to take a look at it @Flosciante ?


Tags accept HTML

It could be nice if the Tag class can handle some HTML in addition of the simple "text" attribute.
For example: I want to use this awesome plugin in my ecommerce, and link some other products tagging them on the main image of one product. (sorry for may bad english).
What do you think?

It actually does :)

Oh, didn't noticed! Sorry!

Probably because I didn't document it well ;)


Would be nice to have an example that use data submitted to two nodes

In the titanic example, data are submitted to one node only. It would be nice to have two scripts mimicking two actors that would add data in two nodes (two since in our local setup we use two nodes by default). This could be done in addition to the current example.
We could then in the compute plan example have an model that is created from data from two nodes.

This would be a great addition to our examples!

Closing as stale


ci: undo model change b94ba0

How to categorize this PR?
/kind enhancement
/area os
/os garden-linux
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for your reviewer:
Release note:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Match semver crate examples' styling

At the risk of bikeshedding, I revised the styling I used for #305 to match the styling used in #308.
Probably not even necessary, though. Feelings will not be hurt if the request is closed :')
(should I have opened an issue before PR'ing?)

Suggestions implemented!
Hmm, I'm using
assert_eq!(release.to_string(), "0.3.0");
but Complex Version is using
let serialized_version = parsed_version.to_string();
assert_eq!(&serialized_version, version_str);
I feel that's a styling mismatch.
But to create intermediate variables in Simple Version would be excessive,
and removing the intermediate variable in Complex Version would remove the clarity that we're checking serialization.
Also concerned about the nomenclature difference between using release vs parsed_version as the variable names.
@FaultyRAM do you have any thoughts on this? :D

I would say that clarity+conciseness of given examples are more important tan total stylistic regime. Also I feel that parsed_version is more informative than release

Suggestions implemented!

thanks!


[doc] Backup codes support for Email OTP authenticator

The improvement is available with IS5.8.0 wum updated pack(update number 6098) and latest master.

To support this backup codes for emailotp authenticator, add the following config under EmailOTP authenticator config in application-authentication.xml file located in <IS_HOME>/repository/conf/identity folder.

<Parameter name="BackupCode">true</Parameter>

Add "http://wso2.org/claims/otpbackupcodes" claim via management console to store backup codes for email-otp-authenticator

Need to improve the email-otp document[1]. The content will be similar to the backup-codes support in SMS-OTP authenticator[2]
[1]https://docs.wso2.com/display/IS580/Configuring+Email+OTP#ConfiguringEmailOTP-ConfiguringUserClaimConfiguretheuserclaims
[2]https://docs.wso2.com/display/IS580/Configuring+SMS+OTP#ConfiguringSMSOTP-Configuringclaims

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Automatic error report

not sure what caused the application crash. I just tried to open the pyder application and I could see the application start up logo and the next instance, the application got closed automatically.
<!---   *** BEFORE SUBMITTING: PASTE CLIPBOARD HERE TO COMPLETE YOUR REPORT ***   ---!>

What operating system are you using?

windows 7.
On Tue, Aug 14, 2018 at 7:28 PM Carlos Cordoba<EMAIL_ADDRESS>wrote:

What operating system are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/7682#issuecomment-412881167,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARUq8R7SN3tefglJfPURy2KUmMs0dr1Hks5uQtefgaJpZM4V7yqD
.

--
With Best Wishes,
Suresh Kumar Pasupuleti

Please open a command prompt or an Anaconda Prompt, run there
spyder

and report back the errors you see there.

Closing because of lack of response.

Hi, sorry for not responding back. I was on unexpected leave. Now I am not getting any error after updating  spyder to latest version(3.3.1). So, I am not able to reproduce the issue since it happened only once in 100 times.


namedExports detection for Rollup bundles

Infuriatingly, libraries that use Rollup to generate a UMD bundle don't have their named exports detected by this plugin. Notwithstanding the fact that those libraries should expose an ES module, we could probably detect this pattern:
(function (global, factory) {
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
  (factory((global.lib = global.lib || {})));
}(this, (function (exports) {

exports.foo = 42;

Object.defineProperty(exports, '__esModule', { value: true });

})));

related issue: https://github.com/rollup/rollup/issues/1220#issuecomment-270499527
Modules like ramda written in this form:
module.exports = {
  F: require('./src/F'),
  T: require('./src/T'),
  __: require('./src/__'),
  add: require('./src/add'),
  addIndex: require('./src/addIndex'),
  adjust: require('./src/adjust'),
...

Not only are the named exports not detected by rollup, unused symbols are not removed.

What is the workaround? namedExports option doesn't seem to be working?

Can you try changing namedExports to look like this?
namedExports: {
  'node_modules/babylon/lib/index.js': [ 'parse' ]
}

Even I can't get it working. I tried various options already
rollup failed: 'Chart' is not exported by node_modules/chart.js/src/chart.js (imported by             src/pages/home/home.ts). For help fixing this error see             https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
commonjs({         namedExports: {             // left-hand side can be an absolute path, a path             // relative to the current directory, or the name             // of a module in node_modules             'node_modules/chart.js/src/chart.js': [ 'Chart' ]         }     })

Hey folks (this is a canned reply, but we mean it!). Thanks to everyone who participated in this issue. We're getting ready to move this plugin to a new home at https://github.com/rollup/plugins, and we have to do some spring cleaning of the issues to make that happen. We're going to close this one, but it doesn't mean that it's not still valid. We've got some time yet before the move while we resolve pending Pull Requests, so if this issue is still relevant, please @ me and I'll make sure it gets transferred to the new repo. :beer:


--maxstep still not working when -s is used

pokecli.py -a ptc -u xxxxxx -p xxxx --location "kyoto garden, london" -w 3 -c 10 --maxstep 2 -s
This spot has 10 pokestops within 2 steps, yet its first Pokestop is 5 steps away approx.
looping: step 1 of 4
steplimit: 4 x: 0 y: 0 pos: 1 dx: 0 dy -1
Walking from (51.50299219999999, -0.2046902) to (51.50299219999999, -0.2046902) for approx. 0.0 seconds
Finished walking
(51.50299219999999, -0.2046902, 0)
Found fort 7e24276df4a04425b73f118454b725f6.16 at distance 1103.0083532m
Need to move closer to Pokestop
Walking from (51.50299219999999, -0.2046902) to (51.496808, -0.192237) for approx. 368.0 seconds

Please try using the version located in the dev branch.

just to understand a bit better,
how big exactly is a cell since say maxstep 5 = 25 cells. thank you!

This is now being revamped with the walk&grab.
Please wait for updates - and use the dev branch for now whilst testing.


install  slackclient failed

Os : Archlinux
Python : 3.4.2
# python setup.py install
running install
Traceback (most recent call last):
  File "setup.py", line 11, in <module>
    zip_safe=False)
  File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.4/site-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/usr/lib/python3.4/site-packages/setuptools/command/install.py", line 103, in do_egg_install
    cmd.ensure_finalized()  # finalize before bdist_egg munges install cmd
  File "/usr/lib/python3.4/distutils/cmd.py", line 107, in ensure_finalized
    self.finalize_options()
  File "/usr/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 317, in finalize_options
    self.index_url, search_path=self.shadow_path, hosts=hosts,
  File "/usr/lib/python3.4/site-packages/setuptools/package_index.py", line 269, in __init__
    Environment.__init__(self,*args,**kw)
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 975, in __init__
    self.scan(search_path)
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 1005, in scan
    self.add(dist)
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 1025, in add
    dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
TypeError: unorderable types: str() < NoneType()

Sorry for the noise, but the issue comes from /usr/lib/python3.4/site-packages/pkg_resources/__init__.py . I realized it when installing a new module. I got this error:
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 1025, in add     dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
This file is buggy, as shown by this open issue : pip git.
Commenting the offending line dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)allowed me to install slacky. It seems there is something wrong with the sort function.


Application freezes when opening the Second screen in MVVM+Coordinator example on iOS 17

Title: Application freezes when opening the Second screen in MVVM+Coordinator example on iOS 17
Description:

Summary: In the MVVM+Coordinator example, the application freezes (infinite creation of SecondView) when trying to open the Second screen. This issue occurs only on iOS 17.
Steps to Reproduce:

Launch the application.
Tap the "toFirst" button to navigate to the First screen.
Tap the "toSecond" button to navigate to the Second screen.

Expected Behavior: The application should successfully navigate to the Second screen without freezing.
Actual Behavior: The application freezes and gets stuck in an infinite loop of creating SecondView instances.
Additional Information: This issue has been observed only on iOS 17.

Labels: bug, iOS 17

Thanks a lot for your detailed description.
Your issue of example mades possible to find out the issue in the base component.
Problem with cyclic update of environment object from navigation item modifier.
Fix will be released in 1.10.1.
See Changes in 1.10.1 for more information.


iOS Build Successful but Could Not Load on Device

Environment
Xcode: 10.3
Target Platform: iOS - 12.0.1 / iPhone 6S (Device)
Steps to Reproduce
I had the same problem as in #31
After receiving error message:
Undefined symbols for architecture arm64:
"_onUnityMessage", referenced from:
Following the steps in #31 , I removed UnityMessageManager.cs, the JsonDotNet folder and link.xml
The build is successful but there is now a 0_abort_with_payload error
This is what I get in the debug log.
" Referenced from: /var/containers/Bundle/Application/75D04D06-E198-4D91-9B0E-267E82E507BA/Runner.app/Runner  Reason: image not found "
Actual Behavior

Is anybody else having this problem and managed to get around this? Thanks in advance

Make sure that UnityFramework.framwork is added to your Runner > General settings > Embedded Binaries.

Thanks @TarekMedhat , I missed that!
Flutter run works and it launches successfully on the device.
With Xcode, after including UnityFramework.framework in Embedded Binaries, it fires up on the device.
Thanks again for the help.

@gunsym You are more than welcome, I'm glad I was able to help :).


WIP: chore(deps): update tailwind

This PR contains the following updates:

Package
Type
Update
Change

@tailwindcss/aspect-ratio
dependencies
minor
0.3.0 -> 0.4.0

@tailwindcss/forms
dependencies
minor
0.3.4 -> 0.4.0

@tailwindcss/typography
dependencies
minor
0.4.1 -> 0.5.0

Release Notes

tailwindlabs/tailwindcss-aspect-ratio
v0.4.0
Compare Source
Added

Make sure that Tailwind CSS v3 is in peerDependencies (ae97a25)

tailwindlabs/tailwindcss-forms
v0.4.0
Compare Source
Changed

Update color palette references for v3 (#83)
Don't read outline.none value from config (#89)

tailwindcss/typography
v0.5.0
Compare Source

Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

Not only upgrading tailwind but I have to wait twin-macro to support tailwind v3, otherwise it looks like this:

Keep tracking: https://github.com/ben-rogerson/twin.macro/issues/589


Contribution: new image edge detection technique

Hello Sir/ Madam,
I want to contribute to SciPy (Python) with a new image edge
detection technique
a-better-first-derivative-approach-for-edge-detection-IJERTV2IS110616.pdf
which is more generic & better than the similar popular
techniques for the same.
The paper that I have published is attached here with this email.
Please go through it.
If you like it, please tell me the process to move next.
Thanks & Regards,
Sujoy K Goswami
Principal Data Scientist
TVS Motor Company
India

Hi @SujoyKG . Please first discuss this on the SciPy Dev mailing list.
https://scipy.org/scipylib/mailing-lists.html
Also note that this repo is for scipy.org website. For SciPy related things choose Scipy repository.


[deps] Dropped Django 2.2 support

Closes #180

Coverage decreased (-0.1%) to 98.331% when pulling d7508110eb481bffb660b59a531764ef1ca1550d on devkapilbansal:issues/180 into 2bc6a51f81bc3bea5a41d0909dfb80aec2aa49c2 on openwisp:master.

Coverage decreased (-0.1%) to 98.331% when pulling d7508110eb481bffb660b59a531764ef1ca1550d on devkapilbansal:issues/180 into 2bc6a51f81bc3bea5a41d0909dfb80aec2aa49c2 on openwisp:master.

Let's rebase to master and remove checks from github actions CI #224

Sure, will do that 👍

Let's rebase to master and remove checks from github actions CI #224

Sure, will do that 👍


Bug report

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.01.29. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.01.29

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
$ alias ytd
alias ytd='ytd -w -c --no-check-certificate -f mp4 --write-sub --write-auto-sub'
$ ytd --version
2017.01.29
$ ytd -v 'https://www.youtube.com/watch?v=N22CJh64dw8'
[debug] System config: []
[debug] User config: [u'--continue', u'--ignore-errors', u'--no-check-certificate', u'-f', u'mp4', u'--write-sub', u'--write-auto-sub']
[debug] Custom config: []
[debug] Command-line args: [u'-w', u'-c', u'--no-check-certificate', u'-f', u'mp4', u'--write-sub', u'--write-auto-sub', u'-v', u'https://www.youtube.com/watch?v=N22CJh64dw8']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2017.01.29
[debug] Python version 2.7.5 - Linux-3.10.0-514.6.1.el7.x86_64-x86_64-with-redhat-7.3-Maipo
[debug] exe versions: ffmpeg 2.6.8, ffprobe 2.6.8
[debug] Proxy map: {}
[youtube] N22CJh64dw8: Downloading webpage
[youtube] N22CJh64dw8: Downloading video info webpage
[youtube] N22CJh64dw8: Extracting video information
WARNING: video doesn't have subtitles
[youtube] N22CJh64dw8: Looking for automatic captions
WARNING: Couldn't find automatic captions for N22CJh64dw8
[youtube] {43} signature length 42.43, html5 player en_US-vflV3n15C
[youtube] N22CJh64dw8: Downloading player /yts/jsbin/player-en_US-vflV3n15C/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s
File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 529, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 416, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/u/shei/bin/ytd/youtube_dl/YoutubeDL.py", line 2001, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python2.7/urllib2.py", line 423, in open
protocol = req.get_type()
File "/usr/lib64/python2.7/urllib2.py", line 285, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js
(caused by ValueError(u'unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s
File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 529, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 416, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/u/shei/bin/ytd/youtube_dl/YoutubeDL.py", line 2001, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python2.7/urllib2.py", line 423, in open
protocol = req.get_type()
File "/usr/lib64/python2.7/urllib2.py", line 285, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js
Traceback (most recent call last):
File "/u/shei/bin/ytd/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 369, in extract
return self._real_extract(url)
File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 1646, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 1067, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s
File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 529, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 416, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/u/shei/bin/ytd/youtube_dl/YoutubeDL.py", line 2001, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python2.7/urllib2.py", line 423, in open
protocol = req.get_type()
File "/usr/lib64/python2.7/urllib2.py", line 285, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js
(caused by ValueError(u'unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Duplicate of #11890

Sorry. Please ignore this duplicated one.


Element with @localized() decorator doesn't re-render when the setLocale function is called.

Which package(s) are affected?
Localize (@lit/localize)
Description
It's possible to have an element instance from a class with the @localized() decorator applied which doesn't re-render when the setLocale function is called when that custom element is declared on the page before the custom element is added to the registry.
Reproduction
When applying the @localized() decorator to an element, like so:
@localized()
@customElement('cats-panel')
export class CatsPanel extends LitElement {}

and the element is already declared on the page before javascript is loaded, like so:
<body><cats-panel></cats-panel></body>

the custom element registration happens before the code in the @localized decorator causing the instance of the element on the page to be created before the localization package adds its function to the _initializers array in ReactiveElement, so the listener on the instance of CatsPanel doesn't get re-rendered when a language change event is fired.
Workaround
Changing the order in which the decorators are applied is a quick fix:
@customElement('cats-panel')
@localized()
export class CatsPanel extends LitElement {}

Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
<EMAIL_ADDRESS><EMAIL_ADDRESS>Browser/OS/Node environment
Browser:  Chrome 104.0.5112.101
Bundler: Webpack 5.74.0 using esbuild with target set to es2020

Can confirm, experienced the same issue, changing decorator order works.
Maybe a quick fix for the moment would be to change the suggested order of the decorators in the official documentation?


Live

Docs Build status updates of commit 77f31cf:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/windows-iot-enterprise.md
:white_check_mark:Succeeded

windows-iotcore/windows-iot.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Waveshare 10.1inch display touch panel in eglfs

Hi
I have problem with interfacing this display (Waveshare 10.1) with yocto.
HDMI work well, but touchscreen don´t work.
My image include tslib but touchpanel is not recognized and is not attached in /proc/bus/input/devices
I need to run my app on eglfs platform without X11.
Any idea how to solve this?
Thanks Jozef

@Jozefiel is hid-multitouch present within the rootfs? Is it loaded? If it is there and loaded manually, does the panel work?

Hi @koolkhel . Thanks for your answer.
hid-multitouch is included in rootfs. how can I check if the driver is loaded? and how to load this driver?
My image is based on rpi-basic-image, where are imported qt packages. local.conf is also setted for waveshare display. I have writed .bb for newest tslib , where are libs for waveshare. But i don´t have idea, what is wrong. I am starting with yocto

@Jozefiel try 'lsmod | grep touch' to see if the module is loaded. It should be detected automatically, though. So, when I had similar issues, I just had to set a few kernel options and that was it. hid-multitouch should work with tools like 'evtest' to see if there's anything coming on from the panel. Qt doesn't use tslib by default, so I'd rather not think much about this part.

@koolkhel module is not loaded. probably is problem in my kernel settings. in original image for this touch display from waveshare page is used driver ads7846. but my kernel don´t include this. what kind of changes you done during solving your issues?

problem solved :-)
i clone from original waveshare image raspberrypi partition, overlays directory
spi0-cs.dtbo spi0-hw-cs.dtbo and ads7846.dtbo to my sd card boot partition
in meta-raspberrypi/recipes-bsp/bootfile/ is added
rpi-config_git.bbapend with configurations parameters
SRCREV = "648ffc470824c43eb0d16c485f4c24816b32cd6f"
do_deploy_append() {
echo "display_rotate=0" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "hdmi_force_hotplug=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "hdmi_group=2" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "hdmi_mode=87" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "hdmi_cvt=1024 600 60 6 0 0 0" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "hdmi_drive=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "max_usb_current=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "dtparam=spi=on" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "dtparam=i2c_arm=on" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "dtoverlay=ads7846,penirq=25,speed=10000,keep_vref_on=0,penirq_pull=2,xohms=150" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
}
display was loaded as hwmon module
touch events is possible check with sudo hexdump /dev/input/touchscreen0
thanks for helping

problem solved :-)
i clone from original waveshare image raspberrypi partition, overlays directory
spi0-cs.dtbo spi0-hw-cs.dtbo and ads7846.dtbo to my sd card boot partition
in meta-raspberrypi/recipes-bsp/bootfile/ is added
rpi-config_git.bbapend with configurations parameters
SRCREV = "648ffc470824c43eb0d16c485f4c24816b32cd6f"
do_deploy_append() {
echo "display_rotate=0" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "hdmi_force_hotplug=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "hdmi_group=2" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "hdmi_mode=87" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "hdmi_cvt=1024 600 60 6 0 0 0" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "hdmi_drive=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "max_usb_current=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "dtparam=spi=on" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "dtparam=i2c_arm=on" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo "dtoverlay=ads7846,penirq=25,speed=10000,keep_vref_on=0,penirq_pull=2,xohms=150" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
}
display was loaded as hwmon module
touch events is possible check with sudo hexdump /dev/input/touchscreen0
thanks for helping

I had the same issue with core-image-sato image and your solution had fixed my issue too. But when I am trying to make custom image based on core-image-base target with mini_x session I am getting black screen after adding ads7846.dtbo to the /boot/overlays and the screen stays black even if I remove this file and reboot the system. Also I cannot see any touchscreens in /dev/input folder. Do you have any idea how to get working touchscreen in my case?
This is my custom image receipt:
IMAGE_FEATURES_append = " splash x11-base hwcodecs ssh-server-openssh post-install-logging allow-empty-password empty-root-password"

IMAGE_INSTALL = "\
    packagegroup-core-boot \
    packagegroup-core-full-cmdline \
    psplash \
    sudo vim git curl htop wget unzip usbutils ntp ntpdate mongodb \
    xf86-video-fbdev \
    cups nss libxscrnsaver alsa-lib \
    ${CORE_IMAGE_EXTRA_INSTALL} \
    "

inherit core-image extrausers

Thanks.


[spec] FIx lcov option to include missed files

Current lcov command misses ml-agent source files.
To include those files, remove --no-external option and exclude some
external / genterated files in the coverage result.

Signed-off-by: Yongjoo Ahn<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #189. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


Doesn't work in Linux console

Greetings!
I use akt all of the time under X.  However, it doesn't seem to work under Linux console (without X).  Could it be made to?
Thanks!
Blake McBride

Hi Blake,
Please provide details (to start: system, version, invocation and symptoms).
akt does work in Fedora's console; I've used it on several occasions.

I discovered it on a Raspberry PI running Debian Linux.  While trying it again to answer all of your questions, it worked perfectly.  So it runs great on a Raspberry PI.
I think my problem must have been when I was first attempting to get it to work.  I was likely doing stuff with loadkeys before attempting akt.  That somehow messed up my environment that required a re-boot to correct.
No akt works great everywhere, even on a Raspberry PI!  Great utility.
Thanks, and sorry for the trouble.
Blake

No worries, Blake. Thanks for the update.


Azure CLI is unable on M1 mac due to AttributeError: module 'logging' has no attribute 'getLogger

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
I just installed using it using brew install azure-cli. This installed the version azure-cli--2.34.1.arm64_monterey.bottle.tar.gz. However, as soon as use any az cli command I get the following error.
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File<EMAIL_ADDRESS>line 110, in _get_module_details
    __import__(pkg_name)
  File "/opt/homebrew/Cellar/azure-cli/2.34.1/libexec/lib/python3.10/site-packages/azure/__init__.py", line 1, in <module>
    __import__('pkg_resources').declare_namespace(__name__)
  File "/opt/homebrew/Cellar/azure-cli/2.34.1/libexec/lib/python3.10/site-packages/pkg_resources/__init__.py", line 77, in <module>
    __import__('pkg_resources.extern.packaging.specifiers')
  File "/opt/homebrew/Cellar/azure-cli/2.34.1/libexec/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/specifiers.py", line 24, in <module>
    from .utils import canonicalize_version
  File "/opt/homebrew/Cellar/azure-cli/2.34.1/libexec/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/utils.py", line 8, in <module>
    from .tags import Tag, parse_tag
  File "/opt/homebrew/Cellar/azure-cli/2.34.1/libexec/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/tags.py", line 25, in <module>
    logger = logging.getLogger(__name__)
AttributeError: module 'logging' has no attribute 'getLogger'

It doesn't matter if I remove or reinstall the cli.
To Reproduce
Run this:
brew install azure-cli
az

Expected behavior
No errors 😀
Environment summary
System Version:	macOS 12.3 (21E230)
Kernel Version:	Darwin 21.4.0
Chip:	Apple M1 Pro
Additional context

@jiasli for awareness

I fixed it. It was my bad. I had a folder named logging in my home dir, and python was importing this directory instead of the logging module.


Unit 1 Pyglet version

This is a real quick one:
In unit 1 today when I did
pip install pyglet
it said that pyglet 2.0 is only compatible with python >3.8.3 (if I'm remembering correctly). So I tried
pip install pyglet==1.5.1
and I was able to complete the rest of unit 1 without a hitch. 1.5.1 was suggested in the discord to solve a different issue, but it seems to solve this one too

Hey there 👋 . Thanks for pointing this out 🤗 do you use Colab or you run on your local computer/VM?

🤗 This is on Colab


Support more ZRANGE options

This close #1117 .

I want to explain why kvrocks crashes when @tanruixiang is using unique_ptr.
Firstly, he creates ZrangeCommon and some derived structs of it, like this:
struct ZrangeCommon { ... };
struct ZrangeLex : ZrangeCommon { std::string x };
struct ZrangeIndex : ZrangeCommon { ... };

Then, he use unique_ptr to store ZrangeCommon:
unique_ptr<ZrangeCommon> spec_;

...

if (...) {
  spec_ = make_unique<ZrangeLex>(...);
} else if (...) {
  spec_ = make_unique<ZrangeIndex>(...);
}

Note: Unlike shared_ptr, unique_ptr does not do type erasure, which means that the default deleter in unique_ptr is determined at compile time for the destructor. In this case, destructor of ZrangeCommon will be called when spec_ is destructed. Note that the actual object type at this point may be ZRangeLex, and calling the wrong destructor may not only lead to resource leaks, but also to other catastrophic consequences due to UB.
The design of shared_ptr is different in that shared_ptr does type erasure and its deleter is stored in runtime, which makes it store the exact function pointer of the constructore at construction (which, of course, adds runtime overhead), so there is no such problem.
So a better solution is to use a virtual destructor: shared_ptr is not needed here, because shared_ptr has extra overhead and usefulness:
struct ZrangeCommon {
  ...
  virtual ~ZrangeCommon() {}
};

@PragmaTwice Thanks for the analysis. I have another question, why clang can help us to solve this problem.

Calling wrong dtor is an UB, and UB can cause anything.

Code conflict as we did some refactors. cc @torwig @PragmaTwice could you help with providing the plan on following refactors so that we don't resolve conflicts many times?

I will try to finish this pr as soon as possible before the big refactoring.

Closing as conflicts...
Any progress requires rework now.


Update morpheus spack build

Checklist

[ ] Testing comment in the PR documents testing used to verify the changes

Testing
I was able to successfully build a spack environment on morpheus (my Linux laptop) with these changes.


Obfuscate GPS Lat/Long Coordinates

In Discussion 27 in the Dashboard Repo, we discussed that the GPS Latitutde and Longitude coordinates should be truncated or obfuscated.
This has two big benefits:

It allows privacy protection for the installer of the Frog sensor, as it will not be possible for someone to precisely determine the location of the sensor.
Another advantage to "snapping" sensor locations to a 0.01 degree (or whatever level of precision) grid, is that we won't have to see location drift as the GPS quality changes over time.

For some context about spatial resolution and location precision, NOAA's High-Resolution Rapid Refresh (HRRR) model which is used to make those smoke maps you may have seen, is at 3 km spatial resolution. Another high resolution data product is NASA/ORNL's DayMet which is 1 km spatial resolution. To get 1 kilometer spatial resolution, that is about 0.01 degrees of precision.
This change is to round the latitude and longitude coordinates to 0.01 degrees or precision (2 decimal places)

I've just deployed this change. You can see that the coordinates are rounded:


implement page size control

There is currently a nonfunctional dropdown to control the page size.  This could be made to work by saving that info in the URL and then having the searchReducer read it into state, where it will control pagination.

Closing old prototype-related issues that are not relevant to 0.3.0+. Please re-open if this is incorrect! Thanks.


QuantileDiscretizer not finding setNumBuckets method

Hello,
I'm currently trying to use ft_quantile_discretizer as follows:
test <- ft_quantile_discretizer(df,                          input_col = col1,                         output_col = col1_bin,                         n_buckets = 5L)
The following error is produced:
Error: failed to invoke spark command
17/01/12 17:25:39 WARN cannot find matching method class org.apache.spark.ml.feature.QuantileDiscretizer.setNumBuckets. Candidates are:
17/01/12 17:25:39 WARN setNumBuckets(int)
17/01/12 17:25:39 ERROR setNumBuckets on 86 failed
I have also tried calling the function explicitly, such as:
transformed <- discretizer %>% invoke("setInputCol", col1) %>%    invoke("setOutputCol", col1_bin) %>% invoke("setNumBuckets",                                                  as.numeric(5L)) %>% invoke("fit", df) %>% invoke("transform",                                                                                df)
And the same error is produced.  I have also tried using the default value for n_buckets.  Any insight regarding this?

What version of sparklyr are you using? This should already be fixed in the current CRAN release (0.5.3).

Ah, could be.  I'm using 0.4 - thanks!

Fixed.


test error!!!

thank you for your works, i have problem when testing coco data

@xingyizhou

Have you compiled nms?
cd $ExtremeNet_ROOT/external
make

thx~

@xingyizhou  how to assign GPU numbel  when test？

@xingyizhou how to assign GPU number when test？

We only support single GPU testing ...


Adding Jaeger retention in hours, not days

Closes #144

This problem was caused as the retention time needs to be specified for Jaeger in hours, not days. Updated the isup.sh test that is now check if jaeger returns at least one service (itself).
Ready for review.


Influxdb stable RPMs can't be installed - no digest

When I try to install inluxdb using the rpm form here , I get the following error:-
[root@influxdb vagrant]# dnf -y --nogpgcheck localinstall https://dl.influxdata.com/influxdb/releases/influxdb-1.8.2.x8
6_64.rpm
Last metadata expiration check: 0:14:08 ago on Fri 21 Aug 2020 01:16:13 AM UTC.
influxdb-1.8.2.x86_64.rpm                                                               3.9 MB/s |  60 MB     00:15
Dependencies resolved.
========================================================================================================================
 Package                     Arch                      Version                    Repository                       Size
========================================================================================================================
Installing:
 influxdb                    x86_64                    1.8.2-1                    @commandline                     60 M

Transaction Summary
========================================================================================================================
Install  1 Package

Total size: 60 M
Installed size: 164 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
  package influxdb-1.8.2-1.x86_64 does not verify: no digest

Error Summary
-------------

The system is a fresh install of CentOS 8. Also, this occurs with or without "--nogpgcheck"

Issue with virtualbox


"getting started" buttons for all programming languages (js,py,go) link to nonexistent pages

Describe the bug
The getting started buttons link to non-existing pages
Expected behaviour
Clicking to button leads to a page describing how to set-up space-cloud with desired programming language
Actual behaviour
Page not found
Steps to reproduce

Run space-cloud mission control
open in browser
click any of the programming language buttons under getting started

Your environment

Space Cloud version: 0.11.0
OS: Linux

If this bug restricts your use of space-cloud, give it a thumbs up reaction, so that we can determine which bugs need to be fixed immediately.
👍

@Jayesh333 seems like a quick fix. Can you take this up?

Yess, let's add redirects for the old links as a quick fix and fix the links in the next version.

Sounds good. Assigning it to you
Thanks @nicobrinkkemper for pointing it out.

@Jayesh333 is this fixed?

Fixed


Pendulum DateTime wrapper losing tz and timezone values in 2.8.1

After upgrading to pydantic-extra-types==2.8.1, we're seeing some bizarre artifacts with timezones for the Pendulum wrapper types.
Repro:
from datetime import timedelta

from pydantic import BaseModel
from pydantic_extra_types.pendulum_dt import DateTime

class MyModel(BaseModel):
    dt: DateTime

m = MyModel(dt="2021-02-03T04:05:06.777777Z")

# The timezone appears to be set...
print(m.dt)
# ..., but when doing date math, it is dropped
print(m.dt - timedelta(seconds=10))

# Only the tzinfo is set, the others are None
print("tzinfo:", m.dt.tzinfo)
print("tz:", m.dt.tz)
print("timezone:", m.dt.timezone)

2.8.0:
$ pip install pydantic-extra-types==2.8.0 && python repro.py
...
2021-02-03 04:05:06.777777+00:00
2021-02-03 04:04:56.777777+00:00
tzinfo: UTC
tz: UTC
timezone: UTC

2.8.1:
$ pip install pydantic-extra-types==2.8.1 && python repro.py
...
2021-02-03 04:05:06.777777+00:00
2021-02-03 04:04:56.777777        <-- here the timezone is gone
tzinfo: UTC
tz: None
timezone: None

It seems like this may have been introduced in https://github.com/pydantic/pydantic-extra-types/pull/184 or https://github.com/pydantic/pydantic-extra-types/pull/185, I'm trying to narrow that down locally


[BUG] - Warning: useLayoutEffect does nothing on the server for Dropdown and Popover

NextUI Version
2.0.18
Describe the bug
Dropdown
Warning: useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.
    at file:///Users/.../node_modules/@nextui-org/popover/dist/chunk-UGAU2Q7B.mjs:16:11
    at Dropdown (file:///Users/.../node_modules/@nextui-org/dropdown/dist/chunk-EEFCSOKJ.mjs:14:11)
    at div
    at file:///Users/.../node_modules/@nextui-org/navbar/dist/chunk-PSG7VTZC.mjs:13:11
    at header

Popover
Warning: useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.
    at file:///.../node_modules/@nextui-org/popover/dist/chunk-UGAU2Q7B.mjs:16:11
    at footer

Your Example Website or App
https://github.com/dmythro/dmythro.com
Steps to Reproduce the Bug or Issue

Create NextJS app
Add Navbar with a Dropdown, DropdownTrigger

Expected behavior
No warning in console, works as expected on client
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome

Fix on its way: https://github.com/nextui-org/nextui/commit/40633626991d11f251619508f151dd7f435bda25


ORC-126. Remove our fork of storage-api.

This patch removes our fork of Hive's storage api and replaces it with the official release.

The CI failed because the hive storage api 2.2.0 release hasn't been synced to maven central yet.


0Create quiet-yaks-vanish.md

What are you trying to accomplish?

What approach did you choose and why?

What should reviewers focus on?

Can these changes ship as is?

[x] Yes, this PR does not depend on additional changes. 🚢

))


[Q] Lidar/beta de-duplication

Hi, I'm getting started with lidar visualization (for automotive) and I would like to log the point cloud only once (together with the ground truth) and then log predictions every N epochs during training. Analogously to the example for images:
https://docs.wandb.ai/guides/track/log/media/image-logging-de-duplication
Can this be accomplished, and if so how? I want to basically do this, but it doesn't seem to work:
In beginning of training:
wandb.init()
art = wandb.Artifact("my_lidar_data", "dataset")
for name, points, gt_boxes in LIDAR_DATASET:
    art.add(wandb.Object3D({'type': 'lidar/beta', 'points': points, 'corners': gt_boxes.corners()}), name)
wandb.log_artifact(art)

During training:
art = wandb.use_artifact("my_lidar_data:latest")
pc_1 = art.get(name)
wandb.log({
    "lidar_prediction": wandb.Object3D({
        'type': 'lidar/beta',
        'points': pc1,
        'corners': pred_boxes.corners()
    })
})

However, this does not exactly work. Is what I am attempting at all possible, or does the Image visualization type have explicit support to make de-duplication possible?
Thanks in advance :)

Hi, thanks for the explanation! How would it work if I wanted to upload the same points multiple times, but different boxes?
In terms of your example:
# Log validation ground truth before training
points, gt_objs
run.log({"ground_truth": Object3D({
        'type': 'lidar/beta',
        'points': points,
        'corners': gt_objs.corners()
})

for i in range(EPOCHS):
    # train model
    ...
    # Log validation samples
    preds = model(points)
    run.log({"predictions":  Object3D({
        'type': 'lidar/beta',
        'points': points,
        'corners': preds.corners()
    })

Ideally I would only write the points once (share across both 'predictions' and 'ground_truth' table), but the really important part is that I don't write the points again each time I log predictions during training. Is that achievable?


Advanced Rocketry adds extra texture noise

Minecraft Version:
-1.7.10
Forge Version:
-<IP_ADDRESS>4
Advanced Rocketry Version:
-1.7.10-1.2.5
LibVulpes Version:
-1.7.10-0.2.6
is this the latest curseforge build?
Yes
#Please Pastebin crash
Crash Report:
Explain issue in detail:
Tried to add Advanced Rocketry to a custom modpack some friends and I are playing, we all noticed that the trees and grass became much more grainy and full of noise.(Pictures included) Tried with a fresh install of just AR and it did the same thing. The blocks that are in the foreground look fine but the farther away you get the worse it looks. It is much easier to see when zoomed in.  Thanks for the help
With AR

Without AR

Friends how found that a temp fix if turning graphics, specifically mipmap and anisotropic filtering. My pc cant run on that so that fix wont work for me.

this may be related to #925


Ensure trigger payload is within specified size limit

Batch messages until any of the following conditions are met:

there are no more messages in the topic
2 seconds have passed since the last time firing
new: the currently consumed message would exceed the allowed payload size. When this happens, the current message is squirreled away for inclusion in the next poll cycle.

@dubeejw please review

@bjustin-ibm, possible to test batching. Also would be nice to doc the batching behavior or at least the max message limit.

possible to test batching

@dubeejw Batch limit is tested here: https://github.com/apache/incubator-openwhisk-package-kafka/pull/174/files#diff-739f35fdbcde166788378e5daa12611bR194

Also would be nice to doc the batching behavior

Agreed. I'll update the batching section of the README.

@dubeejw README updated.

@bjustin-ibm, need test that verifies that messages that exceed the payload limit are dropped.

need test that verifies that messages that exceed the payload limit are dropped

@dubeejw Done: 23016b7cd52bdd99d8ec283a8ffeb45c73c44218

@csantanapr please merge.

@csantanapr Actually... give me a minute to manually squash these commits.

@csantanapr Ok done. Please merge when Travis finishes.


Add a field for non-config files to AgentRemoteConfig

Summary
When configuring an agent, it may be helpful to provide files to the agent that are specifically designated as files that are related to the agent's configuration, but are not configuration files themselves.
Context
This change could be applicable to any agent, but is currently motivated by the way the Collector works. The Collector allows specifying multiple configuration files passed through its command line arguments, and will merge the resulting files. For example:
otelcol --config=file0.yaml --config=file1.yaml --config=file2.yaml

The Collector also allows specifying pulling in configuration from other sources within config files defined in command line arguments. For example, say file0.yaml above contains the following line:
rules: ${file:ruleset.yaml}

The contents of ruleset.yaml would be substituted into the contents of file0.yaml before the full configuration is parsed by the Collector.
If we want to provide multiple files to the Collector through the command line, but also provide files that are read inside of the Collector's configuration files, we would need to specify the difference between files that are top-level configuration and those that are supplementary to configuration. This could include config fragments as above, but also other files such as certificates, binary files, etc. that may be read by the Collector on startup.
Approaches
Add a new field in ServerToAgent
We could add another AgentRemoteConfig-typed field on ServerToAgent named remote_supplementary_config or similar that contains files intended to aid those in remote_config.
Add a new field in AgentRemoteConfig
We could add another list of files in AgentRemoteConfig that contains supplementary configuration files.
Add a new field in AgentConfigFile that specifies the role of a file
We could add another string field, e.g. config_type on AgentConfigFile that specifies how the server intends for the file to be used by the agent, and rely on semantic conventions for what these types mean. This would be the most flexible approach, but would also require the most processing by the agent.
Alternatives
Using PackagesAvailable to provide supplementary files
We could realistically offer supplementary files as packages, but this would be out-of-band for configuration and would likely be a complicated flow.
Utilize the MIME type of config files
We could alter the MIME type of config files, such as adding a parameter, to include OpAMP-specific information that indicates to the agent how a file should be used. This would also be a flexible option, but would need careful consideration to ensure that the OpAMP annotations don't cause unintended conflicts.

Discuss in workgroup meeting and the consensus seems to be that we want to "Add a new field in AgentConfigFile that specifies the role of a file".
Something like this:
message AgentConfigFile {
    // Config file or section body. The content, format and encoding depends on the Agent
    // type. The content_type field may optionally describe the MIME type of the body.
    bytes body = 1;

    // Optional MIME Content-Type that describes what's in the body field, for
    // example "text/yaml".
    string content_type = 2;

    // Optional role of the file. The values and their semantics are Agent-type specific.
    string file_role = 3;
}


It can't run

I use it on the virtual machines（kali and ubuntu），it has something wrong. Then I use it on windows11, it's the same bug. What should I do to solve it?

I can't seem to reproduce your issue.
Do you get any errors when you run pentestgpt-connection ?
And do you see a line "New conversation.(xx) is created." in the output?

yes，it also gets error.

I can't see the output you mentioned. Could it be a problem with my API-key？

I doubt it, because if that's the case then it's odd that you're getting "ChatGPT Sessions Initialized." in the first image.
What's after the lines shown in the 2nd image? Are you getting:
2. You're connected with OpenAI API. You have GPT-3.5 access. To start PentestGPT, please use <pentestgpt --reasoning_model=gpt-3.5-turbo-16k>
Also, what are you getting in the case of the first image before initializing the session? I mean similar to:

yes，I get it，I can start a chat, but after I submit my instruction, it gets errors.

That's odd, you should be getting New conversation is created before getting your input, similar to:

As a sanity check, which version of pentestgpt are you using? I'm using 0.11.0

yeah, it's same.  I'm using 0.11.0. I have another question. When I use pentest-connection. It seems only test the gpt4, and then post an error. It doesn't test the gpt3.5.

Okay, did you add a valid payment method (e.g. a credit card) to your OpenAI account? You can add it from the account settings in https://platform.openai.com/. It is required to use PentestGPT.
Also, is the OpenAI library the latest? It should be 0.27.10

OK, I didn't add any payment method. I use the free acount. Is this my key problem?

Yes, I believe so, similar to #149
You're required to add a payment method to your account to use PentestGPT

OK, I see, thank you very much.


The library no longer works

When trying to execute the demo example, no message is sent via the webhook.
However, if I take the same request and execute it with curl, it does get executed.
Could you please help?

Teams seems to no longer accept string-based messages since 2 days ago.
If you send the JSON Object directly it works, but the type of the send method needs to be changed.

Yeah, you are correct. It looks like Microsoft had a breaking change in the webhook API. So I release an update that use JSON object directly instead of an JSON string. It is a breaking change, so you need to adjust your code. Sorry for interruptions.


Restricting hosts where Python PreCommit runs due to environmental issues.

Host choice is due to having seen passing tests earlier today:
beam1 - https://builds.apache.org/job/beam_PreCommit_Python_GradleBuild/496/consoleFull
beam6 - https://builds.apache.org/job/beam_PreCommit_Python_GradleBuild/487/consoleFull
beam7 Has been recently reimaged, so trying that one as well.
I see beam2 also had a successful run. I'll add it if tests pass.

Hmm still failing. Something wrong with proto generation. Observing it in my machine as well.

No luck. Still not good information on why it's failing.

Failure is different. I think that's a good thing. Working on making progress.

I've checked with Jason. I asked why Python tests pass/fail on some machines:

The reasons for that are as many as the stars in the sky
Different package versions, transient network issues, permanent network issues, Jenkins instability, etc.
For Python, historically there were some machines with up-to-date pip and virtualenv and some without, and we restricted execution of Python tests to the ones with

It doesn't seem that old Maven-based precommit had any sort of restrictions on hosts, so I'm not sure what's going on in this case: https://github.com/apache/beam/blob/a25157bc6a9203362f6dd23acc8b7e1f30daad8e/.test-infra/jenkins/job_beam_PreCommit_Python_MavenInstall.groovy
Somehow it must be that the Gradle build and the Maven build had different assumptions?

Run Seed Job

Retest this please

The maven-based precommit didn't use virtualenv (it modified and used the users install of Python). This should be more hermetic, assuming a recent virtualenv and pip.


Enable descheduler for arm64

Adds arm64 support to operator hub.
ARM QE validated descheduler for arm64
cc: @aleskandro @andymcc

/lgtm
/assign @soltysh

/approve
/lgtm
/hold

ARM QE validated descheduler for arm64

@jeffdyoung is the validation publicly available?
Feel free to drop the hold. If possible I would like to have a link to the validation in case a revert PR gets open removing the support.

Hello, here is a link to the log of the execution of the tests on an OCP4.11 ARM64 cluster (the 4.12 build was not available yet):
https://mastern-jenkins-csb-openshift-qe.apps.ocp-c1.prod.psi.redhat.com/job/ocp-common/job/ginkgo-test/103237/console
The 5/5 pass result was also validated by @kasturinarra ...

/remove cancel

/hold cancel


Better error when using attr_accessor to override a method

Input
→ View on sorbet.run
# typed: true

module Fooable
  extend T::Sig
  extend T::Helpers
  interface!

  sig {abstract.returns(T.nilable(String))}
  def foo; end
end

class BadFooable
  extend T::Sig
  include Fooable

  sig {override.returns(T.nilable(String))}
  attr_accessor :foo
end

class GoodFooable
  extend T::Sig
  include Fooable

  sig {override.returns(T.nilable(String))}
  attr_reader :foo

  sig {params(foo: T.nilable(String)).void}
  attr_writer :foo
end

Observed output
editor.rb:17: Method BadFooable#foo= is marked override but does not override anything https://srb.help/5035
    17 |  attr_accessor :foo
          ^^^^^^^^^^^^^^^^^^
Errors: 1

Expected behavior

The error message here is misleading if you don't look carefully: the error specifically mentions that it's the foo= (writer) component of the attr_accessor that does not override anything.
It would be great to indicate something explicit there in the error message.

@jez Hi there, has anybody started work on this issue that you know of? Thank you 😄


Conflict in name of appender plugin : HttpEventCollectorLog4jAppender.java uses same plugin  name as org.apache.logging.log4j.core.appender.HttpAppender

Team,
When I am using Http Appender with com.splunk.logging package with log4j2, it was giving me below warning.
WARN StatusLogger Plugin [http] is already mapped to class org.apache.logging.log4j.core.appender.HttpAppender, ignoring class com.splunk.logging.HttpEventCollectorLog4jAppender
After looking at code I found @Plugin(name = "Http" has same name as used with org.apache.logging.log4j and that was taking precedence over com.splunk.logging.
For workaround I renamed plugin name in HttpEventCollectorLog4jAppender.java and rebuild it in my local environment and it worked.
Ideally we should have unique name for custom appenders to avoid conflicts with org.apache.logging.log4j.
If we publish new version with unique plugin name it will be very helpful for all.
Thanks for such helpful custom appender.
Version of this project you're using (ex: 1.6.0)
Platform version (ex: Windows 10)
Framework version (ex: Java 8)
Splunk version (cloud)
-Swapnil

Hi @swapvai,
This issue makes sense, however resolving it would be a breaking change.
Feel free to send us a PR if you're interested in moving this along.

I was curious how this is progressing?  I have run into the same issue and I am trying to implement this solution for my organization, but I am not able to send messages to our splunk since the com.splunk.logging http appender is being overridden:
DEBUG Building Plugin[name=appender, class=org.apache.logging.log4j.core.appender.HttpAppender].
DEBUG HttpAppender$Builder(url="%scheme%://%host%:%port%", method="null", connectTimeoutMillis="null", readTimeoutMillis="null", ={}, SslConfiguration=null, verifyHostname="null", ignoreExceptions="null", PatternLayout([%d{MM/dd/yyyy HH:mm:ss}] [%-5p] [%c{3}] - %m%n), name="splunkhec", Configuration(MyApp), Filter=null)
ERROR Http contains invalid attributes "disableCertificateValidation", "index", "source", "class", "token"

I was curious how this is progressing?  I have run into the same issue and I am trying to implement this solution for my organization, but I am not able to send messages to our splunk since the com.splunk.logging http appender is being overridden:
DEBUG Building Plugin[name=appender, class=org.apache.logging.log4j.core.appender.HttpAppender].
DEBUG HttpAppender$Builder(url="%scheme%://%host%:%port%", method="null", connectTimeoutMillis="null", readTimeoutMillis="null", ={}, SslConfiguration=null, verifyHostname="null", ignoreExceptions="null", PatternLayout([%d{MM/dd/yyyy HH:mm:ss}] [%-5p] [%c{3}] - %m%n), name="splunkhec", Configuration(MyApp), Filter=null)
ERROR Http contains invalid attributes "disableCertificateValidation", "index", "source", "token"
-Lou

Would this satisfy backwards compatibility and get around the plugin naming issue?
// existing
public class HttpEventCollectorLog4jAppender extends AbstractAppender

// backwards compatibility
@Plugin(name = "Http", category = "Core", elementType = "appender", printObject = true)
@SuppressWarnings("serial")
public final class HttpEventCollectorLog4jAppender2 extends HttpEventCollectorLog4jAppender

// plugin renamed to avoid conflicts with HttpAppender
@Plugin(name = "SplunkHttp", category = "Core", elementType = "appender", printObject = true)
@SuppressWarnings("serial")
public final class SplunkHttpEventCollectorLog4jAppender extends HttpEventCollectorLog4jAppender

3 copies of constructor and PluginFactory stuff but only one implementation

Sorry for the delayed communication - we've just merged a fix for this to develop as: https://github.com/splunk/splunk-library-javalogging/pull/92/files


opt: add rule to fold limits

PR: https://github.com/cockroachdb/cockroach/pull/49931
From release notes:

The optimizer can now fold two Limit operators together. [#49931][#49931] {% comment %}doc{% endcomment %}

I don't think this needs to be documented.
@DrewKimball Please reopen if you disagree. :)


chore: dead links removed

Remove dead links from the "Twitter" section.
Short pitch

Mareike König moved her account from Twitter/X to Mastodon https://mastodon.social/<EMAIL_ADDRESS>I could not find the lists that she used to maintain and removed the dead links from the list.
Link to Annoation Studio updated to https://github.com/hyperstudio/Annotation-Studio
Link to AutoCat removed, tool is no longer maintained
[ ] https://dhcenter-unil-epfl.com/ server name not resolvable
[ ] https://dirtdirectory.org/ server name not resolvable
[ ] http://tadirah.dariah.eu/vocab/ server name not resolvable
[ ] https://digital.hssonline.org/ server name not resolvable
[ ] https://vistorian.online/ server name not resolvable
[ ] https://readcoop.eu/transkribus/?sc=Transkribus 403
[ ] https://www2.unil.ch/ladhul/fr/home.html 404
[ ] https://mith.umd.edu/chain/ 404
[ ] http://dh101.humanities.ucla.edu/ timeout

Checklist

[x] I have read and understood the contribution guidelines.
[x] Table of contents has been updated (if a section is added / removed).
[x] Contents have been sorted alphabetically.

Dead Link Checker report - https___dh-tech.github.io_awesome-digital-humanities_.pdf

DeadLinkChecker.com - report
https://dh-tech.github.io/awesome-digital-humanities/ (full scan)
Generated: 16/06/2024 22:53:48
100% scanned - 178/178 URLs checked, 167 OK, 11 failed

Error URL Anchor Text Linked From

503
Service Unavailable

https://app.annotationstudio.org/

Annotation Studio

https://dh-tech.github.io/awesome-digi
tal-humanities/

404 Not
Fou nd

https://autocat.apps.allenai.org/

AutoCat

https://dh-tech.github.io/awesome-digi
tal-humanities/

-1 Not foun d: The serve r name or ad dress could not be resol
ved

https://dhcenter-unil-epfl.com/

DHCenter UNIL-E PFL

https://dh-tech.github.io/awesome-digi
tal-humanities/

404 Not
Fou nd

https://mith.umd.edu/chain/

CHAIN

https://dh-tech.github.io/awesome-digi
tal-humanities/

-1 Not foun d: The serve r name or ad dress could not be resol
ved

https://dirtdirectory.org/

DiRT (Digital Rese arch Tools)

https://dh-tech.github.io/awesome-digi
tal-humanities/

-1 Not foun d: The serve r name or ad dress could not be resol
ved

http://tadirah.dariah.eu/vocab/

Taxonomy of Digita l Research Activitie s in the Humanities
(TaDiRAH)

https://dh-tech.github.io/awesome-digi
tal-humanities/

-1 Not foun d: The serve r name or ad dress could not be resol
ved

https://digital.hssonline.org/

HSS Digital

https://dh-tech.github.io/awesome-digi
tal-humanities/

-1
Timeout

http://dh101.humanities.ucla.edu/

Introduction to Digi tal Humanities (DH 101)

https://dh-tech.github.io/awesome-digi
tal-humanities/

-1 Not foun d: The serve r name or ad dress could not be resol
ved

https://vistorian.online/

Vistorian.online

https://dh-tech.github.io/awesome-digi
tal-humanities/

404 Not
Fou nd

https://www2.unil.ch/ladhul/fr/home.html

Ladhul dhCenter [3
01 from https://ww w.unil.ch/ladhul/fr/h ome.html]

https://dh-tech.github.io/awesome-digi
tal-humanities/

403
Forbidd en

https://readcoop.eu/transkribus/?sc=Transkribus

Transkribus [301 fr om https://transkrib us.eu/] [301 from h
ttps://transkribus.e u/Transkribus]

https://dh-tech.github.io/awesome-digi
tal-humanities/


Enable static flags on static objects in example scene

For better optimization by the Unity exporter

Hey, @Legorobotdude could you address the changes pointed by Casey. I think everything that helps to minimize building times is important and I would love to see your PR merged.

I'll take a look when I get time. I didn't update the blender files, though I did enable lightmap generation which may have flagged them. I'm not sure how to generate the albedo UV's or if they are necessary. I think the scene appears darker because the lighting has not been built, which can be fixed by going to Lighting - Generate Lighting.

@caseyyee can you take a look at this when you get a minute? thanks!

thank you!
yes, actually coincidentally, I just encountered some odd lighting issues with the terrain in #212: https://github.com/mozilla/unity-webvr-export/pull/212#issuecomment-380283828
and I had to disable Static here: https://github.com/mozilla/unity-webvr-export/pull/212#issuecomment-380299335
I appreciate your follow-up response :+1: I filed issue #228 to further track this. thanks again!


Add PamFax to apps directory

This add's our Electron app PamFax to the directory. Thanks for the amazing framework!!

Awesome thank you for contributing it here! 📠 ✨


fix: call _fetch_item from _process_image for easier override

In catalogue.Importer, we have the _fetch_item function as a practical override entry point.
But instead of using it, _process_image is reimplementing the same logic directly in the function.
I fixed it so that _fetch_item is used and I removed the now unnecessary lookup argument in _process_image.
With those changes, in handle L.41, the lookup_value is retrieved but is only used to construct some error logs. I think we should change the text of the logs so as not to need to retrieve this value just for them, but I wanted to discuss about it first.
(PS: I have been working using Oscar for more than 2 years now, building a marketplace from scratch. I finally have some times to give back to that awesome project by providing some fixes for issues I found along the way so I'll be pretty active in the following days!)

I never used the Importer in production either, still it was useful to create some fixtures that I used in development, and I actually have needed to override _fetch_item and ended up overriding _process_image for that. Hence this little fix. But I agree that it is not that important.
I'm not working for that marketplace anymore (that's the reason why I finally have some time to myself haha), but some utilities to map catalogue data would definitely have been useful!
For the marketplace what I did was to implement a whole bunch of utility classes to update the catalogue in bulk and easily handle data from different sources (API, FTP, ...) by only needing to declare the specific format for a seller in a pydantic model and have a generic way to handle them all. That took a lot of time to implement so your new project is definitely a welcome addition to the ecosystem, I'll check it!


Logical precedence is not implemented.

The input Ex. Assume a is an integer. Assume b is an integer. Then a * b is even iff a is even or b is even.
results in two outputs
Translated: example (a : ℤ) (b : ℤ) : (even (a * b) ↔ (even a ∨ even b)) := sorry
Translated: example (a : ℤ) (b : ℤ) : ((even (a * b) ↔ even a) ∨ even b) := sorry

b7c9569 does it


Rector TCP server

Goal is to create server that will over TCP accept content of file + rector config, process it via rector and return results as json.
This solution is supposed to replace current demo architecture.

@TomasVotruba previously code like this crashed rector demo on timelimit and meanwhile running (60s before killed) it took all CPU resources on the server:

Now:

With under 100ms with xdebug enabled and debug mode 😄


powershell -Version 5.1 doesn't work on Linux

Steps to reproduce
On Linux, run powershell -Version 5.1
Expected behavior
PowerShell launches, $PSVersionTable shows version 5.1
Actual behavior
-Version : The term '-Version' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.
At line:1 char:1
+ -Version 5.0
+ ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (-Version:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.0.0-alpha
PSEdition                      Core
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   <IP_ADDRESS>
GitCommitId                    v6.0.0-alpha.9
CLRVersion
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

This is true on all platforms.
The issue is due to the fact that coreclr powershell host doesn't implement -Version option.
If you run man powershell on linux, you would not find -Version flag.

Then how do you force PowerShell to emulate older versions?

@kryptine you don't, it is unsupported.

See also #1084.


Why does pathToChange in stateChaged not correspond to object?

I'm submitting a ...
[ ] bug report
[ ] feature request
[ x] question about the decisions made in the repository
[x ] question about how to use this project

Summary

When the state changed event is fired, the pathtoChanged array does not contain valid paths into the object. Should you not be able to do state[pathToChanged] to get the value of what has changed?
Why is it video.ME.0.programInput?
Is there a function that will translate the path into the actual value / object that was changed?

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

There is a bug here. It is supposed to be video.mixEffects.0.programInput not video.ME.0.programInput. The paths changed in 2.0 and some cases were not updated. A fix has been written and will be in the next version, but it hasnt been released yet.
It it supposed to be that the paths will work with https://www.npmjs.com/package/object-path to get the changed object. And either regex or some other string operations to figure out exactly what changed

Thanks. I'll look into object path. Is there a pull or branch with the fix?

Yes, it is in master and as a prerelease on npm as 2.1.1-nightly-20200917-210751-66bb5be.0

This has been published in v2.2.2


How to change the Time intervel using strapi Date and Time picker

As a strapi user admin i need to set the published/unpublished date and time. The time picker is currently showing one minutes time interval but i need to have this in 30 minutes time interval.
Currently Behaviour

System
Node.js version: 14.19.1
NPM version:9.2.0
Strapi version: 4.9.1
strapi plugin publisher : 1.3.1
Database: postgres
Operating system: Mac Os

The datetime picker step can be set via the components.dateTimePicker.step setting (added in #36).


x86_64 crash with spinning child thread

Describe the bug
This is possibly related to #17167 but in this case, we are not running anything in user mode (no support on that platform). Instead what we are doing is setting the main thread to a cooperative priority, launching a preemptive child thread that hogs the CPU, and the system hangs when the parent thread goes to sleep.
To Reproduce
Grab this patch:
https://github.com/andrewboie/zephyr/commit/065678408b8c33f115c6c3894eed84a14a28d454
And run the hello_world sample.
Expected behavior
On qemu_x86 this completes as expected:
Booting from ROM..***** Booting Zephyr OS build zephyr-v1.14.0-1926-g4ce2753e6e3b *****
Hello World! qemu_x86
Child thread spinning...
SUCCESS

On x86_64 it just hangs:
Booting from ROM..Hello World! qemu_x86_64

Impact
Seems like a showstopper, this ought to work.

Bug was with k_thread_priority_set() on SMP assuming that it could unconditionally remove the thread from the run queue.  On SMP, the current threads aren't in the run queue.  Wasn't discovered because while we do have tests that call k_thread_priority_set(k_current_get(), ...), they're running with SMP disabled currently :(


Black blocks after pdf.js update

Attach (recommended) or Link to PDF file here:
css.pdf
Configuration:

Web browser and its version: Google Chrome 108.0.5359.124
Operating system and its version: Ubuntu 20.04.5 LTS
PDF.js version: 3.6.172 (v 2.12.313 did not have this problem)
Is a browser extension: no, I use incognito

Steps to reproduce the problem:
This problem not reproduces on hellowworld or viewer examples. But I cant figure it out. What can broke only parts of rendering?
What is the expected behavior? (add screenshot)
v 2.12.313

What went wrong? (add screenshot)
v 3.6.172

WFM, when opening your document (using e.g. drag-and-drop) in the demo-viewer; see https://mozilla.github.io/pdf.js/web/viewer.html
That's using PDF.js version 3.7.64 [3be66f59d] on Windows 11, in both Firefox Nightly 115.0a1 and Chrome Beta 114.0.5735.35, hence this unfortunately looks like a bug that's specific to a particular combination of e.g. platform, gfx-drivers, and/or browser.

But why this problem not appears on https://mozilla.github.io/pdf.js/web/viewer.html, but I use same "platform, gfx-drivers, and/or browser"?

Please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.

I'm not able to reproduce your issue on Mac 13.3.1 (M1) with either Firefox or with Chrome, so as mentioned it's likely related to your setup.
But the rendering of the two fishes on the first page is wrong in pdf.js (see a screenshot from Preview):

I cant reproduce it too, on viewer or helloworld pages. Clean pet projects works fine too, but when i use it on our site it has those kind of problems. On Safari problem is more serious. The render is not works at all.
And I cant find what kind of code can effect on render.
Witch part of librery responsible for render? Worker? Or the main chank of librery?


feat(data-set)!: 删除 standardTransform，简化 pivotDataSet 逻辑

👀 PR includes

📝 TODO

[x] 适配 data cell 定位逻辑
[x] 适配小计总计
[x] 适配 tooltip 显示逻辑（getCellData）
[x] 适配排序 （getMultiData)
[x] custom-tree-pivot-data-set
[x] 复制导出
[x] 单测

🖼 Screenshot

Before
After

❌
✅

🔗 Related issue link

🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-v2.0.0-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v2.0.0-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Clean up hcommons-2.dev certificate and zone records

We did not renew the domain because we don't use it any more.

Deleted:

Load balancer
Route 53 zone
Certificate


feat: standalone certs with LETSENCRYPT_HOST

This commit enables the creation of standalone certificates using the environment variable LETSENCRYPT_HOST without using VIRTUAL_HOST.
@buchdag would you be open to such an idea?

@pini-gh I don't really get what this PR intend to do 🤔
Unless I'm mistaken, it undoes https://github.com/nginx-proxy/acme-companion/pull/1123, which should trigger https://github.com/nginx-proxy/nginx-proxy/issues/2469 again when using both LETSENCRYPT_HOST and VIRTUAL_HOST. I don't really understand why / how some tests are passing with this change.

The intent is to create standalone certificates with LETSENCRYPT_HOST for services with no HTTP exposure (no VIRTUAL_HOST variable). For instance an SMTP server:
version: '3.5'

services:
  smtp:
    image: mysmtp:latest
    restart: unless-stopped
    environment:
      LETSENCRYPT_HOST: smtp.example.org

Without this change we have to use the file letsencrypt_user_data for that because there is no nginx-proxy configuration generated for this container. But since our certificate can be tied to a container we could just use LETSENCRYPT_HOST which is easier.

@pini-gh while I do get the idea and the easier / more user friendly approach, I'm not at ease with the shift in project scope that change would introduce by removing the clear separation between the original scope of the project (obtaining ACME SSL certificate for containers proxied by nginx-proxy) and a secondary feature added by request (obtaining SSL certificate not tied to specific containers, ie standalone certificate).

I fail to see it as a shift because the feature exists already with letsencrypt_user_data. This change just makes it easier and more consistent.
For a web app you often need to glue a few containers. together into a docker-compose file Some of them with no HTTP may need certificates as well (SMTP, IMAP, ...). When looking at the related docker-compose file it's weird that one container can have its certificate with LETENCRYPT_HOST and the other cannot just because it has no HTTP. Moreover you have to tinker into another docker-compose file (acme-companion's one) to obtain this certificate.

If we set aside the project scope discussion which is kinda debatable, I'm not opposed to this in theory as it make sense and would be a nice usability improvement.
What concern me with the concrete implementation is the fact that now every certificate we request trigger this function:
function add_standalone_configuration {
    local domain="${1:?}"
    if grep -q "server_name ${domain};" /etc/nginx/conf.d/*.conf; then
        # If the domain is already present in nginx's conf, use the location configuration.
        if parse_true "${ACME_HTTP_CHALLENGE_LOCATION:=false}"; then
            add_location_configuration "$domain"
        fi
    else
        # Else use the standalone configuration.
        cat > "/etc/nginx/conf.d/standalone-cert-$domain.conf" << EOF
server {
    server_name $domain;
    listen 80;
    access_log /var/log/nginx/access.log vhost;
    location ^~ /.well-known/acme-challenge/ {
        auth_basic off;
        auth_request off;
        allow all;
        root /usr/share/nginx/html;
        try_files \$uri =404;
        break;
    }
}
EOF
    fi
}

Doesn't that mean that everyone who runs acme-companion without sharing the /etc/nginx/conf.d folder between nginx-proxy and acme-companion (ie the normal two containers setup), would have its logs filled with the following for every domain (because in this setup /etc/nginx/conf.d does not exist inside acme-companion container) ?
grep: /etc/nginx/conf.d/*.conf: No such file or directory
bash: /etc/nginx/conf.d/standalone-cert-test.domain.tld.conf: No such file or directory

Additionally when I originally wrote this code I was okay with "if we grep the domain in the rendered nginx conf generate a location block, otherwise generate a server block" being used for standalone certificates, but I'm not confortable with the "main use case" certificate (ie certificates tied to a container proxied through nginx-proxy) triggering this. I'm concerned that we could mistakenly go into the else branch of if grep because somehow this function was called before the nginx config was fully rendered, generate a server block that we shouldn't, and break the nginx config.
I think it might be possible to identify which LETSENCRYPT_HOST are tied to containers with VIRTUAL_HOST / VIRTUAL_HOST_MULTIPORTS with a modification to letsencrypt_service_data.tmpl.

Your concerns about the implementation are valid. The current status of this PR is POC and it needs some work.

would you be open to such an idea?

That's a yes then, let me know if you need help to refine this.


appcrash_on_location_permission_denied_bugfix

Please review if the bug is fixed and merge.
Should solve issue #28

Could you also call this function initialize() before
_moveMapToCurrentLocation(zoom: widget.options.defaultZoom);
so that it would check if the location permissions when the user clicks on FAB.
It is inside the Widget Build Function. Line no 291 i guess.


One obvious speedup opprotunity

Since all you are doing is thresholding the distance relative to several reference points, you can forgo the sqrt() and just square the thresholds.
sqrt() is a a very expensive function - avoiding it may significantly improve performance.

The performance difference in Chrome latest stable is 3%. The JiT compiler has gotten very good at optimizing math functions and storing shadow variables!
Used jsPerf for this simplified formula, compared to current DeltaE implementation:
return(x2.L - x1.L) * (x2.L - x1.L) + (x2.A - x1.A) * (x2.A - x1.A) + (x2.B - x1.B) * (x2.B - x1.B);
The GitHub Page for this repo has a demo that actually has a speedier version running (see code sample at bottom for notes):
http://zschuessler.github.io/DeltaE/demos/de76-chroma-key/


heater-shaker: implement timed shaking in PAPIv2

As a heater-shaker user, I'd like to have my h/s shake in the background for a set duration of time and stop automatically after the set amount of time.
Design
Implement a start_timed_shake (name TBD) command that takes seconds and minutes as its arguments. This command should send a shake command to the module and start a background task that monitors time. At the end of the set time, the command should send a stop shake command to the module.
Implement a mechanism to inform a protocol that a timed shake has ended so that it can perform steps that require an idle shaker. This can be implemented in two ways:

Using a context manager:
So a timed shake in a protocol will look like this-

with heater_shaker.timed_shake(rpm=123, duration=234):
  # Pipetting while shaking
  p20.aspirate(20, non_heater_shaker_labware)
  p20.dispense(20, some_other_labware)

# Pipetting that requires a deactivated shaker
p20.aspirate(20, heater_shaker_labware)
p20.dispence(20, some_other_labware)

Using 2 separate commands:

heater_shaker.start_timed_shake(rpm=123, duration=234)
# Pipetting while shaking
p20.aspirate(20, non_heater_shaker_labware)
p20.dispense(20, some_other_labware)

heater_shaker.verify_stopped()    # Strictly required gating command

# Pipetting that requires a deactivated shaker
p20.aspirate(20, heater_shaker_labware)
p20.dispence(20, some_other_labware)

Implementation requirements:

The protocol context state should get updated to reflect the end of shake
Users should not be able to send another shake command while timed shake is happening
The background task should be cancelled upon a protocol cancel
The task should not pause when protocol is paused (TODO: confirm this w/ product. In absence of an emergency stop button and mid-protocol stateless commands, we will need to think about whether to pause the movement when protocol is paused)

Closing this as "won't do", as part of general ticket cleanup.
As far as I know, there hasn't been a pressing need for this. ProtocolContext.delay() has been good enough.


S2U-21 Tests & Quizzes: Several fixes for SEB

Fixes:

S2U-21-1
S2U-21-4
S2U-21-5
S2U-21-7
S2U-21-8
S2U-21-9

https://sakaiproject.atlassian.net/browse/S2U-21

Thank you very much for the great work on this.


Add Type to feature toggle object and expose the feature toggle collection readonly publicly.

Is your feature request related to a problem? Please describe.
Feature parity with other client. Similar to how the node client allows you to get all feature flag definitions: https://github.com/Unleash/unleash-client-node#3-use-unleash
Also, the endpoint to grab features from the server "client/features" includes the "Type" field which could be useful if we have access to the entire collection.
Describe the solution you'd like
Add "Type" as a string to the FeatureFlag class.
Expose a public getter that returns whatever the most recent collection of feature flag definitions exist.  This could be as simple as adding this to DefaultUnleash.cs
public ICollection<FeatureToggle> FeatureToggles { get { return services.ToggleCollection.Instance.Features; } }
Doing this would require adjusting the access modifier on some classes like FeatureToggle or would require some sort of mapping to a new public friendly entity.
Describe alternatives you've considered
The only other means of doing this would be to hit the api endpoint manually or directly hitting the database. Neither of these are great options.
Additional context
Currently, using the net client, a consumer can only grab a flag by name.  Simply exposing the feature flag definition collection would allow a consumer to grab toggles on a type.

Ho @brcpar!
Yes, it makes sense to expose the toggle definitions outside of the SDK.
Up for a PR?

@ivarconr, Added a PR for you to take a look at.  I addressed both exposing the currently loaded feature toggle collection publicly for external consumers and I added the Type property to FeatureToggle class since it was a missing field that comes across the unleash client api.


Arg/flag dependencies

It'd be useful to be able to express that certain not-required args or flags are required only if other args or flags are given. For example, given the flags "name" and "type", type can be given by itself or not at all, but if name is given, then type must be given too. Something like:
Flag("type"...)...
Flag("name"...).RequireFlag("type")...

I imagine you could do the same for not-required-by-default arguments:
Arg("foo"...)...
Flag("bar"...).RequireArg("foo")

Similar requirements have been brought up in the past and I think the best general-purpose solution is to put this kind of logic in Application.Validate.

Thanks.
On Sunday, October 16, 2016, Alec Thomas<EMAIL_ADDRESS>wrote:

Similar requirements have been brought up in the past and I think the best
general-purpose solution is to put this kind of logic in
Application.Validate
https://godoc.org/gopkg.in/alecthomas/kingpin.v2#Application.Validate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alecthomas/kingpin/issues/154#issuecomment-254047278,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD5VuIH1LAvruwxFJcaRn6RAwK48gXDks5q0igPgaJpZM4KR8Ip
.


Weird completion date for private genomes

Hmm...for some reason it looks like all my private genomes were completed on Dec 31, 1969.  I guess I was quite precocious!

:)
Yes, I noticed it after the last batch. When the completion date was null, it got converted to
this weird date. I have made necessary correction in the script, so it won’t happen again.
I will clean up the genomes already in the system with this date.
-Maulik

On Feb 29, 2016, at 11:11 AM, ARWattam<EMAIL_ADDRESS>wrote:
Hmm...for some reason it looks like all my private genomes were completed on Dec 31, 1969. I guess I was quite precocious!
https://cloud.githubusercontent.com/assets/11475316/13402262/835b56b8-dedd-11e5-9d27-aa2b65c471a2.png
—
Reply to this email directly or view it on GitHub https://github.com/PATRIC3/patric3_website/issues/596.

The weird date is being treated as unix time.
Unix time (also known as POSIX https://en.wikipedia.org/wiki/POSIX time or Epoch https://en.wikipedia.org/wiki/Epoch_(reference_date) time) is a system for describing instants in time https://en.wikipedia.org/wiki/Time, defined as the number of seconds https://en.wikipedia.org/wiki/Second that have elapsed since 00:00:00 Coordinated Universal Time https://en.wikipedia.org/wiki/Coordinated_Universal_Time (UTC), Thursday, 1 January 1970,[1] https://en.wikipedia.org/wiki/Unix_time#cite_note-single-unix-spec-4.15-1[note 1] https://en.wikipedia.org/wiki/Unix_time#cite_note-2 not counting leap seconds https://en.wikipedia.org/wiki/Leap_second.
It looks like the null value is being treated as 0.
Dustin

On Feb 29, 2016, at 12:13 PM, mshukla1<EMAIL_ADDRESS>wrote:
:)
Yes, I noticed it after the last batch. When the completion date was null, it got converted to
this weird date. I have made necessary correction in the script, so it won’t happen again.
I will clean up the genomes already in the system with this date.
-Maulik

On Feb 29, 2016, at 11:11 AM, ARWattam<EMAIL_ADDRESS>wrote:
Hmm...for some reason it looks like all my private genomes were completed on Dec 31, 1969. I guess I was quite precocious!
https://cloud.githubusercontent.com/assets/11475316/13402262/835b56b8-dedd-11e5-9d27-aa2b65c471a2.png
—
Reply to this email directly or view it on GitHub https://github.com/PATRIC3/patric3_website/issues/596.

—
Reply to this email directly or view it on GitHub https://github.com/PATRIC3/patric3_website/issues/596#issuecomment-190295716.

I have corrected the completion dates in the database as well. You should not see the weird dates any more.
-Maulik


OSError: libportmidi.so: cannot open shared object file: No such file or directory

Hi,
I am trying to run the example but getting OSError after the following statement.

output = mido.open_output()

gives this error.
Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/usr/local/lib/python2.7/dist-packages/mido/backends/backend.py", line 133, in open_output     return self.module.Output(name, **self._add_api(kwargs))   File "/usr/local/lib/python2.7/dist-packages/mido/backends/backend.py", line 63, in module     self.load()   File "/usr/local/lib/python2.7/dist-packages/mido/backends/backend.py", line 79, in load     self._module = _import_module(self.name)   File "/usr/local/lib/python2.7/dist-packages/mido/backends/backend.py", line 25, in _import_module     return importlib.import_module(module, package)   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module     __import__(name)   File "/usr/local/lib/python2.7/dist-packages/mido/backends/portmidi.py", line 15, in <module>     from . import portmidi_init as pm   File "/usr/local/lib/python2.7/dist-packages/mido/backends/portmidi_init.py", line 20, in <module>     lib = CDLL(dll_name)   File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__     self._handle = _dlopen(self._name, mode) OSError: libportmidi.so: cannot open shared object file: No such file or directory

To use ports you need to install either PortMidi or RtMidi:
https://mido.readthedocs.io/en/latest/installing.html

Essentially I needed this on a RaspberryPi:
sudo apt-get install libasound2-dev
sudo apt-get install libjack-dev
sudo pip install --pre python-rtmidi
sudo ln -s /usr/lib/libportmidi.so.0 /usr/lib/libportmidi.so

(via this post )

@prashant2018 has this issue been resolved? There has been no action on this for a long time

Moving to close


Add a PR template to warn developers about not merging api updates

In the interest of putting documentation in the places where people need it, adding a note to developers in the PR template to remind them that they likely need to mark any PRs opened in this repo as Work in Progress or draft to avoid having them merge.

going to reopen this on master.


UI-Improvement : Update Recyclerview to sticky header recycler view

Actual Behaviour
-There is simple Recycler view in App
-item_schedule.xml which is used in ScheduleFragment is not more user friendly.

Expected Behaviour
-Improve UI and UX.
-Update to Sticky Header Recycler view for grouping of Recyclerview items which starts with same Alphabet or time which will improve UI and UX.
-Update item_schedule.xml .

Would you like to work on the issue?
Yes

Will it be fine ?
@the-dagger @mananwason

I think the previous UI was more neat, plus there is not much use of sticky recycler view here. It is more useful in case where recycler has very large number of items. Rest harshit and manan can tell better.

@chiragw15 +1

I'm nor really sure about this.
It looks good to me.
Plus we have a lot of sessions in the schedule so having this is always a good idea. 👍
Plus we have to remember that this app is not specially meant for FOSSASAi summit, this is a template app which will be used for other events as well.
@Shailesh351 You can go ahead with this implementation and send a pull request.
We will review it there.


Kata Containers 1.10.4

Version bump no changes

Travis has caught an issue:
INFO: Tagging Kata Containers with version 1.10.4
INFO: Check all repos has version 1.10.4 in VERSION file
INFO: agent is in 1.10.3
ERROR: agent is not in version 1.10.4
The command ".ci/versions_checker.sh" failed and exited with 1 during .

/test-ubuntu

CI status was not reported but was successful
http://jenkins.katacontainers.io/job/kata-containers-runtime-ubuntu-18-04-PR/1700/
forcing merge


New contract interaction: handle EIP3770

Overview
When interacting manually with a contract, the UI correctly handles EIP3770 prefixes (eg. *eth:*0x12...34) for the contract address, but not for the other address fields if any. It makes replaying of transactions very difficult.
Requirements
The UI should have exactly the same behaviour for all address fields of a manual transaction: contract address and transaction parameters of type "address". Possibly also find a way for arrays of addresses.
Designs
Links

Thanks @yomarion!
This is a valid bug report, but we're unlikely to work on it.
We're in the process of slowly deprecating the Contract Interaction feature in favor of the Transaction Builder app. We recommend using the app directly in the meanwhile.


Documentation for Staking Module

For this.
Notes:

What to do for Extensibility
Add links to a rustdoc once we have one? Some added, rest need a new update on rustdoc
More/Other usage examples.

This now also complies with the final template of the SRML docs (to a high extent).
@bkchr I would consider this either ready to merge or placed onice to be merged with the rest of the doc PRs.

@AmarRSingh great catches. all resolved.

@joepetrowski @bkchr I believe all of your comments are addressed, except for the ones not collapsed where I've added sth to the discussion.

Superseeded by #2078


@formFieldset directive not rendering

I'm just starting with Twill and I've set up my posts/form.blade.php to have a fieldset like so:
@extends('twill::layouts.form', [
    'additionalFieldsets' => [
        ['fieldset' => 'meta', 'label' => 'META'],
    ],
    'disableContentFieldset' => true
])

@section('fieldsets')
    @formFieldset(['id' => 'meta', 'title' => 'META'])
        @formField('input', [
            'name' => 'meta_description',
            'label' => 'META Description',
            'maxlength' => 255
        ])
    @endformFieldset
@stop

But it doesn't render the directive correctly. This is what I see:

Hey @stuartcusackie,
I know you have a similar example to what you are implementing in the documentation, but I'd suggest to use it like the below example instead while we debug it.
@extends('twill::layouts.form', [
    'disableContentFieldset' => true
])

@section('fieldsets')
    <a17-fieldset title="Meta" id="meta" :open="true">
        @formField('input', [
            'name' => 'meta_description',
            'label' => 'META Description',
            'maxlength' => 255
        ])
    </a17-fieldset>
@stop

Will do! Thank you.

Hi, thanks for the workaround, it works but both documentation and readme files still instruct to use @formFieldset , I had to search in the closed issues to find the workaround. Should not this issue remain open?


add some background details, and a note about privacy.

this is essentially a TLDR of the motivation from the existing doc, and a mention of the privacy policy.
this should let us start to redirect registry.k8s.io/ to the current repo docs instead of the "new url" doc (which captures the registry move as planned in a point in time, but may fall out of date more easily)
next up: change the / redirect in cmd/archeio

/lgtm